@mathstack/viz 2.1.0 → 2.2.1
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/LICENSE +21 -21
- package/README.md +11 -11
- package/fesm2022/mathstack-viz.mjs +11024 -0
- package/fesm2022/mathstack-viz.mjs.map +1 -0
- package/package.json +18 -6
- package/types/mathstack-viz.d.ts +5830 -0
- package/CHANGELOG.md +0 -0
- package/cypress/fixtures/example.json +0 -5
- package/cypress/fixtures/usMap.json +0 -13511
- package/cypress/support/commands.ts +0 -104
- package/cypress/support/component-index.html +0 -12
- package/cypress/support/component.ts +0 -33
- package/cypress.config.ts +0 -9
- package/karma.conf.js +0 -62
- package/ng-package.json +0 -8
- package/project.json +0 -97
- package/src/.eslintrc.json +0 -35
- package/src/.prettierrc +0 -31
- package/src/lib/axes/base/config/xy-axis-builder.ts +0 -68
- package/src/lib/axes/base/config/xy-axis-config.ts +0 -35
- package/src/lib/axes/base/config/xy-axis-options.ts +0 -11
- package/src/lib/axes/base/xy-axis-base.spec.ts +0 -114
- package/src/lib/axes/base/xy-axis-base.ts +0 -305
- package/src/lib/axes/base/xy-axis-domain-lines.cy.ts +0 -511
- package/src/lib/axes/baseline/axis-baseline-builder.ts +0 -77
- package/src/lib/axes/baseline/axis-baseline-options.ts +0 -4
- package/src/lib/axes/baseline/axis-baseline.ts +0 -11
- package/src/lib/axes/grid/grid-builder.ts +0 -74
- package/src/lib/axes/grid/grid-config.ts +0 -13
- package/src/lib/axes/grid/grid-options.ts +0 -7
- package/src/lib/axes/index.ts +0 -40
- package/src/lib/axes/label/axis-label-builder.ts +0 -140
- package/src/lib/axes/label/axis-label-options.ts +0 -12
- package/src/lib/axes/label/axis-label.ts +0 -18
- package/src/lib/axes/label/axis-labels.cy.ts +0 -303
- package/src/lib/axes/ordinal/ordinal-axis-config.ts +0 -31
- package/src/lib/axes/ordinal/ordinal-axis.spec.ts +0 -30
- package/src/lib/axes/ordinal/ordinal-axis.ts +0 -26
- package/src/lib/axes/quantitative/quantitative-axis-config.ts +0 -39
- package/src/lib/axes/quantitative/quantitative-axis-ticks.cy.ts +0 -748
- package/src/lib/axes/quantitative/quantitative-axis.spec.ts +0 -537
- package/src/lib/axes/quantitative/quantitative-axis.ts +0 -191
- package/src/lib/axes/ticks/tick-wrap/tick-wrap-builder.ts +0 -141
- package/src/lib/axes/ticks/tick-wrap/tick-wrap-options.ts +0 -11
- package/src/lib/axes/ticks/tick-wrap/tick-wrap.cy.ts +0 -360
- package/src/lib/axes/ticks/tick-wrap/tick-wrap.ts +0 -21
- package/src/lib/axes/ticks/ticks-builder.ts +0 -370
- package/src/lib/axes/ticks/ticks-options.ts +0 -24
- package/src/lib/axes/ticks/ticks.ts +0 -33
- package/src/lib/axes/x/x-axis-config.ts +0 -48
- package/src/lib/axes/x/x-axis.spec.ts +0 -90
- package/src/lib/axes/x/x-axis.ts +0 -109
- package/src/lib/axes/x-ordinal/x-ordinal-axis-builder.ts +0 -75
- package/src/lib/axes/x-ordinal/x-ordinal-axis-config.ts +0 -27
- package/src/lib/axes/x-ordinal/x-ordinal-axis.component.ts +0 -33
- package/src/lib/axes/x-quantitative/x-quantitative-axis-builder.ts +0 -74
- package/src/lib/axes/x-quantitative/x-quantitative-axis-config.ts +0 -32
- package/src/lib/axes/x-quantitative/x-quantitative-axis.component.ts +0 -40
- package/src/lib/axes/xy-axis.module.ts +0 -20
- package/src/lib/axes/y/y-axis-config.ts +0 -47
- package/src/lib/axes/y/y-axis.spec.ts +0 -92
- package/src/lib/axes/y/y-axis.ts +0 -161
- package/src/lib/axes/y-ordinal/y-ordinal-axis-builder.ts +0 -76
- package/src/lib/axes/y-ordinal/y-ordinal-axis-config.ts +0 -29
- package/src/lib/axes/y-ordinal/y-ordinal-axis.component.ts +0 -33
- package/src/lib/axes/y-quantitative-axis/y-quantitative-axis-builder.ts +0 -74
- package/src/lib/axes/y-quantitative-axis/y-quantitative-axis-config.ts +0 -34
- package/src/lib/axes/y-quantitative-axis/y-quantitative-axis.component.ts +0 -40
- package/src/lib/bars/bars.component.scss +0 -0
- package/src/lib/bars/bars.component.spec.ts +0 -1470
- package/src/lib/bars/bars.component.ts +0 -717
- package/src/lib/bars/bars.cy.ts +0 -829
- package/src/lib/bars/bars.module.ts +0 -9
- package/src/lib/bars/config/backgrounds/bars-backgrounds-builder.ts +0 -51
- package/src/lib/bars/config/backgrounds/bars-backgrounds-options.ts +0 -4
- package/src/lib/bars/config/backgrounds/bars-backgrounds.ts +0 -11
- package/src/lib/bars/config/bars-builder.ts +0 -340
- package/src/lib/bars/config/bars-config.spec.ts +0 -132
- package/src/lib/bars/config/bars-config.ts +0 -70
- package/src/lib/bars/config/bars-dimensions.ts +0 -29
- package/src/lib/bars/config/bars-options.ts +0 -20
- package/src/lib/bars/config/labels/bars-labels-builder.ts +0 -89
- package/src/lib/bars/config/labels/bars-labels-options.ts +0 -6
- package/src/lib/bars/config/labels/bars-labels.cy.ts +0 -781
- package/src/lib/bars/config/labels/bars-labels.ts +0 -13
- package/src/lib/bars/events/actions/bars-click-actions.ts +0 -23
- package/src/lib/bars/events/actions/bars-hover-actions.ts +0 -43
- package/src/lib/bars/events/actions/bars-hover-move-actions.ts +0 -21
- package/src/lib/bars/events/bars-events.directive.spec.ts +0 -186
- package/src/lib/bars/events/bars-events.directive.ts +0 -235
- package/src/lib/bars/events/bars-interaction-output.ts +0 -17
- package/src/lib/bars/events/bars-tooltip-positioner.ts +0 -24
- package/src/lib/bars/index.ts +0 -18
- package/src/lib/charts/chart/chart-scaling.cy.ts +0 -323
- package/src/lib/charts/chart/chart.component.html +0 -45
- package/src/lib/charts/chart/chart.component.scss +0 -37
- package/src/lib/charts/chart/chart.component.ts +0 -243
- package/src/lib/charts/chart/chart.token.ts +0 -4
- package/src/lib/charts/chart/chart.ts +0 -5
- package/src/lib/charts/chart/config/chart-builder.ts +0 -194
- package/src/lib/charts/chart/config/chart-config.ts +0 -21
- package/src/lib/charts/chart/config/chart-options.ts +0 -11
- package/src/lib/charts/chart.module.ts +0 -10
- package/src/lib/charts/index.ts +0 -9
- package/src/lib/charts/map-chart/map-chart.component.scss +0 -0
- package/src/lib/charts/map-chart/map-chart.component.spec.ts +0 -35
- package/src/lib/charts/map-chart/map-chart.component.ts +0 -61
- package/src/lib/charts/xy-chart/xy-chart.component.spec.ts +0 -34
- package/src/lib/charts/xy-chart/xy-chart.component.ts +0 -65
- package/src/lib/core/common-behaviors/constructor.ts +0 -7
- package/src/lib/core/index.ts +0 -11
- package/src/lib/core/pipes/resize-chart-height.pipe.spec.ts +0 -23
- package/src/lib/core/pipes/resize-chart-height.pipe.ts +0 -20
- package/src/lib/core/styles/_spacing.scss +0 -4
- package/src/lib/core/types/layout.ts +0 -28
- package/src/lib/core/types/scale.ts +0 -6
- package/src/lib/core/types/utility.ts +0 -11
- package/src/lib/core/types/values.ts +0 -10
- package/src/lib/core/utilities/colors.spec.ts +0 -57
- package/src/lib/core/utilities/colors.ts +0 -42
- package/src/lib/core/utilities/fill-utilities.spec.ts +0 -25
- package/src/lib/core/utilities/fill-utilities.ts +0 -21
- package/src/lib/core/utilities/type-guards.spec.ts +0 -55
- package/src/lib/core/utilities/type-guards.ts +0 -33
- package/src/lib/core/utilities/value-format.ts +0 -21
- package/src/lib/core/utilities/values.spec.ts +0 -954
- package/src/lib/core/utilities/values.ts +0 -189
- package/src/lib/data-dimensions/continuous-quantitative/date-chart-position/date-chart-position-builder.ts +0 -105
- package/src/lib/data-dimensions/continuous-quantitative/date-chart-position/date-chart-position-options.ts +0 -24
- package/src/lib/data-dimensions/continuous-quantitative/date-chart-position/date-chart-position.spec.ts +0 -66
- package/src/lib/data-dimensions/continuous-quantitative/date-chart-position/date-chart-position.ts +0 -72
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/concrete-domain-padding.ts +0 -10
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/domain-padding.ts +0 -76
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/domain-test-utility.ts +0 -130
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/percent-over/percent-over-options.ts +0 -3
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/percent-over/percent-over.ts +0 -37
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/pixel/pixel-options.ts +0 -3
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/pixel/pixel.ts +0 -73
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/quantitative-domain-padding.cy.ts +0 -978
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/round-to-interval/round-to-interval-options.ts +0 -3
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/round-to-interval/round-to-interval.ts +0 -27
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/round-to-sig-fig/round-to-sig-fig-options.ts +0 -3
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/domain-padding/round-to-sig-fig/round-to-sig-fig.ts +0 -30
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/number-chart-position-builder.ts +0 -183
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/number-chart-position-options.ts +0 -8
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/number-chart-position.spec.ts +0 -28
- package/src/lib/data-dimensions/continuous-quantitative/number-chart-position/number-chart-position.ts +0 -62
- package/src/lib/data-dimensions/continuous-quantitative/number-dimension/number-dimension-options.ts +0 -15
- package/src/lib/data-dimensions/continuous-quantitative/number-dimension/number-dimension.spec.ts +0 -155
- package/src/lib/data-dimensions/continuous-quantitative/number-dimension/number-dimension.ts +0 -57
- package/src/lib/data-dimensions/continuous-quantitative/number-visual-value/number-visual-value-builder.ts +0 -166
- package/src/lib/data-dimensions/continuous-quantitative/number-visual-value/number-visual-value-options.ts +0 -10
- package/src/lib/data-dimensions/continuous-quantitative/number-visual-value/number-visual-value.spec.ts +0 -34
- package/src/lib/data-dimensions/continuous-quantitative/number-visual-value/number-visual-value.ts +0 -57
- package/src/lib/data-dimensions/dimension-builder.ts +0 -45
- package/src/lib/data-dimensions/dimension-options.ts +0 -12
- package/src/lib/data-dimensions/dimension.ts +0 -30
- package/src/lib/data-dimensions/index.ts +0 -31
- package/src/lib/data-dimensions/ordinal/ordinal-chart-position/ordinal-chart-position-builder.ts +0 -122
- package/src/lib/data-dimensions/ordinal/ordinal-chart-position/ordinal-chart-position-options.ts +0 -12
- package/src/lib/data-dimensions/ordinal/ordinal-chart-position/ordinal-chart-position.spec.ts +0 -83
- package/src/lib/data-dimensions/ordinal/ordinal-chart-position/ordinal-chart-position.ts +0 -101
- package/src/lib/data-dimensions/ordinal/ordinal-visual-value/ordinal-visual-value-builder.ts +0 -108
- package/src/lib/data-dimensions/ordinal/ordinal-visual-value/ordinal-visual-value-options.ts +0 -12
- package/src/lib/data-dimensions/ordinal/ordinal-visual-value/ordinal-visual-value.cy.ts +0 -384
- package/src/lib/data-dimensions/ordinal/ordinal-visual-value/ordinal-visual-value.spec.ts +0 -63
- package/src/lib/data-dimensions/ordinal/ordinal-visual-value/ordinal-visual-value.ts +0 -79
- package/src/lib/data-export/data-export-config.ts +0 -98
- package/src/lib/data-export/data-export.spec.ts +0 -33
- package/src/lib/data-export/data-export.ts +0 -87
- package/src/lib/data-export/index.ts +0 -2
- package/src/lib/dots/config/dots-builder.ts +0 -442
- package/src/lib/dots/config/dots-config.spec.ts +0 -123
- package/src/lib/dots/config/dots-config.ts +0 -81
- package/src/lib/dots/config/dots-options.ts +0 -32
- package/src/lib/dots/dots.component.scss +0 -0
- package/src/lib/dots/dots.component.spec.ts +0 -143
- package/src/lib/dots/dots.component.ts +0 -291
- package/src/lib/dots/dots.cy.ts +0 -594
- package/src/lib/dots/dots.module.ts +0 -9
- package/src/lib/dots/events/actions/dots-hover-actions.ts +0 -19
- package/src/lib/dots/events/actions/dots-hover-move-actions.ts +0 -38
- package/src/lib/dots/events/dots-events.directive.ts +0 -214
- package/src/lib/dots/events/dots-interaction-output.ts +0 -15
- package/src/lib/dots/events/dots-tooltip-positioner.ts +0 -24
- package/src/lib/dots/index.ts +0 -10
- package/src/lib/events/events.directive.ts +0 -184
- package/src/lib/events/events.types.ts +0 -57
- package/src/lib/events/index.ts +0 -4
- package/src/lib/events/interaction-output.ts +0 -34
- package/src/lib/events/tooltip-positioner.ts +0 -15
- package/src/lib/fill-definitions/fill-definitions.ts +0 -4
- package/src/lib/fill-definitions/index.ts +0 -1
- package/src/lib/geographies/config/geographies-builder.ts +0 -224
- package/src/lib/geographies/config/geographies-config.spec.ts +0 -100
- package/src/lib/geographies/config/geographies-config.ts +0 -81
- package/src/lib/geographies/config/geographies-options.ts +0 -37
- package/src/lib/geographies/config/layers/attribute-data-layer/attribute-data-layer-builder.ts +0 -212
- package/src/lib/geographies/config/layers/attribute-data-layer/attribute-data-layer-options.ts +0 -26
- package/src/lib/geographies/config/layers/attribute-data-layer/attribute-data-layer.spec.ts +0 -119
- package/src/lib/geographies/config/layers/attribute-data-layer/attribute-data-layer.ts +0 -148
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data/attribute-data-dimension-builder.ts +0 -65
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data/attribute-data-dimension-options.ts +0 -15
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data/attribute-data-dimension.ts +0 -32
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data-bin-enums.ts +0 -10
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/attribute-data-bin-types.ts +0 -15
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/calculated-bins/calculated-bins-builder.ts +0 -18
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/calculated-bins/calculated-bins-options.ts +0 -8
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/calculated-bins/calculated-bins.spec.ts +0 -60
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/calculated-bins/calculated-bins.ts +0 -34
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/categorical-bins/categorical-bins-builder.ts +0 -46
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/categorical-bins/categorical-bins-options.ts +0 -8
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/categorical-bins/categorical-bins.cy.ts +0 -437
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/categorical-bins/categorical-bins.spec.ts +0 -105
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/categorical-bins/categorical-bins.ts +0 -54
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/custom-breaks/custom-breaks-bins-builder.ts +0 -65
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/custom-breaks/custom-breaks-bins-options.ts +0 -9
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/custom-breaks/custom-breaks-bins.spec.ts +0 -82
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/custom-breaks/custom-breaks-bins.ts +0 -81
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/custom-breaks/custom-breaks.cy.ts +0 -378
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-frequencies-bins/equal-frequencies-bins-builder.ts +0 -50
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-frequencies-bins/equal-frequencies-bins-options.ts +0 -8
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-frequencies-bins/equal-frequencies-bins.cy.ts +0 -362
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-frequencies-bins/equal-frequencies-bins.spec.ts +0 -72
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-frequencies-bins/equal-frequencies-bins.ts +0 -56
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-value-ranges-bins/equal-value-ranges-bins-builder.ts +0 -60
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-value-ranges-bins/equal-value-ranges-bins-options.ts +0 -9
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-value-ranges-bins/equal-value-ranges-bins.cy.ts +0 -307
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-value-ranges-bins/equal-value-ranges-bins.spec.ts +0 -104
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/equal-value-ranges-bins/equal-value-ranges-bins.ts +0 -89
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/no-bins/no-bins-builder.ts +0 -62
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/no-bins/no-bins-options.ts +0 -8
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/no-bins/no-bins.cy.ts +0 -265
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/no-bins/no-bins.spec.ts +0 -42
- package/src/lib/geographies/config/layers/attribute-data-layer/dimensions/no-bins/no-bins.ts +0 -42
- package/src/lib/geographies/config/layers/geographies-layer/geographies-layer-builder.ts +0 -116
- package/src/lib/geographies/config/layers/geographies-layer/geographies-layer-options.ts +0 -20
- package/src/lib/geographies/config/layers/geographies-layer/geographies-layer.ts +0 -104
- package/src/lib/geographies/config/layers/geojson-properties-layer/geojson-properties-layer-builder.ts +0 -111
- package/src/lib/geographies/config/layers/geojson-properties-layer/geojson-properties-layer-options.ts +0 -19
- package/src/lib/geographies/config/layers/geojson-properties-layer/geojson-properties-layer.spec.ts +0 -41
- package/src/lib/geographies/config/layers/geojson-properties-layer/geojson-properties-layer.ts +0 -67
- package/src/lib/geographies/config/layers/labels/geographies-labels-builder.ts +0 -269
- package/src/lib/geographies/config/layers/labels/geographies-labels-options.ts +0 -45
- package/src/lib/geographies/config/layers/labels/geographies-labels.ts +0 -38
- package/src/lib/geographies/events/actions/geographies-click-actions.ts +0 -21
- package/src/lib/geographies/events/actions/geographies-hover-actions.ts +0 -17
- package/src/lib/geographies/events/actions/geographies-hover-move-actions.ts +0 -19
- package/src/lib/geographies/events/geographies-events.directive.spec.ts +0 -225
- package/src/lib/geographies/events/geographies-events.directive.ts +0 -235
- package/src/lib/geographies/events/geographies-interaction-output.ts +0 -17
- package/src/lib/geographies/events/geographies-tooltip-positioner.ts +0 -23
- package/src/lib/geographies/geographies-feature.ts +0 -16
- package/src/lib/geographies/geographies.component.html +0 -1
- package/src/lib/geographies/geographies.component.scss +0 -0
- package/src/lib/geographies/geographies.component.spec.ts +0 -148
- package/src/lib/geographies/geographies.component.ts +0 -318
- package/src/lib/geographies/geographies.cy.ts +0 -640
- package/src/lib/geographies/geographies.module.ts +0 -9
- package/src/lib/geographies/index.ts +0 -32
- package/src/lib/grouped-bars/config/grouped-bars-builder.ts +0 -66
- package/src/lib/grouped-bars/config/grouped-bars-config.ts +0 -41
- package/src/lib/grouped-bars/config/grouped-bars-options.ts +0 -9
- package/src/lib/grouped-bars/events/grouped-bars-events.directive.ts +0 -221
- package/src/lib/grouped-bars/grouped-bars.component.scss +0 -0
- package/src/lib/grouped-bars/grouped-bars.component.spec.ts +0 -25
- package/src/lib/grouped-bars/grouped-bars.component.ts +0 -94
- package/src/lib/grouped-bars/grouped-bars.module.ts +0 -9
- package/src/lib/grouped-bars/index.ts +0 -10
- package/src/lib/image-download/image-download-config.ts +0 -57
- package/src/lib/image-download/image-download-enums.ts +0 -7
- package/src/lib/image-download/image-download-options.ts +0 -14
- package/src/lib/image-download/image-download.service.ts +0 -70
- package/src/lib/image-download/index.ts +0 -4
- package/src/lib/lines/config/area-fills/area-fills-builder.ts +0 -87
- package/src/lib/lines/config/area-fills/area-fills-options.ts +0 -8
- package/src/lib/lines/config/area-fills/area-fills.ts +0 -14
- package/src/lib/lines/config/lines-builder.ts +0 -242
- package/src/lib/lines/config/lines-config.spec.ts +0 -52
- package/src/lib/lines/config/lines-config.ts +0 -96
- package/src/lib/lines/config/lines-options.ts +0 -19
- package/src/lib/lines/config/stroke/lines-stroke-builder.ts +0 -135
- package/src/lib/lines/config/stroke/lines-stroke-options.ts +0 -6
- package/src/lib/lines/config/stroke/lines-stroke.ts +0 -15
- package/src/lib/lines/events/actions/lines-click-actions.ts +0 -17
- package/src/lib/lines/events/actions/lines-hover-move-actions.ts +0 -113
- package/src/lib/lines/events/actions/lines-marker-click-actions.ts +0 -29
- package/src/lib/lines/events/lines-events.directive.spec.ts +0 -152
- package/src/lib/lines/events/lines-events.directive.ts +0 -310
- package/src/lib/lines/events/lines-interaction-output.ts +0 -17
- package/src/lib/lines/events/lines-tooltip-positioner.ts +0 -24
- package/src/lib/lines/index.ts +0 -17
- package/src/lib/lines/lines.component.scss +0 -0
- package/src/lib/lines/lines.component.spec.ts +0 -95
- package/src/lib/lines/lines.component.ts +0 -425
- package/src/lib/lines/lines.cy.ts +0 -738
- package/src/lib/lines/lines.module.ts +0 -9
- package/src/lib/map-legend/continuous-legend/continuous-legend.component.html +0 -28
- package/src/lib/map-legend/continuous-legend/continuous-legend.component.scss +0 -76
- package/src/lib/map-legend/continuous-legend/continuous-legend.component.spec.ts +0 -61
- package/src/lib/map-legend/continuous-legend/continuous-legend.component.ts +0 -82
- package/src/lib/map-legend/discontinuous-legend/discontinuous-legend.component.html +0 -40
- package/src/lib/map-legend/discontinuous-legend/discontinuous-legend.component.scss +0 -141
- package/src/lib/map-legend/discontinuous-legend/discontinuous-legend.component.spec.ts +0 -75
- package/src/lib/map-legend/discontinuous-legend/discontinuous-legend.component.ts +0 -57
- package/src/lib/map-legend/index.ts +0 -2
- package/src/lib/map-legend/map-legend-base.spec.ts +0 -190
- package/src/lib/map-legend/map-legend-base.ts +0 -99
- package/src/lib/map-legend/map-legend.component.html +0 -24
- package/src/lib/map-legend/map-legend.component.scss +0 -0
- package/src/lib/map-legend/map-legend.component.spec.ts +0 -125
- package/src/lib/map-legend/map-legend.component.ts +0 -80
- package/src/lib/map-legend/map-legend.module.ts +0 -8
- package/src/lib/marks/aux-marks/aux-marks.ts +0 -18
- package/src/lib/marks/aux-marks/config/aux-marks-builder.ts +0 -25
- package/src/lib/marks/aux-marks/config/aux-marks-config.ts +0 -6
- package/src/lib/marks/config/marks-config.ts +0 -14
- package/src/lib/marks/config/marks-options.ts +0 -9
- package/src/lib/marks/index.ts +0 -15
- package/src/lib/marks/map-marks/map-aux-marks/map-aux-marks.spec.ts +0 -74
- package/src/lib/marks/map-marks/map-aux-marks/map-aux-marks.ts +0 -40
- package/src/lib/marks/map-marks/map-primary-marks/map-primary-marks.spec.ts +0 -79
- package/src/lib/marks/map-marks/map-primary-marks/map-primary-marks.ts +0 -63
- package/src/lib/marks/marks.ts +0 -39
- package/src/lib/marks/primary-marks/config/primary-marks-builder.ts +0 -75
- package/src/lib/marks/primary-marks/config/primary-marks-config.ts +0 -9
- package/src/lib/marks/primary-marks/primary-marks-base.spec.ts +0 -58
- package/src/lib/marks/primary-marks/primary-marks.ts +0 -43
- package/src/lib/marks/xy-marks/xy-aux-marks/xy-aux-marks.ts +0 -40
- package/src/lib/marks/xy-marks/xy-marks-config.ts +0 -5
- package/src/lib/marks/xy-marks/xy-marks.ts +0 -10
- package/src/lib/marks/xy-marks/xy-primary-marks/xy-primary-marks-config.ts +0 -7
- package/src/lib/marks/xy-marks/xy-primary-marks/xy-primary-marks.spec.ts +0 -186
- package/src/lib/marks/xy-marks/xy-primary-marks/xy-primary-marks.ts +0 -72
- package/src/lib/point-markers/index.ts +0 -3
- package/src/lib/point-markers/point-markers-builder.ts +0 -93
- package/src/lib/point-markers/point-markers-options.ts +0 -6
- package/src/lib/point-markers/point-markers.ts +0 -13
- package/src/lib/quantitative-rules/config/labels/quantitative-rules-labels-builder.ts +0 -162
- package/src/lib/quantitative-rules/config/labels/quantitative-rules-labels-options.ts +0 -17
- package/src/lib/quantitative-rules/config/labels/quantitative-rules-labels.ts +0 -26
- package/src/lib/quantitative-rules/config/quantitative-rules-builder.ts +0 -134
- package/src/lib/quantitative-rules/config/quantitative-rules-config.ts +0 -21
- package/src/lib/quantitative-rules/config/quantitative-rules-dimensions.ts +0 -20
- package/src/lib/quantitative-rules/config/quantitative-rules-options.ts +0 -13
- package/src/lib/quantitative-rules/index.ts +0 -6
- package/src/lib/quantitative-rules/quantitative-rules.component.scss +0 -3
- package/src/lib/quantitative-rules/quantitative-rules.component.spec.ts +0 -50
- package/src/lib/quantitative-rules/quantitative-rules.component.ts +0 -224
- package/src/lib/quantitative-rules/quantitative-rules.cy.ts +0 -549
- package/src/lib/quantitative-rules/quantitative-rules.module.ts +0 -8
- package/src/lib/stacked-area/config/stacked-area-builder.ts +0 -264
- package/src/lib/stacked-area/config/stacked-area-config.spec.ts +0 -107
- package/src/lib/stacked-area/config/stacked-area-config.ts +0 -109
- package/src/lib/stacked-area/config/stacked-area-options.ts +0 -28
- package/src/lib/stacked-area/events/actions/stacked-area-hover-move-actions.ts +0 -17
- package/src/lib/stacked-area/events/stacked-area-events.directive.spec.ts +0 -168
- package/src/lib/stacked-area/events/stacked-area-events.directive.ts +0 -272
- package/src/lib/stacked-area/events/stacked-area-interaction-output.ts +0 -33
- package/src/lib/stacked-area/events/stacked-area-tooltip-positioner.ts +0 -37
- package/src/lib/stacked-area/index.ts +0 -7
- package/src/lib/stacked-area/stacked-area.component.scss +0 -0
- package/src/lib/stacked-area/stacked-area.component.spec.ts +0 -41
- package/src/lib/stacked-area/stacked-area.component.ts +0 -241
- package/src/lib/stacked-area/stacked-area.module.ts +0 -9
- package/src/lib/stacked-bars/config/stacked-bars-builder.ts +0 -109
- package/src/lib/stacked-bars/config/stacked-bars-config.spec.ts +0 -122
- package/src/lib/stacked-bars/config/stacked-bars-config.ts +0 -79
- package/src/lib/stacked-bars/config/stacked-bars-options.ts +0 -16
- package/src/lib/stacked-bars/events/actions/stacked-bars-click-actions.ts +0 -23
- package/src/lib/stacked-bars/events/actions/stacked-bars-hover-actions.ts +0 -22
- package/src/lib/stacked-bars/events/actions/stacked-bars-hover-move-actions.ts +0 -21
- package/src/lib/stacked-bars/events/stacked-bars-events.directive.spec.ts +0 -266
- package/src/lib/stacked-bars/events/stacked-bars-events.directive.ts +0 -240
- package/src/lib/stacked-bars/index.ts +0 -10
- package/src/lib/stacked-bars/stacked-bars.component.scss +0 -0
- package/src/lib/stacked-bars/stacked-bars.component.spec.ts +0 -25
- package/src/lib/stacked-bars/stacked-bars.component.ts +0 -158
- package/src/lib/stacked-bars/stacked-bars.module.ts +0 -9
- package/src/lib/stroke/base/stroke-base-options.ts +0 -7
- package/src/lib/stroke/base/stroke-base.ts +0 -9
- package/src/lib/stroke/index.ts +0 -5
- package/src/lib/stroke/stroke-builder.ts +0 -103
- package/src/lib/stroke/stroke-options.ts +0 -5
- package/src/lib/stroke/stroke.ts +0 -12
- package/src/lib/svg-text-wrap/index.ts +0 -3
- package/src/lib/svg-text-wrap/svg-text-wrap-builder.ts +0 -105
- package/src/lib/svg-text-wrap/svg-text-wrap-options.ts +0 -8
- package/src/lib/svg-text-wrap/svg-text-wrap.ts +0 -137
- package/src/lib/testing/data/continent-population-year-data.ts +0 -126
- package/src/lib/testing/data/country-area-continent.ts +0 -59
- package/src/lib/testing/data/state-population-income-year-data.ts +0 -123
- package/src/lib/testing/stubs/bars.component.stub.ts +0 -12
- package/src/lib/testing/stubs/chart.component.stub.ts +0 -6
- package/src/lib/testing/stubs/click.directive.stub.ts +0 -15
- package/src/lib/testing/stubs/core/destroy-ref.stub.ts +0 -9
- package/src/lib/testing/stubs/core/overlay-ref.stub.ts +0 -13
- package/src/lib/testing/stubs/core/overlay.stub.ts +0 -8
- package/src/lib/testing/stubs/event.directive.stub.ts +0 -10
- package/src/lib/testing/stubs/hover-move.directive.stub.ts +0 -17
- package/src/lib/testing/stubs/hover.directive.stub.ts +0 -14
- package/src/lib/testing/stubs/input-event.directive.stub.ts +0 -9
- package/src/lib/testing/stubs/lines.component.stub.ts +0 -13
- package/src/lib/testing/stubs/map-aux-marks.stub.ts +0 -10
- package/src/lib/testing/stubs/map-chart.component.stub.ts +0 -3
- package/src/lib/testing/stubs/map-legend-content.stub.ts +0 -16
- package/src/lib/testing/stubs/map-legend.component.stub.ts +0 -10
- package/src/lib/testing/stubs/map-primary-marks.stub.ts +0 -16
- package/src/lib/testing/stubs/ordinal-axis.stub.ts +0 -18
- package/src/lib/testing/stubs/primary-marks.stub.ts +0 -18
- package/src/lib/testing/stubs/quantitative-axis.stub.ts +0 -18
- package/src/lib/testing/stubs/services/main.service.stub.ts +0 -5
- package/src/lib/testing/stubs/services/utilities.service.stub.ts +0 -7
- package/src/lib/testing/stubs/stacked-area.component.stub.ts +0 -13
- package/src/lib/testing/stubs/x-axis.stub.ts +0 -10
- package/src/lib/testing/stubs/xy-axis.class.stub.ts +0 -20
- package/src/lib/testing/stubs/xy-axis.stub.ts +0 -44
- package/src/lib/testing/stubs/xy-chart.component.stub.ts +0 -5
- package/src/lib/testing/stubs/xy-data-marks.stub.ts +0 -15
- package/src/lib/testing/stubs/y-axis.stub.ts +0 -15
- package/src/lib/tooltips/config/tooltip.ts +0 -11
- package/src/lib/tooltips/html-tooltip/config/html-tooltip-builder.ts +0 -134
- package/src/lib/tooltips/html-tooltip/config/html-tooltip-config.ts +0 -21
- package/src/lib/tooltips/html-tooltip/config/html-tooltip-options.ts +0 -12
- package/src/lib/tooltips/html-tooltip/config/position/tooltip-position-builder.ts +0 -191
- package/src/lib/tooltips/html-tooltip/config/position/tooltip-position.ts +0 -42
- package/src/lib/tooltips/html-tooltip/config/size/tooltip-size-builder.ts +0 -75
- package/src/lib/tooltips/html-tooltip/config/size/tooltip-size-options.ts +0 -8
- package/src/lib/tooltips/html-tooltip/config/size/tooltip-size.ts +0 -15
- package/src/lib/tooltips/html-tooltip/html-tooltip.directive.spec.ts +0 -537
- package/src/lib/tooltips/html-tooltip/html-tooltip.directive.ts +0 -210
- package/src/lib/tooltips/html-tooltip/html-tooltip.module.ts +0 -16
- package/src/lib/tooltips/html-tooltip/tooltip-triangle/tooltip-triangle.component.html +0 -41
- package/src/lib/tooltips/html-tooltip/tooltip-triangle/tooltip-triangle.component.scss +0 -63
- package/src/lib/tooltips/html-tooltip/tooltip-triangle/tooltip-triangle.component.ts +0 -19
- package/src/lib/tooltips/index.ts +0 -11
- package/src/lib/tooltips/svg-tooltip/config/svg-tooltip.ts +0 -5
- package/src/lib/xy-background/index.ts +0 -2
- package/src/lib/xy-background/xy-background.component.html +0 -10
- package/src/lib/xy-background/xy-background.component.scss +0 -0
- package/src/lib/xy-background/xy-background.component.spec.ts +0 -24
- package/src/lib/xy-background/xy-background.component.ts +0 -19
- package/src/lib/xy-background/xy-background.module.ts +0 -8
- package/src/public-api.ts +0 -26
- package/src/test.ts +0 -15
- package/tsconfig.doc.json +0 -4
- package/tsconfig.json +0 -20
- package/tsconfig.lib.json +0 -23
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -10
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { safeAssign } from '@mathstack/app-kit';
|
|
2
|
-
import { SvgTextWrap } from './svg-text-wrap';
|
|
3
|
-
|
|
4
|
-
const DEFAULT = {
|
|
5
|
-
_maintainXPosition: false,
|
|
6
|
-
_maintainYPosition: false,
|
|
7
|
-
_lineHeight: 1.1,
|
|
8
|
-
_width: 100,
|
|
9
|
-
_breakOnChars: [],
|
|
10
|
-
_spaceAroundBreakChars: false,
|
|
11
|
-
};
|
|
12
|
-
export class SvgTextWrapBuilder {
|
|
13
|
-
protected _width: number;
|
|
14
|
-
protected _maintainXPosition: boolean;
|
|
15
|
-
protected _maintainYPosition: boolean;
|
|
16
|
-
protected _lineHeight: number;
|
|
17
|
-
protected _breakOnChars: string[];
|
|
18
|
-
protected _spaceAroundBreakChars: boolean;
|
|
19
|
-
|
|
20
|
-
constructor() {
|
|
21
|
-
safeAssign(this, DEFAULT);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* OPTIONAL. Sets the width to wrap the text to.
|
|
26
|
-
*
|
|
27
|
-
* @default 100
|
|
28
|
-
*/
|
|
29
|
-
width(width: number) {
|
|
30
|
-
this._width = width;
|
|
31
|
-
return this;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* OPTIONAL. If true, the x position of the text will be maintained.
|
|
36
|
-
*
|
|
37
|
-
* This is useful, for example, for centering bar labels on a vertical bar chart.
|
|
38
|
-
*
|
|
39
|
-
* @default false
|
|
40
|
-
*/
|
|
41
|
-
maintainXPosition(maintainXPosition: boolean) {
|
|
42
|
-
this._maintainXPosition = maintainXPosition;
|
|
43
|
-
return this;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* OPTIONAL. If true, the y position of the text will be maintained.
|
|
48
|
-
*
|
|
49
|
-
* This is useful, for example, for centering bar labels on a horizontal bar chart.
|
|
50
|
-
*
|
|
51
|
-
* @default false
|
|
52
|
-
*/
|
|
53
|
-
maintainYPosition(maintainYPosition: boolean) {
|
|
54
|
-
this._maintainYPosition = maintainYPosition;
|
|
55
|
-
return this;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* OPTIONAL. Sets the line height of the text.
|
|
60
|
-
*
|
|
61
|
-
* @default 1.1
|
|
62
|
-
*/
|
|
63
|
-
lineHeight(lineHeight: number) {
|
|
64
|
-
this._lineHeight = lineHeight;
|
|
65
|
-
return this;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* OPTIONAL. Sets the characters to break on when wrapping text.
|
|
70
|
-
* By default, text will only break on spaces.
|
|
71
|
-
*
|
|
72
|
-
* @default []
|
|
73
|
-
*/
|
|
74
|
-
breakOnChars(breakOnChars: string[]) {
|
|
75
|
-
this._breakOnChars = breakOnChars;
|
|
76
|
-
return this;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* OPTIONAL. If true, spaces will be added around break characters.
|
|
81
|
-
*
|
|
82
|
-
* This is useful when breaking on punctuation characters, to avoid words being stuck to punctuation.
|
|
83
|
-
* For example, breaking on commas without spaces around them would result in "word," at the end of one line and "word" at the start of the next line.
|
|
84
|
-
*
|
|
85
|
-
* @default false
|
|
86
|
-
*/
|
|
87
|
-
spaceAroundBreakChars(spaceAroundBreakChars: boolean) {
|
|
88
|
-
this._spaceAroundBreakChars = spaceAroundBreakChars;
|
|
89
|
-
return this;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @internal Not meant to be called by consumers of the library.
|
|
94
|
-
*/
|
|
95
|
-
build(): SvgTextWrap {
|
|
96
|
-
return new SvgTextWrap({
|
|
97
|
-
width: this._width,
|
|
98
|
-
maintainXPosition: this._maintainXPosition,
|
|
99
|
-
maintainYPosition: this._maintainYPosition,
|
|
100
|
-
lineHeight: this._lineHeight,
|
|
101
|
-
breakOnChars: this._breakOnChars,
|
|
102
|
-
spaceAroundBreakChars: this._spaceAroundBreakChars,
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { safeAssign } from '@mathstack/app-kit';
|
|
2
|
-
import { select, Selection } from 'd3';
|
|
3
|
-
import { SvgTextWrapOptions } from './svg-text-wrap-options';
|
|
4
|
-
|
|
5
|
-
export class SvgTextWrap implements SvgTextWrapOptions {
|
|
6
|
-
width: number;
|
|
7
|
-
maintainXPosition: boolean;
|
|
8
|
-
maintainYPosition: boolean;
|
|
9
|
-
lineHeight: number;
|
|
10
|
-
breakOnChars: string[];
|
|
11
|
-
spaceAroundBreakChars: boolean;
|
|
12
|
-
|
|
13
|
-
constructor(options: SvgTextWrapOptions) {
|
|
14
|
-
safeAssign(this, options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18
|
-
wrap(textSelection: Selection<SVGTextElement, any, any, any>): void {
|
|
19
|
-
textSelection.each((d, i, nodes) => {
|
|
20
|
-
const text = select(nodes[i]);
|
|
21
|
-
const tokens = this.buildTokens(
|
|
22
|
-
text,
|
|
23
|
-
this.breakOnChars ?? [],
|
|
24
|
-
this.spaceAroundBreakChars ?? false
|
|
25
|
-
).reverse();
|
|
26
|
-
let word;
|
|
27
|
-
let line = [];
|
|
28
|
-
let lineNumber = 0;
|
|
29
|
-
const y = parseFloat(text.attr('y')) || 0;
|
|
30
|
-
const x = this.maintainXPosition ? parseFloat(text.attr('x')) : 0;
|
|
31
|
-
const maxWidth = this.width;
|
|
32
|
-
const dy = parseFloat(text.attr('dy')) || 0;
|
|
33
|
-
let isFirstTspan = true;
|
|
34
|
-
let tspan = text
|
|
35
|
-
.text(null)
|
|
36
|
-
.append('tspan')
|
|
37
|
-
.attr('x', x)
|
|
38
|
-
.attr('y', y)
|
|
39
|
-
.attr('dy', dy + 'em');
|
|
40
|
-
while ((word = tokens.pop())) {
|
|
41
|
-
line.push(word);
|
|
42
|
-
tspan.text(line.join('').trimEnd());
|
|
43
|
-
|
|
44
|
-
if (tspan.node().getComputedTextLength() > maxWidth) {
|
|
45
|
-
line.pop();
|
|
46
|
-
if (line.length > 0) {
|
|
47
|
-
tspan.text(line.join('').trimEnd());
|
|
48
|
-
isFirstTspan = false;
|
|
49
|
-
} else {
|
|
50
|
-
// Remove the empty tspan since it has no content
|
|
51
|
-
// This happens if a single word is longer than the maxWidth
|
|
52
|
-
tspan.remove();
|
|
53
|
-
}
|
|
54
|
-
line = [word];
|
|
55
|
-
tspan = text
|
|
56
|
-
.append('tspan')
|
|
57
|
-
.attr('x', x)
|
|
58
|
-
.attr('y', y)
|
|
59
|
-
.attr(
|
|
60
|
-
'dy',
|
|
61
|
-
isFirstTspan
|
|
62
|
-
? dy + 'em'
|
|
63
|
-
: ++lineNumber * this.lineHeight + dy + 'em'
|
|
64
|
-
)
|
|
65
|
-
.text(word);
|
|
66
|
-
isFirstTspan = false;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
if (this.maintainYPosition && lineNumber > 0) {
|
|
70
|
-
const fontSize = parseFloat(text.style('font-size')) || 16;
|
|
71
|
-
const totalLines = lineNumber + 1;
|
|
72
|
-
const totalHeight = (totalLines - 1) * this.lineHeight; // in em units
|
|
73
|
-
|
|
74
|
-
// Convert to pixels and center
|
|
75
|
-
const offsetY = (totalHeight / 2) * fontSize;
|
|
76
|
-
text.selectAll('tspan').attr('y', y - offsetY);
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private buildTokens(
|
|
82
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
83
|
-
textSel: Selection<SVGTextElement, unknown, any, any>,
|
|
84
|
-
breakOnChars: string[] = [],
|
|
85
|
-
spaceAroundBreakChars = false
|
|
86
|
-
): string[] {
|
|
87
|
-
const allTspans = textSel.selectAll<SVGTSpanElement, unknown>('tspan');
|
|
88
|
-
const chunks: string[] =
|
|
89
|
-
allTspans.size() > 0
|
|
90
|
-
? Array.from(allTspans, (t) => t.textContent ?? '')
|
|
91
|
-
: [textSel.text() ?? ''];
|
|
92
|
-
|
|
93
|
-
const escaped = breakOnChars.map((c) =>
|
|
94
|
-
c.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
|
|
95
|
-
);
|
|
96
|
-
const delimRe = escaped.length
|
|
97
|
-
? new RegExp(`(${escaped.join('|')})`, 'g')
|
|
98
|
-
: null;
|
|
99
|
-
|
|
100
|
-
const tokens: string[] = [];
|
|
101
|
-
|
|
102
|
-
const splitByDelims = (s: string): string[] => {
|
|
103
|
-
if (!delimRe) return [s];
|
|
104
|
-
return s.split(delimRe).filter(Boolean); // keeps delimiters as their own elements
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
chunks.forEach((chunk, chunkIdx) => {
|
|
108
|
-
const wordsInChunk = chunk.trim().split(/\s+/).filter(Boolean);
|
|
109
|
-
|
|
110
|
-
wordsInChunk.forEach((w, wIdx) => {
|
|
111
|
-
// Split the "word" on delimiter characters, preserving them as tokens
|
|
112
|
-
const parts = splitByDelims(w);
|
|
113
|
-
for (const p of parts) {
|
|
114
|
-
if (breakOnChars.includes(p)) {
|
|
115
|
-
// Delimiter token
|
|
116
|
-
if (spaceAroundBreakChars) {
|
|
117
|
-
tokens.push(' ', p, ' ');
|
|
118
|
-
} else {
|
|
119
|
-
tokens.push(p);
|
|
120
|
-
}
|
|
121
|
-
} else {
|
|
122
|
-
// Normal text segment
|
|
123
|
-
tokens.push(p);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
// Add a single space between words that came from the same chunk
|
|
127
|
-
if (wIdx < wordsInChunk.length - 1) tokens.push(' ');
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
// Add a single space between tspans
|
|
131
|
-
if (allTspans.size() > 0 && chunkIdx < chunks.length - 1)
|
|
132
|
-
tokens.push(' ');
|
|
133
|
-
});
|
|
134
|
-
|
|
135
|
-
return tokens;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
// Quant Date, Quant Number, Cat
|
|
2
|
-
export type ContinentPopulationDateYearDatum = {
|
|
3
|
-
continent: string;
|
|
4
|
-
population: number;
|
|
5
|
-
year: Date;
|
|
6
|
-
};
|
|
7
|
-
// Quant Number, Quant Number, Cat
|
|
8
|
-
export type ContinentPopulationNumYearDatum = {
|
|
9
|
-
continent: string;
|
|
10
|
-
population: number;
|
|
11
|
-
year: number;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const continentPopulationDateYearData: ContinentPopulationDateYearDatum[] =
|
|
15
|
-
[
|
|
16
|
-
{ continent: 'Asia', year: new Date('2024-01-02'), population: 4785060000 },
|
|
17
|
-
{ continent: 'Asia', year: new Date('2030-01-02'), population: 4958807000 },
|
|
18
|
-
{ continent: 'Asia', year: new Date('2050-01-02'), population: 5292948000 },
|
|
19
|
-
{ continent: 'Asia', year: new Date('2100-01-02'), population: 4674249000 },
|
|
20
|
-
{
|
|
21
|
-
continent: 'Africa',
|
|
22
|
-
year: new Date('2024-01-02'),
|
|
23
|
-
population: 1494994000,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
continent: 'Africa',
|
|
27
|
-
year: new Date('2030-01-02'),
|
|
28
|
-
population: 1710666000,
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
continent: 'Africa',
|
|
32
|
-
year: new Date('2050-01-02'),
|
|
33
|
-
population: 2485136000,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
continent: 'Africa',
|
|
37
|
-
year: new Date('2100-01-02'),
|
|
38
|
-
population: 3924421000,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
continent: 'Europe',
|
|
42
|
-
year: new Date('2024-01-02'),
|
|
43
|
-
population: 741652000,
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
continent: 'Europe',
|
|
47
|
-
year: new Date('2030-01-02'),
|
|
48
|
-
population: 736574000,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
continent: 'Europe',
|
|
52
|
-
year: new Date('2050-01-02'),
|
|
53
|
-
population: 703007000,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
continent: 'Europe',
|
|
57
|
-
year: new Date('2100-01-02'),
|
|
58
|
-
population: 586515000,
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
continent: 'North America',
|
|
62
|
-
year: new Date('2024-01-02'),
|
|
63
|
-
population: 381048000,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
continent: 'North America',
|
|
67
|
-
year: new Date('2030-01-02'),
|
|
68
|
-
population: 393297000,
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
continent: 'North America',
|
|
72
|
-
year: new Date('2050-01-02'),
|
|
73
|
-
population: 421398000,
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
continent: 'North America',
|
|
77
|
-
year: new Date('2100-01-02'),
|
|
78
|
-
population: 448026000,
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
continent: 'South America',
|
|
82
|
-
year: new Date('2024-01-02'),
|
|
83
|
-
population: 442861000,
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
continent: 'South America',
|
|
87
|
-
year: new Date('2030-01-02'),
|
|
88
|
-
population: 460220000,
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
continent: 'South America',
|
|
92
|
-
year: new Date('2050-01-02'),
|
|
93
|
-
population: 491079000,
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
continent: 'South America',
|
|
97
|
-
year: new Date('2100-01-02'),
|
|
98
|
-
population: 425794000,
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
continent: 'Oceania',
|
|
102
|
-
year: new Date('2024-01-02'),
|
|
103
|
-
population: 46109000,
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
continent: 'Oceania',
|
|
107
|
-
year: new Date('2030-01-02'),
|
|
108
|
-
population: 49212000,
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
continent: 'Oceania',
|
|
112
|
-
year: new Date('2050-01-02'),
|
|
113
|
-
population: 57834000,
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
continent: 'Oceania',
|
|
117
|
-
year: new Date('2100-01-02'),
|
|
118
|
-
population: 68712000,
|
|
119
|
-
},
|
|
120
|
-
];
|
|
121
|
-
|
|
122
|
-
export const ContinentPopulationNumYearData: ContinentPopulationNumYearDatum[] =
|
|
123
|
-
continentPopulationDateYearData.map((d) => ({
|
|
124
|
-
...d,
|
|
125
|
-
year: d.year.getFullYear(),
|
|
126
|
-
}));
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export type CountryFactsDatum = {
|
|
2
|
-
country: string;
|
|
3
|
-
area: number;
|
|
4
|
-
continent: string;
|
|
5
|
-
population: number;
|
|
6
|
-
popGrowth: number;
|
|
7
|
-
gdpPerCapita: number;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export const countryFactsData = [
|
|
11
|
-
{
|
|
12
|
-
country: 'Afghanistan',
|
|
13
|
-
area: 252072,
|
|
14
|
-
continent: 'Asia',
|
|
15
|
-
population: 40121552,
|
|
16
|
-
popGrowth: 0.022,
|
|
17
|
-
gdpPerCapita: 2000,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
country: 'Albania',
|
|
21
|
-
area: 11100,
|
|
22
|
-
continent: 'Europe',
|
|
23
|
-
population: 3107100,
|
|
24
|
-
popGrowth: 0.0016,
|
|
25
|
-
gdpPerCapita: 18100,
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
country: 'Algeria',
|
|
29
|
-
area: 919595,
|
|
30
|
-
continent: 'Africa',
|
|
31
|
-
population: 47022473,
|
|
32
|
-
popGrowth: 0.0154,
|
|
33
|
-
gdpPerCapita: 15300,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
country: 'Angola',
|
|
37
|
-
area: 481350,
|
|
38
|
-
continent: 'Africa',
|
|
39
|
-
population: 37202061,
|
|
40
|
-
popGrowth: 0.0333,
|
|
41
|
-
gdpPerCapita: 7200,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
country: 'Antigua and Barbuda',
|
|
45
|
-
area: 171,
|
|
46
|
-
continent: 'North America',
|
|
47
|
-
population: 102634,
|
|
48
|
-
popGrowth: 0.011,
|
|
49
|
-
gdpPerCapita: 28700,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
country: 'Argentina',
|
|
53
|
-
area: 1073500,
|
|
54
|
-
continent: 'South America',
|
|
55
|
-
population: 46994384,
|
|
56
|
-
popGrowth: 0.0079,
|
|
57
|
-
gdpPerCapita: 26500,
|
|
58
|
-
},
|
|
59
|
-
];
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
export type StateIncomePopulationYearDatum = {
|
|
2
|
-
state: string;
|
|
3
|
-
year: number;
|
|
4
|
-
income: number;
|
|
5
|
-
population: number;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const stateIncomePopulationYearData = [
|
|
9
|
-
{ state: 'Alabama', year: 2020, income: 52035, population: 5024279 },
|
|
10
|
-
{ state: 'Alabama', year: 2010, income: 40474, population: 4779736 },
|
|
11
|
-
{ state: 'Alaska', year: 2020, income: 77790, population: 733391 },
|
|
12
|
-
{ state: 'Alaska', year: 2010, income: 64576, population: 710231 },
|
|
13
|
-
{ state: 'Arizona', year: 2020, income: 61529, population: 7151502 },
|
|
14
|
-
{ state: 'Arizona', year: 2010, income: 46789, population: 6392017 },
|
|
15
|
-
{ state: 'Arkansas', year: 2020, income: 49475, population: 3011524 },
|
|
16
|
-
{ state: 'Arkansas', year: 2010, income: 38307, population: 2915918 },
|
|
17
|
-
{ state: 'California', year: 2020, income: 78672, population: 39538223 },
|
|
18
|
-
{ state: 'California', year: 2010, income: 57708, population: 37253956 },
|
|
19
|
-
{ state: 'Colorado', year: 2020, income: 75231, population: 5773714 },
|
|
20
|
-
{ state: 'Colorado', year: 2010, income: 54046, population: 5029196 },
|
|
21
|
-
{ state: 'Connecticut', year: 2020, income: 79855, population: 3605944 },
|
|
22
|
-
{ state: 'Connecticut', year: 2010, income: 64032, population: 3574097 },
|
|
23
|
-
{ state: 'Delaware', year: 2020, income: 69110, population: 989948 },
|
|
24
|
-
{ state: 'Delaware', year: 2010, income: 55847, population: 897934 },
|
|
25
|
-
{
|
|
26
|
-
state: 'District of Columbia',
|
|
27
|
-
year: 2020,
|
|
28
|
-
income: 90842,
|
|
29
|
-
population: 689545,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
state: 'District of Columbia',
|
|
33
|
-
year: 2010,
|
|
34
|
-
income: 60903,
|
|
35
|
-
population: 601723,
|
|
36
|
-
},
|
|
37
|
-
{ state: 'Florida', year: 2020, income: 57703, population: 21538187 },
|
|
38
|
-
{ state: 'Florida', year: 2010, income: 44409, population: 18801310 },
|
|
39
|
-
{ state: 'Georgia', year: 2020, income: 61224, population: 10711908 },
|
|
40
|
-
{ state: 'Georgia', year: 2010, income: 46430, population: 9687653 },
|
|
41
|
-
{ state: 'Hawaii', year: 2020, income: 83173, population: 1455271 },
|
|
42
|
-
{ state: 'Hawaii', year: 2010, income: 63030, population: 1360301 },
|
|
43
|
-
{ state: 'Idaho', year: 2020, income: 58915, population: 1839106 },
|
|
44
|
-
{ state: 'Idaho', year: 2010, income: 43490, population: 1567582 },
|
|
45
|
-
{ state: 'Illinois', year: 2020, income: 68428, population: 12812508 },
|
|
46
|
-
{ state: 'Illinois', year: 2010, income: 52972, population: 12830632 },
|
|
47
|
-
{ state: 'Indiana', year: 2020, income: 58235, population: 6785528 },
|
|
48
|
-
{ state: 'Indiana', year: 2010, income: 44613, population: 6483802 },
|
|
49
|
-
{ state: 'Iowa', year: 2020, income: 61836, population: 3190369 },
|
|
50
|
-
{ state: 'Iowa', year: 2010, income: 47961, population: 3046355 },
|
|
51
|
-
{ state: 'Kansas', year: 2020, income: 61091, population: 2937880 },
|
|
52
|
-
{ state: 'Kansas', year: 2010, income: 48257, population: 2853118 },
|
|
53
|
-
{ state: 'Kentucky', year: 2020, income: 52238, population: 4505836 },
|
|
54
|
-
{ state: 'Kentucky', year: 2010, income: 40062, population: 4339367 },
|
|
55
|
-
{ state: 'Louisiana', year: 2020, income: 50800, population: 4657757 },
|
|
56
|
-
{ state: 'Louisiana', year: 2010, income: 42505, population: 4533372 },
|
|
57
|
-
{ state: 'Maine', year: 2020, income: 59489, population: 1362359 },
|
|
58
|
-
{ state: 'Maine', year: 2010, income: 45815, population: 1328361 },
|
|
59
|
-
{ state: 'Maryland', year: 2020, income: 87063, population: 6177224 },
|
|
60
|
-
{ state: 'Maryland', year: 2010, income: 68854, population: 5773552 },
|
|
61
|
-
{ state: 'Massachusetts', year: 2020, income: 84385, population: 7029917 },
|
|
62
|
-
{ state: 'Massachusetts', year: 2010, income: 62072, population: 6547629 },
|
|
63
|
-
{ state: 'Michigan', year: 2020, income: 59234, population: 10077331 },
|
|
64
|
-
{ state: 'Michigan', year: 2010, income: 45413, population: 9883640 },
|
|
65
|
-
{ state: 'Minnesota', year: 2020, income: 73382, population: 5706494 },
|
|
66
|
-
{ state: 'Minnesota', year: 2010, income: 55459, population: 5303925 },
|
|
67
|
-
{ state: 'Mississippi', year: 2020, income: 46511, population: 2961279 },
|
|
68
|
-
{ state: 'Mississippi', year: 2010, income: 36851, population: 2967297 },
|
|
69
|
-
{ state: 'Missouri', year: 2020, income: 57290, population: 6154913 },
|
|
70
|
-
{ state: 'Missouri', year: 2010, income: 44301, population: 5988927 },
|
|
71
|
-
{ state: 'Montana', year: 2020, income: 56539, population: 1084225 },
|
|
72
|
-
{ state: 'Montana', year: 2010, income: 42666, population: 989415 },
|
|
73
|
-
{ state: 'Nebraska', year: 2020, income: 63015, population: 1961504 },
|
|
74
|
-
{ state: 'Nebraska', year: 2010, income: 48408, population: 1826341 },
|
|
75
|
-
{ state: 'Nevada', year: 2020, income: 62043, population: 3104614 },
|
|
76
|
-
{ state: 'Nevada', year: 2010, income: 51001, population: 2700551 },
|
|
77
|
-
{ state: 'New Hampshire', year: 2020, income: 77923, population: 1377529 },
|
|
78
|
-
{ state: 'New Hampshire', year: 2010, income: 61042, population: 1316470 },
|
|
79
|
-
{ state: 'New Jersey', year: 2020, income: 85245, population: 9288994 },
|
|
80
|
-
{ state: 'New Jersey', year: 2010, income: 67681, population: 8791894 },
|
|
81
|
-
{ state: 'New Mexico', year: 2020, income: 51243, population: 2117522 },
|
|
82
|
-
{ state: 'New Mexico', year: 2010, income: 42090, population: 2059179 },
|
|
83
|
-
{ state: 'New York', year: 2020, income: 71117, population: 20201249 },
|
|
84
|
-
{ state: 'New York', year: 2010, income: 54148, population: 19378102 },
|
|
85
|
-
{ state: 'North Carolina', year: 2020, income: 56642, population: 10439388 },
|
|
86
|
-
{ state: 'North Carolina', year: 2010, income: 43326, population: 9535483 },
|
|
87
|
-
{ state: 'North Dakota', year: 2020, income: 65315, population: 779094 },
|
|
88
|
-
{ state: 'North Dakota', year: 2010, income: 48670, population: 672591 },
|
|
89
|
-
{ state: 'Ohio', year: 2020, income: 58116, population: 11799448 },
|
|
90
|
-
{ state: 'Ohio', year: 2010, income: 45090, population: 11536504 },
|
|
91
|
-
{ state: 'Oklahoma', year: 2020, income: 53840, population: 3959353 },
|
|
92
|
-
{ state: 'Oklahoma', year: 2010, income: 42072, population: 3751351 },
|
|
93
|
-
{ state: 'Oregon', year: 2020, income: 65667, population: 4237256 },
|
|
94
|
-
{ state: 'Oregon', year: 2010, income: 46560, population: 3831074 },
|
|
95
|
-
{ state: 'Pennsylvania', year: 2020, income: 63627, population: 13002700 },
|
|
96
|
-
{ state: 'Pennsylvania', year: 2010, income: 49288, population: 12702379 },
|
|
97
|
-
{ state: 'Puerto Rico', year: 2020, income: 21058, population: 3285874 },
|
|
98
|
-
{ state: 'Puerto Rico', year: 2010, income: 18862, population: 3725789 },
|
|
99
|
-
{ state: 'Rhode Island', year: 2020, income: 70305, population: 1097379 },
|
|
100
|
-
{ state: 'Rhode Island', year: 2010, income: 52254, population: 1052567 },
|
|
101
|
-
{ state: 'South Carolina', year: 2020, income: 54864, population: 5118425 },
|
|
102
|
-
{ state: 'South Carolina', year: 2010, income: 42018, population: 4625364 },
|
|
103
|
-
{ state: 'South Dakota', year: 2020, income: 59896, population: 886667 },
|
|
104
|
-
{ state: 'South Dakota', year: 2010, income: 45904, population: 814180 },
|
|
105
|
-
{ state: 'Tennessee', year: 2020, income: 54833, population: 6910840 },
|
|
106
|
-
{ state: 'Tennessee', year: 2010, income: 41461, population: 6346105 },
|
|
107
|
-
{ state: 'Texas', year: 2020, income: 63826, population: 29145505 },
|
|
108
|
-
{ state: 'Texas', year: 2010, income: 48615, population: 25145561 },
|
|
109
|
-
{ state: 'Utah', year: 2020, income: 74197, population: 3271616 },
|
|
110
|
-
{ state: 'Utah', year: 2010, income: 54744, population: 2763885 },
|
|
111
|
-
{ state: 'Vermont', year: 2020, income: 63477, population: 643077 },
|
|
112
|
-
{ state: 'Vermont', year: 2010, income: 49406, population: 625741 },
|
|
113
|
-
{ state: 'Virginia', year: 2020, income: 76398, population: 8631393 },
|
|
114
|
-
{ state: 'Virginia', year: 2010, income: 60674, population: 8001024 },
|
|
115
|
-
{ state: 'Washington', year: 2020, income: 77006, population: 7705281 },
|
|
116
|
-
{ state: 'Washington', year: 2010, income: 55631, population: 6724540 },
|
|
117
|
-
{ state: 'West Virginia', year: 2020, income: 48037, population: 1793716 },
|
|
118
|
-
{ state: 'West Virginia', year: 2010, income: 38218, population: 1852994 },
|
|
119
|
-
{ state: 'Wisconsin', year: 2020, income: 63293, population: 5893718 },
|
|
120
|
-
{ state: 'Wisconsin', year: 2010, income: 49001, population: 5686986 },
|
|
121
|
-
{ state: 'Wyoming', year: 2020, income: 65304, population: 576851 },
|
|
122
|
-
{ state: 'Wyoming', year: 2010, income: 53512, population: 563626 },
|
|
123
|
-
];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
import { ClickDirective } from '../../events/click.directive';
|
|
3
|
-
import { ListenElement } from '../../events/event.directive';
|
|
4
|
-
|
|
5
|
-
export class ClickDirectiveStub extends ClickDirective {
|
|
6
|
-
onElementClick(event: PointerEvent, el: ListenElement): void {
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
onClickRemove(): void {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
setListenedElements(): void {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
import { DestroyRef } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
export class DestroyRefStub extends DestroyRef {
|
|
5
|
-
override onDestroy(callback: () => void): () => void {
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
7
|
-
return () => {}; // Return an empty function
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { of } from 'rxjs';
|
|
3
|
-
|
|
4
|
-
export class OverlayRefStub {
|
|
5
|
-
attach = jasmine.createSpy('attach');
|
|
6
|
-
detach = jasmine.createSpy('detach');
|
|
7
|
-
dispose = jasmine.createSpy('dispose');
|
|
8
|
-
addPanelClass = jasmine.createSpy('addPanelClass');
|
|
9
|
-
removePanelClass = jasmine.createSpy('removePanelClass');
|
|
10
|
-
updateSize = jasmine.createSpy('updateSize');
|
|
11
|
-
updatePositionStrategy = jasmine.createSpy('updatePositionStrategy');
|
|
12
|
-
backdropClick = of('click' as any);
|
|
13
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
export class OverlayStub {
|
|
3
|
-
create = jasmine.createSpy('create');
|
|
4
|
-
scrollStrategies = {
|
|
5
|
-
noop: jasmine.createSpy('noop').and.returnValue('noop' as any),
|
|
6
|
-
close: jasmine.createSpy('close').and.returnValue('close' as any),
|
|
7
|
-
};
|
|
8
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
import { HoverMoveDirective } from '../../events/hover-move.directive';
|
|
3
|
-
|
|
4
|
-
export class HoverMoveDirectiveStub extends HoverMoveDirective {
|
|
5
|
-
setListenedElements(): void {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
onElementPointerMove(event: PointerEvent): void {
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
onElementPointerEnter(event: PointerEvent): void {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
onElementPointerLeave(event: PointerEvent): void {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
import { HoverDirective } from '../../events/hover.directive';
|
|
3
|
-
|
|
4
|
-
export class HoverDirectiveStub extends HoverDirective {
|
|
5
|
-
onElementPointerEnter(event: PointerEvent): void {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
onElementPointerLeave(event: PointerEvent): void {
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
setListenedElements(): void {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
}
|