@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
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
import { Task as f } from "@lit/task";
|
|
21
21
|
import "@luzmo/lucero/accordion";
|
|
22
22
|
import "@luzmo/lucero/divider";
|
|
23
|
-
import { html as
|
|
24
|
-
import { property as
|
|
25
|
-
import { L as h } from "../focusable-
|
|
26
|
-
import { g as b } from "../index-
|
|
23
|
+
import { html as e, unsafeCSS as u } from "lit";
|
|
24
|
+
import { property as m } from "lit/decorators.js";
|
|
25
|
+
import { L as h } from "../focusable-BS2pbY7w.js";
|
|
26
|
+
import { g as b } from "../index-haa7WNrl.js";
|
|
27
27
|
(function() {
|
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
29
29
|
const i = document.createElement("style");
|
|
@@ -31,83 +31,83 @@ import { g as b } from "../index-CdIUfo-L.js";
|
|
|
31
31
|
}
|
|
32
32
|
})();
|
|
33
33
|
const g = ":host{font-size:var(--luzmo-edit-item-font-size, var(--luzmo-font-size))}:host luzmo-divider{display:block;margin:var(--luzmo-edit-item-divider-vertical-margin, calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2))) 0}:host luzmo-edit-option{display:block;margin:var(--luzmo-edit-option-divider-vertical-margin, var(--luzmo-spacing-4)) 0}:host([size=s]){font-size:var(--luzmo-edit-item-font-size-s, var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-edit-item-font-size-l, var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-edit-item-font-size-xl, var(--luzmo-font-size-xl))}";
|
|
34
|
-
var z = Object.defineProperty,
|
|
35
|
-
for (var
|
|
36
|
-
(s = d[
|
|
37
|
-
return
|
|
34
|
+
var z = Object.defineProperty, p = (d, i, o, n) => {
|
|
35
|
+
for (var t = void 0, l = d.length - 1, s; l >= 0; l--)
|
|
36
|
+
(s = d[l]) && (t = s(i, o, t) || t);
|
|
37
|
+
return t && z(i, o, t), t;
|
|
38
38
|
};
|
|
39
39
|
const c = class c extends h {
|
|
40
40
|
constructor() {
|
|
41
41
|
super(...arguments), this._loadItemConfig = new f(this, {
|
|
42
42
|
task: async ([
|
|
43
43
|
i,
|
|
44
|
-
|
|
44
|
+
o,
|
|
45
45
|
n,
|
|
46
|
-
|
|
46
|
+
t
|
|
47
47
|
]) => {
|
|
48
|
-
let
|
|
48
|
+
let l = !1;
|
|
49
49
|
if (i && i !== this._itemTypeLoaded && !n) {
|
|
50
50
|
const s = /* @__PURE__ */ Object.assign({
|
|
51
|
-
"../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-
|
|
52
|
-
"../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-
|
|
53
|
-
"../../item-definitions/box-plot/box-plot-options.config.ts": () => import("../box-plot-options.config-
|
|
54
|
-
"../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-
|
|
55
|
-
"../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("../bullet-chart-options.config-
|
|
56
|
-
"../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("../choropleth-map-options.config-
|
|
51
|
+
"../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-u8itidsi.js"),
|
|
52
|
+
"../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-DIirbAJ0.js"),
|
|
53
|
+
"../../item-definitions/box-plot/box-plot-options.config.ts": () => import("../box-plot-options.config-BWROiguA.js"),
|
|
54
|
+
"../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-4QD8VPhU.js"),
|
|
55
|
+
"../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("../bullet-chart-options.config-3bH7uekx.js"),
|
|
56
|
+
"../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("../choropleth-map-options.config-CMxx3ORp.js"),
|
|
57
57
|
"../../item-definitions/circle-pack-chart/circle-pack-chart-options.config.ts": () => import("../circle-pack-chart-options.config-DEYL3DMK.js"),
|
|
58
|
-
"../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("../circular-gauge-options.config-
|
|
59
|
-
"../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-
|
|
58
|
+
"../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("../circular-gauge-options.config-DhIKn44k.js"),
|
|
59
|
+
"../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-D5-yR7iq.js"),
|
|
60
60
|
"../../item-definitions/combination-chart/combination-chart-options.config.ts": () => import("../combination-chart-options.config-CApdgFvv.js"),
|
|
61
|
-
"../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("../conditional-number-options.config-
|
|
62
|
-
"../../item-definitions/date-comparison-filter/date-comparison-filter-options.config.ts": () => import("../date-comparison-filter-options.config-
|
|
63
|
-
"../../item-definitions/date-filter/date-filter-options.config.ts": () => import("../date-filter-options.config-
|
|
64
|
-
"../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("../donut-chart-options.config-
|
|
65
|
-
"../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("../dropdown-filter-options.config-
|
|
66
|
-
"../../item-definitions/evolution-number/evolution-number-options.config.ts": () => import("../evolution-number-options.config-
|
|
67
|
-
"../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("../funnel-chart-options.config-
|
|
68
|
-
"../../item-definitions/heat-map/heat-map-options.config.ts": () => import("../heat-map-options.config-
|
|
69
|
-
"../../item-definitions/heat-table/heat-table-options.config.ts": () => import("../heat-table-options.config-
|
|
70
|
-
"../../item-definitions/hexbin-map/hexbin-map-options.config.ts": () => import("../hexbin-map-options.config-
|
|
61
|
+
"../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("../conditional-number-options.config-DPYsdML5.js"),
|
|
62
|
+
"../../item-definitions/date-comparison-filter/date-comparison-filter-options.config.ts": () => import("../date-comparison-filter-options.config-CSwGyuBg.js"),
|
|
63
|
+
"../../item-definitions/date-filter/date-filter-options.config.ts": () => import("../date-filter-options.config-BTVyHRkp.js"),
|
|
64
|
+
"../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("../donut-chart-options.config-3ZqX8Cbb.js"),
|
|
65
|
+
"../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("../dropdown-filter-options.config-CGJTtgAX.js"),
|
|
66
|
+
"../../item-definitions/evolution-number/evolution-number-options.config.ts": () => import("../evolution-number-options.config-BIPO_4n3.js"),
|
|
67
|
+
"../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("../funnel-chart-options.config-CrJy2U7_.js"),
|
|
68
|
+
"../../item-definitions/heat-map/heat-map-options.config.ts": () => import("../heat-map-options.config-CmL87j1j.js"),
|
|
69
|
+
"../../item-definitions/heat-table/heat-table-options.config.ts": () => import("../heat-table-options.config-BrCYAgYD.js"),
|
|
70
|
+
"../../item-definitions/hexbin-map/hexbin-map-options.config.ts": () => import("../hexbin-map-options.config-BguV1w8q.js"),
|
|
71
71
|
"../../item-definitions/image/image-options.config.ts": () => import("../image-options.config-CBfeq5Zw.js"),
|
|
72
72
|
"../../item-definitions/item-options.config.ts": () => import("../item-options-configs.js"),
|
|
73
|
-
"../../item-definitions/line-chart/line-chart-options.config.ts": () => import("../line-chart-options.config-
|
|
74
|
-
"../../item-definitions/marker-map/marker-map-options.config.ts": () => import("../marker-map-options.config-
|
|
73
|
+
"../../item-definitions/line-chart/line-chart-options.config.ts": () => import("../line-chart-options.config-BhirTGqD.js"),
|
|
74
|
+
"../../item-definitions/marker-map/marker-map-options.config.ts": () => import("../marker-map-options.config-Bx17jmiq.js"),
|
|
75
75
|
"../../item-definitions/ohlc-chart/ohlc-chart-options.config.ts": () => import("../ohlc-chart-options.config-D9npwajt.js"),
|
|
76
76
|
"../../item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-options.config.ts": () => import("../parallel-coordinates-plot-options.config-DxB4kd58.js"),
|
|
77
|
-
"../../item-definitions/pivot-table/pivot-table-options.config.ts": () => import("../pivot-table-options.config-
|
|
78
|
-
"../../item-definitions/pyramid-chart/pyramid-chart-options.config.ts": () => import("../pyramid-chart-options.config-
|
|
79
|
-
"../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("../radar-chart-options.config-
|
|
80
|
-
"../../item-definitions/regular-table/regular-table-options.config.ts": () => import("../regular-table-options.config-
|
|
81
|
-
"../../item-definitions/route-map/route-map-options.config.ts": () => import("../route-map-options.config-
|
|
82
|
-
"../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("../sankey-diagram-options.config-
|
|
83
|
-
"../../item-definitions/scatter-plot/scatter-plot-options.config.ts": () => import("../scatter-plot-options.config-
|
|
84
|
-
"../../item-definitions/search-filter/search-filter-options.config.ts": () => import("../search-filter-options.config-
|
|
85
|
-
"../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("../slicer-filter-options.config-
|
|
86
|
-
"../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("../slider-filter-options.config-
|
|
77
|
+
"../../item-definitions/pivot-table/pivot-table-options.config.ts": () => import("../pivot-table-options.config-CFc7y0IT.js"),
|
|
78
|
+
"../../item-definitions/pyramid-chart/pyramid-chart-options.config.ts": () => import("../pyramid-chart-options.config-2Waxb11l.js"),
|
|
79
|
+
"../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("../radar-chart-options.config-CPN5fOl8.js"),
|
|
80
|
+
"../../item-definitions/regular-table/regular-table-options.config.ts": () => import("../regular-table-options.config-CFKCJQK1.js"),
|
|
81
|
+
"../../item-definitions/route-map/route-map-options.config.ts": () => import("../route-map-options.config-CyolTJfK.js"),
|
|
82
|
+
"../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("../sankey-diagram-options.config-Ldjk84ro.js"),
|
|
83
|
+
"../../item-definitions/scatter-plot/scatter-plot-options.config.ts": () => import("../scatter-plot-options.config-CfxEfkQ1.js"),
|
|
84
|
+
"../../item-definitions/search-filter/search-filter-options.config.ts": () => import("../search-filter-options.config-C0syQmP4.js"),
|
|
85
|
+
"../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("../slicer-filter-options.config-DmOe3440.js"),
|
|
86
|
+
"../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("../slider-filter-options.config-B1M8RcDs.js"),
|
|
87
87
|
"../../item-definitions/spacer/spacer-options.config.ts": () => import("../spacer-options.config-IpwUxDyU.js"),
|
|
88
|
-
"../../item-definitions/speedometer-chart/speedometer-chart-options.config.ts": () => import("../speedometer-chart-options.config-
|
|
89
|
-
"../../item-definitions/spike-map/spike-map-options.config.ts": () => import("../spike-map-options.config-
|
|
88
|
+
"../../item-definitions/speedometer-chart/speedometer-chart-options.config.ts": () => import("../speedometer-chart-options.config-CzOmuEF8.js"),
|
|
89
|
+
"../../item-definitions/spike-map/spike-map-options.config.ts": () => import("../spike-map-options.config-Cbt1YUw6.js"),
|
|
90
90
|
"../../item-definitions/strip-plot/strip-plot-options.config.ts": () => import("../strip-plot-options.config-Bdr8yQJu.js"),
|
|
91
|
-
"../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("../sunburst-chart-options.config-
|
|
92
|
-
"../../item-definitions/symbol-map/symbol-map-options.config.ts": () => import("../symbol-map-options.config-
|
|
91
|
+
"../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("../sunburst-chart-options.config-_dyLQxPJ.js"),
|
|
92
|
+
"../../item-definitions/symbol-map/symbol-map-options.config.ts": () => import("../symbol-map-options.config-BORL1NSU.js"),
|
|
93
93
|
"../../item-definitions/text/text-options.config.ts": () => import("../text-options.config-BWaJoeG2.js"),
|
|
94
|
-
"../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("../treemap-chart-options.config-
|
|
94
|
+
"../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("../treemap-chart-options.config-B9i9qIm_.js"),
|
|
95
95
|
"../../item-definitions/venn-diagram/venn-diagram-options.config.ts": () => import("../venn-diagram-options.config-CGUMA930.js"),
|
|
96
|
-
"../../item-definitions/video/video-options.config.ts": () => import("../video-options.config-
|
|
97
|
-
"../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("../wordcloud-chart-options.config-
|
|
96
|
+
"../../item-definitions/video/video-options.config.ts": () => import("../video-options.config-UX-9MDfS.js"),
|
|
97
|
+
"../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("../wordcloud-chart-options.config-BoB_KuhA.js")
|
|
98
98
|
});
|
|
99
99
|
if (s[`../../item-definitions/${i}/${i}-options.config.ts`])
|
|
100
100
|
try {
|
|
101
|
-
const
|
|
102
|
-
this._optionsConfiguration =
|
|
103
|
-
} catch (
|
|
104
|
-
this._optionsConfiguration = [], console.error(
|
|
101
|
+
const a = await s[`../../item-definitions/${i}/${i}-options.config.ts`]();
|
|
102
|
+
this._optionsConfiguration = a?.default ?? [];
|
|
103
|
+
} catch (a) {
|
|
104
|
+
this._optionsConfiguration = [], console.error(a);
|
|
105
105
|
}
|
|
106
106
|
else
|
|
107
107
|
this._optionsConfiguration = [];
|
|
108
|
-
this._isCustomOptionsConfiguration = !1,
|
|
108
|
+
this._isCustomOptionsConfiguration = !1, l = !0;
|
|
109
109
|
} else n ? (this._isCustomOptionsConfiguration = !0, this._optionsConfiguration = n) : this._optionsConfiguration = [];
|
|
110
|
-
if (
|
|
110
|
+
if (o && (o !== this._languageLoaded || l) && !t) {
|
|
111
111
|
const s = /* @__PURE__ */ Object.assign({
|
|
112
112
|
"../../item-definitions/area-chart/i18n/area-chart-options.de.ts": () => import("../area-chart-options.de-FcVE2Ywe.js"),
|
|
113
113
|
"../../item-definitions/area-chart/i18n/area-chart-options.en.ts": () => import("../area-chart-options.en-Cz5aXeVe.js"),
|
|
@@ -330,14 +330,14 @@ const c = class c extends h {
|
|
|
330
330
|
"../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.fr.ts": () => import("../wordcloud-chart-options.fr-DNK5Ouc5.js"),
|
|
331
331
|
"../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.nl.ts": () => import("../wordcloud-chart-options.nl-CcgmqL7I.js")
|
|
332
332
|
});
|
|
333
|
-
if (s[`../../item-definitions/${i}/i18n/${i}-options.${
|
|
333
|
+
if (s[`../../item-definitions/${i}/i18n/${i}-options.${o}.ts`])
|
|
334
334
|
try {
|
|
335
|
-
const
|
|
336
|
-
this._translations =
|
|
337
|
-
} catch (
|
|
338
|
-
this._translations = {}, console.warn("Translation file not found",
|
|
335
|
+
const a = await s[`../../item-definitions/${i}/i18n/${i}-options.${o}.ts`]();
|
|
336
|
+
this._translations = a?.default ?? {};
|
|
337
|
+
} catch (a) {
|
|
338
|
+
this._translations = {}, console.warn("Translation file not found", a);
|
|
339
339
|
}
|
|
340
|
-
} else
|
|
340
|
+
} else t ? this._translations = t : this._translations = {};
|
|
341
341
|
return {
|
|
342
342
|
config: this._optionsConfiguration,
|
|
343
343
|
translations: this._translations
|
|
@@ -351,41 +351,40 @@ const c = class c extends h {
|
|
|
351
351
|
]
|
|
352
352
|
}), this.language = "en", this.options = {}, this.slots = {}, this.theme = {}, this.size = "m", this._optionsConfiguration = [], this._translations = {}, this.renderAllGroups = (i) => {
|
|
353
353
|
if (!Array.isArray(i))
|
|
354
|
-
return
|
|
355
|
-
const
|
|
356
|
-
if (n
|
|
354
|
+
return e``;
|
|
355
|
+
const o = i?.map((n) => {
|
|
356
|
+
if (n?.children)
|
|
357
357
|
return this.renderGroup(n);
|
|
358
358
|
});
|
|
359
|
-
return i && i.length > 0 ?
|
|
359
|
+
return i && i.length > 0 ? e`<luzmo-accordion
|
|
360
360
|
variant="highlight"
|
|
361
361
|
.size=${this.size}
|
|
362
362
|
density="compact"
|
|
363
363
|
allow-multiple
|
|
364
364
|
no-content-padding
|
|
365
365
|
header-case="uppercase"
|
|
366
|
-
>${
|
|
367
|
-
>` :
|
|
366
|
+
>${o}</luzmo-accordion
|
|
367
|
+
>` : e``;
|
|
368
368
|
}, this.renderGroup = (i) => {
|
|
369
|
-
|
|
370
|
-
if (typeof (i == null ? void 0 : i.visibleIf) == "function" && !i.visibleIf({
|
|
369
|
+
if (typeof i?.visibleIf == "function" && !i.visibleIf({
|
|
371
370
|
options: this.options,
|
|
372
371
|
slots: this.slots,
|
|
373
372
|
theme: this.theme
|
|
374
373
|
}))
|
|
375
|
-
return
|
|
376
|
-
const
|
|
377
|
-
if (typeof
|
|
374
|
+
return e``;
|
|
375
|
+
const o = (n) => n?.map((t) => {
|
|
376
|
+
if (typeof t?.visibleIf == "function" && !t.visibleIf({
|
|
378
377
|
options: this.options,
|
|
379
378
|
slots: this.slots,
|
|
380
379
|
theme: this.theme
|
|
381
380
|
}))
|
|
382
|
-
return
|
|
383
|
-
if (t
|
|
384
|
-
return this.renderOptionControl(t
|
|
385
|
-
if (
|
|
381
|
+
return e``;
|
|
382
|
+
if (t?.control)
|
|
383
|
+
return this.renderOptionControl(t?.key);
|
|
384
|
+
if (t?.type === "divider")
|
|
386
385
|
return this.renderDivider();
|
|
387
|
-
if (
|
|
388
|
-
return
|
|
386
|
+
if (t?.type === "group")
|
|
387
|
+
return e`<luzmo-accordion
|
|
389
388
|
variant="highlight-child"
|
|
390
389
|
.size=${this.size}
|
|
391
390
|
density="compact"
|
|
@@ -395,38 +394,36 @@ const c = class c extends h {
|
|
|
395
394
|
>${this.renderGroup(t)}</luzmo-accordion
|
|
396
395
|
>`;
|
|
397
396
|
});
|
|
398
|
-
return
|
|
399
|
-
label=${
|
|
397
|
+
return e`<luzmo-accordion-item
|
|
398
|
+
label=${this._translations?.groups?.[i.key]?.label ?? i.key}
|
|
400
399
|
?open=${i.open}
|
|
401
400
|
>
|
|
402
|
-
${
|
|
401
|
+
${o(i.children)}
|
|
403
402
|
</luzmo-accordion-item>`;
|
|
404
403
|
}, this.changedOptions = (i) => {
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
this.options = (o = i == null ? void 0 : i.detail) == null ? void 0 : o.options, i.preventDefault(), i.stopPropagation(), this.dispatchEvent(
|
|
404
|
+
const o = i?.detail?.options;
|
|
405
|
+
this.options = i?.detail?.options, i.preventDefault(), i.stopPropagation(), this.dispatchEvent(
|
|
408
406
|
new CustomEvent("options-changed", {
|
|
409
407
|
bubbles: !0,
|
|
410
408
|
composed: !0,
|
|
411
409
|
cancelable: !0,
|
|
412
410
|
detail: {
|
|
413
|
-
options:
|
|
411
|
+
options: o
|
|
414
412
|
}
|
|
415
413
|
})
|
|
416
414
|
);
|
|
417
415
|
}, this.renderOptionControl = (i) => {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
return this._isCustomOptionsConfiguration && (e = b(
|
|
416
|
+
let o, n;
|
|
417
|
+
return this._isCustomOptionsConfiguration && (o = b(
|
|
421
418
|
i,
|
|
422
419
|
this.customOptionsConfiguration,
|
|
423
420
|
!0
|
|
424
|
-
), n =
|
|
421
|
+
), n = this._translations?.options?.[i]), e`<luzmo-edit-option
|
|
425
422
|
class="control"
|
|
426
423
|
.itemType=${this.itemType}
|
|
427
424
|
.optionKey=${i}
|
|
428
425
|
.options=${this.options}
|
|
429
|
-
.customOptionConfiguration=${
|
|
426
|
+
.customOptionConfiguration=${o}
|
|
430
427
|
.customTranslations=${n}
|
|
431
428
|
.slots=${this.slots}
|
|
432
429
|
.theme=${this.theme}
|
|
@@ -434,43 +431,43 @@ const c = class c extends h {
|
|
|
434
431
|
.language=${this.language}
|
|
435
432
|
@options-changed=${this.changedOptions}
|
|
436
433
|
></luzmo-edit-option>`;
|
|
437
|
-
}, this.renderDivider = () =>
|
|
434
|
+
}, this.renderDivider = () => e`<luzmo-divider></luzmo-divider>`;
|
|
438
435
|
}
|
|
439
436
|
render() {
|
|
440
437
|
return this._loadItemConfig.render({
|
|
441
|
-
pending: () =>
|
|
438
|
+
pending: () => e`<p>Loading...</p>`,
|
|
442
439
|
complete: (i) => this.renderAllGroups(i.config),
|
|
443
|
-
error: (i) => (console.error(i),
|
|
440
|
+
error: (i) => (console.error(i), e``)
|
|
444
441
|
});
|
|
445
442
|
}
|
|
446
443
|
};
|
|
447
444
|
c.styles = u(g);
|
|
448
|
-
let
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
],
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
],
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
],
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
],
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
],
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
],
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
],
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
],
|
|
473
|
-
customElements.get("luzmo-edit-item") || customElements.define("luzmo-edit-item",
|
|
445
|
+
let r = c;
|
|
446
|
+
p([
|
|
447
|
+
m({ type: String, reflect: !0 })
|
|
448
|
+
], r.prototype, "language");
|
|
449
|
+
p([
|
|
450
|
+
m({ type: String, reflect: !0, attribute: "item-type" })
|
|
451
|
+
], r.prototype, "itemType");
|
|
452
|
+
p([
|
|
453
|
+
m({ type: Object })
|
|
454
|
+
], r.prototype, "options");
|
|
455
|
+
p([
|
|
456
|
+
m({ type: Object })
|
|
457
|
+
], r.prototype, "slots");
|
|
458
|
+
p([
|
|
459
|
+
m({ type: Object, reflect: !1 })
|
|
460
|
+
], r.prototype, "customOptionsConfiguration");
|
|
461
|
+
p([
|
|
462
|
+
m({ type: Object, reflect: !1 })
|
|
463
|
+
], r.prototype, "customTranslations");
|
|
464
|
+
p([
|
|
465
|
+
m({ type: Object })
|
|
466
|
+
], r.prototype, "theme");
|
|
467
|
+
p([
|
|
468
|
+
m({ type: String, reflect: !0 })
|
|
469
|
+
], r.prototype, "size");
|
|
470
|
+
customElements.get("luzmo-edit-item") || customElements.define("luzmo-edit-item", r);
|
|
474
471
|
export {
|
|
475
|
-
|
|
472
|
+
r as LuzmoEditItem
|
|
476
473
|
};
|
|
@@ -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("../index-
|
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../index-DvkzMbLt.cjs");exports.LuzmoEditOption=t.LuzmoEditOption;
|
|
@@ -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 { L as u } from "../index-
|
|
20
|
+
import { L as u } from "../index-haa7WNrl.js";
|
|
21
21
|
(function() {
|
|
22
22
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
23
23
|
const o = document.createElement("style");
|
|
@@ -17,26 +17,26 @@
|
|
|
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";var
|
|
20
|
+
"use strict";var d=Object.getPrototypeOf;var z=Reflect.get;var m=(c,t,e)=>z(d(c),e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@luzmo/icons");require("@luzmo/lucero/action-button");require("@luzmo/lucero/action-group");require("@luzmo/lucero/icon");const u=require("lit"),l=require("lit/decorators.js"),b=require("../edit-option-base-tFr8Qg2B.cjs"),g="luzmo-action-group{--luzmo-edit-option-action-button-group-button-background-hover: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-background-down: rgba( var(--luzmo-primary-rgb), .2 );--luzmo-edit-option-action-button-group-button-background-focus: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-content-color-default: var( --luzmo-font-color-disabled );--luzmo-edit-option-action-button-group-button-content-color-hover: var( --luzmo-font-color-hover );--luzmo-edit-option-action-button-group-button-content-color-down: var( --luzmo-font-color-down );--luzmo-edit-option-action-button-group-button-content-color-focus: var( --luzmo-font-color-focus )}luzmo-action-group[compact][quiet][emphasized]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-hover );--luzmo-action-button-background-color-down: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-focus: var( --luzmo-edit-option-action-button-group-button-background-focus );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-default );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-hover );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-focus: var( --luzmo-edit-option-action-button-group-button-content-color-focus )}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-default: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down )}";var h=Object.defineProperty,i=(c,t,e,f)=>{for(var r=void 0,s=c.length-1,p;s>=0;s--)(p=c[s])&&(r=p(t,e,r)||r);return r&&h(t,e,r),r};const v={alignBottom:o.luzmoAlignBottom,alignMiddle:o.luzmoAlignMiddle,alignTop:o.luzmoAlignTop,alignLeft:o.luzmoAlignLeft,alignCenter:o.luzmoAlignCenter,alignRight:o.luzmoAlignRight,ban:o.luzmoBan,borderSolid:o.luzmoBorderSolid,borderDashed:o.luzmoBorderDashed,borderDotted:o.luzmoBorderDotted,compress:o.luzmoCompress,expand:o.luzmoExpand,arrowsExpand:o.luzmoArrowsExpand,arrowsHorizontal:o.luzmoArrowsHorizontal,arrowsVertical:o.luzmoArrowsVertical,italic:o.luzmoItalic,bold:o.luzmoBold,underline:o.luzmoUnderline,rows:o.luzmoRows,columns:o.luzmoColumns,table:o.luzmoTable},a=class a extends b.LuzmoEditOptionBase{constructor(){super(...arguments),this.values={},this.disabled=!1}_handleEvent(){const t=this.selects==="multiple"?this.actionGroup?.selected:this.actionGroup?.selected?.[0];this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:t}}))}_generateButtonContents(t){return typeof t=="string"?u.html`${t}`:t.iconName||t.icon?u.html`
|
|
21
21
|
<luzmo-icon
|
|
22
22
|
slot="icon"
|
|
23
23
|
.size=${this.size}
|
|
24
|
-
.icon=${t.icon??
|
|
24
|
+
.icon=${t.icon??v[t.iconName]}
|
|
25
25
|
.label=${t.label??""}
|
|
26
26
|
></luzmo-icon>
|
|
27
27
|
${t.buttonText??""}
|
|
28
|
-
`:
|
|
28
|
+
`:u.html`${t.buttonText??""}`}_generateActionButtons(){return Object.entries(this.values).map(([t,e])=>u.html`
|
|
29
29
|
<luzmo-action-button value=${t} ?disabled=${this.disabled}>
|
|
30
|
-
${this._generateButtonContents(
|
|
31
|
-
${
|
|
30
|
+
${this._generateButtonContents(e)}
|
|
31
|
+
${e.label?u.html`<luzmo-tooltip
|
|
32
32
|
self-managed
|
|
33
33
|
placement="top"
|
|
34
34
|
size=${this.size}
|
|
35
35
|
>
|
|
36
|
-
${
|
|
36
|
+
${e.label}
|
|
37
37
|
</luzmo-tooltip>`:""}
|
|
38
38
|
</luzmo-action-button>
|
|
39
|
-
`)}renderController(){const t=this._generateActionButtons();return
|
|
39
|
+
`)}renderController(){const t=this._generateActionButtons();return u.html`
|
|
40
40
|
<luzmo-action-group
|
|
41
41
|
compact
|
|
42
42
|
quiet
|
|
@@ -49,4 +49,4 @@
|
|
|
49
49
|
>
|
|
50
50
|
${t}
|
|
51
51
|
</luzmo-action-group>
|
|
52
|
-
`}};a.styles=[...
|
|
52
|
+
`}};a.styles=[...m(a,a,"styles"),u.unsafeCSS(g)];let n=a;i([l.property({type:Array})],n.prototype,"values");i([l.property({type:Boolean,reflect:!0})],n.prototype,"disabled");i([l.property({type:String})],n.prototype,"selects");i([l.property({type:Array})],n.prototype,"value");i([l.property({type:Array})],n.prototype,"default");i([l.query("luzmo-action-group")],n.prototype,"actionGroup");customElements.get("luzmo-edit-option-action-button-group")||customElements.define("luzmo-edit-option-action-button-group",n);exports.LuzmoEditOptionActionButtonGroup=n;
|