@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,153 @@
|
|
|
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("./decorate-DCJt-2rt.cjs"),t=require("./localized-mixin-BForHr3t.cjs");require("./filter-item-5HCSM9cu.cjs");let n=require("@luzmo/icons");require("@luzmo/lucero/button"),require("@luzmo/lucero/icon");let r=require("lit"),i=require("lit/decorators.js"),a=require("@lit/localize");require("@luzmo/lucero/action-button");let o=require("lit/directives/repeat.js"),s=require("@luzmo/lucero/utils");var c=20,l=class extends Error{constructor(e){super(e),this.name=`FilterUnrepresentableError`}},u=new Set([`and`,`or`]),d=[`datasetId`,`dataset_id`,`columnId`,`column_id`,`formulaId`,`formula_id`,`formula`,`columnExpression`,`value`,`ignoredItemIds`];function f(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function p(e){return!f(e)||e.condition!==void 0&&(typeof e.condition!=`string`||!u.has(e.condition.toLowerCase()))?!1:`filters`in e||`subGroups`in e}function m(e){return f(e)&&`expression`in e&&!(`condition`in e)}function h(e){return d.some(t=>t in e)}function g(e,t=!1){let n=[e.columnId!==void 0||e.column_id!==void 0,e.formulaId!==void 0||e.formula_id!==void 0,e.formula!==void 0].filter(Boolean).length;return n===1?!0:n>1?!1:e.columnExpression!==void 0||t&&e.expression!==void 0}function _(e){return!m(e)||typeof e.expression!=`string`||e.expression.length===0||`parameters`in e||typeof e.datasetId!=`string`&&typeof e.dataset_id!=`string`?!1:g(e)}function v(e){return!m(e)||!Array.isArray(e.parameters)?!1:!h(e)}function ee(e){if(!(`parameters`in e))return;let t=d.find(t=>t in e);if(t!==void 0)throw new l(`Filter leaf mixes "parameters" with the clean inline key "${t}".`)}function te(e){throw typeof e.expression!=`string`||e.expression.length===0?new l(`Clean filter leaf is missing a non-empty "expression".`):typeof e.datasetId!=`string`&&typeof e.dataset_id!=`string`?new l(`Clean filter leaf "${e.expression}" is missing a "datasetId".`):new l(`Clean filter leaf "${e.expression}" must name exactly one of "columnId", "formulaId", "formula", or "columnExpression".`)}function y(e){return e===`where`||e===`having`}function b(e){if(e>20)throw new l(`Filter nesting exceeds the maximum depth of 20.`)}function x(e){if(e==null)return`empty`;if(!Array.isArray(e))return`unknown`;if(e.length===0)return`empty`;let t=!1,n=!1,r=!1,i=(e,a)=>{if(a>20){r=!0;return}if(p(e)){y(e.clause)&&(n=!0);let t=[...Array.isArray(e.filters)?e.filters:[],...Array.isArray(e.subGroups)?e.subGroups:[]];for(let e of t)i(e,a+1);return}if(m(e)){`parameters`in e&&h(e)?r=!0:_(e)?n=!0:v(e)?t=!0:r=!0;return}r=!0};for(let t of e)i(t,1);return r?`unknown`:n&&t?`mixed`:n?`clean`:t?`canonical`:`empty`}var S=new Set([`? is null`,`? is not null`]),C=new Set([`? = ?`,`? != ?`,`? < ?`,`? <= ?`,`? > ?`,`? >= ?`]),ne=new Set([`? in ?`,`? not in ?`,`? between ?`]),re={"array[numeric]":`numeric[]`,"array[hierarchy]":`hierarchy[]`,"array[datetime]":`datetime[]`},w=new Set([`level`,`lowestLevel`,`unnest`,`discretization`,`aggregation`,`index`,`include_nonoccurring`,`simplification`]);function T(e,t){return e!==`lowestLevel`&&!(t===null&&w.has(e))}function E(e){return structuredClone(e)}function D(e){let t=e.datasetId??e.dataset_id;if(typeof t!=`string`||t.length===0)throw new l(`Filter reference is missing a "datasetId".`);return t}function O(e){return f(e)?typeof e.columnId==`string`||typeof e.column_id==`string`||typeof e.formulaId==`string`||typeof e.formula_id==`string`||typeof e.formula==`string`||(typeof e.datasetId==`string`||typeof e.dataset_id==`string`)&&(e.columnExpression!==void 0||e.expression!==void 0):!1}function k(e){let t={type:e.type};return e.bins!==void 0&&(t.bins=e.bins),Array.isArray(e.over)&&(t.over=e.over.map(e=>I(e))),t}function A(e){let t={type:e.type},n=e.datasetId??e.dataset_id,r=e.columnId??e.column_id;return n!==void 0&&(t.datasetId=n),r!==void 0&&(t.columnId=r),e.level!==void 0&&T(`level`,e.level)&&(t.level=e.level),f(e.discretization)&&(t.discretization=k(e.discretization)),e.unnest!==void 0&&T(`unnest`,e.unnest)&&(t.unnest=e.unnest),t}function j(e){let t={type:e.type};return e.bins!==void 0&&(t.bins=e.bins),Array.isArray(e.over)&&(t.over=e.over.map(e=>f(e)?F(e):e)),t}function M(e){let t={type:e.type},n=e.datasetId??e.dataset_id,r=e.columnId??e.column_id;return n!==void 0&&(t.datasetId=n),r!==void 0&&(t.columnId=r),e.level!==void 0&&(t.level=e.level),f(e.discretization)&&(t.discretization=j(e.discretization)),e.unnest!==void 0&&(t.unnest=e.unnest),t}function N(e,t){e.level!==void 0&&(t.level=E(e.level)),f(e.discretization)&&(t.discretization=j(e.discretization)),f(e.aggregation)&&(t.aggregation=M(e.aggregation)),e.unnest!==void 0&&(t.unnest=E(e.unnest))}function P(e,t){let n=e.columnId??e.column_id;if(n!==void 0)return{kind:`columnId`,value:n};let r=e.formulaId??e.formula_id;if(r!==void 0)return{kind:`formulaId`,value:r};if(e.formula!==void 0)return{kind:`formula`,value:e.formula};let i=e.columnExpression??(t?e.expression:void 0);if(i!==void 0)return{kind:`expression`,value:i}}function F(e,t=!0){let n={datasetId:D(e)},r=P(e,t);return r!==void 0&&(r.kind===`expression`?n.expression=r.value:n[r.kind]=r.value),N(e,n),n}function I(e){if(!f(e))throw new l(`Cannot emit a clean filter reference.`);let t={datasetId:D(e)};e.level!==void 0&&T(`level`,e.level)&&(t.level=e.level),f(e.discretization)&&(t.discretization=k(e.discretization)),f(e.aggregation)&&(t.aggregation=A(e.aggregation)),e.unnest!==void 0&&T(`unnest`,e.unnest)&&(t.unnest=e.unnest);let n=P(e,!0);if(n===void 0)throw new l(`Cannot emit a clean filter reference: no column, formula, or expression.`);return n.kind===`expression`?t.columnExpression=n.value:t[n.kind]=n.value,t}function ie(e){if(!f(e)||typeof e.parameter!=`string`||typeof e.type!=`string`)return e;let t=re[e.type];return t===void 0?e:{...e,type:t}}function ae(e,t){return f(t)&&typeof t.parameter==`string`?!0:Array.isArray(t)?e!==`? between ?`||t.length===2:!1}function oe(e,t){let n=e.expression,r=[F(e,!1)];if(!S.has(n)&&e.value!==void 0){let t=C.has(n)&&O(e.value);r.push(t?F(e.value):E(e.value))}let i={};typeof e.id==`string`&&(i.id=e.id),`ignoredItemIds`in e&&(i.ignore=E(e.ignoredItemIds)),t!==void 0&&(i.type=t);let a={expression:n,parameters:r};return Object.keys(i).length>0&&(a.properties=i),a}function se(e){let{expression:t}=e;if(typeof t!=`string`||t.length===0)return null;let n=Array.isArray(e.parameters)?e.parameters:[];if(!f(n[0]))throw new l(`Cannot emit a clean filter reference for "${t}".`);let r={...I(n[0]),expression:t};if(!S.has(t)){let e=n[1];if(e===void 0)throw new l(`Filter "${t}" is missing its value operand.`);if(r.value=O(e)&&C.has(t)?I(e):ie(E(e)),ne.has(t)&&!ae(t,r.value))throw new l(`Cannot emit an invalid clean filter value for "${t}".`)}let{properties:i}=e;return i?.id!==void 0&&(r.id=i.id),i!==void 0&&`ignore`in i&&(r.ignoredItemIds=E(i.ignore)),r}function L(e){return p(e)}function R(e){return Array.isArray(e.filters)?e.filters:[]}function z(e,t){return e.properties?.type===`having`||e.properties?.type===`where`?e.properties.type:t??`where`}function B(e,t,n=1,r=new Set){b(n);let i=e.clause??t;for(let t of R(e))L(t)?B(t,i,n+1,r):typeof t.expression==`string`&&t.expression.length>0&&r.add(z(t,i));return r}function V(e,t,n=1){b(n);let r=e.clause??t;if(e.condition===`or`&&B(e,r,n).size>1)throw new l(`An "or" group mixes "where" and "having" filters, which clean output cannot represent.`);for(let t of R(e))L(t)&&V(t,r,n+1)}function H(e,t,n,r=1){b(r);let i=e.clause??n,a=[];for(let n of R(e)){if(L(n)){let e=H(n,t,i,r+1);e.filters.length>0&&a.push(e);continue}if(z(n,i)!==t)continue;let e=se(n);e&&a.push(e)}let o={condition:e.condition===`or`?`or`:`and`,filters:a};return e.id!==void 0&&B(e,i,r).size<=1&&(o.id=e.id),o}function U(e){let t=e.clause;V(e,t);let n=B(e,t);return n.size===0&&n.add(t??`where`),[`where`,`having`].filter(e=>n.has(e)).map(n=>({...H(e,n,t),clause:n})).filter(e=>e.filters.length>0)}var W=[`origin`,`datasetId`,`vizId`,`itemId`,`isDrilldown`,`type`];function G(e){return typeof e==`string`&&e.toLowerCase()===`or`?`or`:`and`}function ce(e){return p(e)}function le(e){if(!Array.isArray(e)||e.length===0)return[];let t=f(e[0])?e[0]:void 0,n=e.length>1?e[1]:void 0;return e.length>1?[t,n]:[t]}function ue(e){if(typeof e.expression!=`string`||e.expression.length===0)return null;let t={expression:e.expression,parameters:le(e.parameters)};return e.properties!==void 0&&Object.keys(e.properties).length>0&&(t.properties=structuredClone(e.properties)),t}function K(e,t){let n=e,r=t;for(let e of W)n[e]!==void 0&&(r[e]=n[e])}function q(e){if(!e||!e.filters)return{condition:`and`,filters:[],subGroups:[]};let t=[],n=[];for(let r of e.filters)if(ce(r))n.push(q(r));else{let e=ue(r);e&&t.push(e)}let r={condition:G(e.condition),filters:t,subGroups:n};return e.id!==void 0&&(r.id=e.id),K(e,r),r}function J(e,t){return e?t?.format===`clean`?U(e):[q(e)]:[]}function de(e,t){let n={expression:typeof e.expression==`string`?e.expression:void 0,parameters:Array.isArray(e.parameters)?[...e.parameters]:[]},r=f(e.properties)?structuredClone(e.properties):{};return t!==void 0&&r.type===void 0&&(r.type=t),Object.keys(r).length>0&&(n.properties=r),n}function fe(e,t,n){if(p(e))return Y(e,t,n);if(!f(e))return;let r=e.expression;if(ee(e),_(e))return oe(e,t);if(h(e)&&te(e),v(e))return de(e,t);throw new l(`Filter leaf "${String(r)}" matches neither a complete clean nor a complete canonical encoding.`)}function Y(e,t,n){b(n);let r=y(e.clause)?e.clause:void 0,i=r??t,a=[];for(let t of Array.isArray(e.filters)?e.filters:[]){let e=fe(t,i,n+1);e!==void 0&&a.push(e)}for(let t of Array.isArray(e.subGroups)?e.subGroups:[])p(t)&&a.push(Y(t,i,n+1));let o={condition:G(e.condition),filters:a};return typeof e.id==`string`&&(o.id=e.id),r!==void 0&&(o.clause=r),K(e,o),o}function X(e){return!e||e.length===0?[]:e.filter(e=>p(e)).map(e=>Y(e,void 0,1))}var pe=`:host{font-family:var(--luzmo-filters-font-family,var(--luzmo-font-family));color:var(--luzmo-filters-font-color,var(--luzmo-font-color));max-width:100%;display:block;container-type:inline-size}.filter-group-container{max-width:100%;padding:calc(var(--luzmo-indicator-gap) + 2 * var(--luzmo-indicator-width));overflow-x:hidden}.filter-group{flex-direction:row;min-width:0;max-width:100%;display:flex}.filter-group.nested{margin-top:var(--luzmo-filters-nested-group-margin-top,var(--filters-nested-group-margin-top));margin-bottom:var(--luzmo-filters-nested-group-margin-bottom,var(--filters-nested-group-margin-bottom))}.group-content{flex-direction:column;flex:1;min-width:0;display:flex}.filters-list{gap:var(--luzmo-filters-filters-list-gap,var(--filters-filters-list-gap));flex-direction:column;min-width:0;max-width:100%;display:flex}.filter-item-wrapper{align-items:flex-start;min-width:0;max-width:100%;display:flex;position:relative}.filter-item-content{align-items:flex-start;gap:var(--luzmo-filters-filter-line-gap,var(--filters-filter-line-gap));flex-wrap:nowrap;flex:1;min-width:0;display:flex}.filter-item-content luzmo-filter-item{flex:1;min-width:0}.filter-item-content .delete-filter-button{flex-shrink:0;align-self:flex-end;margin-inline-start:auto}.condition-wrapper{flex:0 0 var(--luzmo-filters-condition-warpper-width,var(--filters-condition-warpper-width));justify-content:center;align-items:center;display:flex;position:relative}.condition-wrapper:before{content:"";left:50%;top:var(--luzmo-filters-vertical-line-top,var(--filters-vertical-line-top));bottom:var(--luzmo-filters-vertical-line-bottom,var(--filters-vertical-line-bottom));width:var(--luzmo-filters-vertical-line-width,var(--filters-vertical-line-width));background:var(--luzmo-filters-vertical-line-color,var(--luzmo-border-color));position:absolute}.condition-badge{min-width:auto;padding-inline:var(--luzmo-filters-condition-padding-horizontal,var(--filters-condition-padding-horizontal));text-transform:uppercase;background:var(--luzmo-filters-condition-badge-background,var(--luzmo-primary));color:var(--luzmo-filters-condition-badge-color,var(--luzmo-primary-inverse-color));border-radius:var(--luzmo-filters-condition-badge-border-radius,var(--luzmo-border-radius));box-shadow:0 0 0 var(--luzmo-filters-condition-badge-halo,var(--filters-condition-badge-halo)) var(--luzmo-filters-condition-badge-background,var(--luzmo-background-color));font-weight:700}.condition-badge:hover{background:var(--luzmo-filters-condition-badge-background-hover,var(--luzmo-primary-hover))}.group-actions{margin-top:var(--luzmo-filters-group-actions-margin-top,var(--filters-group-actions-margin-top));gap:var(--luzmo-filters-group-actions-gap,var(--filters-group-actions-gap));flex-wrap:wrap;display:flex}.delete-group-button{margin-left:auto}.add-root-group-container{margin-top:var(--luzmo-filters-add-root-group-container-margin-top,var(--filters-add-root-group-container-margin-top));padding-left:0}.add-subgroup-button,.add-filter-button{--luzmo-action-button-text-to-visual:var(--luzmo-filters-group-actions-text-to-visual,var(--filters-group-actions-text-to-visual));--luzmo-action-button-content-color-default:var(--luzmo-filters-group-actions-color,var(--luzmo-primary-hover));--luzmo-action-button-content-color-hover:var(--luzmo-filters-group-actions-color-hover,var(--luzmo-primary-hover));--luzmo-action-button-content-color-down:var(--luzmo-filters-group-actions-color-down,var(--luzmo-primary-down));--luzmo-action-button-content-color-focus:var(--luzmo-filters-group-actions-color-focus,var(--luzmo-primary-focus))}.add-group-button{--luzmo-button-padding-label-to-icon:var(--luzmo-filters-add-group-button-text-to-visual,var(--filters-add-group-button-text-to-visual))}.dataset-ids-empty-message{color:var(--luzmo-filters-error-message-color,var(--luzmo-disabled-color));font-size:var(--luzmo-filters-error-message-font-size,var(--filters-font-size))}@container (width<=480px){.condition-badge{--luzmo-action-button-font-size:.6875rem;--luzmo-action-button-height:1.2rem;--luzmo-button-line-height:1.2rem;font-size:.6875rem;line-height:1.2rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}:host([dir=rtl]) .condition-badge{transform:translate(-50%,-50%)rotate(90deg)}}:host{--filters-condition-warpper-width:56px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-3);--filters-filters-list-gap:var(--luzmo-spacing-3);--filters-nested-group-margin-top:var(--luzmo-spacing-3);--filters-nested-group-margin-bottom:var(--luzmo-spacing-3);--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-vertical-line-width:1px;--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-3);--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-4);--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size)}:host([size=s]){--filters-condition-warpper-width:48px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-group-actions-text-to-visual:var(--luzmo-spacing-1);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-2);--filters-group-actions-gap:var(--luzmo-spacing-2);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-3);--filters-filter-line-gap:var(--luzmo-spacing-2);--filters-group-actions-margin-top:var(--luzmo-spacing-2);--filters-error-message-font-size:var(--luzmo-font-size-s)}:host([size=l]){--filters-condition-warpper-width:64px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:var(--luzmo-spacing-4);--filters-nested-group-margin-top:var(--luzmo-spacing-4);--filters-nested-group-margin-bottom:var(--luzmo-spacing-4);--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size-l)}:host([size=xl]){--filters-condition-warpper-width:72px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-add-group-button-text-to-visual:var(--luzmo-spacing-4);--filters-group-actions-gap:var(--luzmo-spacing-4);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-5);--filters-filter-line-gap:var(--luzmo-spacing-4);--filters-group-actions-margin-top:var(--luzmo-spacing-4);--filters-error-message-font-size:var(--luzmo-font-size-xl)}@container (width<=480px){.filter-group-container{--filters-condition-warpper-width:32px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:var(--luzmo-spacing-5)}}`;function Z(e){if(e instanceof l)return e;throw e}var me={and:()=>(0,a.msg)(`AND`,{desc:`Logical AND condition for combining filters`}),or:()=>(0,a.msg)(`OR`,{desc:`Logical OR condition for combining filters`})};function Q(e){return e===`and`?`or`:`and`}var $=class extends t.t((0,s.SizedMixin)(s.LuzmoElement,{validSizes:Object.values(s.ElementSizes)})){constructor(...e){super(...e),this.apiUrl=`https://api.luzmo.com`,this.contentLanguage=`en`,this.filters=[],this.format=`canonical`,this.allowParameters=!1,this.parameters=[],this.debounce=300,this._internalFilterGroup=null,this._hasSyntheticRoot=!1,this._debounceTimeout=null}static get styles(){return[(0,r.unsafeCSS)(pe)]}get _oneSizeSmaller(){return{xxs:`xxs`,xs:`xs`,s:`xs`,m:`s`,l:`m`,xl:`l`,xxl:`xl`}[this.size]||`s`}get _isDatasetIdsEmpty(){return!this.datasetIds||this.datasetIds.length===0}disconnectedCallback(){super.disconnectedCallback(),this._debounceTimeout&&=(clearTimeout(this._debounceTimeout),null)}willUpdate(e){if(super.willUpdate(e),e.has(`filters`))try{let e=X(this.filters);e.length===0?(this._internalFilterGroup=null,this._hasSyntheticRoot=!1):e.length===1?(this._internalFilterGroup=structuredClone(e[0]),this._hasSyntheticRoot=!1):(this._internalFilterGroup={condition:`and`,filters:structuredClone(e)},this._hasSyntheticRoot=!0)}catch(t){console.warn(`[${this.localName}] Keeping the current filters, the new value cannot be normalized:`,Z(t)),this.filters=e.get(`filters`)??[]}}_generateEmptyGroup(){return{condition:`and`,filters:[]}}_generateEmptyFilter(){return{expression:void 0,parameters:[]}}_rootGroupsForExport(){if(!this._internalFilterGroup)return[];let e=this._internalFilterGroup.filters.length>0&&this._internalFilterGroup.filters.every(e=>this._isGroup(e));return this._hasSyntheticRoot&&e?structuredClone(this._internalFilterGroup.filters):[structuredClone(this._internalFilterGroup)]}_getFiltersForExport(){let e=this._rootGroupsForExport(),t=this.format===`clean`?`clean`:`canonical`;if(e.length===0)return{filters:[],format:t};if(t===`clean`)try{return{filters:e.flatMap(e=>J(e,{format:`clean`})),format:`clean`}}catch(e){console.warn(`[${this.localName}] Cannot emit clean filters, falling back to canonical output:`,Z(e))}return{filters:e.flatMap(e=>J(e)),format:`canonical`}}_sendChangeEvent(){this._debounceTimeout&&clearTimeout(this._debounceTimeout);let e=()=>{this.dispatchEvent(new CustomEvent(`luzmo-filters-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:this._getFiltersForExport()}))};this.debounce>0?this._debounceTimeout=setTimeout(e,this.debounce):e()}_isGroup(e){return`condition`in e&&`filters`in e}_handleParameterCreated(e){let t=e.detail?.parameter;!t||this.parameters.some(({parameter:e})=>e===t.parameter)||(this.parameters=[...this.parameters,t])}_toggleCondition(e){e.condition=Q(e.condition),e===this._internalFilterGroup&&(this._hasSyntheticRoot=!1),this.requestUpdate(),this._sendChangeEvent()}_addFilter(e){if(this._isDatasetIdsEmpty)return;let t=e;t||=(this._internalFilterGroup||=this._generateEmptyGroup(),this._internalFilterGroup),t.filters.push(this._generateEmptyFilter()),this.requestUpdate(),this._sendChangeEvent()}_addSubGroup(e){if(this._isDatasetIdsEmpty)return;let t=this._generateEmptyGroup();t.condition=Q(e.condition),t.filters.push(this._generateEmptyFilter()),e.filters.push(t),this.requestUpdate(),this._sendChangeEvent()}_removeFilter(e,t){if(this._internalFilterGroup){if(e.filters.splice(t,1),e!==this._internalFilterGroup&&e.filters.length===0){let t=this._findParentGroup(this._internalFilterGroup,e);if(t){let n=t.filters.indexOf(e);n!==-1&&t.filters.splice(n,1)}}this._collapseGroupsAfterDelete(),this.requestUpdate(),this._sendChangeEvent()}}_updateFilter(e,t,n){n.stopPropagation(),this._isGroup(e.filters[t])||(e.filters[t]=n.detail.filter,this._sendChangeEvent())}_addGroup(){if(this._isDatasetIdsEmpty)return;this._internalFilterGroup||=this._generateEmptyGroup();let e=this._generateEmptyGroup();e.condition=Q(this._internalFilterGroup.condition),e.filters.push(this._internalFilterGroup);let t=this._generateEmptyGroup();t.condition=Q(e.condition),t.filters.push(this._generateEmptyFilter()),e.filters.push(t),this._internalFilterGroup=e,this._hasSyntheticRoot=!1,this.requestUpdate(),this._sendChangeEvent()}_renderFilterItem(e,t,i){return r.html`
|
|
21
|
+
<div class="filter-item-wrapper">
|
|
22
|
+
<div class="filter-item-content">
|
|
23
|
+
<luzmo-filter-item
|
|
24
|
+
.apiUrl=${this.apiUrl}
|
|
25
|
+
.authKey=${this.authKey}
|
|
26
|
+
.authToken=${this.authToken}
|
|
27
|
+
.cacheTime=${this.cacheTime}
|
|
28
|
+
.language=${this.language}
|
|
29
|
+
.contentLanguage=${this.contentLanguage}
|
|
30
|
+
.timeZone=${this.timeZone}
|
|
31
|
+
.datasetIds=${this.datasetIds}
|
|
32
|
+
.filter=${e}
|
|
33
|
+
.allowParameters=${this.allowParameters}
|
|
34
|
+
.parameters=${this.parameters}
|
|
35
|
+
.size=${this.size}
|
|
36
|
+
@luzmo-filter-changed=${this._updateFilter.bind(this,t,i)}
|
|
37
|
+
@luzmo-parameter-created=${this._handleParameterCreated}
|
|
38
|
+
></luzmo-filter-item>
|
|
39
|
+
<luzmo-action-button
|
|
40
|
+
class="delete-filter-button"
|
|
41
|
+
.size=${this.size}
|
|
42
|
+
quiet
|
|
43
|
+
.label=${(0,a.msg)(`Remove filter`,{desc:`Aria label for remove filter button`})}
|
|
44
|
+
@click=${this._removeFilter.bind(this,t,i)}
|
|
45
|
+
>
|
|
46
|
+
<luzmo-icon slot="icon" .icon=${n.luzmoTrashOutline} .size=${this.size}></luzmo-icon>
|
|
47
|
+
</luzmo-action-button>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
`}_renderGroup(e,t=!1){let i=e.filters.length>0,s=e.filters.length>1,c=me[e.condition]?.()??e.condition;return r.html`
|
|
51
|
+
<div class="filter-group ${t?`nested`:``}" role="group">
|
|
52
|
+
${t?r.html`
|
|
53
|
+
<div class="condition-wrapper">
|
|
54
|
+
${s?r.html`
|
|
55
|
+
<luzmo-action-button
|
|
56
|
+
class="condition-badge"
|
|
57
|
+
.size=${this._oneSizeSmaller}
|
|
58
|
+
quiet
|
|
59
|
+
aria-pressed=${e.condition===`and`?`true`:`false`}
|
|
60
|
+
.label=${(0,a.msg)(`Toggle filter condition, currently `,{desc:`Aria label prefix for filter condition toggle`})+c}
|
|
61
|
+
@click=${this._toggleCondition.bind(this,e)}
|
|
62
|
+
>
|
|
63
|
+
${c}
|
|
64
|
+
</luzmo-action-button>
|
|
65
|
+
`:``}
|
|
66
|
+
</div>
|
|
67
|
+
`:s?r.html`
|
|
68
|
+
<div class="condition-wrapper">
|
|
69
|
+
<luzmo-action-button
|
|
70
|
+
class="condition-badge"
|
|
71
|
+
.size=${this._oneSizeSmaller}
|
|
72
|
+
quiet
|
|
73
|
+
aria-pressed=${e.condition===`and`?`true`:`false`}
|
|
74
|
+
.label=${(0,a.msg)(`Toggle filter condition, currently `,{desc:`Aria label prefix for filter condition toggle`})+c}
|
|
75
|
+
@click=${this._toggleCondition.bind(this,e)}
|
|
76
|
+
>
|
|
77
|
+
${c}
|
|
78
|
+
</luzmo-action-button>
|
|
79
|
+
</div>
|
|
80
|
+
`:``}
|
|
81
|
+
<div class="group-content">
|
|
82
|
+
${i?r.html`
|
|
83
|
+
<div class="filters-list">
|
|
84
|
+
${(0,o.repeat)(e.filters,(e,t)=>t,(t,n)=>r.html`
|
|
85
|
+
${this._isGroup(t)?this._renderGroup(t,!0):this._renderFilterItem(t,e,n)}
|
|
86
|
+
`)}
|
|
87
|
+
</div>
|
|
88
|
+
`:``}
|
|
89
|
+
|
|
90
|
+
<div class="group-actions">
|
|
91
|
+
<luzmo-action-button
|
|
92
|
+
class="add-filter-button"
|
|
93
|
+
.size=${this.size}
|
|
94
|
+
quiet
|
|
95
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
96
|
+
@click=${this._addFilter.bind(this,e)}
|
|
97
|
+
>
|
|
98
|
+
<luzmo-icon slot="icon" .icon=${n.luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
99
|
+
${(0,a.msg)(`Filter`,{desc:`Add filter button label`})}
|
|
100
|
+
</luzmo-action-button>
|
|
101
|
+
|
|
102
|
+
<luzmo-action-button
|
|
103
|
+
class="add-subgroup-button"
|
|
104
|
+
.size=${this.size}
|
|
105
|
+
quiet
|
|
106
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
107
|
+
@click=${this._addSubGroup.bind(this,e)}
|
|
108
|
+
>
|
|
109
|
+
<luzmo-icon slot="icon" .icon=${n.luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
110
|
+
${(0,a.msg)(`Subgroup`,{desc:`Add subgroup button label`})}
|
|
111
|
+
</luzmo-action-button>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
`}_findParentGroup(e,t){for(let n of e.filters){if(n===t)return e;if(this._isGroup(n)){let e=this._findParentGroup(n,t);if(e)return e}}return null}_collapseIfNeeded(e){if(e.filters.length===1&&this._isGroup(e.filters[0])){let t=e.filters[0];e.condition=t.condition,e.filters=t.filters,e.id=t.id,e.clause=t.clause,e.origin=t.origin,e.datasetId=t.datasetId,e.vizId=t.vizId,e.itemId=t.itemId,e.isDrilldown=t.isDrilldown,e.type=t.type,e===this._internalFilterGroup&&(this._hasSyntheticRoot=!1)}}_collapseGroupsAfterDelete(){if(!this._internalFilterGroup)return;let e=t=>{for(let n of t.filters)this._isGroup(n)&&e(n);this._collapseIfNeeded(t)};e(this._internalFilterGroup)}render(){if(this._isDatasetIdsEmpty)return r.html`
|
|
116
|
+
<div class="filter-group-container">
|
|
117
|
+
<div class="dataset-ids-empty-message" role="status">
|
|
118
|
+
${(0,a.msg)(`Cannot retrieve dataset data fields`,{desc:`Error message when datasetIds is empty`})}
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
`;if(!this._internalFilterGroup||this._internalFilterGroup.filters.length===0)return r.html`
|
|
122
|
+
<div class="filter-group-container">
|
|
123
|
+
<luzmo-button
|
|
124
|
+
class="add-filter-button"
|
|
125
|
+
.size=${this.size}
|
|
126
|
+
treatment="outline"
|
|
127
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
128
|
+
@click=${()=>this._addFilter()}
|
|
129
|
+
>
|
|
130
|
+
<luzmo-icon slot="icon" .icon=${n.luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
131
|
+
${(0,a.msg)(`Add filter`,{desc:`Add filter button label`})}
|
|
132
|
+
</luzmo-button>
|
|
133
|
+
</div>
|
|
134
|
+
`;let e=this._internalFilterGroup.filters.length>1;return r.html`
|
|
135
|
+
<div class="filter-group-container">
|
|
136
|
+
${this._renderGroup(this._internalFilterGroup)}
|
|
137
|
+
|
|
138
|
+
${e?r.html`
|
|
139
|
+
<div class="add-root-group-container">
|
|
140
|
+
<luzmo-button
|
|
141
|
+
class="add-group-button"
|
|
142
|
+
.size=${this.size}
|
|
143
|
+
treatment="outline"
|
|
144
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
145
|
+
@click=${this._addGroup}
|
|
146
|
+
>
|
|
147
|
+
<luzmo-icon slot="icon" .icon=${n.luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
148
|
+
${(0,a.msg)(`Group`,{desc:`Add group button label`})}
|
|
149
|
+
</luzmo-button>
|
|
150
|
+
</div>
|
|
151
|
+
`:``}
|
|
152
|
+
</div>
|
|
153
|
+
`}};e.t([(0,i.property)({type:String,attribute:`api-url`,reflect:!0})],$.prototype,`apiUrl`,void 0),e.t([(0,i.property)({type:String,attribute:`auth-key`,reflect:!0})],$.prototype,`authKey`,void 0),e.t([(0,i.property)({type:String,attribute:`auth-token`,reflect:!0})],$.prototype,`authToken`,void 0),e.t([(0,i.property)({type:Number,attribute:`cache-time`,reflect:!0})],$.prototype,`cacheTime`,void 0),e.t([(0,i.property)({type:String,attribute:`content-language`,reflect:!0})],$.prototype,`contentLanguage`,void 0),e.t([(0,i.property)({type:String,attribute:`time-zone`,reflect:!0})],$.prototype,`timeZone`,void 0),e.t([(0,i.property)({type:Array,attribute:`dataset-ids`,reflect:!0})],$.prototype,`datasetIds`,void 0),e.t([(0,i.property)({type:Array,reflect:!1})],$.prototype,`filters`,void 0),e.t([(0,i.property)({type:String,reflect:!0})],$.prototype,`format`,void 0),e.t([(0,i.property)({type:Boolean,attribute:`allow-parameters`,reflect:!0})],$.prototype,`allowParameters`,void 0),e.t([(0,i.property)({attribute:!1})],$.prototype,`parameters`,void 0),e.t([(0,i.property)({type:Number,reflect:!0})],$.prototype,`debounce`,void 0),e.t([(0,i.state)()],$.prototype,`_internalFilterGroup`,void 0),$=e.t([(0,a.localized)()],$),customElements.get(`luzmo-filters`)||customElements.define(`luzmo-filters`,$),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return $}});
|
|
@@ -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
|
+
const e=require("./type-check-BehV9ZL1.cjs"),t=require("./localize-D3i4Epy_.cjs"),n=require("./decompose-numeric-format-DGJua3rU.cjs");function r(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function i(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function a(e){return e=i(Math.abs(e)),e?e[1]:NaN}function o(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function s(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var c=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function l(e){if(!(t=c.exec(e)))throw Error(`invalid format: `+e);var t;return new u({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}l.prototype=u.prototype;function u(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}u.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function d(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var f;function p(e,t){var n=i(e,t);if(!n)return f=void 0,e.toPrecision(t);var r=n[0],a=n[1],o=a-(f=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,s=r.length;return o===s?r:o>s?r+Array(o-s+1).join(`0`):o>0?r.slice(0,o)+`.`+r.slice(o):`0.`+Array(1-o).join(`0`)+i(e,Math.max(0,t+o-1))[0]}function m(e,t){var n=i(e,t);if(!n)return e+``;var r=n[0],a=n[1];return a<0?`0.`+Array(-a).join(`0`)+r:r.length>a+1?r.slice(0,a+1)+`.`+r.slice(a+1):r+Array(a-r.length+2).join(`0`)}var h={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:r,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>m(e*100,t),r:m,s:p,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function g(e){return e}var _=Array.prototype.map,v=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function y(e){var t=e.grouping===void 0||e.thousands===void 0?g:o(_.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,c=e.numerals===void 0?g:s(_.call(e.numerals,String)),u=e.percent===void 0?`%`:e.percent+``,p=e.minus===void 0?`−`:e.minus+``,m=e.nan===void 0?`NaN`:e.nan+``;function y(e,a){e=l(e);var o=e.fill,s=e.align,g=e.sign,_=e.symbol,y=e.zero,b=e.width,x=e.comma,S=e.precision,C=e.trim,w=e.type;w===`n`?(x=!0,w=`g`):h[w]||(S===void 0&&(S=12),C=!0,w=`g`),(y||o===`0`&&s===`=`)&&(y=!0,o=`0`,s=`=`);var T=(a&&a.prefix!==void 0?a.prefix:``)+(_===`$`?n:_===`#`&&/[boxX]/.test(w)?`0`+w.toLowerCase():``),E=(_===`$`?r:/[%p]/.test(w)?u:``)+(a&&a.suffix!==void 0?a.suffix:``),D=h[w],O=/[defgprs%]/.test(w);S=S===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S));function k(e){var n=T,r=E,a,l,u;if(w===`c`)r=D(e)+r,e=``;else{e=+e;var h=e<0||1/e<0;if(e=isNaN(e)?m:D(Math.abs(e),S),C&&(e=d(e)),h&&+e==0&&g!==`+`&&(h=!1),n=(h?g===`(`?g:p:g===`-`||g===`(`?``:g)+n,r=(w===`s`&&!isNaN(e)&&f!==void 0?v[8+f/3]:``)+r+(h&&g===`(`?`)`:``),O){for(a=-1,l=e.length;++a<l;)if(u=e.charCodeAt(a),48>u||u>57){r=(u===46?i+e.slice(a+1):e.slice(a))+r,e=e.slice(0,a);break}}}x&&!y&&(e=t(e,1/0));var _=n.length+e.length+r.length,k=_<b?Array(b-_+1).join(o):``;switch(x&&y&&(e=t(k+e,k.length?b-r.length:1/0),k=``),s){case`<`:e=n+e+r+k;break;case`=`:e=n+k+e+r;break;case`^`:e=k.slice(0,_=k.length>>1)+n+e+r+k.slice(_);break;default:e=k+n+e+r;break}return c(e)}return k.toString=function(){return e+``},k}function b(e,t){var n=Math.max(-8,Math.min(8,Math.floor(a(t)/3)))*3,r=10**-n,i=y((e=l(e),e.type=`f`,e),{suffix:v[8+n/3]});return function(e){return i(r*e)}}return{format:y,formatPrefix:b}}var b=new Date,x=new Date;function S(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>S(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(b.setTime(+t),x.setTime(+r),e(b),e(x),Math.floor(n(b,x))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var C=1e3,w=C*60,T=w*60,E=T*24,D=E*7;E*30,E*365;var O=S(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*C)},(e,t)=>(t-e)/C,e=>e.getUTCSeconds());O.range;var k=S(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*C)},(e,t)=>{e.setTime(+e+t*w)},(e,t)=>(t-e)/w,e=>e.getMinutes());k.range,S(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*w)},(e,t)=>(t-e)/w,e=>e.getUTCMinutes()).range;var A=S(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*C-e.getMinutes()*w)},(e,t)=>{e.setTime(+e+t*T)},(e,t)=>(t-e)/T,e=>e.getHours());A.range,S(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*T)},(e,t)=>(t-e)/T,e=>e.getUTCHours()).range;var j=S(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*w)/E,e=>e.getDate()-1);j.range;var M=S(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/E,e=>e.getUTCDate()-1);M.range,S(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/E,e=>Math.floor(e/E)).range;function N(e){return S(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*w)/D)}var P=N(0),F=N(1),ee=N(2),te=N(3),I=N(4),ne=N(5),re=N(6);P.range,F.range,ee.range,te.range,I.range,ne.range,re.range;function L(e){return S(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/D)}var R=L(0),z=L(1),ie=L(2),ae=L(3),B=L(4),oe=L(5),se=L(6);R.range,z.range,ie.range,ae.range,B.range,oe.range,se.range;var ce=S(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ce.range,S(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth()).range;var V=S(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());V.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:S(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),V.range;var H=S(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());H.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:S(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),H.range;function U(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function W(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function G(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function K(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=Y(i),u=X(i),d=Y(a),f=X(a),p=Y(o),m=X(o),h=Y(s),g=X(s),_=Y(c),v=X(c),y={a:ee,A:te,b:I,B:ne,c:null,d:Ne,e:Ne,f:Re,g:Ye,G:Ze,H:Pe,I:Fe,j:Ie,L:Le,m:ze,M:Be,p:re,q:L,Q:bt,s:xt,S:Ve,u:He,U:Ue,V:Ge,w:Ke,W:qe,x:null,X:null,y:Je,Y:Xe,Z:Qe,"%":yt},b={a:R,A:ie,b:ae,B,c:null,d:$e,e:$e,f:it,g:ht,G:_t,H:et,I:tt,j:nt,L:rt,m:at,M:ot,p:oe,q:se,Q:bt,s:xt,S:st,u:ct,U:lt,V:dt,w:ft,W:pt,x:null,X:null,y:mt,Y:gt,Z:vt,"%":yt},x={a:E,A:D,b:O,B:k,c:A,d:Ce,e:Ce,f:ke,g:ye,G:ve,H:Te,I:Te,j:we,L:Oe,m:Se,M:Ee,p:T,q:xe,Q:je,s:Me,S:De,u:me,U:he,V:ge,w:pe,W:_e,x:N,X:P,y:ye,Y:ve,Z:be,"%":Ae};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=le[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=G(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=W(G(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?z.ceil(a):z(a),a=M.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=U(G(r.y,0,1)),o=a.getDay(),a=o>4||o===0?F.ceil(a):F(a),a=j.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else(`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?W(G(r.y,0,1)).getUTCDay():U(G(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,W(r)):U(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in le?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function N(e,t,r){return w(e,n,t,r)}function P(e,t,n){return w(e,r,t,n)}function ee(e){return o[e.getDay()]}function te(e){return a[e.getDay()]}function I(e){return c[e.getMonth()]}function ne(e){return s[e.getMonth()]}function re(e){return i[+(e.getHours()>=12)]}function L(e){return 1+~~(e.getMonth()/3)}function R(e){return o[e.getUTCDay()]}function ie(e){return a[e.getUTCDay()]}function ae(e){return c[e.getUTCMonth()]}function B(e){return s[e.getUTCMonth()]}function oe(e){return i[+(e.getUTCHours()>=12)]}function se(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var le={"-":``,_:` `,0:`0`},q=/^\s*\d+/,ue=/^%/,de=/[\\^$*+?|[\]().{}]/g;function J(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function fe(e){return e.replace(de,`\\$&`)}function Y(e){return RegExp(`^(?:`+e.map(fe).join(`|`)+`)`,`i`)}function X(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function pe(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function me(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function he(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function ge(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function _e(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function ve(e,t,n){var r=q.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function ye(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function be(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function xe(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Se(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ce(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function we(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Te(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ee(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function De(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Oe(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ke(e,t,n){var r=q.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ae(e,t,n){var r=ue.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function je(e,t,n){var r=q.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Me(e,t,n){var r=q.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Ne(e,t){return J(e.getDate(),t,2)}function Pe(e,t){return J(e.getHours(),t,2)}function Fe(e,t){return J(e.getHours()%12||12,t,2)}function Ie(e,t){return J(1+j.count(V(e),e),t,3)}function Le(e,t){return J(e.getMilliseconds(),t,3)}function Re(e,t){return Le(e,t)+`000`}function ze(e,t){return J(e.getMonth()+1,t,2)}function Be(e,t){return J(e.getMinutes(),t,2)}function Ve(e,t){return J(e.getSeconds(),t,2)}function He(e){var t=e.getDay();return t===0?7:t}function Ue(e,t){return J(P.count(V(e)-1,e),t,2)}function We(e){var t=e.getDay();return t>=4||t===0?I(e):I.ceil(e)}function Ge(e,t){return e=We(e),J(I.count(V(e),e)+(V(e).getDay()===4),t,2)}function Ke(e){return e.getDay()}function qe(e,t){return J(F.count(V(e)-1,e),t,2)}function Je(e,t){return J(e.getFullYear()%100,t,2)}function Ye(e,t){return e=We(e),J(e.getFullYear()%100,t,2)}function Xe(e,t){return J(e.getFullYear()%1e4,t,4)}function Ze(e,t){var n=e.getDay();return e=n>=4||n===0?I(e):I.ceil(e),J(e.getFullYear()%1e4,t,4)}function Qe(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+J(t/60|0,`0`,2)+J(t%60,`0`,2)}function $e(e,t){return J(e.getUTCDate(),t,2)}function et(e,t){return J(e.getUTCHours(),t,2)}function tt(e,t){return J(e.getUTCHours()%12||12,t,2)}function nt(e,t){return J(1+M.count(H(e),e),t,3)}function rt(e,t){return J(e.getUTCMilliseconds(),t,3)}function it(e,t){return rt(e,t)+`000`}function at(e,t){return J(e.getUTCMonth()+1,t,2)}function ot(e,t){return J(e.getUTCMinutes(),t,2)}function st(e,t){return J(e.getUTCSeconds(),t,2)}function ct(e){var t=e.getUTCDay();return t===0?7:t}function lt(e,t){return J(R.count(H(e)-1,e),t,2)}function ut(e){var t=e.getUTCDay();return t>=4||t===0?B(e):B.ceil(e)}function dt(e,t){return e=ut(e),J(B.count(H(e),e)+(H(e).getUTCDay()===4),t,2)}function ft(e){return e.getUTCDay()}function pt(e,t){return J(z.count(H(e)-1,e),t,2)}function mt(e,t){return J(e.getUTCFullYear()%100,t,2)}function ht(e,t){return e=ut(e),J(e.getUTCFullYear()%100,t,2)}function gt(e,t){return J(e.getUTCFullYear()%1e4,t,4)}function _t(e,t){var n=e.getUTCDay();return e=n>=4||n===0?B(e):B.ceil(e),J(e.getUTCFullYear()%1e4,t,4)}function vt(){return`+0000`}function yt(){return`%`}function bt(e){return+e}function xt(e){return Math.floor(e/1e3)}var Z,Q;St({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function St(e){return Z=K(e),Q=Z.format,Z.parse,Z.utcFormat,Z.utcParse,Z}var $=[[1,4,12,52,365,365*24,365*24*60,365*24*60*60,365*24*60*60*1e3],[1/4,1,3,13,91,2184,2184*60,2184*60*60,2184*60*60*1e3],[1/12,1/3,1,4,30,720,720*60,720*60*60,720*60*60*1e3],[1/52,1/13,1/4,1,7,168,10080,10080*60,10080*60*1e3],[1/365,1/91,1/30,1/7,1,24,1440,1440*60,1440*60*1e3],[1/(365*24),1/2184,1/720,1/168,1/24,1,60,3600,3600*1e3],[1/(365*24*60),1/(2184*60),1/(720*60),1/10080,1/1440,1/60,1,60,60*1e3],[1/(365*24*60*60),1/(2184*60*60),1/(720*60*60),1/(10080*60),1/(1440*60),1/3600,1/60,1,1e3],[1/(365*24*60*60*1e3),1/(2184*60*60*1e3),1/(720*60*60*1e3),1/(10080*60*1e3),1/(1440*60*1e3),1/(3600*1e3),1/(60*1e3),1/1e3,1]];function Ct(t,n,r){if(e.n(t))return;if(!n||!r||n===r)return t;let i=$[n-1][r-1];if(i)return t*i}function wt(t,n,r,i){if(e.n(t)||!n.lowestLevel||r.length===0)return``;let a=[],o=0,s=Math.round(t*$[n.lowestLevel-1][8]);for(let[,e]of r.entries())if(t){s-=o;let t=$[e-1][8],n=Math.floor(s/t);o=n*t,a.push({level:e,value:n})}else a.push({level:e,value:0});let c=``;for(let[e,t]of a.entries())if(n.duration.format===`time`){let n=t.value;[6,7,8].includes(t.level)&&t.value<10?n=`0`+t.value.toString():t.level===9&&t.value<10?n=`00`+t.value.toString():t.level===9&&t.value<100&&(n=`0`+t.value.toString()),c+=(e===0?``:t.level===9?`.`:`:`)+n}else if(n.duration.format===`long`){let n=i.durationLongSuffix;c+=t.value+` `+n[t.level]+(e===a.length-1?``:` `)}else{let n=i.durationShortSuffix;c+=t.value+``+n[t.level]+(e===a.length-1?``:` `)}return c}var Tt={decimal:`.`,thousands:`,`,grouping:[3],currency:[`$`,``],dateTime:`%a %b %e %X %Y`,date:`%m/%d/%Y`,dateSeparator:`/`,time:`%H:%M:%S`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],levels:[`All`,`Year`,`Quarter`,`Month`,`Week`,`Date`,`Hour`,`Minute`,`Second`,`Millisecond`],shortLevels:[`All`,`Yr`,`Qtr`,`Mth`,`Wk`,`Date`,`Hr`,`Min`,`Sec`,`Msec`],durationLongSuffix:[``,`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],durationShortSuffix:[``,`y`,`q`,`mo`,`w`,`d`,`h`,`m`,`s`,`ms`],multi:[`.%L`,`:%S`,`%I:%M`,`%I %p`,`%a %d`,`W%G`,`%b %d`,`%B`,`%Y`]},Et=`%d-%m-%Y`,Dt=[{key:`%a %e %b %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%b %Y`,lev4:`Wk %V-%G`,lev5:`%a %e %b %Y`,monthType:`name`,longText:!1,weekday:!0},{key:`%e %b %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%b %Y`,lev4:`Wk %V-%G`,lev5:`%e %b %Y`,monthType:`name`,longText:!1,weekday:!1},{key:`%a %e %B %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%B %Y`,lev4:`Week %V, %G`,lev5:`%a %e %B %Y`,monthType:`name`,longText:!0,weekday:!0},{key:`%e %B %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%B %Y`,lev4:`Week %V, %G`,lev5:`%e %B %Y`,monthType:`name`,longText:!0,weekday:!1},{key:`%d/%m/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`W%V/%G`,lev5:`%d/%m/%Y`,monthType:`number`,mmdd:!1,separator:`/`},{key:`%d-%m-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`W%V-%G`,lev5:`%d-%m-%Y`,monthType:`number`,mmdd:!1,separator:`-`},{key:`%d.%m.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`W%V.%G`,lev5:`%d.%m.%Y`,monthType:`number`,mmdd:!1,separator:`.`},{key:`%d~%m~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`W%V~%G`,lev5:`%d~%m~%Y`,monthType:`number`,mmdd:!1,separator:`~`},{key:`%m/%d/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`%G/W%V`,lev5:`%m/%d/%Y`,monthType:`number`,mmdd:!0,separator:`/`},{key:`%m-%d-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`%G-W%V`,lev5:`%m-%d-%Y`,monthType:`number`,mmdd:!0,separator:`-`},{key:`%m.%d.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`%G.W%V`,lev5:`%m.%d.%Y`,monthType:`number`,mmdd:!0,separator:`.`},{key:`%m~%d~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`%G~W%V`,lev5:`%m~%d~%Y`,monthType:`number`,mmdd:!0,separator:`~`},{key:`%amd/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`%G/W%V`,lev5:`%amd/%Y`,monthType:`number`,mmdd:null,separator:`/`},{key:`%amd-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`%G-W%V`,lev5:`%amd-%Y`,monthType:`number`,mmdd:null,separator:`-`},{key:`%amd.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`%G.W%V`,lev5:`%amd.%Y`,monthType:`number`,mmdd:null,separator:`.`},{key:`%amd~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`%G~W%V`,lev5:`%amd~%Y`,monthType:`number`,mmdd:null,separator:`~`}],Ot=[{key:`%H:%M:%S.%L`,lev6:`%H:00`,lev7:`%H:%M`,lev8:`%H:%M:%S`,lev9:`%H:%M:%S.%L`,ampm:!1},{key:`%I:%M:%S.%L %p`,lev6:`%I:00 %p`,lev7:`%I:%M %p`,lev8:`%I:%M:%S %p`,lev9:`%I:%M:%S.%L %p`,ampm:!0}],kt=(e,t,n)=>t===`letter`?e.shortNames?.length>0&&e.shortNames[n]?.length>0?e.shortNames[n]?.charAt(0):`N/A`:t===`short`?e.shortNames?.length>0&&e.shortNames[n]?e.shortNames[n]:`N/A`:e.longNames?.length>0&&e.longNames[n]?e.longNames[n]:`N/A`;function At(r,i){i||={};let a=i.localFormats||Tt,o,s,c,l=[],u=[],d=`datetime`,f;i&&i.multi&&(d=`datetime`),(!r||!r.format)&&(d=`hierarchy`),r&&r.type&&(d=r.type),f=r&&r.format?r.format:d===`numeric`?`,.0f`:d===`datetime`?Et:``;let p=n.t(f);switch(p.precision&&p.typeFormat&&(d=`numeric`),d){case`numeric`:if(r.subtype===`duration`&&r.duration&&r.duration.levels&&r.duration.levels.length>1&&!i.hideDuration)o=t=>e.n(t)?``:wt(t,r,r.duration.levels,a);else{let t={...a},n=p.typeFormat,c=!1;switch(n.length===2&&n.startsWith(`a`)&&(c=!0,n=n.slice(1,2),f=f.replace(/a/,``)),c?(t.decimal=a.decimal,t.thousands=a.thousands):[`z`,`y`,`w`].includes(n)?(t.decimal=`,`,t.thousands=`.`):(t.decimal=`.`,t.thousands=`,`),n){case`z`:f=f.replace(`z`,`f`);break;case`y`:f=f.replace(`y`,`%`);break;case`w`:f=f.replace(`w`,`s`);break}if(r?.subtype===`currency`&&r.currency){let e=t.currency.findIndex(e=>e.length>0),n=t.currency[e].startsWith(`\xA0`),i=t.currency[e].endsWith(`\xA0`),a=`${n?`\xA0`:``}${r.currency}${i?`\xA0`:``}`;t.currency[e]=a}let l=y(t);n!==`%`&&r?.subtype===`currency`&&r.currency&&t.currency&&!i?.hideCurrency&&![`count`,`distinctcount`].includes(r.aggregationFunc)&&!(r.aggregationFunc===`rate`&&r.aggregationWeight?.columnSubType===`currency`)&&r.periodOverPeriod?.type!==`percentageChange`&&(f=`$`+f),s=i?.trimZero&&[`y`,`%`].includes(n)&&t.decimal===`,`?e=>l.format(f)(e).replace(/(,\d*?)0+%$/,`$1%`).replace(/,%$/,`%`):i?.trimZero&&[`y`,`%`].includes(n)&&t.decimal===`.`?e=>l.format(f)(e).replace(/(\.\d*?)0+%$/,`$1%`).replace(/\.%$/,`%`):i?.trimZero&&[`z`,`f`].includes(n)&&t.decimal===`,`?e=>l.format(f)(e).replace(/(,\d*?)0+$/,`$1`).replace(/,$/,``):i?.trimZero&&[`z`,`f`].includes(n)&&t.decimal===`.`?e=>l.format(f)(e).replace(/(\.\d*?)0+$/,`$1`).replace(/\.$/,``):r?.subtype===`currency`&&r.currency&&t.currency&&n===`s`?e=>l.format(f)(e).replace(/G/,`B`):e.n(p.precision)?l.format(`,.0f`):l.format(f),o=t=>{if(e.n(t))return``;if(r.subtype===`duration`&&r.duration&&!i.hideDuration){let e=r.duration.levels?r.duration.levels[0]:r.lowestLevel;return e!==r.lowestLevel&&(t=Ct(t,r.lowestLevel,e)),s(t)+a?.durationShortSuffix?.[e]}return s(t)}}break;case`datetime`:if(l=a?.smartDateFormats??Dt,u=a?.smartTimeFormats??Ot,e.n(r.datetimeDisplayMode)||r.datetimeDisplayMode==="default"){if(i?.level){let e=i.level,t=l.find(e=>f.includes(e.key)),n=u.find(e=>f.includes(e.key)),r=t?t[`lev`+Math.min(e,5)]:l[0][`lev`+Math.min(e,5)],o=e>5?n?n[`lev`+e]:u[0][`lev`+e]:``;f=e>5?r+`, `+o:r;let s=f.includes(`%amd`)&&i.level>=5,c=t?i.level>=2&&t.separator===`~`:!1;f=s?c?f.replaceAll(/%amd[.~/-]%Y/g,a.date.slice(0,8)):f.replaceAll(/%amd[.~/-]%Y/g,a.date.slice(0,8).replaceAll(/[.~/-]/g,t.separator)):c?f.replaceAll(/[~]/g,a.dateSeparator):f}if(i?.multi){let e=Q(a.multi[0]),t=Q(a.multi[1]),n=Q(a.multi[2]),r=Q(a.multi[3]),i=Q(a.multi[4]),o=Q(a.multi[6]),s=Q(a.multi[7]),l=Q(a.multi[8]);c=a=>{let c;return c=O(a)<a?e:k(a)<a?t:A(a)<a?n:j(a)<a?r:ce(a)<a?P(a)<a?i:o:V(a)<a?s:l,c(a)}}else c=K(a).format(f)}else{let t={quarter_number:{min:1,max:4},month_name:{min:1,max:12},month_number:{min:1,max:12},week_number:{min:1,max:53},day_in_month:{min:1,max:31},day_in_year:{min:1,max:366},weekday_name:{min:0,max:7},weekday_number:{min:0,max:7},hour_in_day:{min:0,max:23},minute_in_hour:{min:0,max:59},second_in_minute:{min:0,max:59}};c=[`quarter_number`,`month_number`,`week_number`,`day_in_month`,`day_in_year`,`weekday_number`,`hour_in_day`,`minute_in_hour`,`second_in_minute`].includes(r.datetimeDisplayMode)?n=>e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?n:`N/A`:r.datetimeDisplayMode===`month_name`?n=>{let i=[...a.shortMonths],o=[...a.months];return e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?kt({shortNames:i,longNames:o},r.monthNameFormat,n-1):`N/A`}:r.datetimeDisplayMode===`weekday_name`?n=>{let i=[...a.shortDays],o=[...a.days];return r.weekStart===`monday`&&(i.push(i.shift()??``),o.push(o.shift()??``)),e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?kt({shortNames:i,longNames:o},r.weekDayNameFormat,n-1):`N/A`}:K(a).format(f)}o=t=>{if(e.n(t))return``;let n=c(t);return e.o(n)?n.trim():n};break;case`hierarchy`:o=e=>t.t(e,i?i.locale:void 0);break;default:o=e=>e;break}return o}Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return Tt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Et}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return At}});
|