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

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

@@ -0,0 +1,79 @@
import * as i0 from '@angular/core';
import { OnInit, TemplateRef, ChangeDetectorRef, DestroyRef, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
import { Direction } from '@angular/cdk/bidi';
import { NgStyleInterface } from 'ng-zorro-antd/core/types';
/**
* 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 NzStatisticValueType = number | string;
/**
* 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
*/
declare class NzStatisticComponent implements OnInit {
nzPrefix?: string | TemplateRef<void>;
nzSuffix?: string | TemplateRef<void>;
nzTitle?: string | TemplateRef<void>;
nzValue?: NzStatisticValueType;
nzValueStyle: NgStyleInterface;
nzValueTemplate?: TemplateRef<{
$implicit: NzStatisticValueType;
}>;
nzLoading: boolean;
dir: Direction;
protected cdr: ChangeDetectorRef;
protected destroyRef: DestroyRef;
private directionality;
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzStatisticComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzStatisticComponent, "nz-statistic", ["nzStatistic"], { "nzPrefix": { "alias": "nzPrefix"; "required": false; }; "nzSuffix": { "alias": "nzSuffix"; "required": false; }; "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzValue": { "alias": "nzValue"; "required": false; }; "nzValueStyle": { "alias": "nzValueStyle"; "required": false; }; "nzValueTemplate": { "alias": "nzValueTemplate"; "required": false; }; "nzLoading": { "alias": "nzLoading"; "required": false; }; }, {}, never, never, true, never>;
static ngAcceptInputType_nzLoading: unknown;
}
declare class NzCountdownComponent extends NzStatisticComponent implements OnInit, OnChanges {
private ngZone;
private platform;
nzFormat: string;
readonly nzCountdownFinish: EventEmitter<void>;
diff: number;
private target;
private intervalId;
constructor();
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
syncTimer(): void;
startTimer(): void;
stopTimer(): void;
/**
* Update time that should be displayed on the screen.
*/
protected updateValue(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCountdownComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCountdownComponent, "nz-countdown", ["nzCountdown"], { "nzFormat": { "alias": "nzFormat"; "required": false; }; }, { "nzCountdownFinish": "nzCountdownFinish"; }, never, never, true, never>;
}
declare class NzStatisticNumberComponent implements OnChanges {
nzValue?: NzStatisticValueType;
nzValueTemplate?: TemplateRef<{
$implicit: NzStatisticValueType;
}>;
displayInt: string;
displayDecimal: string;
private locale_id;
ngOnChanges(): void;
private formatNumber;
static ɵfac: i0.ɵɵFactoryDeclaration<NzStatisticNumberComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzStatisticNumberComponent, "nz-statistic-number", ["nzStatisticNumber"], { "nzValue": { "alias": "nzValue"; "required": false; }; "nzValueTemplate": { "alias": "nzValueTemplate"; "required": false; }; }, {}, never, never, true, never>;
}
declare class NzStatisticModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzStatisticModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzStatisticModule, never, [typeof NzStatisticComponent, typeof NzCountdownComponent, typeof NzStatisticNumberComponent], [typeof NzStatisticComponent, typeof NzCountdownComponent, typeof NzStatisticNumberComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzStatisticModule>;
}
export { NzCountdownComponent, NzStatisticComponent, NzStatisticModule, NzStatisticNumberComponent };

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

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

View File

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

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

@@ -0,0 +1,51 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-statistic {
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';
}
.ant-statistic-title {
margin-bottom: 4px;
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
}
.ant-statistic-skeleton {
padding-top: 16px;
}
.ant-statistic-content {
color: rgba(0, 0, 0, 0.85);
font-size: 24px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
.ant-statistic-content-value {
display: inline-block;
direction: ltr;
}
.ant-statistic-content-prefix,
.ant-statistic-content-suffix {
display: inline-block;
}
.ant-statistic-content-prefix {
margin-right: 4px;
}
.ant-statistic-content-suffix {
margin-left: 4px;
}
.ant-statistic-rtl {
direction: rtl;
}
.ant-statistic-rtl .ant-statistic-content-prefix {
margin-right: 0;
margin-left: 4px;
}
.ant-statistic-rtl .ant-statistic-content-suffix {
margin-right: 4px;
margin-left: 0;
}

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

@@ -0,0 +1,44 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@statistic-prefix-cls: ~'@{ant-prefix}-statistic';
.@{statistic-prefix-cls} {
.reset-component();
&-title {
margin-bottom: @margin-xss;
color: @text-color-secondary;
font-size: @statistic-title-font-size;
}
&-skeleton {
padding-top: @padding-md;
}
&-content {
color: @heading-color;
font-size: @statistic-content-font-size;
font-family: @statistic-font-family;
&-value {
display: inline-block;
direction: ltr;
}
&-prefix,
&-suffix {
display: inline-block;
}
&-prefix {
margin-right: 4px;
}
&-suffix {
margin-left: 4px;
}
}
}
@import './rtl';

View File

@@ -0,0 +1 @@
.ant-statistic{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'}.ant-statistic-title{margin-bottom:4px;color:rgba(0,0,0,.45);font-size:14px}.ant-statistic-skeleton{padding-top:16px}.ant-statistic-content{color:rgba(0,0,0,.85);font-size:24px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'}.ant-statistic-content-value{display:inline-block;direction:ltr}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px}.ant-statistic-rtl{direction:rtl}.ant-statistic-rtl .ant-statistic-content-prefix{margin-right:0;margin-left:4px}.ant-statistic-rtl .ant-statistic-content-suffix{margin-right:4px;margin-left:0}

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

@@ -0,0 +1,21 @@
.@{statistic-prefix-cls} {
&-rtl {
direction: rtl;
}
&-content {
&-prefix {
.@{statistic-prefix-cls}-rtl & {
margin-right: 0;
margin-left: 4px;
}
}
&-suffix {
.@{statistic-prefix-cls}-rtl & {
margin-right: 4px;
margin-left: 0;
}
}
}
}