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

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

@@ -0,0 +1,75 @@
import * as i0 from '@angular/core';
import { OnChanges, OnInit, TemplateRef } from '@angular/core';
import { Direction } from '@angular/cdk/bidi';
/**
* 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 NzResultIconType = 'success' | 'error' | 'info' | 'warning';
type NzExceptionStatusType = '404' | '500' | '403';
type NzResultStatusType = NzExceptionStatusType | NzResultIconType;
declare class NzResultComponent implements OnChanges, OnInit {
private cdr;
private directionality;
private destroyRef;
nzIcon?: string | TemplateRef<void>;
nzTitle?: string | TemplateRef<void>;
nzStatus: NzResultStatusType;
nzSubTitle?: string | TemplateRef<void>;
nzExtra?: string | TemplateRef<void>;
icon?: string | TemplateRef<void>;
isException: boolean;
dir: Direction;
ngOnInit(): void;
ngOnChanges(): void;
private setStatusIcon;
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzResultComponent, "nz-result", ["nzResult"], { "nzIcon": { "alias": "nzIcon"; "required": false; }; "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzStatus": { "alias": "nzStatus"; "required": false; }; "nzSubTitle": { "alias": "nzSubTitle"; "required": false; }; "nzExtra": { "alias": "nzExtra"; "required": false; }; }, {}, never, ["[nz-result-icon]", "div[nz-result-title]", "div[nz-result-subtitle]", "nz-result-content, [nz-result-content]", "div[nz-result-extra]"], true, never>;
}
declare class NzResultTitleDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultTitleDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzResultTitleDirective, "div[nz-result-title]", ["nzResultTitle"], {}, {}, never, never, true, never>;
}
declare class NzResultSubtitleDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultSubtitleDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzResultSubtitleDirective, "div[nz-result-subtitle]", ["nzResultSubtitle"], {}, {}, never, never, true, never>;
}
declare class NzResultIconDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultIconDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzResultIconDirective, "i[nz-result-icon], div[nz-result-icon]", ["nzResultIcon"], {}, {}, never, never, true, never>;
}
declare class NzResultContentDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultContentDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzResultContentDirective, "div[nz-result-content]", ["nzResultContent"], {}, {}, never, never, true, never>;
}
declare class NzResultExtraDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultExtraDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzResultExtraDirective, "div[nz-result-extra]", ["nzResultExtra"], {}, {}, never, never, true, never>;
}
declare class NzResultNotFoundComponent {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultNotFoundComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzResultNotFoundComponent, "nz-result-not-found", ["nzResultNotFound"], {}, {}, never, never, true, never>;
}
declare class NzResultServerErrorComponent {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultServerErrorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzResultServerErrorComponent, "nz-result-server-error", ["nzResultServerError"], {}, {}, never, never, true, never>;
}
declare class NzResultUnauthorizedComponent {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultUnauthorizedComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzResultUnauthorizedComponent, "nz-result-unauthorized", ["nzResultUnauthorized"], {}, {}, never, never, true, never>;
}
declare class NzResultModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzResultModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzResultModule, never, [typeof NzResultComponent, typeof NzResultContentDirective, typeof NzResultExtraDirective, typeof NzResultIconDirective, typeof NzResultSubtitleDirective, typeof NzResultTitleDirective, typeof NzResultNotFoundComponent, typeof NzResultServerErrorComponent, typeof NzResultUnauthorizedComponent], [typeof NzResultComponent, typeof NzResultContentDirective, typeof NzResultExtraDirective, typeof NzResultIconDirective, typeof NzResultSubtitleDirective, typeof NzResultTitleDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzResultModule>;
}
export { NzResultComponent, NzResultContentDirective, NzResultExtraDirective, NzResultIconDirective, NzResultModule, NzResultSubtitleDirective, NzResultTitleDirective, NzResultNotFoundComponent as ɵNzResultNotFoundComponent, NzResultServerErrorComponent as ɵNzResultServerErrorComponent, NzResultUnauthorizedComponent as ɵNzResultUnauthorizedComponent };
export type { NzExceptionStatusType, NzResultIconType, NzResultStatusType };

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

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

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

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

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

@@ -0,0 +1,69 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-result {
padding: 48px 32px;
}
.ant-result-success .ant-result-icon > .anticon {
color: #52c41a;
}
.ant-result-error .ant-result-icon > .anticon {
color: #ff4d4f;
}
.ant-result-info .ant-result-icon > .anticon {
color: #1890ff;
}
.ant-result-warning .ant-result-icon > .anticon {
color: #faad14;
}
.ant-result-image {
width: 250px;
height: 295px;
margin: auto;
}
.ant-result-icon {
margin-bottom: 24px;
text-align: center;
}
.ant-result-icon > .anticon {
font-size: 72px;
}
.ant-result-title {
color: rgba(0, 0, 0, 0.85);
font-size: 24px;
line-height: 1.8;
text-align: center;
}
.ant-result-subtitle {
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
line-height: 1.6;
text-align: center;
}
.ant-result-extra {
margin: 24px 0 0 0;
text-align: center;
}
.ant-result-extra > * {
margin-right: 8px;
}
.ant-result-extra > *:last-child {
margin-right: 0;
}
.ant-result-content {
margin-top: 24px;
padding: 24px 40px;
background-color: #fafafa;
}
.ant-result-rtl {
direction: rtl;
}
.ant-result-rtl .ant-result-extra > * {
margin-right: 0;
margin-left: 8px;
}
.ant-result-rtl .ant-result-extra > *:last-child {
margin-left: 0;
}
nz-result {
display: block;
}

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

@@ -0,0 +1,75 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@result-prefix-cls: ~'@{ant-prefix}-result';
.@{result-prefix-cls} {
padding: 48px 32px;
// status color
&-success &-icon > .@{iconfont-css-prefix} {
color: @success-color;
}
&-error &-icon > .@{iconfont-css-prefix} {
color: @error-color;
}
&-info &-icon > .@{iconfont-css-prefix} {
color: @info-color;
}
&-warning &-icon > .@{iconfont-css-prefix} {
color: @warning-color;
}
// Exception Status image
&-image {
width: 250px;
height: 295px;
margin: auto;
}
&-icon {
margin-bottom: 24px;
text-align: center;
> .@{iconfont-css-prefix} {
font-size: @result-icon-font-size;
}
}
&-title {
color: @heading-color;
font-size: @result-title-font-size;
line-height: 1.8;
text-align: center;
}
&-subtitle {
color: @text-color-secondary;
font-size: @result-subtitle-font-size;
line-height: 1.6;
text-align: center;
}
&-extra {
margin: @result-extra-margin;
text-align: center;
> * {
margin-right: 8px;
&:last-child {
margin-right: 0;
}
}
}
&-content {
margin-top: 24px;
padding: 24px 40px;
background-color: @background-color-light;
}
}
@import './rtl';

View File

@@ -0,0 +1 @@
.ant-result{padding:48px 32px}.ant-result-success .ant-result-icon>.anticon{color:#52c41a}.ant-result-error .ant-result-icon>.anticon{color:#ff4d4f}.ant-result-info .ant-result-icon>.anticon{color:#1890ff}.ant-result-warning .ant-result-icon>.anticon{color:#faad14}.ant-result-image{width:250px;height:295px;margin:auto}.ant-result-icon{margin-bottom:24px;text-align:center}.ant-result-icon>.anticon{font-size:72px}.ant-result-title{color:rgba(0,0,0,.85);font-size:24px;line-height:1.8;text-align:center}.ant-result-subtitle{color:rgba(0,0,0,.45);font-size:14px;line-height:1.6;text-align:center}.ant-result-extra{margin:24px 0 0 0;text-align:center}.ant-result-extra>*{margin-right:8px}.ant-result-extra>:last-child{margin-right:0}.ant-result-content{margin-top:24px;padding:24px 40px;background-color:#fafafa}.ant-result-rtl{direction:rtl}.ant-result-rtl .ant-result-extra>*{margin-right:0;margin-left:8px}.ant-result-rtl .ant-result-extra>:last-child{margin-left:0}nz-result{display:block}

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

@@ -0,0 +1,3 @@
nz-result {
display: block;
}

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

@@ -0,0 +1,25 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@result-prefix-cls: ~'@{ant-prefix}-result';
.@{result-prefix-cls} {
&-rtl {
direction: rtl;
}
&-extra {
> * {
.@{result-prefix-cls}-rtl & {
margin-right: 0;
margin-left: 8px;
}
&:last-child {
.@{result-prefix-cls}-rtl & {
margin-left: 0;
}
}
}
}
}