@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
package/custom-elements.json
CHANGED
|
@@ -1258,7 +1258,7 @@
|
|
|
1258
1258
|
"kind": "field",
|
|
1259
1259
|
"name": "slotContent",
|
|
1260
1260
|
"type": {
|
|
1261
|
-
"text": "
|
|
1261
|
+
"text": "GenericSlotContent"
|
|
1262
1262
|
},
|
|
1263
1263
|
"default": "{}",
|
|
1264
1264
|
"attribute": "slotContent"
|
|
@@ -1267,7 +1267,7 @@
|
|
|
1267
1267
|
"kind": "field",
|
|
1268
1268
|
"name": "measureColumns",
|
|
1269
1269
|
"type": {
|
|
1270
|
-
"text": "
|
|
1270
|
+
"text": "MeasureColumnsItem[]"
|
|
1271
1271
|
},
|
|
1272
1272
|
"default": "[]",
|
|
1273
1273
|
"description": "The list of columns that can be used for the rate aggregation",
|
|
@@ -1384,7 +1384,7 @@
|
|
|
1384
1384
|
{
|
|
1385
1385
|
"name": "slotContent",
|
|
1386
1386
|
"type": {
|
|
1387
|
-
"text": "
|
|
1387
|
+
"text": "GenericSlotContent"
|
|
1388
1388
|
},
|
|
1389
1389
|
"default": "{}",
|
|
1390
1390
|
"fieldName": "slotContent"
|
|
@@ -1392,7 +1392,7 @@
|
|
|
1392
1392
|
{
|
|
1393
1393
|
"name": "measureColumns",
|
|
1394
1394
|
"type": {
|
|
1395
|
-
"text": "
|
|
1395
|
+
"text": "MeasureColumnsItem[]"
|
|
1396
1396
|
},
|
|
1397
1397
|
"default": "[]",
|
|
1398
1398
|
"description": "The list of columns that can be used for the rate aggregation",
|
|
@@ -1457,7 +1457,7 @@
|
|
|
1457
1457
|
"kind": "field",
|
|
1458
1458
|
"name": "slotContent",
|
|
1459
1459
|
"type": {
|
|
1460
|
-
"text": "
|
|
1460
|
+
"text": "GenericSlotContent"
|
|
1461
1461
|
},
|
|
1462
1462
|
"default": "{}",
|
|
1463
1463
|
"attribute": "slotContent"
|
|
@@ -1485,7 +1485,7 @@
|
|
|
1485
1485
|
{
|
|
1486
1486
|
"name": "slotContent",
|
|
1487
1487
|
"type": {
|
|
1488
|
-
"text": "
|
|
1488
|
+
"text": "GenericSlotContent"
|
|
1489
1489
|
},
|
|
1490
1490
|
"default": "{}",
|
|
1491
1491
|
"fieldName": "slotContent"
|
|
@@ -1561,7 +1561,7 @@
|
|
|
1561
1561
|
"kind": "field",
|
|
1562
1562
|
"name": "slotContent",
|
|
1563
1563
|
"type": {
|
|
1564
|
-
"text": "
|
|
1564
|
+
"text": "GenericSlotContent"
|
|
1565
1565
|
},
|
|
1566
1566
|
"default": "{}",
|
|
1567
1567
|
"attribute": "slotContent"
|
|
@@ -1603,7 +1603,7 @@
|
|
|
1603
1603
|
{
|
|
1604
1604
|
"name": "slotContent",
|
|
1605
1605
|
"type": {
|
|
1606
|
-
"text": "
|
|
1606
|
+
"text": "GenericSlotContent"
|
|
1607
1607
|
},
|
|
1608
1608
|
"default": "{}",
|
|
1609
1609
|
"fieldName": "slotContent"
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
"kind": "field",
|
|
1662
1662
|
"name": "slotContent",
|
|
1663
1663
|
"type": {
|
|
1664
|
-
"text": "
|
|
1664
|
+
"text": "GenericSlotContent"
|
|
1665
1665
|
},
|
|
1666
1666
|
"default": "{}",
|
|
1667
1667
|
"description": "The slotContent that is passed to the settings",
|
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
{
|
|
1691
1691
|
"name": "slotContent",
|
|
1692
1692
|
"type": {
|
|
1693
|
-
"text": "
|
|
1693
|
+
"text": "GenericSlotContent"
|
|
1694
1694
|
},
|
|
1695
1695
|
"default": "{}",
|
|
1696
1696
|
"description": "The slotContent that is passed to the settings",
|
|
@@ -1760,7 +1760,7 @@
|
|
|
1760
1760
|
"kind": "field",
|
|
1761
1761
|
"name": "measureColumns",
|
|
1762
1762
|
"type": {
|
|
1763
|
-
"text": "
|
|
1763
|
+
"text": "MeasureColumnsItem[]"
|
|
1764
1764
|
},
|
|
1765
1765
|
"default": "[]",
|
|
1766
1766
|
"description": "The list of measure columns grouped by dataset that can be used for the rate aggregation.\nShape: [{ datasetId, datasetName, columns: Column[] }]",
|
|
@@ -1813,7 +1813,7 @@
|
|
|
1813
1813
|
{
|
|
1814
1814
|
"name": "measureColumns",
|
|
1815
1815
|
"type": {
|
|
1816
|
-
"text": "
|
|
1816
|
+
"text": "MeasureColumnsItem[]"
|
|
1817
1817
|
},
|
|
1818
1818
|
"default": "[]",
|
|
1819
1819
|
"description": "The list of measure columns grouped by dataset that can be used for the rate aggregation.\nShape: [{ datasetId, datasetName, columns: Column[] }]",
|
|
@@ -2150,8 +2150,9 @@
|
|
|
2150
2150
|
"kind": "field",
|
|
2151
2151
|
"name": "variant",
|
|
2152
2152
|
"type": {
|
|
2153
|
-
"text": "'highlight' | 'normal'
|
|
2153
|
+
"text": "'highlight' | 'normal'"
|
|
2154
2154
|
},
|
|
2155
|
+
"default": "'normal'",
|
|
2155
2156
|
"attribute": "variant",
|
|
2156
2157
|
"reflects": true
|
|
2157
2158
|
},
|
|
@@ -2192,38 +2193,11 @@
|
|
|
2192
2193
|
"attribute": "hide-type-icon",
|
|
2193
2194
|
"reflects": true
|
|
2194
2195
|
},
|
|
2195
|
-
{
|
|
2196
|
-
"kind": "field",
|
|
2197
|
-
"name": "secondaryIconType",
|
|
2198
|
-
"type": {
|
|
2199
|
-
"text": "'derived' | 'formula' | undefined"
|
|
2200
|
-
},
|
|
2201
|
-
"attribute": "secondary-icon-type",
|
|
2202
|
-
"reflects": true
|
|
2203
|
-
},
|
|
2204
|
-
{
|
|
2205
|
-
"kind": "field",
|
|
2206
|
-
"name": "label",
|
|
2207
|
-
"type": {
|
|
2208
|
-
"text": "string"
|
|
2209
|
-
},
|
|
2210
|
-
"attribute": "label",
|
|
2211
|
-
"reflects": true
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
"kind": "field",
|
|
2215
|
-
"name": "description",
|
|
2216
|
-
"type": {
|
|
2217
|
-
"text": "string"
|
|
2218
|
-
},
|
|
2219
|
-
"attribute": "description",
|
|
2220
|
-
"reflects": true
|
|
2221
|
-
},
|
|
2222
2196
|
{
|
|
2223
2197
|
"kind": "field",
|
|
2224
2198
|
"name": "data",
|
|
2225
2199
|
"type": {
|
|
2226
|
-
"text": "
|
|
2200
|
+
"text": "DraggableDataItemData"
|
|
2227
2201
|
},
|
|
2228
2202
|
"default": "{}",
|
|
2229
2203
|
"attribute": "data"
|
|
@@ -2231,10 +2205,16 @@
|
|
|
2231
2205
|
],
|
|
2232
2206
|
"events": [
|
|
2233
2207
|
{
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "CustomEvent<{data: DraggableDataItemData}>"
|
|
2210
|
+
},
|
|
2234
2211
|
"description": "Announces that the draggable data item has been dropped",
|
|
2235
2212
|
"name": "data-item-dropped"
|
|
2236
2213
|
},
|
|
2237
2214
|
{
|
|
2215
|
+
"type": {
|
|
2216
|
+
"text": "CustomEvent<{data: DraggableDataItemData}>"
|
|
2217
|
+
},
|
|
2238
2218
|
"description": "Announces that the drag is started on the data item",
|
|
2239
2219
|
"name": "data-item-drag-started"
|
|
2240
2220
|
}
|
|
@@ -2243,8 +2223,9 @@
|
|
|
2243
2223
|
{
|
|
2244
2224
|
"name": "variant",
|
|
2245
2225
|
"type": {
|
|
2246
|
-
"text": "'highlight' | 'normal'
|
|
2226
|
+
"text": "'highlight' | 'normal'"
|
|
2247
2227
|
},
|
|
2228
|
+
"default": "'normal'",
|
|
2248
2229
|
"fieldName": "variant"
|
|
2249
2230
|
},
|
|
2250
2231
|
{
|
|
@@ -2276,31 +2257,10 @@
|
|
|
2276
2257
|
},
|
|
2277
2258
|
"fieldName": "hideTypeIcon"
|
|
2278
2259
|
},
|
|
2279
|
-
{
|
|
2280
|
-
"name": "secondary-icon-type",
|
|
2281
|
-
"type": {
|
|
2282
|
-
"text": "'derived' | 'formula' | undefined"
|
|
2283
|
-
},
|
|
2284
|
-
"fieldName": "secondaryIconType"
|
|
2285
|
-
},
|
|
2286
|
-
{
|
|
2287
|
-
"name": "label",
|
|
2288
|
-
"type": {
|
|
2289
|
-
"text": "string"
|
|
2290
|
-
},
|
|
2291
|
-
"fieldName": "label"
|
|
2292
|
-
},
|
|
2293
|
-
{
|
|
2294
|
-
"name": "description",
|
|
2295
|
-
"type": {
|
|
2296
|
-
"text": "string"
|
|
2297
|
-
},
|
|
2298
|
-
"fieldName": "description"
|
|
2299
|
-
},
|
|
2300
2260
|
{
|
|
2301
2261
|
"name": "data",
|
|
2302
2262
|
"type": {
|
|
2303
|
-
"text": "
|
|
2263
|
+
"text": "DraggableDataItemData"
|
|
2304
2264
|
},
|
|
2305
2265
|
"default": "{}",
|
|
2306
2266
|
"fieldName": "data"
|
|
@@ -2334,6 +2294,12 @@
|
|
|
2334
2294
|
}
|
|
2335
2295
|
]
|
|
2336
2296
|
},
|
|
2297
|
+
{
|
|
2298
|
+
"kind": "javascript-module",
|
|
2299
|
+
"path": "src/components/draggable-data-item/types.ts",
|
|
2300
|
+
"declarations": [],
|
|
2301
|
+
"exports": []
|
|
2302
|
+
},
|
|
2337
2303
|
{
|
|
2338
2304
|
"kind": "javascript-module",
|
|
2339
2305
|
"path": "src/components/draggable-data-item-level/draggable-data-item-level.ts",
|
|
@@ -2389,38 +2355,11 @@
|
|
|
2389
2355
|
"attribute": "disabled",
|
|
2390
2356
|
"reflects": true
|
|
2391
2357
|
},
|
|
2392
|
-
{
|
|
2393
|
-
"kind": "field",
|
|
2394
|
-
"name": "label",
|
|
2395
|
-
"type": {
|
|
2396
|
-
"text": "string"
|
|
2397
|
-
},
|
|
2398
|
-
"attribute": "label",
|
|
2399
|
-
"reflects": true
|
|
2400
|
-
},
|
|
2401
|
-
{
|
|
2402
|
-
"kind": "field",
|
|
2403
|
-
"name": "description",
|
|
2404
|
-
"type": {
|
|
2405
|
-
"text": "string"
|
|
2406
|
-
},
|
|
2407
|
-
"attribute": "description",
|
|
2408
|
-
"reflects": true
|
|
2409
|
-
},
|
|
2410
|
-
{
|
|
2411
|
-
"kind": "field",
|
|
2412
|
-
"name": "secondaryIconType",
|
|
2413
|
-
"type": {
|
|
2414
|
-
"text": "'derived' | 'formula' | undefined"
|
|
2415
|
-
},
|
|
2416
|
-
"attribute": "secondary-icon-type",
|
|
2417
|
-
"reflects": true
|
|
2418
|
-
},
|
|
2419
2358
|
{
|
|
2420
2359
|
"kind": "field",
|
|
2421
2360
|
"name": "data",
|
|
2422
2361
|
"type": {
|
|
2423
|
-
"text": "
|
|
2362
|
+
"text": "DraggableDataItemData"
|
|
2424
2363
|
},
|
|
2425
2364
|
"default": "{}",
|
|
2426
2365
|
"attribute": "data"
|
|
@@ -2428,10 +2367,16 @@
|
|
|
2428
2367
|
],
|
|
2429
2368
|
"events": [
|
|
2430
2369
|
{
|
|
2370
|
+
"type": {
|
|
2371
|
+
"text": "CustomEvent<{data: DraggableDataItemData}>"
|
|
2372
|
+
},
|
|
2431
2373
|
"description": "Announces that the draggable data item has been dropped",
|
|
2432
2374
|
"name": "data-item-dropped"
|
|
2433
2375
|
},
|
|
2434
2376
|
{
|
|
2377
|
+
"type": {
|
|
2378
|
+
"text": "CustomEvent<{data: DraggableDataItemData}>"
|
|
2379
|
+
},
|
|
2435
2380
|
"description": "Announces that the drag is started on the data item",
|
|
2436
2381
|
"name": "data-item-drag-started"
|
|
2437
2382
|
}
|
|
@@ -2473,31 +2418,10 @@
|
|
|
2473
2418
|
},
|
|
2474
2419
|
"fieldName": "disabled"
|
|
2475
2420
|
},
|
|
2476
|
-
{
|
|
2477
|
-
"name": "label",
|
|
2478
|
-
"type": {
|
|
2479
|
-
"text": "string"
|
|
2480
|
-
},
|
|
2481
|
-
"fieldName": "label"
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"name": "description",
|
|
2485
|
-
"type": {
|
|
2486
|
-
"text": "string"
|
|
2487
|
-
},
|
|
2488
|
-
"fieldName": "description"
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
"name": "secondary-icon-type",
|
|
2492
|
-
"type": {
|
|
2493
|
-
"text": "'derived' | 'formula' | undefined"
|
|
2494
|
-
},
|
|
2495
|
-
"fieldName": "secondaryIconType"
|
|
2496
|
-
},
|
|
2497
2421
|
{
|
|
2498
2422
|
"name": "data",
|
|
2499
2423
|
"type": {
|
|
2500
|
-
"text": "
|
|
2424
|
+
"text": "DraggableDataItemData"
|
|
2501
2425
|
},
|
|
2502
2426
|
"default": "{}",
|
|
2503
2427
|
"fieldName": "data"
|
|
@@ -2531,6 +2455,12 @@
|
|
|
2531
2455
|
}
|
|
2532
2456
|
]
|
|
2533
2457
|
},
|
|
2458
|
+
{
|
|
2459
|
+
"kind": "javascript-module",
|
|
2460
|
+
"path": "src/components/draggable-data-item-level/types.ts",
|
|
2461
|
+
"declarations": [],
|
|
2462
|
+
"exports": []
|
|
2463
|
+
},
|
|
2534
2464
|
{
|
|
2535
2465
|
"kind": "javascript-module",
|
|
2536
2466
|
"path": "src/components/draggable-data-item-level/helpers/generate-preview.ts",
|
|
@@ -2538,11 +2468,16 @@
|
|
|
2538
2468
|
{
|
|
2539
2469
|
"kind": "function",
|
|
2540
2470
|
"name": "generateDragPreview",
|
|
2471
|
+
"return": {
|
|
2472
|
+
"type": {
|
|
2473
|
+
"text": "HTMLDivElement"
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2541
2476
|
"parameters": [
|
|
2542
2477
|
{
|
|
2543
2478
|
"name": "args",
|
|
2544
2479
|
"type": {
|
|
2545
|
-
"text": "
|
|
2480
|
+
"text": "GenerateDragPreviewArgs"
|
|
2546
2481
|
}
|
|
2547
2482
|
}
|
|
2548
2483
|
]
|
|
@@ -2590,7 +2525,7 @@
|
|
|
2590
2525
|
"kind": "field",
|
|
2591
2526
|
"name": "slotConfiguration",
|
|
2592
2527
|
"type": {
|
|
2593
|
-
"text": "
|
|
2528
|
+
"text": "DroppableSlotConfiguration"
|
|
2594
2529
|
},
|
|
2595
2530
|
"default": "{}",
|
|
2596
2531
|
"attribute": "slotConfiguration"
|
|
@@ -2632,6 +2567,16 @@
|
|
|
2632
2567
|
"attribute": "drag-boundary",
|
|
2633
2568
|
"reflects": true
|
|
2634
2569
|
},
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "field",
|
|
2572
|
+
"name": "rotate",
|
|
2573
|
+
"type": {
|
|
2574
|
+
"text": "boolean"
|
|
2575
|
+
},
|
|
2576
|
+
"default": "false",
|
|
2577
|
+
"attribute": "rotate",
|
|
2578
|
+
"reflects": true
|
|
2579
|
+
},
|
|
2635
2580
|
{
|
|
2636
2581
|
"kind": "field",
|
|
2637
2582
|
"name": "apiUrl",
|
|
@@ -2730,6 +2675,9 @@
|
|
|
2730
2675
|
}
|
|
2731
2676
|
},
|
|
2732
2677
|
{
|
|
2678
|
+
"type": {
|
|
2679
|
+
"text": "CustomEvent<SlotContentsChangedEventDetail>"
|
|
2680
|
+
},
|
|
2733
2681
|
"description": "Announces that the slot contents has changed",
|
|
2734
2682
|
"name": "slot-contents-changed"
|
|
2735
2683
|
}
|
|
@@ -2752,7 +2700,7 @@
|
|
|
2752
2700
|
{
|
|
2753
2701
|
"name": "slotConfiguration",
|
|
2754
2702
|
"type": {
|
|
2755
|
-
"text": "
|
|
2703
|
+
"text": "DroppableSlotConfiguration"
|
|
2756
2704
|
},
|
|
2757
2705
|
"default": "{}",
|
|
2758
2706
|
"fieldName": "slotConfiguration"
|
|
@@ -2787,6 +2735,14 @@
|
|
|
2787
2735
|
},
|
|
2788
2736
|
"fieldName": "dragBoundary"
|
|
2789
2737
|
},
|
|
2738
|
+
{
|
|
2739
|
+
"name": "rotate",
|
|
2740
|
+
"type": {
|
|
2741
|
+
"text": "boolean"
|
|
2742
|
+
},
|
|
2743
|
+
"default": "false",
|
|
2744
|
+
"fieldName": "rotate"
|
|
2745
|
+
},
|
|
2790
2746
|
{
|
|
2791
2747
|
"name": "api-url",
|
|
2792
2748
|
"type": {
|
|
@@ -2875,6 +2831,12 @@
|
|
|
2875
2831
|
}
|
|
2876
2832
|
]
|
|
2877
2833
|
},
|
|
2834
|
+
{
|
|
2835
|
+
"kind": "javascript-module",
|
|
2836
|
+
"path": "src/components/droppable-slot/types.ts",
|
|
2837
|
+
"declarations": [],
|
|
2838
|
+
"exports": []
|
|
2839
|
+
},
|
|
2878
2840
|
{
|
|
2879
2841
|
"kind": "javascript-module",
|
|
2880
2842
|
"path": "src/components/droppable-slot/item-slots-configs/slot-labels.const.ts",
|
|
@@ -6998,6 +6960,16 @@
|
|
|
6998
6960
|
],
|
|
6999
6961
|
"tagName": "luzmo-filter-value-picker-hierarchy",
|
|
7000
6962
|
"customElement": true
|
|
6963
|
+
},
|
|
6964
|
+
{
|
|
6965
|
+
"kind": "variable",
|
|
6966
|
+
"name": "abortController",
|
|
6967
|
+
"default": "new AbortController()"
|
|
6968
|
+
},
|
|
6969
|
+
{
|
|
6970
|
+
"kind": "variable",
|
|
6971
|
+
"name": "promise",
|
|
6972
|
+
"default": "new Promise((resolve, reject) => { const fetchDataPromise = dataBroker.fetchData(query); fetchDataPromise.then(resolve).catch(reject); abortController.signal.addEventListener('abort', () => { console.warn('Request aborted'); reject({ status: 'aborted' }); }); })"
|
|
7001
6973
|
}
|
|
7002
6974
|
],
|
|
7003
6975
|
"exports": [
|
|
@@ -7201,6 +7173,16 @@
|
|
|
7201
7173
|
],
|
|
7202
7174
|
"tagName": "luzmo-filter-value-picker-numeric",
|
|
7203
7175
|
"customElement": true
|
|
7176
|
+
},
|
|
7177
|
+
{
|
|
7178
|
+
"kind": "variable",
|
|
7179
|
+
"name": "abortController",
|
|
7180
|
+
"default": "new AbortController()"
|
|
7181
|
+
},
|
|
7182
|
+
{
|
|
7183
|
+
"kind": "variable",
|
|
7184
|
+
"name": "promise",
|
|
7185
|
+
"default": "new Promise((resolve, reject) => { const fetchDataPromise = dataBroker.fetchData(query); fetchDataPromise.then(resolve).catch(reject); abortController.signal.addEventListener('abort', () => { console.warn('Request aborted'); reject({ status: 'aborted' }); }); })"
|
|
7204
7186
|
}
|
|
7205
7187
|
],
|
|
7206
7188
|
"exports": [
|
|
@@ -8105,7 +8087,7 @@
|
|
|
8105
8087
|
"kind": "field",
|
|
8106
8088
|
"name": "slotType",
|
|
8107
8089
|
"type": {
|
|
8108
|
-
"text": "
|
|
8090
|
+
"text": "'numeric' | 'categorical' | 'mixed' | undefined"
|
|
8109
8091
|
},
|
|
8110
8092
|
"default": "'numeric'",
|
|
8111
8093
|
"description": "The slot type",
|
|
@@ -8125,7 +8107,7 @@
|
|
|
8125
8107
|
"kind": "field",
|
|
8126
8108
|
"name": "itemType",
|
|
8127
8109
|
"type": {
|
|
8128
|
-
"text": "
|
|
8110
|
+
"text": "VizItemType | undefined"
|
|
8129
8111
|
},
|
|
8130
8112
|
"attribute": "item-type",
|
|
8131
8113
|
"reflects": true
|
|
@@ -8231,7 +8213,7 @@
|
|
|
8231
8213
|
"kind": "field",
|
|
8232
8214
|
"name": "measureColumns",
|
|
8233
8215
|
"type": {
|
|
8234
|
-
"text": "
|
|
8216
|
+
"text": "MeasureColumnsItem[]"
|
|
8235
8217
|
},
|
|
8236
8218
|
"default": "[]"
|
|
8237
8219
|
},
|
|
@@ -8298,6 +8280,11 @@
|
|
|
8298
8280
|
{
|
|
8299
8281
|
"kind": "method",
|
|
8300
8282
|
"name": "removeSlotContent",
|
|
8283
|
+
"return": {
|
|
8284
|
+
"type": {
|
|
8285
|
+
"text": "void"
|
|
8286
|
+
}
|
|
8287
|
+
},
|
|
8301
8288
|
"parameters": [
|
|
8302
8289
|
{
|
|
8303
8290
|
"name": "index",
|
|
@@ -8309,15 +8296,30 @@
|
|
|
8309
8296
|
},
|
|
8310
8297
|
{
|
|
8311
8298
|
"kind": "method",
|
|
8312
|
-
"name": "close"
|
|
8299
|
+
"name": "close",
|
|
8300
|
+
"return": {
|
|
8301
|
+
"type": {
|
|
8302
|
+
"text": "void"
|
|
8303
|
+
}
|
|
8304
|
+
}
|
|
8313
8305
|
},
|
|
8314
8306
|
{
|
|
8315
8307
|
"kind": "method",
|
|
8316
|
-
"name": "_removeActiveSlotContent"
|
|
8308
|
+
"name": "_removeActiveSlotContent",
|
|
8309
|
+
"return": {
|
|
8310
|
+
"type": {
|
|
8311
|
+
"text": "void"
|
|
8312
|
+
}
|
|
8313
|
+
}
|
|
8317
8314
|
},
|
|
8318
8315
|
{
|
|
8319
8316
|
"kind": "method",
|
|
8320
8317
|
"name": "resetPosition",
|
|
8318
|
+
"return": {
|
|
8319
|
+
"type": {
|
|
8320
|
+
"text": "void"
|
|
8321
|
+
}
|
|
8322
|
+
},
|
|
8321
8323
|
"description": "Reset the menu position to its original location"
|
|
8322
8324
|
}
|
|
8323
8325
|
],
|
|
@@ -8377,7 +8379,7 @@
|
|
|
8377
8379
|
{
|
|
8378
8380
|
"name": "slot-type",
|
|
8379
8381
|
"type": {
|
|
8380
|
-
"text": "
|
|
8382
|
+
"text": "'numeric' | 'categorical' | 'mixed' | undefined"
|
|
8381
8383
|
},
|
|
8382
8384
|
"default": "'numeric'",
|
|
8383
8385
|
"description": "The slot type",
|
|
@@ -8393,7 +8395,7 @@
|
|
|
8393
8395
|
{
|
|
8394
8396
|
"name": "item-type",
|
|
8395
8397
|
"type": {
|
|
8396
|
-
"text": "
|
|
8398
|
+
"text": "VizItemType | undefined"
|
|
8397
8399
|
},
|
|
8398
8400
|
"fieldName": "itemType"
|
|
8399
8401
|
},
|
|
@@ -8549,6 +8551,21 @@
|
|
|
8549
8551
|
}
|
|
8550
8552
|
]
|
|
8551
8553
|
},
|
|
8554
|
+
{
|
|
8555
|
+
"kind": "javascript-module",
|
|
8556
|
+
"path": "src/components/slot-menu/types.ts",
|
|
8557
|
+
"declarations": [],
|
|
8558
|
+
"exports": [
|
|
8559
|
+
{
|
|
8560
|
+
"kind": "js",
|
|
8561
|
+
"name": "SlotContentsChangedEventDetail",
|
|
8562
|
+
"declaration": {
|
|
8563
|
+
"name": "SlotContentsChangedEventDetail",
|
|
8564
|
+
"module": "../droppable-slot/types"
|
|
8565
|
+
}
|
|
8566
|
+
}
|
|
8567
|
+
]
|
|
8568
|
+
},
|
|
8552
8569
|
{
|
|
8553
8570
|
"kind": "javascript-module",
|
|
8554
8571
|
"path": "src/components/slot-menu-list/slot-menu-list.ts",
|
|
@@ -8591,7 +8608,7 @@
|
|
|
8591
8608
|
"kind": "field",
|
|
8592
8609
|
"name": "slotContents",
|
|
8593
8610
|
"type": {
|
|
8594
|
-
"text": "
|
|
8611
|
+
"text": "GenericSlotContent[]"
|
|
8595
8612
|
},
|
|
8596
8613
|
"default": "[]",
|
|
8597
8614
|
"attribute": "slotContents"
|
|
@@ -8652,7 +8669,7 @@
|
|
|
8652
8669
|
{
|
|
8653
8670
|
"name": "slotContents",
|
|
8654
8671
|
"type": {
|
|
8655
|
-
"text": "
|
|
8672
|
+
"text": "GenericSlotContent[]"
|
|
8656
8673
|
},
|
|
8657
8674
|
"default": "[]",
|
|
8658
8675
|
"fieldName": "slotContents"
|
|
@@ -37,7 +37,7 @@ declare const _default: ({
|
|
|
37
37
|
label: string;
|
|
38
38
|
default: boolean;
|
|
39
39
|
parseValue: (value: any) => boolean;
|
|
40
|
-
toValue: (value: any) => "
|
|
40
|
+
toValue: (value: any) => "default" | "button";
|
|
41
41
|
extraLabel?: undefined;
|
|
42
42
|
extraLabelHasClickAction?: undefined;
|
|
43
43
|
extraLabelClickAction?: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/analytics-components-kit",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.89",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./components/index.js",
|
|
6
6
|
"module": "./components/index.js",
|
|
@@ -282,8 +282,8 @@
|
|
|
282
282
|
"@lit/context": "^1.1.5",
|
|
283
283
|
"@lit/localize": "^0.12.2",
|
|
284
284
|
"@lit/task": "^1.0.1",
|
|
285
|
-
"@luzmo/icons": "^1.0.1-alpha.
|
|
286
|
-
"@luzmo/lucero": "^1.0.1-alpha.
|
|
285
|
+
"@luzmo/icons": "^1.0.1-alpha.21",
|
|
286
|
+
"@luzmo/lucero": "^1.0.1-alpha.35",
|
|
287
287
|
"colorjs.io": "^0.5.2",
|
|
288
288
|
"lit": "^3.3.1"
|
|
289
289
|
},
|
package/types.d.ts
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
* This file contains the types for all the lit components and functions.
|
|
4
4
|
* This file should be comprehensive and should not be missing any types.
|
|
5
5
|
*/
|
|
6
|
-
import { VizItemType } from '@luzmo/dashboard-contents-types';
|
|
7
|
-
import { IconDefinition } from '@luzmo/icons';
|
|
8
|
-
import { Placement } from '@luzmo/lucero';
|
|
6
|
+
import type { VizItemType } from '@luzmo/dashboard-contents-types';
|
|
7
|
+
import type { IconDefinition } from '@luzmo/icons';
|
|
8
|
+
import type { Placement } from '@luzmo/lucero';
|
|
9
9
|
import { TemplateResult } from 'lit';
|
|
10
10
|
export type { Column, ColumnSubtype, ColumnType, GenericSlotContent, SlotName, VizItemSlots, VizItemType } from '@luzmo/dashboard-contents-types';
|
|
11
|
+
export type { DraggableDataItemData } from './components/draggable-data-item';
|
|
12
|
+
export type { DroppableSlotConfiguration, SlotContentsChangedEventDetail } from './components/droppable-slot';
|
|
13
|
+
export type { MeasureColumnsItem, SlotContentChangedEventDetail, SlotListChangedEventDetail, SlotMenuActiveEventDetail, SlotMenuHighlightEventDetail } from './components/slot-menu';
|
|
11
14
|
export declare enum PeriodOverPeriodCondition {
|
|
12
15
|
HasDatetimeColumnAndNoComparisonFilters = "hasDatetimeColumnAndNoComparisonFilters",
|
|
13
16
|
NoDatetimeColumnAndNoComparisonFilters = "noDatetimeColumnAndNoComparisonFilters",
|
|
@@ -79,6 +82,9 @@ export interface DatasetIcon {
|
|
|
79
82
|
};
|
|
80
83
|
}
|
|
81
84
|
export type { ElementSize, Placement } from '@luzmo/lucero';
|
|
85
|
+
export type { DataBrokerConfig } from './utils/data-broker/index';
|
|
86
|
+
export type { DatasetMetadata } from './utils/data-broker/index';
|
|
87
|
+
export type { DatasetWithDraggableDataItems } from './utils/transformations/convert-datasets-to-draggable-items';
|
|
82
88
|
export interface Dataset {
|
|
83
89
|
id: string;
|
|
84
90
|
name: string | {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type DataBrokerConfig } from '../data-broker/index';
|
|
2
|
+
import { DatasetWithDraggableDataItems } from '../transformations/convert-datasets-to-draggable-items';
|
|
3
|
+
export interface LoadDraggableItemsOptions {
|
|
4
|
+
dataBrokerConfig: Pick<DataBrokerConfig, 'apiUrl' | 'authKey' | 'authToken'>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Convenience helper that configures the shared DataBroker instance,
|
|
8
|
+
* loads the requested datasets with their metadata, and converts them into
|
|
9
|
+
* draggable data items the UI components understand.
|
|
10
|
+
*
|
|
11
|
+
* @param datasetIds - Array of dataset IDs to fetch and convert
|
|
12
|
+
* @param options.dataBrokerConfig - Required DataBroker configuration
|
|
13
|
+
* @param options.dataBrokerConfig.apiUrl - Luzmo API endpoint URL
|
|
14
|
+
* @param options.dataBrokerConfig.authKey - Authentication key for Luzmo API access
|
|
15
|
+
* @param options.dataBrokerConfig.authToken - Authentication token for Luzmo API access
|
|
16
|
+
* @returns Promise that resolves to an array of datasets with their draggable data items
|
|
17
|
+
* @throws {Error} When datasetIds is empty or invalid
|
|
18
|
+
* @throws {Error} When dataBrokerConfig is missing
|
|
19
|
+
* @throws {Error} When required authentication credentials are missing
|
|
20
|
+
* @throws {Error} When apiUrl is missing or invalid
|
|
21
|
+
* @throws {Error} When API authentication fails
|
|
22
|
+
* @throws {Error} When dataset fetching fails
|
|
23
|
+
*/
|
|
24
|
+
export declare const loadDraggableItemsForDatasets: (datasetIds: string[], options: LoadDraggableItemsOptions) => Promise<DatasetWithDraggableDataItems[]>;
|