This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

55
node_modules/ng-zorro-antd/alert/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,55 @@
import { Direction } from '@angular/cdk/bidi';
import * as i0 from '@angular/core';
import { OnChanges, OnInit, TemplateRef, EventEmitter, SimpleChanges } from '@angular/core';
import { NzConfigKey } from 'ng-zorro-antd/core/config';
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
type NzAlertType = 'success' | 'info' | 'warning' | 'error';
declare class NzAlertComponent implements OnChanges, OnInit {
private cdr;
private directionality;
private readonly destroyRef;
readonly _nzModuleName: NzConfigKey;
nzAction: string | TemplateRef<void> | null;
nzCloseText: string | TemplateRef<void> | null;
nzIconType: string | null;
nzMessage: string | TemplateRef<void> | null;
nzDescription: string | TemplateRef<void> | null;
nzType: 'success' | 'info' | 'warning' | 'error';
nzCloseable: boolean;
nzShowIcon: boolean;
nzBanner: boolean;
nzNoAnimation: boolean;
nzIcon: string | TemplateRef<void> | null;
readonly nzOnClose: EventEmitter<boolean>;
closed: boolean;
iconTheme: 'outline' | 'fill';
inferredIconType: string;
dir: Direction;
private isTypeSet;
private isShowIconSet;
constructor();
ngOnInit(): void;
closeAlert(): void;
onFadeAnimationDone(): void;
ngOnChanges(changes: SimpleChanges): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzAlertComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzAlertComponent, "nz-alert", ["nzAlert"], { "nzAction": { "alias": "nzAction"; "required": false; }; "nzCloseText": { "alias": "nzCloseText"; "required": false; }; "nzIconType": { "alias": "nzIconType"; "required": false; }; "nzMessage": { "alias": "nzMessage"; "required": false; }; "nzDescription": { "alias": "nzDescription"; "required": false; }; "nzType": { "alias": "nzType"; "required": false; }; "nzCloseable": { "alias": "nzCloseable"; "required": false; }; "nzShowIcon": { "alias": "nzShowIcon"; "required": false; }; "nzBanner": { "alias": "nzBanner"; "required": false; }; "nzNoAnimation": { "alias": "nzNoAnimation"; "required": false; }; "nzIcon": { "alias": "nzIcon"; "required": false; }; }, { "nzOnClose": "nzOnClose"; }, never, never, true, never>;
static ngAcceptInputType_nzCloseable: unknown;
static ngAcceptInputType_nzShowIcon: unknown;
static ngAcceptInputType_nzBanner: unknown;
static ngAcceptInputType_nzNoAnimation: unknown;
}
declare class NzAlertModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzAlertModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzAlertModule, never, [typeof NzAlertComponent], [typeof NzAlertComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzAlertModule>;
}
export { NzAlertComponent, NzAlertModule };
export type { NzAlertType };

3
node_modules/ng-zorro-antd/alert/package.json generated vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"module": "../fesm2022/ng-zorro-antd-alert.mjs"
}

2
node_modules/ng-zorro-antd/alert/style/entry.less generated vendored Normal file
View File

@@ -0,0 +1,2 @@
@import './index.less';
@import './patch.less';

160
node_modules/ng-zorro-antd/alert/style/index.css generated vendored Normal file
View File

