@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,272 +1,381 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@taiga-ui/addon-charts/utils'), require('@taiga-ui/cdk'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-charts/components/line-chart', ['exports', '@angular/common', '@angular/core', '@taiga-ui/addon-charts/utils', '@taiga-ui/cdk', '
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@taiga-ui/addon-charts/utils'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('rxjs'), require('rxjs/operators'), require('@tinkoff/ng-polymorpheus')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-charts/components/line-chart', ['exports', '@angular/common', '@angular/core', '@taiga-ui/addon-charts/utils', '@taiga-ui/cdk', '@taiga-ui/core', 'rxjs', 'rxjs/operators', '@tinkoff/ng-polymorpheus'], factory) :
|
|
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["line-chart"] = {}), global.ng.common, global.ng.core, global["taiga-ui"]["addon-charts"].utils, global.i1, global.i3, global.rxjs, global.rxjs.operators, global.ngPolymorpheus));
|
|
5
|
+
})(this, (function (exports, i2$1, i0, utils, i1, i3, i2, operators, ngPolymorpheus) { '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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
var m = o[
|
|
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
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
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 i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
26
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
27
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
29
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
30
|
+
|
|
31
|
+
/******************************************************************************
|
|
32
|
+
Copyright (c) Microsoft Corporation.
|
|
33
|
+
|
|
34
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
35
|
+
purpose with or without fee is hereby granted.
|
|
36
|
+
|
|
37
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
38
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
39
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
40
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
41
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
42
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
43
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
44
|
+
***************************************************************************** */
|
|
45
|
+
/* global Reflect, Promise */
|
|
46
|
+
var extendStatics = function (d, b) {
|
|
47
|
+
extendStatics = Object.setPrototypeOf ||
|
|
48
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
49
|
+
function (d, b) { for (var p in b)
|
|
50
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
51
|
+
d[p] = b[p]; };
|
|
52
|
+
return extendStatics(d, b);
|
|
53
|
+
};
|
|
54
|
+
function __extends(d, b) {
|
|
55
|
+
if (typeof b !== "function" && b !== null)
|
|
56
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
57
|
+
extendStatics(d, b);
|
|
58
|
+
function __() { this.constructor = d; }
|
|
59
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
60
|
+
}
|
|
61
|
+
var __assign = function () {
|
|
62
|
+
__assign = Object.assign || function __assign(t) {
|
|
63
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
64
|
+
s = arguments[i];
|
|
65
|
+
for (var p in s)
|
|
66
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
67
|
+
t[p] = s[p];
|
|
68
|
+
}
|
|
69
|
+
return t;
|
|
70
|
+
};
|
|
71
|
+
return __assign.apply(this, arguments);
|
|
72
|
+
};
|
|
73
|
+
function __rest(s, e) {
|
|
74
|
+
var t = {};
|
|
75
|
+
for (var p in s)
|
|
76
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
77
|
+
t[p] = s[p];
|
|
78
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
79
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
80
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
81
|
+
t[p[i]] = s[p[i]];
|
|
82
|
+
}
|
|
83
|
+
return t;
|
|
84
|
+
}
|
|
85
|
+
function __decorate(decorators, target, key, desc) {
|
|
86
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
87
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
88
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
89
|
+
else
|
|
90
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
91
|
+
if (d = decorators[i])
|
|
92
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
93
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
94
|
+
}
|
|
95
|
+
function __param(paramIndex, decorator) {
|
|
96
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
97
|
+
}
|
|
98
|
+
function __metadata(metadataKey, metadataValue) {
|
|
99
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
100
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
101
|
+
}
|
|
102
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
103
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
104
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
105
|
+
function fulfilled(value) { try {
|
|
106
|
+
step(generator.next(value));
|
|
107
|
+
}
|
|
108
|
+
catch (e) {
|
|
109
|
+
reject(e);
|
|
110
|
+
} }
|
|
111
|
+
function rejected(value) { try {
|
|
112
|
+
step(generator["throw"](value));
|
|
113
|
+
}
|
|
114
|
+
catch (e) {
|
|
115
|
+
reject(e);
|
|
116
|
+
} }
|
|
117
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
118
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
function __generator(thisArg, body) {
|
|
122
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
123
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
124
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
125
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
126
|
+
function step(op) {
|
|
127
|
+
if (f)
|
|
128
|
+
throw new TypeError("Generator is already executing.");
|
|
129
|
+
while (_)
|
|
130
|
+
try {
|
|
131
|
+
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)
|
|
132
|
+
return t;
|
|
133
|
+
if (y = 0, t)
|
|
134
|
+
op = [op[0] & 2, t.value];
|
|
135
|
+
switch (op[0]) {
|
|
136
|
+
case 0:
|
|
137
|
+
case 1:
|
|
138
|
+
t = op;
|
|
139
|
+
break;
|
|
140
|
+
case 4:
|
|
141
|
+
_.label++;
|
|
142
|
+
return { value: op[1], done: false };
|
|
143
|
+
case 5:
|
|
144
|
+
_.label++;
|
|
145
|
+
y = op[1];
|
|
146
|
+
op = [0];
|
|
147
|
+
continue;
|
|
148
|
+
case 7:
|
|
149
|
+
op = _.ops.pop();
|
|
150
|
+
_.trys.pop();
|
|
151
|
+
continue;
|
|
152
|
+
default:
|
|
153
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
154
|
+
_ = 0;
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
158
|
+
_.label = op[1];
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
162
|
+
_.label = t[1];
|
|
163
|
+
t = op;
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
if (t && _.label < t[2]) {
|
|
167
|
+
_.label = t[2];
|
|
168
|
+
_.ops.push(op);
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
if (t[2])
|
|
172
|
+
_.ops.pop();
|
|
173
|
+
_.trys.pop();
|
|
174
|
+
continue;
|
|
175
|
+
}
|
|
176
|
+
op = body.call(thisArg, _);
|
|
177
|
+
}
|
|
178
|
+
catch (e) {
|
|
179
|
+
op = [6, e];
|
|
180
|
+
y = 0;
|
|
181
|
+
}
|
|
182
|
+
finally {
|
|
183
|
+
f = t = 0;
|
|
184
|
+
}
|
|
185
|
+
if (op[0] & 5)
|
|
186
|
+
throw op[1];
|
|
187
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
191
|
+
if (k2 === undefined)
|
|
192
|
+
k2 = k;
|
|
193
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
194
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
195
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
196
|
+
}
|
|
197
|
+
Object.defineProperty(o, k2, desc);
|
|
198
|
+
}) : (function (o, m, k, k2) {
|
|
199
|
+
if (k2 === undefined)
|
|
200
|
+
k2 = k;
|
|
201
|
+
o[k2] = m[k];
|
|
202
|
+
});
|
|
203
|
+
function __exportStar(m, o) {
|
|
204
|
+
for (var p in m)
|
|
205
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
206
|
+
__createBinding(o, m, p);
|
|
207
|
+
}
|
|
208
|
+
function __values(o) {
|
|
209
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
210
|
+
if (m)
|
|
211
|
+
return m.call(o);
|
|
212
|
+
if (o && typeof o.length === "number")
|
|
213
|
+
return {
|
|
214
|
+
next: function () {
|
|
215
|
+
if (o && i >= o.length)
|
|
216
|
+
o = void 0;
|
|
217
|
+
return { value: o && o[i++], done: !o };
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
221
|
+
}
|
|
222
|
+
function __read(o, n) {
|
|
223
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
224
|
+
if (!m)
|
|
225
|
+
return o;
|
|
226
|
+
var i = m.call(o), r, ar = [], e;
|
|
227
|
+
try {
|
|
228
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
229
|
+
ar.push(r.value);
|
|
230
|
+
}
|
|
231
|
+
catch (error) {
|
|
232
|
+
e = { error: error };
|
|
233
|
+
}
|
|
234
|
+
finally {
|
|
235
|
+
try {
|
|
236
|
+
if (r && !r.done && (m = i["return"]))
|
|
237
|
+
m.call(i);
|
|
238
|
+
}
|
|
239
|
+
finally {
|
|
240
|
+
if (e)
|
|
241
|
+
throw e.error;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return ar;
|
|
245
|
+
}
|
|
246
|
+
/** @deprecated */
|
|
247
|
+
function __spread() {
|
|
248
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
249
|
+
ar = ar.concat(__read(arguments[i]));
|
|
250
|
+
return ar;
|
|
251
|
+
}
|
|
252
|
+
/** @deprecated */
|
|
253
|
+
function __spreadArrays() {
|
|
254
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
255
|
+
s += arguments[i].length;
|
|
256
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
257
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
258
|
+
r[k] = a[j];
|
|
259
|
+
return r;
|
|
260
|
+
}
|
|
261
|
+
function __spreadArray(to, from, pack) {
|
|
262
|
+
if (pack || arguments.length === 2)
|
|
263
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
264
|
+
if (ar || !(i in from)) {
|
|
265
|
+
if (!ar)
|
|
266
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
267
|
+
ar[i] = from[i];
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
271
|
+
}
|
|
272
|
+
function __await(v) {
|
|
273
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
274
|
+
}
|
|
275
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
276
|
+
if (!Symbol.asyncIterator)
|
|
277
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
278
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
279
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
280
|
+
function verb(n) { if (g[n])
|
|
281
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
282
|
+
function resume(n, v) { try {
|
|
283
|
+
step(g[n](v));
|
|
284
|
+
}
|
|
285
|
+
catch (e) {
|
|
286
|
+
settle(q[0][3], e);
|
|
287
|
+
} }
|
|
288
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
289
|
+
function fulfill(value) { resume("next", value); }
|
|
290
|
+
function reject(value) { resume("throw", value); }
|
|
291
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
292
|
+
resume(q[0][0], q[0][1]); }
|
|
293
|
+
}
|
|
294
|
+
function __asyncDelegator(o) {
|
|
295
|
+
var i, p;
|
|
296
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
297
|
+
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; }
|
|
298
|
+
}
|
|
299
|
+
function __asyncValues(o) {
|
|
300
|
+
if (!Symbol.asyncIterator)
|
|
301
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
302
|
+
var m = o[Symbol.asyncIterator], i;
|
|
303
|
+
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);
|
|
304
|
+
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); }); }; }
|
|
305
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
306
|
+
}
|
|
307
|
+
function __makeTemplateObject(cooked, raw) {
|
|
308
|
+
if (Object.defineProperty) {
|
|
309
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
cooked.raw = raw;
|
|
313
|
+
}
|
|
314
|
+
return cooked;
|
|
315
|
+
}
|
|
316
|
+
;
|
|
317
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
318
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
319
|
+
}) : function (o, v) {
|
|
320
|
+
o["default"] = v;
|
|
321
|
+
};
|
|
322
|
+
function __importStar(mod) {
|
|
323
|
+
if (mod && mod.__esModule)
|
|
324
|
+
return mod;
|
|
325
|
+
var result = {};
|
|
326
|
+
if (mod != null)
|
|
327
|
+
for (var k in mod)
|
|
328
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
329
|
+
__createBinding(result, mod, k);
|
|
330
|
+
__setModuleDefault(result, mod);
|
|
331
|
+
return result;
|
|
332
|
+
}
|
|
333
|
+
function __importDefault(mod) {
|
|
334
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
335
|
+
}
|
|
336
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
337
|
+
if (kind === "a" && !f)
|
|
338
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
339
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
340
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
341
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
342
|
+
}
|
|
343
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
344
|
+
if (kind === "m")
|
|
345
|
+
throw new TypeError("Private method is not writable");
|
|
346
|
+
if (kind === "a" && !f)
|
|
347
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
348
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
349
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
350
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
351
|
+
}
|
|
352
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
353
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
354
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
355
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
254
356
|
}
|
|
255
357
|
|
|
256
358
|
var TuiLineChartHintDirective = /** @class */ (function () {
|
|
257
|
-
function TuiLineChartHintDirective(renderer, destroy$,
|
|
258
|
-
var _this = this;
|
|
259
|
-
var nativeElement = _a.nativeElement;
|
|
359
|
+
function TuiLineChartHintDirective(renderer, destroy$, ngZone, hovered$) {
|
|
260
360
|
this.renderer = renderer;
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
361
|
+
this.destroy$ = destroy$;
|
|
362
|
+
this.ngZone = ngZone;
|
|
363
|
+
this.hovered$ = hovered$;
|
|
364
|
+
this.charts = i1.EMPTY_QUERY;
|
|
365
|
+
this.chartsRef = i1.EMPTY_QUERY;
|
|
263
366
|
this.hint = "";
|
|
264
|
-
|
|
265
|
-
|
|
367
|
+
}
|
|
368
|
+
TuiLineChartHintDirective.prototype.ngAfterContentInit = function () {
|
|
369
|
+
var _this = this;
|
|
370
|
+
i2.combineLatest([tuiLineChartDrivers(this.charts), this.hovered$])
|
|
371
|
+
.pipe(operators.map(function (_a) {
|
|
372
|
+
var _b = __read(_a, 2), drivers = _b[0], hovered = _b[1];
|
|
373
|
+
return !drivers && !hovered;
|
|
374
|
+
}), operators.filter(Boolean), i1.tuiZonefree(this.ngZone), operators.takeUntil(this.destroy$))
|
|
266
375
|
.subscribe(function () {
|
|
267
376
|
_this.charts.forEach(function (chart) { return chart.onHovered(NaN); });
|
|
268
377
|
});
|
|
269
|
-
}
|
|
378
|
+
};
|
|
270
379
|
// _chart is required by TuiLineDaysChartComponent that impersonates this directive
|
|
271
380
|
TuiLineChartHintDirective.prototype.getContext = function (index, _chart) {
|
|
272
381
|
return this.computeContext(index, this.charts);
|
|
@@ -275,7 +384,7 @@
|
|
|
275
384
|
TuiLineChartHintDirective.prototype.raise = function (index, _chart) {
|
|
276
385
|
var _this = this;
|
|
277
386
|
var current = this.charts.map(function (chart) { return chart.value[index]; });
|
|
278
|
-
var sorted =
|
|
387
|
+
var sorted = __spreadArray([], __read(current)).sort(function (a, b) { return a[1] - b[1]; });
|
|
279
388
|
this.charts.forEach(function (chart) { return chart.onHovered(index); });
|
|
280
389
|
this.chartsRef.forEach(function (_a, index) {
|
|
281
390
|
var nativeElement = _a.nativeElement;
|
|
@@ -288,57 +397,68 @@
|
|
|
288
397
|
index: index,
|
|
289
398
|
};
|
|
290
399
|
};
|
|
291
|
-
TuiLineChartHintDirective.ctorParameters = function () { return [
|
|
292
|
-
{ type: core.Renderer2, decorators: [{ type: core.Inject, args: [core.Renderer2,] }] },
|
|
293
|
-
{ type: cdk.TuiDestroyService, decorators: [{ type: core.Inject, args: [cdk.TuiDestroyService,] }] },
|
|
294
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
295
|
-
{ type: core.NgZone, decorators: [{ type: core.Inject, args: [core.NgZone,] }] },
|
|
296
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [common$1.ANIMATION_FRAME,] }] }
|
|
297
|
-
]; };
|
|
298
|
-
__decorate([
|
|
299
|
-
core.ContentChildren(core.forwardRef(function () { return TuiLineChartComponent; }))
|
|
300
|
-
], TuiLineChartHintDirective.prototype, "charts", void 0);
|
|
301
|
-
__decorate([
|
|
302
|
-
core.ContentChildren(core.forwardRef(function () { return TuiLineChartComponent; }), { read: core.ElementRef })
|
|
303
|
-
], TuiLineChartHintDirective.prototype, "chartsRef", void 0);
|
|
304
|
-
__decorate([
|
|
305
|
-
core.Input("tuiLineChartHint"),
|
|
306
|
-
cdk.tuiDefaultProp()
|
|
307
|
-
], TuiLineChartHintDirective.prototype, "hint", void 0);
|
|
308
|
-
__decorate([
|
|
309
|
-
cdk.tuiPure
|
|
310
|
-
], TuiLineChartHintDirective.prototype, "computeContext", null);
|
|
311
|
-
TuiLineChartHintDirective = __decorate([
|
|
312
|
-
core.Directive({
|
|
313
|
-
selector: "[tuiLineChartHint]",
|
|
314
|
-
providers: [cdk.TuiDestroyService],
|
|
315
|
-
}),
|
|
316
|
-
__param(0, core.Inject(core.Renderer2)),
|
|
317
|
-
__param(1, core.Inject(cdk.TuiDestroyService)),
|
|
318
|
-
__param(2, core.Inject(core.ElementRef)),
|
|
319
|
-
__param(3, core.Inject(core.NgZone)),
|
|
320
|
-
__param(4, core.Inject(common$1.ANIMATION_FRAME))
|
|
321
|
-
], TuiLineChartHintDirective);
|
|
322
400
|
return TuiLineChartHintDirective;
|
|
323
401
|
}());
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
402
|
+
TuiLineChartHintDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiLineChartHintDirective, deps: [{ token: i0.Renderer2 }, { token: i1.TuiDestroyService }, { token: i0.NgZone }, { token: i1.TuiHoveredService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
403
|
+
TuiLineChartHintDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiLineChartHintDirective, selector: "[tuiLineChartHint]", inputs: { hint: ["tuiLineChartHint", "hint"] }, providers: [i1.TuiDestroyService, i1.TuiHoveredService], queries: [{ propertyName: "charts", predicate: i0__namespace.forwardRef(function () { return TuiLineChartComponent; }) }, { propertyName: "chartsRef", predicate: i0__namespace.forwardRef(function () { return TuiLineChartComponent; }), read: i0.ElementRef }], ngImport: i0__namespace });
|
|
404
|
+
__decorate([
|
|
405
|
+
i1.tuiDefaultProp()
|
|
406
|
+
], TuiLineChartHintDirective.prototype, "hint", void 0);
|
|
407
|
+
__decorate([
|
|
408
|
+
i1.tuiPure
|
|
409
|
+
], TuiLineChartHintDirective.prototype, "computeContext", null);
|
|
410
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiLineChartHintDirective, decorators: [{
|
|
411
|
+
type: i0.Directive,
|
|
412
|
+
args: [{
|
|
413
|
+
selector: "[tuiLineChartHint]",
|
|
414
|
+
providers: [i1.TuiDestroyService, i1.TuiHoveredService],
|
|
415
|
+
}]
|
|
416
|
+
}], ctorParameters: function () {
|
|
417
|
+
return [{ type: i0__namespace.Renderer2, decorators: [{
|
|
418
|
+
type: i0.Inject,
|
|
419
|
+
args: [i0.Renderer2]
|
|
420
|
+
}] }, { type: i1__namespace.TuiDestroyService, decorators: [{
|
|
421
|
+
type: i0.Inject,
|
|
422
|
+
args: [i1.TuiDestroyService]
|
|
423
|
+
}] }, { type: i0__namespace.NgZone, decorators: [{
|
|
424
|
+
type: i0.Inject,
|
|
425
|
+
args: [i0.NgZone]
|
|
426
|
+
}] }, { type: i2__namespace.Observable, decorators: [{
|
|
427
|
+
type: i0.Inject,
|
|
428
|
+
args: [i1.TuiHoveredService]
|
|
429
|
+
}] }];
|
|
430
|
+
}, propDecorators: { charts: [{
|
|
431
|
+
type: i0.ContentChildren,
|
|
432
|
+
args: [i0.forwardRef(function () { return TuiLineChartComponent; })]
|
|
433
|
+
}], chartsRef: [{
|
|
434
|
+
type: i0.ContentChildren,
|
|
435
|
+
args: [i0.forwardRef(function () { return TuiLineChartComponent; }), { read: i0.ElementRef }]
|
|
436
|
+
}], hint: [{
|
|
437
|
+
type: i0.Input,
|
|
438
|
+
args: ["tuiLineChartHint"]
|
|
439
|
+
}], computeContext: [] } });
|
|
440
|
+
function tuiLineChartDrivers(charts) {
|
|
441
|
+
return i2.combineLatest(charts
|
|
442
|
+
.map(function (_a) {
|
|
443
|
+
var drivers = _a.drivers;
|
|
444
|
+
return drivers.map(function (driver) { return driver.pipe(operators.startWith(false)); });
|
|
445
|
+
})
|
|
446
|
+
.reduce(function (acc, drivers) { return acc.concat(drivers); }, [])).pipe(operators.map(function (values) { return values.some(Boolean); }), operators.distinctUntilChanged());
|
|
328
447
|
}
|
|
329
|
-
|
|
448
|
+
|
|
330
449
|
var TuiLineChartComponent = /** @class */ (function () {
|
|
331
|
-
function TuiLineChartComponent(idService, ngZone, locationRef, hintDirective) {
|
|
450
|
+
function TuiLineChartComponent(idService, ngZone, locationRef, hintDirective, hintController) {
|
|
332
451
|
this.ngZone = ngZone;
|
|
333
452
|
this.locationRef = locationRef;
|
|
334
453
|
this.hintDirective = hintDirective;
|
|
335
|
-
this.
|
|
454
|
+
this.hintController = hintController;
|
|
455
|
+
this._hovered$ = new i2.Subject();
|
|
456
|
+
this.drivers = i1.EMPTY_QUERY;
|
|
336
457
|
this.x = 0;
|
|
337
458
|
this.y = 0;
|
|
338
459
|
this.width = 0;
|
|
339
460
|
this.height = 0;
|
|
340
461
|
this.smoothingFactor = 0;
|
|
341
|
-
this.hintContent = "";
|
|
342
462
|
this.xStringify = null;
|
|
343
463
|
this.yStringify = null;
|
|
344
464
|
this.filled = false;
|
|
@@ -350,21 +470,29 @@
|
|
|
350
470
|
set: function (value) {
|
|
351
471
|
this.value = value.filter(function (item) { return !item.some(isNaN); });
|
|
352
472
|
},
|
|
353
|
-
enumerable:
|
|
473
|
+
enumerable: false,
|
|
354
474
|
configurable: true
|
|
355
475
|
});
|
|
356
476
|
Object.defineProperty(TuiLineChartComponent.prototype, "hovered$", {
|
|
357
477
|
get: function () {
|
|
358
|
-
return this._hovered$.pipe(operators.distinctUntilChanged(),
|
|
478
|
+
return this._hovered$.pipe(operators.distinctUntilChanged(), i1.tuiZoneOptimized(this.ngZone));
|
|
359
479
|
},
|
|
360
|
-
enumerable:
|
|
480
|
+
enumerable: false,
|
|
481
|
+
configurable: true
|
|
482
|
+
});
|
|
483
|
+
Object.defineProperty(TuiLineChartComponent.prototype, "hintContent", {
|
|
484
|
+
get: function () {
|
|
485
|
+
var _a;
|
|
486
|
+
return ((_a = this.hintController) === null || _a === void 0 ? void 0 : _a.content) || "";
|
|
487
|
+
},
|
|
488
|
+
enumerable: false,
|
|
361
489
|
configurable: true
|
|
362
490
|
});
|
|
363
491
|
Object.defineProperty(TuiLineChartComponent.prototype, "fillId", {
|
|
364
492
|
get: function () {
|
|
365
493
|
return "tui-line-chart-" + this.autoIdString;
|
|
366
494
|
},
|
|
367
|
-
enumerable:
|
|
495
|
+
enumerable: false,
|
|
368
496
|
configurable: true
|
|
369
497
|
});
|
|
370
498
|
Object.defineProperty(TuiLineChartComponent.prototype, "fill", {
|
|
@@ -373,21 +501,21 @@
|
|
|
373
501
|
? "url(" + this.locationRef.prepareExternalUrl(this.locationRef.path()) + "#" + this.fillId + ")"
|
|
374
502
|
: "none";
|
|
375
503
|
},
|
|
376
|
-
enumerable:
|
|
504
|
+
enumerable: false,
|
|
377
505
|
configurable: true
|
|
378
506
|
});
|
|
379
507
|
Object.defineProperty(TuiLineChartComponent.prototype, "viewBox", {
|
|
380
508
|
get: function () {
|
|
381
509
|
return this.x + " " + this.y + " " + this.width + " " + this.height;
|
|
382
510
|
},
|
|
383
|
-
enumerable:
|
|
511
|
+
enumerable: false,
|
|
384
512
|
configurable: true
|
|
385
513
|
});
|
|
386
514
|
Object.defineProperty(TuiLineChartComponent.prototype, "d", {
|
|
387
515
|
get: function () {
|
|
388
516
|
return this.getD(this.value, this.smoothingFactor);
|
|
389
517
|
},
|
|
390
|
-
enumerable:
|
|
518
|
+
enumerable: false,
|
|
391
519
|
configurable: true
|
|
392
520
|
});
|
|
393
521
|
Object.defineProperty(TuiLineChartComponent.prototype, "fillD", {
|
|
@@ -396,14 +524,14 @@
|
|
|
396
524
|
? this.d + "V " + this.y + " H " + this.value[0][0] + " V " + this.value[0][1]
|
|
397
525
|
: this.d;
|
|
398
526
|
},
|
|
399
|
-
enumerable:
|
|
527
|
+
enumerable: false,
|
|
400
528
|
configurable: true
|
|
401
529
|
});
|
|
402
530
|
Object.defineProperty(TuiLineChartComponent.prototype, "isFocusable", {
|
|
403
531
|
get: function () {
|
|
404
532
|
return !this.hintDirective && this.hasHints;
|
|
405
533
|
},
|
|
406
|
-
enumerable:
|
|
534
|
+
enumerable: false,
|
|
407
535
|
configurable: true
|
|
408
536
|
});
|
|
409
537
|
Object.defineProperty(TuiLineChartComponent.prototype, "hasHints", {
|
|
@@ -414,7 +542,7 @@
|
|
|
414
542
|
!!((_a = this.hintDirective) === null || _a === void 0 ? void 0 : _a.hint) ||
|
|
415
543
|
!!this.hintContent);
|
|
416
544
|
},
|
|
417
|
-
enumerable:
|
|
545
|
+
enumerable: false,
|
|
418
546
|
configurable: true
|
|
419
547
|
});
|
|
420
548
|
TuiLineChartComponent.prototype.onMouseLeave = function () {
|
|
@@ -439,7 +567,7 @@
|
|
|
439
567
|
TuiLineChartComponent.prototype.getContentContext = function ($implicit, index) {
|
|
440
568
|
var _a;
|
|
441
569
|
return (((_a = this.hintDirective) === null || _a === void 0 ? void 0 : _a.getContext(this.value.indexOf($implicit), this)) || {
|
|
442
|
-
$implicit:
|
|
570
|
+
$implicit: $implicit,
|
|
443
571
|
index: index,
|
|
444
572
|
});
|
|
445
573
|
};
|
|
@@ -471,120 +599,162 @@
|
|
|
471
599
|
get: function () {
|
|
472
600
|
return this.value.length === 1;
|
|
473
601
|
},
|
|
474
|
-
enumerable:
|
|
602
|
+
enumerable: false,
|
|
475
603
|
configurable: true
|
|
476
604
|
});
|
|
477
605
|
TuiLineChartComponent.prototype.getD = function (value, smoothingFactor) {
|
|
478
|
-
return value.reduce(function (d, point, index) {
|
|
479
|
-
return index ? d + " " + utils.draw(value, index, smoothingFactor) : "M " + point;
|
|
480
|
-
}, "");
|
|
606
|
+
return value.reduce(function (d, point, index) { return index ? d + " " + utils.tuiDraw(value, index, smoothingFactor) : "M " + point; }, "");
|
|
481
607
|
};
|
|
482
608
|
TuiLineChartComponent.prototype.computeWidth = function (index) {
|
|
483
609
|
return index === this.value.length - 1
|
|
484
610
|
? 2 * (this.value[index][0] - this.getX(index))
|
|
485
611
|
: this.getX(index + 1) - this.getX(index);
|
|
486
612
|
};
|
|
487
|
-
TuiLineChartComponent.ctorParameters = function () { return [
|
|
488
|
-
{ type: cdk.TuiIdService, decorators: [{ type: core.Inject, args: [cdk.TuiIdService,] }] },
|
|
489
|
-
{ type: core.NgZone, decorators: [{ type: core.Inject, args: [core.NgZone,] }] },
|
|
490
|
-
{ type: common.Location, decorators: [{ type: core.Inject, args: [common.Location,] }] },
|
|
491
|
-
{ type: TuiLineChartHintDirective, decorators: [{ type: core.Optional }, { type: core.Inject, args: [TuiLineChartHintDirective,] }] }
|
|
492
|
-
]; };
|
|
493
|
-
__decorate([
|
|
494
|
-
core.Input("value"),
|
|
495
|
-
cdk.tuiDefaultProp()
|
|
496
|
-
], TuiLineChartComponent.prototype, "valueSetter", null);
|
|
497
|
-
__decorate([
|
|
498
|
-
core.Input(),
|
|
499
|
-
cdk.tuiDefaultProp()
|
|
500
|
-
], TuiLineChartComponent.prototype, "x", void 0);
|
|
501
|
-
__decorate([
|
|
502
|
-
core.Input(),
|
|
503
|
-
cdk.tuiDefaultProp()
|
|
504
|
-
], TuiLineChartComponent.prototype, "y", void 0);
|
|
505
|
-
__decorate([
|
|
506
|
-
core.Input(),
|
|
507
|
-
cdk.tuiDefaultProp()
|
|
508
|
-
], TuiLineChartComponent.prototype, "width", void 0);
|
|
509
|
-
__decorate([
|
|
510
|
-
core.Input(),
|
|
511
|
-
cdk.tuiDefaultProp()
|
|
512
|
-
], TuiLineChartComponent.prototype, "height", void 0);
|
|
513
|
-
__decorate([
|
|
514
|
-
core.Input(),
|
|
515
|
-
cdk.tuiDefaultProp(smoothingAssertion, SMOOTHING_MESSAGE)
|
|
516
|
-
], TuiLineChartComponent.prototype, "smoothingFactor", void 0);
|
|
517
|
-
__decorate([
|
|
518
|
-
core.Input(),
|
|
519
|
-
cdk.tuiDefaultProp()
|
|
520
|
-
], TuiLineChartComponent.prototype, "hintContent", void 0);
|
|
521
|
-
__decorate([
|
|
522
|
-
core.Input(),
|
|
523
|
-
cdk.tuiDefaultProp()
|
|
524
|
-
], TuiLineChartComponent.prototype, "xStringify", void 0);
|
|
525
|
-
__decorate([
|
|
526
|
-
core.Input(),
|
|
527
|
-
cdk.tuiDefaultProp()
|
|
528
|
-
], TuiLineChartComponent.prototype, "yStringify", void 0);
|
|
529
|
-
__decorate([
|
|
530
|
-
core.Input(),
|
|
531
|
-
cdk.tuiDefaultProp()
|
|
532
|
-
], TuiLineChartComponent.prototype, "filled", void 0);
|
|
533
|
-
__decorate([
|
|
534
|
-
core.Input(),
|
|
535
|
-
cdk.tuiDefaultProp()
|
|
536
|
-
], TuiLineChartComponent.prototype, "dots", void 0);
|
|
537
|
-
__decorate([
|
|
538
|
-
cdk.tuiPure
|
|
539
|
-
], TuiLineChartComponent.prototype, "hovered$", null);
|
|
540
|
-
__decorate([
|
|
541
|
-
core.HostListener("mouseleave")
|
|
542
|
-
], TuiLineChartComponent.prototype, "onMouseLeave", null);
|
|
543
|
-
__decorate([
|
|
544
|
-
cdk.tuiPure
|
|
545
|
-
], TuiLineChartComponent.prototype, "getD", null);
|
|
546
|
-
TuiLineChartComponent = __decorate([
|
|
547
|
-
core.Component({
|
|
548
|
-
selector: "tui-line-chart",
|
|
549
|
-
template: "<ng-container *tuiLet=\"hovered$ | async as hovered\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n preserveAspectRatio=\"none\"\n width=\"100%\"\n height=\"100%\"\n class=\"t-svg\"\n [attr.viewBox]=\"viewBox\"\n >\n <defs>\n <linearGradient\n x1=\"0\"\n x2=\"0\"\n y1=\"1\"\n y2=\"0\"\n [attr.id]=\"fillId\"\n >\n <stop\n stop-color=\"currentColor\"\n offset=\"0%\"\n stop-opacity=\"0.5\"\n />\n <stop\n stop-color=\"currentColor\"\n offset=\"100%\"\n stop-opacity=\"0\"\n />\n </linearGradient>\n </defs>\n <path\n stroke=\"none\"\n [attr.fill]=\"fill\"\n [attr.d]=\"fillD\"\n />\n <path\n fill=\"none\"\n stroke=\"currentColor\"\n vector-effect=\"non-scaling-stroke\"\n stroke-width=\"2\"\n [attr.d]=\"d\"\n />\n </svg>\n <ng-container *ngIf=\"dots\">\n <div\n *ngFor=\"let point of value\"\n class=\"t-dot\"\n [style.left.%]=\"getLeft(point[0])\"\n [style.bottom.%]=\"getBottom(point[1])\"\n ></div>\n </ng-container>\n <ng-container *ngIf=\"hasHints\">\n <ng-container *ngFor=\"let point of value; let index = index\">\n <div\n *ngIf=\"value.length > 1 || dots\"\n tuiHintDirection=\"top-left\"\n class=\"t-column\"\n [class.t-column_hovered]=\"hovered === index\"\n [tuiHintHost]=\"hintHost\"\n [tuiHint]=\"hintDirective || hintContent ? hint : ''\"\n [tuiHintId]=\"getHintId(index)\"\n [style.left.%]=\"getLeft(getX(index))\"\n [style.width.%]=\"getWidth(index)\"\n (mouseenter)=\"onMouseEnter(index)\"\n >\n <div\n class=\"t-line t-line_vertical\"\n [style.left.%]=\"getOffset(index)\"\n ></div>\n <div\n #hintHost\n class=\"t-host\"\n [style.left.%]=\"getOffset(index)\"\n [style.bottom.%]=\"getBottom(point[1])\"\n [tuiFocusable]=\"isFocusable\"\n [tuiDescribedBy]=\"getHintId(index)\"\n ></div>\n </div>\n <div\n *ngIf=\"isFocusable\"\n class=\"t-line t-line_horizontal\"\n [style.bottom.%]=\"getBottom(point[1])\"\n ></div>\n <ng-template #hint>\n <div\n *ngIf=\"hintDirective; else single\"\n polymorpheus-outlet\n class=\"t-text\"\n [content]=\"hintDirective.hint\"\n [context]=\"getContentContext(point, index)\"\n ></div>\n <ng-template #single>\n <div\n polymorpheus-outlet\n class=\"t-text\"\n [content]=\"hintContent\"\n [context]=\"{$implicit: point, index: index}\"\n ></div>\n </ng-template>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"getHovered(hovered) as point\">\n <div\n *ngIf=\"xStringify\"\n class=\"t-hint t-hint_x\"\n [style.left.%]=\"getLeft(point[0])\"\n >\n {{ xStringify(point[0]) }}\n </div>\n <div\n *ngIf=\"yStringify\"\n class=\"t-hint t-hint_y\"\n [style.bottom.%]=\"getBottom(point[1])\"\n >\n {{ yStringify(point[1]) }}\n </div>\n </ng-container>\n</ng-container>\n",
|
|
550
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
551
|
-
styles: [":host{display:flex;width:100%;height:100%;pointer-events:none}.t-svg{transform:scale(1,-1)}.t-column{position:absolute;top:0;height:100%;pointer-events:auto}.t-dot{position:absolute;width:.375rem;height:.375rem;border-radius:100%;background:currentColor;margin:-.1875rem;box-shadow:0 0 0 2px #fff}.t-host{position:absolute;left:50%;width:.5rem;height:.5rem;border-radius:100%;opacity:0;background:#fff;margin:-.25rem;box-shadow:0 0 0 2px currentColor,0 .0625rem .1875rem .125rem rgba(0,0,0,.1);outline:0;pointer-events:none}.t-column._hint_hovered .t-host,.t-column:hover .t-host,.t-column_hovered .t-host,.t-host:focus{opacity:1}.t-line{position:absolute;opacity:0;background:var(--tui-base-03)}.t-line_vertical{top:0;bottom:0;left:50%;width:1px}.t-line_horizontal{z-index:-1;width:100%;height:1px}:host:not([style]) .t-column._hint_hovered .t-line,:host:not([style]) .t-column._hint_hovered+.t-line,:host:not([style]) .t-column:hover .t-line,:host:not([style]) .t-column:hover+.t-line,:host[style^='z-index: 0'] .t-column_hovered .t-line,:host[style^='z-index: 0'] .t-column_hovered+.t-line{opacity:1}.t-text{white-space:pre-wrap}.t-hint{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12);position:absolute;font:var(--tui-font-text-xs);height:1.25rem;line-height:1.25rem;margin-bottom:-.625rem;padding:0 .375rem;white-space:nowrap;color:var(--tui-base-09);background:var(--tui-base-01);transform:translate3d(-50%,0,0)}.t-hint_x{bottom:0}.t-hint_y{left:0}"]
|
|
552
|
-
}),
|
|
553
|
-
__param(0, core.Inject(cdk.TuiIdService)),
|
|
554
|
-
__param(1, core.Inject(core.NgZone)),
|
|
555
|
-
__param(2, core.Inject(common.Location)),
|
|
556
|
-
__param(3, core.Optional()),
|
|
557
|
-
__param(3, core.Inject(TuiLineChartHintDirective))
|
|
558
|
-
], TuiLineChartComponent);
|
|
559
613
|
return TuiLineChartComponent;
|
|
560
614
|
}());
|
|
615
|
+
TuiLineChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiLineChartComponent, deps: [{ token: i1.TuiIdService }, { token: i0.NgZone }, { token: i2$1.Location }, { token: TuiLineChartHintDirective, optional: true }, { token: i3.TuiHintControllerDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
616
|
+
TuiLineChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiLineChartComponent, selector: "tui-line-chart", inputs: { valueSetter: ["value", "valueSetter"], x: "x", y: "y", width: "width", height: "height", smoothingFactor: "smoothingFactor", xStringify: "xStringify", yStringify: "yStringify", filled: "filled", dots: "dots" }, host: { listeners: { "mouseleave": "onMouseLeave()" } }, viewQueries: [{ propertyName: "drivers", predicate: i3.TuiDriver, descendants: true }], ngImport: i0__namespace, template: "<ng-container *tuiLet=\"hovered$ | async as hovered\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n preserveAspectRatio=\"none\"\n width=\"100%\"\n height=\"100%\"\n class=\"t-svg\"\n [attr.viewBox]=\"viewBox\"\n >\n <defs>\n <linearGradient\n x1=\"0\"\n x2=\"0\"\n y1=\"1\"\n y2=\"0\"\n [attr.id]=\"fillId\"\n >\n <stop\n stop-color=\"currentColor\"\n offset=\"0%\"\n stop-opacity=\"0.5\"\n />\n <stop\n stop-color=\"currentColor\"\n offset=\"100%\"\n stop-opacity=\"0\"\n />\n </linearGradient>\n </defs>\n <path\n stroke=\"none\"\n [attr.fill]=\"fill\"\n [attr.d]=\"fillD\"\n />\n <path\n fill=\"none\"\n stroke=\"currentColor\"\n vector-effect=\"non-scaling-stroke\"\n stroke-width=\"2\"\n [attr.d]=\"d\"\n />\n </svg>\n <ng-container *ngIf=\"dots\">\n <div\n *ngFor=\"let point of value\"\n class=\"t-dot\"\n [style.left.%]=\"getLeft(point[0])\"\n [style.bottom.%]=\"getBottom(point[1])\"\n ></div>\n </ng-container>\n <ng-container *ngIf=\"hasHints\">\n <ng-container *ngFor=\"let point of value; let index = index\">\n <!-- TODO: Fix hint type -->\n <div\n *ngIf=\"value.length > 1 || dots\"\n tuiHintDirection=\"top\"\n class=\"t-column\"\n [class.t-column_hovered]=\"hovered === index\"\n [class.t-column_hint_hovered]=\"drivers.get(index) | async\"\n [tuiHintHost]=\"hintHost\"\n [tuiHint]=\"$any(hintDirective?.hint || hintContent)\"\n [tuiHintContext]=\"getContentContext(point, index)\"\n [tuiHintId]=\"getHintId(index)\"\n [style.left.%]=\"getLeft(getX(index))\"\n [style.width.%]=\"getWidth(index)\"\n (mouseenter)=\"onMouseEnter(index)\"\n >\n <div\n class=\"t-line t-line_vertical\"\n [style.left.%]=\"getOffset(index)\"\n ></div>\n <div\n #hintHost\n class=\"t-host\"\n [style.left.%]=\"getOffset(index)\"\n [style.bottom.%]=\"getBottom(point[1])\"\n [tuiFocusable]=\"isFocusable\"\n [tuiDescribedBy]=\"getHintId(index)\"\n ></div>\n </div>\n <div\n *ngIf=\"isFocusable\"\n class=\"t-line t-line_horizontal\"\n [style.bottom.%]=\"getBottom(point[1])\"\n ></div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"getHovered(hovered) as point\">\n <div\n *ngIf=\"xStringify\"\n class=\"t-hint t-hint_x\"\n [style.left.%]=\"getLeft(point[0])\"\n >\n {{ xStringify(point[0]) }}\n </div>\n <div\n *ngIf=\"yStringify\"\n class=\"t-hint t-hint_y\"\n [style.bottom.%]=\"getBottom(point[1])\"\n >\n {{ yStringify(point[1]) }}\n </div>\n </ng-container>\n</ng-container>\n", styles: [":host{display:flex;width:100%;height:100%;pointer-events:none}.t-svg{transform:scaleY(-1)}.t-column{position:absolute;top:0;height:100%;pointer-events:auto}.t-dot{position:absolute;width:.375rem;height:.375rem;border-radius:100%;background:currentColor;margin:-.1875rem;box-shadow:0 0 0 2px #fff}.t-host{position:absolute;left:50%;width:.5rem;height:.5rem;border-radius:100%;opacity:0;background:#fff;margin:-.25rem;box-shadow:0 0 0 2px currentColor,0 .0625rem .1875rem .125rem rgba(0,0,0,.1);outline:none;pointer-events:none}.t-host:focus,.t-column_hovered .t-host,.t-column:hover .t-host,.t-column_hint_hovered .t-host{opacity:1}.t-line{position:absolute;opacity:0;background:var(--tui-base-03)}.t-line_vertical{top:0;bottom:0;left:50%;width:1px}.t-line_horizontal{z-index:-1;width:100%;height:1px}:host[style^=\"z-index: 0\"] .t-column_hovered .t-line,:host:not([style]) .t-column:hover .t-line,:host:not([style]) .t-column_hint_hovered .t-line,:host[style^=\"z-index: 0\"] .t-column_hovered+.t-line,:host:not([style]) .t-column:hover+.t-line,:host:not([style]) .t-column_hint_hovered+.t-line{opacity:1}.t-hint{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12);position:absolute;font:var(--tui-font-text-xs);height:1.25rem;line-height:1.25rem;margin-bottom:-.625rem;padding:0 .375rem;white-space:nowrap;color:var(--tui-base-09);background:var(--tui-base-01);transform:translate(-50%)}.t-hint_x{bottom:0}.t-hint_y{left:0}\n"], directives: [{ type: i1__namespace.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.TuiHintDirective, selector: "[tuiHint]:not(ng-container)", inputs: ["tuiHintId", "tuiHint", "tuiHintContext", "tuiHintAppearance"] }, { type: i3__namespace.TuiHintDriverDirective, selector: "[tuiHint]" }, { type: i3__namespace.TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container)", inputs: ["tuiHintShowDelay", "tuiHintHideDelay"] }, { type: i3__namespace.TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition])", inputs: ["tuiHintDirection"] }, { type: i3__namespace.TuiHintHostDirective, selector: "[tuiHint][tuiHintHost]", inputs: ["tuiHintHost"] }, { type: i1__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i3__namespace.TuiDescribedByDirective, selector: "[tuiDescribedBy]:not(ng-container)", inputs: ["tuiDescribedBy"] }], pipes: { "async": i2__namespace$1.AsyncPipe }, viewProviders: [i3.TUI_HINT_CONTROLLER_OPTIONS], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
617
|
+
__decorate([
|
|
618
|
+
i1.tuiDefaultProp()
|
|
619
|
+
], TuiLineChartComponent.prototype, "valueSetter", null);
|
|
620
|
+
__decorate([
|
|
621
|
+
i1.tuiDefaultProp()
|
|
622
|
+
], TuiLineChartComponent.prototype, "x", void 0);
|
|
623
|
+
__decorate([
|
|
624
|
+
i1.tuiDefaultProp()
|
|
625
|
+
], TuiLineChartComponent.prototype, "y", void 0);
|
|
626
|
+
__decorate([
|
|
627
|
+
i1.tuiDefaultProp()
|
|
628
|
+
], TuiLineChartComponent.prototype, "width", void 0);
|
|
629
|
+
__decorate([
|
|
630
|
+
i1.tuiDefaultProp()
|
|
631
|
+
], TuiLineChartComponent.prototype, "height", void 0);
|
|
632
|
+
__decorate([
|
|
633
|
+
i1.tuiDefaultProp(function (smoothingFactor) { return i1.tuiInRange(smoothingFactor, 0, 100); }, "smoothingFactor must be between 0 and 100")
|
|
634
|
+
], TuiLineChartComponent.prototype, "smoothingFactor", void 0);
|
|
635
|
+
__decorate([
|
|
636
|
+
i1.tuiDefaultProp()
|
|
637
|
+
], TuiLineChartComponent.prototype, "xStringify", void 0);
|
|
638
|
+
__decorate([
|
|
639
|
+
i1.tuiDefaultProp()
|
|
640
|
+
], TuiLineChartComponent.prototype, "yStringify", void 0);
|
|
641
|
+
__decorate([
|
|
642
|
+
i1.tuiDefaultProp()
|
|
643
|
+
], TuiLineChartComponent.prototype, "filled", void 0);
|
|
644
|
+
__decorate([
|
|
645
|
+
i1.tuiDefaultProp()
|
|
646
|
+
], TuiLineChartComponent.prototype, "dots", void 0);
|
|
647
|
+
__decorate([
|
|
648
|
+
i1.tuiPure
|
|
649
|
+
], TuiLineChartComponent.prototype, "hovered$", null);
|
|
650
|
+
__decorate([
|
|
651
|
+
i1.tuiPure
|
|
652
|
+
], TuiLineChartComponent.prototype, "getD", null);
|
|
653
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiLineChartComponent, decorators: [{
|
|
654
|
+
type: i0.Component,
|
|
655
|
+
args: [{
|
|
656
|
+
selector: "tui-line-chart",
|
|
657
|
+
templateUrl: "./line-chart.template.html",
|
|
658
|
+
styleUrls: ["./line-chart.style.less"],
|
|
659
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
660
|
+
viewProviders: [i3.TUI_HINT_CONTROLLER_OPTIONS],
|
|
661
|
+
}]
|
|
662
|
+
}], ctorParameters: function () {
|
|
663
|
+
return [{ type: i1__namespace.TuiIdService, decorators: [{
|
|
664
|
+
type: i0.Inject,
|
|
665
|
+
args: [i1.TuiIdService]
|
|
666
|
+
}] }, { type: i0__namespace.NgZone, decorators: [{
|
|
667
|
+
type: i0.Inject,
|
|
668
|
+
args: [i0.NgZone]
|
|
669
|
+
}] }, { type: i2__namespace$1.Location, decorators: [{
|
|
670
|
+
type: i0.Inject,
|
|
671
|
+
args: [i2$1.Location]
|
|
672
|
+
}] }, { type: TuiLineChartHintDirective, decorators: [{
|
|
673
|
+
type: i0.Optional
|
|
674
|
+
}, {
|
|
675
|
+
type: i0.Inject,
|
|
676
|
+
args: [TuiLineChartHintDirective]
|
|
677
|
+
}] }, { type: i3__namespace.TuiHintControllerDirective, decorators: [{
|
|
678
|
+
type: i0.Optional
|
|
679
|
+
}, {
|
|
680
|
+
type: i0.Inject,
|
|
681
|
+
args: [i3.TuiHintControllerDirective]
|
|
682
|
+
}] }];
|
|
683
|
+
}, propDecorators: { drivers: [{
|
|
684
|
+
type: i0.ViewChildren,
|
|
685
|
+
args: [i3.TuiDriver]
|
|
686
|
+
}], valueSetter: [{
|
|
687
|
+
type: i0.Input,
|
|
688
|
+
args: ["value"]
|
|
689
|
+
}], x: [{
|
|
690
|
+
type: i0.Input
|
|
691
|
+
}], y: [{
|
|
692
|
+
type: i0.Input
|
|
693
|
+
}], width: [{
|
|
694
|
+
type: i0.Input
|
|
695
|
+
}], height: [{
|
|
696
|
+
type: i0.Input
|
|
697
|
+
}], smoothingFactor: [{
|
|
698
|
+
type: i0.Input
|
|
699
|
+
}], xStringify: [{
|
|
700
|
+
type: i0.Input
|
|
701
|
+
}], yStringify: [{
|
|
702
|
+
type: i0.Input
|
|
703
|
+
}], filled: [{
|
|
704
|
+
type: i0.Input
|
|
705
|
+
}], dots: [{
|
|
706
|
+
type: i0.Input
|
|
707
|
+
}], hovered$: [], onMouseLeave: [{
|
|
708
|
+
type: i0.HostListener,
|
|
709
|
+
args: ["mouseleave"]
|
|
710
|
+
}], getD: [] } });
|
|
561
711
|
|
|
562
712
|
var TuiLineChartModule = /** @class */ (function () {
|
|
563
713
|
function TuiLineChartModule() {
|
|
564
714
|
}
|
|
565
|
-
TuiLineChartModule = __decorate([
|
|
566
|
-
core.NgModule({
|
|
567
|
-
imports: [
|
|
568
|
-
common.CommonModule,
|
|
569
|
-
ngPolymorpheus.PolymorpheusModule,
|
|
570
|
-
core$1.TuiHintModule,
|
|
571
|
-
cdk.TuiFocusableModule,
|
|
572
|
-
core$1.TuiDescribedByModule,
|
|
573
|
-
cdk.TuiLetModule,
|
|
574
|
-
],
|
|
575
|
-
declarations: [TuiLineChartComponent, TuiLineChartHintDirective],
|
|
576
|
-
exports: [TuiLineChartComponent, TuiLineChartHintDirective],
|
|
577
|
-
})
|
|
578
|
-
], TuiLineChartModule);
|
|
579
715
|
return TuiLineChartModule;
|
|
580
716
|
}());
|
|
717
|
+
TuiLineChartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiLineChartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
718
|
+
TuiLineChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiLineChartModule, declarations: [TuiLineChartComponent, TuiLineChartHintDirective], imports: [i2$1.CommonModule,
|
|
719
|
+
ngPolymorpheus.PolymorpheusModule,
|
|
720
|
+
i3.TuiHintModule,
|
|
721
|
+
i1.TuiFocusableModule,
|
|
722
|
+
i3.TuiDescribedByModule,
|
|
723
|
+
i1.TuiLetModule], exports: [TuiLineChartComponent, TuiLineChartHintDirective] });
|
|
724
|
+
TuiLineChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiLineChartModule, imports: [[
|
|
725
|
+
i2$1.CommonModule,
|
|
726
|
+
ngPolymorpheus.PolymorpheusModule,
|
|
727
|
+
i3.TuiHintModule,
|
|
728
|
+
i1.TuiFocusableModule,
|
|
729
|
+
i3.TuiDescribedByModule,
|
|
730
|
+
i1.TuiLetModule,
|
|
731
|
+
]] });
|
|
732
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiLineChartModule, decorators: [{
|
|
733
|
+
type: i0.NgModule,
|
|
734
|
+
args: [{
|
|
735
|
+
imports: [
|
|
736
|
+
i2$1.CommonModule,
|
|
737
|
+
ngPolymorpheus.PolymorpheusModule,
|
|
738
|
+
i3.TuiHintModule,
|
|
739
|
+
i1.TuiFocusableModule,
|
|
740
|
+
i3.TuiDescribedByModule,
|
|
741
|
+
i1.TuiLetModule,
|
|
742
|
+
],
|
|
743
|
+
declarations: [TuiLineChartComponent, TuiLineChartHintDirective],
|
|
744
|
+
exports: [TuiLineChartComponent, TuiLineChartHintDirective],
|
|
745
|
+
}]
|
|
746
|
+
}] });
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Generated bundle index. Do not edit.
|
|
750
|
+
*/
|
|
581
751
|
|
|
582
752
|
exports.TuiLineChartComponent = TuiLineChartComponent;
|
|
583
753
|
exports.TuiLineChartHintDirective = TuiLineChartHintDirective;
|
|
584
754
|
exports.TuiLineChartModule = TuiLineChartModule;
|
|
585
|
-
exports.
|
|
755
|
+
exports.tuiLineChartDrivers = tuiLineChartDrivers;
|
|
586
756
|
|
|
587
757
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
588
758
|
|
|
589
|
-
}))
|
|
759
|
+
}));
|
|
590
760
|
//# sourceMappingURL=taiga-ui-addon-charts-components-line-chart.umd.js.map
|