@taiga-ui/addon-charts 3.57.0 → 3.59.0-canary.10da730
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/components/arc-chart/arc-chart.component.d.ts +1 -1
- package/components/axes/axes.component.d.ts +1 -1
- package/components/bar/bar.component.d.ts +1 -1
- package/components/bar-chart/bar-chart.component.d.ts +1 -1
- package/components/bar-set/bar-set.component.d.ts +1 -1
- package/components/legend-item/legend-item.component.d.ts +1 -1
- package/components/line-chart/line-chart-hint.directive.d.ts +1 -1
- package/components/line-chart/line-chart.component.d.ts +1 -1
- package/components/line-days-chart/line-days-chart-hint.directive.d.ts +1 -1
- package/components/line-days-chart/line-days-chart.component.d.ts +1 -1
- package/components/pie-chart/pie-chart.component.d.ts +1 -1
- package/components/pie-chart/pie-chart.directive.d.ts +1 -1
- package/components/ring-chart/ring-chart.component.d.ts +1 -1
- package/esm2020/components/arc-chart/arc-chart.component.mjs +117 -0
- package/{esm2015/components/arc-chart/arc-chart.module.js → esm2020/components/arc-chart/arc-chart.module.mjs} +5 -5
- package/esm2020/components/axes/axes.component.mjs +83 -0
- package/{esm2015/components/axes/axes.module.js → esm2020/components/axes/axes.module.mjs} +5 -5
- package/{esm2015/components/bar/bar.component.js → esm2020/components/bar/bar.component.mjs} +5 -10
- package/{esm2015/components/bar/bar.module.js → esm2020/components/bar/bar.module.mjs} +5 -5
- package/esm2020/components/bar-chart/bar-chart.component.mjs +75 -0
- package/{esm2015/components/bar-chart/bar-chart.module.js → esm2020/components/bar-chart/bar-chart.module.mjs} +9 -11
- package/esm2020/components/bar-set/bar-set.component.mjs +52 -0
- package/{esm2015/components/bar-set/bar-set.module.js → esm2020/components/bar-set/bar-set.module.mjs} +5 -5
- package/esm2020/components/legend-item/legend-item.component.mjs +41 -0
- package/{esm2015/components/legend-item/legend-item.module.js → esm2020/components/legend-item/legend-item.module.mjs} +5 -5
- package/esm2020/components/line-chart/line-chart-hint.directive.mjs +78 -0
- package/esm2020/components/line-chart/line-chart.component.mjs +188 -0
- package/{esm2015/components/line-chart/line-chart.module.js → esm2020/components/line-chart/line-chart.module.mjs} +9 -11
- package/esm2020/components/line-days-chart/line-days-chart-hint.directive.mjs +77 -0
- package/{esm2015/components/line-days-chart/line-days-chart.component.js → esm2020/components/line-days-chart/line-days-chart.component.mjs} +28 -36
- package/{esm2015/components/line-days-chart/line-days-chart.module.js → esm2020/components/line-days-chart/line-days-chart.module.mjs} +5 -5
- package/esm2020/components/pie-chart/pie-chart.component.mjs +129 -0
- package/esm2020/components/pie-chart/pie-chart.directive.mjs +61 -0
- package/{esm2015/components/pie-chart/pie-chart.module.js → esm2020/components/pie-chart/pie-chart.module.mjs} +9 -11
- package/esm2020/components/ring-chart/ring-chart.component.mjs +39 -0
- package/{esm2015/components/ring-chart/ring-chart.module.js → esm2020/components/ring-chart/ring-chart.module.mjs} +5 -5
- package/{esm2015/utils/line-length.js → esm2020/utils/line-length.mjs} +2 -2
- package/fesm2015/taiga-ui-addon-charts-components-arc-chart.mjs +140 -0
- package/fesm2015/taiga-ui-addon-charts-components-arc-chart.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-charts-components-axes.mjs +107 -0
- package/fesm2015/taiga-ui-addon-charts-components-axes.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-charts-components-bar-chart.mjs +115 -0
- package/fesm2015/taiga-ui-addon-charts-components-bar-chart.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-charts-components-bar-set.js → taiga-ui-addon-charts-components-bar-set.mjs} +12 -17
- package/fesm2015/taiga-ui-addon-charts-components-bar-set.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-charts-components-bar.js → taiga-ui-addon-charts-components-bar.mjs} +9 -14
- package/fesm2015/taiga-ui-addon-charts-components-bar.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-charts-components-legend-item.js → taiga-ui-addon-charts-components-legend-item.mjs} +9 -14
- package/fesm2015/taiga-ui-addon-charts-components-legend-item.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-charts-components-line-chart.mjs +310 -0
- package/fesm2015/taiga-ui-addon-charts-components-line-chart.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-charts-components-line-days-chart.mjs +290 -0
- package/fesm2015/taiga-ui-addon-charts-components-line-days-chart.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-charts-components-pie-chart.mjs +227 -0
- package/fesm2015/taiga-ui-addon-charts-components-pie-chart.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-charts-components-ring-chart.js → taiga-ui-addon-charts-components-ring-chart.mjs} +9 -14
- package/fesm2015/taiga-ui-addon-charts-components-ring-chart.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-charts-components.js → taiga-ui-addon-charts-components.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-charts-components.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-charts-constants.js → taiga-ui-addon-charts-constants.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-charts-constants.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-charts-interfaces.mjs +4 -0
- package/fesm2015/taiga-ui-addon-charts-interfaces.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-charts-types.mjs +4 -0
- package/fesm2015/taiga-ui-addon-charts-types.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-charts-utils.js → taiga-ui-addon-charts-utils.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-charts-utils.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-charts.js → taiga-ui-addon-charts.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-charts.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-charts-components-arc-chart.js → fesm2020/taiga-ui-addon-charts-components-arc-chart.mjs} +13 -19
- package/fesm2020/taiga-ui-addon-charts-components-arc-chart.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-charts-components-axes.js → fesm2020/taiga-ui-addon-charts-components-axes.mjs} +13 -20
- package/fesm2020/taiga-ui-addon-charts-components-axes.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-charts-components-bar-chart.js → fesm2020/taiga-ui-addon-charts-components-bar-chart.mjs} +21 -30
- package/fesm2020/taiga-ui-addon-charts-components-bar-chart.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-components-bar-set.mjs +75 -0
- package/fesm2020/taiga-ui-addon-charts-components-bar-set.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-components-bar.mjs +59 -0
- package/fesm2020/taiga-ui-addon-charts-components-bar.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-components-legend-item.mjs +64 -0
- package/fesm2020/taiga-ui-addon-charts-components-legend-item.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-charts-components-line-chart.js → fesm2020/taiga-ui-addon-charts-components-line-chart.mjs} +29 -41
- package/fesm2020/taiga-ui-addon-charts-components-line-chart.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-charts-components-line-days-chart.js → fesm2020/taiga-ui-addon-charts-components-line-days-chart.mjs} +36 -44
- package/fesm2020/taiga-ui-addon-charts-components-line-days-chart.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-charts-components-pie-chart.js → fesm2020/taiga-ui-addon-charts-components-pie-chart.mjs} +24 -34
- package/fesm2020/taiga-ui-addon-charts-components-pie-chart.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-components-ring-chart.mjs +63 -0
- package/fesm2020/taiga-ui-addon-charts-components-ring-chart.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-components.mjs +15 -0
- package/fesm2020/taiga-ui-addon-charts-components.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-constants.mjs +11 -0
- package/fesm2020/taiga-ui-addon-charts-constants.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-interfaces.mjs +4 -0
- package/fesm2020/taiga-ui-addon-charts-interfaces.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-types.mjs +4 -0
- package/fesm2020/taiga-ui-addon-charts-types.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts-utils.mjs +87 -0
- package/fesm2020/taiga-ui-addon-charts-utils.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-charts.mjs +9 -0
- package/fesm2020/taiga-ui-addon-charts.mjs.map +1 -0
- package/package.json +165 -32
- package/types/line-handler.d.ts +1 -1
- package/types/line-type.d.ts +1 -1
- package/bundles/taiga-ui-addon-charts-components-arc-chart.umd.js +0 -508
- package/bundles/taiga-ui-addon-charts-components-arc-chart.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-axes.umd.js +0 -158
- package/bundles/taiga-ui-addon-charts-components-axes.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-bar-chart.umd.js +0 -477
- package/bundles/taiga-ui-addon-charts-components-bar-chart.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-bar-set.umd.js +0 -438
- package/bundles/taiga-ui-addon-charts-components-bar-set.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-bar.umd.js +0 -411
- package/bundles/taiga-ui-addon-charts-components-bar.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-legend-item.umd.js +0 -103
- package/bundles/taiga-ui-addon-charts-components-legend-item.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-line-chart.umd.js +0 -726
- package/bundles/taiga-ui-addon-charts-components-line-chart.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-line-days-chart.umd.js +0 -685
- package/bundles/taiga-ui-addon-charts-components-line-days-chart.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-pie-chart.umd.js +0 -611
- package/bundles/taiga-ui-addon-charts-components-pie-chart.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components-ring-chart.umd.js +0 -97
- package/bundles/taiga-ui-addon-charts-components-ring-chart.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-components.umd.js +0 -75
- package/bundles/taiga-ui-addon-charts-components.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-constants.umd.js +0 -24
- package/bundles/taiga-ui-addon-charts-constants.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-interfaces.umd.js +0 -11
- package/bundles/taiga-ui-addon-charts-interfaces.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-types.umd.js +0 -11
- package/bundles/taiga-ui-addon-charts-types.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts-utils.umd.js +0 -422
- package/bundles/taiga-ui-addon-charts-utils.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-charts.umd.js +0 -39
- package/bundles/taiga-ui-addon-charts.umd.js.map +0 -1
- package/components/arc-chart/package.json +0 -10
- package/components/arc-chart/taiga-ui-addon-charts-components-arc-chart.d.ts +0 -5
- package/components/axes/package.json +0 -10
- package/components/axes/taiga-ui-addon-charts-components-axes.d.ts +0 -5
- package/components/bar/package.json +0 -10
- package/components/bar/taiga-ui-addon-charts-components-bar.d.ts +0 -5
- package/components/bar-chart/package.json +0 -10
- package/components/bar-chart/taiga-ui-addon-charts-components-bar-chart.d.ts +0 -5
- package/components/bar-set/package.json +0 -10
- package/components/bar-set/taiga-ui-addon-charts-components-bar-set.d.ts +0 -5
- package/components/legend-item/package.json +0 -10
- package/components/legend-item/taiga-ui-addon-charts-components-legend-item.d.ts +0 -5
- package/components/line-chart/package.json +0 -10
- package/components/line-chart/taiga-ui-addon-charts-components-line-chart.d.ts +0 -5
- package/components/line-days-chart/package.json +0 -10
- package/components/line-days-chart/taiga-ui-addon-charts-components-line-days-chart.d.ts +0 -5
- package/components/package.json +0 -10
- package/components/pie-chart/package.json +0 -10
- package/components/pie-chart/taiga-ui-addon-charts-components-pie-chart.d.ts +0 -5
- package/components/ring-chart/package.json +0 -10
- package/components/ring-chart/taiga-ui-addon-charts-components-ring-chart.d.ts +0 -5
- package/components/taiga-ui-addon-charts-components.d.ts +0 -5
- package/constants/package.json +0 -10
- package/constants/taiga-ui-addon-charts-constants.d.ts +0 -5
- package/esm2015/components/arc-chart/arc-chart.component.js +0 -123
- package/esm2015/components/axes/axes.component.js +0 -90
- package/esm2015/components/bar-chart/bar-chart.component.js +0 -82
- package/esm2015/components/bar-set/bar-set.component.js +0 -57
- package/esm2015/components/legend-item/legend-item.component.js +0 -46
- package/esm2015/components/line-chart/line-chart-hint.directive.js +0 -79
- package/esm2015/components/line-chart/line-chart.component.js +0 -198
- package/esm2015/components/line-days-chart/line-days-chart-hint.directive.js +0 -78
- package/esm2015/components/pie-chart/pie-chart.component.js +0 -136
- package/esm2015/components/pie-chart/pie-chart.directive.js +0 -62
- package/esm2015/components/ring-chart/ring-chart.component.js +0 -44
- package/fesm2015/taiga-ui-addon-charts-components-arc-chart.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-axes.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-bar-chart.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-bar-set.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-bar.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-legend-item.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-line-chart.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-line-days-chart.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-pie-chart.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components-ring-chart.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-components.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-constants.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-interfaces.js +0 -4
- package/fesm2015/taiga-ui-addon-charts-interfaces.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-types.js +0 -4
- package/fesm2015/taiga-ui-addon-charts-types.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts-utils.js.map +0 -1
- package/fesm2015/taiga-ui-addon-charts.js.map +0 -1
- package/interfaces/package.json +0 -10
- package/interfaces/taiga-ui-addon-charts-interfaces.d.ts +0 -5
- package/taiga-ui-addon-charts.d.ts +0 -5
- package/types/package.json +0 -10
- package/types/taiga-ui-addon-charts-types.d.ts +0 -5
- package/utils/package.json +0 -10
- package/utils/taiga-ui-addon-charts-utils.d.ts +0 -5
- /package/{esm2015/components/arc-chart/index.js → esm2020/components/arc-chart/index.mjs} +0 -0
- /package/{esm2015/components/arc-chart/taiga-ui-addon-charts-components-arc-chart.js → esm2020/components/arc-chart/taiga-ui-addon-charts-components-arc-chart.mjs} +0 -0
- /package/{esm2015/components/axes/index.js → esm2020/components/axes/index.mjs} +0 -0
- /package/{esm2015/components/axes/taiga-ui-addon-charts-components-axes.js → esm2020/components/axes/taiga-ui-addon-charts-components-axes.mjs} +0 -0
- /package/{esm2015/components/bar/index.js → esm2020/components/bar/index.mjs} +0 -0
- /package/{esm2015/components/bar/taiga-ui-addon-charts-components-bar.js → esm2020/components/bar/taiga-ui-addon-charts-components-bar.mjs} +0 -0
- /package/{esm2015/components/bar-chart/index.js → esm2020/components/bar-chart/index.mjs} +0 -0
- /package/{esm2015/components/bar-chart/taiga-ui-addon-charts-components-bar-chart.js → esm2020/components/bar-chart/taiga-ui-addon-charts-components-bar-chart.mjs} +0 -0
- /package/{esm2015/components/bar-set/index.js → esm2020/components/bar-set/index.mjs} +0 -0
- /package/{esm2015/components/bar-set/taiga-ui-addon-charts-components-bar-set.js → esm2020/components/bar-set/taiga-ui-addon-charts-components-bar-set.mjs} +0 -0
- /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
- /package/{esm2015/components/legend-item/index.js → esm2020/components/legend-item/index.mjs} +0 -0
- /package/{esm2015/components/legend-item/taiga-ui-addon-charts-components-legend-item.js → esm2020/components/legend-item/taiga-ui-addon-charts-components-legend-item.mjs} +0 -0
- /package/{esm2015/components/line-chart/index.js → esm2020/components/line-chart/index.mjs} +0 -0
- /package/{esm2015/components/line-chart/line-chart.options.js → esm2020/components/line-chart/line-chart.options.mjs} +0 -0
- /package/{esm2015/components/line-chart/taiga-ui-addon-charts-components-line-chart.js → esm2020/components/line-chart/taiga-ui-addon-charts-components-line-chart.mjs} +0 -0
- /package/{esm2015/components/line-days-chart/index.js → esm2020/components/line-days-chart/index.mjs} +0 -0
- /package/{esm2015/components/line-days-chart/taiga-ui-addon-charts-components-line-days-chart.js → esm2020/components/line-days-chart/taiga-ui-addon-charts-components-line-days-chart.mjs} +0 -0
- /package/{esm2015/components/pie-chart/index.js → esm2020/components/pie-chart/index.mjs} +0 -0
- /package/{esm2015/components/pie-chart/taiga-ui-addon-charts-components-pie-chart.js → esm2020/components/pie-chart/taiga-ui-addon-charts-components-pie-chart.mjs} +0 -0
- /package/{esm2015/components/ring-chart/index.js → esm2020/components/ring-chart/index.mjs} +0 -0
- /package/{esm2015/components/ring-chart/taiga-ui-addon-charts-components-ring-chart.js → esm2020/components/ring-chart/taiga-ui-addon-charts-components-ring-chart.mjs} +0 -0
- /package/{esm2015/components/taiga-ui-addon-charts-components.js → esm2020/components/taiga-ui-addon-charts-components.mjs} +0 -0
- /package/{esm2015/constants/index.js → esm2020/constants/index.mjs} +0 -0
- /package/{esm2015/constants/line-handlers.js → esm2020/constants/line-handlers.mjs} +0 -0
- /package/{esm2015/constants/taiga-ui-addon-charts-constants.js → esm2020/constants/taiga-ui-addon-charts-constants.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
- /package/{esm2015/interfaces/line-chart-hint-context.js → esm2020/interfaces/line-chart-hint-context.mjs} +0 -0
- /package/{esm2015/interfaces/taiga-ui-addon-charts-interfaces.js → esm2020/interfaces/taiga-ui-addon-charts-interfaces.mjs} +0 -0
- /package/{esm2015/taiga-ui-addon-charts.js → esm2020/taiga-ui-addon-charts.mjs} +0 -0
- /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
- /package/{esm2015/types/line-handler.js → esm2020/types/line-handler.mjs} +0 -0
- /package/{esm2015/types/line-type.js → esm2020/types/line-type.mjs} +0 -0
- /package/{esm2015/types/taiga-ui-addon-charts-types.js → esm2020/types/taiga-ui-addon-charts-types.mjs} +0 -0
- /package/{esm2015/utils/control-point.js → esm2020/utils/control-point.mjs} +0 -0
- /package/{esm2015/utils/describe-sector.js → esm2020/utils/describe-sector.mjs} +0 -0
- /package/{esm2015/utils/draw-curve.js → esm2020/utils/draw-curve.mjs} +0 -0
- /package/{esm2015/utils/draw-line.js → esm2020/utils/draw-line.mjs} +0 -0
- /package/{esm2015/utils/draw.js → esm2020/utils/draw.mjs} +0 -0
- /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
- /package/{esm2015/utils/line-angle.js → esm2020/utils/line-angle.mjs} +0 -0
- /package/{esm2015/utils/prepare-external-url.js → esm2020/utils/prepare-external-url.mjs} +0 -0
- /package/{esm2015/utils/taiga-ui-addon-charts-utils.js → esm2020/utils/taiga-ui-addon-charts-utils.mjs} +0 -0
|
@@ -25,5 +25,5 @@ export declare class TuiArcChartComponent {
|
|
|
25
25
|
getOffset(index: number): number;
|
|
26
26
|
getColor(index: number): SafeValue;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiArcChartComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiArcChartComponent, "tui-arc-chart", never, { "value": "value"; "size": "size"; "max": "max"; "minLabel": "minLabel"; "maxLabel": "maxLabel"; "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, ["*"]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiArcChartComponent, "tui-arc-chart", never, { "value": "value"; "size": "size"; "max": "max"; "minLabel": "minLabel"; "maxLabel": "maxLabel"; "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, ["*"], false, never>;
|
|
29
29
|
}
|
|
@@ -24,5 +24,5 @@ export declare class TuiAxesComponent {
|
|
|
24
24
|
get hasYSecondaryLabels(): boolean;
|
|
25
25
|
fallback(label: string | null): string;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAxesComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAxesComponent, "tui-axes", never, { "axisX": "axisX"; "axisXLabels": "axisXLabels"; "axisY": "axisY"; "axisYInset": "axisYInset"; "axisYLabels": "axisYLabels"; "axisYName": "axisYName"; "axisYSecondaryInset": "axisYSecondaryInset"; "axisYSecondaryLabels": "axisYSecondaryLabels"; "axisYSecondaryName": "axisYSecondaryName"; "horizontalLines": "horizontalLines"; "horizontalLinesHandler": "horizontalLinesHandler"; "verticalLines": "verticalLines"; "verticalLinesHandler": "verticalLinesHandler"; }, {}, never, ["*"]>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAxesComponent, "tui-axes", never, { "axisX": "axisX"; "axisXLabels": "axisXLabels"; "axisY": "axisY"; "axisYInset": "axisYInset"; "axisYLabels": "axisYLabels"; "axisYName": "axisYName"; "axisYSecondaryInset": "axisYSecondaryInset"; "axisYSecondaryLabels": "axisYSecondaryLabels"; "axisYSecondaryName": "axisYSecondaryName"; "horizontalLines": "horizontalLines"; "horizontalLinesHandler": "horizontalLinesHandler"; "verticalLines": "verticalLines"; "verticalLinesHandler": "verticalLinesHandler"; }, {}, never, ["*"], false, never>;
|
|
28
28
|
}
|
|
@@ -8,5 +8,5 @@ export declare class TuiBarComponent {
|
|
|
8
8
|
getColor(index: number): SafeValue;
|
|
9
9
|
private getSum;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiBarComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBarComponent, "tui-bar", never, { "value": "value"; "size": "size"; }, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBarComponent, "tui-bar", never, { "value": "value"; "size": "size"; }, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -21,5 +21,5 @@ export declare class TuiBarChartComponent {
|
|
|
21
21
|
private transpose;
|
|
22
22
|
private getMax;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiBarChartComponent, [{ optional: true; }, null]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBarChartComponent, "tui-bar-chart", never, { "value": "value"; "max": "max"; "size": "size"; "collapsed": "collapsed"; }, {}, never, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBarChartComponent, "tui-bar-chart", never, { "value": "value"; "max": "max"; "size": "size"; "collapsed": "collapsed"; }, {}, never, never, false, never>;
|
|
25
25
|
}
|
|
@@ -12,5 +12,5 @@ export declare class TuiBarSetComponent {
|
|
|
12
12
|
getColor(index: number): SafeValue;
|
|
13
13
|
private getLargest;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiBarSetComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBarSetComponent, "tui-bar-set", never, { "value": "value"; "size": "size"; "collapsed": "collapsed"; }, {}, never, ["*"]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBarSetComponent, "tui-bar-set", never, { "value": "value"; "size": "size"; "collapsed": "collapsed"; }, {}, never, ["*"], false, never>;
|
|
16
16
|
}
|
|
@@ -8,5 +8,5 @@ export declare class TuiLegendItemComponent {
|
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
get computedColor(): string | null;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLegendItemComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLegendItemComponent, "tui-legend-item", never, { "active": "active"; "color": "color"; "text": "text"; "size": "size"; "disabled": "disabled"; }, {}, never, ["tui-primitive-checkbox", "*"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLegendItemComponent, "tui-legend-item", never, { "active": "active"; "color": "color"; "text": "text"; "size": "size"; "disabled": "disabled"; }, {}, never, ["tui-primitive-checkbox", "*"], false, never>;
|
|
12
12
|
}
|
|
@@ -19,7 +19,7 @@ export declare class TuiLineChartHintDirective implements AfterViewInit {
|
|
|
19
19
|
raise(index: number, _chart: TuiLineChartComponent): void;
|
|
20
20
|
private computeContext;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLineChartHintDirective, [null, { self: true; }, null, null]>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLineChartHintDirective, "[tuiLineChartHint]", never, { "hint": "tuiLineChartHint"; }, {}, ["charts", "chartsRef"]>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLineChartHintDirective, "[tuiLineChartHint]", never, { "hint": "tuiLineChartHint"; }, {}, ["charts", "chartsRef"], never, false, never>;
|
|
23
23
|
}
|
|
24
24
|
export declare function tuiLineChartDrivers(charts: QueryList<{
|
|
25
25
|
drivers: QueryList<Observable<boolean>>;
|
|
@@ -51,5 +51,5 @@ export declare class TuiLineChartComponent {
|
|
|
51
51
|
private getD;
|
|
52
52
|
private computeWidth;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLineChartComponent, [null, null, { optional: true; }, { optional: true; }, null]>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLineChartComponent, "tui-line-chart", never, { "valueSetter": "value"; "x": "x"; "y": "y"; "width": "width"; "height": "height"; "smoothingFactor": "smoothingFactor"; "xStringify": "xStringify"; "yStringify": "yStringify"; "filled": "filled"; "dots": "dots"; }, {}, never, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLineChartComponent, "tui-line-chart", never, { "valueSetter": "value"; "x": "x"; "y": "y"; "width": "width"; "height": "height"; "smoothingFactor": "smoothingFactor"; "xStringify": "xStringify"; "yStringify": "yStringify"; "filled": "filled"; "dots": "dots"; }, {}, never, never, false, never>;
|
|
55
55
|
}
|
|
@@ -16,5 +16,5 @@ export declare class TuiLineDaysChartHintDirective implements AfterContentInit {
|
|
|
16
16
|
raise(day: TuiDay): void;
|
|
17
17
|
private getMap;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLineDaysChartHintDirective, [{ self: true; }, null, null]>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLineDaysChartHintDirective, "[tuiLineChartHint]", never, { "hint": "tuiLineChartHint"; }, {}, ["charts"]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLineDaysChartHintDirective, "[tuiLineChartHint]", never, { "hint": "tuiLineChartHint"; }, {}, ["charts"], never, false, never>;
|
|
20
20
|
}
|
|
@@ -38,5 +38,5 @@ export declare class TuiLineDaysChartComponent implements AfterViewInit {
|
|
|
38
38
|
private breakMonths;
|
|
39
39
|
private getDay;
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLineDaysChartComponent, [{ optional: true; }, { self: true; }, null, null, null]>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLineDaysChartComponent, "tui-line-days-chart", never, { "valueSetter": "value"; "y": "y"; "height": "height"; "smoothingFactor": "smoothingFactor"; "hintContent": "hintContent"; "xStringify": "xStringify"; "yStringify": "yStringify"; "dots": "dots"; }, {}, never, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLineDaysChartComponent, "tui-line-days-chart", never, { "valueSetter": "value"; "y": "y"; "height": "height"; "smoothingFactor": "smoothingFactor"; "hintContent": "hintContent"; "xStringify": "xStringify"; "yStringify": "yStringify"; "dots": "dots"; }, {}, never, never, false, never>;
|
|
42
42
|
}
|
|
@@ -27,5 +27,5 @@ export declare class TuiPieChartComponent {
|
|
|
27
27
|
private getDeg;
|
|
28
28
|
private updateActiveItemIndex;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPieChartComponent, [null, { optional: true; }]>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPieChartComponent, "tui-pie-chart", never, { "value": "value"; "size": "size"; "masked": "masked"; "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPieChartComponent, "tui-pie-chart", never, { "value": "value"; "size": "size"; "masked": "masked"; "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, never, false, never>;
|
|
31
31
|
}
|
|
@@ -6,5 +6,5 @@ export declare class TuiPieChartDirective {
|
|
|
6
6
|
set tuiPieChart(sector: readonly [number, number]);
|
|
7
7
|
constructor({ nativeElement }: ElementRef<SVGPathElement>, zone: NgZone, destroy$: Observable<unknown>, performance: Performance, animationFrame$: Observable<number>, duration: number);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPieChartDirective, [null, null, { self: true; }, null, null, null]>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPieChartDirective, "path[tuiPieChart]", never, { "tuiPieChart": "tuiPieChart"; }, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPieChartDirective, "path[tuiPieChart]", never, { "tuiPieChart": "tuiPieChart"; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -9,5 +9,5 @@ export declare class TuiRingChartComponent {
|
|
|
9
9
|
onActiveItemIndexChange(index: number): void;
|
|
10
10
|
private updateActiveItemIndex;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRingChartComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiRingChartComponent, "tui-ring-chart", never, { "value": "value"; "size": "size"; "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, ["*"]>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiRingChartComponent, "tui-ring-chart", never, { "value": "value"; "size": "size"; "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, ["*"], false, never>;
|
|
13
13
|
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, Inject, Input, Output, ViewChildren, } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import { tuiTypedFromEvent } from '@taiga-ui/cdk';
|
|
4
|
+
import { map, merge, ReplaySubject, startWith, switchMap, tap } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
7
|
+
import * as i2 from "@angular/platform-browser";
|
|
8
|
+
// 3/4 with 1% safety offset
|
|
9
|
+
const ARC = 0.76;
|
|
10
|
+
const SIZE = {
|
|
11
|
+
m: 9,
|
|
12
|
+
l: 11,
|
|
13
|
+
xl: 16,
|
|
14
|
+
};
|
|
15
|
+
const WIDTH = {
|
|
16
|
+
m: 0.25,
|
|
17
|
+
l: 0.375,
|
|
18
|
+
xl: 0.5625,
|
|
19
|
+
};
|
|
20
|
+
const GAP = {
|
|
21
|
+
m: 0.125,
|
|
22
|
+
l: 0.1875,
|
|
23
|
+
xl: 0.25,
|
|
24
|
+
};
|
|
25
|
+
function arcsToIndex(arcs) {
|
|
26
|
+
return arcs.map(({ nativeElement }, index) => merge(tuiTypedFromEvent(nativeElement, 'mouseenter').pipe(map(() => index)), tuiTypedFromEvent(nativeElement, 'mouseleave').pipe(map(() => NaN))));
|
|
27
|
+
}
|
|
28
|
+
export class TuiArcChartComponent {
|
|
29
|
+
set arcs(arcs) {
|
|
30
|
+
this.arcs$.next(arcs);
|
|
31
|
+
}
|
|
32
|
+
constructor(sanitizer, cdr) {
|
|
33
|
+
this.sanitizer = sanitizer;
|
|
34
|
+
this.arcs$ = new ReplaySubject(1);
|
|
35
|
+
this.value = [];
|
|
36
|
+
this.size = 'm';
|
|
37
|
+
this.max = 100;
|
|
38
|
+
this.minLabel = '0%';
|
|
39
|
+
this.maxLabel = '100%';
|
|
40
|
+
this.activeItemIndex = NaN;
|
|
41
|
+
this.activeItemIndexChange = this.arcs$.pipe(switchMap(arcs => arcs.changes.pipe(startWith(null), switchMap(() => merge(...arcsToIndex(arcs))))), tap(index => {
|
|
42
|
+
this.activeItemIndex = index;
|
|
43
|
+
}));
|
|
44
|
+
this.initialized = false;
|
|
45
|
+
// So initial animation works
|
|
46
|
+
setTimeout(() => {
|
|
47
|
+
this.initialized = true;
|
|
48
|
+
cdr.markForCheck();
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
get width() {
|
|
52
|
+
return SIZE[this.size];
|
|
53
|
+
}
|
|
54
|
+
get strokeWidth() {
|
|
55
|
+
return WIDTH[this.size];
|
|
56
|
+
}
|
|
57
|
+
isInactive(index) {
|
|
58
|
+
return !Number.isNaN(this.activeItemIndex) && index !== this.activeItemIndex;
|
|
59
|
+
}
|
|
60
|
+
getInset(index) {
|
|
61
|
+
return this.strokeWidth / 2 + index * (this.strokeWidth + GAP[this.size]);
|
|
62
|
+
}
|
|
63
|
+
getDiameter(index) {
|
|
64
|
+
return SIZE[this.size] - 2 * this.getInset(index);
|
|
65
|
+
}
|
|
66
|
+
getLength(index) {
|
|
67
|
+
return Math.PI * this.getDiameter(index) * ARC;
|
|
68
|
+
}
|
|
69
|
+
getOffset(index) {
|
|
70
|
+
return this.getLength(index) * (1 - Math.min(this.value[index] / this.max, 1));
|
|
71
|
+
}
|
|
72
|
+
getColor(index) {
|
|
73
|
+
return this.sanitizer.bypassSecurityTrustStyle(`var(--tui-chart-${index}, var(--tui-support-0${index + 1}))`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
TuiArcChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiArcChartComponent, deps: [{ token: DomSanitizer }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
+
TuiArcChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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, template: "<svg\n *tuiRepeatTimes=\"let index of value.length\"\n focusable=\"false\"\n viewBox=\"-100 -100 200 200\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-svg\"\n [style.height.em]=\"getDiameter(index)\"\n [style.left.em]=\"getInset(index)\"\n [style.top.em]=\"getInset(index)\"\n [style.width.em]=\"getDiameter(index)\"\n>\n <path\n d=\"M -70 70 A 100 100 0 1 1 70 70\"\n vector-effect=\"non-scaling-stroke\"\n />\n <path\n #arc\n d=\"M -70 70 A 100 100 0 1 1 70 70\"\n vector-effect=\"non-scaling-stroke\"\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\">\n <ng-content></ng-content>\n </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: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: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)}\n"], dependencies: [{ kind: "directive", type: i1.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiArcChartComponent, decorators: [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{ selector: 'tui-arc-chart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg\n *tuiRepeatTimes=\"let index of value.length\"\n focusable=\"false\"\n viewBox=\"-100 -100 200 200\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-svg\"\n [style.height.em]=\"getDiameter(index)\"\n [style.left.em]=\"getInset(index)\"\n [style.top.em]=\"getInset(index)\"\n [style.width.em]=\"getDiameter(index)\"\n>\n <path\n d=\"M -70 70 A 100 100 0 1 1 70 70\"\n vector-effect=\"non-scaling-stroke\"\n />\n <path\n #arc\n d=\"M -70 70 A 100 100 0 1 1 70 70\"\n vector-effect=\"non-scaling-stroke\"\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\">\n <ng-content></ng-content>\n </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: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: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)}\n"] }]
|
|
81
|
+
}], ctorParameters: function () { return [{ type: i2.DomSanitizer, decorators: [{
|
|
82
|
+
type: Inject,
|
|
83
|
+
args: [DomSanitizer]
|
|
84
|
+
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
85
|
+
type: Inject,
|
|
86
|
+
args: [ChangeDetectorRef]
|
|
87
|
+
}] }]; }, propDecorators: { arcs: [{
|
|
88
|
+
type: ViewChildren,
|
|
89
|
+
args: ['arc']
|
|
90
|
+
}], value: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], size: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}, {
|
|
95
|
+
type: HostBinding,
|
|
96
|
+
args: ['attr.data-size']
|
|
97
|
+
}], max: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}], minLabel: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], maxLabel: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], activeItemIndex: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], activeItemIndexChange: [{
|
|
106
|
+
type: Output
|
|
107
|
+
}], width: [{
|
|
108
|
+
type: HostBinding,
|
|
109
|
+
args: ['style.width.rem']
|
|
110
|
+
}, {
|
|
111
|
+
type: HostBinding,
|
|
112
|
+
args: ['style.height.rem']
|
|
113
|
+
}], strokeWidth: [{
|
|
114
|
+
type: HostBinding,
|
|
115
|
+
args: ['style.strokeWidth.rem']
|
|
116
|
+
}] } });
|
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJjLWNoYXJ0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FkZG9uLWNoYXJ0cy9jb21wb25lbnRzL2FyYy1jaGFydC9hcmMtY2hhcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWRkb24tY2hhcnRzL2NvbXBvbmVudHMvYXJjLWNoYXJ0L2FyYy1jaGFydC50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUF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ZjxTVkdFbGVtZW50Pj4pIHtcbiAgICAgICAgdGhpcy5hcmNzJC5uZXh0KGFyY3MpO1xuICAgIH1cblxuICAgIEBJbnB1dCgpXG4gICAgdmFsdWU6IHJlYWRvbmx5IG51bWJlcltdID0gW107XG5cbiAgICBASW5wdXQoKVxuICAgIEBIb3N0QmluZGluZygnYXR0ci5kYXRhLXNpemUnKVxuICAgIHNpemU6IFR1aVNpemVYTCA9ICdtJztcblxuICAgIEBJbnB1dCgpXG4gICAgbWF4ID0gMTAwO1xuXG4gICAgQElucHV0KClcbiAgICBtaW5MYWJlbCA9ICcwJSc7XG5cbiAgICBASW5wdXQoKVxuICAgIG1heExhYmVsID0gJzEwMCUnO1xuXG4gICAgQElucHV0KClcbiAgICBhY3RpdmVJdGVtSW5kZXggPSBOYU47XG5cbiAgICBAT3V0cHV0KClcbiAgICByZWFkb25seSBhY3RpdmVJdGVtSW5kZXhDaGFuZ2UgPSB0aGlzLmFyY3MkLnBpcGUoXG4gICAgICAgIHN3aXRjaE1hcChhcmNzID0+XG4gICAgICAgICAgICBhcmNzLmNoYW5nZXMucGlwZShcbiAgICAgICAgICAgICAgICBzdGFydFdpdGgobnVsbCksXG4gICAgICAgICAgICAgICAgc3dpdGNoTWFwKCgpID0+IG1lcmdlKC4uLmFyY3NUb0luZGV4KGFyY3MpKSksXG4gICAgICAgICAgICApLFxuICAgICAgICApLFxuICAgICAgICB0YXAoaW5kZXggPT4ge1xuICAgICAgICAgICAgdGhpcy5hY3RpdmVJdGVtSW5kZXggPSBpbmRleDtcbiAgICAgICAgfSksXG4gICAgKTtcblxuICAgIGluaXRpYWxpemVkID0gZmFsc2U7XG5cbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgQEluamVjdChEb21TYW5pdGl6ZXIpIHByaXZhdGUgcmVhZG9ubHkgc2FuaXRpemVyOiBEb21TYW5pdGl6ZXIsXG4gICAgICAgIEBJbmplY3QoQ2hhbmdlRGV0ZWN0b3JSZWYpIGNkcjogQ2h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BBIDEwMCAxMDAgMCAxIDEgNzAgNzBcIlxuICAgICAgICB2ZWN0b3ItZWZmZWN0PVwibm9uLXNjYWxpbmctc3Ryb2tlXCJcbiAgICAvPlxuICAgIDxwYXRoXG4gICAgICAgICNhcmNcbiAgICAgICAgZD1cIk0gLTcwIDcwIEEgMTAwIDEwMCAwIDEgMSA3MCA3MFwiXG4gICAgICAgIHZlY3Rvci1lZmZlY3Q9XCJub24tc2NhbGluZy1zdHJva2VcIlxuICAgICAgICBjbGFzcz1cInQtdmFsdWVcIlxuICAgICAgICBbY2xhc3MudC12YWx1ZV9pbmFjdGl2ZV09XCJpc0luYWN0aXZlKGluZGV4KVwiXG4gICAgICAgIFtzdHlsZS5zdHJva2VdPVwiZ2V0Q29sb3IoaW5kZXgpXCJcbiAgICAgICAgW3N0eWxlLnN0cm9rZURhc2hhcnJheS5lbV09XCJnZXRMZW5ndGgoaW5kZXgpXCJcbiAgICAgICAgW3N0eWxlLnN0cm9rZURhc2hvZmZzZXQuZW1dPVwiaW5pdGlhbGl6ZWQgPyBnZXRPZmZzZXQoaW5kZXgpIDogZ2V0TGVuZ3RoKGluZGV4KVwiXG4gICAgLz5cbjwvc3ZnPlxuPGRpdiBjbGFzcz1cInQtY29udGVudFwiPlxuICAgIDxkaXYgY2xhc3M9XCJ0LXdyYXBwZXJcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuPC9kaXY+XG48ZGl2IGNsYXNzPVwidC1wZXJjZW50XCI+XG4gICAgPHNwYW4+e3sgbWluTGFiZWwgfX08L3NwYW4+XG4gICAgPHNwYW4+e3sgbWF4TGFiZWwgfX08L3NwYW4+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -4,10 +4,10 @@ import { TuiArcChartComponent } from './arc-chart.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class TuiArcChartModule {
|
|
6
6
|
}
|
|
7
|
-
TuiArcChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
TuiArcChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9
|
-
TuiArcChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7
|
+
TuiArcChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiArcChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
TuiArcChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiArcChartModule, declarations: [TuiArcChartComponent], imports: [TuiRepeatTimesModule], exports: [TuiArcChartComponent] });
|
|
9
|
+
TuiArcChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiArcChartModule, imports: [TuiRepeatTimesModule] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiArcChartModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
imports: [TuiRepeatTimesModule],
|
|
@@ -15,4 +15,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15
15
|
exports: [TuiArcChartComponent],
|
|
16
16
|
}]
|
|
17
17
|
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJjLWNoYXJ0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FkZG9uLWNoYXJ0cy9jb21wb25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biJdfQ==
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, Inject, Input, } from '@angular/core';
|
|
2
|
+
import { TUI_ALWAYS_DASHED, TUI_ALWAYS_SOLID } from '@taiga-ui/addon-charts/constants';
|
|
3
|
+
import { CHAR_NO_BREAK_SPACE } from '@taiga-ui/cdk';
|
|
4
|
+
import { MODE_PROVIDER, TUI_MODE } from '@taiga-ui/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@taiga-ui/cdk";
|
|
8
|
+
import * as i3 from "rxjs";
|
|
9
|
+
export class TuiAxesComponent {
|
|
10
|
+
get centeredXLabels() {
|
|
11
|
+
return this.axisY === 'none';
|
|
12
|
+
}
|
|
13
|
+
constructor(mode$) {
|
|
14
|
+
this.mode$ = mode$;
|
|
15
|
+
this.axisX = 'solid';
|
|
16
|
+
this.axisXLabels = [];
|
|
17
|
+
this.axisY = 'solid';
|
|
18
|
+
this.axisYInset = false;
|
|
19
|
+
this.axisYLabels = [];
|
|
20
|
+
this.axisYName = '';
|
|
21
|
+
this.axisYSecondaryInset = false;
|
|
22
|
+
this.axisYSecondaryLabels = [];
|
|
23
|
+
this.axisYSecondaryName = '';
|
|
24
|
+
this.horizontalLines = 0;
|
|
25
|
+
this.horizontalLinesHandler = TUI_ALWAYS_SOLID;
|
|
26
|
+
this.verticalLines = 0;
|
|
27
|
+
this.verticalLinesHandler = TUI_ALWAYS_DASHED;
|
|
28
|
+
}
|
|
29
|
+
get hasXLabels() {
|
|
30
|
+
return !!this.axisXLabels.length;
|
|
31
|
+
}
|
|
32
|
+
get hasYLabels() {
|
|
33
|
+
return (!!this.axisYLabels.length && !this.axisYInset) || !!this.axisYName;
|
|
34
|
+
}
|
|
35
|
+
get hasYSecondaryLabels() {
|
|
36
|
+
return ((!!this.axisYSecondaryLabels.length && !this.axisYSecondaryInset) ||
|
|
37
|
+
!!this.axisYSecondaryName);
|
|
38
|
+
}
|
|
39
|
+
fallback(label) {
|
|
40
|
+
return label || CHAR_NO_BREAK_SPACE;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
TuiAxesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAxesComponent, deps: [{ token: TUI_MODE }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
TuiAxesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiAxesComponent, selector: "tui-axes", inputs: { axisX: "axisX", axisXLabels: "axisXLabels", axisY: "axisY", axisYInset: "axisYInset", axisYLabels: "axisYLabels", axisYName: "axisYName", axisYSecondaryInset: "axisYSecondaryInset", axisYSecondaryLabels: "axisYSecondaryLabels", axisYSecondaryName: "axisYSecondaryName", horizontalLines: "horizontalLines", horizontalLinesHandler: "horizontalLinesHandler", verticalLines: "verticalLines", verticalLinesHandler: "verticalLinesHandler" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "class._centered": "this.centeredXLabels" } }, providers: [MODE_PROVIDER], ngImport: i0, template: "<div\n *ngIf=\"hasYLabels\"\n class=\"t-side\"\n [class.t-side_padding]=\"hasXLabels\"\n>\n <div\n *ngIf=\"axisYName\"\n automation-id=\"tui-axex__axis-y-name\"\n class=\"t-name t-name_primary\"\n >\n {{ axisYName }}\n </div>\n <div\n *ngIf=\"!axisYInset\"\n class=\"t-labels-y t-labels-y_primary\"\n >\n <div\n *ngFor=\"let label of axisYLabels\"\n automation-id=\"tui-axex__axis-y-label\"\n class=\"t-label-y\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n</div>\n<div class=\"t-wrapper\">\n <div\n class=\"t-grid\"\n [style.borderBottomStyle]=\"axisX\"\n [style.borderLeftStyle]=\"axisY\"\n >\n <div class=\"t-vertical\">\n <div\n *tuiRepeatTimes=\"let index of verticalLines\"\n automation-id=\"tui-axex__vertical-line\"\n class=\"t-line t-line_vertical\"\n [style.borderRightStyle]=\"verticalLinesHandler(index, verticalLines)\"\n ></div>\n </div>\n <div class=\"t-horizontal\">\n <div\n *tuiRepeatTimes=\"let index of horizontalLines\"\n automation-id=\"tui-axex__horizontal-line\"\n class=\"t-line\"\n [style.borderTopStyle]=\"horizontalLinesHandler(index, horizontalLines)\"\n ></div>\n </div>\n <div\n *ngIf=\"axisYInset\"\n class=\"t-labels-y t-labels-y_inset\"\n >\n <div\n *ngFor=\"let label of axisYLabels\"\n automation-id=\"tui-axex__axis-y-label\"\n class=\"t-label-y\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n <div\n *ngIf=\"axisYSecondaryInset\"\n class=\"t-labels-y t-labels-y_inset t-labels-y_inset_secondary\"\n >\n <div\n *ngFor=\"let label of axisYSecondaryLabels\"\n automation-id=\"tui-axex__axis-y-secondary-label\"\n class=\"t-label-y\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n <div class=\"t-content\">\n <ng-content></ng-content>\n </div>\n </div>\n <div\n *ngIf=\"hasXLabels\"\n class=\"t-labels-x\"\n >\n <div\n *ngFor=\"let label of axisXLabels\"\n automation-id=\"tui-axex__axis-x-label\"\n class=\"t-label-x\"\n [class.t-label-x_transparent]=\"label === null\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n</div>\n<div\n *ngIf=\"hasYSecondaryLabels\"\n class=\"t-side\"\n [class.t-side_padding]=\"hasXLabels\"\n>\n <div\n *ngIf=\"!axisYSecondaryInset\"\n class=\"t-labels-y t-labels-y_secondary\"\n >\n <div\n *ngFor=\"let label of axisYSecondaryLabels\"\n automation-id=\"tui-axex__axis-y-secondary-label\"\n class=\"t-label-y\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n <div\n *ngIf=\"axisYSecondaryName\"\n automation-id=\"tui-axex__axis-y-secondary-name\"\n class=\"t-name\"\n >\n {{ axisYSecondaryName }}\n </div>\n</div>\n", styles: [":host{display:flex}.t-wrapper{display:flex;flex:1;height:100%;flex-direction:column}.t-grid{position:relative;display:flex;flex:1;justify-content:space-around;align-items:flex-end;border-width:1px;border-color:var(--tui-base-03);isolation:isolate}:host[data-mode=onDark] .t-grid{border-color:#ffffff7a}:host[data-mode=onLight] .t-grid{border-color:#0000007a}.t-horizontal{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column}.t-vertical{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}:host._centered .t-vertical:after{content:\"\";display:block;flex:1 0 1px}.t-line{flex:2 0 1px;box-sizing:border-box;border-width:1px;border-color:var(--tui-base-03)}:host[data-mode=onDark] .t-line{border-color:#ffffff7a}:host[data-mode=onLight] .t-line{border-color:#0000007a}:host._centered .t-line_vertical:first-child{flex:1 0 1px;pointer-events:none}.t-side{display:flex;align-items:stretch}.t-side_padding{padding-bottom:2rem}.t-name{font:var(--tui-font-text-xs);writing-mode:tb;text-align:center;padding-left:.75rem;color:var(--tui-text-02)}.t-name_primary{transform:rotate(180deg)}:host[data-mode=onDark] .t-name{color:var(--tui-text-02-night)}.t-labels-y{display:flex;font:var(--tui-font-text-xs);flex-direction:column-reverse;justify-content:space-between;color:var(--tui-text-02)}:host[data-mode=onDark] .t-labels-y{color:var(--tui-text-02-night)}.t-labels-y_primary{text-align:right;padding-right:.75rem}.t-labels-y_secondary{padding-left:.75rem}.t-labels-y_transparent{border-color:transparent}.t-labels-y_inset{position:absolute;top:.5625rem;left:.25rem;bottom:-.75rem;pointer-events:none}.t-labels-y_inset_secondary{left:auto;right:.25rem;text-align:right}.t-labels-x{display:flex;font:var(--tui-font-text-xs);border-right:1px solid transparent;color:var(--tui-text-02)}.t-label-x{height:.4375rem;border-left:1px solid var(--tui-base-03);flex:1;margin-bottom:1.5625rem}:host[data-mode=onDark] .t-label-x{border-color:#ffffff7a}:host[data-mode=onLight] .t-label-x{border-color:#0000007a}.t-label-x:before{content:\"\";display:block;height:.5625rem}.t-label-x_transparent{border-color:transparent}:host._centered .t-label-x{height:2rem;text-align:center;border:none;margin:0}:host[new]:not(._centered) .t-label-x:last-child:not(:first-child){flex:.5;text-align:right;border-left:none}:host[new]:not(._centered) .t-label-x:nth-last-child(2){flex:.5}.t-label-y:first-child{margin-bottom:-.375rem}.t-label-y:last-child{margin-top:-.375rem}.t-content{position:absolute;top:0;left:-1px;right:0;bottom:-1px;display:flex;align-items:flex-end}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAxesComponent, decorators: [{
|
|
46
|
+
type: Component,
|
|
47
|
+
args: [{ selector: 'tui-axes', changeDetection: ChangeDetectionStrategy.OnPush, providers: [MODE_PROVIDER], host: {
|
|
48
|
+
'($.data-mode.attr)': 'mode$',
|
|
49
|
+
}, template: "<div\n *ngIf=\"hasYLabels\"\n class=\"t-side\"\n [class.t-side_padding]=\"hasXLabels\"\n>\n <div\n *ngIf=\"axisYName\"\n automation-id=\"tui-axex__axis-y-name\"\n class=\"t-name t-name_primary\"\n >\n {{ axisYName }}\n </div>\n <div\n *ngIf=\"!axisYInset\"\n class=\"t-labels-y t-labels-y_primary\"\n >\n <div\n *ngFor=\"let label of axisYLabels\"\n automation-id=\"tui-axex__axis-y-label\"\n class=\"t-label-y\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n</div>\n<div class=\"t-wrapper\">\n <div\n class=\"t-grid\"\n [style.borderBottomStyle]=\"axisX\"\n [style.borderLeftStyle]=\"axisY\"\n >\n <div class=\"t-vertical\">\n <div\n *tuiRepeatTimes=\"let index of verticalLines\"\n automation-id=\"tui-axex__vertical-line\"\n class=\"t-line t-line_vertical\"\n [style.borderRightStyle]=\"verticalLinesHandler(index, verticalLines)\"\n ></div>\n </div>\n <div class=\"t-horizontal\">\n <div\n *tuiRepeatTimes=\"let index of horizontalLines\"\n automation-id=\"tui-axex__horizontal-line\"\n class=\"t-line\"\n [style.borderTopStyle]=\"horizontalLinesHandler(index, horizontalLines)\"\n ></div>\n </div>\n <div\n *ngIf=\"axisYInset\"\n class=\"t-labels-y t-labels-y_inset\"\n >\n <div\n *ngFor=\"let label of axisYLabels\"\n automation-id=\"tui-axex__axis-y-label\"\n class=\"t-label-y\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n <div\n *ngIf=\"axisYSecondaryInset\"\n class=\"t-labels-y t-labels-y_inset t-labels-y_inset_secondary\"\n >\n <div\n *ngFor=\"let label of axisYSecondaryLabels\"\n automation-id=\"tui-axex__axis-y-secondary-label\"\n class=\"t-label-y\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n <div class=\"t-content\">\n <ng-content></ng-content>\n </div>\n </div>\n <div\n *ngIf=\"hasXLabels\"\n class=\"t-labels-x\"\n >\n <div\n *ngFor=\"let label of axisXLabels\"\n automation-id=\"tui-axex__axis-x-label\"\n class=\"t-label-x\"\n [class.t-label-x_transparent]=\"label === null\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n</div>\n<div\n *ngIf=\"hasYSecondaryLabels\"\n class=\"t-side\"\n [class.t-side_padding]=\"hasXLabels\"\n>\n <div\n *ngIf=\"!axisYSecondaryInset\"\n class=\"t-labels-y t-labels-y_secondary\"\n >\n <div\n *ngFor=\"let label of axisYSecondaryLabels\"\n automation-id=\"tui-axex__axis-y-secondary-label\"\n class=\"t-label-y\"\n >\n {{ fallback(label) }}\n </div>\n </div>\n <div\n *ngIf=\"axisYSecondaryName\"\n automation-id=\"tui-axex__axis-y-secondary-name\"\n class=\"t-name\"\n >\n {{ axisYSecondaryName }}\n </div>\n</div>\n", styles: [":host{display:flex}.t-wrapper{display:flex;flex:1;height:100%;flex-direction:column}.t-grid{position:relative;display:flex;flex:1;justify-content:space-around;align-items:flex-end;border-width:1px;border-color:var(--tui-base-03);isolation:isolate}:host[data-mode=onDark] .t-grid{border-color:#ffffff7a}:host[data-mode=onLight] .t-grid{border-color:#0000007a}.t-horizontal{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column}.t-vertical{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}:host._centered .t-vertical:after{content:\"\";display:block;flex:1 0 1px}.t-line{flex:2 0 1px;box-sizing:border-box;border-width:1px;border-color:var(--tui-base-03)}:host[data-mode=onDark] .t-line{border-color:#ffffff7a}:host[data-mode=onLight] .t-line{border-color:#0000007a}:host._centered .t-line_vertical:first-child{flex:1 0 1px;pointer-events:none}.t-side{display:flex;align-items:stretch}.t-side_padding{padding-bottom:2rem}.t-name{font:var(--tui-font-text-xs);writing-mode:tb;text-align:center;padding-left:.75rem;color:var(--tui-text-02)}.t-name_primary{transform:rotate(180deg)}:host[data-mode=onDark] .t-name{color:var(--tui-text-02-night)}.t-labels-y{display:flex;font:var(--tui-font-text-xs);flex-direction:column-reverse;justify-content:space-between;color:var(--tui-text-02)}:host[data-mode=onDark] .t-labels-y{color:var(--tui-text-02-night)}.t-labels-y_primary{text-align:right;padding-right:.75rem}.t-labels-y_secondary{padding-left:.75rem}.t-labels-y_transparent{border-color:transparent}.t-labels-y_inset{position:absolute;top:.5625rem;left:.25rem;bottom:-.75rem;pointer-events:none}.t-labels-y_inset_secondary{left:auto;right:.25rem;text-align:right}.t-labels-x{display:flex;font:var(--tui-font-text-xs);border-right:1px solid transparent;color:var(--tui-text-02)}.t-label-x{height:.4375rem;border-left:1px solid var(--tui-base-03);flex:1;margin-bottom:1.5625rem}:host[data-mode=onDark] .t-label-x{border-color:#ffffff7a}:host[data-mode=onLight] .t-label-x{border-color:#0000007a}.t-label-x:before{content:\"\";display:block;height:.5625rem}.t-label-x_transparent{border-color:transparent}:host._centered .t-label-x{height:2rem;text-align:center;border:none;margin:0}:host[new]:not(._centered) .t-label-x:last-child:not(:first-child){flex:.5;text-align:right;border-left:none}:host[new]:not(._centered) .t-label-x:nth-last-child(2){flex:.5}.t-label-y:first-child{margin-bottom:-.375rem}.t-label-y:last-child{margin-top:-.375rem}.t-content{position:absolute;top:0;left:-1px;right:0;bottom:-1px;display:flex;align-items:flex-end}\n"] }]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i3.Observable, decorators: [{
|
|
51
|
+
type: Inject,
|
|
52
|
+
args: [TUI_MODE]
|
|
53
|
+
}] }]; }, propDecorators: { axisX: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], axisXLabels: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], axisY: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], axisYInset: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], axisYLabels: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], axisYName: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], axisYSecondaryInset: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], axisYSecondaryLabels: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], axisYSecondaryName: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], horizontalLines: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], horizontalLinesHandler: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], verticalLines: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], verticalLinesHandler: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], centeredXLabels: [{
|
|
80
|
+
type: HostBinding,
|
|
81
|
+
args: ['class._centered']
|
|
82
|
+
}] } });
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXhlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0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HNlbGVjdG9yOiAndHVpLWF4ZXMnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9heGVzLnRlbXBsYXRlLmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2F4ZXMuc3R5bGUubGVzcyddLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICAgIHByb3ZpZGVyczogW01PREVfUFJPVklERVJdLFxuICAgIGhvc3Q6IHtcbiAgICAgICAgJygkLmRhdGEtbW9kZS5hdHRyKSc6ICdtb2RlJCcsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQXhlc0NvbXBvbmVudCB7XG4gICAgQElucHV0KClcbiAgICBheGlzWDogVHVpTGluZVR5cGUgPSAnc29saWQnO1xuXG4gICAgQElucHV0KClcbiAgICBheGlzWExhYmVsczogUmVhZG9ubHlBcnJheTxzdHJpbmcgfCBudWxsPiA9IFtdO1xuXG4gICAgQElucHV0KClcbiAgICBheGlzWTogVHVpTGluZVR5cGUgPSAnc29saWQnO1xuXG4gICAgQElucHV0KClcbiAgICBheGlzWUluc2V0ID0gZmFsc2U7XG5cbiAgICBASW5wdXQoKVxuICAgIGF4aXNZTGFiZWxzOiByZWFkb25seSBzdHJpbmdbXSA9IFtdO1xuXG4gICAgQElucHV0KClcbiAgICBheGlzWU5hbWUgPSAnJztcblxuICAgIEBJbnB1dCgpXG4gICAgYXhpc1lTZWNvbmRhcnlJbnNldCA9IGZhbHNlO1xuXG4gICAgQElucHV0KClcbiAgICBheGlzWVNlY29uZGFyeUxhYmVsczogcmVhZG9ubHkgc3RyaW5nW10gPSBbXTtcblxuICAgIEBJbnB1dCgpXG4gICAgYXhpc1lTZWNvbmRhcnlOYW1lID0gJyc7XG5cbiAgICBASW5wdXQoKVxuICAgIGhvcml6b250YWxMaW5lcyA9IDA7XG5cbiAgICBASW5wdXQoKVxuICAgIGhvcml6b250YWxMaW5lc0hhbmRsZXI6IFR1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ZGl2IGNsYXNzPVwidC12ZXJ0aWNhbFwiPlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICp0dWlSZXBlYXRUaW1lcz1cImxldCBpbmRleCBvZiB2ZXJ0aWNhbExpbmVzXCJcbiAgICAgICAgICAgICAgICBhdXRvbWF0aW9uLWlkPVwidHVpLWF4ZXhfX3ZlcnRpY2FsLWxpbmVcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwidC1saW5lIHQtbGluZV92ZXJ0aWNhbFwiXG4gICAgICAgICAgICAgICAgW3N0eWxlLmJvcmRlclJpZ2h0U3R5bGVdPVwidmVydGljYWxMaW5lc0hhbmRsZXIoaW5kZXgsIHZlcnRpY2FsTGluZXMpXCJcbiAgICAgICAgICAgID48L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJ0LWhvcml6b250YWxcIj5cbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAqdHVpUmVwZWF0VGltZXM9XCJsZXQgaW5kZXggb2YgaG9yaXpvbnRhbExpbmVzXCJcbiAgICAgICAgICAgICAgICBhdXRvbWF0aW9uLWlkPVwidHVpLWF4ZXhfX2hvcml6b250YWwtbGluZVwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LWxpbmVcIlxuICAgICAgICAgICAgICAgIFtzdHlsZS5ib3JkZXJUb3BTdHlsZV09XCJob3Jpem9udGFsTGluZXNIYW5kbGVyKGluZGV4LCBob3Jpem9udGFsTGluZXMpXCJcbiAgICAgICAgICAgID48L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgICpuZ0lmPVwiYXhpc1lJbnNldFwiXG4gICAgICAgICAgICBjbGFzcz1cInQtbGFiZWxzLXkgdC1sYWJlbHMteV9pbnNldFwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgbGFiZWwgb2YgYXhpc1lMYWJlbHNcIlxuICAgICAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYXhleF9fYXhpcy15LWxhYmVsXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInQtbGFiZWwteVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge3sgZmFsbGJhY2sobGFiZWwpIH19XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgICpuZ0lmPVwiYXhpc1lTZWNvbmRhcnlJbnNldFwiXG4gICAgICAgICAgICBjbGFzcz1cInQtbGFiZWxzLXkgdC1sYWJlbHMteV9pbnNldCB0LWxhYmVscy15X2luc2V0X3NlY29uZGFyeVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgbGFiZWwgb2YgYXhpc1lTZWNvbmRhcnlMYWJlbHNcIlxuICAgICAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYXhleF9fYXhpcy15LXNlY29uZGFyeS1sYWJlbFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LWxhYmVsLXlcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIHt7IGZhbGxiYWNrKGxhYmVsKSB9fVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwidC1jb250ZW50XCI+XG4gICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICAgIDxkaXZcbiAgICAgICAgKm5nSWY9XCJoYXNYTGFiZWxzXCJcbiAgICAgICAgY2xhc3M9XCJ0LWxhYmVscy14XCJcbiAgICA+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgICpuZ0Zvcj1cImxldCBsYWJlbCBvZiBheGlz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G4gICAgICAgIHt7IGF4aXNZU2Vjb25kYXJ5TmFtZSB9fVxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -5,10 +5,10 @@ import { TuiAxesComponent } from './axes.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class TuiAxesModule {
|
|
7
7
|
}
|
|
8
|
-
TuiAxesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
TuiAxesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10
|
-
TuiAxesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
TuiAxesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAxesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
TuiAxesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiAxesModule, declarations: [TuiAxesComponent], imports: [CommonModule, TuiRepeatTimesModule], exports: [TuiAxesComponent] });
|
|
10
|
+
TuiAxesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAxesModule, imports: [CommonModule, TuiRepeatTimesModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAxesModule, decorators: [{
|
|
12
12
|
type: NgModule,
|
|
13
13
|
args: [{
|
|
14
14
|
imports: [CommonModule, TuiRepeatTimesModule],
|
|
@@ -16,4 +16,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
16
16
|
exports: [TuiAxesComponent],
|
|
17
17
|
}]
|
|
18
18
|
}] });
|
|
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mcm9tICdAdGFpZ2EtdWkvY2RrJztcblxuaW1wb3J0IHtUdWlBeGVzQ29tcG9uZW50fSBmcm9tICcuL2F4ZXMuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBUdWlSZXBlYXRUaW1lc01vZHVsZV0sXG4gICAgZGVjbGFyYXRpb25zOiBbVHVpQXhlc0NvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aUF4ZXNDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlBeGVzTW9kdWxlIHt9XG4iXX0=
|
package/{esm2015/components/bar/bar.component.js → esm2020/components/bar/bar.component.mjs}
RENAMED
|
@@ -18,19 +18,14 @@ export class TuiBarComponent {
|
|
|
18
18
|
return tuiSum(...value);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
TuiBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
TuiBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
21
|
+
TuiBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
TuiBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiBarComponent, selector: "tui-bar", inputs: { value: "value", size: "size" }, host: { properties: { "attr.data-size": "this.size" } }, ngImport: i0, template: "<div\n *ngFor=\"let item of value; let index = index\"\n automation-id=\"tui-bar__bar\"\n [style.background]=\"getColor(index)\"\n [style.height.%]=\"getHeight(item)\"\n></div>\n", styles: [":host{display:flex;min-width:.125rem;flex-direction:column-reverse;border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l);overflow:hidden}:host[data-size=l]{width:1rem;max-width:1rem;margin:0 .1875rem}:host[data-size=m]{width:.5rem;max-width:.5rem;margin:0 .1875rem}:host[data-size=s]{width:.25rem;max-width:.5rem;margin:0 .125rem}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
23
23
|
__decorate([
|
|
24
24
|
tuiPure
|
|
25
25
|
], TuiBarComponent.prototype, "getSum", null);
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBarComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
|
-
args: [{
|
|
29
|
-
selector: 'tui-bar',
|
|
30
|
-
templateUrl: './bar.template.html',
|
|
31
|
-
styleUrls: ['./bar.style.less'],
|
|
32
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
-
}]
|
|
28
|
+
args: [{ selector: 'tui-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n *ngFor=\"let item of value; let index = index\"\n automation-id=\"tui-bar__bar\"\n [style.background]=\"getColor(index)\"\n [style.height.%]=\"getHeight(item)\"\n></div>\n", styles: [":host{display:flex;min-width:.125rem;flex-direction:column-reverse;border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l);overflow:hidden}:host[data-size=l]{width:1rem;max-width:1rem;margin:0 .1875rem}:host[data-size=m]{width:.5rem;max-width:.5rem;margin:0 .1875rem}:host[data-size=s]{width:.25rem;max-width:.5rem;margin:0 .125rem}\n"] }]
|
|
34
29
|
}], propDecorators: { value: [{
|
|
35
30
|
type: Input
|
|
36
31
|
}], size: [{
|
|
@@ -39,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
39
34
|
type: HostBinding,
|
|
40
35
|
args: ['attr.data-size']
|
|
41
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1ZTogbnVtYmVyKTogbnVtYmVyIHtcbiAgICAgICAgcmV0dXJuICgxMDAgKiB2YWx1ZSkgLyB0aGlzLmdldFN1bSh0aGlzLnZhbHVlKTtcbiAgICB9XG5cbiAgICBnZXRDb2xvcihpbmRleDogbnVtYmVyKTogU2FmZVZhbHVlIHtcbiAgICAgICAgcmV0dXJuIGB2YXIoLS10dWktY2hhcnQtJHtpbmRleH0pYDtcbiAgICB9XG5cbiAgICBAdHVpUHVyZVxuICAgIHByaXZhdGUgZ2V0U3VtKHZhbHVlOiByZWFkb25seSBudW1iZXJbXSk6IG51bWJlciB7XG4gICAgICAgIHJldHVybiB0dWlTdW0oLi4udmFsdWUpO1xuICAgIH1cbn1cbiIsIjxkaXZcbiAgICAqbmdGb3I9XCJsZXQgaXRlbSBvZiB2YWx1ZTsgbGV0IGluZGV4ID0gaW5kZXhcIlxuICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYmFyX19iYXJcIlxuICAgIFtzdHlsZS5iYWNrZ3JvdW5kXT1cImdldENvbG9yKGluZGV4KVwiXG4gICAgW3N0eWxlLmhlaWdodC4lXT1cImdldEhlaWdodChpdGVtKVwiXG4+PC9kaXY+XG4iXX0=
|
|
@@ -4,10 +4,10 @@ import { TuiBarComponent } from './bar.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class TuiBarModule {
|
|
6
6
|
}
|
|
7
|
-
TuiBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
TuiBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9
|
-
TuiBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7
|
+
TuiBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
TuiBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiBarModule, declarations: [TuiBarComponent], imports: [CommonModule], exports: [TuiBarComponent] });
|
|
9
|
+
TuiBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBarModule, imports: [CommonModule] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBarModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
imports: [CommonModule],
|
|
@@ -15,4 +15,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15
15
|
exports: [TuiBarComponent],
|
|
16
16
|
}]
|
|
17
17
|
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FkZG9uLWNoYXJ0cy9jb21wb25lbnRzL2Jhci9iYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQzs7QUFPaEQsTUFBTSxPQUFPLFlBQVk7OzBHQUFaLFlBQVk7MkdBQVosWUFBWSxpQkFITixlQUFlLGFBRHBCLFlBQVksYUFFWixlQUFlOzJHQUVoQixZQU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