@@ -0,0 +1,160 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-alert {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
display: flex;
align-items: center;
padding: 8px 15px;
word-wrap: break-word;
border-radius: 2px;
}
.ant-alert-content {
flex: 1;
min-width: 0;
}
.ant-alert-icon {
margin-right: 8px;
}
.ant-alert-description {
display: none;
font-size: 14px;
line-height: 22px;
}
.ant-alert-success {
background-color: #f6ffed;
border: 1px solid #b7eb8f;
}
.ant-alert-success .ant-alert-icon {
color: #52c41a;
}
.ant-alert-info {
background-color: #e6f7ff;
border: 1px solid #91d5ff;
}
.ant-alert-info .ant-alert-icon {
color: #1890ff;
}
.ant-alert-warning {
background-color: #fffbe6;
border: 1px solid #ffe58f;
}
.ant-alert-warning .ant-alert-icon {
color: #faad14;
}
.ant-alert-error {
background-color: #fff2f0;
border: 1px solid #ffccc7;
}
.ant-alert-error .ant-alert-icon {
color: #ff4d4f;
}
.ant-alert-error .ant-alert-description > pre {
margin: 0;
padding: 0;
}
.ant-alert-action {
margin-left: 8px;
}
.ant-alert-close-icon {
margin-left: 8px;
padding: 0;
overflow: hidden;
font-size: 12px;
line-height: 12px;
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
}
.ant-alert-close-icon .anticon-close {
color: rgba(0, 0, 0, 0.45);
transition: color 0.3s;
}
.ant-alert-close-icon .anticon-close:hover {
color: rgba(0, 0, 0, 0.75);
}
.ant-alert-close-text {
color: rgba(0, 0, 0, 0.45);
transition: color 0.3s;
}
.ant-alert-close-text:hover {
color: rgba(0, 0, 0, 0.75);
}
.ant-alert-with-description {
align-items: flex-start;
padding: 15px 15px 15px 24px;
}
.ant-alert-with-description.ant-alert-no-icon {
padding: 15px 15px;
}
.ant-alert-with-description .ant-alert-icon {
margin-right: 15px;
font-size: 24px;
}
.ant-alert-with-description .ant-alert-message {
display: block;
margin-bottom: 4px;
color: rgba(0, 0, 0, 0.85);
font-size: 16px;
}
.ant-alert-message {
color: rgba(0, 0, 0, 0.85);
}
.ant-alert-with-description .ant-alert-description {
display: block;
}
.ant-alert.ant-alert-motion-leave {
overflow: hidden;
opacity: 1;
transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.ant-alert.ant-alert-motion-leave-active {
max-height: 0;
margin-bottom: 0 !important;
padding-top: 0;
padding-bottom: 0;
opacity: 0;
}
.ant-alert-banner {
margin-bottom: 0;
border: 0;
border-radius: 0;
}
.ant-alert.ant-alert-rtl {
direction: rtl;
}
.ant-alert-rtl .ant-alert-icon {
margin-right: auto;
margin-left: 8px;
}
.ant-alert-rtl .ant-alert-action {
margin-right: 8px;
margin-left: auto;
}
.ant-alert-rtl .ant-alert-close-icon {
margin-right: 8px;
margin-left: auto;
}
.ant-alert-rtl.ant-alert-with-description {
padding-right: 24px;
padding-left: 15px;
}
.ant-alert-rtl.ant-alert-with-description .ant-alert-icon {
margin-right: auto;
margin-left: 15px;
}
nz-alert {
display: block;
}
.ant-alert-icon {
line-height: 1;
}

155
node_modules/ng-zorro-antd/alert/style/index.less generated vendored Normal file
View File

@@ -0,0 +1,155 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@alert-prefix-cls: ~'@{ant-prefix}-alert';
.@{alert-prefix-cls} {
.reset-component();
position: relative;
display: flex;
align-items: center;
padding: @alert-padding-vertical @alert-padding-horizontal;
word-wrap: break-word;
border-radius: @border-radius-base;
&-content {
flex: 1;
min-width: 0;
}
&-icon {
margin-right: @margin-xs;
}
&-description {
display: none;
font-size: @font-size-base;
line-height: @font-size-base + 8px;
}
&-success {
background-color: @alert-success-bg-color;
border: @border-width-base @border-style-base @alert-success-border-color;
.@{alert-prefix-cls}-icon {
color: @alert-success-icon-color;
}
}
&-info {
background-color: @alert-info-bg-color;
border: @border-width-base @border-style-base @alert-info-border-color;
.@{alert-prefix-cls}-icon {
color: @alert-info-icon-color;
}
}
&-warning {
background-color: @alert-warning-bg-color;
border: @border-width-base @border-style-base @alert-warning-border-color;
.@{alert-prefix-cls}-icon {
color: @alert-warning-icon-color;
}
}
&-error {
background-color: @alert-error-bg-color;
border: @border-width-base @border-style-base @alert-error-border-color;
.@{alert-prefix-cls}-icon {
color: @alert-error-icon-color;
}
.@{alert-prefix-cls}-description > pre {
margin: 0;
padding: 0;
}
}
&-action {
margin-left: @margin-xs;
}
&-close-icon {
margin-left: @margin-xs;
padding: 0;
overflow: hidden;
font-size: @font-size-sm;
line-height: @font-size-sm;
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
.@{iconfont-css-prefix}-close {
color: @alert-close-color;
transition: color 0.3s;
&:hover {
color: @alert-close-hover-color;
}
}
}
&-close-text {
color: @alert-close-color;
transition: color 0.3s;
&:hover {
color: @alert-close-hover-color;
}
}
&-with-description {
align-items: flex-start;
padding: @alert-with-description-padding;
}
&-with-description&-no-icon {
padding: @alert-with-description-no-icon-padding-vertical 15px;
}
&-with-description &-icon {
margin-right: @alert-with-description-padding-vertical;
font-size: @alert-with-description-icon-size;
}
&-with-description &-message {
display: block;
margin-bottom: 4px;
color: @alert-message-color;
font-size: @font-size-lg;
}
&-message {
color: @alert-message-color;
}
&-with-description &-description {
display: block;
}
&&-motion-leave {
overflow: hidden;
opacity: 1;
transition: max-height 0.3s @ease-in-out-circ, opacity 0.3s @ease-in-out-circ,
padding-top 0.3s @ease-in-out-circ, padding-bottom 0.3s @ease-in-out-circ,
margin-bottom 0.3s @ease-in-out-circ;
}
&&-motion-leave-active {
max-height: 0;
margin-bottom: 0 !important;
padding-top: 0;
padding-bottom: 0;
opacity: 0;
}
&-banner {
margin-bottom: 0;
border: 0;
border-radius: 0;
}
}
@import './rtl';

1
node_modules/ng-zorro-antd/alert/style/index.min.css generated vendored Normal file
View File

@@ -0,0 +1 @@
.ant-alert{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';position:relative;display:flex;align-items:center;padding:8px 15px;word-wrap:break-word;border-radius:2px}.ant-alert-content{flex:1;min-width:0}.ant-alert-icon{margin-right:8px}.ant-alert-description{display:none;font-size:14px;line-height:22px}.ant-alert-success{background-color:#f6ffed;border:1px solid #b7eb8f}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{background-color:#e6f7ff;border:1px solid #91d5ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{background-color:#fffbe6;border:1px solid #ffe58f}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{background-color:#fff2f0;border:1px solid #ffccc7}.ant-alert-error .ant-alert-icon{color:#ff4d4f}.ant-alert-error .ant-alert-description>pre{margin:0;padding:0}.ant-alert-action{margin-left:8px}.ant-alert-close-icon{margin-left:8px;padding:0;overflow:hidden;font-size:12px;line-height:12px;background-color:transparent;border:none;outline:0;cursor:pointer}.ant-alert-close-icon .anticon-close{color:rgba(0,0,0,.45);transition:color .3s}.ant-alert-close-icon .anticon-close:hover{color:rgba(0,0,0,.75)}.ant-alert-close-text{color:rgba(0,0,0,.45);transition:color .3s}.ant-alert-close-text:hover{color:rgba(0,0,0,.75)}.ant-alert-with-description{align-items:flex-start;padding:15px 15px 15px 24px}.ant-alert-with-description.ant-alert-no-icon{padding:15px 15px}.ant-alert-with-description .ant-alert-icon{margin-right:15px;font-size:24px}.ant-alert-with-description .ant-alert-message{display:block;margin-bottom:4px;color:rgba(0,0,0,.85);font-size:16px}.ant-alert-message{color:rgba(0,0,0,.85)}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-motion-leave{overflow:hidden;opacity:1;transition:max-height .3s cubic-bezier(.78, .14, .15, .86),opacity .3s cubic-bezier(.78, .14, .15, .86),padding-top .3s cubic-bezier(.78, .14, .15, .86),padding-bottom .3s cubic-bezier(.78, .14, .15, .86),margin-bottom .3s cubic-bezier(.78, .14, .15, .86)}.ant-alert.ant-alert-motion-leave-active{max-height:0;margin-bottom:0!important;padding-top:0;padding-bottom:0;opacity:0}.ant-alert-banner{margin-bottom:0;border:0;border-radius:0}.ant-alert.ant-alert-rtl{direction:rtl}.ant-alert-rtl .ant-alert-icon{margin-right:auto;margin-left:8px}.ant-alert-rtl .ant-alert-action{margin-right:8px;margin-left:auto}.ant-alert-rtl .ant-alert-close-icon{margin-right:8px;margin-left:auto}.ant-alert-rtl.ant-alert-with-description{padding-right:24px;padding-left:15px}.ant-alert-rtl.ant-alert-with-description .ant-alert-icon{margin-right:auto;margin-left:15px}nz-alert{display:block}.ant-alert-icon{line-height:1}

9
node_modules/ng-zorro-antd/alert/style/patch.less generated vendored Normal file
View File

@@ -0,0 +1,9 @@
nz-alert {
display: block;
}
.@{alert-prefix-cls} {
&-icon {
line-height: 1;
}
}

40
node_modules/ng-zorro-antd/alert/style/rtl.less generated vendored Normal file
View File

@@ -0,0 +1,40 @@
.@{alert-prefix-cls} {
&&-rtl {
direction: rtl;
}
&-icon {
.@{alert-prefix-cls}-rtl & {
margin-right: auto;
margin-left: @margin-xs;
}
}
&-action {
.@{alert-prefix-cls}-rtl & {
margin-right: @margin-xs;
margin-left: auto;
}
}
&-close-icon {
.@{alert-prefix-cls}-rtl & {
margin-right: @margin-xs;
margin-left: auto;
}
}
&-with-description {
.@{alert-prefix-cls}-rtl& {
padding-right: @alert-with-description-icon-size;
padding-left: @alert-with-description-padding-vertical;
}
.@{alert-prefix-cls}-icon {
.@{alert-prefix-cls}-rtl& {
margin-right: auto;
margin-left: @alert-with-description-padding-vertical;
}
}
}
}