@delon/chart 17.0.2 → 17.0.3

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.
Files changed (54) hide show
  1. package/esm2022/bar/bar.component.mjs +3 -3
  2. package/esm2022/bar/bar.module.mjs +4 -4
  3. package/esm2022/card/card.component.mjs +3 -3
  4. package/esm2022/card/card.module.mjs +4 -4
  5. package/esm2022/chart-echarts/echarts.component.mjs +3 -3
  6. package/esm2022/chart-echarts/echarts.module.mjs +4 -4
  7. package/esm2022/chart-echarts/echarts.service.mjs +3 -3
  8. package/esm2022/core/g2.base.component.mjs +3 -3
  9. package/esm2022/core/g2.servicce.mjs +3 -3
  10. package/esm2022/custom/custom.component.mjs +3 -3
  11. package/esm2022/custom/custom.module.mjs +4 -4
  12. package/esm2022/gauge/gauge.component.mjs +3 -3
  13. package/esm2022/gauge/gauge.module.mjs +4 -4
  14. package/esm2022/mini-area/mini-area.component.mjs +3 -3
  15. package/esm2022/mini-area/mini-area.module.mjs +4 -4
  16. package/esm2022/mini-bar/mini-bar.component.mjs +3 -3
  17. package/esm2022/mini-bar/mini-bar.module.mjs +4 -4
  18. package/esm2022/mini-progress/mini-progress.component.mjs +3 -3
  19. package/esm2022/mini-progress/mini-progress.module.mjs +4 -4
  20. package/esm2022/number-info/number-info.component.mjs +3 -3
  21. package/esm2022/number-info/number-info.module.mjs +4 -4
  22. package/esm2022/pie/pie.component.mjs +5 -5
  23. package/esm2022/pie/pie.module.mjs +4 -4
  24. package/esm2022/radar/radar.component.mjs +3 -3
  25. package/esm2022/radar/radar.module.mjs +4 -4
  26. package/esm2022/single-bar/single-bar.component.mjs +3 -3
  27. package/esm2022/single-bar/single-bar.module.mjs +4 -4
  28. package/esm2022/tag-cloud/tag-cloud.component.mjs +3 -3
  29. package/esm2022/tag-cloud/tag-cloud.module.mjs +4 -4
  30. package/esm2022/timeline/timeline.component.mjs +3 -3
  31. package/esm2022/timeline/timeline.module.mjs +4 -4
  32. package/esm2022/trend/trend.component.mjs +3 -3
  33. package/esm2022/trend/trend.module.mjs +4 -4
  34. package/esm2022/water-wave/water-wave.component.mjs +3 -3
  35. package/esm2022/water-wave/water-wave.module.mjs +4 -4
  36. package/fesm2022/bar.mjs +7 -7
  37. package/fesm2022/card.mjs +7 -7
  38. package/fesm2022/chart-echarts.mjs +10 -10
  39. package/fesm2022/core.mjs +6 -6
  40. package/fesm2022/custom.mjs +7 -7
  41. package/fesm2022/gauge.mjs +7 -7
  42. package/fesm2022/mini-area.mjs +7 -7
  43. package/fesm2022/mini-bar.mjs +7 -7
  44. package/fesm2022/mini-progress.mjs +7 -7
  45. package/fesm2022/number-info.mjs +7 -7
  46. package/fesm2022/pie.mjs +8 -8
  47. package/fesm2022/pie.mjs.map +1 -1
  48. package/fesm2022/radar.mjs +7 -7
  49. package/fesm2022/single-bar.mjs +7 -7
  50. package/fesm2022/tag-cloud.mjs +7 -7
  51. package/fesm2022/timeline.mjs +7 -7
  52. package/fesm2022/trend.mjs +7 -7
  53. package/fesm2022/water-wave.mjs +7 -7
  54. package/package.json +3 -3
@@ -141,8 +141,8 @@ class G2TimelineComponent extends G2BaseComponent {
141
141
  const filterData = data.filter(val => val._time >= initialRange.start && val._time <= initialRange.end);
142
142
  _chart.changeData(filterData);
143
143
  }
144
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: G2TimelineComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
145
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: G2TimelineComponent, selector: "g2-timeline", inputs: { title: "title", maxAxis: "maxAxis", data: "data", titleMap: "titleMap", colorMap: "colorMap", mask: "mask", maskSlider: "maskSlider", position: "position", height: "height", padding: "padding", borderWidth: "borderWidth", slider: "slider" }, outputs: { clickItem: "clickItem" }, exportAs: ["g2Timeline"], usesInheritance: true, ngImport: i0, template: `
144
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: G2TimelineComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
145
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: G2TimelineComponent, selector: "g2-timeline", inputs: { title: "title", maxAxis: "maxAxis", data: "data", titleMap: "titleMap", colorMap: "colorMap", mask: "mask", maskSlider: "maskSlider", position: "position", height: "height", padding: "padding", borderWidth: "borderWidth", slider: "slider" }, outputs: { clickItem: "clickItem" }, exportAs: ["g2Timeline"], usesInheritance: true, ngImport: i0, template: `
146
146
  <ng-container *nzStringTemplateOutlet="title">
147
147
  <h4>{{ title }}</h4>
148
148
  </ng-container>
