@delon/chart 15.2.1 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bar/bar.component.d.ts +1 -1
- package/card/card.component.d.ts +1 -1
- package/chart-echarts/echarts.component.d.ts +1 -1
- package/core/g2.base.component.d.ts +1 -1
- package/custom/custom.component.d.ts +1 -1
- package/esm2022/bar/bar.component.mjs +144 -0
- package/esm2022/bar/bar.module.mjs +22 -0
- package/esm2022/card/card.component.mjs +56 -0
- package/esm2022/card/card.module.mjs +23 -0
- package/esm2022/chart-echarts/echarts.component.mjs +162 -0
- package/esm2022/chart-echarts/echarts.module.mjs +21 -0
- package/esm2022/chart-echarts/echarts.service.mjs +61 -0
- package/esm2022/core/g2.base.component.mjs +115 -0
- package/esm2022/core/g2.servicce.mjs +55 -0
- package/esm2022/custom/custom.component.mjs +70 -0
- package/esm2022/custom/custom.module.mjs +21 -0
- package/esm2022/gauge/gauge.component.mjs +171 -0
- package/esm2022/gauge/gauge.module.mjs +21 -0
- package/esm2022/mini-area/mini-area.component.mjs +135 -0
- package/esm2022/mini-area/mini-area.module.mjs +20 -0
- package/esm2022/mini-bar/mini-bar.component.mjs +102 -0
- package/esm2022/mini-bar/mini-bar.module.mjs +20 -0
- package/esm2022/mini-progress/mini-progress.component.mjs +47 -0
- package/esm2022/mini-progress/mini-progress.module.mjs +22 -0
- package/esm2022/number-info/number-info.component.mjs +46 -0
- package/esm2022/number-info/number-info.module.mjs +22 -0
- package/esm2022/pie/pie.component.mjs +223 -0
- package/esm2022/pie/pie.module.mjs +23 -0
- package/esm2022/radar/radar.component.mjs +150 -0
- package/esm2022/radar/radar.module.mjs +23 -0
- package/esm2022/single-bar/single-bar.component.mjs +128 -0
- package/esm2022/single-bar/single-bar.module.mjs +20 -0
- package/esm2022/tag-cloud/tag-cloud.component.mjs +163 -0
- package/esm2022/tag-cloud/tag-cloud.module.mjs +21 -0
- package/esm2022/timeline/timeline.component.mjs +206 -0
- package/esm2022/timeline/timeline.module.mjs +22 -0
- package/esm2022/trend/trend.component.mjs +53 -0
- package/esm2022/trend/trend.module.mjs +21 -0
- package/esm2022/water-wave/water-wave.component.mjs +221 -0
- package/esm2022/water-wave/water-wave.module.mjs +21 -0
- package/{fesm2020 → fesm2022}/bar.mjs +9 -9
- package/{fesm2020 → fesm2022}/bar.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/card.mjs +7 -7
- package/{fesm2015 → fesm2022}/card.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/chart-echarts.mjs +12 -12
- package/fesm2022/chart-echarts.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/core.mjs +6 -6
- package/fesm2022/core.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/custom.mjs +9 -9
- package/fesm2022/custom.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/gauge.mjs +7 -7
- package/fesm2022/gauge.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/mini-area.mjs +7 -7
- package/{fesm2020 → fesm2022}/mini-area.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/mini-bar.mjs +7 -7
- package/{fesm2020 → fesm2022}/mini-bar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/mini-progress.mjs +7 -7
- package/{fesm2020 → fesm2022}/mini-progress.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/number-info.mjs +7 -7
- package/{fesm2015 → fesm2022}/number-info.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pie.mjs +7 -7
- package/{fesm2020 → fesm2022}/pie.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/radar.mjs +7 -7
- package/{fesm2020 → fesm2022}/radar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/single-bar.mjs +7 -7
- package/fesm2022/single-bar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/tag-cloud.mjs +7 -7
- package/{fesm2020 → fesm2022}/tag-cloud.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/timeline.mjs +9 -9
- package/{fesm2020 → fesm2022}/timeline.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/trend.mjs +9 -9
- package/fesm2022/trend.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/water-wave.mjs +7 -7
- package/fesm2022/water-wave.mjs.map +1 -0
- package/gauge/gauge.component.d.ts +1 -1
- package/mini-area/mini-area.component.d.ts +1 -1
- package/mini-bar/mini-bar.component.d.ts +1 -1
- package/mini-progress/mini-progress.component.d.ts +1 -1
- package/number-info/number-info.component.d.ts +1 -1
- package/package.json +60 -100
- package/pie/pie.component.d.ts +1 -1
- package/radar/radar.component.d.ts +1 -1
- package/single-bar/single-bar.component.d.ts +1 -1
- package/tag-cloud/tag-cloud.component.d.ts +1 -1
- package/timeline/timeline.component.d.ts +1 -1
- package/trend/trend.component.d.ts +1 -1
- package/water-wave/water-wave.component.d.ts +1 -1
- package/esm2020/bar/bar.component.mjs +0 -143
- package/esm2020/bar/bar.module.mjs +0 -21
- package/esm2020/card/card.component.mjs +0 -55
- package/esm2020/card/card.module.mjs +0 -22
- package/esm2020/chart-echarts/echarts.component.mjs +0 -161
- package/esm2020/chart-echarts/echarts.module.mjs +0 -20
- package/esm2020/chart-echarts/echarts.service.mjs +0 -60
- package/esm2020/core/g2.base.component.mjs +0 -114
- package/esm2020/core/g2.servicce.mjs +0 -54
- package/esm2020/custom/custom.component.mjs +0 -69
- package/esm2020/custom/custom.module.mjs +0 -20
- package/esm2020/gauge/gauge.component.mjs +0 -170
- package/esm2020/gauge/gauge.module.mjs +0 -20
- package/esm2020/mini-area/mini-area.component.mjs +0 -134
- package/esm2020/mini-area/mini-area.module.mjs +0 -19
- package/esm2020/mini-bar/mini-bar.component.mjs +0 -101
- package/esm2020/mini-bar/mini-bar.module.mjs +0 -19
- package/esm2020/mini-progress/mini-progress.component.mjs +0 -46
- package/esm2020/mini-progress/mini-progress.module.mjs +0 -21
- package/esm2020/number-info/number-info.component.mjs +0 -45
- package/esm2020/number-info/number-info.module.mjs +0 -21
- package/esm2020/pie/pie.component.mjs +0 -222
- package/esm2020/pie/pie.module.mjs +0 -22
- package/esm2020/radar/radar.component.mjs +0 -149
- package/esm2020/radar/radar.module.mjs +0 -22
- package/esm2020/single-bar/single-bar.component.mjs +0 -127
- package/esm2020/single-bar/single-bar.module.mjs +0 -19
- package/esm2020/tag-cloud/tag-cloud.component.mjs +0 -162
- package/esm2020/tag-cloud/tag-cloud.module.mjs +0 -20
- package/esm2020/timeline/timeline.component.mjs +0 -205
- package/esm2020/timeline/timeline.module.mjs +0 -21
- package/esm2020/trend/trend.component.mjs +0 -52
- package/esm2020/trend/trend.module.mjs +0 -20
- package/esm2020/water-wave/water-wave.component.mjs +0 -220
- package/esm2020/water-wave/water-wave.module.mjs +0 -20
- package/fesm2015/bar.mjs +0 -168
- package/fesm2015/bar.mjs.map +0 -1
- package/fesm2015/chart-echarts.mjs +0 -241
- package/fesm2015/chart-echarts.mjs.map +0 -1
- package/fesm2015/core.mjs +0 -186
- package/fesm2015/core.mjs.map +0 -1
- package/fesm2015/custom.mjs.map +0 -1
- package/fesm2015/gauge.mjs +0 -194
- package/fesm2015/gauge.mjs.map +0 -1
- package/fesm2015/mini-area.mjs +0 -157
- package/fesm2015/mini-area.mjs.map +0 -1
- package/fesm2015/mini-bar.mjs +0 -124
- package/fesm2015/mini-bar.mjs.map +0 -1
- package/fesm2015/mini-progress.mjs +0 -71
- package/fesm2015/mini-progress.mjs.map +0 -1
- package/fesm2015/number-info.mjs +0 -70
- package/fesm2015/pie.mjs +0 -248
- package/fesm2015/pie.mjs.map +0 -1
- package/fesm2015/radar.mjs +0 -175
- package/fesm2015/radar.mjs.map +0 -1
- package/fesm2015/single-bar.mjs +0 -148
- package/fesm2015/single-bar.mjs.map +0 -1
- package/fesm2015/tag-cloud.mjs +0 -176
- package/fesm2015/tag-cloud.mjs.map +0 -1
- package/fesm2015/timeline.mjs +0 -228
- package/fesm2015/timeline.mjs.map +0 -1
- package/fesm2015/trend.mjs +0 -76
- package/fesm2015/trend.mjs.map +0 -1
- package/fesm2015/water-wave.mjs +0 -244
- package/fesm2015/water-wave.mjs.map +0 -1
- package/fesm2020/card.mjs +0 -81
- package/fesm2020/card.mjs.map +0 -1
- package/fesm2020/chart-echarts.mjs.map +0 -1
- package/fesm2020/chart.mjs +0 -7
- package/fesm2020/chart.mjs.map +0 -1
- package/fesm2020/core.mjs.map +0 -1
- package/fesm2020/custom.mjs +0 -93
- package/fesm2020/custom.mjs.map +0 -1
- package/fesm2020/gauge.mjs.map +0 -1
- package/fesm2020/number-info.mjs.map +0 -1
- package/fesm2020/single-bar.mjs.map +0 -1
- package/fesm2020/trend.mjs.map +0 -1
- package/fesm2020/water-wave.mjs.map +0 -1
- /package/{esm2020 → esm2022}/bar/bar.mjs +0 -0
- /package/{esm2020 → esm2022}/bar/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/card/card.mjs +0 -0
- /package/{esm2020 → esm2022}/card/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/chart-echarts/chart-echarts.mjs +0 -0
- /package/{esm2020 → esm2022}/chart-echarts/echarts.types.mjs +0 -0
- /package/{esm2020 → esm2022}/chart-echarts/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/chart.mjs +0 -0
- /package/{esm2020 → esm2022}/core/core.mjs +0 -0
- /package/{esm2020 → esm2022}/core/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/interaction.mjs +0 -0
- /package/{esm2020 → esm2022}/core/types/time.mjs +0 -0
- /package/{esm2020 → esm2022}/core/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/custom/custom.mjs +0 -0
- /package/{esm2020 → esm2022}/custom/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/gauge/gauge.mjs +0 -0
- /package/{esm2020 → esm2022}/gauge/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/mini-area/mini-area.mjs +0 -0
- /package/{esm2020 → esm2022}/mini-area/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/mini-bar/mini-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/mini-bar/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/mini-progress/mini-progress.mjs +0 -0
- /package/{esm2020 → esm2022}/mini-progress/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/number-info/number-info.mjs +0 -0
- /package/{esm2020 → esm2022}/number-info/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/pie/pie.mjs +0 -0
- /package/{esm2020 → esm2022}/pie/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/radar/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/radar/radar.mjs +0 -0
- /package/{esm2020 → esm2022}/single-bar/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/single-bar/single-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/tag-cloud/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tag-cloud/tag-cloud.mjs +0 -0
- /package/{esm2020 → esm2022}/timeline/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/timeline/timeline.mjs +0 -0
- /package/{esm2020 → esm2022}/trend/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/trend/trend.mjs +0 -0
- /package/{esm2020 → esm2022}/water-wave/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/water-wave/water-wave.mjs +0 -0
- /package/{fesm2015 → fesm2022}/chart.mjs +0 -0
- /package/{fesm2015 → fesm2022}/chart.mjs.map +0 -0
|
@@ -14,19 +14,19 @@ class TrendComponent {
|
|
|
14
14
|
/** 颜色反转 */
|
|
15
15
|
this.reverseColor = false;
|
|
16
16
|
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
TrendComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TrendComponent, selector: "trend", inputs: { flag: "flag", colorful: "colorful", reverseColor: "reverseColor" }, host: { properties: { "class.trend": "true", "class.trend__grey": "!colorful", "class.trend__reverse": "colorful && reverseColor", "attr.data-flag": "flag" } }, exportAs: ["trend"], ngImport: i0, template: `
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TrendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.4", type: TrendComponent, selector: "trend", inputs: { flag: "flag", colorful: "colorful", reverseColor: "reverseColor" }, host: { properties: { "class.trend": "true", "class.trend__grey": "!colorful", "class.trend__reverse": "colorful && reverseColor", "attr.data-flag": "flag" } }, exportAs: ["trend"], ngImport: i0, template: `
|
|
20
19
|
<ng-content></ng-content>
|
|
21
20
|
<span *ngIf="flag" class="trend__{{ flag }}"><i nz-icon nzType="caret-{{ flag }}"></i></span>
|
|
22
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
21
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
22
|
+
}
|
|
23
23
|
__decorate([
|
|
24
24
|
InputBoolean()
|
|
25
25
|
], TrendComponent.prototype, "colorful", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
InputBoolean()
|
|
28
28
|
], TrendComponent.prototype, "reverseColor", void 0);
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TrendComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: 'trend',
|
|
@@ -55,11 +55,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
55
55
|
|
|
56
56
|
const COMPONENTS = [TrendComponent];
|
|
57
57
|
class TrendModule {
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TrendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
59
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: TrendModule, declarations: [TrendComponent], imports: [CommonModule, NzIconModule], exports: [TrendComponent] }); }
|
|
60
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TrendModule, imports: [CommonModule, NzIconModule] }); }
|
|
58
61
|
}
|
|
59
|
-
|
|
60
|
-
TrendModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TrendModule, declarations: [TrendComponent], imports: [CommonModule, NzIconModule], exports: [TrendComponent] });
|
|
61
|
-
TrendModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TrendModule, imports: [CommonModule, NzIconModule] });
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TrendModule, decorators: [{
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TrendModule, decorators: [{
|
|
63
63
|
type: NgModule,
|
|
64
64
|
args: [{
|
|
65
65
|
imports: [CommonModule, NzIconModule],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trend.mjs","sources":["../../../../packages/chart/trend/trend.component.ts","../../../../packages/chart/trend/trend.module.ts","../../../../packages/chart/trend/trend.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\n\nimport { BooleanInput, InputBoolean } from '@delon/util/decorator';\n\n@Component({\n selector: 'trend',\n exportAs: 'trend',\n template: `\n <ng-content></ng-content>\n <span *ngIf=\"flag\" class=\"trend__{{ flag }}\"><i nz-icon nzType=\"caret-{{ flag }}\"></i></span>\n `,\n host: {\n '[class.trend]': 'true',\n '[class.trend__grey]': '!colorful',\n '[class.trend__reverse]': 'colorful && reverseColor',\n '[attr.data-flag]': `flag`\n },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class TrendComponent {\n static ngAcceptInputType_colorful: BooleanInput;\n static ngAcceptInputType_reverseColor: BooleanInput;\n\n /** 上升下降标识 */\n @Input() flag?: 'up' | 'down';\n /** 是否彩色标记 */\n @Input() @InputBoolean() colorful = true;\n /** 颜色反转 */\n @Input() @InputBoolean() reverseColor = false;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\nimport { TrendComponent } from './trend.component';\n\nconst COMPONENTS = [TrendComponent];\n\n@NgModule({\n imports: [CommonModule, NzIconModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class TrendModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAIA,MAiBa,cAAc,CAAA;AAjB3B,IAAA,WAAA,GAAA;;QAwB2B,IAAQ,CAAA,QAAA,GAAG,IAA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A,IAAA,EAAA,WAAW,iBAPJ,cAAc,CAAA,EAAA,OAAA,EAAA,CAGtB,YAAY,EAAE,YAAY,aAHlB,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;+GAOrB,WAAW,EAAA,OAAA,EAAA,CAJZ,YAAY,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIzB,WAAW,EAAA,UAAA,EAAA,CAAA;kBALvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;AACrC,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;AACpB,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -186,9 +186,9 @@ class G2WaterWaveComponent {
|
|
|
186
186
|
this.resize$.unsubscribe();
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: G2WaterWaveComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
190
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.4", type: G2WaterWaveComponent, selector: "g2-water-wave", inputs: { animate: "animate", delay: "delay", title: "title", color: "color", height: "height", percent: "percent" }, host: { properties: { "class.g2-water-wave": "true" } }, viewQueries: [{ propertyName: "node", first: true, predicate: ["container"], descendants: true, static: true }], exportAs: ["g2WaterWave"], usesOnChanges: true, ngImport: i0, template: "<div [ngStyle]=\"{ 'height.px': height, 'width.px': height, overflow: 'hidden' }\">\n <canvas #container class=\"g2-water-wave__canvas\" width=\"{{ height * 2 }}\" height=\"{{ height * 2 }}\"></canvas>\n</div>\n<div class=\"g2-water-wave__desc\" [ngStyle]=\"{ 'width.px': height }\">\n <span *ngIf=\"title\" class=\"g2-water-wave__desc-title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n </span>\n <h4 class=\"g2-water-wave__desc-percent\">{{ percent }}%</h4>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
189
191
|
}
|
|
190
|
-
G2WaterWaveComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: G2WaterWaveComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component });
|
|
191
|
-
G2WaterWaveComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: G2WaterWaveComponent, selector: "g2-water-wave", inputs: { animate: "animate", delay: "delay", title: "title", color: "color", height: "height", percent: "percent" }, host: { properties: { "class.g2-water-wave": "true" } }, viewQueries: [{ propertyName: "node", first: true, predicate: ["container"], descendants: true, static: true }], exportAs: ["g2WaterWave"], usesOnChanges: true, ngImport: i0, template: "<div [ngStyle]=\"{ 'height.px': height, 'width.px': height, overflow: 'hidden' }\">\n <canvas #container class=\"g2-water-wave__canvas\" width=\"{{ height * 2 }}\" height=\"{{ height * 2 }}\"></canvas>\n</div>\n<div class=\"g2-water-wave__desc\" [ngStyle]=\"{ 'width.px': height }\">\n <span *ngIf=\"title\" class=\"g2-water-wave__desc-title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n </span>\n <h4 class=\"g2-water-wave__desc-percent\">{{ percent }}%</h4>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
192
192
|
__decorate([
|
|
193
193
|
InputBoolean()
|
|
194
194
|
], G2WaterWaveComponent.prototype, "animate", void 0);
|
|
@@ -201,7 +201,7 @@ __decorate([
|
|
|
201
201
|
__decorate([
|
|
202
202
|
InputNumber()
|
|
203
203
|
], G2WaterWaveComponent.prototype, "percent", void 0);
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: G2WaterWaveComponent, decorators: [{
|
|
205
205
|
type: Component,
|
|
206
206
|
args: [{ selector: 'g2-water-wave', exportAs: 'g2WaterWave', host: { '[class.g2-water-wave]': 'true' }, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div [ngStyle]=\"{ 'height.px': height, 'width.px': height, overflow: 'hidden' }\">\n <canvas #container class=\"g2-water-wave__canvas\" width=\"{{ height * 2 }}\" height=\"{{ height * 2 }}\"></canvas>\n</div>\n<div class=\"g2-water-wave__desc\" [ngStyle]=\"{ 'width.px': height }\">\n <span *ngIf=\"title\" class=\"g2-water-wave__desc-title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n </span>\n <h4 class=\"g2-water-wave__desc-percent\">{{ percent }}%</h4>\n</div>\n" }]
|
|
207
207
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.Platform }]; }, propDecorators: { node: [{
|
|
@@ -223,11 +223,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
223
223
|
|
|
224
224
|
const COMPONENTS = [G2WaterWaveComponent];
|
|
225
225
|
class G2WaterWaveModule {
|
|
226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: G2WaterWaveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
227
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: G2WaterWaveModule, declarations: [G2WaterWaveComponent], imports: [CommonModule, NzOutletModule], exports: [G2WaterWaveComponent] }); }
|
|
228
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: G2WaterWaveModule, imports: [CommonModule, NzOutletModule] }); }
|
|
226
229
|
}
|
|
227
|
-
|
|
228
|
-
G2WaterWaveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: G2WaterWaveModule, declarations: [G2WaterWaveComponent], imports: [CommonModule, NzOutletModule], exports: [G2WaterWaveComponent] });
|
|
229
|
-
G2WaterWaveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: G2WaterWaveModule, imports: [CommonModule, NzOutletModule] });
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: G2WaterWaveModule, decorators: [{
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: G2WaterWaveModule, decorators: [{
|
|
231
231
|
type: NgModule,
|
|
232
232
|
args: [{
|
|
233
233
|
imports: [CommonModule, NzOutletModule],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"water-wave.mjs","sources":["../../../../packages/chart/water-wave/water-wave.component.ts","../../../../packages/chart/water-wave/water-wave.component.html","../../../../packages/chart/water-wave/water-wave.module.ts","../../../../packages/chart/water-wave/water-wave.ts"],"sourcesContent":["import { Platform } from '@angular/cdk/platform';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Input,\n NgZone,\n OnChanges,\n OnDestroy,\n OnInit,\n Renderer2,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { fromEvent, Subscription, debounceTime } from 'rxjs';\n\nimport { BooleanInput, InputBoolean, InputNumber, NumberInput } from '@delon/util/decorator';\n\n@Component({\n selector: 'g2-water-wave',\n exportAs: 'g2WaterWave',\n templateUrl: './water-wave.component.html',\n host: { '[class.g2-water-wave]': 'true' },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class G2WaterWaveComponent implements OnDestroy, OnChanges, OnInit {\n static ngAcceptInputType_animate: BooleanInput;\n static ngAcceptInputType_delay: NumberInput;\n static ngAcceptInputType_height: NumberInput;\n static ngAcceptInputType_percent: NumberInput;\n\n private resize$: Subscription | null = null;\n @ViewChild('container', { static: true }) private node!: ElementRef;\n private timer!: number;\n\n // #region fields\n\n @Input() @InputBoolean() animate = true;\n @Input() @InputNumber() delay = 0;\n @Input() title?: string | TemplateRef<void> | null;\n @Input() color = '#1890FF';\n @Input() @InputNumber() height = 160;\n @Input() @InputNumber() percent?: number;\n\n // #endregion\n\n constructor(\n private el: ElementRef,\n private renderer: Renderer2,\n private ngZone: NgZone,\n private cdr: ChangeDetectorRef,\n private platform: Platform\n ) {}\n\n private renderChart(isUpdate: boolean): void {\n if (!this.resize$) return;\n\n this.updateRadio();\n\n const { percent, color, node, animate } = this;\n\n const data = Math.min(Math.max(percent! / 100, 0), 100);\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const self = this;\n cancelAnimationFrame(this.timer);\n\n const canvas = node.nativeElement as HTMLCanvasElement;\n const ctx = canvas.getContext('2d') as CanvasRenderingContext2D;\n const canvasWidth = canvas.width;\n const canvasHeight = canvas.height;\n const radius = canvasWidth / 2;\n const lineWidth = 2;\n const cR = radius - lineWidth;\n\n ctx.beginPath();\n ctx.lineWidth = lineWidth * 2;\n\n const axisLength = canvasWidth - lineWidth;\n const unit = axisLength / 8;\n const xOffset = lineWidth;\n let sp = 0; // 周期偏移量\n const range = 0.2; // 振幅\n let currRange = range;\n let currData = 0;\n const waveupsp = animate ? 0.005 : 0.015; // 水波上涨速度\n\n let arcStack: [[number, number]?] | null = [];\n const bR = radius - lineWidth;\n const circleOffset = -(Math.PI / 2);\n let circleLock = true;\n\n for (let i = circleOffset; i < circleOffset + 2 * Math.PI; i += 1 / (8 * Math.PI)) {\n arcStack.push([radius + bR * Math.cos(i), radius + bR * Math.sin(i)]);\n }\n\n const cStartPoint = arcStack.shift() as [number, number];\n ctx.strokeStyle = color;\n ctx.moveTo(cStartPoint[0], cStartPoint[1]);\n\n function drawSin(): void {\n ctx.beginPath();\n ctx.save();\n\n const sinStack: [[number, number]?] = [];\n for (let i = xOffset; i <= xOffset + axisLength; i += 20 / axisLength) {\n const x = sp + (xOffset + i) / unit;\n const y = Math.sin(x) * currRange;\n const dx = i;\n const dy = 2 * cR * (1 - currData) + (radius - cR) - unit * y;\n\n ctx.lineTo(dx, dy);\n sinStack.push([dx, dy]);\n }\n\n const startPoint = sinStack.shift() as [number, number];\n\n ctx.lineTo(xOffset + axisLength, canvasHeight);\n ctx.lineTo(xOffset, canvasHeight);\n ctx.lineTo(startPoint[0], startPoint[1]);\n\n const gradient = ctx.createLinearGradient(0, 0, 0, canvasHeight);\n gradient.addColorStop(0, '#ffffff');\n gradient.addColorStop(1, color);\n ctx.fillStyle = gradient;\n ctx.fill();\n ctx.restore();\n }\n\n function render(): void {\n ctx.clearRect(0, 0, canvasWidth, canvasHeight);\n if (circleLock && !isUpdate) {\n if (arcStack!.length) {\n if (animate) {\n const temp = arcStack!.shift() as [number, number];\n ctx.lineTo(temp[0], temp[1]);\n ctx.stroke();\n } else {\n for (const temp of arcStack!) {\n ctx.lineTo(temp![0], temp![1]);\n ctx.stroke();\n }\n arcStack = [];\n }\n } else {\n circleLock = false;\n ctx.lineTo(cStartPoint[0], cStartPoint[1]);\n ctx.stroke();\n arcStack = null;\n\n ctx.globalCompositeOperation = 'destination-over';\n ctx.beginPath();\n ctx.lineWidth = lineWidth;\n ctx.arc(radius, radius, bR, 0, 2 * Math.PI, true);\n\n ctx.beginPath();\n ctx.save();\n ctx.arc(radius, radius, radius - 3 * lineWidth, 0, 2 * Math.PI, true);\n\n ctx.restore();\n ctx.clip();\n ctx.fillStyle = color;\n }\n } else {\n if (data >= 0.85) {\n if (currRange > range / 4) {\n const t = range * 0.01;\n currRange -= t;\n }\n } else if (data <= 0.1) {\n if (currRange < range * 1.5) {\n const t = range * 0.01;\n currRange += t;\n }\n } else {\n if (currRange <= range) {\n const t = range * 0.01;\n currRange += t;\n }\n if (currRange >= range) {\n const t = range * 0.01;\n currRange -= t;\n }\n }\n if (data - currData > 0) {\n currData += waveupsp;\n }\n if (data - currData < 0) {\n currData -= waveupsp;\n }\n\n sp += 0.07;\n drawSin();\n }\n self.timer = requestAnimationFrame(render);\n }\n\n render();\n // drawSin();\n }\n\n private updateRadio(): void {\n const { offsetWidth } = this.el.nativeElement.parentNode;\n const radio = offsetWidth < this.height ? offsetWidth / this.height : 1;\n this.renderer.setStyle(this.el.nativeElement, 'transform', `scale(${radio})`);\n }\n\n render(): void {\n this.renderChart(false);\n }\n\n private installResizeEvent(): void {\n this.resize$ = fromEvent(window, 'resize')\n .pipe(debounceTime(200))\n .subscribe(() => this.updateRadio());\n }\n\n ngOnInit(): void {\n if (!this.platform.isBrowser) {\n return;\n }\n this.installResizeEvent();\n this.ngZone.runOutsideAngular(() => setTimeout(() => this.render(), this.delay));\n }\n\n ngOnChanges(): void {\n this.ngZone.runOutsideAngular(() => this.renderChart(true));\n this.cdr.detectChanges();\n }\n\n ngOnDestroy(): void {\n if (this.timer) {\n cancelAnimationFrame(this.timer);\n }\n if (this.resize$) {\n this.resize$.unsubscribe();\n }\n }\n}\n","<div [ngStyle]=\"{ 'height.px': height, 'width.px': height, overflow: 'hidden' }\">\n <canvas #container class=\"g2-water-wave__canvas\" width=\"{{ height * 2 }}\" height=\"{{ height * 2 }}\"></canvas>\n</div>\n<div class=\"g2-water-wave__desc\" [ngStyle]=\"{ 'width.px': height }\">\n <span *ngIf=\"title\" class=\"g2-water-wave__desc-title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n </span>\n <h4 class=\"g2-water-wave__desc-percent\">{{ percent }}%</h4>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\n\nimport { G2WaterWaveComponent } from './water-wave.component';\n\nconst COMPONENTS = [G2WaterWaveComponent];\n\n@NgModule({\n imports: [CommonModule, NzOutletModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class G2WaterWaveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,MASa,oBAAoB,CAAA;;IAqB/B,WACU,CAAA,EAAc,EACd,QAAmB,EACnB,MAAc,EACd,GAAsB,EACtB,QAAkB,EAAA;QAJlB,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;QACd,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QACnB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAG,CAAA,GAAA,GAAH,GAAG,CAAmB;QACtB,IAAQ,CAAA,QAA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KAAK;gBACkB,KAAK,EAAA,CAAA;sBAA5B,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACkB,MAAM,EAAA,CAAA;sBAA7B,KAAK;gBACkB,OAAO,EAAA,CAAA;sBAA9B,KAAK;;;AEvCR,MAAM,UAAU,GAAG,CAAC,oBAAoB,CAAC,CAAC;AAE1C,MAKa,iBAAiB,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,iBAPV,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAG5B,YAAY,EAAE,cAAc,aAHpB,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAO3B,iBAAiB,EAAA,OAAA,EAAA,CAJlB,YAAY,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAI3B,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC;AACvC,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;AACpB,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -15,5 +15,5 @@ export declare class G2GaugeComponent extends G2BaseComponent {
|
|
|
15
15
|
install(): void;
|
|
16
16
|
changeData(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2GaugeComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2GaugeComponent, "g2-gauge", ["g2Gauge"], { "title": "title"; "height": "height"; "color": "color"; "bgColor": "bgColor"; "format": "format"; "percent": "percent"; "padding": "padding"; }, {}, never, never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2GaugeComponent, "g2-gauge", ["g2Gauge"], { "title": { "alias": "title"; "required": false; }; "height": { "alias": "height"; "required": false; }; "color": { "alias": "color"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "format": { "alias": "format"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -36,5 +36,5 @@ export declare class G2MiniAreaComponent extends G2BaseComponent {
|
|
|
36
36
|
install(): void;
|
|
37
37
|
changeData(): void;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniAreaComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniAreaComponent, "g2-mini-area", ["g2MiniArea"], { "color": "color"; "borderColor": "borderColor"; "borderWidth": "borderWidth"; "height": "height"; "fit": "fit"; "line": "line"; "animate": "animate"; "xAxis": "xAxis"; "yAxis": "yAxis"; "padding": "padding"; "data": "data"; "yTooltipSuffix": "yTooltipSuffix"; "tooltipType": "tooltipType"; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniAreaComponent, "g2-mini-area", ["g2MiniArea"], { "color": { "alias": "color"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "height": { "alias": "height"; "required": false; }; "fit": { "alias": "fit"; "required": false; }; "line": { "alias": "line"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "data": { "alias": "data"; "required": false; }; "yTooltipSuffix": { "alias": "yTooltipSuffix"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
40
40
|
}
|
|
@@ -28,5 +28,5 @@ export declare class G2MiniBarComponent extends G2BaseComponent {
|
|
|
28
28
|
install(): void;
|
|
29
29
|
changeData(): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniBarComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniBarComponent, "g2-mini-bar", ["g2MiniBar"], { "color": "color"; "height": "height"; "borderWidth": "borderWidth"; "padding": "padding"; "data": "data"; "yTooltipSuffix": "yTooltipSuffix"; "tooltipType": "tooltipType"; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniBarComponent, "g2-mini-bar", ["g2MiniBar"], { "color": { "alias": "color"; "required": false; }; "height": { "alias": "height"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "data": { "alias": "data"; "required": false; }; "yTooltipSuffix": { "alias": "yTooltipSuffix"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
32
32
|
}
|
|
@@ -16,5 +16,5 @@ export declare class G2MiniProgressComponent implements OnChanges {
|
|
|
16
16
|
private fixNum;
|
|
17
17
|
ngOnChanges(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniProgressComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniProgressComponent, "g2-mini-progress", ["g2MiniProgress"], { "color": "color"; "target": "target"; "percent": "percent"; "strokeWidth": "strokeWidth"; }, {}, never, never, false, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniProgressComponent, "g2-mini-progress", ["g2MiniProgress"], { "color": { "alias": "color"; "required": false; }; "target": { "alias": "target"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -20,5 +20,5 @@ export declare class NumberInfoComponent {
|
|
|
20
20
|
/** 设置数字和描述直接的间距(像素) */
|
|
21
21
|
gap: number;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInfoComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInfoComponent, "number-info", ["numberInfo"], { "title": "title"; "subTitle": "subTitle"; "total": "total"; "subTotal": "subTotal"; "suffix": "suffix"; "status": "status"; "theme": "theme"; "gap": "gap"; }, {}, never, never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInfoComponent, "number-info", ["numberInfo"], { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "total": { "alias": "total"; "required": false; }; "subTotal": { "alias": "subTotal"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "status": { "alias": "status"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delon/chart",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"author": "cipchk<cipchk@qq.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,17 +26,13 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@antv/data-set": "^0.11.8",
|
|
29
|
-
"@antv/g2": "^4.2.
|
|
30
|
-
"echarts": "^5.4.
|
|
31
|
-
"@delon/util": "^
|
|
32
|
-
"@delon/theme": "^
|
|
29
|
+
"@antv/g2": "^4.2.10",
|
|
30
|
+
"echarts": "^5.4.2",
|
|
31
|
+
"@delon/util": "^16.0.0",
|
|
32
|
+
"@delon/theme": "^16.0.0",
|
|
33
33
|
"tslib": "^2.3.0"
|
|
34
34
|
},
|
|
35
|
-
"module": "
|
|
36
|
-
"es2020": "fesm2020/chart.mjs",
|
|
37
|
-
"esm2020": "esm2020/chart.mjs",
|
|
38
|
-
"fesm2020": "fesm2020/chart.mjs",
|
|
39
|
-
"fesm2015": "fesm2015/chart.mjs",
|
|
35
|
+
"module": "fesm2022/chart.mjs",
|
|
40
36
|
"typings": "index.d.ts",
|
|
41
37
|
"exports": {
|
|
42
38
|
"./package.json": {
|
|
@@ -44,147 +40,111 @@
|
|
|
44
40
|
},
|
|
45
41
|
".": {
|
|
46
42
|
"types": "./index.d.ts",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"node": "./fesm2015/chart.mjs",
|
|
51
|
-
"default": "./fesm2020/chart.mjs"
|
|
43
|
+
"esm2022": "./esm2022/chart.mjs",
|
|
44
|
+
"esm": "./esm2022/chart.mjs",
|
|
45
|
+
"default": "./fesm2022/chart.mjs"
|
|
52
46
|
},
|
|
53
47
|
"./bar": {
|
|
54
48
|
"types": "./bar/index.d.ts",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"node": "./fesm2015/bar.mjs",
|
|
59
|
-
"default": "./fesm2020/bar.mjs"
|
|
49
|
+
"esm2022": "./esm2022/bar/bar.mjs",
|
|
50
|
+
"esm": "./esm2022/bar/bar.mjs",
|
|
51
|
+
"default": "./fesm2022/bar.mjs"
|
|
60
52
|
},
|
|
61
53
|
"./card": {
|
|
62
54
|
"types": "./card/index.d.ts",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"node": "./fesm2015/card.mjs",
|
|
67
|
-
"default": "./fesm2020/card.mjs"
|
|
55
|
+
"esm2022": "./esm2022/card/card.mjs",
|
|
56
|
+
"esm": "./esm2022/card/card.mjs",
|
|
57
|
+
"default": "./fesm2022/card.mjs"
|
|
68
58
|
},
|
|
69
59
|
"./chart-echarts": {
|
|
70
60
|
"types": "./chart-echarts/index.d.ts",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"node": "./fesm2015/chart-echarts.mjs",
|
|
75
|
-
"default": "./fesm2020/chart-echarts.mjs"
|
|
61
|
+
"esm2022": "./esm2022/chart-echarts/chart-echarts.mjs",
|
|
62
|
+
"esm": "./esm2022/chart-echarts/chart-echarts.mjs",
|
|
63
|
+
"default": "./fesm2022/chart-echarts.mjs"
|
|
76
64
|
},
|
|
77
65
|
"./core": {
|
|
78
66
|
"types": "./core/index.d.ts",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"node": "./fesm2015/core.mjs",
|
|
83
|
-
"default": "./fesm2020/core.mjs"
|
|
67
|
+
"esm2022": "./esm2022/core/core.mjs",
|
|
68
|
+
"esm": "./esm2022/core/core.mjs",
|
|
69
|
+
"default": "./fesm2022/core.mjs"
|
|
84
70
|
},
|
|
85
71
|
"./custom": {
|
|
86
72
|
"types": "./custom/index.d.ts",
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"node": "./fesm2015/custom.mjs",
|
|
91
|
-
"default": "./fesm2020/custom.mjs"
|
|
73
|
+
"esm2022": "./esm2022/custom/custom.mjs",
|
|
74
|
+
"esm": "./esm2022/custom/custom.mjs",
|
|
75
|
+
"default": "./fesm2022/custom.mjs"
|
|
92
76
|
},
|
|
93
77
|
"./gauge": {
|
|
94
78
|
"types": "./gauge/index.d.ts",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"node": "./fesm2015/gauge.mjs",
|
|
99
|
-
"default": "./fesm2020/gauge.mjs"
|
|
79
|
+
"esm2022": "./esm2022/gauge/gauge.mjs",
|
|
80
|
+
"esm": "./esm2022/gauge/gauge.mjs",
|
|
81
|
+
"default": "./fesm2022/gauge.mjs"
|
|
100
82
|
},
|
|
101
83
|
"./mini-area": {
|
|
102
84
|
"types": "./mini-area/index.d.ts",
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"node": "./fesm2015/mini-area.mjs",
|
|
107
|
-
"default": "./fesm2020/mini-area.mjs"
|
|
85
|
+
"esm2022": "./esm2022/mini-area/mini-area.mjs",
|
|
86
|
+
"esm": "./esm2022/mini-area/mini-area.mjs",
|
|
87
|
+
"default": "./fesm2022/mini-area.mjs"
|
|
108
88
|
},
|
|
109
89
|
"./mini-bar": {
|
|
110
90
|
"types": "./mini-bar/index.d.ts",
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"node": "./fesm2015/mini-bar.mjs",
|
|
115
|
-
"default": "./fesm2020/mini-bar.mjs"
|
|
91
|
+
"esm2022": "./esm2022/mini-bar/mini-bar.mjs",
|
|
92
|
+
"esm": "./esm2022/mini-bar/mini-bar.mjs",
|
|
93
|
+
"default": "./fesm2022/mini-bar.mjs"
|
|
116
94
|
},
|
|
117
95
|
"./mini-progress": {
|
|
118
96
|
"types": "./mini-progress/index.d.ts",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"node": "./fesm2015/mini-progress.mjs",
|
|
123
|
-
"default": "./fesm2020/mini-progress.mjs"
|
|
97
|
+
"esm2022": "./esm2022/mini-progress/mini-progress.mjs",
|
|
98
|
+
"esm": "./esm2022/mini-progress/mini-progress.mjs",
|
|
99
|
+
"default": "./fesm2022/mini-progress.mjs"
|
|
124
100
|
},
|
|
125
101
|
"./number-info": {
|
|
126
102
|
"types": "./number-info/index.d.ts",
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"node": "./fesm2015/number-info.mjs",
|
|
131
|
-
"default": "./fesm2020/number-info.mjs"
|
|
103
|
+
"esm2022": "./esm2022/number-info/number-info.mjs",
|
|
104
|
+
"esm": "./esm2022/number-info/number-info.mjs",
|
|
105
|
+
"default": "./fesm2022/number-info.mjs"
|
|
132
106
|
},
|
|
133
107
|
"./pie": {
|
|
134
108
|
"types": "./pie/index.d.ts",
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"node": "./fesm2015/pie.mjs",
|
|
139
|
-
"default": "./fesm2020/pie.mjs"
|
|
109
|
+
"esm2022": "./esm2022/pie/pie.mjs",
|
|
110
|
+
"esm": "./esm2022/pie/pie.mjs",
|
|
111
|
+
"default": "./fesm2022/pie.mjs"
|
|
140
112
|
},
|
|
141
113
|
"./radar": {
|
|
142
114
|
"types": "./radar/index.d.ts",
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"node": "./fesm2015/radar.mjs",
|
|
147
|
-
"default": "./fesm2020/radar.mjs"
|
|
115
|
+
"esm2022": "./esm2022/radar/radar.mjs",
|
|
116
|
+
"esm": "./esm2022/radar/radar.mjs",
|
|
117
|
+
"default": "./fesm2022/radar.mjs"
|
|
148
118
|
},
|
|
149
119
|
"./single-bar": {
|
|
150
120
|
"types": "./single-bar/index.d.ts",
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"node": "./fesm2015/single-bar.mjs",
|
|
155
|
-
"default": "./fesm2020/single-bar.mjs"
|
|
121
|
+
"esm2022": "./esm2022/single-bar/single-bar.mjs",
|
|
122
|
+
"esm": "./esm2022/single-bar/single-bar.mjs",
|
|
123
|
+
"default": "./fesm2022/single-bar.mjs"
|
|
156
124
|
},
|
|
157
125
|
"./tag-cloud": {
|
|
158
126
|
"types": "./tag-cloud/index.d.ts",
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"node": "./fesm2015/tag-cloud.mjs",
|
|
163
|
-
"default": "./fesm2020/tag-cloud.mjs"
|
|
127
|
+
"esm2022": "./esm2022/tag-cloud/tag-cloud.mjs",
|
|
128
|
+
"esm": "./esm2022/tag-cloud/tag-cloud.mjs",
|
|
129
|
+
"default": "./fesm2022/tag-cloud.mjs"
|
|
164
130
|
},
|
|
165
131
|
"./timeline": {
|
|
166
132
|
"types": "./timeline/index.d.ts",
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"node": "./fesm2015/timeline.mjs",
|
|
171
|
-
"default": "./fesm2020/timeline.mjs"
|
|
133
|
+
"esm2022": "./esm2022/timeline/timeline.mjs",
|
|
134
|
+
"esm": "./esm2022/timeline/timeline.mjs",
|
|
135
|
+
"default": "./fesm2022/timeline.mjs"
|
|
172
136
|
},
|
|
173
137
|
"./trend": {
|
|
174
138
|
"types": "./trend/index.d.ts",
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"node": "./fesm2015/trend.mjs",
|
|
179
|
-
"default": "./fesm2020/trend.mjs"
|
|
139
|
+
"esm2022": "./esm2022/trend/trend.mjs",
|
|
140
|
+
"esm": "./esm2022/trend/trend.mjs",
|
|
141
|
+
"default": "./fesm2022/trend.mjs"
|
|
180
142
|
},
|
|
181
143
|
"./water-wave": {
|
|
182
144
|
"types": "./water-wave/index.d.ts",
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"node": "./fesm2015/water-wave.mjs",
|
|
187
|
-
"default": "./fesm2020/water-wave.mjs"
|
|
145
|
+
"esm2022": "./esm2022/water-wave/water-wave.mjs",
|
|
146
|
+
"esm": "./esm2022/water-wave/water-wave.mjs",
|
|
147
|
+
"default": "./fesm2022/water-wave.mjs"
|
|
188
148
|
}
|
|
189
149
|
},
|
|
190
150
|
"sideEffects": false
|
package/pie/pie.component.d.ts
CHANGED
|
@@ -63,5 +63,5 @@ export declare class G2PieComponent extends G2BaseComponent {
|
|
|
63
63
|
_click(i: number): void;
|
|
64
64
|
onChanges(): void;
|
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2PieComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2PieComponent, "g2-pie", ["g2Pie"], { "animate": "animate"; "color": "color"; "subTitle": "subTitle"; "total": "total"; "height": "height"; "hasLegend": "hasLegend"; "inner": "inner"; "padding": "padding"; "percent": "percent"; "tooltip": "tooltip"; "lineWidth": "lineWidth"; "blockMaxWidth": "blockMaxWidth"; "select": "select"; "valueFormat": "valueFormat"; "data": "data"; "colors": "colors"; "interaction": "interaction"; "ratio": "ratio"; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2PieComponent, "g2-pie", ["g2Pie"], { "animate": { "alias": "animate"; "required": false; }; "color": { "alias": "color"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "total": { "alias": "total"; "required": false; }; "height": { "alias": "height"; "required": false; }; "hasLegend": { "alias": "hasLegend"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "lineWidth": { "alias": "lineWidth"; "required": false; }; "blockMaxWidth": { "alias": "blockMaxWidth"; "required": false; }; "select": { "alias": "select"; "required": false; }; "valueFormat": { "alias": "valueFormat"; "required": false; }; "data": { "alias": "data"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "interaction": { "alias": "interaction"; "required": false; }; "ratio": { "alias": "ratio"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
67
67
|
}
|
|
@@ -34,5 +34,5 @@ export declare class G2RadarComponent extends G2BaseComponent {
|
|
|
34
34
|
_click(i: number): void;
|
|
35
35
|
onChanges(): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2RadarComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2RadarComponent, "g2-radar", ["g2Radar"], { "title": "title"; "height": "height"; "padding": "padding"; "hasLegend": "hasLegend"; "tickCount": "tickCount"; "data": "data"; "colors": "colors"; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2RadarComponent, "g2-radar", ["g2Radar"], { "title": { "alias": "title"; "required": false; }; "height": { "alias": "height"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "hasLegend": { "alias": "hasLegend"; "required": false; }; "tickCount": { "alias": "tickCount"; "required": false; }; "data": { "alias": "data"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
38
38
|
}
|
|
@@ -27,5 +27,5 @@ export declare class G2SingleBarComponent extends G2BaseComponent {
|
|
|
27
27
|
onlyChangeData: (changes: SimpleChanges) => boolean;
|
|
28
28
|
changeData(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2SingleBarComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2SingleBarComponent, "g2-single-bar", ["g2SingleBar"], { "plusColor": "plusColor"; "minusColor": "minusColor"; "height": "height"; "barSize": "barSize"; "min": "min"; "max": "max"; "value": "value"; "line": "line"; "format": "format"; "padding": "padding"; "textStyle": "textStyle"; }, {}, never, never, false, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2SingleBarComponent, "g2-single-bar", ["g2SingleBar"], { "plusColor": { "alias": "plusColor"; "required": false; }; "minusColor": { "alias": "minusColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "barSize": { "alias": "barSize"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; "line": { "alias": "line"; "required": false; }; "format": { "alias": "format"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
31
|
}
|
|
@@ -27,5 +27,5 @@ export declare class G2TagCloudComponent extends G2BaseComponent {
|
|
|
27
27
|
private installResizeEvent;
|
|
28
28
|
onInit(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2TagCloudComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2TagCloudComponent, "g2-tag-cloud", ["g2TagCloud"], { "width": "width"; "height": "height"; "padding": "padding"; "data": "data"; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2TagCloudComponent, "g2-tag-cloud", ["g2TagCloud"], { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
31
31
|
}
|
|
@@ -60,5 +60,5 @@ export declare class G2TimelineComponent extends G2BaseComponent {
|
|
|
60
60
|
install(): void;
|
|
61
61
|
changeData(): void;
|
|
62
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2TimelineComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2TimelineComponent, "g2-timeline", ["g2Timeline"], { "title": "title"; "maxAxis": "maxAxis"; "data": "data"; "titleMap": "titleMap"; "colorMap": "colorMap"; "mask": "mask"; "maskSlider": "maskSlider"; "position": "position"; "height": "height"; "padding": "padding"; "borderWidth": "borderWidth"; "slider": "slider"; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2TimelineComponent, "g2-timeline", ["g2Timeline"], { "title": { "alias": "title"; "required": false; }; "maxAxis": { "alias": "maxAxis"; "required": false; }; "data": { "alias": "data"; "required": false; }; "titleMap": { "alias": "titleMap"; "required": false; }; "colorMap": { "alias": "colorMap"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "maskSlider": { "alias": "maskSlider"; "required": false; }; "position": { "alias": "position"; "required": false; }; "height": { "alias": "height"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "slider": { "alias": "slider"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, false, never>;
|
|
64
64
|
}
|
|
@@ -10,5 +10,5 @@ export declare class TrendComponent {
|
|
|
10
10
|
/** 颜色反转 */
|
|
11
11
|
reverseColor: boolean;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TrendComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TrendComponent, "trend", ["trend"], { "flag": "flag"; "colorful": "colorful"; "reverseColor": "reverseColor"; }, {}, never, ["*"], false, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrendComponent, "trend", ["trend"], { "flag": { "alias": "flag"; "required": false; }; "colorful": { "alias": "colorful"; "required": false; }; "reverseColor": { "alias": "reverseColor"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
14
14
|
}
|
|
@@ -30,5 +30,5 @@ export declare class G2WaterWaveComponent implements OnDestroy, OnChanges, OnIni
|
|
|
30
30
|
ngOnChanges(): void;
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<G2WaterWaveComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2WaterWaveComponent, "g2-water-wave", ["g2WaterWave"], { "animate": "animate"; "delay": "delay"; "title": "title"; "color": "color"; "height": "height"; "percent": "percent"; }, {}, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<G2WaterWaveComponent, "g2-water-wave", ["g2WaterWave"], { "animate": { "alias": "animate"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "title": { "alias": "title"; "required": false; }; "color": { "alias": "color"; "required": false; }; "height": { "alias": "height"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
34
|
}
|