@luzmo/analytics-components-kit 1.0.6 → 1.0.7
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/README.md +15 -4
- package/angular/README.md +40 -0
- package/angular/components/ai-chat-empty-state.ts +98 -0
- package/angular/components/ai-chat.ts +412 -0
- package/angular/components/ai-interaction-textarea.ts +256 -0
- package/angular/components/data-field-level.ts +130 -0
- package/angular/components/data-field-panel.ts +256 -0
- package/angular/components/data-field.ts +130 -0
- package/angular/components/data-fields-select.ts +212 -0
- package/angular/components/dataset-icon.ts +83 -0
- package/angular/components/dataset-selector-list.ts +140 -0
- package/angular/components/dataset-selector-row.ts +143 -0
- package/angular/components/display-settings-binning.ts +92 -0
- package/angular/components/display-settings-datetime.ts +100 -0
- package/angular/components/display-settings-grand-totals.ts +92 -0
- package/angular/components/display-settings-numeric.ts +113 -0
- package/angular/components/display-settings-period-over-period.ts +107 -0
- package/angular/components/display-settings.ts +227 -0
- package/angular/components/filter-expression-picker.ts +168 -0
- package/angular/components/filter-item.ts +175 -0
- package/angular/components/filter-parameter-picker.ts +155 -0
- package/angular/components/filter-value-picker-datetime.ts +125 -0
- package/angular/components/filter-value-picker-hierarchy.ts +146 -0
- package/angular/components/filter-value-picker-numeric.ts +146 -0
- package/angular/components/filter-value-picker.ts +160 -0
- package/angular/components/filters.ts +209 -0
- package/angular/components/formula-editor.ts +229 -0
- package/angular/components/formula-field.ts +198 -0
- package/angular/components/formula.ts +170 -0
- package/angular/components/interactive-viz-item.ts +186 -0
- package/angular/components/item-grid-item-actions-menu.ts +113 -0
- package/angular/components/item-grid.ts +242 -0
- package/angular/components/item-option-action-button-group.ts +105 -0
- package/angular/components/item-option-color-palette-picker.ts +126 -0
- package/angular/components/item-option-color-picker.ts +134 -0
- package/angular/components/item-option-color-range.ts +168 -0
- package/angular/components/item-option-multi-language-field.ts +133 -0
- package/angular/components/item-option-number-field.ts +161 -0
- package/angular/components/item-option-panel.ts +149 -0
- package/angular/components/item-option-picker.ts +120 -0
- package/angular/components/item-option-position-picker.ts +98 -0
- package/angular/components/item-option-positions-number-field.ts +140 -0
- package/angular/components/item-option-radio-button-group.ts +119 -0
- package/angular/components/item-option-slider.ts +126 -0
- package/angular/components/item-option-switch.ts +98 -0
- package/angular/components/item-option-text-field.ts +112 -0
- package/angular/components/item-option.ts +163 -0
- package/angular/components/item-slot-drop-panel.ts +236 -0
- package/angular/components/item-slot-drop.ts +231 -0
- package/angular/components/item-slot-picker-panel.ts +299 -0
- package/angular/components/item-slot-picker.ts +241 -0
- package/angular/components/slot-menu-list.ts +121 -0
- package/angular/components/slot-menu.ts +304 -0
- package/angular/components/viz-item-menu.ts +118 -0
- package/angular/esm/components/ai-chat-empty-state.d.ts +39 -0
- package/angular/esm/components/ai-chat-empty-state.js +99 -0
- package/angular/esm/components/ai-chat.d.ts +137 -0
- package/angular/esm/components/ai-chat.js +423 -0
- package/angular/esm/components/ai-interaction-textarea.d.ts +97 -0
- package/angular/esm/components/ai-interaction-textarea.js +273 -0
- package/angular/esm/components/data-field-level.d.ts +50 -0
- package/angular/esm/components/data-field-level.js +129 -0
- package/angular/esm/components/data-field-panel.d.ts +86 -0
- package/angular/esm/components/data-field-panel.js +268 -0
- package/angular/esm/components/data-field.d.ts +50 -0
- package/angular/esm/components/data-field.js +129 -0
- package/angular/esm/components/data-fields-select.d.ts +81 -0
- package/angular/esm/components/data-fields-select.js +227 -0
- package/angular/esm/components/dataset-icon.d.ts +34 -0
- package/angular/esm/components/dataset-icon.js +86 -0
- package/angular/esm/components/dataset-selector-list.d.ts +53 -0
- package/angular/esm/components/dataset-selector-list.js +147 -0
- package/angular/esm/components/dataset-selector-row.d.ts +53 -0
- package/angular/esm/components/dataset-selector-row.js +145 -0
- package/angular/esm/components/display-settings-binning.d.ts +37 -0
- package/angular/esm/components/display-settings-binning.js +91 -0
- package/angular/esm/components/display-settings-datetime.d.ts +40 -0
- package/angular/esm/components/display-settings-datetime.js +99 -0
- package/angular/esm/components/display-settings-grand-totals.d.ts +37 -0
- package/angular/esm/components/display-settings-grand-totals.js +91 -0
- package/angular/esm/components/display-settings-numeric.d.ts +45 -0
- package/angular/esm/components/display-settings-numeric.js +115 -0
- package/angular/esm/components/display-settings-period-over-period.d.ts +44 -0
- package/angular/esm/components/display-settings-period-over-period.js +107 -0
- package/angular/esm/components/display-settings.d.ts +83 -0
- package/angular/esm/components/display-settings.js +231 -0
- package/angular/esm/components/filter-expression-picker.d.ts +64 -0
- package/angular/esm/components/filter-expression-picker.js +179 -0
- package/angular/esm/components/filter-item.d.ts +63 -0
- package/angular/esm/components/filter-item.js +187 -0
- package/angular/esm/components/filter-parameter-picker.d.ts +56 -0
- package/angular/esm/components/filter-parameter-picker.js +151 -0
- package/angular/esm/components/filter-value-picker-datetime.d.ts +47 -0
- package/angular/esm/components/filter-value-picker-datetime.js +131 -0
- package/angular/esm/components/filter-value-picker-hierarchy.d.ts +53 -0
- package/angular/esm/components/filter-value-picker-hierarchy.js +155 -0
- package/angular/esm/components/filter-value-picker-numeric.d.ts +53 -0
- package/angular/esm/components/filter-value-picker-numeric.js +155 -0
- package/angular/esm/components/filter-value-picker.d.ts +57 -0
- package/angular/esm/components/filter-value-picker.js +171 -0
- package/angular/esm/components/filters.d.ts +75 -0
- package/angular/esm/components/filters.js +215 -0
- package/angular/esm/components/formula-editor.d.ts +78 -0
- package/angular/esm/components/formula-editor.js +236 -0
- package/angular/esm/components/formula-field.d.ts +70 -0
- package/angular/esm/components/formula-field.js +209 -0
- package/angular/esm/components/formula.d.ts +60 -0
- package/angular/esm/components/formula.js +177 -0
- package/angular/esm/components/interactive-viz-item.d.ts +63 -0
- package/angular/esm/components/interactive-viz-item.js +188 -0
- package/angular/esm/components/item-grid-item-actions-menu.d.ts +45 -0
- package/angular/esm/components/item-grid-item-actions-menu.js +115 -0
- package/angular/esm/components/item-grid.d.ts +80 -0
- package/angular/esm/components/item-grid.js +245 -0
- package/angular/esm/components/item-option-action-button-group.d.ts +41 -0
- package/angular/esm/components/item-option-action-button-group.js +107 -0
- package/angular/esm/components/item-option-color-palette-picker.d.ts +48 -0
- package/angular/esm/components/item-option-color-palette-picker.js +131 -0
- package/angular/esm/components/item-option-color-picker.d.ts +51 -0
- package/angular/esm/components/item-option-color-picker.js +139 -0
- package/angular/esm/components/item-option-color-range.d.ts +66 -0
- package/angular/esm/components/item-option-color-range.js +179 -0
- package/angular/esm/components/item-option-multi-language-field.d.ts +50 -0
- package/angular/esm/components/item-option-multi-language-field.js +139 -0
- package/angular/esm/components/item-option-number-field.d.ts +58 -0
- package/angular/esm/components/item-option-number-field.js +171 -0
- package/angular/esm/components/item-option-panel.d.ts +54 -0
- package/angular/esm/components/item-option-panel.js +155 -0
- package/angular/esm/components/item-option-picker.d.ts +46 -0
- package/angular/esm/components/item-option-picker.js +123 -0
- package/angular/esm/components/item-option-position-picker.d.ts +39 -0
- package/angular/esm/components/item-option-position-picker.js +99 -0
- package/angular/esm/components/item-option-positions-number-field.d.ts +54 -0
- package/angular/esm/components/item-option-positions-number-field.js +147 -0
- package/angular/esm/components/item-option-radio-button-group.d.ts +45 -0
- package/angular/esm/components/item-option-radio-button-group.js +123 -0
- package/angular/esm/components/item-option-slider.d.ts +46 -0
- package/angular/esm/components/item-option-slider.js +131 -0
- package/angular/esm/components/item-option-switch.d.ts +40 -0
- package/angular/esm/components/item-option-switch.js +99 -0
- package/angular/esm/components/item-option-text-field.d.ts +44 -0
- package/angular/esm/components/item-option-text-field.js +115 -0
- package/angular/esm/components/item-option.d.ts +58 -0
- package/angular/esm/components/item-option.js +171 -0
- package/angular/esm/components/item-slot-drop-panel.d.ts +82 -0
- package/angular/esm/components/item-slot-drop-panel.js +249 -0
- package/angular/esm/components/item-slot-drop.d.ts +77 -0
- package/angular/esm/components/item-slot-drop.js +227 -0
- package/angular/esm/components/item-slot-picker-panel.d.ts +97 -0
- package/angular/esm/components/item-slot-picker-panel.js +309 -0
- package/angular/esm/components/item-slot-picker.d.ts +86 -0
- package/angular/esm/components/item-slot-picker.js +259 -0
- package/angular/esm/components/slot-menu-list.d.ts +46 -0
- package/angular/esm/components/slot-menu-list.js +123 -0
- package/angular/esm/components/slot-menu.d.ts +104 -0
- package/angular/esm/components/slot-menu.js +300 -0
- package/angular/esm/components/viz-item-menu.d.ts +42 -0
- package/angular/esm/components/viz-item-menu.js +111 -0
- package/angular/esm/index.d.ts +107 -0
- package/angular/esm/index.js +213 -0
- package/angular/index.ts +219 -0
- package/angular/package.json +40 -0
- package/angular/tsconfig.json +36 -0
- package/angular/type-fallbacks.d.ts +0 -0
- package/angular/utils/ai-prompt/attachments.d.ts +10 -0
- package/angular/utils/ai-prompt/dictation.d.ts +50 -0
- package/angular/utils/ai-prompt/image-upload.d.ts +12 -0
- package/angular/utils/ai-prompt/index.d.ts +6 -0
- package/angular/utils/ai-prompt/tests/attachments.test.d.ts +1 -0
- package/angular/utils/ai-prompt/tests/dictation.test.d.ts +1 -0
- package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +1 -0
- 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 +5 -0
- package/angular/utils/base/localized-mixin.d.ts +22 -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-data-fields-for-datasets.d.ts +22 -0
- package/angular/utils/data-broker/index.d.ts +257 -0
- package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +12 -0
- package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +1 -0
- package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +1 -0
- package/angular/utils/drag/draggable.d.ts +13 -0
- package/angular/utils/drag/pragmatic-element-adapter.d.ts +2 -0
- package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +1 -0
- package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +1 -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/get-dataset-name.d.ts +2 -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/formatter/tests/calculate-duration.test.d.ts +1 -0
- package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +1 -0
- package/angular/utils/formatter/tests/default-local-formats.test.d.ts +1 -0
- package/angular/utils/formatter/tests/formatter.test.d.ts +1 -0
- package/angular/utils/formatter/tests/localize.test.d.ts +1 -0
- package/angular/utils/formula/base/formula-base.d.ts +117 -0
- package/angular/utils/formula/base/formula-input-base.d.ts +62 -0
- package/angular/utils/formula/codemirror/actions.d.ts +47 -0
- package/angular/utils/formula/codemirror/drop-cursor.d.ts +15 -0
- package/angular/utils/formula/codemirror/icon-element.d.ts +7 -0
- package/angular/utils/formula/codemirror/parser.d.ts +16 -0
- package/angular/utils/formula/codemirror/tests/actions.test.d.ts +1 -0
- package/angular/utils/formula/codemirror/theme.d.ts +20 -0
- package/angular/utils/formula/codemirror/widget.d.ts +18 -0
- package/angular/utils/formula/config/aggregations.d.ts +9 -0
- package/angular/utils/formula/config/build-datasets.d.ts +10 -0
- package/angular/utils/formula/config/expression-helpers.d.ts +42 -0
- package/angular/utils/formula/config/functions.d.ts +3 -0
- package/angular/utils/formula/config/groupings.d.ts +9 -0
- package/angular/utils/formula/config/regex.d.ts +39 -0
- package/angular/utils/formula/config/resolve-column-presentation.d.ts +19 -0
- package/angular/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
- package/angular/utils/formula/config/validate-expression.d.ts +19 -0
- package/angular/utils/formula/load-formula-codemirror.d.ts +4 -0
- package/angular/utils/formula/render-explanation-tooltip.d.ts +7 -0
- package/angular/utils/formula/store/formula-display-store.d.ts +93 -0
- package/angular/utils/formula/store/formula-editor-context.d.ts +8 -0
- package/angular/utils/formula/store/formula-editor-store.d.ts +46 -0
- package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +1 -0
- package/angular/utils/formula/tests/validate-expression.test.d.ts +1 -0
- package/angular/utils/get-css-variable.d.ts +1 -0
- package/angular/utils/index.d.ts +10 -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/slot-content/ad-hoc-slot-content.d.ts +7 -0
- package/angular/utils/slot-content/render-calculation-label.d.ts +7 -0
- package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
- package/angular/utils/slot-state/slot-context.d.ts +4 -0
- package/angular/utils/slot-state/slot-store.d.ts +39 -0
- package/angular/utils/store/base-store.d.ts +162 -0
- package/angular/utils/store/dashboard-store.d.ts +49 -0
- package/angular/utils/store/index.d.ts +135 -0
- package/angular/utils/store/item-store.d.ts +33 -0
- package/angular/utils/store/store-registry.d.ts +170 -0
- package/angular/utils/store/tests/dashboard-store.test.d.ts +1 -0
- package/angular/utils/store/tests/item-store.test.d.ts +1 -0
- package/angular/utils/store/tests/store-registry.test.d.ts +1 -0
- package/angular/utils/store/types.d.ts +270 -0
- package/angular/utils/switch-item/index.d.ts +34 -0
- package/angular/utils/switch-item/slot-role-classification.d.ts +31 -0
- package/angular/utils/switch-item/stories/switch-item.stories.d.ts +17 -0
- package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +1 -0
- package/angular/utils/switch-item/tests/switch-item.test.d.ts +1 -0
- package/angular/utils/themes/bliss.d.ts +2 -0
- package/angular/utils/themes/classic-dark.d.ts +2 -0
- package/angular/utils/themes/classic.d.ts +2 -0
- package/angular/utils/themes/default-dark.d.ts +2 -0
- package/angular/utils/themes/default.d.ts +2 -0
- package/angular/utils/themes/index.d.ts +4 -0
- package/angular/utils/themes/orion.d.ts +2 -0
- package/angular/utils/themes/pinky.d.ts +2 -0
- package/angular/utils/themes/radiant.d.ts +2 -0
- package/angular/utils/themes/royale.d.ts +2 -0
- package/angular/utils/themes/seasonal.d.ts +2 -0
- package/angular/utils/themes/urban.d.ts +2 -0
- package/angular/utils/themes/vivid.d.ts +2 -0
- package/angular/utils/time/formats.const.d.ts +4 -0
- package/angular/utils/time/period-over-period-condition.const.d.ts +8 -0
- package/angular/utils/time/periods.const.d.ts +15 -0
- package/angular/utils/timezone/datetime-timezone.d.ts +25 -0
- package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
- package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +9 -0
- package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +30 -0
- package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +1 -0
- package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +1 -0
- package/angular/utils/types/tests/type-check.test.d.ts +1 -0
- package/angular/utils/types/type-check.d.ts +28 -0
- package/components/ad-hoc-slot-content-BwcFfXCV.cjs +20 -0
- package/components/ad-hoc-slot-content-hSlT62VS.js +29 -0
- package/components/ai-chat/ai-chat-events.d.ts +123 -0
- package/components/ai-chat/ai-chat-request.d.ts +20 -0
- package/components/ai-chat/ai-chat.d.ts +318 -0
- package/components/ai-chat/ai-prompt-types.d.ts +118 -0
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +46 -0
- package/components/ai-chat/empty-state/index.d.ts +8 -0
- package/components/ai-chat/empty-state/types.d.ts +14 -0
- package/components/ai-chat/index.cjs +20 -0
- package/components/ai-chat/index.d.ts +23 -0
- package/components/ai-chat/index.js +29 -0
- package/components/ai-chat/session/ai-chat-session-controller.d.ts +57 -0
- package/components/ai-chat/session/ai-chat-session-types.d.ts +101 -0
- package/components/ai-chat/session/ai-chat-session.d.ts +102 -0
- package/components/ai-chat/session/index.d.ts +2 -0
- package/components/ai-chat/stream/chunk-extractors.d.ts +27 -0
- package/components/ai-chat/stream/index.d.ts +52 -0
- package/components/ai-chat/stream/progress.d.ts +3 -0
- package/components/ai-chat/stream/registry.d.ts +6 -0
- package/components/ai-chat/stream/stream-processor.d.ts +2 -0
- package/components/ai-chat/stream/transport.d.ts +26 -0
- package/components/ai-chat/stream/types.d.ts +55 -0
- package/components/ai-chat-CDSRFmJK.js +4034 -0
- package/components/ai-chat-CVNU2mCV.cjs +319 -0
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +212 -0
- package/components/ai-interaction-textarea/index.cjs +20 -0
- package/components/ai-interaction-textarea/index.d.ts +8 -0
- package/components/ai-interaction-textarea/index.js +28 -0
- package/components/ai-interaction-textarea/types.d.ts +10 -0
- package/components/ai-interaction-textarea-BXDeplJF.cjs +93 -0
- package/components/ai-interaction-textarea-BiMbUGCy.js +785 -0
- package/components/area-chart-options.config-Dc4P64YS.js +229 -0
- package/components/area-chart-positioning.config-SLtTkKJB.js +55 -0
- package/components/area-chart-positioning.config-dwRUFC--.cjs +20 -0
- package/components/area-chart-slots.config-DdPO34_g.js +55 -0
- package/components/bar-chart-options.config-B7tknpxM.js +300 -0
- package/components/bar-chart-positioning.config-CcQ2iQdl.cjs +20 -0
- package/components/bar-chart-positioning.config-Ch4sVyJS.js +59 -0
- package/components/bar-chart-slots.config-BnbZRLIr.js +50 -0
- package/components/base-2sulw8ws.js +249 -0
- package/components/base-DYRe99_q.cjs +20 -0
- package/components/box-plot-options.config-D6Wvmx36.js +356 -0
- package/components/box-plot-positioning.config-Bb7r-Rfl.js +48 -0
- package/components/box-plot-positioning.config-Dwtiqho4.cjs +20 -0
- package/components/box-plot-slots.config-D6F2R2dw.js +40 -0
- package/components/bubble-chart-options.config-CDY6pFK6.js +135 -0
- package/components/bubble-chart-positioning.config-Bp_l4Cw1.cjs +20 -0
- package/components/bubble-chart-positioning.config-Q7mIfpcz.js +55 -0
- package/components/bubble-chart-slots.config-BJdtdpS0.js +47 -0
- package/components/bullet-chart-options.config-B4vBSWrH.js +75 -0
- package/components/bullet-chart-positioning.config-B7aXCajU.js +56 -0
- package/components/bullet-chart-positioning.config-sj7E3xEM.cjs +20 -0
- package/components/bullet-chart-slots.config-NeUTKgYI.js +46 -0
- package/components/choropleth-map-options.config-6-xaMCeR.js +348 -0
- package/components/choropleth-map-positioning.config-CtoJov9H.js +55 -0
- package/components/choropleth-map-positioning.config-DM-iNbgs.cjs +20 -0
- package/components/choropleth-map-slots.config-BbBwTeuw.js +53 -0
- package/components/circle-pack-chart-options.config-DWkyGqA_.js +54 -0
- package/components/circle-pack-chart-positioning.config-BgxnBOQT.js +48 -0
- package/components/circle-pack-chart-positioning.config-Cs9xMDpi.cjs +20 -0
- package/components/circle-pack-chart-slots.config-CJFjalBn.js +38 -0
- package/components/circular-gauge-options.config-D_xHWhBy.js +188 -0
- package/components/circular-gauge-positioning.config-Bzulob5F.cjs +20 -0
- package/components/circular-gauge-positioning.config-FEkbw6hK.js +48 -0
- package/components/circular-gauge-slots.config-DAKsa5Hq.js +39 -0
- package/components/column-chart-options.config-B_a7iN-c.js +299 -0
- package/components/column-chart-positioning.config-9ho9oUo8.cjs +20 -0
- package/components/column-chart-positioning.config-BeVOSQaJ.js +55 -0
- package/components/column-chart-slots.config-Bpr-WaCi.js +50 -0
- package/components/combination-chart-options.config-l4szBpws.js +150 -0
- package/components/combination-chart-positioning.config-CaShl4vv.cjs +20 -0
- package/components/combination-chart-positioning.config-D4VUK54k.js +48 -0
- package/components/combination-chart-slots.config-u-QLoQQ-.js +43 -0
- package/components/conditional-number-options.config-DB4_BYN2.js +205 -0
- package/components/conditional-number-positioning.config-BEMjjhdi.cjs +20 -0
- package/components/conditional-number-positioning.config-C-LpjCJN.js +48 -0
- package/components/conditional-number-slots.config-CiLUXRSe.js +39 -0
- package/components/convert-data-field-to-slot-content-C6IIqU7G.js +53 -0
- package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +20 -0
- package/components/convert-datasets-to-data-fields-B13rl1an.cjs +20 -0
- package/components/convert-datasets-to-data-fields-PmQzeVLG.js +68 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.d.ts +1 -0
- package/components/data-field/index.js +1 -1
- package/components/data-field-Dz0XFrep.js +121 -0
- package/components/data-field-lGJ557o4.cjs +54 -0
- package/components/data-field-level/data-field-level.d.ts +40 -0
- package/components/data-field-level/helpers/generate-preview.d.ts +9 -0
- package/components/data-field-level/index.cjs +20 -0
- package/components/data-field-level/index.d.ts +8 -0
- package/components/data-field-level/index.js +28 -0
- package/components/data-field-level-B9r4ucP6.cjs +55 -0
- package/components/data-field-level-DJoidlHN.js +247 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.d.ts +1 -0
- package/components/data-field-panel/index.js +1 -1
- package/components/data-field-panel-BzyjbJO5.cjs +87 -0
- package/components/data-field-panel-CdeJxZCr.js +385 -0
- package/components/data-fields-select/data-fields-select.d.ts +133 -0
- package/components/data-fields-select/index.cjs +20 -0
- package/components/data-fields-select/index.d.ts +9 -0
- package/components/data-fields-select/index.js +28 -0
- package/components/data-fields-select/types.d.ts +4 -0
- package/components/data-fields-select-BBzzUG2u.cjs +41 -0
- package/components/data-fields-select-BRBBrS-x.js +280 -0
- package/components/dataset-icon/dataset-icon.d.ts +45 -0
- package/components/dataset-icon/index.cjs +20 -0
- package/components/dataset-icon/index.d.ts +8 -0
- package/components/dataset-icon/index.js +28 -0
- package/components/dataset-icon/types.d.ts +11 -0
- package/components/dataset-icon-BAV0S4sZ.cjs +64 -0
- package/components/dataset-icon-CWT5Ju8w.js +125 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +102 -0
- package/components/dataset-selector-list/index.cjs +20 -0
- package/components/dataset-selector-list/index.d.ts +8 -0
- package/components/dataset-selector-list/index.js +28 -0
- package/components/dataset-selector-list-DGCh1bvb.js +313 -0
- package/components/dataset-selector-list-xF3yKGan.cjs +75 -0
- package/components/dataset-selector-row/dataset-selector-row.d.ts +89 -0
- package/components/dataset-selector-row/index.cjs +20 -0
- package/components/dataset-selector-row/index.d.ts +8 -0
- package/components/dataset-selector-row/index.js +28 -0
- package/components/dataset-selector-row-BbnjxfIz.js +273 -0
- package/components/dataset-selector-row-fmrY3y86.cjs +79 -0
- package/components/date-comparison-filter-options.config-BSzzAJPM.js +126 -0
- package/components/date-comparison-filter-slots.config-Cvze969w.js +33 -0
- package/components/date-filter-options.config-C6VvDjd8.js +118 -0
- package/components/date-filter-slots.config-Y8hmQh0S.js +37 -0
- package/components/de-BzcAVqyW.cjs +20 -0
- package/components/de-CRrCVuH7.js +503 -0
- package/components/decompose-numeric-format-DGJua3rU.cjs +20 -0
- package/components/decompose-numeric-format-DS0j2wa1.js +36 -0
- package/components/decorate-DCJt-2rt.cjs +20 -0
- package/components/decorate-DyMgX_Uh.js +28 -0
- package/components/display-settings/display-settings.d.ts +117 -0
- package/components/display-settings/index.cjs +20 -0
- package/components/display-settings/index.d.ts +8 -0
- package/components/display-settings/index.js +28 -0
- package/components/display-settings/types.d.ts +9 -0
- package/components/display-settings-C9OQ4Eou.js +313 -0
- package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
- package/components/display-settings-binning/index.cjs +20 -0
- package/components/display-settings-binning/index.d.ts +8 -0
- package/components/display-settings-binning/index.js +28 -0
- package/components/display-settings-binning-B8E2H5cY.js +110 -0
- package/components/display-settings-binning-BBNL97l9.cjs +56 -0
- package/components/display-settings-datetime/display-settings-datetime.d.ts +86 -0
- package/components/display-settings-datetime/index.cjs +20 -0
- package/components/display-settings-datetime/index.d.ts +8 -0
- package/components/display-settings-datetime/index.js +28 -0
- package/components/display-settings-datetime-BBzvzwl5.js +413 -0
- package/components/display-settings-datetime-czjk5Msv.cjs +217 -0
- package/components/display-settings-eSQCidqh.cjs +140 -0
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +29 -0
- package/components/display-settings-grand-totals/index.cjs +20 -0
- package/components/display-settings-grand-totals/index.d.ts +8 -0
- package/components/display-settings-grand-totals/index.js +28 -0
- package/components/display-settings-grand-totals-CF01m8x-.js +89 -0
- package/components/display-settings-grand-totals-RwMnGwFZ.cjs +44 -0
- package/components/display-settings-numeric/display-settings-numeric.d.ts +82 -0
- package/components/display-settings-numeric/helpers/constants.d.ts +19 -0
- package/components/display-settings-numeric/index.cjs +20 -0
- package/components/display-settings-numeric/index.d.ts +8 -0
- package/components/display-settings-numeric/index.js +28 -0
- package/components/display-settings-numeric-BcpwYX16.js +479 -0
- package/components/display-settings-numeric-C4X7oOEU.cjs +190 -0
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +68 -0
- package/components/display-settings-period-over-period/helpers/constants.d.ts +44 -0
- package/components/display-settings-period-over-period/index.cjs +20 -0
- package/components/display-settings-period-over-period/index.d.ts +8 -0
- package/components/display-settings-period-over-period/index.js +28 -0
- package/components/display-settings-period-over-period-B8UNYZ0I.js +433 -0
- package/components/display-settings-period-over-period-BG9YAcCw.cjs +229 -0
- package/components/donut-chart-options.config-CjtEDiJI.js +207 -0
- package/components/donut-chart-positioning.config-CaADC7Qr.js +48 -0
- package/components/donut-chart-positioning.config-Dfws3ojS.cjs +20 -0
- package/components/donut-chart-slots.config-DilGk7ju.js +39 -0
- package/components/dropdown-filter-options.config-DFJKns3l.js +153 -0
- package/components/dropdown-filter-slots.config-7heZtoEY.js +38 -0
- package/components/en-CcLhGxIh.js +21 -0
- package/components/en-GB-DzkdeUQh.js +28 -0
- package/components/en-GB-uxY5qmIM.cjs +20 -0
- package/components/en-US-CcLhGxIh.js +21 -0
- package/components/en-US-q_Ruzags.cjs +20 -0
- package/components/en-q_Ruzags.cjs +20 -0
- package/components/es-BIgv-ijQ.js +503 -0
- package/components/es-mPmtD7j4.cjs +20 -0
- package/components/evolution-number-options.config-C3tU650w.js +228 -0
- package/components/evolution-number-positioning.config-C-OV1wpL.js +48 -0
- package/components/evolution-number-positioning.config-CI_2m2Sr.cjs +20 -0
- package/components/evolution-number-slots.config-noZzIHkT.js +37 -0
- package/components/filter-expression-picker/filter-expression-picker.d.ts +73 -0
- package/components/filter-expression-picker/index.cjs +20 -0
- package/components/filter-expression-picker/index.d.ts +7 -0
- package/components/filter-expression-picker/index.js +28 -0
- package/components/filter-expression-picker-CH2Fna8C.js +425 -0
- package/components/filter-expression-picker-_mfcXZ-n.cjs +38 -0
- package/components/filter-item/filter-item.d.ts +99 -0
- package/components/filter-item/index.cjs +20 -0
- package/components/filter-item/index.d.ts +7 -0
- package/components/filter-item/index.js +28 -0
- package/components/filter-item-5HCSM9cu.cjs +71 -0
- package/components/filter-item-CL3S9HOx.js +301 -0
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +87 -0
- package/components/filter-parameter-picker/filter-parameter-picker.helpers.d.ts +8 -0
- package/components/filter-parameter-picker/index.cjs +20 -0
- package/components/filter-parameter-picker/index.d.ts +9 -0
- package/components/filter-parameter-picker/index.js +28 -0
- package/components/filter-parameter-picker/types.d.ts +4 -0
- package/components/filter-parameter-picker-CU48aEOS.js +363 -0
- package/components/filter-parameter-picker-CxbAY5hy.cjs +123 -0
- package/components/filter-value-picker/filter-value-picker.d.ts +66 -0
- package/components/filter-value-picker/index.cjs +20 -0
- package/components/filter-value-picker/index.d.ts +7 -0
- package/components/filter-value-picker/index.js +28 -0
- package/components/filter-value-picker-CD8DjcHo.js +151 -0
- package/components/filter-value-picker-CRrUhngj.cjs +60 -0
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +44 -0
- package/components/filter-value-picker-datetime/index.cjs +20 -0
- package/components/filter-value-picker-datetime/index.d.ts +7 -0
- package/components/filter-value-picker-datetime/index.js +28 -0
- package/components/filter-value-picker-datetime-DS7IK9aN.js +139 -0
- package/components/filter-value-picker-datetime-dXaHpCRX.cjs +42 -0
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +83 -0
- package/components/filter-value-picker-hierarchy/index.cjs +20 -0
- package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
- package/components/filter-value-picker-hierarchy/index.js +28 -0
- package/components/filter-value-picker-hierarchy-k0T56CvH.js +232 -0
- package/components/filter-value-picker-hierarchy-kwnEzxIk.cjs +47 -0
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +83 -0
- package/components/filter-value-picker-numeric/index.cjs +20 -0
- package/components/filter-value-picker-numeric/index.d.ts +7 -0
- package/components/filter-value-picker-numeric/index.js +28 -0
- package/components/filter-value-picker-numeric-BVei4Vlc.cjs +48 -0
- package/components/filter-value-picker-numeric-BaQe4r82.js +219 -0
- package/components/filters/filters.d.ts +38 -4
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.d.ts +4 -1
- package/components/filters/index.js +2 -2
- package/components/filters/transformations/clean-filters.d.ts +37 -0
- package/components/filters/transformations/filter-format.d.ts +54 -0
- package/components/filters/transformations/transform-filters.d.ts +27 -12
- package/components/filters/types.d.ts +48 -3
- package/components/filters-B70hF2NT.js +742 -0
- package/components/filters-ms2gFstA.cjs +153 -0
- package/components/formatter-BeXmurVe.cjs +20 -0
- package/components/formatter-Cq5dFCyU.js +1473 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/formula-DdgD312W.js +138 -0
- package/components/formula-codemirror/formula-codemirror.d.ts +79 -0
- package/components/formula-codemirror/index.d.ts +7 -0
- package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +125 -0
- package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +7 -0
- package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +28 -0
- package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +7 -0
- package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +38 -0
- package/components/formula-codemirror-D3Z1Qa0J.js +12018 -0
- package/components/formula-codemirror-GoFCSp6r.cjs +215 -0
- package/components/formula-display-store-bPGDv_xk.js +1093 -0
- package/components/formula-display-store-eE3zaCyB.cjs +20 -0
- package/components/formula-draggable-field/formula-draggable-field.d.ts +53 -0
- package/components/formula-draggable-field/index.d.ts +8 -0
- package/components/formula-draggable-field/types.d.ts +24 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.d.ts +1 -0
- package/components/formula-editor/index.js +4 -3
- package/components/formula-editor-8wWzGGJr.cjs +224 -0
- package/components/formula-editor-BnWiiFr5.js +690 -0
- package/components/formula-field/formula-field.d.ts +20 -0
- package/components/formula-field/index.cjs +20 -0
- package/components/formula-field/index.d.ts +7 -0
- package/components/formula-field/index.js +28 -0
- package/components/formula-field-DlEgUu58.js +40 -0
- package/components/formula-field-IHf6I8mL.cjs +20 -0
- package/components/formula-glPlLx_5.cjs +45 -0
- package/components/formula-input-base-7I069pOJ.js +236 -0
- package/components/formula-input-base-D5yx7RYX.cjs +49 -0
- package/components/fr-BHUhOl6R.cjs +20 -0
- package/components/fr-CI9fC-NM.js +503 -0
- package/components/funnel-chart-options.config-6ifTq7Xh.js +207 -0
- package/components/funnel-chart-positioning.config-CNEeOwuT.js +48 -0
- package/components/funnel-chart-positioning.config-Cz8gQRh_.cjs +20 -0
- package/components/funnel-chart-slots.config-BWszdEe8.js +43 -0
- package/components/get-css-variable-B8sJUuig.cjs +20 -0
- package/components/get-css-variable-r1spgqX0.js +63 -0
- package/components/get-dataset-name-Bae0I2_J.cjs +20 -0
- package/components/get-dataset-name-OJK38mEs.js +27 -0
- package/components/groupings-B0qMZHSd.cjs +20 -0
- package/components/groupings-BZJTnpwR.js +52 -0
- package/components/heat-map-options.config-CezceVM3.js +224 -0
- package/components/heat-map-positioning.config-CEH6qyrN.cjs +20 -0
- package/components/heat-map-positioning.config-D-Ba4Ts_.js +48 -0
- package/components/heat-map-slots.config-Cwun49Qb.js +37 -0
- package/components/heat-table-options.config-C7kvRE10.js +372 -0
- package/components/heat-table-positioning.config-DCnowqOc.js +55 -0
- package/components/heat-table-positioning.config-DWNETZMx.cjs +20 -0
- package/components/heat-table-slots.config-nGB_B2mh.js +49 -0
- package/components/hexbin-map-options.config-8brGMkt_.js +276 -0
- package/components/hexbin-map-positioning.config-Br0pjvMN.js +48 -0
- package/components/hexbin-map-positioning.config-DoiUVZ8h.cjs +20 -0
- package/components/hexbin-map-slots.config-BK-ftozd.js +37 -0
- package/components/image-options.config-Cz55iN7J.js +153 -0
- package/components/image-slots.config-kvHutBFK.js +24 -0
- package/components/index.cjs +1 -793
- package/components/index.js +65 -6227
- package/components/interactive-viz-item/helpers/chart-helpers.d.ts +7 -0
- package/components/interactive-viz-item/index.cjs +20 -0
- package/components/interactive-viz-item/index.d.ts +10 -0
- package/components/interactive-viz-item/index.js +28 -0
- package/components/interactive-viz-item/interactive-viz-item.d.ts +96 -0
- package/components/interactive-viz-item/types.d.ts +117 -0
- package/components/interactive-viz-item-DZoRqeJW.cjs +247 -0
- package/components/interactive-viz-item-Dogksvpq.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/item-grid-VPRvzGCa.cjs +113 -0
- package/components/item-grid-ZQpp1brq.js +4559 -0
- package/components/item-menu/item-list/item-list.d.ts +37 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/item-option-B9tALelF.js +919 -0
- package/components/item-option-BRgOBMM0.cjs +252 -0
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/item-option-action-button-group-BYE7i8Zd.cjs +53 -0
- package/components/item-option-action-button-group-WrHKP761.js +118 -0
- package/components/item-option-base/item-option-base.d.ts +23 -0
- package/components/item-option-base-CTBIeARi.cjs +56 -0
- package/components/item-option-base-CuxvyS-a.js +123 -0
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/item-option-color-palette-picker-CyailqDd.cjs +40 -0
- package/components/item-option-color-palette-picker-eYAyoXM1.js +2041 -0
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/item-option-color-picker-D_x6FgZy.js +87 -0
- package/components/item-option-color-picker-DsfZKPDo.cjs +34 -0
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/item-option-color-range-CHSbql1w.js +220 -0
- package/components/item-option-color-range-tAMMKg6y.cjs +98 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/item-option-multi-language-field-D51cJ4BM.js +82 -0
- package/components/item-option-multi-language-field-DjWm-jWC.cjs +33 -0
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/item-option-number-field-Dep43Ym5.cjs +38 -0
- package/components/item-option-number-field-Df56sivV.js +102 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/item-option-panel-BYCfnDeP.js +183 -0
- package/components/item-option-panel-ClDspg51.cjs +67 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/item-option-picker-BCsB7psT.js +77 -0
- package/components/item-option-picker-CBfFgSKs.cjs +37 -0
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/item-option-position-picker-CXJGmmWF.js +117 -0
- package/components/item-option-position-picker-CYoOkH1m.cjs +32 -0
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/item-option-positions-number-field-CNUCVm78.cjs +49 -0
- package/components/item-option-positions-number-field-CkfSHCFO.js +164 -0
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/item-option-radio-button-group-CSyh4eS2.js +74 -0
- package/components/item-option-radio-button-group-ZIvbpJf9.cjs +37 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/item-option-slider-CTt5aYbb.js +96 -0
- package/components/item-option-slider-CaxIGDWN.cjs +33 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/item-option-switch-B91r65eW.js +69 -0
- package/components/item-option-switch-wEx5JkSe.cjs +30 -0
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/item-option-text-field-BLcYkH-j.cjs +33 -0
- package/components/item-option-text-field-BvSCGhuH.js +80 -0
- package/components/item-options-configs.js +45 -45
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.d.ts +2 -0
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop-Box1wnvM.js +331 -0
- package/components/item-slot-drop-n-lD8Zyh.cjs +91 -0
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/item-slot-drop-panel-KtZKw0Ly.js +355 -0
- package/components/item-slot-drop-panel-sCkQ0dUU.cjs +57 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker-Cm8o4A00.js +505 -0
- package/components/item-slot-picker-DKPE2NQn.cjs +174 -0
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/item-slot-picker-panel-DK5jRBYs.cjs +81 -0
- package/components/item-slot-picker-panel-DOHi_8UO.js +448 -0
- package/components/item-slots-configs.js +45 -45
- package/components/line-chart-options.config-OeRMkKMP.js +248 -0
- package/components/line-chart-positioning.config-C05IZ4Jj.cjs +20 -0
- package/components/line-chart-positioning.config-DQfyOkWV.js +55 -0
- package/components/line-chart-slots.config-C6LEwEwh.js +55 -0
- package/components/load-data-fields-for-datasets-BNnr8x3m.js +42 -0
- package/components/load-data-fields-for-datasets-CW4Voiex.cjs +20 -0
- package/components/localized-mixin-BForHr3t.cjs +20 -0
- package/components/localized-mixin-D-vXCJuU.js +45 -0
- package/components/marker-map-options.config-CtW7nl1C.js +117 -0
- package/components/marker-map-positioning.config-CD7n0uLB.js +48 -0
- package/components/marker-map-positioning.config-DOhXf-CR.cjs +20 -0
- package/components/marker-map-slots.config-Cyk-QFPT.js +37 -0
- package/components/nl-HLnZHvTS.js +503 -0
- package/components/nl-NxeHJ8X8.cjs +20 -0
- package/components/ohlc-chart-options.config-Db40TXcB.js +124 -0
- package/components/ohlc-chart-positioning.config-Bl-ckdlQ.js +78 -0
- package/components/ohlc-chart-positioning.config-CDf77OgH.cjs +20 -0
- package/components/ohlc-chart-slots.config-CQFi8BIT.js +68 -0
- package/components/parallel-coordinates-plot-options.config-Bw8T5EE4.js +42 -0
- package/components/parallel-coordinates-plot-positioning.config-DfsKsUdv.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-Tbzzr5L6.js +48 -0
- package/components/parallel-coordinates-plot-slots.config-D5o-5y_j.js +46 -0
- package/components/period-over-period-condition.const-BZ7j5Z5t.js +29 -0
- package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +20 -0
- package/components/pivot-table-options.config-gL2C_zvT.js +245 -0
- package/components/pivot-table-positioning.config-DwuKN2xz.cjs +20 -0
- package/components/pivot-table-positioning.config-_YDPeFQz.js +55 -0
- package/components/pivot-table-slots.config-Cl5z3IQo.js +55 -0
- package/components/pragmatic-element-adapter-C_7HSvGV.js +1252 -0
- package/components/pragmatic-element-adapter-DPWYJiW9.cjs +24 -0
- package/components/pyramid-chart-options.config-348RYXh8.js +260 -0
- package/components/pyramid-chart-positioning.config-7AJy2_zR.cjs +20 -0
- package/components/pyramid-chart-positioning.config-Btm_8m46.js +55 -0
- package/components/pyramid-chart-slots.config-DNzq2hMx.js +50 -0
- package/components/radar-chart-options.config-BeGjchnc.js +150 -0
- package/components/radar-chart-positioning.config-7Kx_uKbW.cjs +20 -0
- package/components/radar-chart-positioning.config-DWziVqMW.js +55 -0
- package/components/radar-chart-slots.config-CXgfvAkt.js +53 -0
- package/components/regular-table-options.config-Bf0VAtT_.js +148 -0
- package/components/regular-table-slots.config-DCkw4Xkq.js +35 -0
- package/components/route-map-options.config-DWG5127-.js +326 -0
- package/components/route-map-positioning.config-C4-2zLGp.js +66 -0
- package/components/route-map-positioning.config-DDgEAW4k.cjs +20 -0
- package/components/route-map-slots.config-DJ76FOsJ.js +59 -0
- package/components/sankey-diagram-options.config-DW72WBKU.js +126 -0
- package/components/sankey-diagram-positioning.config-BxVJaOKN.cjs +20 -0
- package/components/sankey-diagram-positioning.config-DQcUg8Cg.js +66 -0
- package/components/sankey-diagram-slots.config-BCc8P4j0.js +61 -0
- package/components/scatter-plot-options.config-CUyWy2xE.js +322 -0
- package/components/scatter-plot-positioning.config-D3xI_5P8.cjs +20 -0
- package/components/scatter-plot-positioning.config-DOgeShUF.js +77 -0
- package/components/scatter-plot-slots.config-BMTdhTZG.js +74 -0
- package/components/search-filter-options.config-B_qQjr68.js +103 -0
- package/components/search-filter-slots.config-qCILSYzs.js +39 -0
- package/components/set-locale-D9gR8t-s.js +43 -0
- package/components/set-locale-MQpiifTB.cjs +20 -0
- package/components/slicer-filter-options.config-DK62SCMp.js +235 -0
- package/components/slicer-filter-positioning.config-CiHfPrM5.js +48 -0
- package/components/slicer-filter-positioning.config-bN36DdLc.cjs +20 -0
- package/components/slicer-filter-slots.config-C9_NdJm4.js +44 -0
- package/components/slider-filter-options.config-CP5bXdih.js +72 -0
- package/components/slider-filter-slots.config-15eAAGVn.js +43 -0
- package/components/slot-menu/index.cjs +20 -0
- package/components/slot-menu/index.d.ts +10 -0
- package/components/slot-menu/index.js +28 -0
- package/components/slot-menu/slot-menu.d.ts +148 -0
- package/components/slot-menu/types.d.ts +24 -0
- package/components/slot-menu-K5QiEu6o.cjs +71 -0
- package/components/slot-menu-Qy35BZZ_.js +426 -0
- package/components/slot-menu-list/index.cjs +20 -0
- package/components/slot-menu-list/index.d.ts +8 -0
- package/components/slot-menu-list/index.js +28 -0
- package/components/slot-menu-list/slot-menu-list.d.ts +47 -0
- package/components/slot-menu-list-BKMbIFg1.js +347 -0
- package/components/slot-menu-list-DmQe7882.cjs +44 -0
- package/components/slot-role-classification-2wChhpcq.cjs +20 -0
- package/components/slot-role-classification-B8bkGhQ_.js +133 -0
- package/components/slots-config-Cd4xAG4H.cjs +20 -0
- package/components/slots-config-D3ivNWtC.js +76 -0
- package/components/speedometer-chart-options.config-CtWGujmb.js +246 -0
- package/components/speedometer-chart-positioning.config-B7M91sKN.js +48 -0
- package/components/speedometer-chart-positioning.config-Ce70l0Ei.cjs +20 -0
- package/components/speedometer-chart-slots.config-DfTw7JTF.js +39 -0
- package/components/spike-map-options.config-Ch0p9Q5l.js +413 -0
- package/components/spike-map-positioning.config-D3wIf0RU.cjs +20 -0
- package/components/spike-map-positioning.config-Qf4LOPvB.js +55 -0
- package/components/spike-map-slots.config-i-c0F9QM.js +47 -0
- package/components/strip-plot-options.config-WICS2rnK.js +53 -0
- package/components/strip-plot-positioning.config-BIoncLjm.cjs +20 -0
- package/components/strip-plot-positioning.config-MbfBVHf8.js +48 -0
- package/components/strip-plot-slots.config-BuF7X3xN.js +38 -0
- package/components/sunburst-chart-options.config-Bz-jP-gZ.js +180 -0
- package/components/sunburst-chart-positioning.config-CqyXZPxE.js +48 -0
- package/components/sunburst-chart-positioning.config-zqPLL8yF.cjs +20 -0
- package/components/sunburst-chart-slots.config-Cq-E6kyI.js +38 -0
- package/components/symbol-map-options.config-I89tFJUU.js +177 -0
- package/components/symbol-map-positioning.config-CQ4Vxu96.cjs +20 -0
- package/components/symbol-map-positioning.config-plXDTBA3.js +55 -0
- package/components/symbol-map-slots.config-BfdBHkzN.js +53 -0
- package/components/text-options.config-BUiRyi3L.js +67 -0
- package/components/text-slots.config-CM_ZaW3p.js +24 -0
- package/components/treemap-chart-options.config-i7BH9mNl.js +204 -0
- package/components/treemap-chart-positioning.config-BTGBN1f9.js +55 -0
- package/components/treemap-chart-positioning.config-CSZXzuT5.cjs +20 -0
- package/components/treemap-chart-slots.config-CHkGtIOa.js +47 -0
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.js +1 -1
- package/components/utils-BDvDwAn7.cjs +20 -0
- package/components/utils-Z9xbTTWG.js +240 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +9 -6
- package/components/venn-diagram-options.config-Wi0dQsAu.js +24 -0
- package/components/venn-diagram-positioning.config-C4vcZDtW.cjs +20 -0
- package/components/venn-diagram-positioning.config-fPvrjtfX.js +55 -0
- package/components/venn-diagram-slots.config-DY04aeYK.js +47 -0
- package/components/video-options.config-B6pQUPB7.js +127 -0
- package/components/video-slots.config-C-kXGzo3.js +24 -0
- package/components/viz-item-menu/index.cjs +20 -0
- package/components/viz-item-menu/index.d.ts +8 -0
- package/components/viz-item-menu/index.js +28 -0
- package/components/viz-item-menu/types.d.ts +9 -0
- package/components/viz-item-menu/viz-item-menu.d.ts +75 -0
- package/components/viz-item-menu-DxA295eM.cjs +55 -0
- package/components/viz-item-menu-vckPQBdf.js +170 -0
- package/components/wordcloud-chart-options.config-D_AhgZRs.js +90 -0
- package/components/wordcloud-chart-positioning.config-Cf1ErL-B.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-ChUx_Ahc.js +55 -0
- package/components/wordcloud-chart-slots.config-Cc5F92Tv.js +45 -0
- package/custom-elements.json +17712 -5888
- package/deprecated-react/components/ai-chat.component.cjs +1 -0
- package/deprecated-react/components/ai-interaction-textarea.component.cjs +1 -0
- package/deprecated-react/components/data-field-level.component.cjs +1 -0
- package/deprecated-react/components/data-fields-select.component.cjs +1 -0
- package/deprecated-react/components/dataset-icon.component.cjs +1 -0
- package/deprecated-react/components/dataset-selector-list.component.cjs +1 -0
- package/deprecated-react/components/dataset-selector-row.component.cjs +1 -0
- package/deprecated-react/components/display-settings-binning.component.cjs +1 -0
- package/deprecated-react/components/display-settings-datetime.component.cjs +1 -0
- package/deprecated-react/components/display-settings-grand-totals.component.cjs +1 -0
- package/deprecated-react/components/display-settings-numeric.component.cjs +1 -0
- package/deprecated-react/components/display-settings-period-over-period.component.cjs +1 -0
- package/deprecated-react/components/display-settings.component.cjs +1 -0
- package/deprecated-react/components/filter-expression-picker.component.cjs +1 -0
- package/deprecated-react/components/filter-item.component.cjs +1 -0
- package/deprecated-react/components/filter-parameter-picker.component.cjs +1 -0
- package/deprecated-react/components/filter-value-picker-datetime.component.cjs +1 -0
- package/deprecated-react/components/filter-value-picker-hierarchy.component.cjs +1 -0
- package/deprecated-react/components/filter-value-picker-numeric.component.cjs +1 -0
- package/deprecated-react/components/filter-value-picker.component.cjs +1 -0
- package/deprecated-react/components/formula-field.component.cjs +1 -0
- package/deprecated-react/components/interactive-viz-item.component.cjs +1 -0
- package/deprecated-react/components/slot-menu-list.component.cjs +1 -0
- package/deprecated-react/components/slot-menu.component.cjs +1 -0
- package/deprecated-react/components/viz-item-menu.component.cjs +1 -0
- package/index.d.ts +25 -0
- package/package.json +128 -3
- package/react/components/ai-chat.component.ts +45 -0
- package/react/components/ai-interaction-textarea.component.ts +30 -0
- package/react/components/data-field-level.component.ts +30 -0
- package/react/components/data-fields-select.component.ts +27 -0
- package/react/components/dataset-icon.component.ts +22 -0
- package/react/components/dataset-selector-list.component.ts +27 -0
- package/react/components/dataset-selector-row.component.ts +30 -0
- package/react/components/display-settings-binning.component.ts +27 -0
- package/react/components/display-settings-datetime.component.ts +27 -0
- package/react/components/display-settings-grand-totals.component.ts +27 -0
- package/react/components/display-settings-numeric.component.ts +27 -0
- package/react/components/display-settings-period-over-period.component.ts +27 -0
- package/react/components/display-settings.component.ts +33 -0
- package/react/components/filter-expression-picker.component.ts +27 -0
- package/react/components/filter-item.component.ts +27 -0
- package/react/components/filter-parameter-picker.component.ts +33 -0
- package/react/components/filter-value-picker-datetime.component.ts +27 -0
- package/react/components/filter-value-picker-hierarchy.component.ts +27 -0
- package/react/components/filter-value-picker-numeric.component.ts +27 -0
- package/react/components/filter-value-picker.component.ts +27 -0
- package/react/components/filters.component.ts +9 -3
- package/react/components/formula-field.component.ts +30 -0
- package/react/components/interactive-viz-item.component.ts +33 -0
- package/react/components/slot-menu-list.component.ts +27 -0
- package/react/components/slot-menu.component.ts +42 -0
- package/react/components/viz-item-menu.component.ts +33 -0
- package/react/esm/components/ai-chat.component.d.ts +24 -0
- package/react/esm/components/ai-chat.component.js +29 -0
- package/react/esm/components/ai-interaction-textarea.component.d.ts +14 -0
- package/react/esm/components/ai-interaction-textarea.component.js +19 -0
- package/react/esm/components/data-field-level.component.d.ts +14 -0
- package/react/esm/components/data-field-level.component.js +19 -0
- package/react/esm/components/data-fields-select.component.d.ts +12 -0
- package/react/esm/components/data-fields-select.component.js +17 -0
- package/react/esm/components/dataset-icon.component.d.ts +8 -0
- package/react/esm/components/dataset-icon.component.js +13 -0
- package/react/esm/components/dataset-selector-list.component.d.ts +12 -0
- package/react/esm/components/dataset-selector-list.component.js +17 -0
- package/react/esm/components/dataset-selector-row.component.d.ts +14 -0
- package/react/esm/components/dataset-selector-row.component.js +19 -0
- package/react/esm/components/display-settings-binning.component.d.ts +12 -0
- package/react/esm/components/display-settings-binning.component.js +17 -0
- package/react/esm/components/display-settings-datetime.component.d.ts +12 -0
- package/react/esm/components/display-settings-datetime.component.js +17 -0
- package/react/esm/components/display-settings-grand-totals.component.d.ts +12 -0
- package/react/esm/components/display-settings-grand-totals.component.js +17 -0
- package/react/esm/components/display-settings-numeric.component.d.ts +12 -0
- package/react/esm/components/display-settings-numeric.component.js +17 -0
- package/react/esm/components/display-settings-period-over-period.component.d.ts +12 -0
- package/react/esm/components/display-settings-period-over-period.component.js +17 -0
- package/react/esm/components/display-settings.component.d.ts +16 -0
- package/react/esm/components/display-settings.component.js +21 -0
- package/react/esm/components/filter-expression-picker.component.d.ts +12 -0
- package/react/esm/components/filter-expression-picker.component.js +17 -0
- package/react/esm/components/filter-item.component.d.ts +12 -0
- package/react/esm/components/filter-item.component.js +17 -0
- package/react/esm/components/filter-parameter-picker.component.d.ts +16 -0
- package/react/esm/components/filter-parameter-picker.component.js +21 -0
- package/react/esm/components/filter-value-picker-datetime.component.d.ts +12 -0
- package/react/esm/components/filter-value-picker-datetime.component.js +17 -0
- package/react/esm/components/filter-value-picker-hierarchy.component.d.ts +12 -0
- package/react/esm/components/filter-value-picker-hierarchy.component.js +17 -0
- package/react/esm/components/filter-value-picker-numeric.component.d.ts +12 -0
- package/react/esm/components/filter-value-picker-numeric.component.js +17 -0
- package/react/esm/components/filter-value-picker.component.d.ts +12 -0
- package/react/esm/components/filter-value-picker.component.js +17 -0
- package/react/esm/components/filters.component.d.ts +10 -2
- package/react/esm/components/filters.component.js +6 -2
- package/react/esm/components/formula-field.component.d.ts +14 -0
- package/react/esm/components/formula-field.component.js +19 -0
- package/react/esm/components/interactive-viz-item.component.d.ts +16 -0
- package/react/esm/components/interactive-viz-item.component.js +21 -0
- package/react/esm/components/slot-menu-list.component.d.ts +12 -0
- package/react/esm/components/slot-menu-list.component.js +17 -0
- package/react/esm/components/slot-menu.component.d.ts +22 -0
- package/react/esm/components/slot-menu.component.js +27 -0
- package/react/esm/components/viz-item-menu.component.d.ts +16 -0
- package/react/esm/components/viz-item-menu.component.js +21 -0
- package/react/esm/index.d.ts +27 -2
- package/react/esm/index.js +102 -2
- package/react/index.ts +102 -2
- package/react/luzmo-stub.d.ts +140 -0
- package/react/package.json +2 -2
- package/storybook/inject-global-vars.d.ts +1 -0
- package/storybook/register-components.d.ts +56 -0
- package/types/ai-chat.types.d.ts +95 -0
- package/types/data-field-events.types.d.ts +7 -0
- package/types.d.ts +8 -0
- package/components/area-chart-options.config-C49V29Y8.js +0 -229
- package/components/area-chart-positioning.config-1oFe5GQZ.cjs +0 -20
- package/components/area-chart-positioning.config-CpN8ybzu.js +0 -55
- package/components/area-chart-slots.config-DHeIgMLg.js +0 -55
- package/components/bar-chart-options.config-CL5P0qO3.js +0 -300
- package/components/bar-chart-positioning.config-D8xaCMCZ.cjs +0 -20
- package/components/bar-chart-positioning.config-FY7a9tkw.js +0 -59
- package/components/bar-chart-slots.config-DwTg8FbR.js +0 -50
- package/components/base-C637VyP1.cjs +0 -20
- package/components/base-DCUhSENj.js +0 -248
- package/components/box-plot-options.config-Qr3EjXtR.js +0 -356
- package/components/box-plot-positioning.config-B8KZRp7Z.cjs +0 -20
- package/components/box-plot-positioning.config-BDiLuilt.js +0 -48
- package/components/box-plot-slots.config-DiKHnGWa.js +0 -40
- package/components/bubble-chart-options.config-C5AjfJ-e.js +0 -135
- package/components/bubble-chart-positioning.config-B_iuArqa.js +0 -55
- package/components/bubble-chart-positioning.config-CjQj2Xw7.cjs +0 -20
- package/components/bubble-chart-slots.config-B8jVSy39.js +0 -47
- package/components/bullet-chart-options.config-oj1ECQfr.js +0 -75
- package/components/bullet-chart-positioning.config-DCIEjZ-u.js +0 -56
- package/components/bullet-chart-positioning.config-DYa0-Ssl.cjs +0 -20
- package/components/bullet-chart-slots.config-fNIvT9pt.js +0 -46
- package/components/choropleth-map-options.config-CBCRL0Q9.js +0 -348
- package/components/choropleth-map-positioning.config-CBaaidlT.js +0 -55
- package/components/choropleth-map-positioning.config-Cmgu7SkX.cjs +0 -20
- package/components/choropleth-map-slots.config-DEFBSjr_.js +0 -53
- package/components/circle-pack-chart-options.config-Ql_H79R5.js +0 -54
- package/components/circle-pack-chart-positioning.config-BpRTuvX3.js +0 -48
- package/components/circle-pack-chart-positioning.config-D-OOazzj.cjs +0 -20
- package/components/circle-pack-chart-slots.config-C88i4e0I.js +0 -38
- package/components/circular-gauge-options.config-DVqkM9J-.js +0 -188
- package/components/circular-gauge-positioning.config-CPmuEH4P.js +0 -48
- package/components/circular-gauge-positioning.config-CU5j-YVN.cjs +0 -20
- package/components/circular-gauge-slots.config-tCi8lb6r.js +0 -39
- package/components/column-chart-options.config-CP6dQDMX.js +0 -299
- package/components/column-chart-positioning.config-BZrwf5kb.js +0 -55
- package/components/column-chart-positioning.config-COLCV6uF.cjs +0 -20
- package/components/column-chart-slots.config-DlgmagVN.js +0 -50
- package/components/combination-chart-options.config-CxipfQJd.js +0 -150
- package/components/combination-chart-positioning.config-C7x9UeXL.cjs +0 -20
- package/components/combination-chart-positioning.config-vlhurz7H.js +0 -48
- package/components/combination-chart-slots.config-HWXOi_xL.js +0 -43
- package/components/conditional-number-options.config-DEoWU4SM.js +0 -205
- package/components/conditional-number-positioning.config-B5cUO8xu.cjs +0 -20
- package/components/conditional-number-positioning.config-B_yYXm1g.js +0 -48
- package/components/conditional-number-slots.config-B1c3brbY.js +0 -39
- package/components/data-field-DHgFf3bH.js +0 -341
- package/components/data-field-panel-D8jv5MJx.js +0 -384
- package/components/data-field-panel-DX_D-jOn.cjs +0 -87
- package/components/data-field-ud8KRJ4-.cjs +0 -89
- package/components/data-fields-select-CfGQXzkr.js +0 -261
- package/components/data-fields-select-DdNVT54e.cjs +0 -41
- package/components/date-comparison-filter-options.config-b46nQkma.js +0 -126
- package/components/date-comparison-filter-slots.config-BO_WlGJf.js +0 -33
- package/components/date-filter-options.config-DsAxIR5F.js +0 -118
- package/components/date-filter-slots.config-DOwkclvY.js +0 -37
- package/components/de-CFFG1QN7.cjs +0 -20
- package/components/de-CPcJgwTx.js +0 -488
- package/components/display-settings-binning-D5PEKaBI.cjs +0 -56
- package/components/display-settings-binning-DjRX5Ysr.js +0 -112
- package/components/display-settings-datetime-CPBtYtAy.cjs +0 -217
- package/components/display-settings-datetime-D0pphxmh.js +0 -415
- package/components/display-settings-grand-totals-C4feNejJ.cjs +0 -44
- package/components/display-settings-grand-totals-DlTKDKin.js +0 -91
- package/components/display-settings-numeric-BFjHxdXz.cjs +0 -190
- package/components/display-settings-numeric-CzC7orK1.js +0 -481
- package/components/display-settings-period-over-period-CzQW7v30.cjs +0 -229
- package/components/display-settings-period-over-period-DFWx_SLM.js +0 -434
- package/components/donut-chart-options.config-wVCdbZZr.js +0 -207
- package/components/donut-chart-positioning.config-S0YvSx2H.cjs +0 -20
- package/components/donut-chart-positioning.config-_6eKwCtI.js +0 -48
- package/components/donut-chart-slots.config-BiyZvM68.js +0 -39
- package/components/dropdown-filter-options.config-D8Nr-pia.js +0 -153
- package/components/dropdown-filter-slots.config-kuGNR6kG.js +0 -38
- package/components/en-CSPDwq2y.cjs +0 -20
- package/components/en-GB-CJR66Ci_.cjs +0 -20
- package/components/en-GB-DPjL71xN.js +0 -28
- package/components/en-US-CSPDwq2y.cjs +0 -20
- package/components/en-US-dzaDznn9.js +0 -21
- package/components/en-dzaDznn9.js +0 -21
- package/components/es-Bd7rtLnM.cjs +0 -20
- package/components/es-fXPjX3vY.js +0 -488
- package/components/evolution-number-options.config-C3J_ZYpv.js +0 -228
- package/components/evolution-number-positioning.config-BOdHq6-i.cjs +0 -20
- package/components/evolution-number-positioning.config-tvmjQEaG.js +0 -48
- package/components/evolution-number-slots.config-CoDxHhwF.js +0 -37
- package/components/filters-B6jGM3ej.cjs +0 -323
- package/components/filters-Dj6sRMSR.js +0 -1644
- package/components/formula-BFcOs8RL.js +0 -137
- package/components/formula-BcVDJ9m_.cjs +0 -45
- package/components/formula-codemirror-DiVcMrIg.cjs +0 -215
- package/components/formula-codemirror-J0QWRZ49.js +0 -12016
- package/components/formula-display-store-BH4tCSWY.js +0 -1122
- package/components/formula-display-store-BWDj367s.cjs +0 -20
- package/components/formula-editor-Boo1er25.js +0 -895
- package/components/formula-editor-N227w8sy.cjs +0 -253
- package/components/fr-B50vb6LP.js +0 -488
- package/components/fr-kmzf1vls.cjs +0 -20
- package/components/funnel-chart-options.config-DjF4mn2V.js +0 -207
- package/components/funnel-chart-positioning.config-B27G3I3l.cjs +0 -20
- package/components/funnel-chart-positioning.config-qBendkC6.js +0 -48
- package/components/funnel-chart-slots.config-YDfkl0W9.js +0 -43
- package/components/get-css-variable-N_PVMivH.cjs +0 -20
- package/components/get-css-variable-SptLB8Tz.js +0 -63
- package/components/heat-map-options.config-Tr3qWkye.js +0 -224
- package/components/heat-map-positioning.config-BF2SUfIH.cjs +0 -20
- package/components/heat-map-positioning.config-C06WNZYE.js +0 -48
- package/components/heat-map-slots.config-BTkTaVV1.js +0 -37
- package/components/heat-table-options.config-cXCjQymW.js +0 -372
- package/components/heat-table-positioning.config-B6fQCm6r.cjs +0 -20
- package/components/heat-table-positioning.config-CtKVYd7I.js +0 -55
- package/components/heat-table-slots.config-dqh1PMWX.js +0 -49
- package/components/hexbin-map-options.config-Bc5rtsom.js +0 -276
- package/components/hexbin-map-positioning.config-CC1odymH.js +0 -48
- package/components/hexbin-map-positioning.config-CsDTcimL.cjs +0 -20
- package/components/hexbin-map-slots.config-BrfF5JYT.js +0 -37
- package/components/image-options.config-BQHeuAsU.js +0 -153
- package/components/image-slots.config-ZRSv3b5w.js +0 -24
- package/components/item-grid-B9Y-6W5m.cjs +0 -113
- package/components/item-grid-pykaS5G4.js +0 -4558
- package/components/item-option-DYXtwzIM.js +0 -919
- package/components/item-option-XpGZVVdr.cjs +0 -252
- package/components/item-option-action-button-group-CBtZKVx-.js +0 -118
- package/components/item-option-action-button-group-DyzXk2JJ.cjs +0 -53
- package/components/item-option-base-BrU7dJsV.js +0 -123
- package/components/item-option-base-Cqo4amTV.cjs +0 -56
- package/components/item-option-color-palette-picker-DEys6FIg.js +0 -2041
- package/components/item-option-color-palette-picker-E49SIqt5.cjs +0 -40
- package/components/item-option-color-picker-B8imRobf.js +0 -87
- package/components/item-option-color-picker-DqEWnNcU.cjs +0 -34
- package/components/item-option-color-range-CJnk4E24.cjs +0 -98
- package/components/item-option-color-range-CqJwKIEd.js +0 -220
- package/components/item-option-multi-language-field-Dp2Mpr5b.js +0 -82
- package/components/item-option-multi-language-field-sgiTxGdm.cjs +0 -33
- package/components/item-option-number-field-C3nRZtW1.js +0 -102
- package/components/item-option-number-field-DT2HXuYC.cjs +0 -38
- package/components/item-option-panel-DLdIbuAy.cjs +0 -67
- package/components/item-option-panel-DwGkEeMw.js +0 -183
- package/components/item-option-picker-Crb6PnE8.cjs +0 -37
- package/components/item-option-picker-nS_nnfVF.js +0 -77
- package/components/item-option-position-picker-BMuua3Lj.cjs +0 -32
- package/components/item-option-position-picker-BbAOSkmu.js +0 -117
- package/components/item-option-positions-number-field-BOp3cutd.js +0 -164
- package/components/item-option-positions-number-field-DKSdRWTW.cjs +0 -49
- package/components/item-option-radio-button-group-B_iWBD9w.js +0 -74
- package/components/item-option-radio-button-group-DGbhldoK.cjs +0 -37
- package/components/item-option-slider-4PSjHHGu.js +0 -96
- package/components/item-option-slider-Ct0dd0ci.cjs +0 -33
- package/components/item-option-switch-BbqKaspH.js +0 -69
- package/components/item-option-switch-DgYg5msr.cjs +0 -30
- package/components/item-option-text-field-DlDfvOFf.js +0 -80
- package/components/item-option-text-field-DsYobVm7.cjs +0 -33
- package/components/item-slot-drop-BuXYBvhO.js +0 -326
- package/components/item-slot-drop-panel-4lKBdSdq.js +0 -354
- package/components/item-slot-drop-panel-FLuz9znI.cjs +0 -57
- package/components/item-slot-drop-pl3ZTBEo.cjs +0 -91
- package/components/item-slot-picker-BllkOiQu.cjs +0 -174
- package/components/item-slot-picker-C-lCNPY_.js +0 -500
- package/components/item-slot-picker-panel-BsAwO_BR.cjs +0 -81
- package/components/item-slot-picker-panel-Dn5yJrZi.js +0 -447
- package/components/line-chart-options.config-DbEfF3_P.js +0 -248
- package/components/line-chart-positioning.config-BTYG1EVp.cjs +0 -20
- package/components/line-chart-positioning.config-Ca4m3l8g.js +0 -55
- package/components/line-chart-slots.config-Dtdt3oil.js +0 -55
- package/components/load-data-fields-for-datasets-BOcizGTk.cjs +0 -20
- package/components/load-data-fields-for-datasets-B_SpkBqA.js +0 -86
- package/components/localized-mixin-C-4Zk9oh.cjs +0 -20
- package/components/localized-mixin-CRSfJ73Q.js +0 -52
- package/components/marker-map-options.config-B9uOw9qk.js +0 -117
- package/components/marker-map-positioning.config-C5VuPrAq.js +0 -48
- package/components/marker-map-positioning.config-Ds7dX4x5.cjs +0 -20
- package/components/marker-map-slots.config-CF-OLWDb.js +0 -37
- package/components/nl-Do6FfV7U.js +0 -488
- package/components/nl-FcPtgtcL.cjs +0 -20
- package/components/ohlc-chart-options.config-CUXSO5cK.js +0 -124
- package/components/ohlc-chart-positioning.config-B1E1qu9y.js +0 -78
- package/components/ohlc-chart-positioning.config-BoWmcM8Y.cjs +0 -20
- package/components/ohlc-chart-slots.config-BlsG3ikV.js +0 -68
- package/components/parallel-coordinates-plot-options.config-BupZFL8M.js +0 -42
- package/components/parallel-coordinates-plot-positioning.config-B3J9h4rQ.js +0 -48
- package/components/parallel-coordinates-plot-positioning.config-DCn_VF7d.cjs +0 -20
- package/components/parallel-coordinates-plot-slots.config-BX9mYub0.js +0 -46
- package/components/period-over-period-condition.const-CLEyEn-5.js +0 -1663
- package/components/period-over-period-condition.const-DDgiXIfR.cjs +0 -20
- package/components/pivot-table-options.config-BhVQ-skJ.js +0 -245
- package/components/pivot-table-positioning.config-DEZdZrYw.js +0 -55
- package/components/pivot-table-positioning.config-_a8fijeQ.cjs +0 -20
- package/components/pivot-table-slots.config-BpyBX1NS.js +0 -55
- package/components/pragmatic-element-adapter-Ply5c6uO.js +0 -1252
- package/components/pragmatic-element-adapter-SUClsRR1.cjs +0 -24
- package/components/pyramid-chart-options.config-B271YknE.js +0 -260
- package/components/pyramid-chart-positioning.config-ChK8059K.cjs +0 -20
- package/components/pyramid-chart-positioning.config-tDeNGN2t.js +0 -55
- package/components/pyramid-chart-slots.config-B8_Qqs5b.js +0 -50
- package/components/radar-chart-options.config-kpK-dF2z.js +0 -150
- package/components/radar-chart-positioning.config-BohPnY6O.js +0 -55
- package/components/radar-chart-positioning.config-C00q0Cjc.cjs +0 -20
- package/components/radar-chart-slots.config-rkMoLc6Z.js +0 -53
- package/components/regular-table-options.config-CiITNIRD.js +0 -148
- package/components/regular-table-slots.config-BU7B9OGz.js +0 -35
- package/components/route-map-options.config-D1A47spF.js +0 -326
- package/components/route-map-positioning.config-BFoD9vn8.cjs +0 -20
- package/components/route-map-positioning.config-BKdyt6ko.js +0 -66
- package/components/route-map-slots.config-v3BZi_k3.js +0 -59
- package/components/sankey-diagram-options.config-Cs76JI4R.js +0 -126
- package/components/sankey-diagram-positioning.config-QtjnfHQb.js +0 -66
- package/components/sankey-diagram-positioning.config-lU-WAy9R.cjs +0 -20
- package/components/sankey-diagram-slots.config-C7W-p_iq.js +0 -61
- package/components/scatter-plot-options.config-KnuZCIK9.js +0 -322
- package/components/scatter-plot-positioning.config-BMx7JzXT.js +0 -77
- package/components/scatter-plot-positioning.config-Dl3dC8_q.cjs +0 -20
- package/components/scatter-plot-slots.config-e4r8rPGq.js +0 -74
- package/components/search-filter-options.config-BAxmEAiE.js +0 -103
- package/components/search-filter-slots.config-Bh5AkIlV.js +0 -39
- package/components/set-locale-1r0lDa7J.cjs +0 -20
- package/components/set-locale-DBVSKk_b.js +0 -43
- package/components/slicer-filter-options.config-B9G5S-w5.js +0 -235
- package/components/slicer-filter-positioning.config-D0ySBKRi.js +0 -48
- package/components/slicer-filter-positioning.config-V0xQ7zn4.cjs +0 -20
- package/components/slicer-filter-slots.config-ClnjpKoR.js +0 -44
- package/components/slider-filter-options.config-pVni2VeP.js +0 -72
- package/components/slider-filter-slots.config-C8ndKeOs.js +0 -43
- package/components/slot-menu-B18viCq_.js +0 -1056
- package/components/slot-menu-I0ZOhAwn.cjs +0 -215
- package/components/speedometer-chart-options.config-CRfWCHWe.js +0 -246
- package/components/speedometer-chart-positioning.config-Bxh2OpBf.cjs +0 -20
- package/components/speedometer-chart-positioning.config-DtvW38X7.js +0 -48
- package/components/speedometer-chart-slots.config-BkKyAqra.js +0 -39
- package/components/spike-map-options.config-01V52me2.js +0 -413
- package/components/spike-map-positioning.config-DkEQ8a85.cjs +0 -20
- package/components/spike-map-positioning.config-q0Ko-o6u.js +0 -55
- package/components/spike-map-slots.config-Bu63-9ET.js +0 -47
- package/components/strip-plot-options.config-CT8sqO2c.js +0 -53
- package/components/strip-plot-positioning.config-DFPJ4BKu.cjs +0 -20
- package/components/strip-plot-positioning.config-DVCL5TLA.js +0 -48
- package/components/strip-plot-slots.config-QBq7bq-Q.js +0 -38
- package/components/sunburst-chart-options.config-BIcUx_Ml.js +0 -180
- package/components/sunburst-chart-positioning.config--XMbmimi.cjs +0 -20
- package/components/sunburst-chart-positioning.config-Dy1GtLwf.js +0 -48
- package/components/sunburst-chart-slots.config-BDR8g83g.js +0 -38
- package/components/symbol-map-options.config-sY3sR_13.js +0 -177
- package/components/symbol-map-positioning.config-CS7s_Zrs.js +0 -55
- package/components/symbol-map-positioning.config-Cc_p6btx.cjs +0 -20
- package/components/symbol-map-slots.config-BhHW2t4h.js +0 -53
- package/components/text-options.config-zV8AxiZ-.js +0 -67
- package/components/text-slots.config-CexlYey1.js +0 -24
- package/components/treemap-chart-options.config-DaBT0Bud.js +0 -204
- package/components/treemap-chart-positioning.config-C6iouW1J.js +0 -55
- package/components/treemap-chart-positioning.config-DZ2hZtsF.cjs +0 -20
- package/components/treemap-chart-slots.config-vuiywUbz.js +0 -47
- package/components/utils-5J0VIvk6.cjs +0 -20
- package/components/utils-C6ysI98r.js +0 -239
- package/components/venn-diagram-options.config-CQIZxPZm.js +0 -24
- package/components/venn-diagram-positioning.config-8NrocJLI.cjs +0 -20
- package/components/venn-diagram-positioning.config-m2jp6blI.js +0 -55
- package/components/venn-diagram-slots.config-VYaBQMGD.js +0 -47
- package/components/video-options.config-CvyslCJl.js +0 -127
- package/components/video-slots.config-CBtjayTL.js +0 -24
- package/components/wordcloud-chart-options.config-B47Oxu0A.js +0 -90
- package/components/wordcloud-chart-positioning.config-ClALXn39.js +0 -55
- package/components/wordcloud-chart-positioning.config-DGD93axw.cjs +0 -20
- package/components/wordcloud-chart-slots.config-CLNtT9m5.js +0 -45
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
import { n as e, o as t, t as n } from "./pragmatic-element-adapter-C_7HSvGV.js";
|
|
21
|
+
import { i as r, n as i, t as a } from "./base-2sulw8ws.js";
|
|
22
|
+
import { t as o } from "./decorate-DyMgX_Uh.js";
|
|
23
|
+
import { t as s } from "./localize-BT7REYBY.js";
|
|
24
|
+
import { i as c, r as l, t as u } from "./ad-hoc-slot-content-hSlT62VS.js";
|
|
25
|
+
import { n as d, t as f } from "./get-css-variable-r1spgqX0.js";
|
|
26
|
+
import { luzmoCalculator as p, luzmoFormula as m, luzmoIcon as h, luzmoTrashOutline as g } from "@luzmo/icons";
|
|
27
|
+
import { html as _, unsafeCSS as v } from "lit";
|
|
28
|
+
import { property as y, queryAll as b } from "lit/decorators.js";
|
|
29
|
+
import { msg as x } from "@lit/localize";
|
|
30
|
+
//#region src/utils/slot-content/render-calculation-label.ts
|
|
31
|
+
var S = (e) => {
|
|
32
|
+
let t = l(e);
|
|
33
|
+
return _`<span class="calculation-label">
|
|
34
|
+
<span class="calculation-label-icon" aria-hidden="true">${h(t ? m : p)}</span>
|
|
35
|
+
<span>${t ? x("Formula", { desc: "Label for the formula type" }) : x("Expression", { desc: "Label for the expression type" })}</span>
|
|
36
|
+
</span>`;
|
|
37
|
+
}, C = {
|
|
38
|
+
none: 0,
|
|
39
|
+
small: 100,
|
|
40
|
+
medium: 350,
|
|
41
|
+
large: 700
|
|
42
|
+
}, w = .5;
|
|
43
|
+
C.none, C.small * w, C.medium * w, C.large * w;
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region node_modules/@atlaskit/pragmatic-drag-and-drop-flourish/dist/esm/trigger-post-move-flash.js
|
|
46
|
+
function T(e) {
|
|
47
|
+
e.animate([{ backgroundColor: "var(--ds-background-selected, #E9F2FF)" }, {}], {
|
|
48
|
+
duration: C.large,
|
|
49
|
+
easing: "cubic-bezier(0.25, 0.1, 0.25, 1.0)",
|
|
50
|
+
iterations: 1
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region node_modules/@atlaskit/pragmatic-drag-and-drop-hitbox/dist/esm/closest-edge.js
|
|
55
|
+
function E(e, t) {
|
|
56
|
+
var n = Object.keys(e);
|
|
57
|
+
if (Object.getOwnPropertySymbols) {
|
|
58
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
59
|
+
t && (r = r.filter(function(t) {
|
|
60
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
61
|
+
})), n.push.apply(n, r);
|
|
62
|
+
}
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
function D(e) {
|
|
66
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
67
|
+
var r = arguments[n] == null ? {} : arguments[n];
|
|
68
|
+
n % 2 ? E(Object(r), !0).forEach(function(n) {
|
|
69
|
+
t(e, n, r[n]);
|
|
70
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : E(Object(r)).forEach(function(t) {
|
|
71
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return e;
|
|
75
|
+
}
|
|
76
|
+
var O = {
|
|
77
|
+
top: function(e, t) {
|
|
78
|
+
return Math.abs(t.y - e.top);
|
|
79
|
+
},
|
|
80
|
+
right: function(e, t) {
|
|
81
|
+
return Math.abs(e.right - t.x);
|
|
82
|
+
},
|
|
83
|
+
bottom: function(e, t) {
|
|
84
|
+
return Math.abs(e.bottom - t.y);
|
|
85
|
+
},
|
|
86
|
+
left: function(e, t) {
|
|
87
|
+
return Math.abs(t.x - e.left);
|
|
88
|
+
}
|
|
89
|
+
}, k = Symbol("closestEdge");
|
|
90
|
+
function A(e, n) {
|
|
91
|
+
var r = n.element, i = n.input, a = n.allowedEdges, o = {
|
|
92
|
+
x: i.clientX,
|
|
93
|
+
y: i.clientY
|
|
94
|
+
}, s = r.getBoundingClientRect(), c = a.map(function(e) {
|
|
95
|
+
return {
|
|
96
|
+
edge: e,
|
|
97
|
+
value: O[e](s, o)
|
|
98
|
+
};
|
|
99
|
+
}).sort(function(e, t) {
|
|
100
|
+
return e.value - t.value;
|
|
101
|
+
})[0]?.edge ?? null;
|
|
102
|
+
return D(D({}, e), {}, t({}, k, c));
|
|
103
|
+
}
|
|
104
|
+
function j(e) {
|
|
105
|
+
return e[k] ?? null;
|
|
106
|
+
}
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/components/slot-menu-list/slot-menu-list.module.scss?inline
|
|
109
|
+
var M = ":host{font-family:var(--luzmo-slot-menu-list-font-family,var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size,var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-list-font-color,var(--luzmo-font-color))}ul{margin:0;padding:0;list-style:none}:host{max-height:var(--luzmo-slot-menu-list-max-height,var(--slot-menu-list-max-height));margin:0;padding:0;list-style:none;overflow-y:auto}:host::-webkit-scrollbar{width:var(--luzmo-slot-menu-list-scrollbar-width,var(--slot-menu-list-scrollbar-width))}:host::-webkit-scrollbar-track{background:var(--luzmo-slot-menu-list-scrollbar-track-background,var(--slot-menu-list-scrollbar-track-background));border-radius:var(--luzmo-slot-menu-list-scrollbar-track-border-radius,var(--slot-menu-list-scrollbar-track-border-radius))}:host::-webkit-scrollbar-thumb{background:var(--luzmo-slot-menu-list-scrollbar-thumb-background,var(--slot-menu-list-scrollbar-thumb-background));border-radius:var(--luzmo-slot-menu-list-scrollbar-thumb-border-radius,var(--slot-menu-list-scrollbar-thumb-border-radius))}:host::-webkit-scrollbar-thumb:hover{background:var(--luzmo-slot-menu-list-scrollbar-thumb-hover-background,var(--slot-menu-list-scrollbar-thumb-hover-background))}:host{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-slot-menu-list-scrollbar-thumb-background,var(--slot-menu-list-scrollbar-thumb-background)) var(--luzmo-slot-menu-list-scrollbar-track-background,var(--slot-menu-list-scrollbar-track-background));border-right:var(--luzmo-slot-menu-list-border-right-width,var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color,var(--luzmo-border-color))}:host li{cursor:pointer;position:relative}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover,var(--slot-menu-list-background-color-hover))}:host li{border-bottom:var(--luzmo-slot-menu-list-border-bottom-width,var(--slot-menu-list-border-bottom-width)) solid var(--luzmo-slot-menu-list-border-bottom-color,var(--slot-menu-list-border-bottom-color))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color,var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color,var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover,var(--slot-menu-list-active-background-color-hover))}:host .active .draggable-slot-content:focus-visible{background-color:var(--luzmo-slot-menu-list-active-background-color-hover,var(--slot-menu-list-active-background-color-hover));outline:none}:host .active .draggable-slot-content-remove:focus-visible{outline-color:var(--luzmo-slot-menu-list-active-color,var(--slot-menu-list-active-color));background-color:var(--luzmo-slot-menu-list-active-background-color-hover,var(--slot-menu-list-active-background-color-hover))}.calculation-label{align-items:center;gap:var(--luzmo-spacing-3);display:inline-flex}.calculation-label-icon{flex:none;display:inline-flex}.drop-indicator{height:var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color,var(--slot-menu-list-drop-indicator-color));position:absolute;left:0;right:0}.drop-indicator:before{content:\"\";border:var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color,var(--slot-menu-list-drop-indicator-color));background:var(--luzmo-slot-menu-list-drop-indicator-background,var(--luzmo-background-color));width:100%;left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size,var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size,var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size,var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size,var(--slot-menu-list-drop-indicator-circle-size));border-radius:50%;display:block;position:absolute}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap,var(--slot-menu-label-to-icon-gap));touch-action:none;cursor:pointer;align-items:center;display:flex}.draggable-slot-content:focus-visible{background-color:color-mix(in srgb, var(--luzmo-primary) 20%, transparent);outline:none}.draggable-slot-content .draggable-slot-content-label{padding-block:var(--luzmo-slot-menu-list-item-vertical-padding,var(--slot-menu-list-item-vertical-padding));text-overflow:ellipsis;white-space:nowrap;font:inherit;color:inherit;cursor:inherit;text-align:start;background:0 0;border:none;flex:auto;padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding,var(--slot-menu-list-item-horizontal-padding));overflow:hidden}.draggable-slot-content .draggable-slot-content-remove{padding:var(--luzmo-spacing-1);font:inherit;color:inherit;cursor:inherit;border-radius:var(--luzmo-border-radius);background:0 0;border:none;flex:none;justify-content:center;align-items:center;margin-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding,var(--slot-menu-list-item-horizontal-padding));display:flex}.draggable-slot-content .draggable-slot-content-remove:focus-visible{outline:var(--luzmo-indicator-width) solid var(--luzmo-indicator-color);outline-offset:1px}:host{--slot-menu-list-active-background-color:var(--luzmo-primary);--slot-menu-list-active-background-color-hover:var(--luzmo-primary-hover);--slot-menu-list-active-color:var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover:var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color:var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height:2px;--slot-menu-list-drop-indicator-circle-size:4px;--slot-menu-list-border-bottom-width:0px;--slot-menu-list-border-bottom-color:transparent;--slot-menu-list-max-height:calc(var(--luzmo-component-height) * 4);--slot-menu-list-scrollbar-width:var(--luzmo-scrollbar-size);--slot-menu-list-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--slot-menu-list-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--slot-menu-list-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--slot-menu-list-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--slot-menu-list-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--slot-menu-display-settings-min-width:19rem;--slot-menu-min-height:calc(var(--luzmo-component-height) * 2);--slot-menu-font-size:var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding:var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding:var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap:var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width:16rem;--slot-menu-min-height:calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size:var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding:var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding:var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap:var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width:23rem;--slot-menu-min-height:calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size:var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding:var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding:var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap:var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width:26rem;--slot-menu-min-height:calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size:var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding:var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding:var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap:var(--luzmo-spacing-5)}", N = class extends i(r, { validSizes: Object.values(a) }) {
|
|
110
|
+
constructor(...t) {
|
|
111
|
+
super(...t), this.language = "en", this.contentLanguage = "en", this.slotContents = [], this.slotName = "measure", this.slotType = "numeric", this.activeIndex = 0, this._sendChangeEvent = () => {
|
|
112
|
+
this.dispatchEvent(new CustomEvent("luzmo-slot-list-changed", {
|
|
113
|
+
bubbles: !0,
|
|
114
|
+
composed: !0,
|
|
115
|
+
cancelable: !0,
|
|
116
|
+
detail: {
|
|
117
|
+
slotContents: structuredClone(this.slotContents),
|
|
118
|
+
activeIndex: this.activeIndex
|
|
119
|
+
}
|
|
120
|
+
}));
|
|
121
|
+
}, this._cleanupFns = [], this._attachAll = () => {
|
|
122
|
+
[...this._draggableSlotContentElements].forEach((t) => {
|
|
123
|
+
let r = this._sendChangeEvent.bind(this), i = this, a = n({
|
|
124
|
+
element: t,
|
|
125
|
+
onGenerateDragPreview({ nativeSetDragImage: e }) {
|
|
126
|
+
d({
|
|
127
|
+
nativeSetDragImage: e,
|
|
128
|
+
render({ container: e }) {
|
|
129
|
+
let n = document.createElement("div");
|
|
130
|
+
n.classList.add("drag-preview");
|
|
131
|
+
let r = {};
|
|
132
|
+
[
|
|
133
|
+
[
|
|
134
|
+
"borderColor",
|
|
135
|
+
"--luzmo-slot-menu-list-border-color",
|
|
136
|
+
"--luzmo-border-color"
|
|
137
|
+
],
|
|
138
|
+
[
|
|
139
|
+
"backgroundColor",
|
|
140
|
+
"--luzmo-slot-menu-list-background-color",
|
|
141
|
+
"--luzmo-background-color"
|
|
142
|
+
],
|
|
143
|
+
[
|
|
144
|
+
"color",
|
|
145
|
+
"--luzmo-slot-menu-list-font-color",
|
|
146
|
+
"--slot-menu-list-font-color"
|
|
147
|
+
],
|
|
148
|
+
[
|
|
149
|
+
"fontSize",
|
|
150
|
+
"--luzmo-slot-menu-list-font-size",
|
|
151
|
+
"--slot-menu-list-font-size"
|
|
152
|
+
],
|
|
153
|
+
[
|
|
154
|
+
"horizontalPadding",
|
|
155
|
+
"--luzmo-slot-menu-list-item-horizontal-padding",
|
|
156
|
+
"--slot-menu-list-item-horizontal-padding"
|
|
157
|
+
],
|
|
158
|
+
[
|
|
159
|
+
"verticalPadding",
|
|
160
|
+
"--luzmo-slot-menu-list-item-vertical-padding",
|
|
161
|
+
"--slot-menu-list-item-vertical-padding"
|
|
162
|
+
],
|
|
163
|
+
[
|
|
164
|
+
"borderRadius",
|
|
165
|
+
"--luzmo-slot-menu-list-border-radius",
|
|
166
|
+
"--luzmo-border-radius"
|
|
167
|
+
],
|
|
168
|
+
[
|
|
169
|
+
"fontFamily",
|
|
170
|
+
"--luzmo-slot-menu-list-font-family",
|
|
171
|
+
"--luzmo-font-family"
|
|
172
|
+
]
|
|
173
|
+
].forEach(([e, n, i]) => {
|
|
174
|
+
let a = f(t, n) || f(t, i);
|
|
175
|
+
r[e] = a;
|
|
176
|
+
}), n.textContent = t.querySelector("[data-task-content]")?.textContent || t.dataset.taskLabel || t.textContent, Object.assign(n.style, {
|
|
177
|
+
border: `1px solid ${r.borderColor}`,
|
|
178
|
+
backgroundColor: r.backgroundColor,
|
|
179
|
+
borderRadius: r.borderRadius,
|
|
180
|
+
fontFamily: r.fontFamily,
|
|
181
|
+
fontSize: r.fontSize,
|
|
182
|
+
color: r.color,
|
|
183
|
+
paddingInline: `${r.horizontalPadding}`,
|
|
184
|
+
paddingBlock: `${r.verticalPadding}`
|
|
185
|
+
}), e.append(n);
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
},
|
|
189
|
+
getInitialData() {
|
|
190
|
+
let e = t.parentElement, n = 0;
|
|
191
|
+
return e && (n = [...e.parentElement?.children ?? []].indexOf(e)), { index: n };
|
|
192
|
+
},
|
|
193
|
+
onDragStart() {
|
|
194
|
+
t.style.opacity = "0.5";
|
|
195
|
+
},
|
|
196
|
+
onDrop() {
|
|
197
|
+
t.style.opacity = "1";
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
this._cleanupFns.push(a);
|
|
201
|
+
let o = e({
|
|
202
|
+
element: t,
|
|
203
|
+
canDrop({ source: e }) {
|
|
204
|
+
return e.element !== t && e?.element?.classList.contains("draggable-slot-content");
|
|
205
|
+
},
|
|
206
|
+
getData(e) {
|
|
207
|
+
return A({}, {
|
|
208
|
+
element: t,
|
|
209
|
+
input: e.input,
|
|
210
|
+
allowedEdges: ["top", "bottom"]
|
|
211
|
+
});
|
|
212
|
+
},
|
|
213
|
+
getIsSticky() {
|
|
214
|
+
return !0;
|
|
215
|
+
},
|
|
216
|
+
onDragEnter({ self: e }) {
|
|
217
|
+
let n = j(e.data);
|
|
218
|
+
if (!n) return;
|
|
219
|
+
let r = document.createElement("div");
|
|
220
|
+
r.classList.add("drop-indicator"), r.dataset.edge = n, t.after(r);
|
|
221
|
+
},
|
|
222
|
+
onDrag({ self: e }) {
|
|
223
|
+
let n = j(e.data);
|
|
224
|
+
if (!n) {
|
|
225
|
+
t.nextElementSibling?.remove();
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
if (t.nextElementSibling?.getAttribute("data-edge") === n) return;
|
|
229
|
+
t.nextElementSibling?.remove();
|
|
230
|
+
let r = document.createElement("div");
|
|
231
|
+
r.classList.add("drop-indicator"), r.dataset.edge = n, t.after(r);
|
|
232
|
+
},
|
|
233
|
+
onDragLeave() {
|
|
234
|
+
t.nextElementSibling?.remove();
|
|
235
|
+
},
|
|
236
|
+
onDrop({ self: e, source: n }) {
|
|
237
|
+
t.nextElementSibling?.remove();
|
|
238
|
+
let a = j(e.data), o = e.element.parentElement;
|
|
239
|
+
if (typeof n.data.index == "number" && o) {
|
|
240
|
+
let e = [...o.parentElement?.children ?? []].indexOf(o);
|
|
241
|
+
a === "bottom" && n.data.index >= e && e < (o?.parentElement?.children?.length ?? 0) - 1 ? e += 1 : a === "top" && e > n.data.index && --e;
|
|
242
|
+
let t = i.activeIndex, r = n.data.index, s = e, c = i.slotContents[r];
|
|
243
|
+
i.slotContents.splice(r, 1), i.slotContents.splice(s, 0, c), r === t ? i.activeIndex = s : r < t && s >= t ? i.activeIndex = t - 1 : r > t && s <= t && (i.activeIndex = t + 1);
|
|
244
|
+
}
|
|
245
|
+
a && (T(n.element), i.requestUpdate(), r());
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
this._cleanupFns.push(o);
|
|
249
|
+
});
|
|
250
|
+
}, this._detachAll = () => {
|
|
251
|
+
this._cleanupFns.forEach((e) => e()), this._cleanupFns = [];
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
static get styles() {
|
|
255
|
+
return [v(M)];
|
|
256
|
+
}
|
|
257
|
+
willUpdate() {
|
|
258
|
+
this._detachAll();
|
|
259
|
+
}
|
|
260
|
+
updated() {
|
|
261
|
+
this._attachAll();
|
|
262
|
+
}
|
|
263
|
+
disconnectedCallback() {
|
|
264
|
+
super.disconnectedCallback(), this._detachAll();
|
|
265
|
+
}
|
|
266
|
+
setActiveIndex(e) {
|
|
267
|
+
this.activeIndex = e, this._sendChangeEvent();
|
|
268
|
+
}
|
|
269
|
+
removeSlotContent(e) {
|
|
270
|
+
this.slotContents = this.slotContents.filter((t, n) => n !== e), this.activeIndex = this.slotContents.length === 0 ? 0 : Math.min(this.activeIndex, this.slotContents.length - 1), this._sendChangeEvent();
|
|
271
|
+
}
|
|
272
|
+
_moveItem(e, t) {
|
|
273
|
+
let n = this.slotContents[e], r = [...this.slotContents];
|
|
274
|
+
r.splice(e, 1), r.splice(t, 0, n), this.slotContents = r, this.activeIndex === e ? this.activeIndex = t : e < this.activeIndex && t >= this.activeIndex ? --this.activeIndex : e > this.activeIndex && t <= this.activeIndex && (this.activeIndex += 1), this._sendChangeEvent(), this.updateComplete.then(() => this._draggableSlotContentElements[t]?.focus());
|
|
275
|
+
}
|
|
276
|
+
_handleContentKeydown(e, t) {
|
|
277
|
+
switch (t.key) {
|
|
278
|
+
case " ":
|
|
279
|
+
case "Enter":
|
|
280
|
+
t.preventDefault(), this.setActiveIndex(e);
|
|
281
|
+
break;
|
|
282
|
+
case "ArrowUp":
|
|
283
|
+
t.preventDefault(), t.altKey && e > 0 ? this._moveItem(e, e - 1) : !t.altKey && e > 0 && this._draggableSlotContentElements[e - 1]?.focus();
|
|
284
|
+
break;
|
|
285
|
+
case "ArrowDown":
|
|
286
|
+
t.preventDefault(), t.altKey && e < this.slotContents.length - 1 ? this._moveItem(e, e + 1) : !t.altKey && e < this.slotContents.length - 1 && this._draggableSlotContentElements[e + 1]?.focus();
|
|
287
|
+
break;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
_handleTrashClick(e, t) {
|
|
291
|
+
t.stopPropagation(), this.removeSlotContent(e);
|
|
292
|
+
}
|
|
293
|
+
_handleTrashKeydown(e) {
|
|
294
|
+
(e.key === " " || e.key === "Enter") && e.stopPropagation();
|
|
295
|
+
}
|
|
296
|
+
render() {
|
|
297
|
+
let e = {
|
|
298
|
+
name: this.slotName,
|
|
299
|
+
type: this.slotType
|
|
300
|
+
}, t = this.slotContents.map((t, n) => {
|
|
301
|
+
let r = s(t.label ?? {}, this.contentLanguage) ?? x("Untitled", { desc: "Fallback label for a slot content without a name" }), i = c(t, e) ? u(t) : void 0, a = n === this.activeIndex;
|
|
302
|
+
return _`<li class=${a ? "active" : ""}>
|
|
303
|
+
<div class="draggable-slot-content"
|
|
304
|
+
data-task-label=${i ?? r}
|
|
305
|
+
tabindex="0"
|
|
306
|
+
role="option"
|
|
307
|
+
aria-selected=${a ? "true" : "false"}
|
|
308
|
+
@click=${this.setActiveIndex.bind(this, n)}
|
|
309
|
+
@keydown=${this._handleContentKeydown.bind(this, n)}
|
|
310
|
+
>
|
|
311
|
+
<span class="draggable-slot-content-label" data-task-content>
|
|
312
|
+
${i ? S(t) : r}
|
|
313
|
+
</span>
|
|
314
|
+
<button
|
|
315
|
+
class="draggable-slot-content-remove"
|
|
316
|
+
aria-label=${x("Remove", { desc: "Remove button label" })}
|
|
317
|
+
@click=${this._handleTrashClick.bind(this, n)}
|
|
318
|
+
@keydown=${this._handleTrashKeydown}
|
|
319
|
+
>
|
|
320
|
+
${h(g)}
|
|
321
|
+
</button>
|
|
322
|
+
</div>
|
|
323
|
+
</li>`;
|
|
324
|
+
});
|
|
325
|
+
return _`<ul role="listbox" aria-label=${x("Slot contents", { desc: "Accessible label for slot menu content list" })}>${t}</ul>`;
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
//#endregion
|
|
329
|
+
//#region src/components/slot-menu-list/index.ts
|
|
330
|
+
o([y({
|
|
331
|
+
type: String,
|
|
332
|
+
reflect: !0
|
|
333
|
+
})], N.prototype, "language", void 0), o([y({
|
|
334
|
+
type: String,
|
|
335
|
+
attribute: "content-language",
|
|
336
|
+
reflect: !0
|
|
337
|
+
})], N.prototype, "contentLanguage", void 0), o([b(".draggable-slot-content")], N.prototype, "_draggableSlotContentElements", void 0), o([y({ type: Array })], N.prototype, "slotContents", void 0), o([y({
|
|
338
|
+
type: String,
|
|
339
|
+
attribute: "slot-name",
|
|
340
|
+
reflect: !0
|
|
341
|
+
})], N.prototype, "slotName", void 0), o([y({
|
|
342
|
+
type: String,
|
|
343
|
+
attribute: "slot-type",
|
|
344
|
+
reflect: !0
|
|
345
|
+
})], N.prototype, "slotType", void 0), o([y({ type: Number })], N.prototype, "activeIndex", void 0), customElements.get("luzmo-slot-menu-list") || customElements.define("luzmo-slot-menu-list", N);
|
|
346
|
+
//#endregion
|
|
347
|
+
export { S as n, N as t };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
const e=require("./base-DYRe99_q.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localize-D3i4Epy_.cjs"),r=require("./ad-hoc-slot-content-BwcFfXCV.cjs"),i=require("./pragmatic-element-adapter-DPWYJiW9.cjs"),a=require("./get-css-variable-B8sJUuig.cjs");let o=require("@luzmo/icons"),s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize");var u=e=>{let t=r.r(e);return s.html`<span class="calculation-label">
|
|
21
|
+
<span class="calculation-label-icon" aria-hidden="true">${(0,o.luzmoIcon)(t?o.luzmoFormula:o.luzmoCalculator)}</span>
|
|
22
|
+
<span>${t?(0,l.msg)(`Formula`,{desc:`Label for the formula type`}):(0,l.msg)(`Expression`,{desc:`Label for the expression type`})}</span>
|
|
23
|
+
</span>`},d={none:0,small:100,medium:350,large:700},f=.5;d.none,d.small*f,d.medium*f,d.large*f;function p(e){e.animate([{backgroundColor:`var(--ds-background-selected, #E9F2FF)`},{}],{duration:d.large,easing:`cubic-bezier(0.25, 0.1, 0.25, 1.0)`,iterations:1})}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?m(Object(n),!0).forEach(function(t){i.o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var g={top:function(e,t){return Math.abs(t.y-e.top)},right:function(e,t){return Math.abs(e.right-t.x)},bottom:function(e,t){return Math.abs(e.bottom-t.y)},left:function(e,t){return Math.abs(t.x-e.left)}},_=Symbol(`closestEdge`);function v(e,t){var n=t.element,r=t.input,a=t.allowedEdges,o={x:r.clientX,y:r.clientY},s=n.getBoundingClientRect(),c=a.map(function(e){return{edge:e,value:g[e](s,o)}}).sort(function(e,t){return e.value-t.value})[0]?.edge??null;return h(h({},e),{},i.o({},_,c))}function y(e){return e[_]??null}var b=`:host{font-family:var(--luzmo-slot-menu-list-font-family,var(--luzmo-font-family));font-size:var(--luzmo-slot-menu-list-font-size,var(--slot-menu-list-font-size));color:var(--luzmo-slot-menu-list-font-color,var(--luzmo-font-color))}ul{margin:0;padding:0;list-style:none}:host{max-height:var(--luzmo-slot-menu-list-max-height,var(--slot-menu-list-max-height));margin:0;padding:0;list-style:none;overflow-y:auto}:host::-webkit-scrollbar{width:var(--luzmo-slot-menu-list-scrollbar-width,var(--slot-menu-list-scrollbar-width))}:host::-webkit-scrollbar-track{background:var(--luzmo-slot-menu-list-scrollbar-track-background,var(--slot-menu-list-scrollbar-track-background));border-radius:var(--luzmo-slot-menu-list-scrollbar-track-border-radius,var(--slot-menu-list-scrollbar-track-border-radius))}:host::-webkit-scrollbar-thumb{background:var(--luzmo-slot-menu-list-scrollbar-thumb-background,var(--slot-menu-list-scrollbar-thumb-background));border-radius:var(--luzmo-slot-menu-list-scrollbar-thumb-border-radius,var(--slot-menu-list-scrollbar-thumb-border-radius))}:host::-webkit-scrollbar-thumb:hover{background:var(--luzmo-slot-menu-list-scrollbar-thumb-hover-background,var(--slot-menu-list-scrollbar-thumb-hover-background))}:host{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-slot-menu-list-scrollbar-thumb-background,var(--slot-menu-list-scrollbar-thumb-background)) var(--luzmo-slot-menu-list-scrollbar-track-background,var(--slot-menu-list-scrollbar-track-background));border-right:var(--luzmo-slot-menu-list-border-right-width,var(--luzmo-border-width)) solid var(--luzmo-slot-menu-list-border-right-color,var(--luzmo-border-color))}:host li{cursor:pointer;position:relative}:host li:hover{background-color:var(--luzmo-slot-menu-list-background-color-hover,var(--slot-menu-list-background-color-hover))}:host li{border-bottom:var(--luzmo-slot-menu-list-border-bottom-width,var(--slot-menu-list-border-bottom-width)) solid var(--luzmo-slot-menu-list-border-bottom-color,var(--slot-menu-list-border-bottom-color))}:host .active{background-color:var(--luzmo-slot-menu-list-active-background-color,var(--slot-menu-list-active-background-color));color:var(--luzmo-slot-menu-list-active-color,var(--slot-menu-list-active-color))}:host .active:hover{background-color:var(--luzmo-slot-menu-list-active-background-color-hover,var(--slot-menu-list-active-background-color-hover))}:host .active .draggable-slot-content:focus-visible{background-color:var(--luzmo-slot-menu-list-active-background-color-hover,var(--slot-menu-list-active-background-color-hover));outline:none}:host .active .draggable-slot-content-remove:focus-visible{outline-color:var(--luzmo-slot-menu-list-active-color,var(--slot-menu-list-active-color));background-color:var(--luzmo-slot-menu-list-active-background-color-hover,var(--slot-menu-list-active-background-color-hover))}.calculation-label{align-items:center;gap:var(--luzmo-spacing-3);display:inline-flex}.calculation-label-icon{flex:none;display:inline-flex}.drop-indicator{height:var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height));background-color:var(--luzmo-slot-menu-list-drop-indicator-color,var(--slot-menu-list-drop-indicator-color));position:absolute;left:0;right:0}.drop-indicator:before{content:"";border:var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height)) solid var(--luzmo-slot-menu-list-drop-indicator-color,var(--slot-menu-list-drop-indicator-color));background:var(--luzmo-slot-menu-list-drop-indicator-background,var(--luzmo-background-color));width:100%;left:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size,var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height))));top:calc(-.5 * (var(--luzmo-slot-menu-list-drop-indicator-circle-size,var(--slot-menu-list-drop-indicator-circle-size)) + var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height))));height:var(--luzmo-slot-menu-list-drop-indicator-circle-size,var(--slot-menu-list-drop-indicator-circle-size));width:var(--luzmo-slot-menu-list-drop-indicator-circle-size,var(--slot-menu-list-drop-indicator-circle-size));border-radius:50%;display:block;position:absolute}.drop-indicator[data-edge=top]{top:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height)))}.drop-indicator[data-edge=bottom]{bottom:calc(-.5 * var(--luzmo-slot-menu-list-drop-indicator-height,var(--slot-menu-list-drop-indicator-height)))}.draggable-slot-content{justify-content:space-between;gap:var(--luzmo-slot-menu-label-to-icon-gap,var(--slot-menu-label-to-icon-gap));touch-action:none;cursor:pointer;align-items:center;display:flex}.draggable-slot-content:focus-visible{background-color:color-mix(in srgb, var(--luzmo-primary) 20%, transparent);outline:none}.draggable-slot-content .draggable-slot-content-label{padding-block:var(--luzmo-slot-menu-list-item-vertical-padding,var(--slot-menu-list-item-vertical-padding));text-overflow:ellipsis;white-space:nowrap;font:inherit;color:inherit;cursor:inherit;text-align:start;background:0 0;border:none;flex:auto;padding-inline-start:var(--luzmo-slot-menu-list-item-horizontal-padding,var(--slot-menu-list-item-horizontal-padding));overflow:hidden}.draggable-slot-content .draggable-slot-content-remove{padding:var(--luzmo-spacing-1);font:inherit;color:inherit;cursor:inherit;border-radius:var(--luzmo-border-radius);background:0 0;border:none;flex:none;justify-content:center;align-items:center;margin-inline-end:var(--luzmo-slot-menu-list-item-horizontal-padding,var(--slot-menu-list-item-horizontal-padding));display:flex}.draggable-slot-content .draggable-slot-content-remove:focus-visible{outline:var(--luzmo-indicator-width) solid var(--luzmo-indicator-color);outline-offset:1px}:host{--slot-menu-list-active-background-color:var(--luzmo-primary);--slot-menu-list-active-background-color-hover:var(--luzmo-primary-hover);--slot-menu-list-active-color:var(--luzmo-primary-inverse-color);--slot-menu-list-background-color-hover:var(--luzmo-background-color-hover);--slot-menu-list-drop-indicator-color:var(--luzmo-font-color-down);--slot-menu-list-drop-indicator-height:2px;--slot-menu-list-drop-indicator-circle-size:4px;--slot-menu-list-border-bottom-width:0px;--slot-menu-list-border-bottom-color:transparent;--slot-menu-list-max-height:calc(var(--luzmo-component-height) * 4);--slot-menu-list-scrollbar-width:var(--luzmo-scrollbar-size);--slot-menu-list-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--slot-menu-list-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--slot-menu-list-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--slot-menu-list-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--slot-menu-list-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--slot-menu-display-settings-min-width:19rem;--slot-menu-min-height:calc(var(--luzmo-component-height) * 2);--slot-menu-font-size:var(--luzmo-font-size);--slot-menu-list-item-horizontal-padding:var(--luzmo-spacing-4);--slot-menu-list-item-vertical-padding:var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap:var(--luzmo-spacing-3)}:host([size=s]){--slot-menu-display-settings-min-width:16rem;--slot-menu-min-height:calc(var(--luzmo-component-height-s) * 2);--slot-menu-font-size:var(--luzmo-font-size-s);--slot-menu-list-item-horizontal-padding:var(--luzmo-spacing-3);--slot-menu-list-item-vertical-padding:var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap:var(--luzmo-spacing-2)}:host([size=l]){--slot-menu-display-settings-min-width:23rem;--slot-menu-min-height:calc(var(--luzmo-component-height-l) * 2);--slot-menu-font-size:var(--luzmo-font-size-l);--slot-menu-list-item-horizontal-padding:var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding:var(--luzmo-spacing-3);--slot-menu-label-to-icon-gap:var(--luzmo-spacing-4)}:host([size=xl]){--slot-menu-display-settings-min-width:26rem;--slot-menu-min-height:calc(var(--luzmo-component-height-xl) * 2);--slot-menu-font-size:var(--luzmo-font-size-xl);--slot-menu-list-item-horizontal-padding:var(--luzmo-spacing-5);--slot-menu-list-item-vertical-padding:var(--luzmo-spacing-4);--slot-menu-label-to-icon-gap:var(--luzmo-spacing-5)}`,x=class extends e.n(e.i,{validSizes:Object.values(e.t)}){constructor(...e){super(...e),this.language=`en`,this.contentLanguage=`en`,this.slotContents=[],this.slotName=`measure`,this.slotType=`numeric`,this.activeIndex=0,this._sendChangeEvent=()=>{this.dispatchEvent(new CustomEvent(`luzmo-slot-list-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:structuredClone(this.slotContents),activeIndex:this.activeIndex}}))},this._cleanupFns=[],this._attachAll=()=>{[...this._draggableSlotContentElements].forEach(e=>{let t=this._sendChangeEvent.bind(this),n=this,r=i.t({element:e,onGenerateDragPreview({nativeSetDragImage:t}){a.n({nativeSetDragImage:t,render({container:t}){let n=document.createElement(`div`);n.classList.add(`drag-preview`);let r={};[[`borderColor`,`--luzmo-slot-menu-list-border-color`,`--luzmo-border-color`],[`backgroundColor`,`--luzmo-slot-menu-list-background-color`,`--luzmo-background-color`],[`color`,`--luzmo-slot-menu-list-font-color`,`--slot-menu-list-font-color`],[`fontSize`,`--luzmo-slot-menu-list-font-size`,`--slot-menu-list-font-size`],[`horizontalPadding`,`--luzmo-slot-menu-list-item-horizontal-padding`,`--slot-menu-list-item-horizontal-padding`],[`verticalPadding`,`--luzmo-slot-menu-list-item-vertical-padding`,`--slot-menu-list-item-vertical-padding`],[`borderRadius`,`--luzmo-slot-menu-list-border-radius`,`--luzmo-border-radius`],[`fontFamily`,`--luzmo-slot-menu-list-font-family`,`--luzmo-font-family`]].forEach(([t,n,i])=>{let o=a.t(e,n)||a.t(e,i);r[t]=o}),n.textContent=e.querySelector(`[data-task-content]`)?.textContent||e.dataset.taskLabel||e.textContent,Object.assign(n.style,{border:`1px solid ${r.borderColor}`,backgroundColor:r.backgroundColor,borderRadius:r.borderRadius,fontFamily:r.fontFamily,fontSize:r.fontSize,color:r.color,paddingInline:`${r.horizontalPadding}`,paddingBlock:`${r.verticalPadding}`}),t.append(n)}})},getInitialData(){let t=e.parentElement,n=0;return t&&(n=[...t.parentElement?.children??[]].indexOf(t)),{index:n}},onDragStart(){e.style.opacity=`0.5`},onDrop(){e.style.opacity=`1`}});this._cleanupFns.push(r);let o=i.n({element:e,canDrop({source:t}){return t.element!==e&&t?.element?.classList.contains(`draggable-slot-content`)},getData(t){return v({},{element:e,input:t.input,allowedEdges:[`top`,`bottom`]})},getIsSticky(){return!0},onDragEnter({self:t}){let n=y(t.data);if(!n)return;let r=document.createElement(`div`);r.classList.add(`drop-indicator`),r.dataset.edge=n,e.after(r)},onDrag({self:t}){let n=y(t.data);if(!n){e.nextElementSibling?.remove();return}if(e.nextElementSibling?.getAttribute(`data-edge`)===n)return;e.nextElementSibling?.remove();let r=document.createElement(`div`);r.classList.add(`drop-indicator`),r.dataset.edge=n,e.after(r)},onDragLeave(){e.nextElementSibling?.remove()},onDrop({self:r,source:i}){e.nextElementSibling?.remove();let a=y(r.data),o=r.element.parentElement;if(typeof i.data.index==`number`&&o){let e=[...o.parentElement?.children??[]].indexOf(o);a===`bottom`&&i.data.index>=e&&e<(o?.parentElement?.children?.length??0)-1?e+=1:a===`top`&&e>i.data.index&&--e;let t=n.activeIndex,r=i.data.index,s=e,c=n.slotContents[r];n.slotContents.splice(r,1),n.slotContents.splice(s,0,c),r===t?n.activeIndex=s:r<t&&s>=t?n.activeIndex=t-1:r>t&&s<=t&&(n.activeIndex=t+1)}a&&(p(i.element),n.requestUpdate(),t())}});this._cleanupFns.push(o)})},this._detachAll=()=>{this._cleanupFns.forEach(e=>e()),this._cleanupFns=[]}}static get styles(){return[(0,s.unsafeCSS)(b)]}willUpdate(){this._detachAll()}updated(){this._attachAll()}disconnectedCallback(){super.disconnectedCallback(),this._detachAll()}setActiveIndex(e){this.activeIndex=e,this._sendChangeEvent()}removeSlotContent(e){this.slotContents=this.slotContents.filter((t,n)=>n!==e),this.activeIndex=this.slotContents.length===0?0:Math.min(this.activeIndex,this.slotContents.length-1),this._sendChangeEvent()}_moveItem(e,t){let n=this.slotContents[e],r=[...this.slotContents];r.splice(e,1),r.splice(t,0,n),this.slotContents=r,this.activeIndex===e?this.activeIndex=t:e<this.activeIndex&&t>=this.activeIndex?--this.activeIndex:e>this.activeIndex&&t<=this.activeIndex&&(this.activeIndex+=1),this._sendChangeEvent(),this.updateComplete.then(()=>this._draggableSlotContentElements[t]?.focus())}_handleContentKeydown(e,t){switch(t.key){case` `:case`Enter`:t.preventDefault(),this.setActiveIndex(e);break;case`ArrowUp`:t.preventDefault(),t.altKey&&e>0?this._moveItem(e,e-1):!t.altKey&&e>0&&this._draggableSlotContentElements[e-1]?.focus();break;case`ArrowDown`:t.preventDefault(),t.altKey&&e<this.slotContents.length-1?this._moveItem(e,e+1):!t.altKey&&e<this.slotContents.length-1&&this._draggableSlotContentElements[e+1]?.focus();break}}_handleTrashClick(e,t){t.stopPropagation(),this.removeSlotContent(e)}_handleTrashKeydown(e){(e.key===` `||e.key===`Enter`)&&e.stopPropagation()}render(){let e={name:this.slotName,type:this.slotType},t=this.slotContents.map((t,i)=>{let a=n.t(t.label??{},this.contentLanguage)??(0,l.msg)(`Untitled`,{desc:`Fallback label for a slot content without a name`}),c=r.i(t,e)?r.t(t):void 0,d=i===this.activeIndex;return s.html`<li class=${d?`active`:``}>
|
|
24
|
+
<div class="draggable-slot-content"
|
|
25
|
+
data-task-label=${c??a}
|
|
26
|
+
tabindex="0"
|
|
27
|
+
role="option"
|
|
28
|
+
aria-selected=${d?`true`:`false`}
|
|
29
|
+
@click=${this.setActiveIndex.bind(this,i)}
|
|
30
|
+
@keydown=${this._handleContentKeydown.bind(this,i)}
|
|
31
|
+
>
|
|
32
|
+
<span class="draggable-slot-content-label" data-task-content>
|
|
33
|
+
${c?u(t):a}
|
|
34
|
+
</span>
|
|
35
|
+
<button
|
|
36
|
+
class="draggable-slot-content-remove"
|
|
37
|
+
aria-label=${(0,l.msg)(`Remove`,{desc:`Remove button label`})}
|
|
38
|
+
@click=${this._handleTrashClick.bind(this,i)}
|
|
39
|
+
@keydown=${this._handleTrashKeydown}
|
|
40
|
+
>
|
|
41
|
+
${(0,o.luzmoIcon)(o.luzmoTrashOutline)}
|
|
42
|
+
</button>
|
|
43
|
+
</div>
|
|
44
|
+
</li>`});return s.html`<ul role="listbox" aria-label=${(0,l.msg)(`Slot contents`,{desc:`Accessible label for slot menu content list`})}>${t}</ul>`}};t.t([(0,c.property)({type:String,reflect:!0})],x.prototype,`language`,void 0),t.t([(0,c.property)({type:String,attribute:`content-language`,reflect:!0})],x.prototype,`contentLanguage`,void 0),t.t([(0,c.queryAll)(`.draggable-slot-content`)],x.prototype,`_draggableSlotContentElements`,void 0),t.t([(0,c.property)({type:Array})],x.prototype,`slotContents`,void 0),t.t([(0,c.property)({type:String,attribute:`slot-name`,reflect:!0})],x.prototype,`slotName`,void 0),t.t([(0,c.property)({type:String,attribute:`slot-type`,reflect:!0})],x.prototype,`slotType`,void 0),t.t([(0,c.property)({type:Number})],x.prototype,`activeIndex`,void 0),customElements.get(`luzmo-slot-menu-list`)||customElements.define(`luzmo-slot-menu-list`,x),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return x}});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
var e=new Set([`x-axis`,`y-axis`,`category`,`name`,`row`,`levels`]),t=new Set([`legend`,`color`,`column`]),n=new Set([`measure`]),r={dimension:`mainGroupBy`,time:`mainGroupBy`,identifier:`mainGroupBy`,evolution:`mainGroupBy`,source:`mainGroupBy`,destination:`secondaryGroupBy`,open:`measure`,high:`measure`,low:`measure`,close:`measure`,target:`measure`,slidermetric:`measure`,geo:`other`,coordinates:`other`},i={"x-axis":[`y-axis`,`category`,`name`,`row`,`levels`],"y-axis":[`x-axis`,`category`,`name`,`row`,`levels`],category:[`name`,`x-axis`,`y-axis`,`row`,`levels`],name:[`category`,`x-axis`,`y-axis`,`row`,`levels`],row:[`x-axis`,`y-axis`,`category`,`name`,`levels`],levels:[`x-axis`,`y-axis`,`category`,`name`,`row`]},a={legend:[`color`,`column`],color:[`legend`,`column`],column:[`legend`,`color`]};function o(e){return e.type===`numeric`||e.type===`array[numeric]`?`numeric`:`dimension`}function s(i){return r[i.slotName]||(n.has(i.slotName)?`measure`:t.has(i.slotName)?`secondaryGroupBy`:e.has(i.slotName)?`mainGroupBy`:i.slotType===`numeric`?`measure`:i.slotType===`categorical`?`mainGroupBy`:i.slotType===`mixed`?i.contentKind===`numeric`?`measure`:`mainGroupBy`:`other`)}function c(i){let a=new Set,o=r[i.name];return o&&a.add(o),e.has(i.name)&&a.add(`mainGroupBy`),t.has(i.name)&&a.add(`secondaryGroupBy`),n.has(i.name)&&a.add(`measure`),i.type===`numeric`?a.add(`measure`):i.type===`categorical`?a.size===0&&a.add(`mainGroupBy`):i.type===`mixed`&&(a.add(`mainGroupBy`),a.add(`measure`)),a.size===0&&a.add(`other`),a}function l(e){return e.some(e=>c(e).has(`secondaryGroupBy`))}function u(e,t){let n=e===`mainGroupBy`?i:e===`secondaryGroupBy`?a:void 0;return!n||!(t in n)?[]:[...n[t]]}function d(e){let t=new Map,n=e=>{let n=`${e.name}::${e.type??``}`,r=t.get(n);return r||(r=c(e),t.set(n,r)),r},r=[e.sourceSlotName,...u(e.sourceRole,e.sourceSlotName)],i=new Map;return r.forEach((e,t)=>{i.has(e)||i.set(e,t)}),[...e.targetSlots.filter(t=>{let r=n(t);return e.preferredRoles.some(e=>r.has(e))?!e.isAdditionalCompatible||e.isAdditionalCompatible(t):!1})].sort((t,r)=>{let a=n(t),o=n(r),s=e.preferredRoles.findIndex(e=>a.has(e)),c=e.preferredRoles.findIndex(e=>o.has(e)),l=s===-1?2**53-1:s,u=c===-1?2**53-1:c;if(l!==u)return l-u;let d=i.get(t.name)??2**53-1,f=i.get(r.name)??2**53-1;return d===f?(t.order??0)-(r.order??0):d-f})}function f(e,t){return e.sourceRole===`mainGroupBy`?[`mainGroupBy`,`secondaryGroupBy`]:e.sourceRole===`secondaryGroupBy`?t?[`secondaryGroupBy`]:[`mainGroupBy`]:e.sourceRole===`measure`?[`measure`]:[`other`]}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return f}});
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
//#region src/utils/switch-item/slot-role-classification.ts
|
|
21
|
+
var e = /* @__PURE__ */ new Set([
|
|
22
|
+
"x-axis",
|
|
23
|
+
"y-axis",
|
|
24
|
+
"category",
|
|
25
|
+
"name",
|
|
26
|
+
"row",
|
|
27
|
+
"levels"
|
|
28
|
+
]), t = /* @__PURE__ */ new Set([
|
|
29
|
+
"legend",
|
|
30
|
+
"color",
|
|
31
|
+
"column"
|
|
32
|
+
]), n = /* @__PURE__ */ new Set(["measure"]), r = {
|
|
33
|
+
dimension: "mainGroupBy",
|
|
34
|
+
time: "mainGroupBy",
|
|
35
|
+
identifier: "mainGroupBy",
|
|
36
|
+
evolution: "mainGroupBy",
|
|
37
|
+
source: "mainGroupBy",
|
|
38
|
+
destination: "secondaryGroupBy",
|
|
39
|
+
open: "measure",
|
|
40
|
+
high: "measure",
|
|
41
|
+
low: "measure",
|
|
42
|
+
close: "measure",
|
|
43
|
+
target: "measure",
|
|
44
|
+
slidermetric: "measure",
|
|
45
|
+
geo: "other",
|
|
46
|
+
coordinates: "other"
|
|
47
|
+
}, i = {
|
|
48
|
+
"x-axis": [
|
|
49
|
+
"y-axis",
|
|
50
|
+
"category",
|
|
51
|
+
"name",
|
|
52
|
+
"row",
|
|
53
|
+
"levels"
|
|
54
|
+
],
|
|
55
|
+
"y-axis": [
|
|
56
|
+
"x-axis",
|
|
57
|
+
"category",
|
|
58
|
+
"name",
|
|
59
|
+
"row",
|
|
60
|
+
"levels"
|
|
61
|
+
],
|
|
62
|
+
category: [
|
|
63
|
+
"name",
|
|
64
|
+
"x-axis",
|
|
65
|
+
"y-axis",
|
|
66
|
+
"row",
|
|
67
|
+
"levels"
|
|
68
|
+
],
|
|
69
|
+
name: [
|
|
70
|
+
"category",
|
|
71
|
+
"x-axis",
|
|
72
|
+
"y-axis",
|
|
73
|
+
"row",
|
|
74
|
+
"levels"
|
|
75
|
+
],
|
|
76
|
+
row: [
|
|
77
|
+
"x-axis",
|
|
78
|
+
"y-axis",
|
|
79
|
+
"category",
|
|
80
|
+
"name",
|
|
81
|
+
"levels"
|
|
82
|
+
],
|
|
83
|
+
levels: [
|
|
84
|
+
"x-axis",
|
|
85
|
+
"y-axis",
|
|
86
|
+
"category",
|
|
87
|
+
"name",
|
|
88
|
+
"row"
|
|
89
|
+
]
|
|
90
|
+
}, a = {
|
|
91
|
+
legend: ["color", "column"],
|
|
92
|
+
color: ["legend", "column"],
|
|
93
|
+
column: ["legend", "color"]
|
|
94
|
+
};
|
|
95
|
+
function o(e) {
|
|
96
|
+
return e.type === "numeric" || e.type === "array[numeric]" ? "numeric" : "dimension";
|
|
97
|
+
}
|
|
98
|
+
function s(i) {
|
|
99
|
+
return r[i.slotName] || (n.has(i.slotName) ? "measure" : t.has(i.slotName) ? "secondaryGroupBy" : e.has(i.slotName) ? "mainGroupBy" : i.slotType === "numeric" ? "measure" : i.slotType === "categorical" ? "mainGroupBy" : i.slotType === "mixed" ? i.contentKind === "numeric" ? "measure" : "mainGroupBy" : "other");
|
|
100
|
+
}
|
|
101
|
+
function c(i) {
|
|
102
|
+
let a = /* @__PURE__ */ new Set(), o = r[i.name];
|
|
103
|
+
return o && a.add(o), e.has(i.name) && a.add("mainGroupBy"), t.has(i.name) && a.add("secondaryGroupBy"), n.has(i.name) && a.add("measure"), i.type === "numeric" ? a.add("measure") : i.type === "categorical" ? a.size === 0 && a.add("mainGroupBy") : i.type === "mixed" && (a.add("mainGroupBy"), a.add("measure")), a.size === 0 && a.add("other"), a;
|
|
104
|
+
}
|
|
105
|
+
function l(e) {
|
|
106
|
+
return e.some((e) => c(e).has("secondaryGroupBy"));
|
|
107
|
+
}
|
|
108
|
+
function u(e, t) {
|
|
109
|
+
let n = e === "mainGroupBy" ? i : e === "secondaryGroupBy" ? a : void 0;
|
|
110
|
+
return !n || !(t in n) ? [] : [...n[t]];
|
|
111
|
+
}
|
|
112
|
+
function d(e) {
|
|
113
|
+
let t = /* @__PURE__ */ new Map(), n = (e) => {
|
|
114
|
+
let n = `${e.name}::${e.type ?? ""}`, r = t.get(n);
|
|
115
|
+
return r || (r = c(e), t.set(n, r)), r;
|
|
116
|
+
}, r = [e.sourceSlotName, ...u(e.sourceRole, e.sourceSlotName)], i = /* @__PURE__ */ new Map();
|
|
117
|
+
return r.forEach((e, t) => {
|
|
118
|
+
i.has(e) || i.set(e, t);
|
|
119
|
+
}), [...e.targetSlots.filter((t) => {
|
|
120
|
+
let r = n(t);
|
|
121
|
+
return e.preferredRoles.some((e) => r.has(e)) ? !e.isAdditionalCompatible || e.isAdditionalCompatible(t) : !1;
|
|
122
|
+
})].sort((t, r) => {
|
|
123
|
+
let a = n(t), o = n(r), s = e.preferredRoles.findIndex((e) => a.has(e)), c = e.preferredRoles.findIndex((e) => o.has(e)), l = s === -1 ? 2 ** 53 - 1 : s, u = c === -1 ? 2 ** 53 - 1 : c;
|
|
124
|
+
if (l !== u) return l - u;
|
|
125
|
+
let d = i.get(t.name) ?? 2 ** 53 - 1, f = i.get(r.name) ?? 2 ** 53 - 1;
|
|
126
|
+
return d === f ? (t.order ?? 0) - (r.order ?? 0) : d - f;
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function f(e, t) {
|
|
130
|
+
return e.sourceRole === "mainGroupBy" ? ["mainGroupBy", "secondaryGroupBy"] : e.sourceRole === "secondaryGroupBy" ? t ? ["secondaryGroupBy"] : ["mainGroupBy"] : e.sourceRole === "measure" ? ["measure"] : ["other"];
|
|
131
|
+
}
|
|
132
|
+
//#endregion
|
|
133
|
+
export { c as a, s as i, l as n, d as o, o as r, f as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
var e={"area-chart":()=>Promise.resolve().then(()=>require("./area-chart-slots.config-BOhwdLnr.cjs")).then(e=>e.t),"bar-chart":()=>Promise.resolve().then(()=>require("./bar-chart-slots.config-DMWjAd5a.cjs")).then(e=>e.t),"box-plot":()=>Promise.resolve().then(()=>require("./box-plot-slots.config-5B_pTjPJ.cjs")).then(e=>e.t),"bubble-chart":()=>Promise.resolve().then(()=>require("./bubble-chart-slots.config-VHKuntJk.cjs")).then(e=>e.t),"bullet-chart":()=>Promise.resolve().then(()=>require("./bullet-chart-slots.config-CZfTgKZ4.cjs")).then(e=>e.t),"choropleth-map":()=>Promise.resolve().then(()=>require("./choropleth-map-slots.config-CZKWF1qV.cjs")).then(e=>e.t),"circle-pack-chart":()=>Promise.resolve().then(()=>require("./circle-pack-chart-slots.config-GL7T5_o4.cjs")).then(e=>e.t),"circular-gauge":()=>Promise.resolve().then(()=>require("./circular-gauge-slots.config-DUHabt3G.cjs")).then(e=>e.t),"column-chart":()=>Promise.resolve().then(()=>require("./column-chart-slots.config-CM5aytbj.cjs")).then(e=>e.t),"combination-chart":()=>Promise.resolve().then(()=>require("./combination-chart-slots.config-BwUOXFCR.cjs")).then(e=>e.t),"conditional-number":()=>Promise.resolve().then(()=>require("./conditional-number-slots.config-B7maHIaG.cjs")).then(e=>e.t),"date-comparison-filter":()=>Promise.resolve().then(()=>require("./date-comparison-filter-slots.config-oABOLs3D.cjs")).then(e=>e.t),"date-filter":()=>Promise.resolve().then(()=>require("./date-filter-slots.config-Cuzz0RjE.cjs")).then(e=>e.t),"donut-chart":()=>Promise.resolve().then(()=>require("./donut-chart-slots.config-Bi08z-XB.cjs")).then(e=>e.t),"dropdown-filter":()=>Promise.resolve().then(()=>require("./dropdown-filter-slots.config-CR-Ko6q_.cjs")).then(e=>e.t),"evolution-number":()=>Promise.resolve().then(()=>require("./evolution-number-slots.config-CikuQYgm.cjs")).then(e=>e.n),"funnel-chart":()=>Promise.resolve().then(()=>require("./funnel-chart-slots.config-B8zC6Q6_.cjs")).then(e=>e.n),"heat-map":()=>Promise.resolve().then(()=>require("./heat-map-slots.config-Wp_oS8JQ.cjs")).then(e=>e.n),"heat-table":()=>Promise.resolve().then(()=>require("./heat-table-slots.config-BN7rtHZG.cjs")).then(e=>e.n),"hexbin-map":()=>Promise.resolve().then(()=>require("./hexbin-map-slots.config-mx5zUTrA.cjs")).then(e=>e.n),image:()=>Promise.resolve().then(()=>require("./image-slots.config-BPJRdlMR.cjs")).then(e=>e.n),"line-chart":()=>Promise.resolve().then(()=>require("./line-chart-slots.config-vv66fcoE.cjs")).then(e=>e.n),"marker-map":()=>Promise.resolve().then(()=>require("./marker-map-slots.config-DigZk7lN.cjs")).then(e=>e.n),"ohlc-chart":()=>Promise.resolve().then(()=>require("./ohlc-chart-slots.config-D3fzoQJH.cjs")).then(e=>e.n),"parallel-coordinates-plot":()=>Promise.resolve().then(()=>require("./parallel-coordinates-plot-slots.config-s_tLqGA-.cjs")).then(e=>e.n),"pivot-table":()=>Promise.resolve().then(()=>require("./pivot-table-slots.config-KlYXL90k.cjs")).then(e=>e.n),"pyramid-chart":()=>Promise.resolve().then(()=>require("./pyramid-chart-slots.config-CreUpxI2.cjs")).then(e=>e.n),"radar-chart":()=>Promise.resolve().then(()=>require("./radar-chart-slots.config-B3oIp-8w.cjs")).then(e=>e.n),"regular-table":()=>Promise.resolve().then(()=>require("./regular-table-slots.config-UwzWj6gg.cjs")).then(e=>e.n),"route-map":()=>Promise.resolve().then(()=>require("./route-map-slots.config-DfYT65BF.cjs")).then(e=>e.n),"sankey-diagram":()=>Promise.resolve().then(()=>require("./sankey-diagram-slots.config-D-_u4w36.cjs")).then(e=>e.n),"scatter-plot":()=>Promise.resolve().then(()=>require("./scatter-plot-slots.config-CrG6wQtV.cjs")).then(e=>e.n),"search-filter":()=>Promise.resolve().then(()=>require("./search-filter-slots.config-DP06ulJA.cjs")).then(e=>e.n),"slicer-filter":()=>Promise.resolve().then(()=>require("./slicer-filter-slots.config-CHKpdJvF.cjs")).then(e=>e.n),"slider-filter":()=>Promise.resolve().then(()=>require("./slider-filter-slots.config-9R298H0t.cjs")).then(e=>e.n),"speedometer-chart":()=>Promise.resolve().then(()=>require("./speedometer-chart-slots.config-S_hQm2MV.cjs")).then(e=>e.n),"spike-map":()=>Promise.resolve().then(()=>require("./spike-map-slots.config-cKfaD6dQ.cjs")).then(e=>e.n),"strip-plot":()=>Promise.resolve().then(()=>require("./strip-plot-slots.config-DNYlrK_c.cjs")).then(e=>e.n),"sunburst-chart":()=>Promise.resolve().then(()=>require("./sunburst-chart-slots.config-DkUUt5RF.cjs")).then(e=>e.n),"symbol-map":()=>Promise.resolve().then(()=>require("./symbol-map-slots.config-DwNf547A.cjs")).then(e=>e.n),text:()=>Promise.resolve().then(()=>require("./text-slots.config-CPghLc8b.cjs")).then(e=>e.n),"treemap-chart":()=>Promise.resolve().then(()=>require("./treemap-chart-slots.config-CS3ot6ZJ.cjs")).then(e=>e.n),"venn-diagram":()=>Promise.resolve().then(()=>require("./venn-diagram-slots.config-DYTmU8v2.cjs")).then(e=>e.n),video:()=>Promise.resolve().then(()=>require("./video-slots.config-DMut7o7r.cjs")).then(e=>e.n),"wordcloud-chart":()=>Promise.resolve().then(()=>require("./wordcloud-chart-slots.config-V29v2Fhr.cjs")).then(e=>e.n)},t=e=>`${e.replaceAll(/-([a-z])/g,(e,t)=>t.toUpperCase())}SlotsConfig`,n=async n=>{try{let r=e[n];return r?(await r())[t(n)]??null:null}catch{return null}},r=e=>e?n(e):Promise.resolve(null);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|