@luzmo/analytics-components-kit 1.0.1-alpha.86 → 1.0.1-alpha.89
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/angular/components/display-settings-binning.component.ts +2 -2
- package/angular/components/display-settings-datetime.component.ts +2 -2
- package/angular/components/display-settings-grand-totals.component.ts +2 -2
- package/angular/components/display-settings-numeric.component.ts +2 -2
- package/angular/components/display-settings.component.ts +3 -3
- package/angular/components/draggable-data-item/index.ts +1 -0
- package/angular/components/draggable-data-item/types.ts +40 -0
- package/angular/components/draggable-data-item-level/index.ts +1 -0
- package/angular/components/draggable-data-item-level/types.ts +15 -0
- package/angular/components/draggable-data-item-level.component.ts +4 -10
- package/angular/components/draggable-data-item.component.ts +4 -10
- package/angular/components/droppable-slot/index.ts +1 -0
- package/angular/components/droppable-slot/types.ts +16 -0
- package/angular/components/droppable-slot.component.ts +5 -3
- package/angular/components/slot-menu/index.ts +1 -0
- package/angular/components/slot-menu/types.ts +31 -0
- package/angular/components/slot-menu-list.component.ts +2 -2
- package/angular/components/slot-menu.component.ts +3 -3
- package/angular/esm/components/display-settings-binning.component.d.ts +2 -1
- package/angular/esm/components/display-settings-datetime.component.d.ts +2 -2
- package/angular/esm/components/display-settings-grand-totals.component.d.ts +2 -1
- package/angular/esm/components/display-settings-numeric.component.d.ts +2 -1
- package/angular/esm/components/display-settings.component.d.ts +3 -3
- package/angular/esm/components/draggable-data-item/index.d.ts +1 -0
- package/angular/esm/components/draggable-data-item/index.js +1 -0
- package/angular/esm/components/draggable-data-item/types.d.ts +22 -0
- package/angular/esm/components/draggable-data-item/types.js +1 -0
- package/angular/esm/components/draggable-data-item-level/index.d.ts +1 -0
- package/angular/esm/components/draggable-data-item-level/index.js +1 -0
- package/angular/esm/components/draggable-data-item-level/types.d.ts +12 -0
- package/angular/esm/components/draggable-data-item-level/types.js +1 -0
- package/angular/esm/components/draggable-data-item-level.component.d.ts +9 -7
- package/angular/esm/components/draggable-data-item-level.component.js +2 -17
- package/angular/esm/components/draggable-data-item.component.d.ts +9 -7
- package/angular/esm/components/draggable-data-item.component.js +2 -17
- package/angular/esm/components/droppable-slot/index.d.ts +1 -0
- package/angular/esm/components/droppable-slot/index.js +1 -0
- package/angular/esm/components/droppable-slot/types.d.ts +9 -0
- package/angular/esm/components/droppable-slot/types.js +1 -0
- package/angular/esm/components/droppable-slot.component.d.ts +5 -4
- package/angular/esm/components/droppable-slot.component.js +7 -2
- package/angular/esm/components/slot-menu/index.d.ts +1 -0
- package/angular/esm/components/slot-menu/index.js +1 -0
- package/angular/esm/components/slot-menu/types.d.ts +25 -0
- package/angular/esm/components/slot-menu/types.js +1 -0
- package/angular/esm/components/slot-menu-list.component.d.ts +2 -1
- package/angular/esm/components/slot-menu.component.d.ts +3 -3
- package/angular/esm/types.d.ts +9 -3
- package/angular/tsconfig.json +3 -0
- package/angular/types.ts +24 -3
- package/angular/utils/base/base.d.ts +16 -0
- package/angular/utils/base/focus-visible.d.ts +29 -0
- package/angular/utils/base/focusable.d.ts +58 -0
- package/angular/utils/base/index.d.ts +4 -0
- package/angular/utils/base/sized-mixin.d.ts +17 -0
- package/angular/utils/color/color-palettes.d.ts +17 -0
- package/angular/utils/color/extrapolate-color.d.ts +1 -0
- package/angular/utils/data/load-draggable-items-for-datasets.d.ts +24 -0
- package/angular/utils/data-broker/index.d.ts +191 -0
- package/angular/utils/data-item-types/calculate-data-item-icon.d.ts +10 -0
- package/angular/utils/data-item-types/tests/calculate-data-item-icon.test.d.ts +1 -0
- package/angular/utils/drag/draggable.d.ts +13 -0
- package/angular/utils/filters/expressions.d.ts +15 -0
- package/angular/utils/filters/index.d.ts +1 -0
- package/angular/utils/formatter/calculate-duration.d.ts +2 -0
- package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
- package/angular/utils/formatter/default-local-formats.d.ts +20 -0
- package/angular/utils/formatter/formats/cs.d.ts +20 -0
- package/angular/utils/formatter/formats/da.d.ts +20 -0
- package/angular/utils/formatter/formats/de.d.ts +21 -0
- package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
- package/angular/utils/formatter/formats/en-US.d.ts +1 -0
- package/angular/utils/formatter/formats/en.d.ts +1 -0
- package/angular/utils/formatter/formats/es.d.ts +54 -0
- package/angular/utils/formatter/formats/fi.d.ts +20 -0
- package/angular/utils/formatter/formats/fr.d.ts +54 -0
- package/angular/utils/formatter/formats/he.d.ts +20 -0
- package/angular/utils/formatter/formats/hu.d.ts +20 -0
- package/angular/utils/formatter/formats/it.d.ts +54 -0
- package/angular/utils/formatter/formats/ja.d.ts +20 -0
- package/angular/utils/formatter/formats/ko.d.ts +20 -0
- package/angular/utils/formatter/formats/mk.d.ts +20 -0
- package/angular/utils/formatter/formats/nl.d.ts +21 -0
- package/angular/utils/formatter/formats/no.d.ts +21 -0
- package/angular/utils/formatter/formats/pl.d.ts +20 -0
- package/angular/utils/formatter/formats/pt.d.ts +20 -0
- package/angular/utils/formatter/formats/ru.d.ts +20 -0
- package/angular/utils/formatter/formats/sv.d.ts +20 -0
- package/angular/utils/formatter/formats/tr.d.ts +21 -0
- package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
- package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
- package/angular/utils/formatter/formatter.d.ts +9 -0
- package/angular/utils/formatter/localize.d.ts +3 -0
- package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
- package/angular/utils/get-css-variable.d.ts +1 -0
- package/angular/utils/index.d.ts +7 -0
- package/angular/utils/localize/set-locale.d.ts +7 -0
- package/angular/utils/map-tile-providers/index.d.ts +93 -0
- package/angular/utils/store/slot-context.d.ts +4 -0
- package/angular/utils/store/slot-store.d.ts +39 -0
- package/angular/utils/switch-item/index.d.ts +14 -0
- package/angular/utils/themes/bliss.d.ts +43 -0
- package/angular/utils/themes/classic-dark.d.ts +34 -0
- package/angular/utils/themes/classic.d.ts +43 -0
- package/angular/utils/themes/default-dark.d.ts +46 -0
- package/angular/utils/themes/default.d.ts +46 -0
- package/angular/utils/themes/index.d.ts +3 -0
- package/angular/utils/themes/orion.d.ts +44 -0
- package/angular/utils/themes/pinky.d.ts +42 -0
- package/angular/utils/themes/radiant.d.ts +42 -0
- package/angular/utils/themes/royale.d.ts +36 -0
- package/angular/utils/themes/seasonal.d.ts +43 -0
- package/angular/utils/themes/urban.d.ts +44 -0
- package/angular/utils/themes/vivid.d.ts +42 -0
- package/angular/utils/time/formats.const.d.ts +4 -0
- package/angular/utils/time/periods.const.d.ts +15 -0
- package/angular/utils/transformations/convert-data-item-to-slot-content.d.ts +9 -0
- package/angular/utils/transformations/convert-datasets-to-draggable-items.d.ts +17 -0
- package/angular/utils/transformations/tests/convert-data-item-to-slot-content.test.d.ts +1 -0
- package/angular/utils/transformations/tests/convert-datasets-to-draggable-items.test.d.ts +1 -0
- package/angular/utils/types/type-check.d.ts +7 -0
- package/components/ai-chat-message-assistant/index.cjs +1 -1
- package/components/ai-chat-message-assistant/index.js +0 -1
- package/components/ai-chat-messages-container/index.cjs +1 -1
- package/components/ai-chat-messages-container/index.js +2 -2
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -2
- package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
- package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
- package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
- package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
- package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
- package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
- package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
- package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
- package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
- package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
- package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
- package/components/{calculate-data-item-icon-DjW1_RI1.cjs → calculate-data-item-icon-DtVGbet3.cjs} +1 -1
- package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
- package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
- package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
- package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
- package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
- package/components/color-Czp4Im5q.cjs +20 -0
- package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
- package/components/color-range-utils-DYYR-iwx.cjs +20 -0
- package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
- package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
- package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
- package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
- package/components/dataset-icon/index.cjs +1 -1
- package/components/dataset-icon/index.js +1 -2
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +32 -35
- package/components/dataset-selector-row/index.cjs +9 -9
- package/components/dataset-selector-row/index.js +51 -53
- package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
- package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
- package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
- package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
- package/components/display-settings/display-settings.d.ts +4 -2
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/display-settings-binning.d.ts +2 -1
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +29 -30
- package/components/display-settings-datetime/display-settings-datetime.d.ts +2 -1
- package/components/display-settings-datetime/index.cjs +29 -29
- package/components/display-settings-datetime/index.js +112 -120
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +2 -1
- package/components/display-settings-grand-totals/index.cjs +4 -4
- package/components/display-settings-grand-totals/index.js +23 -24
- package/components/display-settings-numeric/display-settings-numeric.d.ts +2 -1
- package/components/display-settings-numeric/index.cjs +48 -48
- package/components/display-settings-numeric/index.js +192 -209
- package/components/display-settings-period-over-period/index.cjs +16 -16
- package/components/display-settings-period-over-period/index.js +91 -97
- package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
- package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
- package/components/draggable-data-item/draggable-data-item.d.ts +5 -7
- package/components/draggable-data-item/index.cjs +16 -22
- package/components/draggable-data-item/index.d.ts +1 -0
- package/components/draggable-data-item/index.js +79 -87
- package/components/draggable-data-item/types.d.ts +22 -0
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +4 -6
- package/components/draggable-data-item-level/helpers/generate-preview.d.ts +9 -1
- package/components/draggable-data-item-level/index.cjs +13 -13
- package/components/draggable-data-item-level/index.js +85 -106
- package/components/draggable-data-item-level/types.d.ts +12 -0
- package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
- package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
- package/components/droppable-slot/droppable-slot.d.ts +4 -2
- package/components/droppable-slot/index.cjs +20 -20
- package/components/droppable-slot/index.d.ts +1 -0
- package/components/droppable-slot/index.js +239 -254
- package/components/droppable-slot/types.d.ts +9 -0
- package/components/edit-item/index.cjs +9 -9
- package/components/edit-item/index.js +116 -119
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +8 -8
- package/components/edit-option-action-button-group/index.js +52 -53
- package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
- package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +1 -1
- package/components/edit-option-color-range/index.cjs +19 -19
- package/components/edit-option-color-range/index.js +106 -117
- package/components/edit-option-multi-language-field/index.cjs +3 -3
- package/components/edit-option-multi-language-field/index.js +26 -27
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/index.cjs +5 -5
- package/components/edit-option-picker/index.js +7 -7
- package/components/edit-option-position-picker/index.cjs +4 -4
- package/components/edit-option-position-picker/index.js +21 -25
- package/components/edit-option-positions-number-field/index.cjs +9 -9
- package/components/edit-option-positions-number-field/index.js +76 -81
- package/components/edit-option-radio-button-group/index.cjs +6 -6
- package/components/edit-option-radio-button-group/index.js +21 -22
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +22 -23
- package/components/en-D3ihEGXg.js +1483 -0
- package/components/en-DZcn_iz_.cjs +20 -0
- package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
- package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
- package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
- package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
- package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
- package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +7 -7
- package/components/filter-data-item-picker/index.js +85 -86
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +6 -6
- package/components/filter-item/index.js +109 -119
- package/components/filter-value-picker/index.cjs +2 -2
- package/components/filter-value-picker/index.js +34 -36
- package/components/filter-value-picker-datetime/index.cjs +8 -8
- package/components/filter-value-picker-datetime/index.js +56 -71
- package/components/filter-value-picker-hierarchy/index.cjs +12 -12
- package/components/filter-value-picker-hierarchy/index.js +113 -124
- package/components/filter-value-picker-numeric/index.cjs +8 -8
- package/components/filter-value-picker-numeric/index.js +101 -110
- package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
- package/components/focusable-QLh-LlNt.cjs +20 -0
- package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
- package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
- package/components/get-css-variable-COd1d84B.cjs +24 -0
- package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-CdwF98oh.js} +35 -35
- package/components/grid/index.cjs +43 -49
- package/components/grid/index.js +2610 -1878
- package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
- package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
- package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
- package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
- package/components/helpers-9I0oLoUB.cjs +20 -0
- package/components/helpers-bR8Ibjqh.js +79 -0
- package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
- package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
- package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
- package/components/index-BekTY3Em.cjs +121 -0
- package/components/index-CFL6gmIu.cjs +20 -0
- package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
- package/components/index-DNPULp4A.js +1755 -0
- package/components/{index-PMDgRSzR.js → index-DdyZ2g5L.js} +94 -104
- package/components/index-DvkzMbLt.cjs +249 -0
- package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
- package/components/index.cjs +1 -1
- package/components/index.js +28 -26
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +37 -37
- package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
- package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
- package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
- package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
- package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
- package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
- package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
- package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
- package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
- package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
- package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
- package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
- package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
- package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
- package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
- package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
- package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
- package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
- package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
- package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
- package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
- package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
- package/components/{set-locale-B-Tz2sdI.js → set-locale-hKTMz37h.js} +7 -9
- package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
- package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
- package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
- package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +33 -33
- package/components/slot-contents-picker/index.js +194 -205
- package/components/slot-menu/index.cjs +12 -12
- package/components/slot-menu/index.d.ts +1 -0
- package/components/slot-menu/index.js +174 -192
- package/components/slot-menu/slot-menu.d.ts +7 -6
- package/components/slot-menu/types.d.ts +25 -0
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +97 -103
- package/components/slot-menu-list/slot-menu-list.d.ts +2 -1
- package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
- package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
- package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
- package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
- package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
- package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
- package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
- package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
- package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
- package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +131 -65
- package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
- package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
- package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
- package/custom-elements.json +143 -126
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +1 -1
- package/package.json +3 -3
- package/types.d.ts +9 -3
- package/utils/data/load-draggable-items-for-datasets.d.ts +24 -0
- package/utils/data-broker/index.d.ts +69 -66
- package/utils/data-item-types/calculate-data-item-icon.d.ts +8 -2
- package/utils/data-item-types/tests/calculate-data-item-icon.test.d.ts +1 -0
- package/utils/index.d.ts +2 -0
- package/utils/transformations/convert-data-item-to-slot-content.d.ts +9 -0
- package/utils/transformations/convert-datasets-to-draggable-items.d.ts +17 -0
- package/utils/transformations/tests/convert-data-item-to-slot-content.test.d.ts +1 -0
- package/utils/transformations/tests/convert-datasets-to-draggable-items.test.d.ts +1 -0
- package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
- package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
- package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
- package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
- package/components/calculate-data-item-icon-DZDqb3xu.js +0 -139
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
- package/components/color-B6LaL8qz.cjs +0 -20
- package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
- package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
- package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
- package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
- package/components/en-BKBhKBXY.cjs +0 -20
- package/components/en-BOTjhwEc.js +0 -1488
- package/components/focusable-B3E_hQmm.cjs +0 -20
- package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
- package/components/get-css-variable-DLiZYZEi.cjs +0 -24
- package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
- package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
- package/components/helpers-DXQwEH1P.cjs +0 -20
- package/components/helpers-v1bPALRP.js +0 -91
- package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
- package/components/index-BPN3bG9X.js +0 -1733
- package/components/index-CQ9ck-BO.cjs +0 -249
- package/components/index-CXn67vdn.cjs +0 -121
- package/components/index-cfj52IbK.cjs +0 -20
- package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
- package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
- package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
- package/components/route-map-options.config-D7NJePTu.cjs +0 -20
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
- package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
- package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
- package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
- package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
- package/utils/types/column.types.d.ts +0 -57
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { g as t, a as o, b as a, c as r } from "./helpers-
|
|
20
|
+
import { g as t, a as o, b as a, c as r } from "./helpers-bR8Ibjqh.js";
|
|
21
21
|
const i = [
|
|
22
22
|
{
|
|
23
23
|
key: "general",
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./helpers-
|
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./helpers-9I0oLoUB.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.ranges",control:{type:"switch",label:"Ranges",default:!0}},{key:"display.bulletSubtitles",control:{type:"switch",label:"Bullet subtitle",default:!1}},{key:"color",control:{type:"color-picker",label:"Bullet color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"color")}},{key:"sort.direction",control:{type:"picker",label:"Bullet order",default:"asc",enum:["asc","desc"]}}]}];exports.default=o;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
import { luzmoTypeArrayHierarchy as m, luzmoTypeArrayHierarchy14 as g, luzmoTypeArrayHierarchy12 as v, luzmoTypeArrayDatetime as i, luzmoTypeArrayDatetime14 as C, luzmoTypeArrayDatetime12 as b, luzmoTypeArrayCurrency as t, luzmoTypeArrayCurrency14 as N, luzmoTypeArrayCurrency12 as w, luzmoTypeArrayDuration as n, luzmoTypeArrayDuration14 as H, luzmoTypeArrayDuration12 as L, luzmoTypeArrayNumeric as p, luzmoTypeArrayNumeric14 as S, luzmoTypeArrayNumeric12 as E, luzmoTypeTopography as y, luzmoTypeCoordinates as s, luzmoTypeCoordinates14 as _, luzmoTypeCoordinates12 as B, luzmoTypeCurrency as a, luzmoTypeCurrency14 as F, luzmoTypeCurrency12 as j, luzmoTypeDuration as c, luzmoTypeDuration14 as k, luzmoTypeDuration12 as q, luzmoTypeNumeric as z, luzmoTypeNumeric14 as G, luzmoTypeNumeric12 as J, luzmoTypeDatetime as T, luzmoTypeDatetime14 as K, luzmoTypeDatetime12 as M, luzmoTypeDate as x, luzmoTypeDate14 as O, luzmoTypeDate12 as P, luzmoTypeIpAddress as h, luzmoTypeIpAddress14 as Q, luzmoTypeIpAddress12 as R, luzmoTypeImage as f, luzmoTypeImage14 as U, luzmoTypeImage12 as V, luzmoTypeHierarchy as D, luzmoTypeHierarchy14 as W, luzmoTypeHierarchy12 as X, luzmoFormula as u, luzmoTypeDerived as d, luzmoTypeDerived14 as Y, luzmoTypeDerived12 as Z } from "@luzmo/icons";
|
|
21
|
+
const l = {
|
|
22
|
+
"array[hierarchy]": {
|
|
23
|
+
s: v,
|
|
24
|
+
m: g,
|
|
25
|
+
l: m,
|
|
26
|
+
xl: m
|
|
27
|
+
},
|
|
28
|
+
"array[datetime]": {
|
|
29
|
+
s: b,
|
|
30
|
+
m: C,
|
|
31
|
+
l: i,
|
|
32
|
+
xl: i
|
|
33
|
+
},
|
|
34
|
+
"array[numeric]": {
|
|
35
|
+
s: E,
|
|
36
|
+
m: S,
|
|
37
|
+
l: p,
|
|
38
|
+
xl: p
|
|
39
|
+
},
|
|
40
|
+
"array[currency]": {
|
|
41
|
+
s: w,
|
|
42
|
+
m: N,
|
|
43
|
+
l: t,
|
|
44
|
+
xl: t
|
|
45
|
+
},
|
|
46
|
+
"array[duration]": {
|
|
47
|
+
s: L,
|
|
48
|
+
m: H,
|
|
49
|
+
l: n,
|
|
50
|
+
xl: n
|
|
51
|
+
},
|
|
52
|
+
coordinates: {
|
|
53
|
+
s: B,
|
|
54
|
+
m: _,
|
|
55
|
+
l: s,
|
|
56
|
+
xl: s
|
|
57
|
+
},
|
|
58
|
+
currency: {
|
|
59
|
+
s: j,
|
|
60
|
+
m: F,
|
|
61
|
+
l: a,
|
|
62
|
+
xl: a
|
|
63
|
+
},
|
|
64
|
+
date: {
|
|
65
|
+
s: P,
|
|
66
|
+
m: O,
|
|
67
|
+
l: x,
|
|
68
|
+
xl: x
|
|
69
|
+
},
|
|
70
|
+
datetime: {
|
|
71
|
+
s: M,
|
|
72
|
+
m: K,
|
|
73
|
+
l: T,
|
|
74
|
+
xl: T
|
|
75
|
+
},
|
|
76
|
+
derived: {
|
|
77
|
+
s: Z,
|
|
78
|
+
m: Y,
|
|
79
|
+
l: d,
|
|
80
|
+
xl: d
|
|
81
|
+
},
|
|
82
|
+
duration: {
|
|
83
|
+
s: q,
|
|
84
|
+
m: k,
|
|
85
|
+
l: c,
|
|
86
|
+
xl: c
|
|
87
|
+
},
|
|
88
|
+
hierarchy: {
|
|
89
|
+
s: X,
|
|
90
|
+
m: W,
|
|
91
|
+
l: D,
|
|
92
|
+
xl: D
|
|
93
|
+
},
|
|
94
|
+
image: {
|
|
95
|
+
s: V,
|
|
96
|
+
m: U,
|
|
97
|
+
l: f,
|
|
98
|
+
xl: f
|
|
99
|
+
},
|
|
100
|
+
numeric: {
|
|
101
|
+
s: J,
|
|
102
|
+
m: G,
|
|
103
|
+
l: z,
|
|
104
|
+
xl: z
|
|
105
|
+
},
|
|
106
|
+
topography: {
|
|
107
|
+
s: y,
|
|
108
|
+
m: y,
|
|
109
|
+
l: y,
|
|
110
|
+
xl: y
|
|
111
|
+
},
|
|
112
|
+
ipaddress: {
|
|
113
|
+
s: R,
|
|
114
|
+
m: Q,
|
|
115
|
+
l: h,
|
|
116
|
+
xl: h
|
|
117
|
+
},
|
|
118
|
+
formula: {
|
|
119
|
+
s: u,
|
|
120
|
+
m: u,
|
|
121
|
+
l: u,
|
|
122
|
+
xl: u
|
|
123
|
+
}
|
|
124
|
+
}, $ = {
|
|
125
|
+
xxs: "s",
|
|
126
|
+
xs: "s",
|
|
127
|
+
s: "s",
|
|
128
|
+
m: "m",
|
|
129
|
+
l: "l",
|
|
130
|
+
xl: "xl",
|
|
131
|
+
xxl: "xl"
|
|
132
|
+
}, A = (e) => e ? $[e] : "m", re = (e, o = "m") => {
|
|
133
|
+
const r = A(o);
|
|
134
|
+
return e?.type === "array[hierarchy]" ? l["array[hierarchy]"][r] : e?.type === "array[datetime]" ? l["array[datetime]"][r] : e?.type === "array[numeric]" ? e?.subtype === "currency" ? l["array[currency]"][r] : e?.subtype === "duration" ? l["array[duration]"][r] : l["array[numeric]"][r] : e?.type === "spatial" ? e?.subtype === "topography" ? l.topography[r] : l.coordinates[r] : e?.type === "numeric" ? e?.subtype === "currency" ? l.currency[r] : e?.subtype === "duration" ? l.duration[r] : l.numeric[r] : e?.type === "datetime" ? e?.lowestLevel && e?.lowestLevel > 5 && e?.lowestLevel <= 9 ? l.datetime[r] : e?.lowestLevel && e?.lowestLevel > 1 && e?.lowestLevel <= 5 ? l.date[r] : l.datetime[r] : e?.type === "hierarchy" && e?.subtype === "ip_address" ? l.ipaddress[r] : e?.type === "hierarchy" && e?.subtype === "hierarchy_element_expression" ? l.image[r] : l.hierarchy[r];
|
|
135
|
+
}, le = (e, o = "m") => {
|
|
136
|
+
if (!e)
|
|
137
|
+
return;
|
|
138
|
+
const r = A(o), I = typeof e.expression == "string" ? e.expression.trim().length > 0 : e.expression != null;
|
|
139
|
+
if (e.formulaId != null)
|
|
140
|
+
return l.formula[r];
|
|
141
|
+
if (e.formulaId == null && e.columnId != null && I)
|
|
142
|
+
return l.derived[r];
|
|
143
|
+
};
|
|
144
|
+
export {
|
|
145
|
+
le as a,
|
|
146
|
+
re as c
|
|
147
|
+
};
|
package/components/{calculate-data-item-icon-DjW1_RI1.cjs → calculate-data-item-icon-DtVGbet3.cjs}
RENAMED
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
"use strict";const e=require("@luzmo/icons"),
|
|
20
|
+
"use strict";const e=require("@luzmo/icons"),u={"array[hierarchy]":{s:e.luzmoTypeArrayHierarchy12,m:e.luzmoTypeArrayHierarchy14,l:e.luzmoTypeArrayHierarchy,xl:e.luzmoTypeArrayHierarchy},"array[datetime]":{s:e.luzmoTypeArrayDatetime12,m:e.luzmoTypeArrayDatetime14,l:e.luzmoTypeArrayDatetime,xl:e.luzmoTypeArrayDatetime},"array[numeric]":{s:e.luzmoTypeArrayNumeric12,m:e.luzmoTypeArrayNumeric14,l:e.luzmoTypeArrayNumeric,xl:e.luzmoTypeArrayNumeric},"array[currency]":{s:e.luzmoTypeArrayCurrency12,m:e.luzmoTypeArrayCurrency14,l:e.luzmoTypeArrayCurrency,xl:e.luzmoTypeArrayCurrency},"array[duration]":{s:e.luzmoTypeArrayDuration12,m:e.luzmoTypeArrayDuration14,l:e.luzmoTypeArrayDuration,xl:e.luzmoTypeArrayDuration},coordinates:{s:e.luzmoTypeCoordinates12,m:e.luzmoTypeCoordinates14,l:e.luzmoTypeCoordinates,xl:e.luzmoTypeCoordinates},currency:{s:e.luzmoTypeCurrency12,m:e.luzmoTypeCurrency14,l:e.luzmoTypeCurrency,xl:e.luzmoTypeCurrency},date:{s:e.luzmoTypeDate12,m:e.luzmoTypeDate14,l:e.luzmoTypeDate,xl:e.luzmoTypeDate},datetime:{s:e.luzmoTypeDatetime12,m:e.luzmoTypeDatetime14,l:e.luzmoTypeDatetime,xl:e.luzmoTypeDatetime},derived:{s:e.luzmoTypeDerived12,m:e.luzmoTypeDerived14,l:e.luzmoTypeDerived,xl:e.luzmoTypeDerived},duration:{s:e.luzmoTypeDuration12,m:e.luzmoTypeDuration14,l:e.luzmoTypeDuration,xl:e.luzmoTypeDuration},hierarchy:{s:e.luzmoTypeHierarchy12,m:e.luzmoTypeHierarchy14,l:e.luzmoTypeHierarchy,xl:e.luzmoTypeHierarchy},image:{s:e.luzmoTypeImage12,m:e.luzmoTypeImage14,l:e.luzmoTypeImage,xl:e.luzmoTypeImage},numeric:{s:e.luzmoTypeNumeric12,m:e.luzmoTypeNumeric14,l:e.luzmoTypeNumeric,xl:e.luzmoTypeNumeric},topography:{s:e.luzmoTypeTopography,m:e.luzmoTypeTopography,l:e.luzmoTypeTopography,xl:e.luzmoTypeTopography},ipaddress:{s:e.luzmoTypeIpAddress12,m:e.luzmoTypeIpAddress14,l:e.luzmoTypeIpAddress,xl:e.luzmoTypeIpAddress},formula:{s:e.luzmoFormula,m:e.luzmoFormula,l:e.luzmoFormula,xl:e.luzmoFormula}},i={xxs:"s",xs:"s",s:"s",m:"m",l:"l",xl:"xl",xxl:"xl"},o=r=>r?i[r]:"m",p=(r,y="m")=>{const l=o(y);return r?.type==="array[hierarchy]"?u["array[hierarchy]"][l]:r?.type==="array[datetime]"?u["array[datetime]"][l]:r?.type==="array[numeric]"?r?.subtype==="currency"?u["array[currency]"][l]:r?.subtype==="duration"?u["array[duration]"][l]:u["array[numeric]"][l]:r?.type==="spatial"?r?.subtype==="topography"?u.topography[l]:u.coordinates[l]:r?.type==="numeric"?r?.subtype==="currency"?u.currency[l]:r?.subtype==="duration"?u.duration[l]:u.numeric[l]:r?.type==="datetime"?r?.lowestLevel&&r?.lowestLevel>5&&r?.lowestLevel<=9?u.datetime[l]:r?.lowestLevel&&r?.lowestLevel>1&&r?.lowestLevel<=5?u.date[l]:u.datetime[l]:r?.type==="hierarchy"&&r?.subtype==="ip_address"?u.ipaddress[l]:r?.type==="hierarchy"&&r?.subtype==="hierarchy_element_expression"?u.image[l]:u.hierarchy[l]},t=(r,y="m")=>{if(!r)return;const l=o(y),m=typeof r.expression=="string"?r.expression.trim().length>0:r.expression!=null;if(r.formulaId!=null)return u.formula[l];if(r.formulaId==null&&r.columnId!=null&&m)return u.derived[l]};exports.calculateDataItemIcon=p;exports.calculateDataItemSecondaryIcon=t;
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { g as
|
|
21
|
-
import { m as
|
|
22
|
-
import { t as
|
|
23
|
-
const
|
|
20
|
+
import { g as t, a as p } from "./color-palettes-BqH2Fv19.js";
|
|
21
|
+
import { m as d } from "./index-t45_zv93.js";
|
|
22
|
+
import { t as n, c as o, a as r } from "./color-range-utils-BSfqtB3A.js";
|
|
23
|
+
const V = [
|
|
24
24
|
{
|
|
25
25
|
key: "general",
|
|
26
26
|
type: "group",
|
|
@@ -110,8 +110,8 @@ const O = [
|
|
|
110
110
|
"Voyager",
|
|
111
111
|
"3D buildings"
|
|
112
112
|
],
|
|
113
|
-
parseValue: (e) =>
|
|
114
|
-
toValue: (e) =>
|
|
113
|
+
parseValue: (e) => e?.name || "Basic",
|
|
114
|
+
toValue: (e) => d[e] ?? {}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
]
|
|
@@ -139,39 +139,32 @@ const O = [
|
|
|
139
139
|
label: "Colors type",
|
|
140
140
|
default: "sequential",
|
|
141
141
|
enum: ["sequential", "divergent", "manual"],
|
|
142
|
-
calculateValue: ({ options: e }) =>
|
|
143
|
-
var r;
|
|
144
|
-
if ((e == null ? void 0 : e.colorsClass) === "manual")
|
|
145
|
-
return "manual";
|
|
146
|
-
const a = n();
|
|
147
|
-
return ((r = a == null ? void 0 : a[e == null ? void 0 : e.colorsClass]) == null ? void 0 : r.type) ?? "sequential";
|
|
148
|
-
},
|
|
142
|
+
calculateValue: ({ options: e }) => e?.colorsClass === "manual" ? "manual" : t()?.[e?.colorsClass]?.type ?? "sequential",
|
|
149
143
|
toOptions: ({ options: e, value: a }) => {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
let s;
|
|
144
|
+
const l = e?.colorsClass ?? "PuBu", s = e?.numberClasses ?? 5, u = n(
|
|
145
|
+
e?.manualValues?.ranges
|
|
146
|
+
), y = l === "manual" ? "manual" : l;
|
|
147
|
+
let c;
|
|
155
148
|
if (a === "manual")
|
|
156
|
-
|
|
149
|
+
c = "manual";
|
|
157
150
|
else {
|
|
158
|
-
const
|
|
159
|
-
a !==
|
|
151
|
+
const g = t()?.[e?.colorsClass]?.type;
|
|
152
|
+
a !== g && (c = p(a ?? "sequential")[0]);
|
|
160
153
|
}
|
|
161
|
-
const
|
|
162
|
-
if (a === "manual" ||
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
a === "manual" ?
|
|
154
|
+
const i = { ...e, colorsClass: c };
|
|
155
|
+
if (a === "manual" || e?.classification === "manual") {
|
|
156
|
+
const m = o(
|
|
157
|
+
s,
|
|
158
|
+
a === "manual" ? y : c,
|
|
166
159
|
u
|
|
167
160
|
);
|
|
168
|
-
|
|
169
|
-
...
|
|
170
|
-
ranges:
|
|
161
|
+
i.manualValues = {
|
|
162
|
+
...i.manualValues,
|
|
163
|
+
ranges: r(m)
|
|
171
164
|
};
|
|
172
165
|
} else
|
|
173
|
-
|
|
174
|
-
return
|
|
166
|
+
delete i?.manualValues?.ranges;
|
|
167
|
+
return i;
|
|
175
168
|
}
|
|
176
169
|
}
|
|
177
170
|
},
|
|
@@ -182,32 +175,29 @@ const O = [
|
|
|
182
175
|
label: "Color palette",
|
|
183
176
|
hideLabel: !0,
|
|
184
177
|
default: ({ options: e }) => {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
return b(l ?? "sequential")[0];
|
|
178
|
+
const l = t()?.[e?.colorsClass]?.type;
|
|
179
|
+
return p(l ?? "sequential")[0];
|
|
188
180
|
},
|
|
189
181
|
enum: ({ options: e }) => {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
return b(l ?? "sequential");
|
|
182
|
+
const l = t()?.[e?.colorsClass]?.type;
|
|
183
|
+
return p(l ?? "sequential");
|
|
193
184
|
},
|
|
194
185
|
toOptions: ({ options: e, value: a }) => {
|
|
195
|
-
var r, u;
|
|
196
186
|
const l = { ...e, colorsClass: a };
|
|
197
|
-
if (
|
|
198
|
-
const
|
|
187
|
+
if (e?.classification === "manual") {
|
|
188
|
+
const s = t()[a]?.[`colors${e?.numberClasses ?? 5}`];
|
|
199
189
|
l.manualValues = {
|
|
200
190
|
...l.manualValues,
|
|
201
|
-
ranges:
|
|
202
|
-
...
|
|
203
|
-
color:
|
|
191
|
+
ranges: e?.manualValues?.ranges.map((u) => ({
|
|
192
|
+
...u,
|
|
193
|
+
color: s?.[u.val]
|
|
204
194
|
}))
|
|
205
195
|
};
|
|
206
196
|
}
|
|
207
197
|
return l;
|
|
208
198
|
}
|
|
209
199
|
},
|
|
210
|
-
visibleIf: ({ options: e }) =>
|
|
200
|
+
visibleIf: ({ options: e }) => e?.colorsClass !== "manual"
|
|
211
201
|
},
|
|
212
202
|
{
|
|
213
203
|
key: "manualValues.ranges",
|
|
@@ -220,22 +210,19 @@ const O = [
|
|
|
220
210
|
label: "Manual range colors",
|
|
221
211
|
hideLabel: !0
|
|
222
212
|
},
|
|
223
|
-
calculateValue: ({ options: e }) =>
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
y((a = e == null ? void 0 : e.manualValues) == null ? void 0 : a.ranges)
|
|
229
|
-
);
|
|
230
|
-
},
|
|
213
|
+
calculateValue: ({ options: e }) => o(
|
|
214
|
+
e?.numberClasses,
|
|
215
|
+
e?.colorsClass,
|
|
216
|
+
n(e?.manualValues?.ranges)
|
|
217
|
+
),
|
|
231
218
|
toOptions: ({ options: e, value: a }) => ({
|
|
232
219
|
...e,
|
|
233
220
|
manualValues: {
|
|
234
221
|
...e.manualValues,
|
|
235
|
-
ranges:
|
|
222
|
+
ranges: r(a)
|
|
236
223
|
}
|
|
237
224
|
}),
|
|
238
|
-
visibleIf: ({ options: e }) =>
|
|
225
|
+
visibleIf: ({ options: e }) => e?.colorsClass === "manual"
|
|
239
226
|
}
|
|
240
227
|
]
|
|
241
228
|
},
|
|
@@ -251,20 +238,19 @@ const O = [
|
|
|
251
238
|
label: "Number of classes",
|
|
252
239
|
default: "5",
|
|
253
240
|
enum: ["3", "4", "5", "6", "7", "8", "9"],
|
|
254
|
-
parseValue: (e) =>
|
|
241
|
+
parseValue: (e) => e?.toString() ?? "5",
|
|
255
242
|
toOptions: ({ options: e, value: a }) => {
|
|
256
|
-
var r;
|
|
257
243
|
a = Number.parseInt(a, 10) ?? 5;
|
|
258
244
|
const l = { ...e, numberClasses: a };
|
|
259
|
-
if (
|
|
260
|
-
const
|
|
245
|
+
if (e?.classification === "manual" || e?.colorsClass === "manual") {
|
|
246
|
+
const s = o(
|
|
261
247
|
a,
|
|
262
|
-
e
|
|
263
|
-
|
|
248
|
+
e?.colorsClass,
|
|
249
|
+
n(e?.manualValues?.ranges)
|
|
264
250
|
);
|
|
265
251
|
l.manualValues = {
|
|
266
252
|
...l.manualValues,
|
|
267
|
-
ranges:
|
|
253
|
+
ranges: r(s)
|
|
268
254
|
};
|
|
269
255
|
}
|
|
270
256
|
return l;
|
|
@@ -280,20 +266,19 @@ const O = [
|
|
|
280
266
|
// TODO: add manual when being able to retrieve values from the choropleth map
|
|
281
267
|
enum: ["interval", "manual", "quantile", "continuous"],
|
|
282
268
|
toOptions: ({ options: e, value: a }) => {
|
|
283
|
-
var r, u;
|
|
284
269
|
const l = { ...e, classification: a };
|
|
285
|
-
if (a === "manual" ||
|
|
286
|
-
const
|
|
287
|
-
e
|
|
288
|
-
e
|
|
289
|
-
|
|
270
|
+
if (a === "manual" || e?.colorsClass === "manual") {
|
|
271
|
+
const s = o(
|
|
272
|
+
e?.numberClasses,
|
|
273
|
+
e?.colorsClass,
|
|
274
|
+
n(e?.manualValues?.ranges)
|
|
290
275
|
);
|
|
291
276
|
l.manualValues = {
|
|
292
277
|
...l.manualValues,
|
|
293
|
-
ranges:
|
|
278
|
+
ranges: r(s)
|
|
294
279
|
};
|
|
295
280
|
} else
|
|
296
|
-
|
|
281
|
+
delete l?.manualValues?.ranges;
|
|
297
282
|
return l;
|
|
298
283
|
}
|
|
299
284
|
}
|
|
@@ -308,23 +293,20 @@ const O = [
|
|
|
308
293
|
readOnlyColorPicker: !0,
|
|
309
294
|
label: "Manual range values",
|
|
310
295
|
hideLabel: !0,
|
|
311
|
-
calculateValue: ({ options: e }) =>
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
y((a = e == null ? void 0 : e.manualValues) == null ? void 0 : a.ranges)
|
|
317
|
-
);
|
|
318
|
-
},
|
|
296
|
+
calculateValue: ({ options: e }) => o(
|
|
297
|
+
e?.numberClasses,
|
|
298
|
+
e?.colorsClass,
|
|
299
|
+
n(e?.manualValues?.ranges)
|
|
300
|
+
),
|
|
319
301
|
toOptions: ({ options: e, value: a }) => ({
|
|
320
302
|
...e,
|
|
321
303
|
manualValues: {
|
|
322
304
|
...e.manualValues,
|
|
323
|
-
ranges:
|
|
305
|
+
ranges: r(a)
|
|
324
306
|
}
|
|
325
307
|
})
|
|
326
308
|
},
|
|
327
|
-
visibleIf: ({ options: e }) =>
|
|
309
|
+
visibleIf: ({ options: e }) => e?.classification === "manual"
|
|
328
310
|
}
|
|
329
311
|
]
|
|
330
312
|
},
|
|
@@ -370,12 +352,9 @@ const O = [
|
|
|
370
352
|
}
|
|
371
353
|
}
|
|
372
354
|
],
|
|
373
|
-
visibleIf: ({ options: e }) =>
|
|
374
|
-
var a;
|
|
375
|
-
return ((a = e == null ? void 0 : e.display) == null ? void 0 : a.legend) === !0;
|
|
376
|
-
}
|
|
355
|
+
visibleIf: ({ options: e }) => e?.display?.legend === !0
|
|
377
356
|
}
|
|
378
357
|
];
|
|
379
358
|
export {
|
|
380
|
-
|
|
359
|
+
V as default
|
|
381
360
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./color-palettes-DhNHcib8.cjs"),g=require("./index-DhDgy1sp.cjs"),s=require("./color-range-utils-DYYR-iwx.cjs"),m=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0}}]},{key:"map",type:"group",open:!0,children:[{key:"enabled.zoom",control:{type:"switch",label:"Zoom",default:!0}},{key:"enabled.pan",control:{type:"switch",label:"Pan",default:!0}},{key:"enabled.pitchBearing",control:{type:"switch",label:"Pitch & Rotate",tooltip:"Use ctrl + drag",default:!1}},{type:"divider"},{key:"vectorTileProvider",control:{type:"picker",label:"Map style",default:"Basic",enum:["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets","Toner","Topographique","Voyager","3D buildings"],parseValue:e=>e?.name||"Basic",toValue:e=>g.mapVectorTileProviders[e]??{}}}]},{key:"colors",type:"group",open:!0,children:[{key:"opacity",control:{type:"slider",label:"Opacity",default:.85,min:.2,max:1,step:.01}},{key:"colorsClassType",control:{type:"picker",label:"Colors type",default:"sequential",enum:["sequential","divergent","manual"],calculateValue:({options:e})=>e?.colorsClass==="manual"?"manual":t.getColorMaps()?.[e?.colorsClass]?.type??"sequential",toOptions:({options:e,value:a})=>{const l=e?.colorsClass??"PuBu",n=e?.numberClasses??5,o=s.toRangesWithValue(e?.manualValues?.ranges),i=l==="manual"?"manual":l;let r;if(a==="manual")r="manual";else{const p=t.getColorMaps()?.[e?.colorsClass]?.type;a!==p&&(r=t.getColorMapKeys(a??"sequential")[0])}const u={...e,colorsClass:r};if(a==="manual"||e?.classification==="manual"){const c=s.calculateManualRanges(n,a==="manual"?i:r,o);u.manualValues={...u.manualValues,ranges:s.toRangesWithVal(c)}}else delete u?.manualValues?.ranges;return u}}},{key:"colorsClass",control:{type:"color-palette-picker",label:"Color palette",hideLabel:!0,default:({options:e})=>{const l=t.getColorMaps()?.[e?.colorsClass]?.type;return t.getColorMapKeys(l??"sequential")[0]},enum:({options:e})=>{const l=t.getColorMaps()?.[e?.colorsClass]?.type;return t.getColorMapKeys(l??"sequential")},toOptions:({options:e,value:a})=>{const l={...e,colorsClass:a};if(e?.classification==="manual"){const n=t.getColorMaps()[a]?.[`colors${e?.numberClasses??5}`];l.manualValues={...l.manualValues,ranges:e?.manualValues?.ranges.map(o=>({...o,color:n?.[o.val]}))}}return l}},visibleIf:({options:e})=>e?.colorsClass!=="manual"},{key:"manualValues.ranges",control:{type:"color-range",editRangeSize:!1,debounce:500,noValues:!0,noAlphaChannel:!0,label:"Manual range colors",hideLabel:!0},calculateValue:({options:e})=>s.calculateManualRanges(e?.numberClasses,e?.colorsClass,s.toRangesWithValue(e?.manualValues?.ranges)),toOptions:({options:e,value:a})=>({...e,manualValues:{...e.manualValues,ranges:s.toRangesWithVal(a)}}),visibleIf:({options:e})=>e?.colorsClass==="manual"}]},{key:"classification",type:"group",open:!0,children:[{key:"numberClasses",control:{type:"picker",label:"Number of classes",default:"5",enum:["3","4","5","6","7","8","9"],parseValue:e=>e?.toString()??"5",toOptions:({options:e,value:a})=>{a=Number.parseInt(a,10)??5;const l={...e,numberClasses:a};if(e?.classification==="manual"||e?.colorsClass==="manual"){const n=s.calculateManualRanges(a,e?.colorsClass,s.toRangesWithValue(e?.manualValues?.ranges));l.manualValues={...l.manualValues,ranges:s.toRangesWithVal(n)}}return l}}},{key:"classification",control:{type:"picker",label:"Method",default:"interval",enum:["interval","manual","quantile","continuous"],toOptions:({options:e,value:a})=>{const l={...e,classification:a};if(a==="manual"||e?.colorsClass==="manual"){const n=s.calculateManualRanges(e?.numberClasses,e?.colorsClass,s.toRangesWithValue(e?.manualValues?.ranges));l.manualValues={...l.manualValues,ranges:s.toRangesWithVal(n)}}else delete l?.manualValues?.ranges;return l}}},{key:"manualValues.rangesValues",control:{type:"color-range",editRangeSize:!1,debounce:500,noValues:!1,readOnlyColorPicker:!0,label:"Manual range values",hideLabel:!0,calculateValue:({options:e})=>s.calculateManualRanges(e?.numberClasses,e?.colorsClass,s.toRangesWithValue(e?.manualValues?.ranges)),toOptions:({options:e,value:a})=>({...e,manualValues:{...e.manualValues,ranges:s.toRangesWithVal(a)}})},visibleIf:({options:e})=>e?.classification==="manual"}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.type",control:{type:"picker",label:"Type",default:"bar",enum:["bar","list"]}},{key:"legend.size",control:{type:"radio-button-group",label:"Size",default:"M",enum:["S","M","L"]}},{key:"legend.position",control:{type:"position-picker",label:"Position",default:"bottomLeft",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:({options:e})=>e?.display?.legend===!0}];exports.default=m;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./helpers-9I0oLoUB.cjs"),t=()=>[{color:"#ff0000",value:0},{color:"#ffa500",value:33.34},{color:"#ffff00",value:66.67},{color:"#008000",value:100}],o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.gaugeValue",control:{type:"switch",label:"Value",default:!0}},{key:"mode",control:{type:"picker",label:"Display",default:"normal",enum:["normal","percentage","difference"]}},{key:"display.gaugeLabel",control:{type:"switch",label:"Label",default:!0}},{type:"divider"},{key:"conditionalColor",control:{type:"switch",label:"Conditional color",default:!1,calculateValue:({options:e})=>e?.manualValues?.conditional?.length>0,toOptions:({options:e,value:l})=>{const r={...e},c=e?.manualValues?.conditional?.length>0;return l?c||(r.manualValues={...r?.manualValues,conditional:t()}):delete r?.manualValues?.conditional,r}}},{key:"circle.color",control:{type:"color-picker",label:"Arc color",default:({theme:e})=>a.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>a.getThemeMainColorResetLabel(e,l,"circle.color"),extraLabelHasClickAction:({options:e,theme:l})=>a.getThemeMainColorExtraLabelHasClickAction(e,l,"circle.color"),extraLabelClickAction:({options:e,theme:l})=>a.getThemeMainColorExtraLabelClickAction(e,l,"circle.color")},visibleIf:({options:e})=>!e?.manualValues?.conditional||e?.manualValues?.conditional?.length===0},{key:"manualValues.conditional",control:{type:"color-range",editRangeSize:!0,minimumRangeSize:2,percentage:!0,noAlphaChannel:!0,label:"Color ranges",hideLabel:!0,default:()=>t(),parseValue:e=>e?.map(l=>({color:l?.color,value:l?.value??l?.val})),toValue:e=>e?.map(r=>({color:r?.color,val:r?.value}))},visibleIf:({options:e})=>e?.manualValues?.conditional?.length>0},{key:"circle.width",control:{type:"slider",label:"Arc width",default:10,min:1,max:30,step:1}}]},{key:"layout",type:"group",open:!0,children:[{key:"circle.degrees",control:{type:"picker",label:"Arc size",default:"full circle",enum:["full circle","3/4 circle","2/3 circle","1/2 circle"],parseValue:e=>e===360?"full circle":e===270?"3/4 circle":e===240?"2/3 circle":e===180?"1/2 circle":"full circle",toValue:e=>e==="full circle"?360:e==="3/4 circle"?270:e==="2/3 circle"?240:e==="1/2 circle"?180:360}},{key:"circle.flip",control:{type:"switch",label:"Flip arc",default:!0},visibleIf:({options:e})=>e?.circle?.degrees&&e?.circle?.degrees!==360},{key:"circle.lineCap",control:{type:"switch",label:"Rounded ends",default:!0,parseValue:e=>e!=="butt",toValue:e=>e?"round":"butt"}}]}];exports.default=o;
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { g as
|
|
21
|
-
const
|
|
20
|
+
import { g as c, a as o, b as i, c as n } from "./helpers-bR8Ibjqh.js";
|
|
21
|
+
const r = () => [
|
|
22
22
|
{ color: "#ff0000", value: 0 },
|
|
23
23
|
{ color: "#ffa500", value: 33.34 },
|
|
24
24
|
{ color: "#ffff00", value: 66.67 },
|
|
25
25
|
{ color: "#008000", value: 100 }
|
|
26
|
-
],
|
|
26
|
+
], s = [
|
|
27
27
|
{
|
|
28
28
|
key: "general",
|
|
29
29
|
type: "group",
|
|
@@ -71,17 +71,13 @@ const i = () => [
|
|
|
71
71
|
type: "switch",
|
|
72
72
|
label: "Conditional color",
|
|
73
73
|
default: !1,
|
|
74
|
-
calculateValue: ({ options: e }) =>
|
|
75
|
-
var l, r;
|
|
76
|
-
return ((r = (l = e == null ? void 0 : e.manualValues) == null ? void 0 : l.conditional) == null ? void 0 : r.length) > 0;
|
|
77
|
-
},
|
|
74
|
+
calculateValue: ({ options: e }) => e?.manualValues?.conditional?.length > 0,
|
|
78
75
|
toOptions: ({ options: e, value: l }) => {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}) : (u = r == null ? void 0 : r.manualValues) == null || delete u.conditional, r;
|
|
76
|
+
const a = { ...e }, t = e?.manualValues?.conditional?.length > 0;
|
|
77
|
+
return l ? t || (a.manualValues = {
|
|
78
|
+
...a?.manualValues,
|
|
79
|
+
conditional: r()
|
|
80
|
+
}) : delete a?.manualValues?.conditional, a;
|
|
85
81
|
}
|
|
86
82
|
}
|
|
87
83
|
},
|
|
@@ -90,23 +86,20 @@ const i = () => [
|
|
|
90
86
|
control: {
|
|
91
87
|
type: "color-picker",
|
|
92
88
|
label: "Arc color",
|
|
93
|
-
default: ({ theme: e }) =>
|
|
94
|
-
extraLabel: ({ options: e, theme: l }) =>
|
|
89
|
+
default: ({ theme: e }) => n(e),
|
|
90
|
+
extraLabel: ({ options: e, theme: l }) => i(e, l, "circle.color"),
|
|
95
91
|
extraLabelHasClickAction: ({ options: e, theme: l }) => o(
|
|
96
92
|
e,
|
|
97
93
|
l,
|
|
98
94
|
"circle.color"
|
|
99
95
|
),
|
|
100
|
-
extraLabelClickAction: ({ options: e, theme: l }) =>
|
|
96
|
+
extraLabelClickAction: ({ options: e, theme: l }) => c(
|
|
101
97
|
e,
|
|
102
98
|
l,
|
|
103
99
|
"circle.color"
|
|
104
100
|
)
|
|
105
101
|
},
|
|
106
|
-
visibleIf: ({ options: e }) =>
|
|
107
|
-
var l, r, a;
|
|
108
|
-
return !((l = e == null ? void 0 : e.manualValues) != null && l.conditional) || ((a = (r = e == null ? void 0 : e.manualValues) == null ? void 0 : r.conditional) == null ? void 0 : a.length) === 0;
|
|
109
|
-
}
|
|
102
|
+
visibleIf: ({ options: e }) => !e?.manualValues?.conditional || e?.manualValues?.conditional?.length === 0
|
|
110
103
|
},
|
|
111
104
|
{
|
|
112
105
|
key: "manualValues.conditional",
|
|
@@ -118,20 +111,17 @@ const i = () => [
|
|
|
118
111
|
noAlphaChannel: !0,
|
|
119
112
|
label: "Color ranges",
|
|
120
113
|
hideLabel: !0,
|
|
121
|
-
default: () =>
|
|
122
|
-
parseValue: (e) => e
|
|
123
|
-
color: l
|
|
124
|
-
value:
|
|
114
|
+
default: () => r(),
|
|
115
|
+
parseValue: (e) => e?.map((l) => ({
|
|
116
|
+
color: l?.color,
|
|
117
|
+
value: l?.value ?? l?.val
|
|
125
118
|
})),
|
|
126
|
-
toValue: (e) => e
|
|
127
|
-
color:
|
|
128
|
-
val:
|
|
119
|
+
toValue: (e) => e?.map((a) => ({
|
|
120
|
+
color: a?.color,
|
|
121
|
+
val: a?.value
|
|
129
122
|
}))
|
|
130
123
|
},
|
|
131
|
-
visibleIf: ({ options: e }) =>
|
|
132
|
-
var l, r;
|
|
133
|
-
return ((r = (l = e == null ? void 0 : e.manualValues) == null ? void 0 : l.conditional) == null ? void 0 : r.length) > 0;
|
|
134
|
-
}
|
|
124
|
+
visibleIf: ({ options: e }) => e?.manualValues?.conditional?.length > 0
|
|
135
125
|
},
|
|
136
126
|
{
|
|
137
127
|
key: "circle.width",
|
|
@@ -169,10 +159,7 @@ const i = () => [
|
|
|
169
159
|
label: "Flip arc",
|
|
170
160
|
default: !0
|
|
171
161
|
},
|
|
172
|
-
visibleIf: ({ options: e }) =>
|
|
173
|
-
var l, r;
|
|
174
|
-
return ((l = e == null ? void 0 : e.circle) == null ? void 0 : l.degrees) && ((r = e == null ? void 0 : e.circle) == null ? void 0 : r.degrees) !== 360;
|
|
175
|
-
}
|
|
162
|
+
visibleIf: ({ options: e }) => e?.circle?.degrees && e?.circle?.degrees !== 360
|
|
176
163
|
},
|
|
177
164
|
{
|
|
178
165
|
key: "circle.lineCap",
|
|
@@ -188,5 +175,5 @@ const i = () => [
|
|
|
188
175
|
}
|
|
189
176
|
];
|
|
190
177
|
export {
|
|
191
|
-
|
|
178
|
+
s as default
|
|
192
179
|
};
|