@taiga-ui/addon-charts 2.61.0 → 3.0.0-rc.2
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/bundles/taiga-ui-addon-charts-components-arc-chart.umd.js +437 -319
- package/bundles/taiga-ui-addon-charts-components-arc-chart.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-axes.umd.js +461 -335
- package/bundles/taiga-ui-addon-charts-components-axes.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-bar-chart.umd.js +451 -342
- package/bundles/taiga-ui-addon-charts-components-bar-chart.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-bar-set.umd.js +401 -298
- package/bundles/taiga-ui-addon-charts-components-bar-set.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-bar.umd.js +396 -293
- package/bundles/taiga-ui-addon-charts-components-bar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-legend-item.umd.js +408 -295
- package/bundles/taiga-ui-addon-charts-components-legend-item.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-line-chart.umd.js +572 -402
- package/bundles/taiga-ui-addon-charts-components-line-chart.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-line-days-chart.umd.js +544 -392
- package/bundles/taiga-ui-addon-charts-components-line-days-chart.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-pie-chart.umd.js +518 -393
- package/bundles/taiga-ui-addon-charts-components-pie-chart.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components-ring-chart.umd.js +398 -302
- package/bundles/taiga-ui-addon-charts-components-ring-chart.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-components.umd.js +23 -43
- package/bundles/taiga-ui-addon-charts-components.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-constants.umd.js +17 -48
- package/bundles/taiga-ui-addon-charts-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-addon-charts-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-types.umd.js +2 -2
- package/bundles/taiga-ui-addon-charts-types.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts-utils.umd.js +350 -308
- package/bundles/taiga-ui-addon-charts-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-charts.umd.js +18 -18
- package/bundles/taiga-ui-addon-charts.umd.js.map +1 -1
- package/components/arc-chart/arc-chart.component.d.ts +3 -0
- package/components/arc-chart/arc-chart.module.d.ts +6 -0
- package/components/arc-chart/package.json +2 -5
- package/components/arc-chart/taiga-ui-addon-charts-components-arc-chart.d.ts +1 -0
- package/components/axes/axes.component.d.ts +6 -3
- package/components/axes/axes.module.d.ts +7 -0
- package/components/axes/package.json +2 -5
- package/components/axes/taiga-ui-addon-charts-components-axes.d.ts +1 -0
- package/components/bar/bar.component.d.ts +4 -5
- package/components/bar/bar.module.d.ts +6 -0
- package/components/bar/package.json +2 -5
- package/components/bar/taiga-ui-addon-charts-components-bar.d.ts +1 -0
- package/components/bar-chart/bar-chart.component.d.ts +10 -10
- package/components/bar-chart/bar-chart.module.d.ts +9 -0
- package/components/bar-chart/package.json +2 -5
- package/components/bar-chart/taiga-ui-addon-charts-components-bar-chart.d.ts +1 -0
- package/components/bar-set/bar-set.component.d.ts +4 -5
- package/components/bar-set/bar-set.module.d.ts +7 -0
- package/components/bar-set/package.json +2 -5
- package/components/bar-set/taiga-ui-addon-charts-components-bar-set.d.ts +1 -0
- package/components/legend-item/legend-item.component.d.ts +3 -0
- package/components/legend-item/legend-item.module.d.ts +7 -0
- package/components/legend-item/package.json +2 -5
- package/components/legend-item/taiga-ui-addon-charts-components-legend-item.d.ts +1 -0
- package/components/line-chart/line-chart-hint.directive.d.ts +13 -3
- package/components/line-chart/line-chart.component.d.ts +10 -6
- package/components/line-chart/line-chart.module.d.ts +10 -0
- package/components/line-chart/package.json +2 -5
- package/components/line-chart/taiga-ui-addon-charts-components-line-chart.d.ts +1 -0
- package/components/line-days-chart/line-days-chart-hint.directive.d.ts +10 -3
- package/components/line-days-chart/line-days-chart.component.d.ts +7 -1
- package/components/line-days-chart/line-days-chart.module.d.ts +10 -0
- package/components/line-days-chart/package.json +2 -5
- package/components/line-days-chart/taiga-ui-addon-charts-components-line-days-chart.d.ts +1 -0
- package/components/package.json +2 -5
- package/components/pie-chart/package.json +2 -5
- package/components/pie-chart/pie-chart.component.d.ts +5 -6
- package/components/pie-chart/pie-chart.directive.d.ts +3 -0
- package/components/pie-chart/pie-chart.module.d.ts +10 -0
- package/components/pie-chart/taiga-ui-addon-charts-components-pie-chart.d.ts +1 -0
- package/components/ring-chart/package.json +2 -5
- package/components/ring-chart/ring-chart.component.d.ts +3 -8
- package/components/ring-chart/ring-chart.module.d.ts +8 -0
- package/components/ring-chart/taiga-ui-addon-charts-components-ring-chart.d.ts +1 -0
- package/components/taiga-ui-addon-charts-components.d.ts +1 -0
- package/constants/index.d.ts +0 -2
- package/constants/package.json +2 -5
- package/constants/taiga-ui-addon-charts-constants.d.ts +1 -0
- package/esm2015/components/arc-chart/arc-chart.component.js +57 -45
- package/esm2015/components/arc-chart/arc-chart.module.js +15 -12
- package/esm2015/components/arc-chart/index.js +1 -1
- package/esm2015/components/arc-chart/taiga-ui-addon-charts-components-arc-chart.js +1 -1
- package/esm2015/components/axes/axes.component.js +55 -38
- package/esm2015/components/axes/axes.module.js +15 -12
- package/esm2015/components/axes/index.js +1 -1
- package/esm2015/components/axes/taiga-ui-addon-charts-components-axes.js +1 -1
- package/esm2015/components/bar/bar.component.js +29 -35
- package/esm2015/components/bar/bar.module.js +15 -12
- package/esm2015/components/bar/index.js +1 -1
- package/esm2015/components/bar/taiga-ui-addon-charts-components-bar.js +1 -1
- package/esm2015/components/bar-chart/bar-chart.component.js +51 -56
- package/esm2015/components/bar-chart/bar-chart.module.js +28 -15
- package/esm2015/components/bar-chart/index.js +1 -1
- package/esm2015/components/bar-chart/taiga-ui-addon-charts-components-bar-chart.js +1 -1
- package/esm2015/components/bar-set/bar-set.component.js +27 -33
- package/esm2015/components/bar-set/bar-set.module.js +15 -12
- package/esm2015/components/bar-set/index.js +1 -1
- package/esm2015/components/bar-set/taiga-ui-addon-charts-components-bar-set.js +1 -1
- package/esm2015/components/index.js +1 -1
- package/esm2015/components/legend-item/index.js +1 -1
- package/esm2015/components/legend-item/legend-item.component.js +36 -30
- package/esm2015/components/legend-item/legend-item.module.js +15 -12
- package/esm2015/components/legend-item/taiga-ui-addon-charts-components-legend-item.js +1 -1
- package/esm2015/components/line-chart/index.js +1 -1
- package/esm2015/components/line-chart/line-chart-hint.directive.js +54 -39
- package/esm2015/components/line-chart/line-chart.component.js +81 -54
- package/esm2015/components/line-chart/line-chart.module.js +28 -13
- package/esm2015/components/line-chart/taiga-ui-addon-charts-components-line-chart.js +1 -1
- package/esm2015/components/line-days-chart/index.js +1 -1
- package/esm2015/components/line-days-chart/line-days-chart-hint.directive.js +46 -35
- package/esm2015/components/line-days-chart/line-days-chart.component.js +72 -48
- package/esm2015/components/line-days-chart/line-days-chart.module.js +29 -12
- package/esm2015/components/line-days-chart/taiga-ui-addon-charts-components-line-days-chart.js +1 -1
- package/esm2015/components/pie-chart/index.js +1 -1
- package/esm2015/components/pie-chart/pie-chart.component.js +50 -50
- package/esm2015/components/pie-chart/pie-chart.directive.js +40 -32
- package/esm2015/components/pie-chart/pie-chart.module.js +28 -15
- package/esm2015/components/pie-chart/taiga-ui-addon-charts-components-pie-chart.js +1 -1
- package/esm2015/components/ring-chart/index.js +1 -1
- package/esm2015/components/ring-chart/ring-chart.component.js +27 -38
- package/esm2015/components/ring-chart/ring-chart.module.js +15 -12
- package/esm2015/components/ring-chart/taiga-ui-addon-charts-components-ring-chart.js +1 -1
- package/esm2015/components/taiga-ui-addon-charts-components.js +1 -1
- package/esm2015/constants/index.js +1 -3
- package/esm2015/constants/line-handlers.js +1 -1
- package/esm2015/constants/taiga-ui-addon-charts-constants.js +1 -1
- package/esm2015/index.js +3 -2
- package/esm2015/interfaces/index.js +2 -1
- package/esm2015/interfaces/line-chart-hint-context.js +2 -1
- package/esm2015/interfaces/taiga-ui-addon-charts-interfaces.js +2 -1
- package/esm2015/taiga-ui-addon-charts.js +1 -1
- package/esm2015/types/index.js +3 -1
- package/esm2015/types/line-handler.js +2 -1
- package/esm2015/types/line-type.js +2 -1
- package/esm2015/types/taiga-ui-addon-charts-types.js +2 -1
- package/esm2015/utils/control-point.js +6 -11
- package/esm2015/utils/describe-sector.js +6 -9
- package/esm2015/utils/draw-curve.js +5 -10
- package/esm2015/utils/draw-line.js +2 -7
- package/esm2015/utils/draw.js +6 -11
- package/esm2015/utils/index.js +1 -1
- package/esm2015/utils/line-angle.js +2 -7
- package/esm2015/utils/line-length.js +2 -7
- package/esm2015/utils/taiga-ui-addon-charts-utils.js +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-arc-chart.js +68 -51
- package/fesm2015/taiga-ui-addon-charts-components-arc-chart.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-axes.js +68 -46
- package/fesm2015/taiga-ui-addon-charts-components-axes.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-bar-chart.js +77 -68
- package/fesm2015/taiga-ui-addon-charts-components-bar-chart.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-bar-set.js +40 -41
- package/fesm2015/taiga-ui-addon-charts-components-bar-set.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-bar.js +41 -42
- package/fesm2015/taiga-ui-addon-charts-components-bar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-legend-item.js +50 -38
- package/fesm2015/taiga-ui-addon-charts-components-legend-item.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-line-chart.js +154 -97
- package/fesm2015/taiga-ui-addon-charts-components-line-chart.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-line-days-chart.js +137 -86
- package/fesm2015/taiga-ui-addon-charts-components-line-days-chart.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-pie-chart.js +131 -109
- package/fesm2015/taiga-ui-addon-charts-components-pie-chart.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components-ring-chart.js +41 -47
- package/fesm2015/taiga-ui-addon-charts-components-ring-chart.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-components.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-constants.js +1 -34
- package/fesm2015/taiga-ui-addon-charts-constants.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-types.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts-utils.js +18 -51
- package/fesm2015/taiga-ui-addon-charts-utils.js.map +1 -1
- package/fesm2015/taiga-ui-addon-charts.js +2 -1
- package/fesm2015/taiga-ui-addon-charts.js.map +1 -1
- package/index.d.ts +0 -1
- package/interfaces/index.d.ts +0 -1
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-addon-charts-interfaces.d.ts +1 -0
- package/package.json +11 -14
- package/taiga-ui-addon-charts.d.ts +1 -0
- package/types/index.d.ts +0 -1
- package/types/line-handler.d.ts +2 -2
- package/types/line-type.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/taiga-ui-addon-charts-types.d.ts +1 -0
- package/utils/control-point.d.ts +1 -5
- package/utils/describe-sector.d.ts +1 -3
- package/utils/draw-curve.d.ts +1 -5
- package/utils/draw-line.d.ts +1 -5
- package/utils/draw.d.ts +1 -5
- package/utils/line-angle.d.ts +1 -5
- package/utils/line-length.d.ts +1 -5
- package/utils/package.json +2 -5
- package/utils/taiga-ui-addon-charts-utils.d.ts +1 -0
- package/bundles/taiga-ui-addon-charts-components-arc-chart.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-arc-chart.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-axes.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-axes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-bar-chart.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-bar-chart.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-bar-set.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-bar-set.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-bar.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-bar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-legend-item.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-legend-item.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-line-chart.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-line-chart.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-line-days-chart.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-line-days-chart.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-pie-chart.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-pie-chart.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-ring-chart.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components-ring-chart.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-enums.umd.js +0 -23
- package/bundles/taiga-ui-addon-charts-enums.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-types.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-charts.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-charts.umd.min.js.map +0 -1
- package/components/arc-chart/taiga-ui-addon-charts-components-arc-chart.metadata.json +0 -1
- package/components/axes/taiga-ui-addon-charts-components-axes.metadata.json +0 -1
- package/components/bar/taiga-ui-addon-charts-components-bar.metadata.json +0 -1
- package/components/bar-chart/taiga-ui-addon-charts-components-bar-chart.metadata.json +0 -1
- package/components/bar-set/taiga-ui-addon-charts-components-bar-set.metadata.json +0 -1
- package/components/legend-item/taiga-ui-addon-charts-components-legend-item.metadata.json +0 -1
- package/components/line-chart/taiga-ui-addon-charts-components-line-chart.metadata.json +0 -1
- package/components/line-days-chart/taiga-ui-addon-charts-components-line-days-chart.metadata.json +0 -1
- package/components/pie-chart/taiga-ui-addon-charts-components-pie-chart.metadata.json +0 -1
- package/components/ring-chart/taiga-ui-addon-charts-components-ring-chart.metadata.json +0 -1
- package/components/taiga-ui-addon-charts-components.metadata.json +0 -1
- package/constants/default-color-handler.d.ts +0 -3
- package/constants/default-colors.d.ts +0 -3
- package/constants/taiga-ui-addon-charts-constants.metadata.json +0 -1
- package/enums/index.d.ts +0 -1
- package/enums/line-type.d.ts +0 -11
- package/enums/package.json +0 -13
- package/enums/taiga-ui-addon-charts-enums.d.ts +0 -4
- package/enums/taiga-ui-addon-charts-enums.metadata.json +0 -1
- package/esm2015/constants/default-color-handler.js +0 -4
- package/esm2015/constants/default-colors.js +0 -30
- package/esm2015/enums/index.js +0 -2
- package/esm2015/enums/line-type.js +0 -13
- package/esm2015/enums/taiga-ui-addon-charts-enums.js +0 -5
- package/esm2015/interfaces/ring-chart-context.js +0 -1
- package/esm2015/types/color-handler.js +0 -1
- package/esm5/components/arc-chart/arc-chart.component.js +0 -149
- package/esm5/components/arc-chart/arc-chart.module.js +0 -18
- package/esm5/components/arc-chart/index.js +0 -3
- package/esm5/components/arc-chart/taiga-ui-addon-charts-components-arc-chart.js +0 -5
- package/esm5/components/axes/axes.component.js +0 -131
- package/esm5/components/axes/axes.module.js +0 -19
- package/esm5/components/axes/index.js +0 -3
- package/esm5/components/axes/taiga-ui-addon-charts-components-axes.js +0 -5
- package/esm5/components/bar/bar.component.js +0 -55
- package/esm5/components/bar/bar.module.js +0 -18
- package/esm5/components/bar/index.js +0 -3
- package/esm5/components/bar/taiga-ui-addon-charts-components-bar.js +0 -5
- package/esm5/components/bar-chart/bar-chart.component.js +0 -118
- package/esm5/components/bar-chart/bar-chart.module.js +0 -30
- package/esm5/components/bar-chart/index.js +0 -3
- package/esm5/components/bar-chart/taiga-ui-addon-charts-components-bar-chart.js +0 -5
- package/esm5/components/bar-set/bar-set.component.js +0 -83
- package/esm5/components/bar-set/bar-set.module.js +0 -19
- package/esm5/components/bar-set/index.js +0 -3
- package/esm5/components/bar-set/taiga-ui-addon-charts-components-bar-set.js +0 -5
- package/esm5/components/index.js +0 -11
- package/esm5/components/legend-item/index.js +0 -3
- package/esm5/components/legend-item/legend-item.component.js +0 -59
- package/esm5/components/legend-item/legend-item.module.js +0 -19
- package/esm5/components/legend-item/taiga-ui-addon-charts-components-legend-item.js +0 -5
- package/esm5/components/line-chart/index.js +0 -4
- package/esm5/components/line-chart/line-chart-hint.directive.js +0 -78
- package/esm5/components/line-chart/line-chart.component.js +0 -246
- package/esm5/components/line-chart/line-chart.module.js +0 -29
- package/esm5/components/line-chart/taiga-ui-addon-charts-components-line-chart.js +0 -5
- package/esm5/components/line-days-chart/index.js +0 -4
- package/esm5/components/line-days-chart/line-days-chart-hint.directive.js +0 -83
- package/esm5/components/line-days-chart/line-days-chart.component.js +0 -204
- package/esm5/components/line-days-chart/line-days-chart.module.js +0 -21
- package/esm5/components/line-days-chart/taiga-ui-addon-charts-components-line-days-chart.js +0 -5
- package/esm5/components/pie-chart/index.js +0 -4
- package/esm5/components/pie-chart/pie-chart.component.js +0 -168
- package/esm5/components/pie-chart/pie-chart.directive.js +0 -66
- package/esm5/components/pie-chart/pie-chart.module.js +0 -28
- package/esm5/components/pie-chart/taiga-ui-addon-charts-components-pie-chart.js +0 -5
- package/esm5/components/ring-chart/index.js +0 -3
- package/esm5/components/ring-chart/ring-chart.component.js +0 -67
- package/esm5/components/ring-chart/ring-chart.module.js +0 -20
- package/esm5/components/ring-chart/taiga-ui-addon-charts-components-ring-chart.js +0 -5
- package/esm5/components/taiga-ui-addon-charts-components.js +0 -5
- package/esm5/constants/default-color-handler.js +0 -4
- package/esm5/constants/default-colors.js +0 -30
- package/esm5/constants/index.js +0 -4
- package/esm5/constants/line-handlers.js +0 -5
- package/esm5/constants/taiga-ui-addon-charts-constants.js +0 -5
- package/esm5/enums/index.js +0 -2
- package/esm5/enums/line-type.js +0 -13
- package/esm5/enums/taiga-ui-addon-charts-enums.js +0 -5
- package/esm5/index.js +0 -4
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/line-chart-hint-context.js +0 -1
- package/esm5/interfaces/ring-chart-context.js +0 -1
- package/esm5/interfaces/taiga-ui-addon-charts-interfaces.js +0 -4
- package/esm5/taiga-ui-addon-charts.js +0 -5
- package/esm5/types/color-handler.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/line-handler.js +0 -1
- package/esm5/types/line-type.js +0 -1
- package/esm5/types/taiga-ui-addon-charts-types.js +0 -4
- package/esm5/utils/control-point.js +0 -19
- package/esm5/utils/describe-sector.js +0 -36
- package/esm5/utils/draw-curve.js +0 -13
- package/esm5/utils/draw-line.js +0 -9
- package/esm5/utils/draw.js +0 -14
- package/esm5/utils/index.js +0 -8
- package/esm5/utils/line-angle.js +0 -11
- package/esm5/utils/line-length.js +0 -11
- package/esm5/utils/taiga-ui-addon-charts-utils.js +0 -5
- package/fesm2015/taiga-ui-addon-charts-enums.js +0 -19
- package/fesm2015/taiga-ui-addon-charts-enums.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-arc-chart.js +0 -168
- package/fesm5/taiga-ui-addon-charts-components-arc-chart.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-axes.js +0 -151
- package/fesm5/taiga-ui-addon-charts-components-axes.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-bar-chart.js +0 -149
- package/fesm5/taiga-ui-addon-charts-components-bar-chart.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-bar-set.js +0 -104
- package/fesm5/taiga-ui-addon-charts-components-bar-set.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-bar.js +0 -75
- package/fesm5/taiga-ui-addon-charts-components-bar.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-legend-item.js +0 -79
- package/fesm5/taiga-ui-addon-charts-components-legend-item.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-line-chart.js +0 -343
- package/fesm5/taiga-ui-addon-charts-components-line-chart.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-line-days-chart.js +0 -302
- package/fesm5/taiga-ui-addon-charts-components-line-days-chart.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-pie-chart.js +0 -255
- package/fesm5/taiga-ui-addon-charts-components-pie-chart.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components-ring-chart.js +0 -89
- package/fesm5/taiga-ui-addon-charts-components-ring-chart.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-components.js +0 -15
- package/fesm5/taiga-ui-addon-charts-components.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-constants.js +0 -44
- package/fesm5/taiga-ui-addon-charts-constants.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-enums.js +0 -19
- package/fesm5/taiga-ui-addon-charts-enums.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-interfaces.js +0 -4
- package/fesm5/taiga-ui-addon-charts-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-types.js +0 -4
- package/fesm5/taiga-ui-addon-charts-types.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts-utils.js +0 -115
- package/fesm5/taiga-ui-addon-charts-utils.js.map +0 -1
- package/fesm5/taiga-ui-addon-charts.js +0 -8
- package/fesm5/taiga-ui-addon-charts.js.map +0 -1
- package/interfaces/ring-chart-context.d.ts +0 -4
- package/interfaces/taiga-ui-addon-charts-interfaces.metadata.json +0 -1
- package/taiga-ui-addon-charts.metadata.json +0 -1
- package/types/color-handler.d.ts +0 -3
- package/types/taiga-ui-addon-charts-types.metadata.json +0 -1
- package/utils/taiga-ui-addon-charts-utils.metadata.json +0 -1
|
@@ -1,256 +1,356 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser'), require('@taiga-ui/cdk'), require('rxjs'), require('rxjs/operators')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-charts/components/arc-chart', ['exports', '@angular/core', '@angular/platform-browser', '@taiga-ui/cdk', 'rxjs', 'rxjs/operators'], factory) :
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-charts"] = global["taiga-ui"]["addon-charts"] || {}, global["taiga-ui"]["addon-charts"].components = global["taiga-ui"]["addon-charts"].components || {}, global["taiga-ui"]["addon-charts"].components["arc-chart"] = {}), global.ng.core, global.ng.platformBrowser, global.i1, global.rxjs, global.rxjs.operators));
|
|
5
|
+
})(this, (function (exports, i0, i2, i1, rxjs, operators) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
if (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
var
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
function
|
|
202
|
-
var
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
if (
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
return
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
function
|
|
252
|
-
|
|
253
|
-
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
27
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
+
|
|
29
|
+
/******************************************************************************
|
|
30
|
+
Copyright (c) Microsoft Corporation.
|
|
31
|
+
|
|
32
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
33
|
+
purpose with or without fee is hereby granted.
|
|
34
|
+
|
|
35
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
36
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
37
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
38
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
39
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
40
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
41
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
42
|
+
***************************************************************************** */
|
|
43
|
+
/* global Reflect, Promise */
|
|
44
|
+
var extendStatics = function (d, b) {
|
|
45
|
+
extendStatics = Object.setPrototypeOf ||
|
|
46
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
47
|
+
function (d, b) { for (var p in b)
|
|
48
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
49
|
+
d[p] = b[p]; };
|
|
50
|
+
return extendStatics(d, b);
|
|
51
|
+
};
|
|
52
|
+
function __extends(d, b) {
|
|
53
|
+
if (typeof b !== "function" && b !== null)
|
|
54
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
55
|
+
extendStatics(d, b);
|
|
56
|
+
function __() { this.constructor = d; }
|
|
57
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
58
|
+
}
|
|
59
|
+
var __assign = function () {
|
|
60
|
+
__assign = Object.assign || function __assign(t) {
|
|
61
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
62
|
+
s = arguments[i];
|
|
63
|
+
for (var p in s)
|
|
64
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
65
|
+
t[p] = s[p];
|
|
66
|
+
}
|
|
67
|
+
return t;
|
|
68
|
+
};
|
|
69
|
+
return __assign.apply(this, arguments);
|
|
70
|
+
};
|
|
71
|
+
function __rest(s, e) {
|
|
72
|
+
var t = {};
|
|
73
|
+
for (var p in s)
|
|
74
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
75
|
+
t[p] = s[p];
|
|
76
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
77
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
78
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
79
|
+
t[p[i]] = s[p[i]];
|
|
80
|
+
}
|
|
81
|
+
return t;
|
|
82
|
+
}
|
|
83
|
+
function __decorate(decorators, target, key, desc) {
|
|
84
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
85
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
86
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
87
|
+
else
|
|
88
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
89
|
+
if (d = decorators[i])
|
|
90
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
91
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
92
|
+
}
|
|
93
|
+
function __param(paramIndex, decorator) {
|
|
94
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
95
|
+
}
|
|
96
|
+
function __metadata(metadataKey, metadataValue) {
|
|
97
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
98
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
99
|
+
}
|
|
100
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
101
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
102
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
103
|
+
function fulfilled(value) { try {
|
|
104
|
+
step(generator.next(value));
|
|
105
|
+
}
|
|
106
|
+
catch (e) {
|
|
107
|
+
reject(e);
|
|
108
|
+
} }
|
|
109
|
+
function rejected(value) { try {
|
|
110
|
+
step(generator["throw"](value));
|
|
111
|
+
}
|
|
112
|
+
catch (e) {
|
|
113
|
+
reject(e);
|
|
114
|
+
} }
|
|
115
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
116
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function __generator(thisArg, body) {
|
|
120
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
121
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
122
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
123
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
124
|
+
function step(op) {
|
|
125
|
+
if (f)
|
|
126
|
+
throw new TypeError("Generator is already executing.");
|
|
127
|
+
while (_)
|
|
128
|
+
try {
|
|
129
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
130
|
+
return t;
|
|
131
|
+
if (y = 0, t)
|
|
132
|
+
op = [op[0] & 2, t.value];
|
|
133
|
+
switch (op[0]) {
|
|
134
|
+
case 0:
|
|
135
|
+
case 1:
|
|
136
|
+
t = op;
|
|
137
|
+
break;
|
|
138
|
+
case 4:
|
|
139
|
+
_.label++;
|
|
140
|
+
return { value: op[1], done: false };
|
|
141
|
+
case 5:
|
|
142
|
+
_.label++;
|
|
143
|
+
y = op[1];
|
|
144
|
+
op = [0];
|
|
145
|
+
continue;
|
|
146
|
+
case 7:
|
|
147
|
+
op = _.ops.pop();
|
|
148
|
+
_.trys.pop();
|
|
149
|
+
continue;
|
|
150
|
+
default:
|
|
151
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
152
|
+
_ = 0;
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
156
|
+
_.label = op[1];
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
160
|
+
_.label = t[1];
|
|
161
|
+
t = op;
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
if (t && _.label < t[2]) {
|
|
165
|
+
_.label = t[2];
|
|
166
|
+
_.ops.push(op);
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
if (t[2])
|
|
170
|
+
_.ops.pop();
|
|
171
|
+
_.trys.pop();
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
op = body.call(thisArg, _);
|
|
175
|
+
}
|
|
176
|
+
catch (e) {
|
|
177
|
+
op = [6, e];
|
|
178
|
+
y = 0;
|
|
179
|
+
}
|
|
180
|
+
finally {
|
|
181
|
+
f = t = 0;
|
|
182
|
+
}
|
|
183
|
+
if (op[0] & 5)
|
|
184
|
+
throw op[1];
|
|
185
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
189
|
+
if (k2 === undefined)
|
|
190
|
+
k2 = k;
|
|
191
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
192
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
193
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
194
|
+
}
|
|
195
|
+
Object.defineProperty(o, k2, desc);
|
|
196
|
+
}) : (function (o, m, k, k2) {
|
|
197
|
+
if (k2 === undefined)
|
|
198
|
+
k2 = k;
|
|
199
|
+
o[k2] = m[k];
|
|
200
|
+
});
|
|
201
|
+
function __exportStar(m, o) {
|
|
202
|
+
for (var p in m)
|
|
203
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
204
|
+
__createBinding(o, m, p);
|
|
205
|
+
}
|
|
206
|
+
function __values(o) {
|
|
207
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
208
|
+
if (m)
|
|
209
|
+
return m.call(o);
|
|
210
|
+
if (o && typeof o.length === "number")
|
|
211
|
+
return {
|
|
212
|
+
next: function () {
|
|
213
|
+
if (o && i >= o.length)
|
|
214
|
+
o = void 0;
|
|
215
|
+
return { value: o && o[i++], done: !o };
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
219
|
+
}
|
|
220
|
+
function __read(o, n) {
|
|
221
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
222
|
+
if (!m)
|
|
223
|
+
return o;
|
|
224
|
+
var i = m.call(o), r, ar = [], e;
|
|
225
|
+
try {
|
|
226
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
227
|
+
ar.push(r.value);
|
|
228
|
+
}
|
|
229
|
+
catch (error) {
|
|
230
|
+
e = { error: error };
|
|
231
|
+
}
|
|
232
|
+
finally {
|
|
233
|
+
try {
|
|
234
|
+
if (r && !r.done && (m = i["return"]))
|
|
235
|
+
m.call(i);
|
|
236
|
+
}
|
|
237
|
+
finally {
|
|
238
|
+
if (e)
|
|
239
|
+
throw e.error;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return ar;
|
|
243
|
+
}
|
|
244
|
+
/** @deprecated */
|
|
245
|
+
function __spread() {
|
|
246
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
247
|
+
ar = ar.concat(__read(arguments[i]));
|
|
248
|
+
return ar;
|
|
249
|
+
}
|
|
250
|
+
/** @deprecated */
|
|
251
|
+
function __spreadArrays() {
|
|
252
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
253
|
+
s += arguments[i].length;
|
|
254
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
255
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
256
|
+
r[k] = a[j];
|
|
257
|
+
return r;
|
|
258
|
+
}
|
|
259
|
+
function __spreadArray(to, from, pack) {
|
|
260
|
+
if (pack || arguments.length === 2)
|
|
261
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
262
|
+
if (ar || !(i in from)) {
|
|
263
|
+
if (!ar)
|
|
264
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
265
|
+
ar[i] = from[i];
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
269
|
+
}
|
|
270
|
+
function __await(v) {
|
|
271
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
272
|
+
}
|
|
273
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
274
|
+
if (!Symbol.asyncIterator)
|
|
275
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
276
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
277
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
278
|
+
function verb(n) { if (g[n])
|
|
279
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
280
|
+
function resume(n, v) { try {
|
|
281
|
+
step(g[n](v));
|
|
282
|
+
}
|
|
283
|
+
catch (e) {
|
|
284
|
+
settle(q[0][3], e);
|
|
285
|
+
} }
|
|
286
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
287
|
+
function fulfill(value) { resume("next", value); }
|
|
288
|
+
function reject(value) { resume("throw", value); }
|
|
289
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
290
|
+
resume(q[0][0], q[0][1]); }
|
|
291
|
+
}
|
|
292
|
+
function __asyncDelegator(o) {
|
|
293
|
+
var i, p;
|
|
294
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
295
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
296
|
+
}
|
|
297
|
+
function __asyncValues(o) {
|
|
298
|
+
if (!Symbol.asyncIterator)
|
|
299
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
300
|
+
var m = o[Symbol.asyncIterator], i;
|
|
301
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
302
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
303
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
304
|
+
}
|
|
305
|
+
function __makeTemplateObject(cooked, raw) {
|
|
306
|
+
if (Object.defineProperty) {
|
|
307
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
cooked.raw = raw;
|
|
311
|
+
}
|
|
312
|
+
return cooked;
|
|
313
|
+
}
|
|
314
|
+
;
|
|
315
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
316
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
317
|
+
}) : function (o, v) {
|
|
318
|
+
o["default"] = v;
|
|
319
|
+
};
|
|
320
|
+
function __importStar(mod) {
|
|
321
|
+
if (mod && mod.__esModule)
|
|
322
|
+
return mod;
|
|
323
|
+
var result = {};
|
|
324
|
+
if (mod != null)
|
|
325
|
+
for (var k in mod)
|
|
326
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
327
|
+
__createBinding(result, mod, k);
|
|
328
|
+
__setModuleDefault(result, mod);
|
|
329
|
+
return result;
|
|
330
|
+
}
|
|
331
|
+
function __importDefault(mod) {
|
|
332
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
333
|
+
}
|
|
334
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
335
|
+
if (kind === "a" && !f)
|
|
336
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
337
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
338
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
339
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
340
|
+
}
|
|
341
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
342
|
+
if (kind === "m")
|
|
343
|
+
throw new TypeError("Private method is not writable");
|
|
344
|
+
if (kind === "a" && !f)
|
|
345
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
346
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
347
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
348
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
349
|
+
}
|
|
350
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
351
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
352
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
353
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
254
354
|
}
|
|
255
355
|
|
|
256
356
|
// 3/4 with 1% safety offset
|
|
@@ -281,9 +381,7 @@
|
|
|
281
381
|
this.minLabel = "0%";
|
|
282
382
|
this.maxLabel = "100%";
|
|
283
383
|
this.activeItemIndex = NaN;
|
|
284
|
-
this.activeItemIndexChange = this.arcs$.pipe(operators.switchMap(function (arcs) {
|
|
285
|
-
return arcs.changes.pipe(operators.startWith(null), operators.switchMap(function () { return rxjs.merge.apply(void 0, __spread(arcsToIndex(arcs))); }));
|
|
286
|
-
}), operators.tap(function (index) {
|
|
384
|
+
this.activeItemIndexChange = this.arcs$.pipe(operators.switchMap(function (arcs) { return arcs.changes.pipe(operators.startWith(null), operators.switchMap(function () { return rxjs.merge.apply(void 0, __spreadArray([], __read(arcsToIndex(arcs)))); })); }), operators.tap(function (index) {
|
|
287
385
|
_this.activeItemIndex = index;
|
|
288
386
|
}));
|
|
289
387
|
this.initialized = false;
|
|
@@ -297,21 +395,21 @@
|
|
|
297
395
|
set: function (arcs) {
|
|
298
396
|
this.arcs$.next(arcs);
|
|
299
397
|
},
|
|
300
|
-
enumerable:
|
|
398
|
+
enumerable: false,
|
|
301
399
|
configurable: true
|
|
302
400
|
});
|
|
303
401
|
Object.defineProperty(TuiArcChartComponent.prototype, "width", {
|
|
304
402
|
get: function () {
|
|
305
403
|
return SIZE[this.size];
|
|
306
404
|
},
|
|
307
|
-
enumerable:
|
|
405
|
+
enumerable: false,
|
|
308
406
|
configurable: true
|
|
309
407
|
});
|
|
310
408
|
Object.defineProperty(TuiArcChartComponent.prototype, "strokeWidth", {
|
|
311
409
|
get: function () {
|
|
312
410
|
return WIDTH[this.size];
|
|
313
411
|
},
|
|
314
|
-
enumerable:
|
|
412
|
+
enumerable: false,
|
|
315
413
|
configurable: true
|
|
316
414
|
});
|
|
317
415
|
TuiArcChartComponent.prototype.isInactive = function (index) {
|
|
@@ -332,86 +430,106 @@
|
|
|
332
430
|
TuiArcChartComponent.prototype.getColor = function (index) {
|
|
333
431
|
return this.sanitizer.bypassSecurityTrustStyle("var(--tui-chart-" + index + ", var(--tui-support-0" + (index + 1) + "))");
|
|
334
432
|
};
|
|
335
|
-
TuiArcChartComponent.ctorParameters = function () { return [
|
|
336
|
-
{ type: platformBrowser.DomSanitizer, decorators: [{ type: core.Inject, args: [platformBrowser.DomSanitizer,] }] },
|
|
337
|
-
{ type: core.ChangeDetectorRef, decorators: [{ type: core.Inject, args: [core.ChangeDetectorRef,] }] }
|
|
338
|
-
]; };
|
|
339
|
-
__decorate([
|
|
340
|
-
core.ViewChildren("arc")
|
|
341
|
-
], TuiArcChartComponent.prototype, "arcs", null);
|
|
342
|
-
__decorate([
|
|
343
|
-
core.Input(),
|
|
344
|
-
cdk.tuiDefaultProp()
|
|
345
|
-
], TuiArcChartComponent.prototype, "value", void 0);
|
|
346
|
-
__decorate([
|
|
347
|
-
core.Input(),
|
|
348
|
-
core.HostBinding("attr.data-size"),
|
|
349
|
-
cdk.tuiDefaultProp()
|
|
350
|
-
], TuiArcChartComponent.prototype, "size", void 0);
|
|
351
|
-
__decorate([
|
|
352
|
-
core.Input(),
|
|
353
|
-
cdk.tuiDefaultProp()
|
|
354
|
-
], TuiArcChartComponent.prototype, "max", void 0);
|
|
355
|
-
__decorate([
|
|
356
|
-
core.Input(),
|
|
357
|
-
cdk.tuiDefaultProp()
|
|
358
|
-
], TuiArcChartComponent.prototype, "minLabel", void 0);
|
|
359
|
-
__decorate([
|
|
360
|
-
core.Input(),
|
|
361
|
-
cdk.tuiDefaultProp()
|
|
362
|
-
], TuiArcChartComponent.prototype, "maxLabel", void 0);
|
|
363
|
-
__decorate([
|
|
364
|
-
core.Input(),
|
|
365
|
-
cdk.tuiDefaultProp()
|
|
366
|
-
], TuiArcChartComponent.prototype, "activeItemIndex", void 0);
|
|
367
|
-
__decorate([
|
|
368
|
-
core.Output()
|
|
369
|
-
], TuiArcChartComponent.prototype, "activeItemIndexChange", void 0);
|
|
370
|
-
__decorate([
|
|
371
|
-
core.HostBinding("style.width.rem"),
|
|
372
|
-
core.HostBinding("style.height.rem")
|
|
373
|
-
], TuiArcChartComponent.prototype, "width", null);
|
|
374
|
-
__decorate([
|
|
375
|
-
core.HostBinding("style.strokeWidth.rem")
|
|
376
|
-
], TuiArcChartComponent.prototype, "strokeWidth", null);
|
|
377
|
-
TuiArcChartComponent = __decorate([
|
|
378
|
-
core.Component({
|
|
379
|
-
selector: "tui-arc-chart",
|
|
380
|
-
template: "<svg\n *tuiRepeatTimes=\"let index of value.length\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"-100 -100 200 200\"\n focusable=\"false\"\n class=\"t-svg\"\n [style.top.em]=\"getInset(index)\"\n [style.left.em]=\"getInset(index)\"\n [style.width.em]=\"getDiameter(index)\"\n [style.height.em]=\"getDiameter(index)\"\n>\n <path\n vector-effect=\"non-scaling-stroke\"\n d=\"M -70 70 A 100 100 0 1 1 70 70\"\n />\n <path\n #arc\n vector-effect=\"non-scaling-stroke\"\n d=\"M -70 70 A 100 100 0 1 1 70 70\"\n class=\"t-value\"\n [class.t-value_inactive]=\"isInactive(index)\"\n [style.stroke]=\"getColor(index)\"\n [style.strokeDasharray.em]=\"getLength(index)\"\n [style.strokeDashoffset.em]=\"initialized ? getOffset(index) : getLength(index)\"\n />\n</svg>\n<div class=\"t-content\">\n <div class=\"t-wrapper\"><ng-content></ng-content></div>\n</div>\n<div class=\"t-percent\">\n <span>{{ minLabel }}</span>\n <span>{{ maxLabel }}</span>\n</div>\n",
|
|
381
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
382
|
-
styles: [":host{position:relative;display:block;flex-shrink:0}.t-svg{position:absolute;top:0;left:0;bottom:0;right:0;overflow:visible;fill:none;stroke:currentColor;stroke-linecap:round;color:var(--tui-secondary);font-size:1rem;pointer-events:none}.t-value{pointer-events:auto;transition:stroke-dashoffset var(--tui-duration) ease-in-out,opacity var(--tui-duration) ease-in-out .1s}.t-value_inactive{transition-property:stroke-dashoffset,opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;opacity:.16}.t-content{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center;color:var(--tui-text-02);font:var(--tui-font-text-xs);pointer-events:none}:host[data-size=xl] .t-content{font:var(--tui-font-text-m)}.t-wrapper{pointer-events:auto}.t-wrapper:first-line{color:var(--tui-text-01)}:host[data-size='m'] .t-wrapper:first-line{font:var(--tui-font-text-s);font-weight:700}:host[data-size='l'] .t-wrapper:first-line{font:var(--tui-font-text-m);font-weight:700}:host[data-size=xl] .t-wrapper:first-line{font:var(--tui-font-heading-5)}.t-percent{position:absolute;left:25%;bottom:11%;display:flex;width:50%;justify-content:space-between;font:var(--tui-font-text-xs);color:var(--tui-text-02)}:host[data-size=xl] .t-percent{font:var(--tui-font-text-m)}"]
|
|
383
|
-
}),
|
|
384
|
-
__param(0, core.Inject(platformBrowser.DomSanitizer)),
|
|
385
|
-
__param(1, core.Inject(core.ChangeDetectorRef))
|
|
386
|
-
], TuiArcChartComponent);
|
|
387
433
|
return TuiArcChartComponent;
|
|
388
434
|
}());
|
|
435
|
+
TuiArcChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiArcChartComponent, deps: [{ token: i2.DomSanitizer }, { token: i0.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
436
|
+
TuiArcChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiArcChartComponent, selector: "tui-arc-chart", inputs: { value: "value", size: "size", max: "max", minLabel: "minLabel", maxLabel: "maxLabel", activeItemIndex: "activeItemIndex" }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, host: { properties: { "attr.data-size": "this.size", "style.width.rem": "this.width", "style.height.rem": "this.width", "style.strokeWidth.rem": "this.strokeWidth" } }, viewQueries: [{ propertyName: "arcs", predicate: ["arc"], descendants: true }], ngImport: i0__namespace, template: "<svg\n *tuiRepeatTimes=\"let index of value.length\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"-100 -100 200 200\"\n focusable=\"false\"\n class=\"t-svg\"\n [style.top.em]=\"getInset(index)\"\n [style.left.em]=\"getInset(index)\"\n [style.width.em]=\"getDiameter(index)\"\n [style.height.em]=\"getDiameter(index)\"\n>\n <path\n vector-effect=\"non-scaling-stroke\"\n d=\"M -70 70 A 100 100 0 1 1 70 70\"\n />\n <path\n #arc\n vector-effect=\"non-scaling-stroke\"\n d=\"M -70 70 A 100 100 0 1 1 70 70\"\n class=\"t-value\"\n [class.t-value_inactive]=\"isInactive(index)\"\n [style.stroke]=\"getColor(index)\"\n [style.strokeDasharray.em]=\"getLength(index)\"\n [style.strokeDashoffset.em]=\"initialized ? getOffset(index) : getLength(index)\"\n />\n</svg>\n<div class=\"t-content\">\n <div class=\"t-wrapper\"><ng-content></ng-content></div>\n</div>\n<div class=\"t-percent\">\n <span>{{ minLabel }}</span>\n <span>{{ maxLabel }}</span>\n</div>\n", styles: [":host{position:relative;display:block;flex-shrink:0}.t-svg{position:absolute;top:0;left:0;bottom:0;right:0;overflow:visible;fill:none;stroke:currentColor;stroke-linecap:round;color:var(--tui-secondary);font-size:1rem;pointer-events:none}.t-value{pointer-events:auto;transition:stroke-dashoffset var(--tui-duration) ease-in-out,opacity var(--tui-duration) ease-in-out .1s}.t-value_inactive{transition-property:stroke-dashoffset,opacity;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;opacity:.16}.t-content{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center;color:var(--tui-text-02);font:var(--tui-font-text-xs);pointer-events:none}:host[data-size=xl] .t-content{font:var(--tui-font-text-m)}.t-wrapper{pointer-events:auto}.t-wrapper:first-line{color:var(--tui-text-01)}:host[data-size=m] .t-wrapper:first-line{font:var(--tui-font-text-s);font-weight:bold}:host[data-size=l] .t-wrapper:first-line{font:var(--tui-font-text-m);font-weight:bold}:host[data-size=xl] .t-wrapper:first-line{font:var(--tui-font-heading-5)}.t-percent{position:absolute;left:25%;bottom:11%;display:flex;width:50%;justify-content:space-between;font:var(--tui-font-text-xs);color:var(--tui-text-02)}:host[data-size=xl] .t-percent{font:var(--tui-font-text-m)}\n"], directives: [{ type: i1__namespace.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
437
|
+
__decorate([
|
|
438
|
+
i1.tuiDefaultProp()
|
|
439
|
+
], TuiArcChartComponent.prototype, "value", void 0);
|
|
440
|
+
__decorate([
|
|
441
|
+
i1.tuiDefaultProp()
|
|
442
|
+
], TuiArcChartComponent.prototype, "size", void 0);
|
|
443
|
+
__decorate([
|
|
444
|
+
i1.tuiDefaultProp()
|
|
445
|
+
], TuiArcChartComponent.prototype, "max", void 0);
|
|
446
|
+
__decorate([
|
|
447
|
+
i1.tuiDefaultProp()
|
|
448
|
+
], TuiArcChartComponent.prototype, "minLabel", void 0);
|
|
449
|
+
__decorate([
|
|
450
|
+
i1.tuiDefaultProp()
|
|
451
|
+
], TuiArcChartComponent.prototype, "maxLabel", void 0);
|
|
452
|
+
__decorate([
|
|
453
|
+
i1.tuiDefaultProp()
|
|
454
|
+
], TuiArcChartComponent.prototype, "activeItemIndex", void 0);
|
|
455
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiArcChartComponent, decorators: [{
|
|
456
|
+
type: i0.Component,
|
|
457
|
+
args: [{
|
|
458
|
+
selector: "tui-arc-chart",
|
|
459
|
+
templateUrl: "./arc-chart.template.html",
|
|
460
|
+
styleUrls: ["./arc-chart.style.less"],
|
|
461
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
462
|
+
}]
|
|
463
|
+
}], ctorParameters: function () {
|
|
464
|
+
return [{ type: i2__namespace.DomSanitizer, decorators: [{
|
|
465
|
+
type: i0.Inject,
|
|
466
|
+
args: [i2.DomSanitizer]
|
|
467
|
+
}] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
|
|
468
|
+
type: i0.Inject,
|
|
469
|
+
args: [i0.ChangeDetectorRef]
|
|
470
|
+
}] }];
|
|
471
|
+
}, propDecorators: { arcs: [{
|
|
472
|
+
type: i0.ViewChildren,
|
|
473
|
+
args: ["arc"]
|
|
474
|
+
}], value: [{
|
|
475
|
+
type: i0.Input
|
|
476
|
+
}], size: [{
|
|
477
|
+
type: i0.Input
|
|
478
|
+
}, {
|
|
479
|
+
type: i0.HostBinding,
|
|
480
|
+
args: ["attr.data-size"]
|
|
481
|
+
}], max: [{
|
|
482
|
+
type: i0.Input
|
|
483
|
+
}], minLabel: [{
|
|
484
|
+
type: i0.Input
|
|
485
|
+
}], maxLabel: [{
|
|
486
|
+
type: i0.Input
|
|
487
|
+
}], activeItemIndex: [{
|
|
488
|
+
type: i0.Input
|
|
489
|
+
}], activeItemIndexChange: [{
|
|
490
|
+
type: i0.Output
|
|
491
|
+
}], width: [{
|
|
492
|
+
type: i0.HostBinding,
|
|
493
|
+
args: ["style.width.rem"]
|
|
494
|
+
}, {
|
|
495
|
+
type: i0.HostBinding,
|
|
496
|
+
args: ["style.height.rem"]
|
|
497
|
+
}], strokeWidth: [{
|
|
498
|
+
type: i0.HostBinding,
|
|
499
|
+
args: ["style.strokeWidth.rem"]
|
|
500
|
+
}] } });
|
|
389
501
|
function arcsToIndex(arcs) {
|
|
390
|
-
return arcs
|
|
391
|
-
.toArray()
|
|
392
|
-
.map(function (_a, index) {
|
|
502
|
+
return arcs.map(function (_a, index) {
|
|
393
503
|
var nativeElement = _a.nativeElement;
|
|
394
|
-
return rxjs.merge(
|
|
504
|
+
return rxjs.merge(i1.tuiTypedFromEvent(nativeElement, "mouseenter").pipe(operators.mapTo(index)), i1.tuiTypedFromEvent(nativeElement, "mouseleave").pipe(operators.mapTo(NaN)));
|
|
395
505
|
});
|
|
396
506
|
}
|
|
397
507
|
|
|
398
508
|
var TuiArcChartModule = /** @class */ (function () {
|
|
399
509
|
function TuiArcChartModule() {
|
|
400
510
|
}
|
|
401
|
-
TuiArcChartModule = __decorate([
|
|
402
|
-
core.NgModule({
|
|
403
|
-
imports: [cdk.TuiRepeatTimesModule],
|
|
404
|
-
declarations: [TuiArcChartComponent],
|
|
405
|
-
exports: [TuiArcChartComponent],
|
|
406
|
-
})
|
|
407
|
-
], TuiArcChartModule);
|
|
408
511
|
return TuiArcChartModule;
|
|
409
512
|
}());
|
|
513
|
+
TuiArcChartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiArcChartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
514
|
+
TuiArcChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiArcChartModule, declarations: [TuiArcChartComponent], imports: [i1.TuiRepeatTimesModule], exports: [TuiArcChartComponent] });
|
|
515
|
+
TuiArcChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiArcChartModule, imports: [[i1.TuiRepeatTimesModule]] });
|
|
516
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiArcChartModule, decorators: [{
|
|
517
|
+
type: i0.NgModule,
|
|
518
|
+
args: [{
|
|
519
|
+
imports: [i1.TuiRepeatTimesModule],
|
|
520
|
+
declarations: [TuiArcChartComponent],
|
|
521
|
+
exports: [TuiArcChartComponent],
|
|
522
|
+
}]
|
|
523
|
+
}] });
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Generated bundle index. Do not edit.
|
|
527
|
+
*/
|
|
410
528
|
|
|
411
529
|
exports.TuiArcChartComponent = TuiArcChartComponent;
|
|
412
530
|
exports.TuiArcChartModule = TuiArcChartModule;
|
|
413
531
|
|
|
414
532
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
415
533
|
|
|
416
|
-
}))
|
|
534
|
+
}));
|
|
417
535
|
//# sourceMappingURL=taiga-ui-addon-charts-components-arc-chart.umd.js.map
|