@@ -164,7 +164,7 @@ __decorate([
164
164
  __decorate([
165
165
  InputBoolean()
166
166
  ], G2TimelineComponent.prototype, "slider", void 0);
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: G2TimelineComponent, decorators: [{
167
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: G2TimelineComponent, decorators: [{
168
168
  type: Component,
169
169
  args: [{
170
170
  selector: 'g2-timeline',
@@ -212,11 +212,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
212
212
 
213
213
  const COMPONENTS = [G2TimelineComponent];
214
214
  class G2TimelineModule {
215
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: G2TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
216
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: G2TimelineModule, declarations: [G2TimelineComponent], imports: [CommonModule, NzOutletModule, NzSkeletonModule], exports: [G2TimelineComponent] }); }
217
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: G2TimelineModule, imports: [CommonModule, NzOutletModule, NzSkeletonModule] }); }
215
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: G2TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
216
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: G2TimelineModule, declarations: [G2TimelineComponent], imports: [CommonModule, NzOutletModule, NzSkeletonModule], exports: [G2TimelineComponent] }); }
217
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: G2TimelineModule, imports: [CommonModule, NzOutletModule, NzSkeletonModule] }); }
218
218
  }
219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: G2TimelineModule, decorators: [{
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: G2TimelineModule, decorators: [{
220
220
  type: NgModule,
221
221
  args: [{
222
222
  imports: [CommonModule, NzOutletModule, NzSkeletonModule],
@@ -13,8 +13,8 @@ class TrendComponent {
13
13
  /** 颜色反转 */
14
14
  this.reverseColor = false;
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: TrendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.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: `
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: TrendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", 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: `
18
18
  <ng-content />
19
19
  @if (flag) {
20
20
  <span class="trend__{{ flag }}"><i nz-icon nzType="caret-{{ flag }}"></i></span>
@@ -27,7 +27,7 @@ __decorate([
27
27
  __decorate([
28
28
  InputBoolean()
29
29
  ], TrendComponent.prototype, "reverseColor", void 0);
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: TrendComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: TrendComponent, decorators: [{
31
31
  type: Component,
32
32
  args: [{
33
33
  selector: 'trend',
@@ -58,11 +58,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
58
58
 
59
59
  const COMPONENTS = [TrendComponent];
60
60
  class TrendModule {
61
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: TrendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
62
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: TrendModule, declarations: [TrendComponent], imports: [CommonModule, NzIconModule], exports: [TrendComponent] }); }
63
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: TrendModule, imports: [CommonModule, NzIconModule] }); }
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: TrendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
62
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: TrendModule, declarations: [TrendComponent], imports: [CommonModule, NzIconModule], exports: [TrendComponent] }); }
63
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: TrendModule, imports: [CommonModule, NzIconModule] }); }
64
64
  }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: TrendModule, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: TrendModule, decorators: [{
66
66
  type: NgModule,
67
67
  args: [{
68
68
  imports: [CommonModule, NzIconModule],
@@ -186,8 +186,8 @@ class G2WaterWaveComponent {
186
186
  this.resize$.unsubscribe();
187
187
  }
188
188
  }
189
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.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: "17.0.0", version: "17.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 @if (title) {\n <span class=\"g2-water-wave__desc-title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n </span>\n }\n <h4 class=\"g2-water-wave__desc-percent\">{{ percent }}%</h4>\n</div>\n", dependencies: [{ 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
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", 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: "17.0.0", version: "17.0.2", 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 @if (title) {\n <span class=\"g2-water-wave__desc-title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n </span>\n }\n <h4 class=\"g2-water-wave__desc-percent\">{{ percent }}%</h4>\n</div>\n", dependencies: [{ 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 }); }
191
191
  }
192
192
  __decorate([
193
193
  InputBoolean()
@@ -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: "17.0.4", ngImport: i0, type: G2WaterWaveComponent, decorators: [{
204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", 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 @if (title) {\n <span class=\"g2-water-wave__desc-title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n </span>\n }\n <h4 class=\"g2-water-wave__desc-percent\">{{ percent }}%</h4>\n</div>\n" }]
207
207
  }], ctorParameters: () => [{ 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: "17.0.4", ngImpor
223
223
 
224
224
  const COMPONENTS = [G2WaterWaveComponent];
225
225
  class G2WaterWaveModule {
226
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: G2WaterWaveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
227
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: G2WaterWaveModule, declarations: [G2WaterWaveComponent], imports: [CommonModule, NzOutletModule], exports: [G2WaterWaveComponent] }); }
228
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: G2WaterWaveModule, imports: [CommonModule, NzOutletModule] }); }
226
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: G2WaterWaveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
227
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: G2WaterWaveModule, declarations: [G2WaterWaveComponent], imports: [CommonModule, NzOutletModule], exports: [G2WaterWaveComponent] }); }
228
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: G2WaterWaveModule, imports: [CommonModule, NzOutletModule] }); }
229
229
  }
230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: G2WaterWaveModule, decorators: [{
230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: G2WaterWaveModule, decorators: [{
231
231
  type: NgModule,
232
232
  args: [{
233
233
  imports: [CommonModule, NzOutletModule],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delon/chart",
3
- "version": "17.0.2",
3
+ "version": "17.0.3",
4
4
  "author": "cipchk<cipchk@qq.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,8 +28,8 @@
28
28
  "@antv/data-set": "^0.11.8",
29
29
  "@antv/g2": "^4.2.10",
30
30
  "echarts": "^5.4.3",
31
- "@delon/util": "^17.0.2",
32
- "@delon/theme": "^17.0.2",
31
+ "@delon/util": "^17.0.3",
32
+ "@delon/theme": "^17.0.3",
33
33
  "tslib": "^2.3.0"
34
34
  },
35
35
  "module": "fesm2022/chart.mjs",