@mathstack/viz 0.0.1-beta.3 → 0.0.1-beta.4
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/fesm2022/mathstack-viz.mjs +260 -333
- package/fesm2022/mathstack-viz.mjs.map +1 -1
- package/package.json +6 -6
- package/types/mathstack-viz.d.ts +5498 -0
- package/index.d.ts +0 -5
- package/lib/axes/base/config/xy-axis-builder.d.ts +0 -38
- package/lib/axes/base/config/xy-axis-config.d.ts +0 -18
- package/lib/axes/base/config/xy-axis-options.d.ts +0 -10
- package/lib/axes/base/xy-axis-base.d.ts +0 -49
- package/lib/axes/baseline/axis-baseline-builder.d.ts +0 -31
- package/lib/axes/baseline/axis-baseline-options.d.ts +0 -7
- package/lib/axes/baseline/axis-baseline.d.ts +0 -9
- package/lib/axes/grid/grid-builder.d.ts +0 -29
- package/lib/axes/grid/grid-config.d.ts +0 -8
- package/lib/axes/grid/grid-options.d.ts +0 -6
- package/lib/axes/index.d.ts +0 -13
- package/lib/axes/label/axis-label-builder.d.ts +0 -63
- package/lib/axes/label/axis-label-options.d.ts +0 -11
- package/lib/axes/label/axis-label.d.ts +0 -13
- package/lib/axes/ordinal/ordinal-axis-config.d.ts +0 -38
- package/lib/axes/ordinal/ordinal-axis.d.ts +0 -43
- package/lib/axes/quantitative/quantitative-axis-config.d.ts +0 -38
- package/lib/axes/quantitative/quantitative-axis.d.ts +0 -51
- package/lib/axes/ticks/tick-wrap/tick-wrap-builder.d.ts +0 -64
- package/lib/axes/ticks/tick-wrap/tick-wrap-options.d.ts +0 -8
- package/lib/axes/ticks/tick-wrap/tick-wrap.d.ts +0 -13
- package/lib/axes/ticks/ticks-builder.d.ts +0 -172
- package/lib/axes/ticks/ticks-options.d.ts +0 -22
- package/lib/axes/ticks/ticks.d.ts +0 -24
- package/lib/axes/x/x-axis-config.d.ts +0 -42
- package/lib/axes/x/x-axis.d.ts +0 -47
- package/lib/axes/x-ordinal/x-ordinal-axis-builder.d.ts +0 -29
- package/lib/axes/x-ordinal/x-ordinal-axis-config.d.ts +0 -25
- package/lib/axes/x-ordinal/x-ordinal-axis.component.d.ts +0 -88
- package/lib/axes/x-quantitative/x-quantitative-axis-builder.d.ts +0 -29
- package/lib/axes/x-quantitative/x-quantitative-axis-config.d.ts +0 -25
- package/lib/axes/x-quantitative/x-quantitative-axis.component.d.ts +0 -53
- package/lib/axes/xy-axis.module.d.ts +0 -10
- package/lib/axes/y/y-axis-config.d.ts +0 -42
- package/lib/axes/y/y-axis.d.ts +0 -53
- package/lib/axes/y-ordinal/y-ordinal-axis-builder.d.ts +0 -29
- package/lib/axes/y-ordinal/y-ordinal-axis-config.d.ts +0 -25
- package/lib/axes/y-ordinal/y-ordinal-axis.component.d.ts +0 -89
- package/lib/axes/y-quantitative-axis/y-quantitative-axis-builder.d.ts +0 -29
- package/lib/axes/y-quantitative-axis/y-quantitative-axis-config.d.ts +0 -25
- package/lib/axes/y-quantitative-axis/y-quantitative-axis.component.d.ts +0 -54
- package/lib/bars/bars.component.d.ts +0 -91
- package/lib/bars/bars.module.d.ts +0 -8
- package/lib/bars/config/backgrounds/bars-backgrounds-builder.d.ts +0 -27
- package/lib/bars/config/backgrounds/bars-backgrounds-options.d.ts +0 -4
- package/lib/bars/config/backgrounds/bars-backgrounds.d.ts +0 -6
- package/lib/bars/config/bars-builder.d.ts +0 -132
- package/lib/bars/config/bars-config.d.ts +0 -27
- package/lib/bars/config/bars-dimensions.d.ts +0 -11
- package/lib/bars/config/bars-options.d.ts +0 -16
- package/lib/bars/config/labels/bars-labels-builder.d.ts +0 -48
- package/lib/bars/config/labels/bars-labels-options.d.ts +0 -9
- package/lib/bars/config/labels/bars-labels.d.ts +0 -11
- package/lib/bars/events/actions/bars-click-actions.d.ts +0 -8
- package/lib/bars/events/actions/bars-hover-actions.d.ts +0 -12
- package/lib/bars/events/actions/bars-hover-move-actions.d.ts +0 -8
- package/lib/bars/events/bars-events.directive.d.ts +0 -38
- package/lib/bars/events/bars-interaction-output.d.ts +0 -16
- package/lib/bars/events/bars-tooltip-positioner.d.ts +0 -13
- package/lib/bars/index.d.ts +0 -12
- package/lib/charts/chart/chart.component.d.ts +0 -73
- package/lib/charts/chart/chart.d.ts +0 -4
- package/lib/charts/chart/chart.token.d.ts +0 -3
- package/lib/charts/chart/config/chart-builder.d.ts +0 -94
- package/lib/charts/chart/config/chart-config.d.ts +0 -16
- package/lib/charts/chart/config/chart-options.d.ts +0 -10
- package/lib/charts/chart.module.d.ts +0 -9
- package/lib/charts/index.d.ts +0 -8
- package/lib/charts/map-chart/map-chart.component.d.ts +0 -40
- package/lib/charts/xy-chart/xy-chart.component.d.ts +0 -40
- package/lib/core/common-behaviors/constructor.d.ts +0 -2
- package/lib/core/index.d.ts +0 -5
- package/lib/core/types/layout.d.ts +0 -24
- package/lib/core/types/scale.d.ts +0 -5
- package/lib/core/types/values.d.ts +0 -7
- package/lib/core/utilities/colors.d.ts +0 -13
- package/lib/core/utilities/fill-utilities.d.ts +0 -7
- package/lib/core/utilities/type-guards.d.ts +0 -6
- package/lib/core/utilities/value-format.d.ts +0 -11
- package/lib/core/utilities/values.d.ts +0 -16
- package/lib/data-dimensions/continuous-quantitative/date-chart-position/date-chart-position-builder.d.ts +0 -39
- package/lib/data-dimensions/continuous-quantitative/date-chart-position/date-chart-position-options.d.ts +0 -18
- package/lib/data-dimensions/continuous-quantitative/date-chart-position/date-chart-position.d.ts +0 -38
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/concrete-domain-padding.d.ts +0 -5
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/domain-padding.d.ts +0 -20
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/percent-over/percent-over-options.d.ts +0 -3
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/percent-over/percent-over.d.ts +0 -9
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/pixel/pixel-options.d.ts +0 -3
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/pixel/pixel.d.ts +0 -10
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/round-to-interval/round-to-interval-options.d.ts +0 -3
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/round-to-interval/round-to-interval.d.ts +0 -8
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/round-to-sig-fig/round-to-sig-fig-options.d.ts +0 -3
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/round-to-sig-fig/round-to-sig-fig.d.ts +0 -8
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/number-chart-position-builder.d.ts +0 -71
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/number-chart-position-options.d.ts +0 -5
- package/lib/data-dimensions/continuous-quantitative/number-chart-position/number-chart-position.d.ts +0 -30
- package/lib/data-dimensions/continuous-quantitative/number-dimension/number-dimension-options.d.ts +0 -8
- package/lib/data-dimensions/continuous-quantitative/number-dimension/number-dimension.d.ts +0 -28
- package/lib/data-dimensions/continuous-quantitative/number-visual-value/number-visual-value-builder.d.ts +0 -69
- package/lib/data-dimensions/continuous-quantitative/number-visual-value/number-visual-value-options.d.ts +0 -6
- package/lib/data-dimensions/continuous-quantitative/number-visual-value/number-visual-value.d.ts +0 -29
- package/lib/data-dimensions/dimension-builder.d.ts +0 -21
- package/lib/data-dimensions/dimension-options.d.ts +0 -11
- package/lib/data-dimensions/dimension.d.ts +0 -16
- package/lib/data-dimensions/index.d.ts +0 -9
- package/lib/data-dimensions/ordinal/ordinal-chart-position/ordinal-chart-position-builder.d.ts +0 -53
- package/lib/data-dimensions/ordinal/ordinal-chart-position/ordinal-chart-position-options.d.ts +0 -8
- package/lib/data-dimensions/ordinal/ordinal-chart-position/ordinal-chart-position.d.ts +0 -44
- package/lib/data-dimensions/ordinal/ordinal-visual-value/ordinal-visual-value-builder.d.ts +0 -45
- package/lib/data-dimensions/ordinal/ordinal-visual-value/ordinal-visual-value-options.d.ts +0 -7
- package/lib/data-dimensions/ordinal/ordinal-visual-value/ordinal-visual-value.d.ts +0 -38
- package/lib/data-export/data-export-config.d.ts +0 -50
- package/lib/data-export/data-export.d.ts +0 -7
- package/lib/data-export/index.d.ts +0 -2
- package/lib/dots/config/dots-builder.d.ts +0 -110
- package/lib/dots/config/dots-config.d.ts +0 -26
- package/lib/dots/config/dots-options.d.ts +0 -17
- package/lib/dots/dots.component.d.ts +0 -55
- package/lib/dots/dots.module.d.ts +0 -8
- package/lib/dots/events/actions/dots-hover-actions.d.ts +0 -6
- package/lib/dots/events/actions/dots-hover-move-actions.d.ts +0 -10
- package/lib/dots/events/dots-events.directive.d.ts +0 -37
- package/lib/dots/events/dots-interaction-output.d.ts +0 -14
- package/lib/dots/events/dots-tooltip-positioner.d.ts +0 -13
- package/lib/dots/index.d.ts +0 -9
- package/lib/events/events.directive.d.ts +0 -43
- package/lib/events/events.types.d.ts +0 -34
- package/lib/events/index.d.ts +0 -4
- package/lib/events/interaction-output.d.ts +0 -33
- package/lib/events/tooltip-positioner.d.ts +0 -6
- package/lib/fill-definitions/fill-definitions.d.ts +0 -4
- package/lib/fill-definitions/index.d.ts +0 -1
- package/lib/geographies/config/geographies-builder.d.ts +0 -80
- package/lib/geographies/config/geographies-config.d.ts +0 -19
- package/lib/geographies/config/geographies-options.d.ts +0 -13
- package/lib/geographies/config/layers/attribute-data-layer/attribute-data-layer-builder.d.ts +0 -63
- package/lib/geographies/config/layers/attribute-data-layer/attribute-data-layer-options.d.ts +0 -16
- package/lib/geographies/config/layers/attribute-data-layer/attribute-data-layer.d.ts +0 -30
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data/attribute-data-dimension-builder.d.ts +0 -40
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data/attribute-data-dimension-options.d.ts +0 -8
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data/attribute-data-dimension.d.ts +0 -18
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data-bin-enums.d.ts +0 -10
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data-bin-types.d.ts +0 -8
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/calculated-bins/calculated-bins-builder.d.ts +0 -10
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/calculated-bins/calculated-bins-options.d.ts +0 -4
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/calculated-bins/calculated-bins.d.ts +0 -8
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/categorical-bins/categorical-bins-builder.d.ts +0 -14
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/categorical-bins/categorical-bins-options.d.ts +0 -4
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/categorical-bins/categorical-bins.d.ts +0 -20
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/custom-breaks/custom-breaks-bins-builder.d.ts +0 -29
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/custom-breaks/custom-breaks-bins-options.d.ts +0 -5
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/custom-breaks/custom-breaks-bins.d.ts +0 -23
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-frequencies-bins/equal-frequencies-bins-builder.d.ts +0 -16
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-frequencies-bins/equal-frequencies-bins-options.d.ts +0 -4
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-frequencies-bins/equal-frequencies-bins.d.ts +0 -18
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-value-ranges-bins/equal-value-ranges-bins-builder.d.ts +0 -21
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-value-ranges-bins/equal-value-ranges-bins-options.d.ts +0 -5
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-value-ranges-bins/equal-value-ranges-bins.d.ts +0 -24
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/no-bins/no-bins-builder.d.ts +0 -26
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/no-bins/no-bins-options.d.ts +0 -5
- package/lib/geographies/config/layers/attribute-data-layer/dimensions/no-bins/no-bins.d.ts +0 -12
- package/lib/geographies/config/layers/geographies-layer/geographies-layer-builder.d.ts +0 -52
- package/lib/geographies/config/layers/geographies-layer/geographies-layer-options.d.ts +0 -16
- package/lib/geographies/config/layers/geographies-layer/geographies-layer.d.ts +0 -29
- package/lib/geographies/config/layers/geojson-properties-layer/geojson-properties-layer-builder.d.ts +0 -25
- package/lib/geographies/config/layers/geojson-properties-layer/geojson-properties-layer-options.d.ts +0 -11
- package/lib/geographies/config/layers/geojson-properties-layer/geojson-properties-layer.d.ts +0 -16
- package/lib/geographies/config/layers/labels/geographies-labels-builder.d.ts +0 -97
- package/lib/geographies/config/layers/labels/geographies-labels-options.d.ts +0 -33
- package/lib/geographies/config/layers/labels/geographies-labels.d.ts +0 -20
- package/lib/geographies/events/actions/geographies-click-actions.d.ts +0 -7
- package/lib/geographies/events/actions/geographies-hover-actions.d.ts +0 -7
- package/lib/geographies/events/actions/geographies-hover-move-actions.d.ts +0 -7
- package/lib/geographies/events/geographies-events.directive.d.ts +0 -38
- package/lib/geographies/events/geographies-interaction-output.d.ts +0 -16
- package/lib/geographies/events/geographies-tooltip-positioner.d.ts +0 -13
- package/lib/geographies/geographies-feature.d.ts +0 -5
- package/lib/geographies/geographies.component.d.ts +0 -36
- package/lib/geographies/geographies.module.d.ts +0 -8
- package/lib/geographies/index.d.ts +0 -32
- package/lib/grouped-bars/config/grouped-bars-builder.d.ts +0 -29
- package/lib/grouped-bars/config/grouped-bars-config.d.ts +0 -10
- package/lib/grouped-bars/config/grouped-bars-options.d.ts +0 -5
- package/lib/grouped-bars/events/grouped-bars-events.directive.d.ts +0 -35
- package/lib/grouped-bars/grouped-bars.component.d.ts +0 -19
- package/lib/grouped-bars/grouped-bars.module.d.ts +0 -8
- package/lib/grouped-bars/index.d.ts +0 -7
- package/lib/image-download/image-download-config.d.ts +0 -31
- package/lib/image-download/image-download-enums.d.ts +0 -6
- package/lib/image-download/image-download-options.d.ts +0 -14
- package/lib/image-download/image-download.service.d.ts +0 -16
- package/lib/image-download/index.d.ts +0 -4
- package/lib/lines/config/area-fills/area-fills-builder.d.ts +0 -45
- package/lib/lines/config/area-fills/area-fills-options.d.ts +0 -7
- package/lib/lines/config/area-fills/area-fills.d.ts +0 -9
- package/lib/lines/config/lines-builder.d.ts +0 -101
- package/lib/lines/config/lines-config.d.ts +0 -37
- package/lib/lines/config/lines-options.d.ts +0 -18
- package/lib/lines/config/stroke/lines-stroke-builder.d.ts +0 -59
- package/lib/lines/config/stroke/lines-stroke-options.d.ts +0 -5
- package/lib/lines/config/stroke/lines-stroke.d.ts +0 -7
- package/lib/lines/events/actions/lines-click-actions.d.ts +0 -6
- package/lib/lines/events/actions/lines-hover-move-actions.d.ts +0 -41
- package/lib/lines/events/actions/lines-marker-click-actions.d.ts +0 -6
- package/lib/lines/events/lines-events.directive.d.ts +0 -49
- package/lib/lines/events/lines-interaction-output.d.ts +0 -16
- package/lib/lines/events/lines-tooltip-positioner.d.ts +0 -13
- package/lib/lines/index.d.ts +0 -11
- package/lib/lines/lines.component.d.ts +0 -53
- package/lib/lines/lines.module.d.ts +0 -8
- package/lib/map-legend/continuous-legend/continuous-legend.component.d.ts +0 -18
- package/lib/map-legend/discontinuous-legend/discontinuous-legend.component.d.ts +0 -12
- package/lib/map-legend/index.d.ts +0 -2
- package/lib/map-legend/map-legend-base.d.ts +0 -33
- package/lib/map-legend/map-legend.component.d.ts +0 -27
- package/lib/map-legend/map-legend.module.d.ts +0 -7
- package/lib/marks/aux-marks/aux-marks.d.ts +0 -10
- package/lib/marks/aux-marks/config/aux-marks-builder.d.ts +0 -11
- package/lib/marks/aux-marks/config/aux-marks-config.d.ts +0 -4
- package/lib/marks/config/marks-config.d.ts +0 -9
- package/lib/marks/config/marks-options.d.ts +0 -8
- package/lib/marks/index.d.ts +0 -15
- package/lib/marks/map-marks/map-aux-marks/map-aux-marks.d.ts +0 -17
- package/lib/marks/map-marks/map-primary-marks/map-primary-marks.d.ts +0 -20
- package/lib/marks/marks.d.ts +0 -31
- package/lib/marks/primary-marks/config/primary-marks-builder.d.ts +0 -32
- package/lib/marks/primary-marks/config/primary-marks-config.d.ts +0 -5
- package/lib/marks/primary-marks/primary-marks.d.ts +0 -23
- package/lib/marks/xy-marks/xy-aux-marks/xy-aux-marks.d.ts +0 -16
- package/lib/marks/xy-marks/xy-marks-config.d.ts +0 -4
- package/lib/marks/xy-marks/xy-marks.d.ts +0 -6
- package/lib/marks/xy-marks/xy-primary-marks/xy-primary-marks-config.d.ts +0 -4
- package/lib/marks/xy-marks/xy-primary-marks/xy-primary-marks.d.ts +0 -20
- package/lib/point-markers/index.d.ts +0 -2
- package/lib/point-markers/point-markers-builder.d.ts +0 -47
- package/lib/point-markers/point-markers-options.d.ts +0 -6
- package/lib/point-markers/point-markers.d.ts +0 -8
- package/lib/quantitative-rules/config/labels/quantitative-rules-labels-builder.d.ts +0 -60
- package/lib/quantitative-rules/config/labels/quantitative-rules-labels-options.d.ts +0 -9
- package/lib/quantitative-rules/config/labels/quantitative-rules-labels.d.ts +0 -11
- package/lib/quantitative-rules/config/quantitative-rules-builder.d.ts +0 -52
- package/lib/quantitative-rules/config/quantitative-rules-config.d.ts +0 -12
- package/lib/quantitative-rules/config/quantitative-rules-dimensions.d.ts +0 -8
- package/lib/quantitative-rules/config/quantitative-rules-options.d.ts +0 -10
- package/lib/quantitative-rules/index.d.ts +0 -6
- package/lib/quantitative-rules/quantitative-rules.component.d.ts +0 -27
- package/lib/quantitative-rules/quantitative-rules.module.d.ts +0 -7
- package/lib/stacked-area/config/stacked-area-builder.d.ts +0 -85
- package/lib/stacked-area/config/stacked-area-config.d.ts +0 -36
- package/lib/stacked-area/config/stacked-area-options.d.ts +0 -21
- package/lib/stacked-area/events/actions/stacked-area-hover-move-actions.d.ts +0 -7
- package/lib/stacked-area/events/stacked-area-events.directive.d.ts +0 -38
- package/lib/stacked-area/events/stacked-area-interaction-output.d.ts +0 -28
- package/lib/stacked-area/events/stacked-area-tooltip-positioner.d.ts +0 -16
- package/lib/stacked-area/index.d.ts +0 -7
- package/lib/stacked-area/stacked-area.component.d.ts +0 -51
- package/lib/stacked-area/stacked-area.module.d.ts +0 -8
- package/lib/stacked-bars/config/stacked-bars-builder.d.ts +0 -26
- package/lib/stacked-bars/config/stacked-bars-config.d.ts +0 -16
- package/lib/stacked-bars/config/stacked-bars-options.d.ts +0 -7
- package/lib/stacked-bars/events/actions/stacked-bars-click-actions.d.ts +0 -8
- package/lib/stacked-bars/events/actions/stacked-bars-hover-actions.d.ts +0 -8
- package/lib/stacked-bars/events/actions/stacked-bars-hover-move-actions.d.ts +0 -8
- package/lib/stacked-bars/events/stacked-bars-events.directive.d.ts +0 -39
- package/lib/stacked-bars/index.d.ts +0 -10
- package/lib/stacked-bars/stacked-bars.component.d.ts +0 -26
- package/lib/stacked-bars/stacked-bars.module.d.ts +0 -8
- package/lib/stroke/base/stroke-base-options.d.ts +0 -7
- package/lib/stroke/base/stroke-base.d.ts +0 -8
- package/lib/stroke/index.d.ts +0 -2
- package/lib/stroke/stroke-builder.d.ts +0 -56
- package/lib/stroke/stroke-options.d.ts +0 -4
- package/lib/stroke/stroke.d.ts +0 -6
- package/lib/svg-text-wrap/index.d.ts +0 -2
- package/lib/svg-text-wrap/svg-text-wrap-builder.d.ts +0 -58
- package/lib/svg-text-wrap/svg-text-wrap-options.d.ts +0 -8
- package/lib/svg-text-wrap/svg-text-wrap.d.ts +0 -13
- package/lib/tooltips/config/tooltip.d.ts +0 -5
- package/lib/tooltips/html-tooltip/config/html-tooltip-builder.d.ts +0 -57
- package/lib/tooltips/html-tooltip/config/html-tooltip-config.d.ts +0 -15
- package/lib/tooltips/html-tooltip/config/html-tooltip-options.d.ts +0 -11
- package/lib/tooltips/html-tooltip/config/position/tooltip-position-builder.d.ts +0 -34
- package/lib/tooltips/html-tooltip/config/position/tooltip-position.d.ts +0 -23
- package/lib/tooltips/html-tooltip/config/size/tooltip-size-builder.d.ts +0 -16
- package/lib/tooltips/html-tooltip/config/size/tooltip-size-options.d.ts +0 -8
- package/lib/tooltips/html-tooltip/config/size/tooltip-size.d.ts +0 -10
- package/lib/tooltips/html-tooltip/html-tooltip.directive.d.ts +0 -43
- package/lib/tooltips/html-tooltip/html-tooltip.module.d.ts +0 -10
- package/lib/tooltips/html-tooltip/tooltip-triangle/tooltip-triangle.component.d.ts +0 -7
- package/lib/tooltips/index.d.ts +0 -11
- package/lib/xy-background/index.d.ts +0 -2
- package/lib/xy-background/xy-background.component.d.ts +0 -9
- package/lib/xy-background/xy-background.module.d.ts +0 -7
- package/public-api.d.ts +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, InjectionToken, Injectable, inject, DestroyRef, ViewChild, Component,
|
|
2
|
+
import { Directive, Input, InjectionToken, Injectable, inject, DestroyRef, NgZone, ViewChild, Component, ChangeDetectionStrategy, NgModule, ElementRef, ViewEncapsulation, Renderer2, EventEmitter, ViewContainerRef, Output } from '@angular/core';
|
|
3
3
|
import { NgOnChangesUtilities, safeAssign } from '@mathstack/app-kit';
|
|
4
4
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
5
5
|
import { BehaviorSubject, filter, distinctUntilChanged, shareReplay, map, switchMap, defer, of, combineLatest, Observable, auditTime, Subject, takeUntil } from 'rxjs';
|
|
@@ -8,9 +8,8 @@ import { CommonModule, DOCUMENT, AsyncPipe } from '@angular/common';
|
|
|
8
8
|
import { isEqual, cloneDeep } from 'lodash-es';
|
|
9
9
|
import { select, utcFormat, format, axisTop, axisBottom, axisLeft, axisRight, pointer, map as map$1, min, max, scaleLinear, scaleBand, scalePoint, InternSet, scaleOrdinal, schemeTableau10, range, scaleUtc, maxIndex, polygonArea, InternMap, scaleThreshold, interpolateLab, extent, scaleQuantile, scaleQuantize, geoAlbersUsa, geoPath, group, curveLinear, line, area, least, rollup, stack, stackOffsetNone, stackOrderNone, stackOffsetDiverging } from 'd3';
|
|
10
10
|
import { color } from 'd3-color';
|
|
11
|
+
import { Overlay, OverlayPositionBuilder, OverlayModule } from '@angular/cdk/overlay';
|
|
11
12
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
12
|
-
import * as i1$1 from '@angular/cdk/overlay';
|
|
13
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
14
13
|
import { saveAs } from 'file-saver';
|
|
15
14
|
import { unparse } from 'papaparse';
|
|
16
15
|
import polylabel from 'polylabel';
|
|
@@ -22,10 +21,10 @@ class Marks {
|
|
|
22
21
|
this.initFromConfig();
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: Marks, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
25
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: Marks, isStandalone: true, usesOnChanges: true, ngImport: i0 }); }
|
|
27
26
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: Marks, decorators: [{
|
|
29
28
|
type: Directive
|
|
30
29
|
}] });
|
|
31
30
|
|
|
@@ -33,10 +32,10 @@ class AuxMarks extends Marks {
|
|
|
33
32
|
initFromConfig() {
|
|
34
33
|
this.drawMarks();
|
|
35
34
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AuxMarks, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
36
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AuxMarks, isStandalone: true, inputs: { config: "config" }, usesInheritance: true, ngImport: i0 }); }
|
|
38
37
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AuxMarks, decorators: [{
|
|
40
39
|
type: Directive
|
|
41
40
|
}], propDecorators: { config: [{
|
|
42
41
|
type: Input
|
|
@@ -230,10 +229,10 @@ class VicChartConfigBuilder {
|
|
|
230
229
|
this._aspectRatio = this._width / this._height;
|
|
231
230
|
}
|
|
232
231
|
}
|
|
233
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
234
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
232
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicChartConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
233
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicChartConfigBuilder }); }
|
|
235
234
|
}
|
|
236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicChartConfigBuilder, decorators: [{
|
|
237
236
|
type: Injectable
|
|
238
237
|
}], ctorParameters: () => [] });
|
|
239
238
|
|
|
@@ -255,8 +254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
255
254
|
* and scaled svg element in the DOM. USeful for adding elements that require access to chart scales.
|
|
256
255
|
*/
|
|
257
256
|
class ChartComponent {
|
|
258
|
-
constructor(
|
|
259
|
-
this.ngZone = ngZone;
|
|
257
|
+
constructor() {
|
|
260
258
|
this.config = new VicChartConfigBuilder().getConfig();
|
|
261
259
|
this._config = new BehaviorSubject(null);
|
|
262
260
|
this.config$ = this._config.asObservable().pipe(filter((c) => !!c), distinctUntilChanged((a, b) => isEqual(a, b)), shareReplay(1));
|
|
@@ -294,6 +292,7 @@ class ChartComponent {
|
|
|
294
292
|
]).pipe(filter(([w, h]) => w > 0 && h > 0), map(([width, height]) => ({ width, height })), distinctUntilChanged((a, b) => isEqual(a, b)), shareReplay(1));
|
|
295
293
|
this.ranges$ = combineLatest([this.svgDimensions$, this.marginCfg$]).pipe(map(([dimensions, margin]) => this.getRangesFromSvgDimensions(dimensions, margin)), distinctUntilChanged((a, b) => isEqual(a, b)), shareReplay(1));
|
|
296
294
|
this.destroyRef = inject(DestroyRef);
|
|
295
|
+
this.ngZone = inject(NgZone);
|
|
297
296
|
}
|
|
298
297
|
ngOnChanges(changes) {
|
|
299
298
|
if (NgOnChangesUtilities.inputObjectChanged(changes, 'config')) {
|
|
@@ -342,15 +341,15 @@ class ChartComponent {
|
|
|
342
341
|
y: vb.height / rect.height,
|
|
343
342
|
};
|
|
344
343
|
}
|
|
345
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
346
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
345
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: ChartComponent, isStandalone: true, selector: "vic-chart", inputs: { config: "config" }, host: { classAttribute: "vic-chart" }, providers: [{ provide: CHART, useExisting: ChartComponent }], viewQueries: [{ propertyName: "divRef", first: true, predicate: ["div"], descendants: true, static: true }, { propertyName: "svgRef", first: true, predicate: ["svg"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<!-- Slot exists so that projected content can have access to scales -->\n<ng-container *ngTemplateOutlet=\"htmlElementsBefore\"></ng-container>\n<div\n #div\n class=\"vic-chart-container\"\n [ngClass]=\"(strategy$ | async)\"\n [style.maxWidth.px]=\"widthCfg$ | async\"\n [style.minWidth.px]=\"minWidthCfg$ | async\"\n [style.maxHeight.px]=\"heightCfg$ | async\"\n [style.aspectRatio]=\"(strategy$ | async) === 'viewbox' ? (config.viewBoxX / config.viewBoxY) : null\"\n [style.width.%]=\"(strategy$ | async) === 'viewbox' ? 100 : null\"\n>\n <svg\n #svg\n class=\"vic-chart-svg\"\n [ngClass]=\"(strategy$ | async)\"\n [style.width.px]=\"(strategy$ | async) !== 'viewbox' ? (svgDimensions$ | async)?.width : null\"\n [style.height.px]=\"(strategy$ | async) !== 'viewbox' ? (svgDimensions$ | async)?.height : null\"\n [attr.viewBox]=\"(strategy$ | async) === 'viewbox' ? '0 0 ' + config.viewBoxX + ' ' + config.viewBoxY : null\"\n >\n <defs>\n <ng-container *ngTemplateOutlet=\"svgDefs\"></ng-container>\n </defs>\n <ng-container *ngTemplateOutlet=\"svgElements\"></ng-container>\n </svg>\n</div>\n\n<!-- Slot exists so that projected content can have access to scales -->\n<ng-container *ngTemplateOutlet=\"htmlElementsAfter\"></ng-container>\n\n<ng-template #htmlElementsBefore>\n <ng-content select=\"[html-elements-before]\"></ng-content>\n</ng-template>\n\n<ng-template #svgDefs>\n <ng-content select=\"[svg-defs]\"></ng-content>\n</ng-template>\n\n<ng-template #svgElements>\n <ng-content select=\"[svg-elements]\"></ng-content>\n</ng-template>\n\n<ng-template #htmlElementsAfter>\n <ng-content select=\"[html-elements-after]\"></ng-content>\n</ng-template>\n", styles: [".vic-chart-container{display:flex;align-items:stretch;box-sizing:border-box;width:100%;min-width:0}.vic-chart-container.responsive-width{contain:inline-size}.vic-chart-container.viewbox{contain:inline-size;overflow:hidden}.vic-chart-container.fixed,.vic-chart-svg{display:block}.vic-chart-svg:not(.viewbox){overflow:visible}.vic-chart-svg.viewbox{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
347
346
|
}
|
|
348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ChartComponent, decorators: [{
|
|
349
348
|
type: Component,
|
|
350
349
|
args: [{ selector: 'vic-chart', providers: [{ provide: CHART, useExisting: ChartComponent }], host: {
|
|
351
350
|
class: 'vic-chart',
|
|
352
351
|
}, imports: [CommonModule], template: "<!-- Slot exists so that projected content can have access to scales -->\n<ng-container *ngTemplateOutlet=\"htmlElementsBefore\"></ng-container>\n<div\n #div\n class=\"vic-chart-container\"\n [ngClass]=\"(strategy$ | async)\"\n [style.maxWidth.px]=\"widthCfg$ | async\"\n [style.minWidth.px]=\"minWidthCfg$ | async\"\n [style.maxHeight.px]=\"heightCfg$ | async\"\n [style.aspectRatio]=\"(strategy$ | async) === 'viewbox' ? (config.viewBoxX / config.viewBoxY) : null\"\n [style.width.%]=\"(strategy$ | async) === 'viewbox' ? 100 : null\"\n>\n <svg\n #svg\n class=\"vic-chart-svg\"\n [ngClass]=\"(strategy$ | async)\"\n [style.width.px]=\"(strategy$ | async) !== 'viewbox' ? (svgDimensions$ | async)?.width : null\"\n [style.height.px]=\"(strategy$ | async) !== 'viewbox' ? (svgDimensions$ | async)?.height : null\"\n [attr.viewBox]=\"(strategy$ | async) === 'viewbox' ? '0 0 ' + config.viewBoxX + ' ' + config.viewBoxY : null\"\n >\n <defs>\n <ng-container *ngTemplateOutlet=\"svgDefs\"></ng-container>\n </defs>\n <ng-container *ngTemplateOutlet=\"svgElements\"></ng-container>\n </svg>\n</div>\n\n<!-- Slot exists so that projected content can have access to scales -->\n<ng-container *ngTemplateOutlet=\"htmlElementsAfter\"></ng-container>\n\n<ng-template #htmlElementsBefore>\n <ng-content select=\"[html-elements-before]\"></ng-content>\n</ng-template>\n\n<ng-template #svgDefs>\n <ng-content select=\"[svg-defs]\"></ng-content>\n</ng-template>\n\n<ng-template #svgElements>\n <ng-content select=\"[svg-elements]\"></ng-content>\n</ng-template>\n\n<ng-template #htmlElementsAfter>\n <ng-content select=\"[html-elements-after]\"></ng-content>\n</ng-template>\n", styles: [".vic-chart-container{display:flex;align-items:stretch;box-sizing:border-box;width:100%;min-width:0}.vic-chart-container.responsive-width{contain:inline-size}.vic-chart-container.viewbox{contain:inline-size;overflow:hidden}.vic-chart-container.fixed,.vic-chart-svg{display:block}.vic-chart-svg:not(.viewbox){overflow:visible}.vic-chart-svg.viewbox{width:100%;height:100%}\n"] }]
|
|
353
|
-
}],
|
|
352
|
+
}], propDecorators: { config: [{
|
|
354
353
|
type: Input
|
|
355
354
|
}], divRef: [{
|
|
356
355
|
type: ViewChild,
|
|
@@ -396,10 +395,10 @@ class MapChartComponent extends ChartComponent {
|
|
|
396
395
|
});
|
|
397
396
|
});
|
|
398
397
|
}
|
|
399
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
400
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
398
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MapChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
399
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: MapChartComponent, isStandalone: true, selector: "vic-map-chart", host: { classAttribute: "vic-map-chart" }, providers: [{ provide: CHART, useExisting: ChartComponent }], usesInheritance: true, ngImport: i0, template: "<!-- Slot exists so that projected content can have access to scales -->\n<ng-container *ngTemplateOutlet=\"htmlElementsBefore\"></ng-container>\n<div\n #div\n class=\"vic-chart-container\"\n [ngClass]=\"(strategy$ | async)\"\n [style.maxWidth.px]=\"widthCfg$ | async\"\n [style.minWidth.px]=\"minWidthCfg$ | async\"\n [style.maxHeight.px]=\"heightCfg$ | async\"\n [style.aspectRatio]=\"(strategy$ | async) === 'viewbox' ? (config.viewBoxX / config.viewBoxY) : null\"\n [style.width.%]=\"(strategy$ | async) === 'viewbox' ? 100 : null\"\n>\n <svg\n #svg\n class=\"vic-chart-svg\"\n [ngClass]=\"(strategy$ | async)\"\n [style.width.px]=\"(strategy$ | async) !== 'viewbox' ? (svgDimensions$ | async)?.width : null\"\n [style.height.px]=\"(strategy$ | async) !== 'viewbox' ? (svgDimensions$ | async)?.height : null\"\n [attr.viewBox]=\"(strategy$ | async) === 'viewbox' ? '0 0 ' + config.viewBoxX + ' ' + config.viewBoxY : null\"\n >\n <defs>\n <ng-container *ngTemplateOutlet=\"svgDefs\"></ng-container>\n </defs>\n <ng-container *ngTemplateOutlet=\"svgElements\"></ng-container>\n </svg>\n</div>\n\n<!-- Slot exists so that projected content can have access to scales -->\n<ng-container *ngTemplateOutlet=\"htmlElementsAfter\"></ng-container>\n\n<ng-template #htmlElementsBefore>\n <ng-content select=\"[html-elements-before]\"></ng-content>\n</ng-template>\n\n<ng-template #svgDefs>\n <ng-content select=\"[svg-defs]\"></ng-content>\n</ng-template>\n\n<ng-template #svgElements>\n <ng-content select=\"[svg-elements]\"></ng-content>\n</ng-template>\n\n<ng-template #htmlElementsAfter>\n <ng-content select=\"[html-elements-after]\"></ng-content>\n</ng-template>\n", styles: [".vic-chart-container{display:flex;align-items:stretch;box-sizing:border-box;width:100%;min-width:0}.vic-chart-container.responsive-width{contain:inline-size}.vic-chart-container.viewbox{contain:inline-size;overflow:hidden}.vic-chart-container.fixed,.vic-chart-svg{display:block}.vic-chart-svg:not(.viewbox){overflow:visible}.vic-chart-svg.viewbox{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
401
400
|
}
|
|
402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MapChartComponent, decorators: [{
|
|
403
402
|
type: Component,
|
|
404
403
|
args: [{ selector: 'vic-map-chart', providers: [{ provide: CHART, useExisting: ChartComponent }], host: {
|
|
405
404
|
class: 'vic-map-chart',
|
|
@@ -442,10 +441,10 @@ class XyChartComponent extends ChartComponent {
|
|
|
442
441
|
this.scales.next({ ...this.scales.value, ...scales });
|
|
443
442
|
});
|
|
444
443
|
}
|
|
445
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
446
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
444
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XyChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
445
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: XyChartComponent, isStandalone: true, selector: "vic-xy-chart", host: { classAttribute: "vic-xy-chart" }, providers: [{ provide: CHART, useExisting: ChartComponent }], usesInheritance: true, ngImport: i0, template: "<!-- Slot exists so that projected content can have access to scales -->\n<ng-container *ngTemplateOutlet=\"htmlElementsBefore\"></ng-container>\n<div\n #div\n class=\"vic-chart-container\"\n [ngClass]=\"(strategy$ | async)\"\n [style.maxWidth.px]=\"widthCfg$ | async\"\n [style.minWidth.px]=\"minWidthCfg$ | async\"\n [style.maxHeight.px]=\"heightCfg$ | async\"\n [style.aspectRatio]=\"(strategy$ | async) === 'viewbox' ? (config.viewBoxX / config.viewBoxY) : null\"\n [style.width.%]=\"(strategy$ | async) === 'viewbox' ? 100 : null\"\n>\n <svg\n #svg\n class=\"vic-chart-svg\"\n [ngClass]=\"(strategy$ | async)\"\n [style.width.px]=\"(strategy$ | async) !== 'viewbox' ? (svgDimensions$ | async)?.width : null\"\n [style.height.px]=\"(strategy$ | async) !== 'viewbox' ? (svgDimensions$ | async)?.height : null\"\n [attr.viewBox]=\"(strategy$ | async) === 'viewbox' ? '0 0 ' + config.viewBoxX + ' ' + config.viewBoxY : null\"\n >\n <defs>\n <ng-container *ngTemplateOutlet=\"svgDefs\"></ng-container>\n </defs>\n <ng-container *ngTemplateOutlet=\"svgElements\"></ng-container>\n </svg>\n</div>\n\n<!-- Slot exists so that projected content can have access to scales -->\n<ng-container *ngTemplateOutlet=\"htmlElementsAfter\"></ng-container>\n\n<ng-template #htmlElementsBefore>\n <ng-content select=\"[html-elements-before]\"></ng-content>\n</ng-template>\n\n<ng-template #svgDefs>\n <ng-content select=\"[svg-defs]\"></ng-content>\n</ng-template>\n\n<ng-template #svgElements>\n <ng-content select=\"[svg-elements]\"></ng-content>\n</ng-template>\n\n<ng-template #htmlElementsAfter>\n <ng-content select=\"[html-elements-after]\"></ng-content>\n</ng-template>\n", styles: [".vic-chart-container{display:flex;align-items:stretch;box-sizing:border-box;width:100%;min-width:0}.vic-chart-container.responsive-width{contain:inline-size}.vic-chart-container.viewbox{contain:inline-size;overflow:hidden}.vic-chart-container.fixed,.vic-chart-svg{display:block}.vic-chart-svg:not(.viewbox){overflow:visible}.vic-chart-svg.viewbox{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
447
446
|
}
|
|
448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XyChartComponent, decorators: [{
|
|
449
448
|
type: Component,
|
|
450
449
|
args: [{ selector: 'vic-xy-chart', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: CHART, useExisting: ChartComponent }], host: {
|
|
451
450
|
class: 'vic-xy-chart',
|
|
@@ -453,11 +452,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
453
452
|
}] });
|
|
454
453
|
|
|
455
454
|
class VicChartModule {
|
|
456
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
457
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
458
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
455
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
456
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicChartModule, imports: [ChartComponent, XyChartComponent, MapChartComponent], exports: [ChartComponent, XyChartComponent, MapChartComponent] }); }
|
|
457
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicChartModule, imports: [ChartComponent, XyChartComponent, MapChartComponent] }); }
|
|
459
458
|
}
|
|
460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicChartModule, decorators: [{
|
|
461
460
|
type: NgModule,
|
|
462
461
|
args: [{
|
|
463
462
|
imports: [ChartComponent, XyChartComponent, MapChartComponent],
|
|
@@ -489,10 +488,10 @@ class VicMapAuxMarks extends AuxMarks {
|
|
|
489
488
|
getTransitionDuration() {
|
|
490
489
|
return this.chart.config.transitionDuration;
|
|
491
490
|
}
|
|
492
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
493
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicMapAuxMarks, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
492
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: VicMapAuxMarks, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
494
493
|
}
|
|
495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicMapAuxMarks, decorators: [{
|
|
496
495
|
type: Directive
|
|
497
496
|
}] });
|
|
498
497
|
|
|
@@ -505,10 +504,10 @@ class PrimaryMarks extends Marks {
|
|
|
505
504
|
initFromConfig() {
|
|
506
505
|
this.setChartScalesFromRanges(true);
|
|
507
506
|
}
|
|
508
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
509
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
507
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PrimaryMarks, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
508
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: PrimaryMarks, isStandalone: true, inputs: { config: "config" }, usesInheritance: true, ngImport: i0 }); }
|
|
510
509
|
}
|
|
511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PrimaryMarks, decorators: [{
|
|
512
511
|
type: Directive
|
|
513
512
|
}], propDecorators: { config: [{
|
|
514
513
|
type: Input
|
|
@@ -552,10 +551,10 @@ class MapPrimaryMarks extends PrimaryMarks {
|
|
|
552
551
|
getTransitionDuration() {
|
|
553
552
|
return this.chart.config.transitionDuration;
|
|
554
553
|
}
|
|
555
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
556
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
554
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MapPrimaryMarks, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
555
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: MapPrimaryMarks, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
557
556
|
}
|
|
558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MapPrimaryMarks, decorators: [{
|
|
559
558
|
type: Directive
|
|
560
559
|
}] });
|
|
561
560
|
|
|
@@ -628,10 +627,10 @@ class XyAuxMarks extends AuxMarks {
|
|
|
628
627
|
getTransitionDuration() {
|
|
629
628
|
return this.scales.useTransition ? this.chart.config.transitionDuration : 0;
|
|
630
629
|
}
|
|
631
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
632
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
630
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XyAuxMarks, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
631
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: XyAuxMarks, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
633
632
|
}
|
|
634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XyAuxMarks, decorators: [{
|
|
635
634
|
type: Directive
|
|
636
635
|
}] });
|
|
637
636
|
|
|
@@ -681,10 +680,10 @@ class VicXyPrimaryMarks extends PrimaryMarks {
|
|
|
681
680
|
getTransitionDuration() {
|
|
682
681
|
return this.scales.useTransition ? this.chart.config.transitionDuration : 0;
|
|
683
682
|
}
|
|
684
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
685
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
683
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXyPrimaryMarks, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
684
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: VicXyPrimaryMarks, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
686
685
|
}
|
|
687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXyPrimaryMarks, decorators: [{
|
|
688
687
|
type: Directive
|
|
689
688
|
}] });
|
|
690
689
|
|
|
@@ -1659,12 +1658,7 @@ function mixinOrdinalAxisConfig(Base) {
|
|
|
1659
1658
|
super(...args);
|
|
1660
1659
|
safeAssign(this, args[0]);
|
|
1661
1660
|
}
|
|
1662
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1663
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: Mixin, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
1664
1661
|
}
|
|
1665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, decorators: [{
|
|
1666
|
-
type: Directive
|
|
1667
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
1668
1662
|
return Mixin;
|
|
1669
1663
|
}
|
|
1670
1664
|
class VicOrdinalAxisConfig extends mixinOrdinalAxisConfig(XyAxisConfig) {
|
|
@@ -1683,12 +1677,7 @@ function mixinXAxisConfig(Base) {
|
|
|
1683
1677
|
const d3SuggestedDefault = dimensions.width / spacing;
|
|
1684
1678
|
return this.getValidatedNumTicks(d3SuggestedDefault);
|
|
1685
1679
|
}
|
|
1686
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1687
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: Mixin, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
1688
1680
|
}
|
|
1689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, decorators: [{
|
|
1690
|
-
type: Directive
|
|
1691
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
1692
1681
|
return Mixin;
|
|
1693
1682
|
}
|
|
1694
1683
|
class XAxisConfig extends mixinXAxisConfig(XyAxisConfig) {
|
|
@@ -1749,10 +1738,10 @@ class VicXOrdinalAxisConfigBuilder extends XyAxisBaseBuilder {
|
|
|
1749
1738
|
ticks: this.ticksBuilder._build('x'),
|
|
1750
1739
|
});
|
|
1751
1740
|
}
|
|
1752
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1753
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1741
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXOrdinalAxisConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1742
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXOrdinalAxisConfigBuilder }); }
|
|
1754
1743
|
}
|
|
1755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXOrdinalAxisConfigBuilder, decorators: [{
|
|
1756
1745
|
type: Injectable
|
|
1757
1746
|
}], ctorParameters: () => [] });
|
|
1758
1747
|
|
|
@@ -1979,10 +1968,10 @@ class XyAxis extends XyAuxMarks {
|
|
|
1979
1968
|
: this.getTransitionDuration();
|
|
1980
1969
|
return selection.transition().duration(transitionDuration);
|
|
1981
1970
|
}
|
|
1982
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1983
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XyAxis, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1972
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: XyAxis, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
1984
1973
|
}
|
|
1985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XyAxis, decorators: [{
|
|
1986
1975
|
type: Directive
|
|
1987
1976
|
}] });
|
|
1988
1977
|
|
|
@@ -1996,14 +1985,7 @@ function ordinalAxisMixin(Base) {
|
|
|
1996
1985
|
: formatter(tickFormat)(d);
|
|
1997
1986
|
});
|
|
1998
1987
|
}
|
|
1999
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2000
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: Mixin, isStandalone: true, inputs: { config: "config" }, usesInheritance: true, ngImport: i0 }); }
|
|
2001
1988
|
}
|
|
2002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, decorators: [{
|
|
2003
|
-
type: Directive
|
|
2004
|
-
}], propDecorators: { config: [{
|
|
2005
|
-
type: Input
|
|
2006
|
-
}] } });
|
|
2007
1989
|
return Mixin;
|
|
2008
1990
|
}
|
|
2009
1991
|
|
|
@@ -2085,23 +2067,16 @@ function xAxisMixin(Base) {
|
|
|
2085
2067
|
label.attr('x', x);
|
|
2086
2068
|
}
|
|
2087
2069
|
}
|
|
2088
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2089
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: Mixin, isStandalone: true, inputs: { config: "config" }, usesInheritance: true, ngImport: i0 }); }
|
|
2090
2070
|
}
|
|
2091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, decorators: [{
|
|
2092
|
-
type: Directive
|
|
2093
|
-
}], propDecorators: { config: [{
|
|
2094
|
-
type: Input
|
|
2095
|
-
}] } });
|
|
2096
2071
|
return Mixin;
|
|
2097
2072
|
}
|
|
2098
2073
|
|
|
2099
2074
|
const XOrdinalAxis = xAxisMixin(ordinalAxisMixin((XyAxis)));
|
|
2100
2075
|
class XOrdinalAxisComponent extends XOrdinalAxis {
|
|
2101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2102
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XOrdinalAxisComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2077
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: XOrdinalAxisComponent, isStandalone: true, selector: "[vic-x-ordinal-axis]", inputs: { config: "config" }, host: { properties: { "class": "config.marksClass", "attr.mix-blend-mode": "config.mixBlendMode", "attr.transform": "translate" }, classAttribute: "vic-axis" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [".vic-axis-x-ordinal .vic-axis-label{fill:currentColor}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
2103
2078
|
}
|
|
2104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XOrdinalAxisComponent, decorators: [{
|
|
2105
2080
|
type: Component,
|
|
2106
2081
|
args: [{ selector: '[vic-x-ordinal-axis]', template: '', inputs: ['config'], encapsulation: ViewEncapsulation.None, host: {
|
|
2107
2082
|
'[class]': 'config.marksClass',
|
|
@@ -2120,12 +2095,7 @@ function mixinQuantitativeAxisConfig(Base) {
|
|
|
2120
2095
|
safeAssign(this, args[0]);
|
|
2121
2096
|
}
|
|
2122
2097
|
}
|
|
2123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2124
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: Mixin, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
2125
2098
|
}
|
|
2126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, decorators: [{
|
|
2127
|
-
type: Directive
|
|
2128
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
2129
2099
|
return Mixin;
|
|
2130
2100
|
}
|
|
2131
2101
|
class VicQuantitativeAxisConfig extends mixinQuantitativeAxisConfig(XyAxisConfig) {
|
|
@@ -2185,10 +2155,10 @@ class VicXQuantitativeAxisConfigBuilder extends XyAxisBaseBuilder {
|
|
|
2185
2155
|
ticks: this.ticksBuilder._build('x'),
|
|
2186
2156
|
});
|
|
2187
2157
|
}
|
|
2188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2189
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXQuantitativeAxisConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2159
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXQuantitativeAxisConfigBuilder }); }
|
|
2190
2160
|
}
|
|
2191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXQuantitativeAxisConfigBuilder, decorators: [{
|
|
2192
2162
|
type: Injectable
|
|
2193
2163
|
}], ctorParameters: () => [] });
|
|
2194
2164
|
|
|
@@ -2332,23 +2302,16 @@ function quantitativeAxisMixin(Base) {
|
|
|
2332
2302
|
// For composite formats or unrecognized formats, return null to use default logic
|
|
2333
2303
|
return null;
|
|
2334
2304
|
}
|
|
2335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2336
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: Mixin, isStandalone: true, inputs: { config: "config" }, usesInheritance: true, ngImport: i0 }); }
|
|
2337
2305
|
}
|
|
2338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, decorators: [{
|
|
2339
|
-
type: Directive
|
|
2340
|
-
}], propDecorators: { config: [{
|
|
2341
|
-
type: Input
|
|
2342
|
-
}] } });
|
|
2343
2306
|
return Mixin;
|
|
2344
2307
|
}
|
|
2345
2308
|
|
|
2346
2309
|
const XQuantitativeAxis = xAxisMixin(quantitativeAxisMixin(XyAxis));
|
|
2347
2310
|
class XQuantitativeAxisComponent extends XQuantitativeAxis {
|
|
2348
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2349
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2311
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XQuantitativeAxisComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2312
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: XQuantitativeAxisComponent, isStandalone: true, selector: "[vic-x-quantitative-axis]", inputs: { config: "config" }, host: { properties: { "class": "config.marksClass", "attr.mix-blend-mode": "config.mixBlendMode", "attr.transform": "translate" }, classAttribute: "vic-axis" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [".vic-axis-x-quantitative .vic-axis-label{fill:currentColor}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
2350
2313
|
}
|
|
2351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XQuantitativeAxisComponent, decorators: [{
|
|
2352
2315
|
type: Component,
|
|
2353
2316
|
args: [{ selector: '[vic-x-quantitative-axis]', template: '', inputs: ['config'], encapsulation: ViewEncapsulation.None, host: {
|
|
2354
2317
|
'[class]': 'config.marksClass',
|
|
@@ -2486,23 +2449,16 @@ function yAxisMixin(Base) {
|
|
|
2486
2449
|
}
|
|
2487
2450
|
}
|
|
2488
2451
|
}
|
|
2489
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2490
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: Mixin, isStandalone: true, inputs: { config: "config" }, usesInheritance: true, ngImport: i0 }); }
|
|
2491
2452
|
}
|
|
2492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, decorators: [{
|
|
2493
|
-
type: Directive
|
|
2494
|
-
}], propDecorators: { config: [{
|
|
2495
|
-
type: Input
|
|
2496
|
-
}] } });
|
|
2497
2453
|
return Mixin;
|
|
2498
2454
|
}
|
|
2499
2455
|
|
|
2500
2456
|
const YOrdinalAxis = yAxisMixin(ordinalAxisMixin((XyAxis)));
|
|
2501
2457
|
class YOrdinalAxisComponent extends YOrdinalAxis {
|
|
2502
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2503
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2458
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: YOrdinalAxisComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2459
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: YOrdinalAxisComponent, isStandalone: true, selector: "[vic-y-ordinal-axis]", inputs: { config: "config" }, host: { properties: { "class": "config.marksClass", "attr.mix-blend-mode": "config.mixBlendMode", "attr.transform": "translate" }, classAttribute: "vic-axis" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [".vic-axis-y-ordinal .vic-axis-label{fill:currentColor}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
2504
2460
|
}
|
|
2505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: YOrdinalAxisComponent, decorators: [{
|
|
2506
2462
|
type: Component,
|
|
2507
2463
|
args: [{ selector: '[vic-y-ordinal-axis]', template: '', inputs: ['config'], encapsulation: ViewEncapsulation.None, host: {
|
|
2508
2464
|
'[class]': 'config.marksClass',
|
|
@@ -2514,10 +2470,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
2514
2470
|
|
|
2515
2471
|
const YQuantitativeAxis = yAxisMixin(quantitativeAxisMixin(XyAxis));
|
|
2516
2472
|
class YQuantitativeAxisComponent extends YQuantitativeAxis {
|
|
2517
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2518
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: YQuantitativeAxisComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2474
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: YQuantitativeAxisComponent, isStandalone: true, selector: "[vic-y-quantitative-axis]", inputs: { config: "config" }, host: { properties: { "class": "config.marksClass", "attr.mix-blend-mode": "config.mixBlendMode", "attr.transform": "translate" }, classAttribute: "vic-axis" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [".vic-axis-y-quantitative .vic-axis-label{fill:currentColor}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
2519
2475
|
}
|
|
2520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: YQuantitativeAxisComponent, decorators: [{
|
|
2521
2477
|
type: Component,
|
|
2522
2478
|
args: [{ selector: '[vic-y-quantitative-axis]', template: '', inputs: ['config'], encapsulation: ViewEncapsulation.None, host: {
|
|
2523
2479
|
'[class]': 'config.marksClass',
|
|
@@ -2528,17 +2484,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
2528
2484
|
}] });
|
|
2529
2485
|
|
|
2530
2486
|
class VicXyAxisModule {
|
|
2531
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2532
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXyAxisModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2488
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicXyAxisModule, imports: [YQuantitativeAxisComponent,
|
|
2533
2489
|
YOrdinalAxisComponent,
|
|
2534
2490
|
XQuantitativeAxisComponent,
|
|
2535
2491
|
XOrdinalAxisComponent], exports: [YQuantitativeAxisComponent,
|
|
2536
2492
|
YOrdinalAxisComponent,
|
|
2537
2493
|
XQuantitativeAxisComponent,
|
|
2538
2494
|
XOrdinalAxisComponent] }); }
|
|
2539
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2495
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXyAxisModule }); }
|
|
2540
2496
|
}
|
|
2541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXyAxisModule, decorators: [{
|
|
2542
2498
|
type: NgModule,
|
|
2543
2499
|
args: [{
|
|
2544
2500
|
imports: [
|
|
@@ -2568,12 +2524,7 @@ function mixinYAxisConfig(Base) {
|
|
|
2568
2524
|
const d3SuggestedDefault = dimensions.height / spacing;
|
|
2569
2525
|
return this.getValidatedNumTicks(d3SuggestedDefault);
|
|
2570
2526
|
}
|
|
2571
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2572
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: Mixin, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
2573
2527
|
}
|
|
2574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: Mixin, decorators: [{
|
|
2575
|
-
type: Directive
|
|
2576
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
2577
2528
|
return Mixin;
|
|
2578
2529
|
}
|
|
2579
2530
|
class YAxisConfig extends mixinYAxisConfig(XyAxisConfig) {
|
|
@@ -2636,10 +2587,10 @@ class VicYOrdinalAxisConfigBuilder extends XyAxisBaseBuilder {
|
|
|
2636
2587
|
ticks: this.ticksBuilder._build('y'),
|
|
2637
2588
|
});
|
|
2638
2589
|
}
|
|
2639
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2640
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2590
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicYOrdinalAxisConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2591
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicYOrdinalAxisConfigBuilder }); }
|
|
2641
2592
|
}
|
|
2642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicYOrdinalAxisConfigBuilder, decorators: [{
|
|
2643
2594
|
type: Injectable
|
|
2644
2595
|
}], ctorParameters: () => [] });
|
|
2645
2596
|
|
|
@@ -2698,10 +2649,10 @@ class VicYQuantitativeAxisConfigBuilder extends XyAxisBaseBuilder {
|
|
|
2698
2649
|
ticks: this.ticksBuilder._build('y'),
|
|
2699
2650
|
});
|
|
2700
2651
|
}
|
|
2701
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2702
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2652
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicYQuantitativeAxisConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2653
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicYQuantitativeAxisConfigBuilder }); }
|
|
2703
2654
|
}
|
|
2704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicYQuantitativeAxisConfigBuilder, decorators: [{
|
|
2705
2656
|
type: Injectable
|
|
2706
2657
|
}], ctorParameters: () => [] });
|
|
2707
2658
|
|
|
@@ -3374,14 +3325,14 @@ class BarsComponent extends VicXyPrimaryMarks {
|
|
|
3374
3325
|
this.config.quantitative.values[barDatum.index] ===
|
|
3375
3326
|
this.config.quantitative.valueAccessor(d));
|
|
3376
3327
|
}
|
|
3377
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3378
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3328
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: BarsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3329
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: BarsComponent, isStandalone: true, selector: "[vic-primary-marks-bars]", host: { properties: { "class": "config.marksClass", "style.mixBlendMode": "config.mixBlendMode" } }, providers: [
|
|
3379
3330
|
{ provide: VIC_PRIMARY_MARKS, useExisting: BarsComponent },
|
|
3380
3331
|
{ provide: BARS, useExisting: BarsComponent },
|
|
3381
3332
|
{ provide: ChartComponent, useExisting: XyChartComponent },
|
|
3382
3333
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3383
3334
|
}
|
|
3384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: BarsComponent, decorators: [{
|
|
3385
3336
|
type: Component,
|
|
3386
3337
|
args: [{ selector: '[vic-primary-marks-bars]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
3387
3338
|
{ provide: VIC_PRIMARY_MARKS, useExisting: BarsComponent },
|
|
@@ -3487,10 +3438,10 @@ class EventsDirective {
|
|
|
3487
3438
|
asHost() {
|
|
3488
3439
|
return this;
|
|
3489
3440
|
}
|
|
3490
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3491
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: EventsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3442
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: EventsDirective, isStandalone: true, inputs: { clickRemoveEvent$: "clickRemoveEvent$", inputEvent$: "inputEvent$" }, ngImport: i0 }); }
|
|
3492
3443
|
}
|
|
3493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: EventsDirective, decorators: [{
|
|
3494
3445
|
type: Directive
|
|
3495
3446
|
}], propDecorators: { clickRemoveEvent$: [{
|
|
3496
3447
|
type: Input
|
|
@@ -3714,10 +3665,10 @@ class VicHtmlTooltipConfigBuilder {
|
|
|
3714
3665
|
}
|
|
3715
3666
|
return panelClasses;
|
|
3716
3667
|
}
|
|
3717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3718
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3668
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicHtmlTooltipConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3669
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicHtmlTooltipConfigBuilder }); }
|
|
3719
3670
|
}
|
|
3720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicHtmlTooltipConfigBuilder, decorators: [{
|
|
3721
3672
|
type: Injectable
|
|
3722
3673
|
}], ctorParameters: () => [] });
|
|
3723
3674
|
|
|
@@ -3879,11 +3830,7 @@ class TooltipPositionBuilder {
|
|
|
3879
3830
|
}
|
|
3880
3831
|
|
|
3881
3832
|
class HtmlTooltipDirective {
|
|
3882
|
-
constructor(
|
|
3883
|
-
this.viewContainerRef = viewContainerRef;
|
|
3884
|
-
this.overlay = overlay;
|
|
3885
|
-
this.overlayPositionBuilder = overlayPositionBuilder;
|
|
3886
|
-
this.document = document;
|
|
3833
|
+
constructor() {
|
|
3887
3834
|
this.backdropClick = new EventEmitter();
|
|
3888
3835
|
this.backdropUnsubscribe = new Subject();
|
|
3889
3836
|
this.portalAttached = false;
|
|
@@ -3892,6 +3839,10 @@ class HtmlTooltipDirective {
|
|
|
3892
3839
|
this.hide();
|
|
3893
3840
|
}
|
|
3894
3841
|
};
|
|
3842
|
+
this.viewContainerRef = inject(ViewContainerRef);
|
|
3843
|
+
this.overlay = inject(Overlay);
|
|
3844
|
+
this.overlayPositionBuilder = inject(OverlayPositionBuilder);
|
|
3845
|
+
this.document = inject(DOCUMENT);
|
|
3895
3846
|
}
|
|
3896
3847
|
init() {
|
|
3897
3848
|
if (!this.overlayRef) {
|
|
@@ -4027,19 +3978,16 @@ class HtmlTooltipDirective {
|
|
|
4027
3978
|
this.overlayRef.dispose();
|
|
4028
3979
|
}
|
|
4029
3980
|
}
|
|
4030
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4031
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: HtmlTooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3982
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: HtmlTooltipDirective, isStandalone: true, selector: "vic-html-tooltip", inputs: { template: "template", config: "config" }, outputs: { backdropClick: "backdropClick" }, usesOnChanges: true, ngImport: i0 }); }
|
|
4032
3983
|
}
|
|
4033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: HtmlTooltipDirective, decorators: [{
|
|
4034
3985
|
type: Directive,
|
|
4035
3986
|
args: [{
|
|
4036
3987
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
4037
3988
|
selector: 'vic-html-tooltip',
|
|
4038
3989
|
}]
|
|
4039
|
-
}],
|
|
4040
|
-
type: Inject,
|
|
4041
|
-
args: [DOCUMENT]
|
|
4042
|
-
}] }], propDecorators: { template: [{
|
|
3990
|
+
}], propDecorators: { template: [{
|
|
4043
3991
|
type: Input
|
|
4044
3992
|
}], config: [{
|
|
4045
3993
|
type: Input
|
|
@@ -4052,10 +4000,10 @@ class TooltipTriangleComponent {
|
|
|
4052
4000
|
this.height = 12;
|
|
4053
4001
|
this.width = 20;
|
|
4054
4002
|
}
|
|
4055
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4056
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4003
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TooltipTriangleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4004
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: TooltipTriangleComponent, isStandalone: true, selector: "vic-tooltip-triangle", inputs: { height: "height", width: "width" }, ngImport: i0, template: "<svg\n width=\"100%\"\n [attr.height]=\"height\"\n [style.--width]=\"width + 'px'\"\n class=\"vic-tooltip-svg-triangle center\"\n>\n <g class=\"svg-g\">\n <path\n class=\"triangle-path\"\n [attr.d]=\"'M 0,0 ' + (width / 2) + ',' + height + ' ' + width + ',0'\"\n ></path>\n </g>\n</svg>\n\n<svg\n width=\"100%\"\n [attr.height]=\"height\"\n [style.--width]=\"width + 'px'\"\n class=\"vic-tooltip-svg-triangle right\"\n>\n <g class=\"svg-g\">\n <path\n class=\"triangle-path\"\n [attr.d]=\"'M 0,0 ' + (width / 2) + ',' + height + ' ' + (width / 2) + ',0'\"\n ></path>\n </g>\n</svg>\n\n<svg\n width=\"100%\"\n [attr.height]=\"height\"\n [style.--width]=\"width + 'px'\"\n class=\"vic-tooltip-svg-triangle left\"\n>\n <g class=\"svg-g\">\n <path\n class=\"triangle-path\"\n [attr.d]=\"'M 0,0 ' + '0,' + height + ' ' + (width / 2) + ',0'\"\n ></path>\n </g>\n</svg>\n", styles: [".cdk-overlay-container .position-bottom-center .vic-tooltip-svg-triangle.center{transform:translate(calc(50% - var(--width) / 2),-2px)}.cdk-overlay-container .position-bottom-center .vic-tooltip-svg-triangle.right,.cdk-overlay-container .position-bottom-center .vic-tooltip-svg-triangle.left,.cdk-overlay-container .position-bottom-left .vic-tooltip-svg-triangle.center,.cdk-overlay-container .position-bottom-left .vic-tooltip-svg-triangle.right{display:none}.cdk-overlay-container .position-bottom-left .vic-tooltip-svg-triangle.left{transform:translateY(-2px)}.cdk-overlay-container .position-bottom-right .vic-tooltip-svg-triangle.center{display:none}.cdk-overlay-container .position-bottom-right .vic-tooltip-svg-triangle.right{transform:translate(calc(100% - var(--width) / 2),-2px)}.cdk-overlay-container .position-bottom-right .vic-tooltip-svg-triangle.left{display:none}.cdk-overlay-container .vic-tooltip-svg-triangle{display:block;transform:translate(calc(50% - var(--width) / 2),-2px)}.cdk-overlay-container .vic-tooltip-svg-triangle .triangle-path{stroke:var(--tooltip-triangle-stroke, gray);fill:var(--tooltip-triangle-fill, white);fill-opacity:var(--tooltip-triangle-fill-opacity, 1)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4057
4005
|
}
|
|
4058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TooltipTriangleComponent, decorators: [{
|
|
4059
4007
|
type: Component,
|
|
4060
4008
|
args: [{ selector: 'vic-tooltip-triangle', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<svg\n width=\"100%\"\n [attr.height]=\"height\"\n [style.--width]=\"width + 'px'\"\n class=\"vic-tooltip-svg-triangle center\"\n>\n <g class=\"svg-g\">\n <path\n class=\"triangle-path\"\n [attr.d]=\"'M 0,0 ' + (width / 2) + ',' + height + ' ' + width + ',0'\"\n ></path>\n </g>\n</svg>\n\n<svg\n width=\"100%\"\n [attr.height]=\"height\"\n [style.--width]=\"width + 'px'\"\n class=\"vic-tooltip-svg-triangle right\"\n>\n <g class=\"svg-g\">\n <path\n class=\"triangle-path\"\n [attr.d]=\"'M 0,0 ' + (width / 2) + ',' + height + ' ' + (width / 2) + ',0'\"\n ></path>\n </g>\n</svg>\n\n<svg\n width=\"100%\"\n [attr.height]=\"height\"\n [style.--width]=\"width + 'px'\"\n class=\"vic-tooltip-svg-triangle left\"\n>\n <g class=\"svg-g\">\n <path\n class=\"triangle-path\"\n [attr.d]=\"'M 0,0 ' + '0,' + height + ' ' + (width / 2) + ',0'\"\n ></path>\n </g>\n</svg>\n", styles: [".cdk-overlay-container .position-bottom-center .vic-tooltip-svg-triangle.center{transform:translate(calc(50% - var(--width) / 2),-2px)}.cdk-overlay-container .position-bottom-center .vic-tooltip-svg-triangle.right,.cdk-overlay-container .position-bottom-center .vic-tooltip-svg-triangle.left,.cdk-overlay-container .position-bottom-left .vic-tooltip-svg-triangle.center,.cdk-overlay-container .position-bottom-left .vic-tooltip-svg-triangle.right{display:none}.cdk-overlay-container .position-bottom-left .vic-tooltip-svg-triangle.left{transform:translateY(-2px)}.cdk-overlay-container .position-bottom-right .vic-tooltip-svg-triangle.center{display:none}.cdk-overlay-container .position-bottom-right .vic-tooltip-svg-triangle.right{transform:translate(calc(100% - var(--width) / 2),-2px)}.cdk-overlay-container .position-bottom-right .vic-tooltip-svg-triangle.left{display:none}.cdk-overlay-container .vic-tooltip-svg-triangle{display:block;transform:translate(calc(50% - var(--width) / 2),-2px)}.cdk-overlay-container .vic-tooltip-svg-triangle .triangle-path{stroke:var(--tooltip-triangle-stroke, gray);fill:var(--tooltip-triangle-fill, white);fill-opacity:var(--tooltip-triangle-fill-opacity, 1)}\n"] }]
|
|
4061
4009
|
}], propDecorators: { height: [{
|
|
@@ -4065,15 +4013,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
4065
4013
|
}] } });
|
|
4066
4014
|
|
|
4067
4015
|
class VicHtmlTooltipModule {
|
|
4068
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4069
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4016
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicHtmlTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4017
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicHtmlTooltipModule, imports: [CommonModule,
|
|
4070
4018
|
OverlayModule,
|
|
4071
4019
|
HtmlTooltipDirective,
|
|
4072
4020
|
TooltipTriangleComponent], exports: [HtmlTooltipDirective, TooltipTriangleComponent] }); }
|
|
4073
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4021
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicHtmlTooltipModule, imports: [CommonModule,
|
|
4074
4022
|
OverlayModule] }); }
|
|
4075
4023
|
}
|
|
4076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicHtmlTooltipModule, decorators: [{
|
|
4077
4025
|
type: NgModule,
|
|
4078
4026
|
args: [{
|
|
4079
4027
|
imports: [
|
|
@@ -4103,10 +4051,10 @@ class BarsTooltipPositioner extends TooltipPositioner {
|
|
|
4103
4051
|
}
|
|
4104
4052
|
|
|
4105
4053
|
class BarsEventsDirective extends EventsDirective {
|
|
4106
|
-
constructor(
|
|
4107
|
-
super();
|
|
4108
|
-
this.bars = bars;
|
|
4054
|
+
constructor() {
|
|
4055
|
+
super(...arguments);
|
|
4109
4056
|
this.interactionOutput = new EventEmitter();
|
|
4057
|
+
this.bars = inject(BARS);
|
|
4110
4058
|
}
|
|
4111
4059
|
get marks() {
|
|
4112
4060
|
return this.bars;
|
|
@@ -4243,18 +4191,15 @@ class BarsEventsDirective extends EventsDirective {
|
|
|
4243
4191
|
this.positionX = undefined;
|
|
4244
4192
|
this.positionY = undefined;
|
|
4245
4193
|
}
|
|
4246
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4247
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: BarsEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4195
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: BarsEventsDirective, isStandalone: true, selector: "[vicBarsEvents]", inputs: { hoverActions: "hoverActions", hoverMoveActions: "hoverMoveActions", clickActions: "clickActions", inputEventActions: "inputEventActions" }, outputs: { interactionOutput: "interactionOutput" }, usesInheritance: true, ngImport: i0 }); }
|
|
4248
4196
|
}
|
|
4249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: BarsEventsDirective, decorators: [{
|
|
4250
4198
|
type: Directive,
|
|
4251
4199
|
args: [{
|
|
4252
4200
|
selector: '[vicBarsEvents]',
|
|
4253
4201
|
}]
|
|
4254
|
-
}],
|
|
4255
|
-
type: Inject,
|
|
4256
|
-
args: [BARS]
|
|
4257
|
-
}] }], propDecorators: { hoverActions: [{
|
|
4202
|
+
}], propDecorators: { hoverActions: [{
|
|
4258
4203
|
type: Input
|
|
4259
4204
|
}], hoverMoveActions: [{
|
|
4260
4205
|
type: Input
|
|
@@ -4267,11 +4212,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
4267
4212
|
}] } });
|
|
4268
4213
|
|
|
4269
4214
|
class VicBarsModule {
|
|
4270
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4271
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4272
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicBarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4216
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicBarsModule, imports: [BarsComponent, BarsEventsDirective], exports: [BarsComponent, BarsEventsDirective] }); }
|
|
4217
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicBarsModule }); }
|
|
4273
4218
|
}
|
|
4274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicBarsModule, decorators: [{
|
|
4275
4220
|
type: NgModule,
|
|
4276
4221
|
args: [{
|
|
4277
4222
|
imports: [BarsComponent, BarsEventsDirective],
|
|
@@ -5258,10 +5203,10 @@ class VicBarsConfigBuilder extends PrimaryMarksBuilder {
|
|
|
5258
5203
|
getQuantitativeDimensionName() {
|
|
5259
5204
|
return this._orientation === 'horizontal' ? 'X' : 'Y';
|
|
5260
5205
|
}
|
|
5261
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5262
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicBarsConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5207
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicBarsConfigBuilder }); }
|
|
5263
5208
|
}
|
|
5264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicBarsConfigBuilder, decorators: [{
|
|
5265
5210
|
type: Injectable
|
|
5266
5211
|
}], ctorParameters: () => [] });
|
|
5267
5212
|
|
|
@@ -5405,10 +5350,10 @@ class VicDataExport {
|
|
|
5405
5350
|
const blob = new Blob(blobParts, { type: 'text/csv;charset=utf-8' });
|
|
5406
5351
|
saveAs.saveAs(blob, `${name}.csv`);
|
|
5407
5352
|
}
|
|
5408
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5409
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDataExport, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5354
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDataExport, providedIn: 'root' }); }
|
|
5410
5355
|
}
|
|
5411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDataExport, decorators: [{
|
|
5412
5357
|
type: Injectable,
|
|
5413
5358
|
args: [{ providedIn: 'root' }]
|
|
5414
5359
|
}] });
|
|
@@ -5963,10 +5908,10 @@ class VicDotsConfigBuilder extends PrimaryMarksBuilder {
|
|
|
5963
5908
|
throw new Error('Dots Builder: Exactly one Y dimension is required. Please use one of `yDate`, `yNumeric`, or `yOrdinal` to set it.');
|
|
5964
5909
|
}
|
|
5965
5910
|
}
|
|
5966
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5967
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5911
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDotsConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5912
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDotsConfigBuilder }); }
|
|
5968
5913
|
}
|
|
5969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDotsConfigBuilder, decorators: [{
|
|
5970
5915
|
type: Injectable
|
|
5971
5916
|
}], ctorParameters: () => [] });
|
|
5972
5917
|
|
|
@@ -6096,14 +6041,14 @@ class DotsComponent extends VicXyPrimaryMarks {
|
|
|
6096
6041
|
return ('formatSpecifier' in dimension &&
|
|
6097
6042
|
typeof dimension.formatSpecifier === 'string');
|
|
6098
6043
|
}
|
|
6099
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6100
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6044
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DotsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6045
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DotsComponent, isStandalone: true, selector: "[vic-primary-marks-dots]", host: { properties: { "class": "config.marksClass", "style.mixed-blend-mode": "config.mixBlendMode" } }, providers: [
|
|
6101
6046
|
{ provide: VIC_PRIMARY_MARKS, useExisting: DotsComponent },
|
|
6102
6047
|
{ provide: DOTS, useExisting: DotsComponent },
|
|
6103
6048
|
{ provide: ChartComponent, useExisting: XyChartComponent },
|
|
6104
6049
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6105
6050
|
}
|
|
6106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DotsComponent, decorators: [{
|
|
6107
6052
|
type: Component,
|
|
6108
6053
|
args: [{ selector: '[vic-primary-marks-dots]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
6109
6054
|
{ provide: VIC_PRIMARY_MARKS, useExisting: DotsComponent },
|
|
@@ -6132,10 +6077,10 @@ class DotsTooltipPositioner extends TooltipPositioner {
|
|
|
6132
6077
|
}
|
|
6133
6078
|
|
|
6134
6079
|
class DotsEventsDirective extends EventsDirective {
|
|
6135
|
-
constructor(
|
|
6136
|
-
super();
|
|
6137
|
-
this.dots = dots;
|
|
6080
|
+
constructor() {
|
|
6081
|
+
super(...arguments);
|
|
6138
6082
|
this.interactionOutput = new EventEmitter();
|
|
6083
|
+
this.dots = inject(DOTS);
|
|
6139
6084
|
}
|
|
6140
6085
|
get marks() {
|
|
6141
6086
|
return this.dots;
|
|
@@ -6273,18 +6218,15 @@ class DotsEventsDirective extends EventsDirective {
|
|
|
6273
6218
|
this.positionX = undefined;
|
|
6274
6219
|
this.positionY = undefined;
|
|
6275
6220
|
}
|
|
6276
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6277
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6221
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DotsEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6222
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DotsEventsDirective, isStandalone: true, selector: "[vicDotsEvents]", inputs: { hoverActions: "hoverActions", hoverMoveActions: "hoverMoveActions", clickActions: "clickActions", inputEventActions: "inputEventActions" }, outputs: { interactionOutput: "interactionOutput" }, usesInheritance: true, ngImport: i0 }); }
|
|
6278
6223
|
}
|
|
6279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DotsEventsDirective, decorators: [{
|
|
6280
6225
|
type: Directive,
|
|
6281
6226
|
args: [{
|
|
6282
6227
|
selector: '[vicDotsEvents]',
|
|
6283
6228
|
}]
|
|
6284
|
-
}],
|
|
6285
|
-
type: Inject,
|
|
6286
|
-
args: [DOTS]
|
|
6287
|
-
}] }], propDecorators: { hoverActions: [{
|
|
6229
|
+
}], propDecorators: { hoverActions: [{
|
|
6288
6230
|
type: Input
|
|
6289
6231
|
}], hoverMoveActions: [{
|
|
6290
6232
|
type: Input
|
|
@@ -6297,11 +6239,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
6297
6239
|
}] } });
|
|
6298
6240
|
|
|
6299
6241
|
class VicDotsModule {
|
|
6300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6301
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6302
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6242
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDotsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6243
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicDotsModule, imports: [DotsComponent, DotsEventsDirective], exports: [DotsComponent, DotsEventsDirective] }); }
|
|
6244
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDotsModule }); }
|
|
6303
6245
|
}
|
|
6304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicDotsModule, decorators: [{
|
|
6305
6247
|
type: NgModule,
|
|
6306
6248
|
args: [{
|
|
6307
6249
|
imports: [DotsComponent, DotsEventsDirective],
|
|
@@ -7563,10 +7505,10 @@ class VicGeographiesConfigBuilder {
|
|
|
7563
7505
|
throw new Error('At least one layer is required');
|
|
7564
7506
|
}
|
|
7565
7507
|
}
|
|
7566
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7567
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7508
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGeographiesConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7509
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGeographiesConfigBuilder }); }
|
|
7568
7510
|
}
|
|
7569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGeographiesConfigBuilder, decorators: [{
|
|
7570
7512
|
type: Injectable
|
|
7571
7513
|
}], ctorParameters: () => [] });
|
|
7572
7514
|
|
|
@@ -7746,8 +7688,8 @@ class GeographiesComponent extends MapPrimaryMarks {
|
|
|
7746
7688
|
}, []);
|
|
7747
7689
|
this.pathsByLayer.next(pathsByLayer);
|
|
7748
7690
|
}
|
|
7749
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7750
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7691
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GeographiesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7692
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GeographiesComponent, isStandalone: true, selector: "[vic-primary-marks-geographies]", host: { properties: { "class": "config.marksClass", "style.mixed-blend-mode": "config.mixBlendMode" } }, providers: [
|
|
7751
7693
|
{ provide: VIC_PRIMARY_MARKS, useExisting: GeographiesComponent },
|
|
7752
7694
|
{
|
|
7753
7695
|
provide: GEOGRAPHIES,
|
|
@@ -7759,7 +7701,7 @@ class GeographiesComponent extends MapPrimaryMarks {
|
|
|
7759
7701
|
},
|
|
7760
7702
|
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7761
7703
|
}
|
|
7762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GeographiesComponent, decorators: [{
|
|
7763
7705
|
type: Component,
|
|
7764
7706
|
args: [{ selector: '[vic-primary-marks-geographies]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
7765
7707
|
{ provide: VIC_PRIMARY_MARKS, useExisting: GeographiesComponent },
|
|
@@ -7773,7 +7715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
7773
7715
|
},
|
|
7774
7716
|
], host: {
|
|
7775
7717
|
'[class]': 'config.marksClass',
|
|
7776
|
-
'[style.mixed-blend-mode]': 'config.
|
|
7718
|
+
'[style.mixed-blend-mode]': 'config.mixBlendMode',
|
|
7777
7719
|
}, template: "<ng-content></ng-content>\n" }]
|
|
7778
7720
|
}] });
|
|
7779
7721
|
|
|
@@ -7794,10 +7736,10 @@ class GeographiesTooltipPositioner extends TooltipPositioner {
|
|
|
7794
7736
|
}
|
|
7795
7737
|
|
|
7796
7738
|
class GeographiesEventsDirective extends EventsDirective {
|
|
7797
|
-
constructor(
|
|
7798
|
-
super();
|
|
7799
|
-
this.geographies = geographies;
|
|
7739
|
+
constructor() {
|
|
7740
|
+
super(...arguments);
|
|
7800
7741
|
this.interactionOutput = new EventEmitter();
|
|
7742
|
+
this.geographies = inject(GEOGRAPHIES);
|
|
7801
7743
|
}
|
|
7802
7744
|
get marks() {
|
|
7803
7745
|
return this.geographies;
|
|
@@ -7936,18 +7878,15 @@ class GeographiesEventsDirective extends EventsDirective {
|
|
|
7936
7878
|
this.positionY = undefined;
|
|
7937
7879
|
this.layer = undefined;
|
|
7938
7880
|
}
|
|
7939
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7940
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7881
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GeographiesEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7882
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: GeographiesEventsDirective, isStandalone: true, selector: "[vicGeographiesEvents]", inputs: { hoverActions: "hoverActions", hoverMoveActions: "hoverMoveActions", clickActions: "clickActions", inputEventActions: "inputEventActions" }, outputs: { interactionOutput: "interactionOutput" }, usesInheritance: true, ngImport: i0 }); }
|
|
7941
7883
|
}
|
|
7942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GeographiesEventsDirective, decorators: [{
|
|
7943
7885
|
type: Directive,
|
|
7944
7886
|
args: [{
|
|
7945
7887
|
selector: '[vicGeographiesEvents]',
|
|
7946
7888
|
}]
|
|
7947
|
-
}],
|
|
7948
|
-
type: Inject,
|
|
7949
|
-
args: [GEOGRAPHIES]
|
|
7950
|
-
}] }], propDecorators: { hoverActions: [{
|
|
7889
|
+
}], propDecorators: { hoverActions: [{
|
|
7951
7890
|
type: Input
|
|
7952
7891
|
}], hoverMoveActions: [{
|
|
7953
7892
|
type: Input
|
|
@@ -7964,11 +7903,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
7964
7903
|
*/
|
|
7965
7904
|
|
|
7966
7905
|
class VicGeographiesModule {
|
|
7967
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7968
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7969
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7906
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGeographiesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7907
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicGeographiesModule, imports: [GeographiesComponent, GeographiesEventsDirective], exports: [GeographiesComponent, GeographiesEventsDirective] }); }
|
|
7908
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGeographiesModule }); }
|
|
7970
7909
|
}
|
|
7971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGeographiesModule, decorators: [{
|
|
7972
7911
|
type: NgModule,
|
|
7973
7912
|
args: [{
|
|
7974
7913
|
imports: [GeographiesComponent, GeographiesEventsDirective],
|
|
@@ -8042,18 +7981,18 @@ class VicGroupedBarsConfigBuilder extends VicBarsConfigBuilder {
|
|
|
8042
7981
|
quantitative: this.quantitativeDimensionBuilder._build(this.getQuantitativeDimensionName()),
|
|
8043
7982
|
});
|
|
8044
7983
|
}
|
|
8045
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8046
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7984
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGroupedBarsConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7985
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGroupedBarsConfigBuilder }); }
|
|
8047
7986
|
}
|
|
8048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGroupedBarsConfigBuilder, decorators: [{
|
|
8049
7988
|
type: Injectable
|
|
8050
7989
|
}], ctorParameters: () => [] });
|
|
8051
7990
|
|
|
8052
7991
|
class GroupedBarsEventsDirective extends EventsDirective {
|
|
8053
|
-
constructor(
|
|
8054
|
-
super();
|
|
8055
|
-
this.bars = bars;
|
|
7992
|
+
constructor() {
|
|
7993
|
+
super(...arguments);
|
|
8056
7994
|
this.interactionOutput = new EventEmitter();
|
|
7995
|
+
this.bars = inject(BARS);
|
|
8057
7996
|
}
|
|
8058
7997
|
get marks() {
|
|
8059
7998
|
return this.bars;
|
|
@@ -8190,18 +8129,15 @@ class GroupedBarsEventsDirective extends EventsDirective {
|
|
|
8190
8129
|
this.positionX = undefined;
|
|
8191
8130
|
this.positionY = undefined;
|
|
8192
8131
|
}
|
|
8193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8194
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
8132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GroupedBarsEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8133
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: GroupedBarsEventsDirective, isStandalone: true, selector: "[vicGroupedBarsEvents]", inputs: { hoverActions: "hoverActions", hoverMoveActions: "hoverMoveActions", clickActions: "clickActions", inputEventActions: "inputEventActions" }, outputs: { interactionOutput: "interactionOutput" }, usesInheritance: true, ngImport: i0 }); }
|
|
8195
8134
|
}
|
|
8196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GroupedBarsEventsDirective, decorators: [{
|
|
8197
8136
|
type: Directive,
|
|
8198
8137
|
args: [{
|
|
8199
8138
|
selector: '[vicGroupedBarsEvents]',
|
|
8200
8139
|
}]
|
|
8201
|
-
}],
|
|
8202
|
-
type: Inject,
|
|
8203
|
-
args: [BARS]
|
|
8204
|
-
}] }], propDecorators: { hoverActions: [{
|
|
8140
|
+
}], propDecorators: { hoverActions: [{
|
|
8205
8141
|
type: Input
|
|
8206
8142
|
}], hoverMoveActions: [{
|
|
8207
8143
|
type: Input
|
|
@@ -8262,14 +8198,14 @@ class GroupedBarsComponent extends BarsComponent {
|
|
|
8262
8198
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8263
8199
|
return this.groupScale.bandwidth();
|
|
8264
8200
|
}
|
|
8265
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8266
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GroupedBarsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8202
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GroupedBarsComponent, isStandalone: true, selector: "[vic-primary-grouped-bars]", inputs: { config: "config" }, host: { properties: { "class": "config.marksClass", "style.mixBlendMode": "config.mixBlendMode" } }, providers: [
|
|
8267
8203
|
{ provide: VIC_PRIMARY_MARKS, useExisting: GroupedBarsComponent },
|
|
8268
8204
|
{ provide: BARS, useExisting: GroupedBarsComponent },
|
|
8269
8205
|
{ provide: ChartComponent, useExisting: XyChartComponent },
|
|
8270
8206
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8271
8207
|
}
|
|
8272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GroupedBarsComponent, decorators: [{
|
|
8273
8209
|
type: Component,
|
|
8274
8210
|
args: [{ selector: '[vic-primary-grouped-bars]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
8275
8211
|
{ provide: VIC_PRIMARY_MARKS, useExisting: GroupedBarsComponent },
|
|
@@ -8285,11 +8221,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
8285
8221
|
}] } });
|
|
8286
8222
|
|
|
8287
8223
|
class VicGroupedBarsModule {
|
|
8288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8289
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8290
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
8224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGroupedBarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8225
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicGroupedBarsModule, imports: [GroupedBarsComponent, GroupedBarsEventsDirective], exports: [GroupedBarsComponent, GroupedBarsEventsDirective] }); }
|
|
8226
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGroupedBarsModule }); }
|
|
8291
8227
|
}
|
|
8292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicGroupedBarsModule, decorators: [{
|
|
8293
8229
|
type: NgModule,
|
|
8294
8230
|
args: [{
|
|
8295
8231
|
imports: [GroupedBarsComponent, GroupedBarsEventsDirective],
|
|
@@ -8373,10 +8309,10 @@ class VicImageDownloadService {
|
|
|
8373
8309
|
link.href = dataUrl;
|
|
8374
8310
|
link.click();
|
|
8375
8311
|
}
|
|
8376
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8377
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8312
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicImageDownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8313
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicImageDownloadService, providedIn: 'root' }); }
|
|
8378
8314
|
}
|
|
8379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicImageDownloadService, decorators: [{
|
|
8380
8316
|
type: Injectable,
|
|
8381
8317
|
args: [{ providedIn: 'root' }]
|
|
8382
8318
|
}] });
|
|
@@ -8792,10 +8728,10 @@ class VicLinesConfigBuilder extends PrimaryMarksBuilder {
|
|
|
8792
8728
|
throw new Error('Lines Builder: Y dimension is required. Please use method `createYDimension` to set it.');
|
|
8793
8729
|
}
|
|
8794
8730
|
}
|
|
8795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8796
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicLinesConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8732
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicLinesConfigBuilder }); }
|
|
8797
8733
|
}
|
|
8798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicLinesConfigBuilder, decorators: [{
|
|
8799
8735
|
type: Injectable
|
|
8800
8736
|
}], ctorParameters: () => [] });
|
|
8801
8737
|
|
|
@@ -9153,14 +9089,14 @@ class LinesComponent extends VicXyPrimaryMarks {
|
|
|
9153
9089
|
origin: this.chart.svgRef.nativeElement,
|
|
9154
9090
|
};
|
|
9155
9091
|
}
|
|
9156
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9157
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9092
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LinesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9093
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: LinesComponent, isStandalone: true, selector: "[vic-primary-marks-lines]", host: { attributes: { "fill": "none" }, properties: { "class": "config.marksClass", "attr.stroke-linecap": "config.stroke.linecap", "attr.stroke-linejoin": "config.stroke.linejoin", "attr.stroke-width": "config.stroke.width", "attr.stroke-opacity": "config.stroke.opacity", "style.mix-blend-mode": "config.mixBlendMode" } }, providers: [
|
|
9158
9094
|
{ provide: VIC_PRIMARY_MARKS, useExisting: LinesComponent },
|
|
9159
9095
|
{ provide: LINES, useExisting: LinesComponent },
|
|
9160
9096
|
{ provide: ChartComponent, useExisting: XyChartComponent },
|
|
9161
9097
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9162
9098
|
}
|
|
9163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LinesComponent, decorators: [{
|
|
9164
9100
|
type: Component,
|
|
9165
9101
|
args: [{ selector: '[vic-primary-marks-lines]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
9166
9102
|
{ provide: VIC_PRIMARY_MARKS, useExisting: LinesComponent },
|
|
@@ -9194,11 +9130,11 @@ class LinesTooltipPositioner extends TooltipPositioner {
|
|
|
9194
9130
|
}
|
|
9195
9131
|
|
|
9196
9132
|
class LinesEventsDirective extends EventsDirective {
|
|
9197
|
-
constructor(
|
|
9198
|
-
super();
|
|
9199
|
-
this.lines = lines;
|
|
9133
|
+
constructor() {
|
|
9134
|
+
super(...arguments);
|
|
9200
9135
|
this.interactionOutput = new EventEmitter();
|
|
9201
9136
|
this.actionActive = false;
|
|
9137
|
+
this.lines = inject(LINES);
|
|
9202
9138
|
}
|
|
9203
9139
|
get marks() {
|
|
9204
9140
|
return this.lines;
|
|
@@ -9369,18 +9305,15 @@ class LinesEventsDirective extends EventsDirective {
|
|
|
9369
9305
|
this.positionX = undefined;
|
|
9370
9306
|
this.positionY = undefined;
|
|
9371
9307
|
}
|
|
9372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9373
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
9308
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LinesEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9309
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: LinesEventsDirective, isStandalone: true, selector: "[vicLinesEvents]", inputs: { hoverMoveActions: "hoverMoveActions", clickActions: "clickActions", inputEventActions: "inputEventActions" }, outputs: { interactionOutput: "interactionOutput" }, usesInheritance: true, ngImport: i0 }); }
|
|
9374
9310
|
}
|
|
9375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LinesEventsDirective, decorators: [{
|
|
9376
9312
|
type: Directive,
|
|
9377
9313
|
args: [{
|
|
9378
9314
|
selector: '[vicLinesEvents]',
|
|
9379
9315
|
}]
|
|
9380
|
-
}],
|
|
9381
|
-
type: Inject,
|
|
9382
|
-
args: [LINES]
|
|
9383
|
-
}] }], propDecorators: { hoverMoveActions: [{
|
|
9316
|
+
}], propDecorators: { hoverMoveActions: [{
|
|
9384
9317
|
type: Input
|
|
9385
9318
|
}], clickActions: [{
|
|
9386
9319
|
type: Input
|
|
@@ -9391,11 +9324,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
9391
9324
|
}] } });
|
|
9392
9325
|
|
|
9393
9326
|
class VicLinesModule {
|
|
9394
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9395
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
9396
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicLinesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9328
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicLinesModule, imports: [LinesComponent, LinesEventsDirective], exports: [LinesComponent, LinesEventsDirective] }); }
|
|
9329
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicLinesModule }); }
|
|
9397
9330
|
}
|
|
9398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicLinesModule, decorators: [{
|
|
9399
9332
|
type: NgModule,
|
|
9400
9333
|
args: [{
|
|
9401
9334
|
imports: [LinesComponent, LinesEventsDirective],
|
|
@@ -9457,10 +9390,10 @@ class MapLegend {
|
|
|
9457
9390
|
this.largerValueSpace = 0;
|
|
9458
9391
|
this.leftOffset = 0;
|
|
9459
9392
|
}
|
|
9460
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9461
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
9393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MapLegend, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9394
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: MapLegend, isStandalone: true, inputs: { width: "width", height: "height", orientation: "orientation", valuesSide: "valuesSide", scale: "scale", config: "config", outlineColor: "outlineColor" }, usesOnChanges: true, ngImport: i0 }); }
|
|
9462
9395
|
}
|
|
9463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MapLegend, decorators: [{
|
|
9464
9397
|
type: Directive
|
|
9465
9398
|
}], propDecorators: { width: [{
|
|
9466
9399
|
type: Input
|
|
@@ -9531,12 +9464,12 @@ class ContinuousLegendComponent extends MapLegend {
|
|
|
9531
9464
|
ctx.fillRect(0, i, 1, 1);
|
|
9532
9465
|
}
|
|
9533
9466
|
}
|
|
9534
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9535
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9467
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ContinuousLegendComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9468
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: ContinuousLegendComponent, isStandalone: true, selector: "vic-continuous-legend", viewQueries: [{ propertyName: "canvasRef", first: true, predicate: ["canvas"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"vic-legend-color-scale vic-continuous\"\n [ngClass]=\"['vic-' + orientation, 'vic-' + valuesSide]\"\n [style.--width]=\"width + 'px'\"\n [style.--height]=\"height + 'px'\"\n [style.--border-color]=\"outlineColor\"\n [style.--value-space]=\"largerValueSpace + 'px'\"\n [style.left.px]=\"leftOffset\"\n>\n @if ((orientation === 'vertical' && valuesSide === 'left') || (orientation ===\n 'horizontal' && valuesSide === 'top')) {\n <ng-container *ngTemplateOutlet=\"valuesDisplay\"></ng-container>\n }\n <div class=\"vic-legend-canvas-container\">\n <canvas class=\"vic-legend-canvas\" #canvas></canvas>\n </div>\n @if ((orientation === 'vertical' && valuesSide === 'right') || (orientation\n === 'horizontal' && valuesSide === 'bottom')) {\n <ng-container *ngTemplateOutlet=\"valuesDisplay\"></ng-container>\n }\n</div>\n\n<ng-template #valuesDisplay>\n <div class=\"vic-legend-values-container vic-continuous\">\n <p class=\"vic-value vic-low\">{{ values[0] }}</p>\n <p class=\"vic-value vic-high\">{{ values[values.length - 1] }}</p>\n </div>\n</ng-template>\n", styles: [".vic-legend-canvas{display:block}.vic-legend-color-scale.vic-horizontal{display:flex;flex-direction:column;position:relative;max-width:var(--width)}.vic-legend-color-scale.vic-horizontal .vic-legend-canvas-container{display:flex;flex-direction:column;width:calc(var(--width) - var(--value-space) * 2);height:var(--height);margin-right:var(--value-space);margin-left:var(--value-space)}.vic-legend-color-scale.vic-horizontal .vic-legend-values-container{padding-top:.25rem;display:flex;flex-direction:row;justify-content:space-between}.vic-legend-color-scale.vic-horizontal .vic-value{width:calc(var(--value-space) * 2);text-align:center}.vic-legend-color-scale.vic-horizontal.vic-top .vic-legend-values-container{padding-top:0;padding-bottom:.25rem}.vic-legend-color-scale.vic-vertical{display:flex;max-height:var(--height)}.vic-legend-color-scale.vic-vertical .vic-legend-canvas-container{width:var(--width);height:calc(var(--height) - grid-2 * 2);margin-top:.5rem;margin-bottom:.5rem}.vic-legend-color-scale.vic-vertical .vic-legend-values-container{padding-right:.25rem;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}.vic-legend-color-scale.vic-vertical.vic-right .vic-legend-values-container{padding-right:0;padding-left:.25rem;align-items:flex-start}.vic-legend-canvas-container{border:1px solid var(--border-color)}.vic-value{font-size:12px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
9536
9469
|
}
|
|
9537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ContinuousLegendComponent, decorators: [{
|
|
9538
9471
|
type: Component,
|
|
9539
|
-
args: [{ selector: 'vic-continuous-legend', imports: [CommonModule], template: "<div\n class=\"vic-legend-color-scale vic-continuous\"\n [ngClass]=\"['vic-' + orientation, 'vic-' + valuesSide]\"\n [style.--width]=\"width + 'px'\"\n [style.--height]=\"height + 'px'\"\n [style.--border-color]=\"outlineColor\"\n [style.--value-space]=\"largerValueSpace + 'px'\"\n [style.left.px]=\"leftOffset\"\n>\n
|
|
9472
|
+
args: [{ selector: 'vic-continuous-legend', imports: [CommonModule], template: "<div\n class=\"vic-legend-color-scale vic-continuous\"\n [ngClass]=\"['vic-' + orientation, 'vic-' + valuesSide]\"\n [style.--width]=\"width + 'px'\"\n [style.--height]=\"height + 'px'\"\n [style.--border-color]=\"outlineColor\"\n [style.--value-space]=\"largerValueSpace + 'px'\"\n [style.left.px]=\"leftOffset\"\n>\n @if ((orientation === 'vertical' && valuesSide === 'left') || (orientation ===\n 'horizontal' && valuesSide === 'top')) {\n <ng-container *ngTemplateOutlet=\"valuesDisplay\"></ng-container>\n }\n <div class=\"vic-legend-canvas-container\">\n <canvas class=\"vic-legend-canvas\" #canvas></canvas>\n </div>\n @if ((orientation === 'vertical' && valuesSide === 'right') || (orientation\n === 'horizontal' && valuesSide === 'bottom')) {\n <ng-container *ngTemplateOutlet=\"valuesDisplay\"></ng-container>\n }\n</div>\n\n<ng-template #valuesDisplay>\n <div class=\"vic-legend-values-container vic-continuous\">\n <p class=\"vic-value vic-low\">{{ values[0] }}</p>\n <p class=\"vic-value vic-high\">{{ values[values.length - 1] }}</p>\n </div>\n</ng-template>\n", styles: [".vic-legend-canvas{display:block}.vic-legend-color-scale.vic-horizontal{display:flex;flex-direction:column;position:relative;max-width:var(--width)}.vic-legend-color-scale.vic-horizontal .vic-legend-canvas-container{display:flex;flex-direction:column;width:calc(var(--width) - var(--value-space) * 2);height:var(--height);margin-right:var(--value-space);margin-left:var(--value-space)}.vic-legend-color-scale.vic-horizontal .vic-legend-values-container{padding-top:.25rem;display:flex;flex-direction:row;justify-content:space-between}.vic-legend-color-scale.vic-horizontal .vic-value{width:calc(var(--value-space) * 2);text-align:center}.vic-legend-color-scale.vic-horizontal.vic-top .vic-legend-values-container{padding-top:0;padding-bottom:.25rem}.vic-legend-color-scale.vic-vertical{display:flex;max-height:var(--height)}.vic-legend-color-scale.vic-vertical .vic-legend-canvas-container{width:var(--width);height:calc(var(--height) - grid-2 * 2);margin-top:.5rem;margin-bottom:.5rem}.vic-legend-color-scale.vic-vertical .vic-legend-values-container{padding-right:.25rem;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}.vic-legend-color-scale.vic-vertical.vic-right .vic-legend-values-container{padding-right:0;padding-left:.25rem;align-items:flex-start}.vic-legend-canvas-container{border:1px solid var(--border-color)}.vic-value{font-size:12px}\n"] }]
|
|
9540
9473
|
}], propDecorators: { canvasRef: [{
|
|
9541
9474
|
type: ViewChild,
|
|
9542
9475
|
args: ['canvas', { static: true }]
|
|
@@ -9574,12 +9507,12 @@ class DiscontinuousLegendComponent extends MapLegend {
|
|
|
9574
9507
|
return 0;
|
|
9575
9508
|
}
|
|
9576
9509
|
}
|
|
9577
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9578
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9510
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DiscontinuousLegendComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9511
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DiscontinuousLegendComponent, isStandalone: true, selector: "vic-discontinuous-legend", usesInheritance: true, ngImport: i0, template: "<div\n class=\"vic-legend-color-scale vic-discontinuous\"\n [ngClass]=\"['vic-' + orientation, 'vic-' + valuesSide]\"\n [class.vic-categorical]=\"config.binType === VicValuesBin.categorical\"\n [style.--border-color]=\"outlineColor\"\n [style.--width]=\"width + 'px'\"\n [style.--height]=\"height + 'px'\"\n [style.--num-colors]=\"colors.length\"\n [style.--value-space]=\"largerValueSpace + 'px'\"\n [style.left.px]=\"leftOffset\"\n>\n @if ((orientation === 'vertical' && valuesSide === 'left') || (orientation ===\n 'horizontal' && valuesSide === 'top')) {\n <ng-container *ngTemplateOutlet=\"valuesDisplay\"></ng-container>\n }\n <div class=\"vic-legend-colors-container\">\n @if (config.binType !== VicValuesBin.categorical) {\n <div class=\"vic-legend-color-padding\"></div>\n } @for (color of colors; track $index) {\n <div\n class=\"vic-legend-color vic-discontinuous\"\n [style.background-color]=\"color\"\n [style.--border-color]=\"outlineColor\"\n >\n </div>\n }\n </div>\n @if ((orientation === 'vertical' && valuesSide === 'right') || (orientation\n === 'horizontal' && valuesSide === 'bottom')) {\n <ng-container *ngTemplateOutlet=\"valuesDisplay\"></ng-container>\n }\n</div>\n\n<ng-template #valuesDisplay>\n <div class=\"vic-legend-values-container vic-discontinous\">\n @for (value of values; track $index) {\n <p class=\"vic-value\"> {{ value }} </p>\n }\n </div>\n</ng-template>\n", styles: [".vic-legend-color-scale.vic-horizontal{display:flex;flex-direction:column;position:relative}.vic-legend-color-scale.vic-horizontal .vic-legend-colors-container{display:grid;grid-template-columns:minmax(var(--value-space),.5fr) repeat(var(--num-colors),minmax(calc(var(--value-space) * 2),1fr)) minmax(var(--value-space),.5fr);max-width:var(--width);height:var(--height)}.vic-legend-color-scale.vic-horizontal .vic-legend-colors-container .vic-legend-color{height:100%;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);border-left:1px solid var(--border-color)}.vic-legend-color-scale.vic-horizontal .vic-legend-colors-container .vic-legend-color:last-child{border-right:1px solid var(--border-color)}.vic-legend-color-scale.vic-horizontal .vic-legend-values-container{padding-top:.25rem;display:grid;grid-template-columns:repeat(calc(var(--num-colors) + 1),minmax(calc(var(--value-space) * 2),1fr));max-width:var(--width);justify-items:center}.vic-legend-color-scale.vic-horizontal.vic-top .vic-legend-values-container{padding-top:0;padding-bottom:.25rem}.vic-legend-color-scale.vic-horizontal.vic-categorical .vic-legend-colors-container,.vic-legend-color-scale.vic-horizontal.vic-categorical .vic-legend-values-container{column-gap:.5rem;grid-template-columns:repeat(calc(var(--num-colors)),1fr)}.vic-legend-color-scale.vic-horizontal.vic-categorical .vic-value{text-align:center}.vic-legend-color-scale.vic-categorical .vic-legend-color{border:1px solid var(--border-color)}.vic-legend-color-scale.vic-vertical{display:flex;height:var(--height)}.vic-legend-color-scale.vic-vertical .vic-legend-colors-container{display:grid;grid-template-columns:var(--width);grid-template-rows:.5fr repeat(var(--num-colors),1fr) .5fr;height:100%}.vic-legend-color-scale.vic-vertical .vic-legend-colors-container .vic-legend-color{width:100%;border-top:1px solid var(--border-color);border-left:1px solid var(--border-color);border-right:1px solid var(--border-color)}.vic-legend-color-scale.vic-vertical .vic-legend-colors-container .vic-legend-color:last-child{border-bottom:1px solid var(--border-color)}.vic-legend-color-scale.vic-vertical .vic-legend-values-container{padding-right:.25rem;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(calc(var(--num-colors) + 1),1fr);align-items:center;justify-items:end;height:100%}.vic-legend-color-scale.vic-vertical.vic-right .vic-legend-values-container{padding-right:0;padding-left:.25rem;justify-items:start}.vic-legend-color-scale.vic-vertical.vic-categorical .vic-legend-colors-container,.vic-legend-color-scale.vic-vertical.vic-categorical .vic-legend-values-container{grid-template-rows:repeat(var(--num-colors),1fr);row-gap:.5rem}.vic-legend-color-scale.vic-vertical.vic-categorical .vic-value{text-align:right}.vic-legend-color-scale.vic-vertical.vic-categorical.vic-right .vic-value{text-align:left}.vic-value{font-size:12px;line-height:1}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
9579
9512
|
}
|
|
9580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DiscontinuousLegendComponent, decorators: [{
|
|
9581
9514
|
type: Component,
|
|
9582
|
-
args: [{ selector: 'vic-discontinuous-legend', imports: [CommonModule], template: "<div\n class=\"vic-legend-color-scale vic-discontinuous\"\n [ngClass]=\"['vic-' + orientation, 'vic-' + valuesSide]\"\n [class.vic-categorical]=\"config.binType === VicValuesBin.categorical\"\n [style.--border-color]=\"outlineColor\"\n [style.--width]=\"width + 'px'\"\n [style.--height]=\"height + 'px'\"\n [style.--num-colors]=\"colors.length\"\n [style.--value-space]=\"largerValueSpace + 'px'\"\n [style.left.px]=\"leftOffset\"\n>\n
|
|
9515
|
+
args: [{ selector: 'vic-discontinuous-legend', imports: [CommonModule], template: "<div\n class=\"vic-legend-color-scale vic-discontinuous\"\n [ngClass]=\"['vic-' + orientation, 'vic-' + valuesSide]\"\n [class.vic-categorical]=\"config.binType === VicValuesBin.categorical\"\n [style.--border-color]=\"outlineColor\"\n [style.--width]=\"width + 'px'\"\n [style.--height]=\"height + 'px'\"\n [style.--num-colors]=\"colors.length\"\n [style.--value-space]=\"largerValueSpace + 'px'\"\n [style.left.px]=\"leftOffset\"\n>\n @if ((orientation === 'vertical' && valuesSide === 'left') || (orientation ===\n 'horizontal' && valuesSide === 'top')) {\n <ng-container *ngTemplateOutlet=\"valuesDisplay\"></ng-container>\n }\n <div class=\"vic-legend-colors-container\">\n @if (config.binType !== VicValuesBin.categorical) {\n <div class=\"vic-legend-color-padding\"></div>\n } @for (color of colors; track $index) {\n <div\n class=\"vic-legend-color vic-discontinuous\"\n [style.background-color]=\"color\"\n [style.--border-color]=\"outlineColor\"\n >\n </div>\n }\n </div>\n @if ((orientation === 'vertical' && valuesSide === 'right') || (orientation\n === 'horizontal' && valuesSide === 'bottom')) {\n <ng-container *ngTemplateOutlet=\"valuesDisplay\"></ng-container>\n }\n</div>\n\n<ng-template #valuesDisplay>\n <div class=\"vic-legend-values-container vic-discontinous\">\n @for (value of values; track $index) {\n <p class=\"vic-value\"> {{ value }} </p>\n }\n </div>\n</ng-template>\n", styles: [".vic-legend-color-scale.vic-horizontal{display:flex;flex-direction:column;position:relative}.vic-legend-color-scale.vic-horizontal .vic-legend-colors-container{display:grid;grid-template-columns:minmax(var(--value-space),.5fr) repeat(var(--num-colors),minmax(calc(var(--value-space) * 2),1fr)) minmax(var(--value-space),.5fr);max-width:var(--width);height:var(--height)}.vic-legend-color-scale.vic-horizontal .vic-legend-colors-container .vic-legend-color{height:100%;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);border-left:1px solid var(--border-color)}.vic-legend-color-scale.vic-horizontal .vic-legend-colors-container .vic-legend-color:last-child{border-right:1px solid var(--border-color)}.vic-legend-color-scale.vic-horizontal .vic-legend-values-container{padding-top:.25rem;display:grid;grid-template-columns:repeat(calc(var(--num-colors) + 1),minmax(calc(var(--value-space) * 2),1fr));max-width:var(--width);justify-items:center}.vic-legend-color-scale.vic-horizontal.vic-top .vic-legend-values-container{padding-top:0;padding-bottom:.25rem}.vic-legend-color-scale.vic-horizontal.vic-categorical .vic-legend-colors-container,.vic-legend-color-scale.vic-horizontal.vic-categorical .vic-legend-values-container{column-gap:.5rem;grid-template-columns:repeat(calc(var(--num-colors)),1fr)}.vic-legend-color-scale.vic-horizontal.vic-categorical .vic-value{text-align:center}.vic-legend-color-scale.vic-categorical .vic-legend-color{border:1px solid var(--border-color)}.vic-legend-color-scale.vic-vertical{display:flex;height:var(--height)}.vic-legend-color-scale.vic-vertical .vic-legend-colors-container{display:grid;grid-template-columns:var(--width);grid-template-rows:.5fr repeat(var(--num-colors),1fr) .5fr;height:100%}.vic-legend-color-scale.vic-vertical .vic-legend-colors-container .vic-legend-color{width:100%;border-top:1px solid var(--border-color);border-left:1px solid var(--border-color);border-right:1px solid var(--border-color)}.vic-legend-color-scale.vic-vertical .vic-legend-colors-container .vic-legend-color:last-child{border-bottom:1px solid var(--border-color)}.vic-legend-color-scale.vic-vertical .vic-legend-values-container{padding-right:.25rem;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(calc(var(--num-colors) + 1),1fr);align-items:center;justify-items:end;height:100%}.vic-legend-color-scale.vic-vertical.vic-right .vic-legend-values-container{padding-right:0;padding-left:.25rem;justify-items:start}.vic-legend-color-scale.vic-vertical.vic-categorical .vic-legend-colors-container,.vic-legend-color-scale.vic-vertical.vic-categorical .vic-legend-values-container{grid-template-rows:repeat(var(--num-colors),1fr);row-gap:.5rem}.vic-legend-color-scale.vic-vertical.vic-categorical .vic-value{text-align:right}.vic-legend-color-scale.vic-vertical.vic-categorical.vic-right .vic-value{text-align:left}.vic-value{font-size:12px;line-height:1}\n"] }]
|
|
9583
9516
|
}] });
|
|
9584
9517
|
|
|
9585
9518
|
var VicLegendType;
|
|
@@ -9622,16 +9555,16 @@ class MapLegendComponent {
|
|
|
9622
9555
|
}
|
|
9623
9556
|
}
|
|
9624
9557
|
}
|
|
9625
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9626
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9558
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MapLegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9559
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: MapLegendComponent, isStandalone: true, selector: "vic-map-legend", inputs: { width: "width", height: "height", valuesSide: "valuesSide", outlineColor: "outlineColor" }, viewQueries: [{ propertyName: "VicValuesBin", first: true, predicate: ["canvas"], descendants: true, static: true }], ngImport: i0, template: "<ng-content select=\"[title]\"></ng-content>\n@if (chart.attributeProperties$ | async; as attributeProperties) { @if\n(attributeProperties.config) { @if (attributeProperties.config.binType ===\nVicValuesBin.none) {\n<vic-continuous-legend\n [width]=\"width\"\n [height]=\"height\"\n [valuesSide]=\"valuesSide\"\n [scale]=\"attributeProperties.scale\"\n [config]=\"attributeProperties.config\"\n [outlineColor]=\"outlineColor\"\n [orientation]=\"orientation\"\n></vic-continuous-legend>\n} @else {\n<vic-discontinuous-legend\n [width]=\"width\"\n [height]=\"height\"\n [valuesSide]=\"valuesSide\"\n [scale]=\"attributeProperties.scale\"\n [config]=\"attributeProperties.config\"\n [outlineColor]=\"outlineColor\"\n [orientation]=\"orientation\"\n></vic-discontinuous-legend>\n} } }\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: ContinuousLegendComponent, selector: "vic-continuous-legend" }, { kind: "component", type: DiscontinuousLegendComponent, selector: "vic-discontinuous-legend" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
9627
9560
|
}
|
|
9628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MapLegendComponent, decorators: [{
|
|
9629
9562
|
type: Component,
|
|
9630
9563
|
args: [{ selector: 'vic-map-legend', imports: [
|
|
9631
9564
|
CommonModule,
|
|
9632
9565
|
ContinuousLegendComponent,
|
|
9633
9566
|
DiscontinuousLegendComponent,
|
|
9634
|
-
], template: "<ng-content select=\"[title]\"></ng-content>\n@if (chart.attributeProperties$ | async; as attributeProperties) { @if\n(attributeProperties.config) {
|
|
9567
|
+
], template: "<ng-content select=\"[title]\"></ng-content>\n@if (chart.attributeProperties$ | async; as attributeProperties) { @if\n(attributeProperties.config) { @if (attributeProperties.config.binType ===\nVicValuesBin.none) {\n<vic-continuous-legend\n [width]=\"width\"\n [height]=\"height\"\n [valuesSide]=\"valuesSide\"\n [scale]=\"attributeProperties.scale\"\n [config]=\"attributeProperties.config\"\n [outlineColor]=\"outlineColor\"\n [orientation]=\"orientation\"\n></vic-continuous-legend>\n} @else {\n<vic-discontinuous-legend\n [width]=\"width\"\n [height]=\"height\"\n [valuesSide]=\"valuesSide\"\n [scale]=\"attributeProperties.scale\"\n [config]=\"attributeProperties.config\"\n [outlineColor]=\"outlineColor\"\n [orientation]=\"orientation\"\n></vic-discontinuous-legend>\n} } }\n" }]
|
|
9635
9568
|
}], propDecorators: { width: [{
|
|
9636
9569
|
type: Input
|
|
9637
9570
|
}], height: [{
|
|
@@ -9646,11 +9579,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
9646
9579
|
}] } });
|
|
9647
9580
|
|
|
9648
9581
|
class VicMapLegendModule {
|
|
9649
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9650
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
9651
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicMapLegendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9583
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicMapLegendModule, imports: [MapLegendComponent], exports: [MapLegendComponent] }); }
|
|
9584
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicMapLegendModule, imports: [MapLegendComponent] }); }
|
|
9652
9585
|
}
|
|
9653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicMapLegendModule, decorators: [{
|
|
9654
9587
|
type: NgModule,
|
|
9655
9588
|
args: [{
|
|
9656
9589
|
imports: [MapLegendComponent],
|
|
@@ -9880,10 +9813,10 @@ class VicQuantitativeRulesConfigBuilder extends VicAuxMarksBuilder {
|
|
|
9880
9813
|
this.labelsBuilder.validateBuilder(this._orientation, this._color);
|
|
9881
9814
|
}
|
|
9882
9815
|
}
|
|
9883
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9884
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9816
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicQuantitativeRulesConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9817
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicQuantitativeRulesConfigBuilder }); }
|
|
9885
9818
|
}
|
|
9886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicQuantitativeRulesConfigBuilder, decorators: [{
|
|
9887
9820
|
type: Injectable
|
|
9888
9821
|
}], ctorParameters: () => [] });
|
|
9889
9822
|
|
|
@@ -10048,10 +9981,10 @@ class QuantitativeRulesComponent extends XyAuxMarks {
|
|
|
10048
9981
|
}
|
|
10049
9982
|
return this.scales.y.range()[1];
|
|
10050
9983
|
}
|
|
10051
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10052
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9984
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QuantitativeRulesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9985
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: QuantitativeRulesComponent, isStandalone: true, selector: "[vic-quantitative-rules]", host: { properties: { "class": "config.marksClass" } }, providers: [{ provide: ChartComponent, useExisting: XyChartComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10053
9986
|
}
|
|
10054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QuantitativeRulesComponent, decorators: [{
|
|
10055
9988
|
type: Component,
|
|
10056
9989
|
args: [{ selector: '[vic-quantitative-rules]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: ChartComponent, useExisting: XyChartComponent }], host: {
|
|
10057
9990
|
'[class]': 'config.marksClass',
|
|
@@ -10059,11 +9992,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
10059
9992
|
}] });
|
|
10060
9993
|
|
|
10061
9994
|
class VicQuantitativeRulesModule {
|
|
10062
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10063
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10064
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9995
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicQuantitativeRulesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9996
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicQuantitativeRulesModule, imports: [QuantitativeRulesComponent], exports: [QuantitativeRulesComponent] }); }
|
|
9997
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicQuantitativeRulesModule }); }
|
|
10065
9998
|
}
|
|
10066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicQuantitativeRulesModule, decorators: [{
|
|
10067
10000
|
type: NgModule,
|
|
10068
10001
|
args: [{
|
|
10069
10002
|
imports: [QuantitativeRulesComponent],
|
|
@@ -10233,10 +10166,10 @@ class VicStackedAreaConfigBuilder extends PrimaryMarksBuilder {
|
|
|
10233
10166
|
throw new Error('Stacked Area Builder: Y dimension must be created. Please use method `y` to set the y dimension.');
|
|
10234
10167
|
}
|
|
10235
10168
|
}
|
|
10236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10237
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedAreaConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10170
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedAreaConfigBuilder }); }
|
|
10238
10171
|
}
|
|
10239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedAreaConfigBuilder, decorators: [{
|
|
10240
10173
|
type: Injectable
|
|
10241
10174
|
}], ctorParameters: () => [] });
|
|
10242
10175
|
|
|
@@ -10370,14 +10303,14 @@ class StackedAreaComponent extends VicXyPrimaryMarks {
|
|
|
10370
10303
|
updateStackedAreaElements() {
|
|
10371
10304
|
this.stackedAreas.next(this.areas);
|
|
10372
10305
|
}
|
|
10373
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10374
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StackedAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10307
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: StackedAreaComponent, isStandalone: true, selector: "[vic-primary-marks-stacked-area]", host: { properties: { "class": "config.marksClass" } }, providers: [
|
|
10375
10308
|
{ provide: VIC_PRIMARY_MARKS, useExisting: StackedAreaComponent },
|
|
10376
10309
|
{ provide: STACKED_AREA, useExisting: StackedAreaComponent },
|
|
10377
10310
|
{ provide: ChartComponent, useExisting: XyChartComponent },
|
|
10378
10311
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10379
10312
|
}
|
|
10380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StackedAreaComponent, decorators: [{
|
|
10381
10314
|
type: Component,
|
|
10382
10315
|
args: [{ selector: '[vic-primary-marks-stacked-area]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
10383
10316
|
{ provide: VIC_PRIMARY_MARKS, useExisting: StackedAreaComponent },
|
|
@@ -10407,10 +10340,10 @@ class StackedAreaTooltipPositioner extends TooltipPositioner {
|
|
|
10407
10340
|
}
|
|
10408
10341
|
|
|
10409
10342
|
class StackedAreaEventsDirective extends EventsDirective {
|
|
10410
|
-
constructor(
|
|
10411
|
-
super();
|
|
10412
|
-
this.stackedArea = stackedArea;
|
|
10343
|
+
constructor() {
|
|
10344
|
+
super(...arguments);
|
|
10413
10345
|
this.interactionOutput = new EventEmitter();
|
|
10346
|
+
this.stackedArea = inject(STACKED_AREA);
|
|
10414
10347
|
}
|
|
10415
10348
|
get marks() {
|
|
10416
10349
|
return this.stackedArea;
|
|
@@ -10562,18 +10495,15 @@ class StackedAreaEventsDirective extends EventsDirective {
|
|
|
10562
10495
|
this.categoryYMax = undefined;
|
|
10563
10496
|
this.categoryIndex = undefined;
|
|
10564
10497
|
}
|
|
10565
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10566
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10498
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StackedAreaEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10499
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: StackedAreaEventsDirective, isStandalone: true, selector: "[vicStackedAreaEvents]", inputs: { hoverMoveActions: "hoverMoveActions", clickActions: "clickActions", inputEventActions: "inputEventActions" }, outputs: { interactionOutput: "interactionOutput" }, usesInheritance: true, ngImport: i0 }); }
|
|
10567
10500
|
}
|
|
10568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StackedAreaEventsDirective, decorators: [{
|
|
10569
10502
|
type: Directive,
|
|
10570
10503
|
args: [{
|
|
10571
10504
|
selector: '[vicStackedAreaEvents]',
|
|
10572
10505
|
}]
|
|
10573
|
-
}],
|
|
10574
|
-
type: Inject,
|
|
10575
|
-
args: [STACKED_AREA]
|
|
10576
|
-
}] }], propDecorators: { hoverMoveActions: [{
|
|
10506
|
+
}], propDecorators: { hoverMoveActions: [{
|
|
10577
10507
|
type: Input
|
|
10578
10508
|
}], clickActions: [{
|
|
10579
10509
|
type: Input
|
|
@@ -10584,11 +10514,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
10584
10514
|
}] } });
|
|
10585
10515
|
|
|
10586
10516
|
class VicStackedAreaModule {
|
|
10587
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10588
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10589
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10517
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10518
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicStackedAreaModule, imports: [StackedAreaComponent, StackedAreaEventsDirective], exports: [StackedAreaComponent, StackedAreaEventsDirective] }); }
|
|
10519
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedAreaModule }); }
|
|
10590
10520
|
}
|
|
10591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedAreaModule, decorators: [{
|
|
10592
10522
|
type: NgModule,
|
|
10593
10523
|
args: [{
|
|
10594
10524
|
imports: [StackedAreaComponent, StackedAreaEventsDirective],
|
|
@@ -10689,10 +10619,10 @@ class VicStackedBarsConfigBuilder extends VicBarsConfigBuilder {
|
|
|
10689
10619
|
stackOrder: this._stackOrder,
|
|
10690
10620
|
});
|
|
10691
10621
|
}
|
|
10692
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10693
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10622
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedBarsConfigBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10623
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedBarsConfigBuilder }); }
|
|
10694
10624
|
}
|
|
10695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedBarsConfigBuilder, decorators: [{
|
|
10696
10626
|
type: Injectable
|
|
10697
10627
|
}], ctorParameters: () => [] });
|
|
10698
10628
|
|
|
@@ -10810,14 +10740,14 @@ class StackedBarsComponent extends BarsComponent {
|
|
|
10810
10740
|
getSourceDatumFromStackedBarDatum(datum) {
|
|
10811
10741
|
return this.config.data[datum.i];
|
|
10812
10742
|
}
|
|
10813
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10814
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10743
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StackedBarsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10744
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: StackedBarsComponent, isStandalone: true, selector: "[vic-primary-marks-stacked-bars]", inputs: { config: "config" }, host: { properties: { "class": "config.marksClass", "style.mixBlendMode": "config.mixBlendMode" } }, providers: [
|
|
10815
10745
|
{ provide: VIC_PRIMARY_MARKS, useExisting: StackedBarsComponent },
|
|
10816
10746
|
{ provide: STACKED_BARS, useExisting: StackedBarsComponent },
|
|
10817
10747
|
{ provide: ChartComponent, useExisting: XyChartComponent },
|
|
10818
10748
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
10819
10749
|
}
|
|
10820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StackedBarsComponent, decorators: [{
|
|
10821
10751
|
type: Component,
|
|
10822
10752
|
args: [{ selector: '[vic-primary-marks-stacked-bars]', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
10823
10753
|
{ provide: VIC_PRIMARY_MARKS, useExisting: StackedBarsComponent },
|
|
@@ -10832,11 +10762,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
10832
10762
|
}] } });
|
|
10833
10763
|
|
|
10834
10764
|
class StackedBarsEventsDirective extends EventsDirective {
|
|
10835
|
-
constructor(
|
|
10836
|
-
super();
|
|
10837
|
-
this.stackedBars = stackedBars;
|
|
10765
|
+
constructor() {
|
|
10766
|
+
super(...arguments);
|
|
10838
10767
|
this.interactionOutput = new EventEmitter();
|
|
10839
10768
|
this.stackDatum = null;
|
|
10769
|
+
this.stackedBars = inject(STACKED_BARS);
|
|
10840
10770
|
}
|
|
10841
10771
|
get marks() {
|
|
10842
10772
|
return this.stackedBars;
|
|
@@ -10980,18 +10910,15 @@ class StackedBarsEventsDirective extends EventsDirective {
|
|
|
10980
10910
|
this.positionX = undefined;
|
|
10981
10911
|
this.positionY = undefined;
|
|
10982
10912
|
}
|
|
10983
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10984
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10913
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StackedBarsEventsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10914
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: StackedBarsEventsDirective, isStandalone: true, selector: "[vicStackedBarsEvents]", inputs: { hoverActions: "hoverActions", hoverMoveActions: "hoverMoveActions", clickActions: "clickActions", inputEventActions: "inputEventActions" }, outputs: { interactionOutput: "interactionOutput" }, usesInheritance: true, ngImport: i0 }); }
|
|
10985
10915
|
}
|
|
10986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StackedBarsEventsDirective, decorators: [{
|
|
10987
10917
|
type: Directive,
|
|
10988
10918
|
args: [{
|
|
10989
10919
|
selector: '[vicStackedBarsEvents]',
|
|
10990
10920
|
}]
|
|
10991
|
-
}],
|
|
10992
|
-
type: Inject,
|
|
10993
|
-
args: [STACKED_BARS]
|
|
10994
|
-
}] }], propDecorators: { hoverActions: [{
|
|
10921
|
+
}], propDecorators: { hoverActions: [{
|
|
10995
10922
|
type: Input
|
|
10996
10923
|
}], hoverMoveActions: [{
|
|
10997
10924
|
type: Input
|
|
@@ -11004,11 +10931,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
11004
10931
|
}] } });
|
|
11005
10932
|
|
|
11006
10933
|
class VicStackedBarsModule {
|
|
11007
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11008
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11009
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10934
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedBarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10935
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicStackedBarsModule, imports: [StackedBarsComponent, StackedBarsEventsDirective], exports: [StackedBarsComponent, StackedBarsEventsDirective] }); }
|
|
10936
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedBarsModule }); }
|
|
11010
10937
|
}
|
|
11011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicStackedBarsModule, decorators: [{
|
|
11012
10939
|
type: NgModule,
|
|
11013
10940
|
args: [{
|
|
11014
10941
|
imports: [StackedBarsComponent, StackedBarsEventsDirective],
|
|
@@ -11017,28 +10944,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
11017
10944
|
}] });
|
|
11018
10945
|
|
|
11019
10946
|
class XyBackgroundComponent {
|
|
11020
|
-
constructor(
|
|
11021
|
-
this.chart = chart;
|
|
10947
|
+
constructor() {
|
|
11022
10948
|
this.color = 'whitesmoke';
|
|
10949
|
+
this.chart = inject(XyChartComponent);
|
|
11023
10950
|
}
|
|
11024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11025
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
10951
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XyBackgroundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10952
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: XyBackgroundComponent, isStandalone: true, selector: "[vic-xy-background]", inputs: { color: "color" }, host: { classAttribute: "vic-xy-background" }, ngImport: i0, template: "@if(chart.scales$ | async; as scales) { @if(scales.x && scales.y) {\n<svg:rect\n class=\"vic-xy-background\"\n [attr.x]=\"scales.x.range()[0]\"\n [attr.y]=\"scales.y.range()[1]\"\n [attr.width]=\"scales.x.range()[1] - scales.x.range()[0]\"\n [attr.height]=\"scales.y.range()[0] - scales.y.range()[1]\"\n [attr.fill]=\"color\"\n></svg:rect>\n} }\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
11026
10953
|
}
|
|
11027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: XyBackgroundComponent, decorators: [{
|
|
11028
10955
|
type: Component,
|
|
11029
10956
|
args: [{ selector: '[vic-xy-background]', host: {
|
|
11030
10957
|
class: 'vic-xy-background',
|
|
11031
10958
|
}, imports: [AsyncPipe, CommonModule], template: "@if(chart.scales$ | async; as scales) { @if(scales.x && scales.y) {\n<svg:rect\n class=\"vic-xy-background\"\n [attr.x]=\"scales.x.range()[0]\"\n [attr.y]=\"scales.y.range()[1]\"\n [attr.width]=\"scales.x.range()[1] - scales.x.range()[0]\"\n [attr.height]=\"scales.y.range()[0] - scales.y.range()[1]\"\n [attr.fill]=\"color\"\n></svg:rect>\n} }\n" }]
|
|
11032
|
-
}],
|
|
10959
|
+
}], propDecorators: { color: [{
|
|
11033
10960
|
type: Input
|
|
11034
10961
|
}] } });
|
|
11035
10962
|
|
|
11036
10963
|
class VicXyBackgroundModule {
|
|
11037
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11038
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11039
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10964
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXyBackgroundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10965
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: VicXyBackgroundModule, imports: [XyBackgroundComponent], exports: [XyBackgroundComponent] }); }
|
|
10966
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXyBackgroundModule, imports: [XyBackgroundComponent] }); }
|
|
11040
10967
|
}
|
|
11041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VicXyBackgroundModule, decorators: [{
|
|
11042
10969
|
type: NgModule,
|
|
11043
10970
|
args: [{
|
|
11044
10971
|
imports: [XyBackgroundComponent],
|