@luzmo/analytics-components-kit 1.0.4 → 1.0.5-beta.2
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/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 +12 -0
- package/components/ai-chat/ai-chat.d.ts +313 -0
- package/components/ai-chat/ai-prompt-types.d.ts +102 -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 +100 -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-D9tYu1q6.cjs +320 -0
- package/components/ai-chat-DstJ__Jz.js +3973 -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-BR72djHD.cjs +93 -0
- package/components/ai-interaction-textarea-C-feG2HA.js +785 -0
- package/components/area-chart-options.config-Cf1VrUNv.cjs +20 -0
- package/components/area-chart-options.config-DdYBA1_Q.js +146 -0
- package/components/area-chart-positioning.config-BFW46XhO.cjs +20 -0
- package/components/area-chart-positioning.config-BfieFxgx.js +55 -0
- package/components/area-chart-slots.config-BOhwdLnr.cjs +20 -0
- package/components/area-chart-slots.config-Cmdkui4v.js +55 -0
- package/components/bar-chart-options.config-BF7Q15FL.cjs +20 -0
- package/components/bar-chart-options.config-Cx3n0tCr.js +220 -0
- package/components/bar-chart-positioning.config-DURuF-Nr.cjs +20 -0
- package/components/bar-chart-positioning.config-DzKDbJHr.js +59 -0
- package/components/bar-chart-slots.config-BWvrLYv5.js +50 -0
- package/components/bar-chart-slots.config-DMWjAd5a.cjs +20 -0
- package/components/base-BRVXqI7u.cjs +20 -0
- package/components/base-CUexK-Bc.js +249 -0
- package/components/base-store-DHC2m2Os.cjs +20 -0
- package/components/base-store-DmDe0dTU.js +160 -0
- package/components/box-plot-options.config-BkD5CYGz.cjs +20 -0
- package/components/box-plot-options.config-DB9iCCZg.js +296 -0
- package/components/box-plot-positioning.config-CYmxOZMk.cjs +20 -0
- package/components/box-plot-positioning.config-DmFvqCcg.js +48 -0
- package/components/box-plot-slots.config-5B_pTjPJ.cjs +20 -0
- package/components/box-plot-slots.config-BknEys-m.js +40 -0
- package/components/bubble-chart-options.config-4f9FUNhc.cjs +20 -0
- package/components/bubble-chart-options.config-D8o_9z0b.js +115 -0
- package/components/bubble-chart-positioning.config-BpJ24lBj.cjs +20 -0
- package/components/bubble-chart-positioning.config-YgwDIuAp.js +55 -0
- package/components/bubble-chart-slots.config-Djb-py0h.js +47 -0
- package/components/bubble-chart-slots.config-VHKuntJk.cjs +20 -0
- package/components/bullet-chart-options.config-CmC75LQ8.js +75 -0
- package/components/bullet-chart-options.config-DDygYBiy.cjs +20 -0
- package/components/bullet-chart-positioning.config-6yUejABM.cjs +20 -0
- package/components/bullet-chart-positioning.config-CffspACw.js +56 -0
- package/components/bullet-chart-slots.config-BECcf-yZ.js +46 -0
- package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +20 -0
- package/components/choropleth-map-options.config-5W6nNlL7.cjs +20 -0
- package/components/choropleth-map-options.config-Bt-vXkKW.js +348 -0
- package/components/choropleth-map-positioning.config-Bl5HERTz.js +55 -0
- package/components/choropleth-map-positioning.config-nlky_swe.cjs +20 -0
- package/components/choropleth-map-slots.config-CZKWF1qV.cjs +20 -0
- package/components/choropleth-map-slots.config-DVrgJYSA.js +53 -0
- package/components/circle-pack-chart-options.config-CD8MWMTw.cjs +20 -0
- package/components/circle-pack-chart-options.config-CLA-ur8J.js +54 -0
- package/components/circle-pack-chart-positioning.config-_y9nL_PY.cjs +20 -0
- package/components/circle-pack-chart-positioning.config-cBxfJDgf.js +48 -0
- package/components/circle-pack-chart-slots.config-BG6Gh03S.js +38 -0
- package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +20 -0
- package/components/circular-gauge-options.config-BFBmfsPn.js +188 -0
- package/components/circular-gauge-options.config-D9gcbX57.cjs +20 -0
- package/components/circular-gauge-positioning.config-BtFTmQVx.cjs +20 -0
- package/components/circular-gauge-positioning.config-HG_MhCL2.js +48 -0
- package/components/circular-gauge-slots.config-BSzOAb8B.js +39 -0
- package/components/circular-gauge-slots.config-DUHabt3G.cjs +20 -0
- package/components/color-BWnYpOu7.js +3812 -0
- package/components/color-range-utils-CwwtLDX_.js +63 -0
- package/components/column-chart-options.config-CiIw23Yo.cjs +20 -0
- package/components/column-chart-options.config-V7v9PtQA.js +219 -0
- package/components/column-chart-positioning.config-DQtY7_jS.js +55 -0
- package/components/column-chart-positioning.config-sAg6OdcO.cjs +20 -0
- package/components/column-chart-slots.config-5BjkTrbt.js +50 -0
- package/components/column-chart-slots.config-CM5aytbj.cjs +20 -0
- package/components/combination-chart-options.config-CgSqqLLE.js +87 -0
- package/components/combination-chart-options.config-DaTYSfnr.cjs +20 -0
- package/components/combination-chart-positioning.config-CUC44b4w.cjs +20 -0
- package/components/combination-chart-positioning.config-xdJ5PeeE.js +48 -0
- package/components/combination-chart-slots.config-BwUOXFCR.cjs +20 -0
- package/components/combination-chart-slots.config-DgM_T-9r.js +43 -0
- package/components/conditional-number-options.config-3_vXSC0j.js +205 -0
- package/components/conditional-number-options.config-BPzCxo2q.cjs +20 -0
- package/components/conditional-number-positioning.config-BpggYmeg.cjs +20 -0
- package/components/conditional-number-positioning.config-Cu3E21yK.js +48 -0
- package/components/conditional-number-slots.config-B7maHIaG.cjs +20 -0
- package/components/conditional-number-slots.config-CzVPP4me.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-broker-Bdv5V8Yp.js +1680 -0
- package/components/data-broker-DWEXs6-2.cjs +20 -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-CX74S6vV.cjs +54 -0
- package/components/data-field-D_EnR1Yt.js +121 -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-CFLMDP3a.js +247 -0
- package/components/data-field-level-DaDY2_HH.cjs +55 -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-BhYP77ZO.js +385 -0
- package/components/data-field-panel-BxEVeR6H.cjs +87 -0
- package/components/data-fields-select/data-fields-select.d.ts +127 -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-FlSG0h_V.js +262 -0
- package/components/data-fields-select-p53mdgQy.cjs +41 -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-ByFAG-kf.cjs +75 -0
- package/components/dataset-selector-list-CWIbaMga.js +313 -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--W1e0KF2.cjs +79 -0
- package/components/dataset-selector-row-CaNvh0Zr.js +273 -0
- package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +20 -0
- package/components/date-comparison-filter-options.config-CsDlmT6L.js +126 -0
- package/components/date-comparison-filter-slots.config-EEgNP09x.js +33 -0
- package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +20 -0
- package/components/date-filter-options.config-AFAngO_i.cjs +20 -0
- package/components/date-filter-options.config-b8EHOjR1.js +118 -0
- package/components/date-filter-slots.config-Cuzz0RjE.cjs +20 -0
- package/components/date-filter-slots.config-PJ_h3Aj7.js +37 -0
- package/components/de-DZ5SDLoC.cjs +20 -0
- package/components/de-D_05k7cJ.js +486 -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-BLVdnS2P.cjs +140 -0
- package/components/display-settings-BaUca4WC.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-BNwdn9lC.cjs +56 -0
- package/components/display-settings-binning-DlgU4lX4.js +110 -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-BF9hOp8K.cjs +217 -0
- package/components/display-settings-datetime-DXcE_L84.js +413 -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-CqBebvyl.cjs +44 -0
- package/components/display-settings-grand-totals-D3duaMBq.js +89 -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-Bpph7Z0c.cjs +190 -0
- package/components/display-settings-numeric-C7-eiHxR.js +479 -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-Bt_7yg70.js +433 -0
- package/components/display-settings-period-over-period-Ce-yNJvu.cjs +229 -0
- package/components/donut-chart-options.config-D8Bvo6Cc.cjs +20 -0
- package/components/donut-chart-options.config-N0MWtn-o.js +207 -0
- package/components/donut-chart-positioning.config-BOuKJIMR.cjs +20 -0
- package/components/donut-chart-positioning.config-VOymRD6M.js +48 -0
- package/components/donut-chart-slots.config-Bi08z-XB.cjs +20 -0
- package/components/donut-chart-slots.config-dQrT0g_x.js +39 -0
- package/components/dropdown-filter-options.config-BRzYD0KE.cjs +20 -0
- package/components/dropdown-filter-options.config-CziqJFPz.js +153 -0
- package/components/dropdown-filter-slots.config-CQo3-kIo.js +38 -0
- package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +20 -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-D2WbSDXb.js +486 -0
- package/components/es-DbsozUJM.cjs +20 -0
- package/components/evolution-number-options.config-BfYN1Qgk.js +228 -0
- package/components/evolution-number-options.config-CkqNYgWn.cjs +20 -0
- package/components/evolution-number-positioning.config-BO5omIBO.js +48 -0
- package/components/evolution-number-positioning.config-D2uRKbgg.cjs +20 -0
- package/components/evolution-number-slots.config-CBS0b0Yk.js +37 -0
- package/components/evolution-number-slots.config-CikuQYgm.cjs +20 -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-BciiMtpZ.js +425 -0
- package/components/filter-expression-picker-CoK9Eyfu.cjs +38 -0
- package/components/filter-item/filter-item.d.ts +84 -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-BmXuGhiV.js +242 -0
- package/components/filter-item-Du_13KmX.cjs +58 -0
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +25 -0
- package/components/filter-parameter-picker/index.cjs +22 -0
- package/components/filter-parameter-picker/index.d.ts +7 -0
- package/components/filter-parameter-picker/index.js +58 -0
- package/components/filter-value-picker/filter-value-picker.d.ts +65 -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-CcJP9HyG.cjs +60 -0
- package/components/filter-value-picker-DVgv3jjr.js +151 -0
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +42 -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-C8TlvexC.js +139 -0
- package/components/filter-value-picker-datetime-DcJQwICl.cjs +42 -0
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +81 -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-DuCIK_cQ.cjs +47 -0
- package/components/filter-value-picker-hierarchy-p7KmAEfD.js +232 -0
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +82 -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-CEQteSXv.js +219 -0
- package/components/filter-value-picker-numeric-CkuF9VUR.cjs +48 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-CFYjlJk9.cjs +150 -0
- package/components/filters-YOx1cv6z.js +400 -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-D5Q_PS-K.js +138 -0
- package/components/formula-HGRB-nzB.cjs +45 -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-DimorTw-.js +12018 -0
- package/components/formula-codemirror-F9csVYEQ.cjs +215 -0
- package/components/formula-display-store-Bhx14M2X.cjs +20 -0
- package/components/formula-display-store-dkkdggcj.js +1090 -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-B2HvrGdp.js +666 -0
- package/components/formula-editor-Cfan0Njf.cjs +218 -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-B-471pmk.cjs +20 -0
- package/components/formula-field-DVUuiFVC.js +40 -0
- package/components/formula-input-base-CHF-NVew.cjs +49 -0
- package/components/formula-input-base-XQo00D8V.js +236 -0
- package/components/fr-D0jP-0QP.js +486 -0
- package/components/fr-E4npvQVn.cjs +20 -0
- package/components/funnel-chart-options.config-BVmrhzna.cjs +20 -0
- package/components/funnel-chart-options.config-D8fqrJvi.js +187 -0
- package/components/funnel-chart-positioning.config-D61EoLfa.cjs +20 -0
- package/components/funnel-chart-positioning.config-DTlmceYZ.js +48 -0
- package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +20 -0
- package/components/funnel-chart-slots.config-CeGu8stc.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-B24ms5Si.js +27 -0
- package/components/get-dataset-name-DHSjl0Xg.cjs +20 -0
- package/components/groupings-BJ89rBBj.cjs +20 -0
- package/components/groupings-BQl_7M6c.js +52 -0
- package/components/heat-map-options.config-5zjlVaa0.js +224 -0
- package/components/heat-map-options.config-xPdOcXDk.cjs +20 -0
- package/components/heat-map-positioning.config-Bm4O1kO-.cjs +20 -0
- package/components/heat-map-positioning.config-BtPM-mdL.js +48 -0
- package/components/heat-map-slots.config-DBkkcvMN.js +37 -0
- package/components/heat-map-slots.config-Wp_oS8JQ.cjs +20 -0
- package/components/heat-table-options.config-Blcs4JjF.js +372 -0
- package/components/heat-table-options.config-DPbTFoRn.cjs +20 -0
- package/components/heat-table-positioning.config-BGs7-swK.cjs +20 -0
- package/components/heat-table-positioning.config-BSmgGTV-.js +55 -0
- package/components/heat-table-slots.config-BN7rtHZG.cjs +20 -0
- package/components/heat-table-slots.config-CJOXI-Sf.js +49 -0
- package/components/hexbin-map-options.config-CSFSqpMU.cjs +20 -0
- package/components/hexbin-map-options.config-D5o0k890.js +276 -0
- package/components/hexbin-map-positioning.config-6tI7Fsx6.cjs +20 -0
- package/components/hexbin-map-positioning.config-DN6UPACN.js +48 -0
- package/components/hexbin-map-slots.config-CpJIfl6o.js +37 -0
- package/components/hexbin-map-slots.config-mx5zUTrA.cjs +20 -0
- package/components/image-options.config-C46UQpMq.js +153 -0
- package/components/image-options.config-DZ5q1D63.cjs +20 -0
- package/components/image-slots.config-DjaT4mUk.js +24 -0
- package/components/image-slots.config-ODQBVz5H.cjs +20 -0
- package/components/index.cjs +1 -749
- package/components/index.js +64 -5577
- 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-COsyvG-7.cjs +247 -0
- package/components/interactive-viz-item-xwBNcoFX.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/item-grid-1AHf6uNh.js +4559 -0
- package/components/item-grid-BTWZLR9l.cjs +113 -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-D6mIG3C2.cjs +252 -0
- package/components/item-option-DiKf1I-V.js +919 -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-DZVGBwVB.cjs +53 -0
- package/components/item-option-action-button-group-_MTf9Kyg.js +118 -0
- package/components/item-option-base/item-option-base.d.ts +23 -0
- package/components/item-option-base-72_Lz4oa.js +123 -0
- package/components/item-option-base-D4uG83bv.cjs +56 -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-9LzOFRqA.cjs +40 -0
- package/components/item-option-color-palette-picker-D6ZtQuby.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-Bzfx2m97.cjs +34 -0
- package/components/item-option-color-picker-CJ8QNFEa.js +87 -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-DDwD_l1L.js +220 -0
- package/components/item-option-color-range-DbjFNFga.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-CLUOInEz.cjs +33 -0
- package/components/item-option-multi-language-field-DqGIz3c2.js +82 -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-CALHe4NE.js +102 -0
- package/components/item-option-number-field-rOKqFeZL.cjs +38 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/item-option-panel-BETP4EXN.cjs +67 -0
- package/components/item-option-panel-VqBQ4vCD.js +183 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/item-option-picker-B1c4lBTC.js +77 -0
- package/components/item-option-picker-D8m-VrSA.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-3saFBaim.cjs +32 -0
- package/components/item-option-position-picker-suuQsaHa.js +117 -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-C8Fdb51M.js +164 -0
- package/components/item-option-positions-number-field-DWEE8FIS.cjs +49 -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-CIZlII80.cjs +37 -0
- package/components/item-option-radio-button-group-CsqrAsWc.js +74 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/item-option-slider-C0PwAy27.cjs +33 -0
- package/components/item-option-slider-DeHoSEtb.js +81 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/item-option-switch-BByrv8oZ.cjs +30 -0
- package/components/item-option-switch-D7YzsVwc.js +69 -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-C9y2J3bZ.js +80 -0
- package/components/item-option-text-field-edIJYLwK.cjs +33 -0
- package/components/item-options-configs.cjs +1 -1
- 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-BioBKinp.cjs +91 -0
- package/components/item-slot-drop-BpdhUeHr.js +331 -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-Cfak8X0X.js +355 -0
- package/components/item-slot-drop-panel-DsWaCS45.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-BKZzESjJ.cjs +174 -0
- package/components/item-slot-picker-Dsktaddk.js +505 -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-DHRq0Fdl.js +448 -0
- package/components/item-slot-picker-panel-DupK23lZ.cjs +81 -0
- package/components/item-slots-configs.cjs +1 -1
- package/components/item-slots-configs.js +45 -45
- package/components/line-chart-options.config-BkK829A2.cjs +20 -0
- package/components/line-chart-options.config-KFAaQqB_.js +168 -0
- package/components/line-chart-positioning.config-C0RfTCDE.cjs +20 -0
- package/components/line-chart-positioning.config-Djwg-IFN.js +55 -0
- package/components/line-chart-slots.config-D0jaC82U.js +55 -0
- package/components/line-chart-slots.config-vv66fcoE.cjs +20 -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-BsdiWv93.js +45 -0
- package/components/localized-mixin-CICfOIAL.cjs +20 -0
- package/components/marker-map-options.config-BfPFVxpD.cjs +20 -0
- package/components/marker-map-options.config-D0RmFKKM.js +117 -0
- package/components/marker-map-positioning.config-C_iKxInT.js +48 -0
- package/components/marker-map-positioning.config-D3z2_PYt.cjs +20 -0
- package/components/marker-map-slots.config-DigZk7lN.cjs +20 -0
- package/components/marker-map-slots.config-DsMklO0v.js +37 -0
- package/components/nl-8nHhvKVN.js +486 -0
- package/components/nl-Ct89Nnbs.cjs +20 -0
- package/components/ohlc-chart-options.config-BBdUKmJ9.js +65 -0
- package/components/ohlc-chart-options.config-BsBVP-Io.cjs +20 -0
- package/components/ohlc-chart-positioning.config-B6cmVTir.js +78 -0
- package/components/ohlc-chart-positioning.config-Bb4fYPeO.cjs +20 -0
- package/components/ohlc-chart-slots.config-BiQn5Kdg.js +68 -0
- package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config--6iJkURT.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-KJrOL0Sr.js +42 -0
- package/components/parallel-coordinates-plot-positioning.config-BsJW1FP-.js +48 -0
- package/components/parallel-coordinates-plot-positioning.config-cFfEWBCQ.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-B7QY714-.js +46 -0
- package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +20 -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-CKGnnXa_.cjs +20 -0
- package/components/pivot-table-options.config-DEmZ_EQi.js +245 -0
- package/components/pivot-table-positioning.config-CMAsxlCi.cjs +20 -0
- package/components/pivot-table-positioning.config-D1L_TBUC.js +55 -0
- package/components/pivot-table-slots.config-DpDaXLdw.js +55 -0
- package/components/pivot-table-slots.config-KlYXL90k.cjs +20 -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-8QtjhcJC.cjs +20 -0
- package/components/pyramid-chart-options.config-DiD3QFps.js +240 -0
- package/components/pyramid-chart-positioning.config-BF_YUB98.js +55 -0
- package/components/pyramid-chart-positioning.config-BPlmVwKw.cjs +20 -0
- package/components/pyramid-chart-slots.config-BrKgartT.js +50 -0
- package/components/pyramid-chart-slots.config-CreUpxI2.cjs +20 -0
- package/components/radar-chart-options.config-COBM2L3R.js +130 -0
- package/components/radar-chart-options.config-DvW36_zk.cjs +20 -0
- package/components/radar-chart-positioning.config-Be3DzcOK.js +55 -0
- package/components/radar-chart-positioning.config-OcJlRx0R.cjs +20 -0
- package/components/radar-chart-slots.config-B3oIp-8w.cjs +20 -0
- package/components/radar-chart-slots.config-SivEBhuj.js +53 -0
- package/components/regular-table-options.config-B0WNqEjR.cjs +20 -0
- package/components/regular-table-options.config-B0zRcsWM.js +148 -0
- package/components/regular-table-slots.config-M2axBXl4.js +35 -0
- package/components/regular-table-slots.config-UwzWj6gg.cjs +20 -0
- package/components/route-map-options.config-CYNKz_Xm.cjs +20 -0
- package/components/route-map-options.config-CrMrDQ_l.js +326 -0
- package/components/route-map-positioning.config-Bh57uCEW.js +66 -0
- package/components/route-map-positioning.config-DRK2m99b.cjs +20 -0
- package/components/route-map-slots.config-COCoP99E.js +59 -0
- package/components/route-map-slots.config-DfYT65BF.cjs +20 -0
- package/components/sankey-diagram-options.config-BYLiy1UX.js +126 -0
- package/components/sankey-diagram-options.config-D49IZ1y3.cjs +20 -0
- package/components/sankey-diagram-positioning.config-D7Jtuhko.cjs +20 -0
- package/components/sankey-diagram-positioning.config-iIPclYoY.js +66 -0
- package/components/sankey-diagram-slots.config-C-sqtrS-.js +61 -0
- package/components/sankey-diagram-slots.config-D-_u4w36.cjs +20 -0
- package/components/scatter-plot-options.config-BETVLevv.cjs +20 -0
- package/components/scatter-plot-options.config-BpUYcLt-.js +302 -0
- package/components/scatter-plot-positioning.config-1QiXjsOV.cjs +20 -0
- package/components/scatter-plot-positioning.config-CanuubeV.js +77 -0
- package/components/scatter-plot-slots.config-CrG6wQtV.cjs +20 -0
- package/components/scatter-plot-slots.config-Dg78lS25.js +74 -0
- package/components/search-filter-options.config-B-dGVPhS.cjs +20 -0
- package/components/search-filter-options.config-lGQ-biU5.js +103 -0
- package/components/search-filter-slots.config-BhDSDpNd.js +39 -0
- package/components/search-filter-slots.config-DP06ulJA.cjs +20 -0
- package/components/set-locale-CDdUWJUq.cjs +20 -0
- package/components/set-locale-D4CaVip4.js +43 -0
- package/components/slicer-filter-options.config-7OXpRWtw.cjs +20 -0
- package/components/slicer-filter-options.config-B6rxZYcl.js +226 -0
- package/components/slicer-filter-positioning.config-B7HlZizi.cjs +20 -0
- package/components/slicer-filter-positioning.config-BLkIaQQJ.js +48 -0
- package/components/slicer-filter-slots.config-CHKpdJvF.cjs +20 -0
- package/components/slicer-filter-slots.config-XtuZoiId.js +44 -0
- package/components/slider-filter-options.config-C7-5aoaC.js +72 -0
- package/components/slider-filter-options.config-CRdbX1IJ.cjs +20 -0
- package/components/slider-filter-slots.config-9R298H0t.cjs +20 -0
- package/components/slider-filter-slots.config-BYkIGVvh.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-B0TdqTeU.js +426 -0
- package/components/slot-menu-Cl3x8mjj.cjs +71 -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-B9TBCRxe.cjs +44 -0
- package/components/slot-menu-list-DlZoh014.js +347 -0
- package/components/slot-role-classification-2wChhpcq.cjs +20 -0
- package/components/slot-role-classification-B8bkGhQ_.js +133 -0
- package/components/slots-config-DMC15sjT.js +77 -0
- package/components/slots-config-DVH0lz6t.cjs +20 -0
- package/components/speedometer-chart-options.config-Bd3-G7S7.js +246 -0
- package/components/speedometer-chart-options.config-BsIu28S3.cjs +20 -0
- package/components/speedometer-chart-positioning.config-ChZlrktw.js +48 -0
- package/components/speedometer-chart-positioning.config-DLyYBstR.cjs +20 -0
- package/components/speedometer-chart-slots.config-CkeiXSCy.js +39 -0
- package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +20 -0
- package/components/spike-map-options.config-B_2BXI_9.js +413 -0
- package/components/spike-map-options.config-aaiZyME6.cjs +20 -0
- package/components/spike-map-positioning.config--1BDkwc2.cjs +20 -0
- package/components/spike-map-positioning.config-Bd85irgl.js +55 -0
- package/components/spike-map-slots.config-C44Vxsit.js +47 -0
- package/components/spike-map-slots.config-cKfaD6dQ.cjs +20 -0
- package/components/strip-plot-options.config-By62J2Jj.js +53 -0
- package/components/strip-plot-options.config-TB3rkoj2.cjs +20 -0
- package/components/strip-plot-positioning.config-C6QwpxOm.js +48 -0
- package/components/strip-plot-positioning.config-dBrlDJ1t.cjs +20 -0
- package/components/strip-plot-slots.config-DNYlrK_c.cjs +20 -0
- package/components/strip-plot-slots.config-xsNFXerT.js +38 -0
- package/components/sunburst-chart-options.config-Ckk_kY_s.cjs +20 -0
- package/components/sunburst-chart-options.config-DwQwkQxR.js +160 -0
- package/components/sunburst-chart-positioning.config-BCByMy4k.js +48 -0
- package/components/sunburst-chart-positioning.config-DdrE80fO.cjs +20 -0
- package/components/sunburst-chart-slots.config-D6Z2_Kh_.js +38 -0
- package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +20 -0
- package/components/symbol-map-options.config-56eoWz4w.cjs +20 -0
- package/components/symbol-map-options.config-uXEbOHWD.js +157 -0
- package/components/symbol-map-positioning.config-GruDumfg.cjs +20 -0
- package/components/symbol-map-positioning.config-sg4xS30s.js +55 -0
- package/components/symbol-map-slots.config-CHTIkMw4.js +53 -0
- package/components/symbol-map-slots.config-DwNf547A.cjs +20 -0
- package/components/text-options.config-B5y7YAqT.js +67 -0
- package/components/text-options.config-BwBCG2yo.cjs +20 -0
- package/components/text-slots.config-CPghLc8b.cjs +20 -0
- package/components/text-slots.config-sFoowMc6.js +24 -0
- package/components/treemap-chart-options.config-BouAbrk0.js +184 -0
- package/components/treemap-chart-options.config-r6biULUj.cjs +20 -0
- package/components/treemap-chart-positioning.config-B4HptgcF.cjs +20 -0
- package/components/treemap-chart-positioning.config-DPf011uh.js +55 -0
- package/components/treemap-chart-slots.config-BjHBRWDJ.js +47 -0
- package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +20 -0
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.cjs +1 -1
- package/components/utils/store.js +2 -2
- package/components/utils-ApDFkgMX.js +240 -0
- package/components/utils-BXPde8Tt.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +9 -6
- package/components/v4-DIjJgmR0.js +49 -0
- package/components/venn-diagram-options.config-BZWBYEhB.js +24 -0
- package/components/venn-diagram-options.config-BamlR1qo.cjs +20 -0
- package/components/venn-diagram-positioning.config-CqO3fp68.cjs +20 -0
- package/components/venn-diagram-positioning.config-DwhJGj84.js +55 -0
- package/components/venn-diagram-slots.config-CM0HPIPD.js +47 -0
- package/components/venn-diagram-slots.config-DYTmU8v2.cjs +20 -0
- package/components/video-options.config-BhBpkaLJ.cjs +20 -0
- package/components/video-options.config-DWuy1OHa.js +127 -0
- package/components/video-slots.config-B_aDlTp6.js +24 -0
- package/components/video-slots.config-DMut7o7r.cjs +20 -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-6lBtiv3Y.js +170 -0
- package/components/viz-item-menu-DpL4Pgjm.cjs +55 -0
- package/components/wordcloud-chart-options.config-D041tFDG.js +90 -0
- package/components/wordcloud-chart-options.config-DgH4JgN2.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-Bp4XE85G.js +55 -0
- package/components/wordcloud-chart-positioning.config-ByTxkJHo.cjs +20 -0
- package/components/wordcloud-chart-slots.config-Cy-Jgcaq.js +45 -0
- package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +20 -0
- package/custom-elements.json +16526 -5978
- 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-field-panel.component.cjs +1 -0
- package/deprecated-react/components/data-field.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/filters.component.cjs +1 -0
- package/deprecated-react/components/formula-editor.component.cjs +1 -0
- package/deprecated-react/components/formula-field.component.cjs +1 -0
- package/deprecated-react/components/formula.component.cjs +1 -0
- package/deprecated-react/components/interactive-viz-item.component.cjs +1 -0
- package/deprecated-react/components/item-grid.component.cjs +1 -0
- package/deprecated-react/components/item-option-action-button-group.component.cjs +1 -0
- package/deprecated-react/components/item-option-color-palette-picker.component.cjs +1 -0
- package/deprecated-react/components/item-option-color-picker.component.cjs +1 -0
- package/deprecated-react/components/item-option-color-range.component.cjs +1 -0
- package/deprecated-react/components/item-option-multi-language-field.component.cjs +1 -0
- package/deprecated-react/components/item-option-number-field.component.cjs +1 -0
- package/deprecated-react/components/item-option-panel.component.cjs +1 -0
- package/deprecated-react/components/item-option-picker.component.cjs +1 -0
- package/deprecated-react/components/item-option-position-picker.component.cjs +1 -0
- package/deprecated-react/components/item-option-positions-number-field.component.cjs +1 -0
- package/deprecated-react/components/item-option-radio-button-group.component.cjs +1 -0
- package/deprecated-react/components/item-option-slider.component.cjs +1 -0
- package/deprecated-react/components/item-option-switch.component.cjs +1 -0
- package/deprecated-react/components/item-option-text-field.component.cjs +1 -0
- package/deprecated-react/components/item-option.component.cjs +1 -0
- package/deprecated-react/components/item-slot-drop-panel.component.cjs +1 -0
- package/deprecated-react/components/item-slot-drop.component.cjs +1 -0
- package/deprecated-react/components/item-slot-picker-panel.component.cjs +1 -0
- package/deprecated-react/components/item-slot-picker.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/deprecated-react/index.cjs +2 -0
- package/deprecated-react/index.d.ts +2 -0
- package/deprecated-react/index.js +2 -0
- package/index.d.ts +24 -0
- package/package.json +134 -17
- package/react/README.md +26 -44
- 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 +22 -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/formula-editor.component.ts +3 -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 +8 -0
- package/react/esm/components/filter-parameter-picker.component.js +13 -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/formula-editor.component.d.ts +2 -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 -26
- package/react/package.json +35 -0
- package/react/tsconfig.json +3 -5
- package/storybook/register-components.d.ts +51 -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/utils/ai-prompt/attachments.d.ts +10 -0
- package/utils/ai-prompt/dictation.d.ts +50 -0
- package/utils/ai-prompt/image-upload.d.ts +12 -0
- package/utils/ai-prompt/index.d.ts +6 -0
- package/utils/store/index.d.ts +5 -5
- package/utils/store/store-registry.d.ts +1 -1
- package/components/area-chart-options.config-CJYI-zcZ.cjs +0 -20
- package/components/area-chart-options.config-CxJWxcD9.js +0 -146
- package/components/area-chart-positioning.config-CE8lOCfT.cjs +0 -20
- package/components/area-chart-positioning.config-CQW5h7Eg.js +0 -55
- package/components/area-chart-slots.config-B56LJaky.cjs +0 -20
- package/components/area-chart-slots.config-C22ZF9l0.js +0 -55
- package/components/bar-chart-options.config-BAatAyhW.js +0 -220
- package/components/bar-chart-options.config-D2a-U6kG.cjs +0 -20
- package/components/bar-chart-positioning.config-DFI1wzOQ.cjs +0 -20
- package/components/bar-chart-positioning.config-DaH_x_VU.js +0 -59
- package/components/bar-chart-slots.config-BbgFihbK.js +0 -50
- package/components/bar-chart-slots.config-CkOVmYcA.cjs +0 -20
- package/components/base-CYiGlWug.cjs +0 -20
- package/components/base-p2I4mVSW.js +0 -248
- package/components/base-store-D0jbv0bE.js +0 -160
- package/components/base-store-ab2wBsBE.cjs +0 -20
- package/components/box-plot-options.config-BuX2wNhp.js +0 -296
- package/components/box-plot-options.config-Di28EvZb.cjs +0 -20
- package/components/box-plot-positioning.config-FOyav5Zq.cjs +0 -20
- package/components/box-plot-positioning.config-K2tQGMig.js +0 -48
- package/components/box-plot-slots.config-DL-tTTn9.cjs +0 -20
- package/components/box-plot-slots.config-OeublT6p.js +0 -40
- package/components/bubble-chart-options.config-C_XQOHgH.js +0 -115
- package/components/bubble-chart-options.config-CnpBrIo6.cjs +0 -20
- package/components/bubble-chart-positioning.config-B6DXfqa4.cjs +0 -20
- package/components/bubble-chart-positioning.config-D2fwO2JM.js +0 -55
- package/components/bubble-chart-slots.config-Bdy20Xqs.js +0 -47
- package/components/bubble-chart-slots.config-smlOOwcK.cjs +0 -20
- package/components/bullet-chart-options.config-6nATAuC3.cjs +0 -20
- package/components/bullet-chart-options.config-h5BFyszP.js +0 -75
- package/components/bullet-chart-positioning.config-DOAG2wFN.js +0 -56
- package/components/bullet-chart-positioning.config-DZqzqZSQ.cjs +0 -20
- package/components/bullet-chart-slots.config-BaTbWYvU.cjs +0 -20
- package/components/bullet-chart-slots.config-Cqj3i1qo.js +0 -46
- package/components/choropleth-map-options.config-CmtZtBAC.cjs +0 -20
- package/components/choropleth-map-options.config-YCo77O3q.js +0 -348
- package/components/choropleth-map-positioning.config-C3jO3j8R.cjs +0 -20
- package/components/choropleth-map-positioning.config-Jw6fAFM1.js +0 -55
- package/components/choropleth-map-slots.config-ClMcW8wV.cjs +0 -20
- package/components/choropleth-map-slots.config-D4vxtdtH.js +0 -53
- package/components/circle-pack-chart-options.config-BA_G1sQ8.cjs +0 -20
- package/components/circle-pack-chart-options.config-C0cEtjgC.js +0 -54
- package/components/circle-pack-chart-positioning.config-Ckb-1sUG.js +0 -48
- package/components/circle-pack-chart-positioning.config-DJT6ivEy.cjs +0 -20
- package/components/circle-pack-chart-slots.config-Dks8K3uQ.js +0 -38
- package/components/circle-pack-chart-slots.config-IH2KV7z1.cjs +0 -20
- package/components/circular-gauge-options.config-BtP-YDIr.cjs +0 -20
- package/components/circular-gauge-options.config-Cdnk-Sp0.js +0 -188
- package/components/circular-gauge-positioning.config-B8gL5Br9.cjs +0 -20
- package/components/circular-gauge-positioning.config-BGlDGhYZ.js +0 -48
- package/components/circular-gauge-slots.config-B6ajddW-.cjs +0 -20
- package/components/circular-gauge-slots.config-Wf4sHmk6.js +0 -39
- package/components/color-CXw2IfjN.js +0 -3812
- package/components/color-range-utils-u4ziqRRA.js +0 -63
- package/components/column-chart-options.config-DoZLlIRM.js +0 -219
- package/components/column-chart-options.config-eJ1Cexxe.cjs +0 -20
- package/components/column-chart-positioning.config-BJGWvFLD.js +0 -55
- package/components/column-chart-positioning.config-LzBETWIy.cjs +0 -20
- package/components/column-chart-slots.config-BY6y_rvE.cjs +0 -20
- package/components/column-chart-slots.config-BhVqSbKw.js +0 -50
- package/components/combination-chart-options.config-C3kZ2fpK.cjs +0 -20
- package/components/combination-chart-options.config-D7ZXfn61.js +0 -87
- package/components/combination-chart-positioning.config-DjmWx90S.cjs +0 -20
- package/components/combination-chart-positioning.config-DtneKdwK.js +0 -48
- package/components/combination-chart-slots.config-CK8YBgUl.js +0 -43
- package/components/combination-chart-slots.config-Ciza_y3a.cjs +0 -20
- package/components/conditional-number-options.config-BwSMI5Ax.js +0 -205
- package/components/conditional-number-options.config-CadHLi0m.cjs +0 -20
- package/components/conditional-number-positioning.config-C8bRdffQ.cjs +0 -20
- package/components/conditional-number-positioning.config-Ccb2yjJU.js +0 -48
- package/components/conditional-number-slots.config-CWX6OuUa.cjs +0 -20
- package/components/conditional-number-slots.config-xSNaYD4u.js +0 -39
- package/components/data-broker-BH5WDG0j.cjs +0 -20
- package/components/data-broker-CVDImE1j.js +0 -1674
- package/components/data-field-iGBGWoGH.cjs +0 -89
- package/components/data-field-ll2oFVG2.js +0 -340
- package/components/data-field-panel-NktuTUUp.cjs +0 -87
- package/components/data-field-panel-ntgCpQ_2.js +0 -384
- package/components/data-fields-select-DJFkrrPs.js +0 -261
- package/components/data-fields-select-DL1nFRg3.cjs +0 -41
- package/components/date-comparison-filter-options.config--clPxHFt.cjs +0 -20
- package/components/date-comparison-filter-options.config-DCCm5Adt.js +0 -126
- package/components/date-comparison-filter-slots.config-KO9B0lfS.cjs +0 -20
- package/components/date-comparison-filter-slots.config-s7FcuKia.js +0 -33
- package/components/date-filter-options.config-BdNFe-Ds.cjs +0 -20
- package/components/date-filter-options.config-DBwcMXzp.js +0 -118
- package/components/date-filter-slots.config-BrQoD-EF.cjs +0 -20
- package/components/date-filter-slots.config-pbd3rG9z.js +0 -37
- package/components/de-DqwsqE-U.js +0 -478
- package/components/de-tUSOg_BJ.cjs +0 -20
- package/components/display-settings-binning-CQKXGp11.cjs +0 -56
- package/components/display-settings-binning-DGxEB9Fa.js +0 -112
- package/components/display-settings-datetime-25LwuZM_.cjs +0 -217
- package/components/display-settings-datetime-CLx9sxA7.js +0 -415
- package/components/display-settings-grand-totals-1tBdxbFY.cjs +0 -44
- package/components/display-settings-grand-totals-B0Px90rH.js +0 -91
- package/components/display-settings-numeric-Bbx4qmpA.cjs +0 -190
- package/components/display-settings-numeric-CdEgzO7W.js +0 -481
- package/components/display-settings-period-over-period-4bJbXWB7.cjs +0 -229
- package/components/display-settings-period-over-period-lo3myRfT.js +0 -434
- package/components/donut-chart-options.config-Buas8fzJ.js +0 -207
- package/components/donut-chart-options.config-K-HkE7sL.cjs +0 -20
- package/components/donut-chart-positioning.config-2cYbI6p-.cjs +0 -20
- package/components/donut-chart-positioning.config-Dh3XI5f4.js +0 -48
- package/components/donut-chart-slots.config-CZWRHxZe.js +0 -39
- package/components/donut-chart-slots.config-RxPnpO6M.cjs +0 -20
- package/components/dropdown-filter-options.config-B-Vvy0Nq.cjs +0 -20
- package/components/dropdown-filter-options.config-gv1y1OkC.js +0 -153
- package/components/dropdown-filter-slots.config-BBZChIHC.cjs +0 -20
- package/components/dropdown-filter-slots.config-aP5hvp2K.js +0 -38
- package/components/en-GB-D7N1nMuy.js +0 -28
- package/components/en-GB-DCZl8CPc.cjs +0 -20
- package/components/en-OJGeTneC.js +0 -21
- package/components/en-US-OJGeTneC.js +0 -21
- package/components/en-US-hPjCnvK0.cjs +0 -20
- package/components/en-hPjCnvK0.cjs +0 -20
- package/components/es-C-5Yqnck.js +0 -478
- package/components/es-Czecz2xB.cjs +0 -20
- package/components/evolution-number-options.config-B1IomzV1.js +0 -228
- package/components/evolution-number-options.config-Bt1FZqqQ.cjs +0 -20
- package/components/evolution-number-positioning.config-BQQrOKbD.js +0 -48
- package/components/evolution-number-positioning.config-BX1lWtDL.cjs +0 -20
- package/components/evolution-number-slots.config-CYxdcD-x.cjs +0 -20
- package/components/evolution-number-slots.config-eOQDWZyb.js +0 -37
- package/components/filters-Bzx4DYm-.cjs +0 -323
- package/components/filters-DSod7vIq.js +0 -1637
- package/components/formula-DcCDYDt4.cjs +0 -45
- package/components/formula-TyfDRy5X.js +0 -137
- package/components/formula-codemirror-B6ktT1Dm.js +0 -11971
- package/components/formula-codemirror-Bewi7Xgc.cjs +0 -215
- package/components/formula-display-store-DxjO7Q-n.cjs +0 -20
- package/components/formula-display-store-ycPV0gru.js +0 -1119
- package/components/formula-editor-DQp_XiX5.cjs +0 -247
- package/components/formula-editor-HkD4KWnN.js +0 -871
- package/components/fr-BvgQLvx5.js +0 -478
- package/components/fr-CQyhQN6j.cjs +0 -20
- package/components/funnel-chart-options.config-BAIgb6x9.cjs +0 -20
- package/components/funnel-chart-options.config-DAv3185m.js +0 -187
- package/components/funnel-chart-positioning.config-9blBdgB7.js +0 -48
- package/components/funnel-chart-positioning.config-iHk--8l3.cjs +0 -20
- package/components/funnel-chart-slots.config-BsNj6Mbb.js +0 -43
- package/components/funnel-chart-slots.config-CSI5mdma.cjs +0 -20
- package/components/get-css-variable-B1BZoBcs.cjs +0 -20
- package/components/get-css-variable-COcan5CX.js +0 -63
- package/components/heat-map-options.config-Ckw8voNV.js +0 -224
- package/components/heat-map-options.config-Ct-93RVQ.cjs +0 -20
- package/components/heat-map-positioning.config-CqkTB8nU.cjs +0 -20
- package/components/heat-map-positioning.config-DgrZWNiT.js +0 -48
- package/components/heat-map-slots.config-BFK5TF9k.js +0 -37
- package/components/heat-map-slots.config-D0mwjImu.cjs +0 -20
- package/components/heat-table-options.config-7IS5wa9l.cjs +0 -20
- package/components/heat-table-options.config-PpOf4o94.js +0 -372
- package/components/heat-table-positioning.config-BqsqkftW.js +0 -55
- package/components/heat-table-positioning.config-Ca-WBNR-.cjs +0 -20
- package/components/heat-table-slots.config-3q2hG4nF.js +0 -49
- package/components/heat-table-slots.config-CH6Q9203.cjs +0 -20
- package/components/hexbin-map-options.config-CUAv6zuD.cjs +0 -20
- package/components/hexbin-map-options.config-D88DHYrl.js +0 -276
- package/components/hexbin-map-positioning.config-gkLfwTS6.js +0 -48
- package/components/hexbin-map-positioning.config-sUIrPJP4.cjs +0 -20
- package/components/hexbin-map-slots.config-BdkQVzI7.cjs +0 -20
- package/components/hexbin-map-slots.config-BfbHCCUe.js +0 -37
- package/components/image-options.config-ByIPpr29.js +0 -153
- package/components/image-options.config-DXqA7sAa.cjs +0 -20
- package/components/image-slots.config-B4MFjNWt.js +0 -24
- package/components/image-slots.config-DprzKxj3.cjs +0 -20
- package/components/item-grid-B59uyBDP.js +0 -4558
- package/components/item-grid-C6nEE4Uj.cjs +0 -113
- package/components/item-option-C4c-e1QF.cjs +0 -252
- package/components/item-option-action-button-group-BEXRueVH.js +0 -118
- package/components/item-option-action-button-group-BU1wvtEd.cjs +0 -53
- package/components/item-option-base-DATaPQ-m.cjs +0 -56
- package/components/item-option-base-DqDKIqRP.js +0 -123
- package/components/item-option-color-palette-picker-Cc2nTuxC.cjs +0 -40
- package/components/item-option-color-palette-picker-dk5Nm1XB.js +0 -2041
- package/components/item-option-color-picker-Czr_ojzh.cjs +0 -34
- package/components/item-option-color-picker-oG-wrEZh.js +0 -87
- package/components/item-option-color-range-CTnHZ72E.cjs +0 -98
- package/components/item-option-color-range-RbnPnI3s.js +0 -220
- package/components/item-option-multi-language-field-BpyuIPcO.cjs +0 -33
- package/components/item-option-multi-language-field-BqhBRIFH.js +0 -82
- package/components/item-option-number-field-BDPEAzdF.js +0 -102
- package/components/item-option-number-field-CV2xpQrk.cjs +0 -38
- package/components/item-option-panel-CMrjUb2s.cjs +0 -67
- package/components/item-option-panel-XhTxaBZp.js +0 -183
- package/components/item-option-picker-CvEfEy99.cjs +0 -37
- package/components/item-option-picker-D_Od3am8.js +0 -77
- package/components/item-option-position-picker-BKw29tj-.js +0 -117
- package/components/item-option-position-picker-DBs4JlFi.cjs +0 -32
- package/components/item-option-positions-number-field-DIIEFHd4.cjs +0 -49
- package/components/item-option-positions-number-field-lrJdfydy.js +0 -164
- package/components/item-option-radio-button-group-DTyHPaz_.js +0 -74
- package/components/item-option-radio-button-group-DrjpL6YU.cjs +0 -37
- package/components/item-option-slider-BwKBgW0y.cjs +0 -33
- package/components/item-option-slider-CIDoZhZl.js +0 -81
- package/components/item-option-switch-CQtvbTfI.cjs +0 -30
- package/components/item-option-switch-DxC1yjeN.js +0 -69
- package/components/item-option-text-field-CZtJ1yIj.js +0 -80
- package/components/item-option-text-field-pLQzcE25.cjs +0 -33
- package/components/item-option-zz-Rqh6o.js +0 -969
- package/components/item-slot-drop-SqYpfTGj.js +0 -326
- package/components/item-slot-drop-UygcXM5D.cjs +0 -91
- package/components/item-slot-drop-panel-9T8BWejl.cjs +0 -57
- package/components/item-slot-drop-panel-DoWCzjqb.js +0 -354
- package/components/item-slot-picker-CadZEvOA.js +0 -500
- package/components/item-slot-picker-Rnb_wwCV.cjs +0 -174
- package/components/item-slot-picker-panel-2VJY6C0b.cjs +0 -81
- package/components/item-slot-picker-panel-Bhr6d6Ya.js +0 -447
- package/components/line-chart-options.config-DKQ1k4lg.cjs +0 -20
- package/components/line-chart-options.config-DMjvCs-4.js +0 -168
- package/components/line-chart-positioning.config-BIkHxiyg.cjs +0 -20
- package/components/line-chart-positioning.config-CdnYQBah.js +0 -55
- package/components/line-chart-slots.config-Cjp4btvG.cjs +0 -20
- package/components/line-chart-slots.config-CrQEwa4W.js +0 -55
- package/components/load-data-fields-for-datasets-CU75T9Az.js +0 -86
- package/components/load-data-fields-for-datasets-DkK1JsFd.cjs +0 -20
- package/components/localized-mixin-CBMYHOPv.js +0 -52
- package/components/localized-mixin-DAOiXh71.cjs +0 -20
- package/components/marker-map-options.config-C52a3boH.js +0 -117
- package/components/marker-map-options.config-DBPPcGN4.cjs +0 -20
- package/components/marker-map-positioning.config-BSz4P-W9.js +0 -48
- package/components/marker-map-positioning.config-t66fioVz.cjs +0 -20
- package/components/marker-map-slots.config-BOQ8AwRv.cjs +0 -20
- package/components/marker-map-slots.config-eJAxjIaQ.js +0 -37
- package/components/nl-BwK5iXtO.cjs +0 -20
- package/components/nl-D-Wa6DnD.js +0 -478
- package/components/ohlc-chart-options.config-38qB2VKc.js +0 -65
- package/components/ohlc-chart-options.config-D9h-VLdq.cjs +0 -20
- package/components/ohlc-chart-positioning.config-BGueS7CJ.cjs +0 -20
- package/components/ohlc-chart-positioning.config-tQPPutWX.js +0 -78
- package/components/ohlc-chart-slots.config-CUBUexI-.cjs +0 -20
- package/components/ohlc-chart-slots.config-SOs4oD-Q.js +0 -68
- package/components/parallel-coordinates-plot-options.config-DfZ80jLX.js +0 -42
- package/components/parallel-coordinates-plot-options.config-ovgY0A7j.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-MkX-qYHX.js +0 -48
- package/components/parallel-coordinates-plot-positioning.config-NrJ2LNM8.cjs +0 -20
- package/components/parallel-coordinates-plot-slots.config-BXZ-NmbH.cjs +0 -20
- package/components/parallel-coordinates-plot-slots.config-DgsHiCqT.js +0 -46
- package/components/period-over-period-condition.const-DLA60ptm.js +0 -1664
- package/components/period-over-period-condition.const-DystGY6B.cjs +0 -20
- package/components/pivot-table-options.config-5udtucDD.js +0 -245
- package/components/pivot-table-options.config-BxKo1DCU.cjs +0 -20
- package/components/pivot-table-positioning.config-DgJ5PPB9.cjs +0 -20
- package/components/pivot-table-positioning.config-Dr_0v4TM.js +0 -55
- package/components/pivot-table-slots.config-CRL6EW5R.js +0 -55
- package/components/pivot-table-slots.config-VxbOGtmB.cjs +0 -20
- package/components/pragmatic-element-adapter-U3ppsQDe.cjs +0 -24
- package/components/pragmatic-element-adapter-e5LbH_lv.js +0 -1252
- package/components/pyramid-chart-options.config-iP2MzTeb.js +0 -240
- package/components/pyramid-chart-options.config-lioHQSoq.cjs +0 -20
- package/components/pyramid-chart-positioning.config-BGRtXKWh.cjs +0 -20
- package/components/pyramid-chart-positioning.config-DB0BI8vW.js +0 -55
- package/components/pyramid-chart-slots.config-CN_Q2YsP.cjs +0 -20
- package/components/pyramid-chart-slots.config-DM3lYlDg.js +0 -50
- package/components/radar-chart-options.config-DhnoFEzo.cjs +0 -20
- package/components/radar-chart-options.config-aR5sQal-.js +0 -130
- package/components/radar-chart-positioning.config-D6UfRMMA.js +0 -55
- package/components/radar-chart-positioning.config-DQiJ-Z1s.cjs +0 -20
- package/components/radar-chart-slots.config-BISYnTom.cjs +0 -20
- package/components/radar-chart-slots.config-msW05r4n.js +0 -53
- package/components/regular-table-options.config-Bk6CBPgj.cjs +0 -20
- package/components/regular-table-options.config-kbARlJ1E.js +0 -148
- package/components/regular-table-slots.config-BU6Ff96U.cjs +0 -20
- package/components/regular-table-slots.config-DAwLOM5T.js +0 -35
- package/components/route-map-options.config-CAi93e7I.cjs +0 -20
- package/components/route-map-options.config-DCBAfq09.js +0 -326
- package/components/route-map-positioning.config-Cbic0Cbz.cjs +0 -20
- package/components/route-map-positioning.config-D_ZoyhwX.js +0 -66
- package/components/route-map-slots.config-DNiRtoRC.js +0 -59
- package/components/route-map-slots.config-Dznp0DT3.cjs +0 -20
- package/components/sankey-diagram-options.config-CKjVnYnF.js +0 -126
- package/components/sankey-diagram-options.config-D7ZrZV0g.cjs +0 -20
- package/components/sankey-diagram-positioning.config-CQNdImz0.js +0 -66
- package/components/sankey-diagram-positioning.config-CZDPh7CR.cjs +0 -20
- package/components/sankey-diagram-slots.config-CVD2P6RJ.js +0 -61
- package/components/sankey-diagram-slots.config-TKCUvHOD.cjs +0 -20
- package/components/scatter-plot-options.config--AfAxaGf.js +0 -302
- package/components/scatter-plot-options.config-DXqKb34r.cjs +0 -20
- package/components/scatter-plot-positioning.config-BPEymo3a.cjs +0 -20
- package/components/scatter-plot-positioning.config-BTOiZ8cF.js +0 -77
- package/components/scatter-plot-slots.config-CPsk9FUg.cjs +0 -20
- package/components/scatter-plot-slots.config-D57rd66g.js +0 -74
- package/components/search-filter-options.config-DQwMOiXm.js +0 -103
- package/components/search-filter-options.config-DojMfRR_.cjs +0 -20
- package/components/search-filter-slots.config-AhwsTdYC.cjs +0 -20
- package/components/search-filter-slots.config-DQybwP4H.js +0 -39
- package/components/set-locale-BCnD4yp_.cjs +0 -20
- package/components/set-locale-CamOWu7o.js +0 -43
- package/components/slicer-filter-options.config-BhLn4U1W.cjs +0 -20
- package/components/slicer-filter-options.config-DVE33GEz.js +0 -226
- package/components/slicer-filter-positioning.config-CC7uoU2D.js +0 -48
- package/components/slicer-filter-positioning.config-CQE4ocpD.cjs +0 -20
- package/components/slicer-filter-slots.config-Bcz9RsdR.js +0 -44
- package/components/slicer-filter-slots.config-zV15NWWS.cjs +0 -20
- package/components/slider-filter-options.config-B8am9mmE.cjs +0 -20
- package/components/slider-filter-options.config-BwaAvOvt.js +0 -72
- package/components/slider-filter-slots.config-Bc8Qk7fb.js +0 -43
- package/components/slider-filter-slots.config-D9Hra0zE.cjs +0 -20
- package/components/slot-menu-BL772rj7.js +0 -1048
- package/components/slot-menu-CCbZ-krJ.cjs +0 -215
- package/components/speedometer-chart-options.config-D4-8n5pn.js +0 -246
- package/components/speedometer-chart-options.config-DEW_D9w1.cjs +0 -20
- package/components/speedometer-chart-positioning.config-ChH-uAdS.js +0 -48
- package/components/speedometer-chart-positioning.config-DpBVarun.cjs +0 -20
- package/components/speedometer-chart-slots.config-1BqQZ2vP.cjs +0 -20
- package/components/speedometer-chart-slots.config-B4zqf0f_.js +0 -39
- package/components/spike-map-options.config-CM46vw7B.js +0 -413
- package/components/spike-map-options.config-LPAyKMHe.cjs +0 -20
- package/components/spike-map-positioning.config-BnEQJ-rD.js +0 -55
- package/components/spike-map-positioning.config-DrSoa8Ol.cjs +0 -20
- package/components/spike-map-slots.config-B7OehIoc.cjs +0 -20
- package/components/spike-map-slots.config-BeXzuzh0.js +0 -47
- package/components/strip-plot-options.config-BlneYJOy.js +0 -53
- package/components/strip-plot-options.config-vBd38UQs.cjs +0 -20
- package/components/strip-plot-positioning.config-Be5Desz2.js +0 -48
- package/components/strip-plot-positioning.config-DlkZ1i6m.cjs +0 -20
- package/components/strip-plot-slots.config-BGQIQtMK.js +0 -38
- package/components/strip-plot-slots.config-CAU0z3q4.cjs +0 -20
- package/components/sunburst-chart-options.config-8xopRyBB.js +0 -160
- package/components/sunburst-chart-options.config-CUFOuT2J.cjs +0 -20
- package/components/sunburst-chart-positioning.config-D4zzci9s.cjs +0 -20
- package/components/sunburst-chart-positioning.config-RUEkAgKJ.js +0 -48
- package/components/sunburst-chart-slots.config-BCNUNkd9.cjs +0 -20
- package/components/sunburst-chart-slots.config-BhKeTqTo.js +0 -38
- package/components/symbol-map-options.config-CR07hvK0.cjs +0 -20
- package/components/symbol-map-options.config-nJAvVQIh.js +0 -157
- package/components/symbol-map-positioning.config-Dmgmyhv7.cjs +0 -20
- package/components/symbol-map-positioning.config-JzgtULMk.js +0 -55
- package/components/symbol-map-slots.config-D9E-oBE4.js +0 -53
- package/components/symbol-map-slots.config-Dz_tor5P.cjs +0 -20
- package/components/text-options.config-DCF3IVzO.js +0 -67
- package/components/text-options.config-JI2D64hs.cjs +0 -20
- package/components/text-slots.config-0A6csMfd.cjs +0 -20
- package/components/text-slots.config-C60nJ0OX.js +0 -24
- package/components/treemap-chart-options.config-RFQTphEG.js +0 -184
- package/components/treemap-chart-options.config-p21eSXKG.cjs +0 -20
- package/components/treemap-chart-positioning.config-CSt_vVgw.js +0 -55
- package/components/treemap-chart-positioning.config-CqHJxz2j.cjs +0 -20
- package/components/treemap-chart-slots.config-BJqqnUEF.cjs +0 -20
- package/components/treemap-chart-slots.config-CZRP7PZH.js +0 -47
- package/components/utils-DLTDAer5.js +0 -239
- package/components/utils-Ez3j4EOS.cjs +0 -20
- package/components/v4-BK7K-jy_.js +0 -49
- package/components/validate-CJkVJaL1.cjs +0 -20
- package/components/validate-J3P0rm_n.js +0 -28
- package/components/venn-diagram-options.config-EmRhf40r.cjs +0 -20
- package/components/venn-diagram-options.config-uCJ5dei5.js +0 -24
- package/components/venn-diagram-positioning.config-CzhNTma3.cjs +0 -20
- package/components/venn-diagram-positioning.config-DsPI8qfG.js +0 -55
- package/components/venn-diagram-slots.config-DOljH_uI.js +0 -47
- package/components/venn-diagram-slots.config-MpkJTf5q.cjs +0 -20
- package/components/video-options.config-Dh_lU4c1.cjs +0 -20
- package/components/video-options.config-DkLrX1gP.js +0 -127
- package/components/video-slots.config-Bmh6mcUv.cjs +0 -20
- package/components/video-slots.config-CqMIkttE.js +0 -24
- package/components/wordcloud-chart-options.config-C2ZILp7a.js +0 -90
- package/components/wordcloud-chart-options.config-mx2CbmrI.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-BUE8e4fN.js +0 -55
- package/components/wordcloud-chart-positioning.config-moNJfL1M.cjs +0 -20
- package/components/wordcloud-chart-slots.config-B8s8B47F.js +0 -45
- package/components/wordcloud-chart-slots.config-C303nwAz.cjs +0 -20
- package/react/components/data-field/index.ts +0 -1
- package/react/components/data-field/types.ts +0 -5
- package/react/components/data-field-panel/index.ts +0 -1
- package/react/components/data-field-panel/types.ts +0 -27
- package/react/components/filters/index.ts +0 -1
- package/react/components/filters/types.ts +0 -15
- package/react/components/item-grid/index.ts +0 -1
- package/react/components/item-grid/types.ts +0 -64
- package/react/components/item-option/index.ts +0 -1
- package/react/components/item-option/types.ts +0 -10
- package/react/components/item-slot-drop/index.ts +0 -1
- package/react/components/item-slot-drop/types.ts +0 -6
- package/react/esm/components/data-field/index.d.ts +0 -1
- package/react/esm/components/data-field/index.js +0 -1
- package/react/esm/components/data-field/types.d.ts +0 -4
- package/react/esm/components/data-field-panel/index.d.ts +0 -1
- package/react/esm/components/data-field-panel/index.js +0 -1
- package/react/esm/components/data-field-panel/types.d.ts +0 -27
- package/react/esm/components/filters/index.d.ts +0 -1
- package/react/esm/components/filters/index.js +0 -1
- package/react/esm/components/filters/types.d.ts +0 -12
- package/react/esm/components/item-grid/index.d.ts +0 -1
- package/react/esm/components/item-grid/index.js +0 -1
- package/react/esm/components/item-grid/types.d.ts +0 -57
- package/react/esm/components/item-option/index.d.ts +0 -1
- package/react/esm/components/item-option/index.js +0 -1
- package/react/esm/components/item-option/types.d.ts +0 -8
- package/react/esm/components/item-option/types.js +0 -1
- package/react/esm/components/item-slot-drop/index.d.ts +0 -1
- package/react/esm/components/item-slot-drop/index.js +0 -1
- package/react/esm/components/item-slot-drop/types.d.ts +0 -5
- package/react/esm/components/item-slot-drop/types.js +0 -1
- package/react/esm/types.d.ts +0 -15
- package/react/esm/types.js +0 -8
- package/react/types.ts +0 -43
- package/react/utils/base/base.d.ts +0 -16
- package/react/utils/base/focus-visible.d.ts +0 -29
- package/react/utils/base/focusable.d.ts +0 -58
- package/react/utils/base/index.d.ts +0 -5
- package/react/utils/base/localized-mixin.d.ts +0 -22
- package/react/utils/base/sized-mixin.d.ts +0 -17
- package/react/utils/color/color-palettes.d.ts +0 -17
- package/react/utils/color/extrapolate-color.d.ts +0 -1
- package/react/utils/data/load-data-fields-for-datasets.d.ts +0 -22
- package/react/utils/data-broker/index.d.ts +0 -257
- package/react/utils/data-field-types/calculate-data-field-icon.d.ts +0 -12
- package/react/utils/data-field-types/default-acceptable-data-field-types.d.ts +0 -1
- package/react/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +0 -1
- package/react/utils/drag/draggable.d.ts +0 -13
- package/react/utils/drag/pragmatic-element-adapter.d.ts +0 -2
- package/react/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +0 -1
- package/react/utils/drag/tests/pragmatic-element-adapter.test.d.ts +0 -1
- package/react/utils/filters/expressions.d.ts +0 -15
- package/react/utils/filters/index.d.ts +0 -1
- package/react/utils/formatter/calculate-duration.d.ts +0 -2
- package/react/utils/formatter/decompose-numeric-format.d.ts +0 -11
- package/react/utils/formatter/default-local-formats.d.ts +0 -20
- package/react/utils/formatter/formats/cs.d.ts +0 -20
- package/react/utils/formatter/formats/da.d.ts +0 -20
- package/react/utils/formatter/formats/de.d.ts +0 -21
- package/react/utils/formatter/formats/en-GB.d.ts +0 -21
- package/react/utils/formatter/formats/en-US.d.ts +0 -1
- package/react/utils/formatter/formats/en.d.ts +0 -1
- package/react/utils/formatter/formats/es.d.ts +0 -54
- package/react/utils/formatter/formats/fi.d.ts +0 -20
- package/react/utils/formatter/formats/fr.d.ts +0 -54
- package/react/utils/formatter/formats/he.d.ts +0 -20
- package/react/utils/formatter/formats/hu.d.ts +0 -20
- package/react/utils/formatter/formats/it.d.ts +0 -54
- package/react/utils/formatter/formats/ja.d.ts +0 -20
- package/react/utils/formatter/formats/ko.d.ts +0 -20
- package/react/utils/formatter/formats/mk.d.ts +0 -20
- package/react/utils/formatter/formats/nl.d.ts +0 -21
- package/react/utils/formatter/formats/no.d.ts +0 -21
- package/react/utils/formatter/formats/pl.d.ts +0 -20
- package/react/utils/formatter/formats/pt.d.ts +0 -20
- package/react/utils/formatter/formats/ru.d.ts +0 -20
- package/react/utils/formatter/formats/sv.d.ts +0 -20
- package/react/utils/formatter/formats/tr.d.ts +0 -21
- package/react/utils/formatter/formats/zh-CN.d.ts +0 -20
- package/react/utils/formatter/formats/zh-TW.d.ts +0 -20
- package/react/utils/formatter/formatter.d.ts +0 -9
- package/react/utils/formatter/get-dataset-name.d.ts +0 -2
- package/react/utils/formatter/localize.d.ts +0 -3
- package/react/utils/formatter/smart-datetime-formats.const.d.ts +0 -36
- package/react/utils/formatter/tests/calculate-duration.test.d.ts +0 -1
- package/react/utils/formatter/tests/decompose-numeric-format.test.d.ts +0 -1
- package/react/utils/formatter/tests/default-local-formats.test.d.ts +0 -1
- package/react/utils/formatter/tests/formatter.test.d.ts +0 -1
- package/react/utils/formatter/tests/localize.test.d.ts +0 -1
- package/react/utils/formula/base/formula-base.d.ts +0 -117
- package/react/utils/formula/base/formula-input-base.d.ts +0 -62
- package/react/utils/formula/codemirror/actions.d.ts +0 -47
- package/react/utils/formula/codemirror/drop-cursor.d.ts +0 -15
- package/react/utils/formula/codemirror/icon-element.d.ts +0 -7
- package/react/utils/formula/codemirror/parser.d.ts +0 -16
- package/react/utils/formula/codemirror/tests/actions.test.d.ts +0 -1
- package/react/utils/formula/codemirror/theme.d.ts +0 -20
- package/react/utils/formula/codemirror/widget.d.ts +0 -18
- package/react/utils/formula/config/aggregations.d.ts +0 -9
- package/react/utils/formula/config/build-datasets.d.ts +0 -10
- package/react/utils/formula/config/expression-helpers.d.ts +0 -42
- package/react/utils/formula/config/functions.d.ts +0 -3
- package/react/utils/formula/config/groupings.d.ts +0 -9
- package/react/utils/formula/config/regex.d.ts +0 -39
- package/react/utils/formula/config/resolve-column-presentation.d.ts +0 -19
- package/react/utils/formula/config/tests/build-datasets.test.d.ts +0 -1
- package/react/utils/formula/config/validate-expression.d.ts +0 -19
- package/react/utils/formula/load-formula-codemirror.d.ts +0 -4
- package/react/utils/formula/render-explanation-tooltip.d.ts +0 -7
- package/react/utils/formula/store/formula-display-store.d.ts +0 -87
- package/react/utils/formula/store/formula-editor-context.d.ts +0 -8
- package/react/utils/formula/store/formula-editor-store.d.ts +0 -46
- package/react/utils/formula/store/tests/formula-editor-store.test.d.ts +0 -1
- package/react/utils/formula/tests/validate-expression.test.d.ts +0 -1
- package/react/utils/get-css-variable.d.ts +0 -1
- package/react/utils/index.d.ts +0 -10
- package/react/utils/localize/set-locale.d.ts +0 -7
- package/react/utils/map-tile-providers/index.d.ts +0 -93
- package/react/utils/slot-content/ad-hoc-slot-content.d.ts +0 -7
- package/react/utils/slot-content/render-calculation-label.d.ts +0 -7
- package/react/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +0 -1
- package/react/utils/slot-state/slot-context.d.ts +0 -4
- package/react/utils/slot-state/slot-store.d.ts +0 -39
- package/react/utils/store/base-store.d.ts +0 -162
- package/react/utils/store/dashboard-store.d.ts +0 -49
- package/react/utils/store/index.d.ts +0 -135
- package/react/utils/store/item-store.d.ts +0 -33
- package/react/utils/store/store-registry.d.ts +0 -170
- package/react/utils/store/tests/dashboard-store.test.d.ts +0 -1
- package/react/utils/store/tests/item-store.test.d.ts +0 -1
- package/react/utils/store/tests/store-registry.test.d.ts +0 -1
- package/react/utils/store/types.d.ts +0 -270
- package/react/utils/switch-item/index.d.ts +0 -34
- package/react/utils/switch-item/slot-role-classification.d.ts +0 -31
- package/react/utils/switch-item/stories/switch-item.stories.d.ts +0 -17
- package/react/utils/switch-item/tests/slot-role-classification.test.d.ts +0 -1
- package/react/utils/switch-item/tests/switch-item.test.d.ts +0 -1
- package/react/utils/themes/bliss.d.ts +0 -2
- package/react/utils/themes/classic-dark.d.ts +0 -2
- package/react/utils/themes/classic.d.ts +0 -2
- package/react/utils/themes/default-dark.d.ts +0 -2
- package/react/utils/themes/default.d.ts +0 -2
- package/react/utils/themes/index.d.ts +0 -4
- package/react/utils/themes/orion.d.ts +0 -2
- package/react/utils/themes/pinky.d.ts +0 -2
- package/react/utils/themes/radiant.d.ts +0 -2
- package/react/utils/themes/royale.d.ts +0 -2
- package/react/utils/themes/seasonal.d.ts +0 -2
- package/react/utils/themes/urban.d.ts +0 -2
- package/react/utils/themes/vivid.d.ts +0 -2
- package/react/utils/time/formats.const.d.ts +0 -4
- package/react/utils/time/period-over-period-condition.const.d.ts +0 -8
- package/react/utils/time/periods.const.d.ts +0 -15
- package/react/utils/timezone/datetime-timezone.d.ts +0 -25
- package/react/utils/timezone/tests/datetime-timezone.test.d.ts +0 -1
- package/react/utils/transformations/convert-data-field-to-slot-content.d.ts +0 -9
- package/react/utils/transformations/convert-datasets-to-data-fields.d.ts +0 -30
- package/react/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +0 -1
- package/react/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +0 -1
- package/react/utils/types/tests/type-check.test.d.ts +0 -1
- package/react/utils/types/type-check.d.ts +0 -28
- /package/components/{chunk-mLOUI7ql.cjs → rolldown-runtime-mLOUI7ql.cjs} +0 -0
- /package/{react/esm/components/data-field-panel/types.js → storybook/inject-global-vars.d.ts} +0 -0
- /package/{react/esm/components/data-field/types.js → utils/ai-prompt/tests/attachments.test.d.ts} +0 -0
- /package/{react/esm/components/filters/types.js → utils/ai-prompt/tests/dictation.test.d.ts} +0 -0
- /package/{react/esm/components/item-grid/types.js → utils/ai-prompt/tests/image-upload.test.d.ts} +0 -0
|
@@ -0,0 +1,1090 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
import { i as e, n as t } from "./base-CUexK-Bc.js";
|
|
21
|
+
import { t as n } from "./decorate-DyMgX_Uh.js";
|
|
22
|
+
import { t as r } from "./localized-mixin-BsdiWv93.js";
|
|
23
|
+
import { t as i } from "./load-data-fields-for-datasets-BNnr8x3m.js";
|
|
24
|
+
import { property as a, state as o } from "lit/decorators.js";
|
|
25
|
+
import { msg as s } from "@lit/localize";
|
|
26
|
+
//#region src/types/formula.types.ts
|
|
27
|
+
var c = /* @__PURE__ */ function(e) {
|
|
28
|
+
return e.GROUP = "", e.GROUPFULL = "GROUPFULL", e.GROUPINEX = "GROUPINEX", e;
|
|
29
|
+
}({}), l = String.raw`[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}`, u = RegExp(`##EMPTYARG-(${l})##|{(${l}:${l})}|##AGGR-(${l})##`, "gm"), d = RegExp(`##EMPTYARG-(${l})##|{(${l}:${l})}`, "gm"), f = /((GROUPFULL|GROUPINEX)\()?(AVG|COUNT|COUNTD|COUNTR|MAX|MIN|SUM)\(/m, p = /(AVG|COUNT|COUNTD|MAX|MIN|SUM)\(\)/m, m = RegExp(`##AGGR-(${l})##`, "m"), h = /\[(.*?)\]/gm, g = RegExp(`{(${l}:${l})}`, "gm");
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/utils/formula/config/expression-helpers.ts
|
|
32
|
+
function _() {
|
|
33
|
+
return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) => {
|
|
34
|
+
let t = Math.random() * 16 | 0;
|
|
35
|
+
return (e === "x" ? t : t & 3 | 8).toString(16);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function v() {
|
|
39
|
+
return `##EMPTYARG-${_()}##`;
|
|
40
|
+
}
|
|
41
|
+
function y(e) {
|
|
42
|
+
return `##AGGR-${e}##`;
|
|
43
|
+
}
|
|
44
|
+
function b(e, t) {
|
|
45
|
+
let { aggregationFunction: n, content: r, grouping: i, includedColumns: a, excludedColumns: o } = e ?? {}, s = `${n}(${t[n]?.arity > 0 ? r : ""})`;
|
|
46
|
+
switch (i) {
|
|
47
|
+
case c.GROUPFULL: return `GROUPFULL(${s})`;
|
|
48
|
+
case c.GROUPINEX: return `GROUPINEX(${s}, [${a?.map((e) => `{${e}}`).join(", ") || ""}], [${o?.map((e) => `{${e}}`).join(", ") || ""}])`;
|
|
49
|
+
default: return s;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function x(e) {
|
|
53
|
+
let t = e.split(""), n = null;
|
|
54
|
+
for (let e = 0; e < t.length; e++) {
|
|
55
|
+
let r = t[e];
|
|
56
|
+
n ? r === n ? n = null : t[e] = " " : (r === "'" || r === "\"") && (n = r);
|
|
57
|
+
}
|
|
58
|
+
return t.join("");
|
|
59
|
+
}
|
|
60
|
+
function S(e, t = 0) {
|
|
61
|
+
let n = 0, r = -1, i = null;
|
|
62
|
+
for (let a = t, o = e.length; a < o; a++) {
|
|
63
|
+
let t = e[a];
|
|
64
|
+
if (i) {
|
|
65
|
+
t === i && (i = null);
|
|
66
|
+
continue;
|
|
67
|
+
}
|
|
68
|
+
if (t === "'" || t === "\"") i = t;
|
|
69
|
+
else if (t === "(") n++;
|
|
70
|
+
else if (t === ")") {
|
|
71
|
+
if (n === 0) {
|
|
72
|
+
r = a;
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
n--;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return r;
|
|
79
|
+
}
|
|
80
|
+
function C(e) {
|
|
81
|
+
let t = e.match(h), n = t?.[0], r = t?.[1];
|
|
82
|
+
return {
|
|
83
|
+
includedColumns: n?.match(g)?.map((e) => e.slice(1, -1)) ?? [],
|
|
84
|
+
excludedColumns: r?.match(g)?.map((e) => e.slice(1, -1)) ?? []
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function w(e = "light") {
|
|
88
|
+
return !e || e === "light" ? [
|
|
89
|
+
"#0E89E0",
|
|
90
|
+
"#F45000",
|
|
91
|
+
"#15BF49",
|
|
92
|
+
"#685AC2",
|
|
93
|
+
"#636363"
|
|
94
|
+
] : [
|
|
95
|
+
"#BDDCF9",
|
|
96
|
+
"#FFCFA1",
|
|
97
|
+
"#C1F3B7",
|
|
98
|
+
"#D7D7EF",
|
|
99
|
+
"#D7D7EF"
|
|
100
|
+
];
|
|
101
|
+
}
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/utils/formula/config/build-datasets.ts
|
|
104
|
+
function T(e) {
|
|
105
|
+
let t = w("light"), n = e.length > 1;
|
|
106
|
+
return e.map((e, r) => {
|
|
107
|
+
let i = [];
|
|
108
|
+
return "dataFields" in e && Array.isArray(e.dataFields) && e.dataFields.length > 0 ? i = e.dataFields.filter((e) => !!e.columnId) : "columns" in e && Array.isArray(e.columns) && (i = e.columns.map((t) => {
|
|
109
|
+
let n = "columnId" in t && typeof t.columnId == "string" ? t.columnId : "id" in t && typeof t.id == "string" ? t.id : void 0;
|
|
110
|
+
if (n) return {
|
|
111
|
+
...t,
|
|
112
|
+
columnId: n,
|
|
113
|
+
datasetId: e.id
|
|
114
|
+
};
|
|
115
|
+
}).filter((e) => !!e)), {
|
|
116
|
+
id: e.id,
|
|
117
|
+
name: e.name,
|
|
118
|
+
description: "description" in e ? e.description : void 0,
|
|
119
|
+
color: n ? t[r % t.length] : void 0,
|
|
120
|
+
columns: i
|
|
121
|
+
};
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
//#endregion
|
|
125
|
+
//#region src/utils/formula/load-formula-codemirror.ts
|
|
126
|
+
var E = !1, D;
|
|
127
|
+
async function O() {
|
|
128
|
+
if (!E) {
|
|
129
|
+
D ??= import("./formula-codemirror-DimorTw-.js");
|
|
130
|
+
try {
|
|
131
|
+
await D, E = !0;
|
|
132
|
+
} catch (e) {
|
|
133
|
+
throw D = void 0, e;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
function k() {
|
|
138
|
+
return E;
|
|
139
|
+
}
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/utils/formula/base/formula-base.ts
|
|
142
|
+
var A = class extends r(t(e, { validSizes: [
|
|
143
|
+
"s",
|
|
144
|
+
"m",
|
|
145
|
+
"l",
|
|
146
|
+
"xl"
|
|
147
|
+
] })) {
|
|
148
|
+
constructor() {
|
|
149
|
+
super(), this.expression = "", this.datasetsDataFields = [], this.datasetIds = [], this.apiUrl = "https://api.luzmo.com", this.showAggregations = !0, this.contentLanguage = "en", this.multiStageAggregation = !0, this.nestedAggregation = !0, this._datasets = [], this._codeMirrorLoaded = k(), this._rootContent = "", this._lastEmittedExpression = null, this._applyingExternalExpression = !1, this._handleWidgetsChanged = () => {
|
|
150
|
+
this._recomputeExpression();
|
|
151
|
+
}, this._store = this._createStore();
|
|
152
|
+
}
|
|
153
|
+
connectedCallback() {
|
|
154
|
+
super.connectedCallback(), this._store.addEventListener("widgets-changed", this._handleWidgetsChanged);
|
|
155
|
+
}
|
|
156
|
+
disconnectedCallback() {
|
|
157
|
+
super.disconnectedCallback(), this._store.removeEventListener("widgets-changed", this._handleWidgetsChanged), this._emitTimer && clearTimeout(this._emitTimer);
|
|
158
|
+
}
|
|
159
|
+
firstUpdated(e) {
|
|
160
|
+
super.firstUpdated(e), this._pushRootContent();
|
|
161
|
+
}
|
|
162
|
+
updated(e) {
|
|
163
|
+
super.updated(e), e.has("_codeMirrorLoaded") && this._codeMirrorLoaded && this._pushRootContent();
|
|
164
|
+
}
|
|
165
|
+
_pushRootContent() {
|
|
166
|
+
this._rootContent && this._codeMirrorElement?.setContent(this._rootContent);
|
|
167
|
+
}
|
|
168
|
+
get _codeMirrorElement() {
|
|
169
|
+
return this.renderRoot?.querySelector("luzmo-formula-codemirror");
|
|
170
|
+
}
|
|
171
|
+
async _ensureCodeMirrorLoaded() {
|
|
172
|
+
this._codeMirrorLoaded ||= (await O(), !0);
|
|
173
|
+
}
|
|
174
|
+
willUpdate(e) {
|
|
175
|
+
super.willUpdate(e), this._shouldLoadInput() && this._ensureCodeMirrorLoaded(), (e.has("multiStageAggregation") || e.has("nestedAggregation") || e.has("contentLanguage") || e.has("size")) && (this._store.multiStageAggregation = this.multiStageAggregation, this._store.nestedAggregation = this.nestedAggregation, this._store.contentLanguage = this.contentLanguage, this._store.size = this.size), (e.has("datasetsDataFields") || e.has("datasetIds") || e.has("apiUrl") || e.has("authKey") || e.has("authToken")) && this._loadDatasets(), e.has("showAggregations") && this._rebuildAutoCompletion(), e.has("expression") && this._applyExternalExpression();
|
|
176
|
+
}
|
|
177
|
+
async _loadDatasets() {
|
|
178
|
+
if (this.datasetsDataFields.length === 0 && this.datasetIds.length === 0) {
|
|
179
|
+
this._datasets = [], this._store.datasets = [], this._setLoading(!1), this._rebuildAutoCompletion();
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
if (this.datasetsDataFields.length > 0) {
|
|
183
|
+
this._datasets = T(this.datasetsDataFields), this._store.datasets = this._datasets, this._setLoading(!1), this._rebuildAutoCompletion();
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
if (this.datasetIds.length > 0) {
|
|
187
|
+
this._setLoading(!0);
|
|
188
|
+
try {
|
|
189
|
+
let e = await i(this.datasetIds, { dataBrokerConfig: {
|
|
190
|
+
apiUrl: this.apiUrl,
|
|
191
|
+
authKey: this.authKey,
|
|
192
|
+
authToken: this.authToken
|
|
193
|
+
} });
|
|
194
|
+
this._datasets = T(e), this._store.datasets = this._datasets, this._rebuildAutoCompletion();
|
|
195
|
+
} catch (e) {
|
|
196
|
+
console.warn(`[${this.localName}] Failed to load datasets:`, e), this.dispatchEvent(new CustomEvent("luzmo-datasets-error", {
|
|
197
|
+
bubbles: !0,
|
|
198
|
+
composed: !0,
|
|
199
|
+
detail: { error: e }
|
|
200
|
+
}));
|
|
201
|
+
} finally {
|
|
202
|
+
this._setLoading(!1);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
_rebuildAutoCompletion() {}
|
|
207
|
+
_syncExpressionToStore() {
|
|
208
|
+
return this.expression === this._lastEmittedExpression ? null : (this._store.clearWidgets(), this._rootContent = this.multiStageAggregation ? this._store.transformToAggregationWidgetSyntax(this.expression) : this.expression, this._rootContent);
|
|
209
|
+
}
|
|
210
|
+
_applyExternalExpression() {
|
|
211
|
+
this._applyingExternalExpression = !0;
|
|
212
|
+
try {
|
|
213
|
+
this._syncExpressionToStore();
|
|
214
|
+
} finally {
|
|
215
|
+
this._applyingExternalExpression = !1;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
_recomputeExpression() {
|
|
219
|
+
if (this._applyingExternalExpression || !this._canEmitExpression()) return;
|
|
220
|
+
let e = this.multiStageAggregation ? this._store.transformToAggregationFunctionSyntax(this._rootContent) : this._rootContent;
|
|
221
|
+
this._emitTimer && clearTimeout(this._emitTimer), this._emitTimer = setTimeout(() => this._onExpressionComputed(e), this._emitDebounceMs);
|
|
222
|
+
}
|
|
223
|
+
_emitExpressionChanged(e) {
|
|
224
|
+
this._lastEmittedExpression = e, this.dispatchEvent(new CustomEvent("luzmo-expression-changed", {
|
|
225
|
+
bubbles: !0,
|
|
226
|
+
composed: !0,
|
|
227
|
+
detail: { expression: e }
|
|
228
|
+
}));
|
|
229
|
+
}
|
|
230
|
+
_shouldLoadInput() {
|
|
231
|
+
return !0;
|
|
232
|
+
}
|
|
233
|
+
_canEmitExpression() {
|
|
234
|
+
return !0;
|
|
235
|
+
}
|
|
236
|
+
get _emitDebounceMs() {
|
|
237
|
+
return 300;
|
|
238
|
+
}
|
|
239
|
+
_onExpressionComputed(e) {
|
|
240
|
+
e !== this._lastEmittedExpression && this._emitExpressionChanged(e);
|
|
241
|
+
}
|
|
242
|
+
_setLoading(e) {}
|
|
243
|
+
};
|
|
244
|
+
n([a({ type: String })], A.prototype, "expression", void 0), n([a({ attribute: !1 })], A.prototype, "datasetsDataFields", void 0), n([a({
|
|
245
|
+
type: Array,
|
|
246
|
+
attribute: "dataset-ids"
|
|
247
|
+
})], A.prototype, "datasetIds", void 0), n([a({
|
|
248
|
+
type: String,
|
|
249
|
+
attribute: "api-url"
|
|
250
|
+
})], A.prototype, "apiUrl", void 0), n([a({
|
|
251
|
+
type: String,
|
|
252
|
+
attribute: "auth-key"
|
|
253
|
+
})], A.prototype, "authKey", void 0), n([a({
|
|
254
|
+
type: String,
|
|
255
|
+
attribute: "auth-token"
|
|
256
|
+
})], A.prototype, "authToken", void 0), n([a({
|
|
257
|
+
type: Boolean,
|
|
258
|
+
attribute: "show-aggregations",
|
|
259
|
+
reflect: !0
|
|
260
|
+
})], A.prototype, "showAggregations", void 0), n([a({
|
|
261
|
+
type: String,
|
|
262
|
+
attribute: "content-language",
|
|
263
|
+
reflect: !0
|
|
264
|
+
})], A.prototype, "contentLanguage", void 0), n([a({
|
|
265
|
+
type: Boolean,
|
|
266
|
+
attribute: "multi-stage-aggregation"
|
|
267
|
+
})], A.prototype, "multiStageAggregation", void 0), n([a({
|
|
268
|
+
type: Boolean,
|
|
269
|
+
attribute: "nested-aggregation"
|
|
270
|
+
})], A.prototype, "nestedAggregation", void 0), n([o()], A.prototype, "_datasets", void 0), n([o()], A.prototype, "_codeMirrorLoaded", void 0);
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region src/utils/formula/config/aggregations.ts
|
|
273
|
+
var j = [
|
|
274
|
+
"AVG",
|
|
275
|
+
"COUNT",
|
|
276
|
+
"COUNTD",
|
|
277
|
+
"COUNTR",
|
|
278
|
+
"MAX",
|
|
279
|
+
"MIN",
|
|
280
|
+
"SUM"
|
|
281
|
+
];
|
|
282
|
+
function M() {
|
|
283
|
+
return {
|
|
284
|
+
AVG: {
|
|
285
|
+
arity: 1,
|
|
286
|
+
label: () => s("Average", { desc: "Aggregation label" }),
|
|
287
|
+
description: () => s("Calculates the average of the values.", { desc: "Formula aggregation description for AVG" }),
|
|
288
|
+
example: () => "AVG(⟨numeric⟩ Order Value)",
|
|
289
|
+
exampleHasIcons: !0
|
|
290
|
+
},
|
|
291
|
+
COUNT: {
|
|
292
|
+
arity: 1,
|
|
293
|
+
label: () => s("Count", { desc: "Aggregation label" }),
|
|
294
|
+
description: () => s("Counts the number of non-empty values.", { desc: "Formula aggregation description for COUNT" }),
|
|
295
|
+
example: () => "COUNT(⟨numeric⟩ Order Number)",
|
|
296
|
+
exampleHasIcons: !0
|
|
297
|
+
},
|
|
298
|
+
COUNTD: {
|
|
299
|
+
arity: 1,
|
|
300
|
+
label: () => s("Count distinct", { desc: "Aggregation label" }),
|
|
301
|
+
description: () => s("Counts the number of distinct values.", { desc: "Formula aggregation description for COUNTD" }),
|
|
302
|
+
example: () => "COUNTD(⟨numeric⟩ Customer ID)",
|
|
303
|
+
exampleHasIcons: !0
|
|
304
|
+
},
|
|
305
|
+
COUNTR: {
|
|
306
|
+
arity: 0,
|
|
307
|
+
label: () => s("Count rows", { desc: "Aggregation label" }),
|
|
308
|
+
description: () => s("Counts the number of rows.", { desc: "Formula aggregation description for COUNTR" }),
|
|
309
|
+
example: () => "COUNTR()"
|
|
310
|
+
},
|
|
311
|
+
MAX: {
|
|
312
|
+
arity: 1,
|
|
313
|
+
label: () => s("Maximum", { desc: "Aggregation label" }),
|
|
314
|
+
description: () => s("Returns the largest value.", { desc: "Formula aggregation description for MAX" }),
|
|
315
|
+
example: () => "MAX(⟨numeric⟩ Order Value)",
|
|
316
|
+
exampleHasIcons: !0
|
|
317
|
+
},
|
|
318
|
+
MIN: {
|
|
319
|
+
arity: 1,
|
|
320
|
+
label: () => s("Minimum", { desc: "Aggregation label" }),
|
|
321
|
+
description: () => s("Returns the smallest value.", { desc: "Formula aggregation description for MIN" }),
|
|
322
|
+
example: () => "MIN(⟨numeric⟩ Order Value)",
|
|
323
|
+
exampleHasIcons: !0
|
|
324
|
+
},
|
|
325
|
+
SUM: {
|
|
326
|
+
arity: 1,
|
|
327
|
+
label: () => s("Sum", { desc: "Aggregation label" }),
|
|
328
|
+
description: () => s("Adds up all the values.", { desc: "Formula aggregation description for SUM" }),
|
|
329
|
+
example: () => "SUM(⟨numeric⟩ Quantity Sold)",
|
|
330
|
+
exampleHasIcons: !0
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
//#endregion
|
|
335
|
+
//#region src/utils/formula/config/functions.ts
|
|
336
|
+
function N() {
|
|
337
|
+
return [
|
|
338
|
+
{
|
|
339
|
+
key: "string",
|
|
340
|
+
title: () => s("String", { desc: "Formula function category title for string functions" }),
|
|
341
|
+
functions: [
|
|
342
|
+
"||",
|
|
343
|
+
"LENGTH",
|
|
344
|
+
"LOWER",
|
|
345
|
+
"UPPER",
|
|
346
|
+
"LTRIM",
|
|
347
|
+
"RTRIM",
|
|
348
|
+
"TRIM",
|
|
349
|
+
"REPLACE",
|
|
350
|
+
"STRPOS",
|
|
351
|
+
"SUBSTR",
|
|
352
|
+
"SPLIT_PART"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
key: "dateTime",
|
|
357
|
+
title: () => s("Date and time", { desc: "Formula function category title for date and time functions" }),
|
|
358
|
+
functions: [
|
|
359
|
+
"NOW",
|
|
360
|
+
"DATE_ADD",
|
|
361
|
+
"DATE_DIFF",
|
|
362
|
+
"YEAR",
|
|
363
|
+
"YEAR_UTC",
|
|
364
|
+
"QUARTER",
|
|
365
|
+
"QUARTER_UTC",
|
|
366
|
+
"MONTH",
|
|
367
|
+
"MONTH_UTC",
|
|
368
|
+
"WEEK",
|
|
369
|
+
"WEEK_UTC",
|
|
370
|
+
"DAY",
|
|
371
|
+
"DAY_UTC",
|
|
372
|
+
"DAY_OF_WEEK",
|
|
373
|
+
"DAY_OF_WEEK_UTC",
|
|
374
|
+
"DAY_OF_YEAR",
|
|
375
|
+
"DAY_OF_YEAR_UTC",
|
|
376
|
+
"YEAR_OF_WEEK",
|
|
377
|
+
"YEAR_OF_WEEK_UTC",
|
|
378
|
+
"HOUR",
|
|
379
|
+
"HOUR_UTC",
|
|
380
|
+
"MINUTE",
|
|
381
|
+
"MINUTE_UTC",
|
|
382
|
+
"SECOND",
|
|
383
|
+
"SECOND_UTC"
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
key: "mathematical",
|
|
388
|
+
title: () => s("Mathematical", { desc: "Formula function category title for mathematical functions" }),
|
|
389
|
+
functions: [
|
|
390
|
+
"+",
|
|
391
|
+
"-",
|
|
392
|
+
"*",
|
|
393
|
+
"/",
|
|
394
|
+
"%",
|
|
395
|
+
"ABS",
|
|
396
|
+
"CEIL",
|
|
397
|
+
"E",
|
|
398
|
+
"EXP",
|
|
399
|
+
"FLOOR",
|
|
400
|
+
"LN",
|
|
401
|
+
"LOG",
|
|
402
|
+
"PI",
|
|
403
|
+
"POW",
|
|
404
|
+
"RAND",
|
|
405
|
+
"ROUND",
|
|
406
|
+
"SQRT"
|
|
407
|
+
]
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
key: "conditional",
|
|
411
|
+
title: () => s("Conditional", { desc: "Formula function category title for conditional functions" }),
|
|
412
|
+
functions: ["IF", "COALESCE"]
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
key: "conversion",
|
|
416
|
+
title: () => s("Conversion", { desc: "Formula function category title for conversion functions" }),
|
|
417
|
+
functions: ["CAST"]
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
key: "comparison",
|
|
421
|
+
title: () => s("Comparison", { desc: "Formula function category title for comparison functions" }),
|
|
422
|
+
functions: [
|
|
423
|
+
">",
|
|
424
|
+
"<",
|
|
425
|
+
"<=",
|
|
426
|
+
">=",
|
|
427
|
+
"=",
|
|
428
|
+
"<>"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
key: "logical",
|
|
433
|
+
title: () => s("Logical", { desc: "Formula function category title for logical functions" }),
|
|
434
|
+
functions: [
|
|
435
|
+
"AND",
|
|
436
|
+
"OR",
|
|
437
|
+
"NOT"
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
key: "circular",
|
|
442
|
+
title: () => s("Circular", { desc: "Formula function category title for circular functions" }),
|
|
443
|
+
functions: [
|
|
444
|
+
"SIN",
|
|
445
|
+
"COS",
|
|
446
|
+
"TAN",
|
|
447
|
+
"ASIN",
|
|
448
|
+
"ACOS",
|
|
449
|
+
"ATAN",
|
|
450
|
+
"SINH",
|
|
451
|
+
"COSH",
|
|
452
|
+
"TANH"
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
key: "spatial",
|
|
457
|
+
title: () => s("Spatial", { desc: "Formula function category title for spatial functions" }),
|
|
458
|
+
functions: ["COORDS"]
|
|
459
|
+
}
|
|
460
|
+
];
|
|
461
|
+
}
|
|
462
|
+
function P() {
|
|
463
|
+
let e = 2026;
|
|
464
|
+
return {
|
|
465
|
+
"+": {
|
|
466
|
+
type: "infix",
|
|
467
|
+
arity: 2,
|
|
468
|
+
label: () => s("Addition", { desc: "Formula function label for addition" }),
|
|
469
|
+
description: () => s("Adds two numeric values.", { desc: "Formula function description for addition operator" }),
|
|
470
|
+
example: () => "42.0 + ⟨numeric⟩ Average burrito price",
|
|
471
|
+
exampleHasIcons: !0
|
|
472
|
+
},
|
|
473
|
+
"-": {
|
|
474
|
+
type: "infix",
|
|
475
|
+
arity: 2,
|
|
476
|
+
label: () => s("Difference", { desc: "Formula function label for subtraction" }),
|
|
477
|
+
description: () => s("Subtracts the second value from the first value.", { desc: "Formula function description for subtraction operator" }),
|
|
478
|
+
example: () => "⟨numeric⟩ Burrito weight - 42",
|
|
479
|
+
exampleHasIcons: !0
|
|
480
|
+
},
|
|
481
|
+
"*": {
|
|
482
|
+
type: "infix",
|
|
483
|
+
arity: 2,
|
|
484
|
+
label: () => s("Multiplication", { desc: "Formula function label for multiplication" }),
|
|
485
|
+
description: () => s("Multiplies two numeric values.", { desc: "Formula function description for multiplication operator" }),
|
|
486
|
+
example: () => "⟨numeric⟩ Number of burritos * 2",
|
|
487
|
+
exampleHasIcons: !0
|
|
488
|
+
},
|
|
489
|
+
"/": {
|
|
490
|
+
type: "infix",
|
|
491
|
+
arity: 2,
|
|
492
|
+
label: () => s("Division", { desc: "Formula function label for division" }),
|
|
493
|
+
description: () => s("Divides the first numeric value by the second numeric value.", { desc: "Formula function description for division operator" }),
|
|
494
|
+
example: () => "⟨numeric⟩ Number of burritos / 2",
|
|
495
|
+
exampleHasIcons: !0
|
|
496
|
+
},
|
|
497
|
+
"%": {
|
|
498
|
+
type: "infix",
|
|
499
|
+
arity: 2,
|
|
500
|
+
label: () => s("Modulo", { desc: "Formula function label for modulo" }),
|
|
501
|
+
description: () => s("Returns the remainder after dividing the first value by the second value.", { desc: "Formula function description for modulo operator" }),
|
|
502
|
+
example: () => "5 % 2"
|
|
503
|
+
},
|
|
504
|
+
">": {
|
|
505
|
+
type: "infix",
|
|
506
|
+
arity: 2,
|
|
507
|
+
label: () => s("Greater than", { desc: "Formula function label for greater than comparison" }),
|
|
508
|
+
description: () => s("Checks whether the first value is greater than the second value.", { desc: "Formula function description for greater than operator" }),
|
|
509
|
+
example: () => "⟨numeric⟩ Burrito weight > 50",
|
|
510
|
+
exampleHasIcons: !0
|
|
511
|
+
},
|
|
512
|
+
"<": {
|
|
513
|
+
type: "infix",
|
|
514
|
+
arity: 2,
|
|
515
|
+
label: () => s("Less than", { desc: "Formula function label for less than comparison" }),
|
|
516
|
+
description: () => s("Checks whether the first value is less than the second value.", { desc: "Formula function description for less than operator" }),
|
|
517
|
+
example: () => "⟨numeric⟩ Burrito weight < 50",
|
|
518
|
+
exampleHasIcons: !0
|
|
519
|
+
},
|
|
520
|
+
">=": {
|
|
521
|
+
type: "infix",
|
|
522
|
+
arity: 2,
|
|
523
|
+
label: () => s("Greater than or equal", { desc: "Formula function label for greater than or equal comparison" }),
|
|
524
|
+
description: () => s("Checks whether the first value is greater than or equal to the second value.", { desc: "Formula function description for greater than or equal operator" }),
|
|
525
|
+
example: () => "⟨numeric⟩ Burrito weight >= 50",
|
|
526
|
+
exampleHasIcons: !0
|
|
527
|
+
},
|
|
528
|
+
"<=": {
|
|
529
|
+
type: "infix",
|
|
530
|
+
arity: 2,
|
|
531
|
+
label: () => s("Less than or equal", { desc: "Formula function label for less than or equal comparison" }),
|
|
532
|
+
description: () => s("Checks whether the first value is less than or equal to the second value.", { desc: "Formula function description for less than or equal operator" }),
|
|
533
|
+
example: () => "⟨numeric⟩ Burrito weight <= 50",
|
|
534
|
+
exampleHasIcons: !0
|
|
535
|
+
},
|
|
536
|
+
"=": {
|
|
537
|
+
type: "infix",
|
|
538
|
+
arity: 2,
|
|
539
|
+
label: () => s("Equal", { desc: "Formula function label for equality comparison" }),
|
|
540
|
+
description: () => s("Checks whether both values are equal.", { desc: "Formula function description for equality operator" }),
|
|
541
|
+
example: () => "⟨hierarchy⟩ Burrito type = 'Savoury'",
|
|
542
|
+
exampleHasIcons: !0
|
|
543
|
+
},
|
|
544
|
+
"<>": {
|
|
545
|
+
type: "infix",
|
|
546
|
+
arity: 2,
|
|
547
|
+
label: () => s("Not equal", { desc: "Formula function label for inequality comparison" }),
|
|
548
|
+
description: () => s("Checks whether two values are different.", { desc: "Formula function description for inequality operator" }),
|
|
549
|
+
example: () => "⟨hierarchy⟩ Burrito type <> 'Sweet'",
|
|
550
|
+
exampleHasIcons: !0
|
|
551
|
+
},
|
|
552
|
+
ABS: {
|
|
553
|
+
type: "prefix",
|
|
554
|
+
arity: 1,
|
|
555
|
+
label: () => s("Absolute value", { desc: "Formula function label for ABS" }),
|
|
556
|
+
description: () => s("Returns the absolute value of a number.", { desc: "Formula function description for ABS" }),
|
|
557
|
+
example: () => "ABS(-5.0)"
|
|
558
|
+
},
|
|
559
|
+
CEIL: {
|
|
560
|
+
type: "prefix",
|
|
561
|
+
arity: 1,
|
|
562
|
+
label: () => s("Round up", { desc: "Formula function label for CEIL" }),
|
|
563
|
+
description: () => s("Rounds a number up to the nearest integer.", { desc: "Formula function description for CEIL" }),
|
|
564
|
+
example: () => "CEIL(11.3)"
|
|
565
|
+
},
|
|
566
|
+
E: {
|
|
567
|
+
type: "prefix",
|
|
568
|
+
arity: 0,
|
|
569
|
+
label: () => s("Euler's number", { desc: "Formula function label for E" }),
|
|
570
|
+
description: () => s("Returns Euler's constant e.", { desc: "Formula function description for E" }),
|
|
571
|
+
example: () => "E()"
|
|
572
|
+
},
|
|
573
|
+
EXP: {
|
|
574
|
+
type: "prefix",
|
|
575
|
+
arity: 1,
|
|
576
|
+
label: () => s("Exponential", { desc: "Formula function label for EXP" }),
|
|
577
|
+
description: () => s("Returns e raised to the specified power.", { desc: "Formula function description for EXP" }),
|
|
578
|
+
example: () => "EXP(11.3)"
|
|
579
|
+
},
|
|
580
|
+
FLOOR: {
|
|
581
|
+
type: "prefix",
|
|
582
|
+
arity: 1,
|
|
583
|
+
label: () => s("Round down", { desc: "Formula function label for FLOOR" }),
|
|
584
|
+
description: () => s("Rounds a number down to the nearest integer.", { desc: "Formula function description for FLOOR" }),
|
|
585
|
+
example: () => "FLOOR(11.7)"
|
|
586
|
+
},
|
|
587
|
+
LN: {
|
|
588
|
+
type: "prefix",
|
|
589
|
+
arity: 1,
|
|
590
|
+
label: () => s("Natural logarithm", { desc: "Formula function label for LN" }),
|
|
591
|
+
description: () => s("Returns the natural logarithm of a number.", { desc: "Formula function description for LN" }),
|
|
592
|
+
example: () => "LN(11.7)"
|
|
593
|
+
},
|
|
594
|
+
LOG: {
|
|
595
|
+
type: "prefix",
|
|
596
|
+
arity: 2,
|
|
597
|
+
label: () => s("Logarithm", { desc: "Formula function label for LOG" }),
|
|
598
|
+
description: () => s("Returns the logarithm of a number for a specific base.", { desc: "Formula function description for LOG" }),
|
|
599
|
+
example: () => "LOG(3.6, 10)"
|
|
600
|
+
},
|
|
601
|
+
PI: {
|
|
602
|
+
type: "prefix",
|
|
603
|
+
arity: 0,
|
|
604
|
+
label: () => s("Pi", { desc: "Formula function label for PI" }),
|
|
605
|
+
description: () => s("Returns the mathematical constant pi.", { desc: "Formula function description for PI" }),
|
|
606
|
+
example: () => "PI()"
|
|
607
|
+
},
|
|
608
|
+
POW: {
|
|
609
|
+
type: "prefix",
|
|
610
|
+
arity: 2,
|
|
611
|
+
label: () => s("Power", { desc: "Formula function label for POW" }),
|
|
612
|
+
description: () => s("Raises a number to a given power.", { desc: "Formula function description for POW" }),
|
|
613
|
+
example: () => "POW(2.35, 2)"
|
|
614
|
+
},
|
|
615
|
+
RAND: {
|
|
616
|
+
type: "prefix",
|
|
617
|
+
arity: 0,
|
|
618
|
+
label: () => s("Random number", { desc: "Formula function label for RAND" }),
|
|
619
|
+
description: () => s("Returns a random number between 0 and 1.", { desc: "Formula function description for RAND" }),
|
|
620
|
+
example: () => "RAND()"
|
|
621
|
+
},
|
|
622
|
+
ROUND: {
|
|
623
|
+
type: "prefix",
|
|
624
|
+
arity: 2,
|
|
625
|
+
label: () => s("Round", { desc: "Formula function label for ROUND" }),
|
|
626
|
+
description: () => s("Rounds a number to a specified number of decimal places.", { desc: "Formula function description for ROUND" }),
|
|
627
|
+
example: () => "ROUND(4.567, 1)"
|
|
628
|
+
},
|
|
629
|
+
SQRT: {
|
|
630
|
+
type: "prefix",
|
|
631
|
+
arity: 1,
|
|
632
|
+
label: () => s("Square root", { desc: "Formula function label for SQRT" }),
|
|
633
|
+
description: () => s("Returns the square root of a number.", { desc: "Formula function description for SQRT" }),
|
|
634
|
+
example: () => "SQRT(4)"
|
|
635
|
+
},
|
|
636
|
+
CAST: {
|
|
637
|
+
type: "prefix",
|
|
638
|
+
arity: 2,
|
|
639
|
+
label: () => s("Convert value", { desc: "Formula function label for CAST" }),
|
|
640
|
+
description: () => s("Converts the first argument to the type given by the second argument. Possible types are 'hierarchy', 'numeric', 'datetime' and 'boolean'.", { desc: "Formula function description for CAST" }),
|
|
641
|
+
example: () => "CAST(⟨numeric⟩ Burrito weight, hierarchy)",
|
|
642
|
+
exampleHasIcons: !0
|
|
643
|
+
},
|
|
644
|
+
IF: {
|
|
645
|
+
type: "prefix",
|
|
646
|
+
arity: 3,
|
|
647
|
+
label: () => s("If", { desc: "Formula function label for IF" }),
|
|
648
|
+
description: () => s("Returns one value when a condition is true and another value when false.", { desc: "Formula function description for IF" }),
|
|
649
|
+
example: () => "IF(⟨numeric⟩ Burrito weight < 200,'Small','Large')",
|
|
650
|
+
exampleHasIcons: !0
|
|
651
|
+
},
|
|
652
|
+
COALESCE: {
|
|
653
|
+
type: "prefix",
|
|
654
|
+
arity: 2,
|
|
655
|
+
label: () => s("Is empty", { desc: "Formula function label for COALESCE" }),
|
|
656
|
+
description: () => s("Returns the first non-null value from the provided arguments.", { desc: "Formula function description for COALESCE" }),
|
|
657
|
+
example: () => "COALESCE(⟨hierarchy⟩ Burrito type, 'Unknown type')",
|
|
658
|
+
exampleHasIcons: !0
|
|
659
|
+
},
|
|
660
|
+
AND: {
|
|
661
|
+
type: "infix",
|
|
662
|
+
arity: 2,
|
|
663
|
+
label: () => s("Logical and", { desc: "Formula function label for AND" }),
|
|
664
|
+
description: () => s("Returns true when both conditions are true.", { desc: "Formula function description for AND" }),
|
|
665
|
+
example: () => "Burrito weight > 50 AND Burrito weight < 75"
|
|
666
|
+
},
|
|
667
|
+
OR: {
|
|
668
|
+
type: "infix",
|
|
669
|
+
arity: 2,
|
|
670
|
+
label: () => s("Logical or", { desc: "Formula function label for OR" }),
|
|
671
|
+
description: () => s("Returns true when at least one condition is true.", { desc: "Formula function description for OR" }),
|
|
672
|
+
example: () => "Burrito price > 10.1 OR Burrito weight >= 50"
|
|
673
|
+
},
|
|
674
|
+
NOT: {
|
|
675
|
+
type: "prefix_op",
|
|
676
|
+
arity: 1,
|
|
677
|
+
label: () => s("Logical not", { desc: "Formula function label for NOT" }),
|
|
678
|
+
description: () => s("Negates a boolean condition.", { desc: "Formula function description for NOT" }),
|
|
679
|
+
example: () => "NOT (Burrito type = 'Salty')"
|
|
680
|
+
},
|
|
681
|
+
SIN: {
|
|
682
|
+
type: "prefix",
|
|
683
|
+
arity: 1,
|
|
684
|
+
label: () => s("Sine", { desc: "Formula function label for SIN" }),
|
|
685
|
+
description: () => s("Returns the sine of an angle in radians.", { desc: "Formula function description for SIN" }),
|
|
686
|
+
example: () => "SIN(3.14)"
|
|
687
|
+
},
|
|
688
|
+
COS: {
|
|
689
|
+
type: "prefix",
|
|
690
|
+
arity: 1,
|
|
691
|
+
label: () => s("Cosine", { desc: "Formula function label for COS" }),
|
|
692
|
+
description: () => s("Returns the cosine of an angle in radians.", { desc: "Formula function description for COS" }),
|
|
693
|
+
example: () => "COS(3.14)"
|
|
694
|
+
},
|
|
695
|
+
TAN: {
|
|
696
|
+
type: "prefix",
|
|
697
|
+
arity: 1,
|
|
698
|
+
label: () => s("Tangent", { desc: "Formula function label for TAN" }),
|
|
699
|
+
description: () => s("Returns the tangent of an angle in radians.", { desc: "Formula function description for TAN" }),
|
|
700
|
+
example: () => "TAN(3.14)"
|
|
701
|
+
},
|
|
702
|
+
ASIN: {
|
|
703
|
+
type: "prefix",
|
|
704
|
+
arity: 1,
|
|
705
|
+
label: () => s("Arcsine", { desc: "Formula function label for ASIN" }),
|
|
706
|
+
description: () => s("Returns the arcsine of a number.", { desc: "Formula function description for ASIN" }),
|
|
707
|
+
example: () => "ASIN(3.14)"
|
|
708
|
+
},
|
|
709
|
+
ACOS: {
|
|
710
|
+
type: "prefix",
|
|
711
|
+
arity: 1,
|
|
712
|
+
label: () => s("Arccosine", { desc: "Formula function label for ACOS" }),
|
|
713
|
+
description: () => s("Returns the arccosine of a number.", { desc: "Formula function description for ACOS" }),
|
|
714
|
+
example: () => "ACOS(3.14)"
|
|
715
|
+
},
|
|
716
|
+
ATAN: {
|
|
717
|
+
type: "prefix",
|
|
718
|
+
arity: 1,
|
|
719
|
+
label: () => s("Arctangent", { desc: "Formula function label for ATAN" }),
|
|
720
|
+
description: () => s("Returns the arctangent of a number.", { desc: "Formula function description for ATAN" }),
|
|
721
|
+
example: () => "ATAN(3.14)"
|
|
722
|
+
},
|
|
723
|
+
SINH: {
|
|
724
|
+
type: "prefix",
|
|
725
|
+
arity: 1,
|
|
726
|
+
label: () => s("Hyperbolic sine", { desc: "Formula function label for SINH" }),
|
|
727
|
+
description: () => s("Returns the hyperbolic sine of a number.", { desc: "Formula function description for SINH" }),
|
|
728
|
+
example: () => "SINH(3.14)"
|
|
729
|
+
},
|
|
730
|
+
COSH: {
|
|
731
|
+
type: "prefix",
|
|
732
|
+
arity: 1,
|
|
733
|
+
label: () => s("Hyperbolic cosine", { desc: "Formula function label for COSH" }),
|
|
734
|
+
description: () => s("Returns the hyperbolic cosine of a number.", { desc: "Formula function description for COSH" }),
|
|
735
|
+
example: () => "COSH(3.14)"
|
|
736
|
+
},
|
|
737
|
+
TANH: {
|
|
738
|
+
type: "prefix",
|
|
739
|
+
arity: 1,
|
|
740
|
+
label: () => s("Hyperbolic tangent", { desc: "Formula function label for TANH" }),
|
|
741
|
+
description: () => s("Returns the hyperbolic tangent of a number.", { desc: "Formula function description for TANH" }),
|
|
742
|
+
example: () => "TANH(3.14)"
|
|
743
|
+
},
|
|
744
|
+
MEAN: {
|
|
745
|
+
type: "prefix",
|
|
746
|
+
arity: 1,
|
|
747
|
+
label: () => s("Mean", { desc: "Formula function label for MEAN" }),
|
|
748
|
+
description: () => s("Returns the arithmetic mean of all values in a numeric column. The value is calculated over the entire dataset and does not change when filtering.", { desc: "Formula function description for MEAN" }),
|
|
749
|
+
example: () => "MEAN(⟨numeric⟩ Burrito weight)",
|
|
750
|
+
exampleHasIcons: !0
|
|
751
|
+
},
|
|
752
|
+
STDDEV: {
|
|
753
|
+
type: "prefix",
|
|
754
|
+
arity: 1,
|
|
755
|
+
label: () => s("Standard deviation", { desc: "Aggregation label" }),
|
|
756
|
+
description: () => s("Returns the sample standard deviation over all values in a numeric column. The value is calculated over the entire dataset and does not change when filtering.", { desc: "Formula function description for STDDEV" }),
|
|
757
|
+
example: () => "STDDEV(⟨numeric⟩ Burrito weight)",
|
|
758
|
+
exampleHasIcons: !0
|
|
759
|
+
},
|
|
760
|
+
"||": {
|
|
761
|
+
type: "infix",
|
|
762
|
+
arity: 2,
|
|
763
|
+
label: () => s("Concatenate", { desc: "Formula function label for concatenate operator" }),
|
|
764
|
+
description: () => s("Concatenates two strings.", { desc: "Formula function description for concatenate operator" }),
|
|
765
|
+
example: () => "'Tasty' || ' burrito'"
|
|
766
|
+
},
|
|
767
|
+
LENGTH: {
|
|
768
|
+
type: "prefix",
|
|
769
|
+
arity: 1,
|
|
770
|
+
label: () => s("String length", { desc: "Formula function label for LENGTH" }),
|
|
771
|
+
description: () => s("Returns the number of characters in a string.", { desc: "Formula function description for LENGTH" }),
|
|
772
|
+
example: () => "LENGTH('Burrito')"
|
|
773
|
+
},
|
|
774
|
+
LOWER: {
|
|
775
|
+
type: "prefix",
|
|
776
|
+
arity: 1,
|
|
777
|
+
label: () => s("Lowercase", { desc: "Formula function label for LOWER" }),
|
|
778
|
+
description: () => s("Converts a string to lowercase.", { desc: "Formula function description for LOWER" }),
|
|
779
|
+
example: () => "LOWER('BURRITO')"
|
|
780
|
+
},
|
|
781
|
+
UPPER: {
|
|
782
|
+
type: "prefix",
|
|
783
|
+
arity: 1,
|
|
784
|
+
label: () => s("Uppercase", { desc: "Formula function label for UPPER" }),
|
|
785
|
+
description: () => s("Converts a string to uppercase.", { desc: "Formula function description for UPPER" }),
|
|
786
|
+
example: () => "UPPER('burrito')"
|
|
787
|
+
},
|
|
788
|
+
LTRIM: {
|
|
789
|
+
type: "prefix",
|
|
790
|
+
arity: 1,
|
|
791
|
+
label: () => s("Trim left", { desc: "Formula function label for LTRIM" }),
|
|
792
|
+
description: () => s("Removes leading spaces from a string.", { desc: "Formula function description for LTRIM" }),
|
|
793
|
+
example: () => "LTRIM(' Burrito')"
|
|
794
|
+
},
|
|
795
|
+
RTRIM: {
|
|
796
|
+
type: "prefix",
|
|
797
|
+
arity: 1,
|
|
798
|
+
label: () => s("Trim right", { desc: "Formula function label for RTRIM" }),
|
|
799
|
+
description: () => s("Removes trailing spaces from a string.", { desc: "Formula function description for RTRIM" }),
|
|
800
|
+
example: () => "RTRIM('Burrito ')"
|
|
801
|
+
},
|
|
802
|
+
TRIM: {
|
|
803
|
+
type: "prefix",
|
|
804
|
+
arity: 1,
|
|
805
|
+
label: () => s("Trim", { desc: "Formula function label for TRIM" }),
|
|
806
|
+
description: () => s("Removes leading and trailing spaces from a string.", { desc: "Formula function description for TRIM" }),
|
|
807
|
+
example: () => "TRIM('Burrito ')"
|
|
808
|
+
},
|
|
809
|
+
REPLACE: {
|
|
810
|
+
type: "prefix",
|
|
811
|
+
arity: 3,
|
|
812
|
+
label: () => s("Replace text", { desc: "Formula function label for REPLACE" }),
|
|
813
|
+
description: () => s("Replaces occurrences of a substring with another substring.", { desc: "Formula function description for REPLACE" }),
|
|
814
|
+
example: () => "REPLACE('Sweet burrito','Sweet', 'Savoury')"
|
|
815
|
+
},
|
|
816
|
+
STRPOS: {
|
|
817
|
+
type: "prefix",
|
|
818
|
+
arity: 2,
|
|
819
|
+
label: () => s("Find substring", { desc: "Formula function label for STRPOS" }),
|
|
820
|
+
description: () => s("Returns the position of a substring in a string.", { desc: "Formula function description for STRPOS" }),
|
|
821
|
+
example: () => "STRPOS('Sweet burrito','burrito')"
|
|
822
|
+
},
|
|
823
|
+
SUBSTR: {
|
|
824
|
+
type: "prefix",
|
|
825
|
+
arity: 3,
|
|
826
|
+
label: () => s("Take substring", { desc: "Formula function label for SUBSTR" }),
|
|
827
|
+
description: () => s("Extracts part of a string. The first argument is the text, the second the starting position (the first character is 1; a negative position counts from the end), and the third the length.", { desc: "Formula function description for SUBSTR" }),
|
|
828
|
+
example: () => "SUBSTR('Sweet burrito',7,3)"
|
|
829
|
+
},
|
|
830
|
+
SPLIT_PART: {
|
|
831
|
+
type: "prefix",
|
|
832
|
+
arity: 3,
|
|
833
|
+
label: () => s("Split part", { desc: "Formula function label for SPLIT_PART" }),
|
|
834
|
+
description: () => s("Splits a string into parts using a delimiter. The first argument is the text to split, the second the delimiter, and the third the position of the part to return (starting from 1).", { desc: "Formula function description for SPLIT_PART" }),
|
|
835
|
+
example: () => "SPLIT_PART('Sweet burrito', ' ', 2)"
|
|
836
|
+
},
|
|
837
|
+
NOW: {
|
|
838
|
+
type: "prefix",
|
|
839
|
+
arity: 0,
|
|
840
|
+
label: () => s("Current date and time", { desc: "Formula function label for NOW" }),
|
|
841
|
+
description: () => s("Returns the current date and time.", { desc: "Formula function description for NOW" }),
|
|
842
|
+
example: () => "NOW()"
|
|
843
|
+
},
|
|
844
|
+
YEAR: {
|
|
845
|
+
type: "prefix",
|
|
846
|
+
arity: 1,
|
|
847
|
+
label: () => s("Year", { desc: "Time unit" }),
|
|
848
|
+
description: () => s("Extracts the year from a date value.", { desc: "Formula function description for YEAR" }),
|
|
849
|
+
example: () => `YEAR('${e}-02-17')`
|
|
850
|
+
},
|
|
851
|
+
YEAR_UTC: {
|
|
852
|
+
type: "prefix",
|
|
853
|
+
arity: 1,
|
|
854
|
+
label: () => s("Year (UTC)", { desc: "Formula function label for YEAR_UTC" }),
|
|
855
|
+
description: () => s("Extracts the year from a date value in UTC.", { desc: "Formula function description for YEAR_UTC" }),
|
|
856
|
+
example: () => `YEAR_UTC('${e}-02-17')`
|
|
857
|
+
},
|
|
858
|
+
QUARTER: {
|
|
859
|
+
type: "prefix",
|
|
860
|
+
arity: 1,
|
|
861
|
+
label: () => s("Quarter", { desc: "Time unit" }),
|
|
862
|
+
description: () => s("Extracts the quarter from a date value.", { desc: "Formula function description for QUARTER" }),
|
|
863
|
+
example: () => `QUARTER('${e}-02-17')`
|
|
864
|
+
},
|
|
865
|
+
QUARTER_UTC: {
|
|
866
|
+
type: "prefix",
|
|
867
|
+
arity: 1,
|
|
868
|
+
label: () => s("Quarter (UTC)", { desc: "Formula function label for QUARTER_UTC" }),
|
|
869
|
+
description: () => s("Extracts the quarter from a date value in UTC.", { desc: "Formula function description for QUARTER_UTC" }),
|
|
870
|
+
example: () => `QUARTER_UTC('${e}-02-17')`
|
|
871
|
+
},
|
|
872
|
+
MONTH: {
|
|
873
|
+
type: "prefix",
|
|
874
|
+
arity: 1,
|
|
875
|
+
label: () => s("Month", { desc: "Time unit" }),
|
|
876
|
+
description: () => s("Extracts the month from a date or datetime value.", { desc: "Formula function description for MONTH" }),
|
|
877
|
+
example: () => `MONTH('${e}-02-17 15:36:59')`
|
|
878
|
+
},
|
|
879
|
+
MONTH_UTC: {
|
|
880
|
+
type: "prefix",
|
|
881
|
+
arity: 1,
|
|
882
|
+
label: () => s("Month (UTC)", { desc: "Formula function label for MONTH_UTC" }),
|
|
883
|
+
description: () => s("Extracts the month from a date or datetime value in UTC.", { desc: "Formula function description for MONTH_UTC" }),
|
|
884
|
+
example: () => `MONTH_UTC('${e}-02-17 15:36:59')`
|
|
885
|
+
},
|
|
886
|
+
WEEK: {
|
|
887
|
+
type: "prefix",
|
|
888
|
+
arity: 1,
|
|
889
|
+
label: () => s("Week", { desc: "Time unit" }),
|
|
890
|
+
description: () => s("Extracts the ISO 8601 week number (1-53) from a date or datetime value.", { desc: "Formula function description for WEEK" }),
|
|
891
|
+
example: () => `WEEK('${e}-02-17 15:36:59')`
|
|
892
|
+
},
|
|
893
|
+
WEEK_UTC: {
|
|
894
|
+
type: "prefix",
|
|
895
|
+
arity: 1,
|
|
896
|
+
label: () => s("Week (UTC)", { desc: "Formula function label for WEEK_UTC" }),
|
|
897
|
+
description: () => s("Extracts the ISO 8601 week number (1-53) from a date or datetime value in UTC.", { desc: "Formula function description for WEEK_UTC" }),
|
|
898
|
+
example: () => `WEEK_UTC('${e}-02-17 15:36:59')`
|
|
899
|
+
},
|
|
900
|
+
DAY: {
|
|
901
|
+
type: "prefix",
|
|
902
|
+
arity: 1,
|
|
903
|
+
label: () => s("Day of month", { desc: "Formula function label for DAY" }),
|
|
904
|
+
description: () => s("Extracts the day of month from a date or datetime value.", { desc: "Formula function description for DAY" }),
|
|
905
|
+
example: () => `DAY('${e}-02-17 15:36:59')`
|
|
906
|
+
},
|
|
907
|
+
DAY_UTC: {
|
|
908
|
+
type: "prefix",
|
|
909
|
+
arity: 1,
|
|
910
|
+
label: () => s("Day of month (UTC)", { desc: "Formula function label for DAY_UTC" }),
|
|
911
|
+
description: () => s("Extracts the day of month from a date or datetime value in UTC.", { desc: "Formula function description for DAY_UTC" }),
|
|
912
|
+
example: () => `DAY_UTC('${e}-02-17 15:36:59')`
|
|
913
|
+
},
|
|
914
|
+
DAY_OF_WEEK: {
|
|
915
|
+
type: "prefix",
|
|
916
|
+
arity: 1,
|
|
917
|
+
label: () => s("Day of week", { desc: "Formula function label for DAY_OF_WEEK" }),
|
|
918
|
+
description: () => s("Extracts the day of week (1-7, where 1 is Monday) from a date or datetime value.", { desc: "Formula function description for DAY_OF_WEEK" }),
|
|
919
|
+
example: () => `DAY_OF_WEEK('${e}-02-17 15:36:59')`
|
|
920
|
+
},
|
|
921
|
+
DAY_OF_WEEK_UTC: {
|
|
922
|
+
type: "prefix",
|
|
923
|
+
arity: 1,
|
|
924
|
+
label: () => s("Day of week (UTC)", { desc: "Formula function label for DAY_OF_WEEK_UTC" }),
|
|
925
|
+
description: () => s("Extracts the day of week (1-7, where 1 is Monday) from a date or datetime value in UTC.", { desc: "Formula function description for DAY_OF_WEEK_UTC" }),
|
|
926
|
+
example: () => `DAY_OF_WEEK_UTC('${e}-02-17 15:36:59')`
|
|
927
|
+
},
|
|
928
|
+
DAY_OF_YEAR: {
|
|
929
|
+
type: "prefix",
|
|
930
|
+
arity: 1,
|
|
931
|
+
label: () => s("Day of year", { desc: "Formula function label for DAY_OF_YEAR" }),
|
|
932
|
+
description: () => s("Extracts the day of year from a date or datetime value.", { desc: "Formula function description for DAY_OF_YEAR" }),
|
|
933
|
+
example: () => `DAY_OF_YEAR('${e}-02-17 15:36:59')`
|
|
934
|
+
},
|
|
935
|
+
DAY_OF_YEAR_UTC: {
|
|
936
|
+
type: "prefix",
|
|
937
|
+
arity: 1,
|
|
938
|
+
label: () => s("Day of year (UTC)", { desc: "Formula function label for DAY_OF_YEAR_UTC" }),
|
|
939
|
+
description: () => s("Extracts the day of year from a date or datetime value in UTC.", { desc: "Formula function description for DAY_OF_YEAR_UTC" }),
|
|
940
|
+
example: () => `DAY_OF_YEAR_UTC('${e}-02-17 15:36:59')`
|
|
941
|
+
},
|
|
942
|
+
YEAR_OF_WEEK: {
|
|
943
|
+
type: "prefix",
|
|
944
|
+
arity: 1,
|
|
945
|
+
label: () => s("Year of ISO week", { desc: "Formula function label for YEAR_OF_WEEK" }),
|
|
946
|
+
description: () => s("Extracts the ISO week-numbering year from a date or datetime value.", { desc: "Formula function description for YEAR_OF_WEEK" }),
|
|
947
|
+
example: () => `YEAR_OF_WEEK('${e}-02-17 15:36:59')`
|
|
948
|
+
},
|
|
949
|
+
YEAR_OF_WEEK_UTC: {
|
|
950
|
+
type: "prefix",
|
|
951
|
+
arity: 1,
|
|
952
|
+
label: () => s("Year of ISO week (UTC)", { desc: "Formula function label for YEAR_OF_WEEK_UTC" }),
|
|
953
|
+
description: () => s("Extracts the ISO week-numbering year from a date or datetime value in UTC.", { desc: "Formula function description for YEAR_OF_WEEK_UTC" }),
|
|
954
|
+
example: () => `YEAR_OF_WEEK_UTC('${e}-02-17 15:36:59')`
|
|
955
|
+
},
|
|
956
|
+
HOUR: {
|
|
957
|
+
type: "prefix",
|
|
958
|
+
arity: 1,
|
|
959
|
+
label: () => s("Hour", { desc: "Time unit" }),
|
|
960
|
+
description: () => s("Extracts the hour from a datetime value.", { desc: "Formula function description for HOUR" }),
|
|
961
|
+
example: () => `HOUR('${e}-02-17 15:36:59')`
|
|
962
|
+
},
|
|
963
|
+
HOUR_UTC: {
|
|
964
|
+
type: "prefix",
|
|
965
|
+
arity: 1,
|
|
966
|
+
label: () => s("Hour (UTC)", { desc: "Formula function label for HOUR_UTC" }),
|
|
967
|
+
description: () => s("Extracts the hour from a datetime value in UTC.", { desc: "Formula function description for HOUR_UTC" }),
|
|
968
|
+
example: () => `HOUR_UTC('${e}-02-17 15:36:59')`
|
|
969
|
+
},
|
|
970
|
+
MINUTE: {
|
|
971
|
+
type: "prefix",
|
|
972
|
+
arity: 1,
|
|
973
|
+
label: () => s("Minute", { desc: "Time unit" }),
|
|
974
|
+
description: () => s("Extracts the minute from a datetime value.", { desc: "Formula function description for MINUTE" }),
|
|
975
|
+
example: () => `MINUTE('${e}-02-17 15:36:59')`
|
|
976
|
+
},
|
|
977
|
+
MINUTE_UTC: {
|
|
978
|
+
type: "prefix",
|
|
979
|
+
arity: 1,
|
|
980
|
+
label: () => s("Minute (UTC)", { desc: "Formula function label for MINUTE_UTC" }),
|
|
981
|
+
description: () => s("Extracts the minute from a datetime value in UTC.", { desc: "Formula function description for MINUTE_UTC" }),
|
|
982
|
+
example: () => `MINUTE_UTC('${e}-02-17 15:36:59')`
|
|
983
|
+
},
|
|
984
|
+
SECOND: {
|
|
985
|
+
type: "prefix",
|
|
986
|
+
arity: 1,
|
|
987
|
+
label: () => s("Second", { desc: "Time unit" }),
|
|
988
|
+
description: () => s("Extracts the second from a datetime value.", { desc: "Formula function description for SECOND" }),
|
|
989
|
+
example: () => `SECOND('${e}-02-17 15:36:59')`
|
|
990
|
+
},
|
|
991
|
+
SECOND_UTC: {
|
|
992
|
+
type: "prefix",
|
|
993
|
+
arity: 1,
|
|
994
|
+
label: () => s("Second (UTC)", { desc: "Formula function label for SECOND_UTC" }),
|
|
995
|
+
description: () => s("Extracts the second from a datetime value in UTC.", { desc: "Formula function description for SECOND_UTC" }),
|
|
996
|
+
example: () => `SECOND_UTC('${e}-02-17 15:36:59')`
|
|
997
|
+
},
|
|
998
|
+
DATE_ADD: {
|
|
999
|
+
type: "prefix",
|
|
1000
|
+
arity: 3,
|
|
1001
|
+
label: () => s("Add/subtract duration", { desc: "Formula function label for DATE_ADD" }),
|
|
1002
|
+
description: () => s("Adds a duration to (or subtracts it from) a date or datetime value. The first argument is the unit ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' or 'year'), the second the number of units to add (negative to subtract), and the third the date or datetime to start from.", { desc: "Formula function description for DATE_ADD" }),
|
|
1003
|
+
example: () => "DATE_ADD('hour', 2, ⟨datetime⟩ Arrival time)",
|
|
1004
|
+
exampleHasIcons: !0
|
|
1005
|
+
},
|
|
1006
|
+
DATE_DIFF: {
|
|
1007
|
+
type: "prefix",
|
|
1008
|
+
arity: 3,
|
|
1009
|
+
label: () => s("Difference between dates", { desc: "Formula function label for DATE_DIFF" }),
|
|
1010
|
+
description: () => s("Returns the difference between two dates or datetimes in the selected unit. The first argument is the unit ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' or 'year'); the difference is calculated from the second date towards the third date.", { desc: "Formula function description for DATE_DIFF" }),
|
|
1011
|
+
example: () => `DATE_DIFF('day', ⟨datetime⟩ Arrival date, '${e}-02-17 15:36:59')`,
|
|
1012
|
+
exampleHasIcons: !0
|
|
1013
|
+
},
|
|
1014
|
+
COORDS: {
|
|
1015
|
+
type: "prefix",
|
|
1016
|
+
arity: 3,
|
|
1017
|
+
label: () => s("Coordinates", {
|
|
1018
|
+
id: "formula-function-label-coords",
|
|
1019
|
+
desc: "Formula function label for COORDS"
|
|
1020
|
+
}),
|
|
1021
|
+
description: () => s("Builds a geography value from latitude, longitude, and spatial reference.", { desc: "Formula function description for COORDS" }),
|
|
1022
|
+
example: () => "COORDS(⟨numeric⟩ Latitude, ⟨numeric⟩ Longitude, 'wgs84')",
|
|
1023
|
+
exampleHasIcons: !0
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1027
|
+
//#endregion
|
|
1028
|
+
//#region src/utils/formula/store/formula-display-store.ts
|
|
1029
|
+
var F = class extends EventTarget {
|
|
1030
|
+
constructor(...e) {
|
|
1031
|
+
super(...e), this.functionDataMap = P(), this.aggregationFunctionDataMap = M(), this.multiStageAggregation = !0, this.nestedAggregation = !0, this.readonly = !1, this.contentLanguage = "en", this.size = "m", this.datasets = [], this.loading = !1, this.lastFocusedAggregationWidgetId = null, this.lastFocusedEmptyArgumentId = null, this.pendingFocusAggregationWidgetId = null, this._aggregationWidgets = [];
|
|
1032
|
+
}
|
|
1033
|
+
get aggregationWidgets() {
|
|
1034
|
+
return this._aggregationWidgets;
|
|
1035
|
+
}
|
|
1036
|
+
addWidgets(e) {
|
|
1037
|
+
!e || e.length === 0 || (this._aggregationWidgets = [...this._aggregationWidgets, ...e], this._notifyWidgetsChanged());
|
|
1038
|
+
}
|
|
1039
|
+
removeWidgets(e) {
|
|
1040
|
+
this._aggregationWidgets = this._aggregationWidgets.filter(({ widgetId: t }) => !e.includes(t)), this._notifyWidgetsChanged();
|
|
1041
|
+
}
|
|
1042
|
+
updateWidget(e) {
|
|
1043
|
+
this._aggregationWidgets = this._aggregationWidgets.map((t) => t.widgetId === e.widgetId ? e : t), this._notifyWidgetsChanged();
|
|
1044
|
+
}
|
|
1045
|
+
getWidget(e) {
|
|
1046
|
+
return this._aggregationWidgets.find((t) => t.widgetId === e);
|
|
1047
|
+
}
|
|
1048
|
+
clearWidgets() {
|
|
1049
|
+
this._aggregationWidgets.length !== 0 && (this._aggregationWidgets = [], this._notifyWidgetsChanged());
|
|
1050
|
+
}
|
|
1051
|
+
_notifyWidgetsChanged() {
|
|
1052
|
+
this.dispatchEvent(new CustomEvent("widgets-changed"));
|
|
1053
|
+
}
|
|
1054
|
+
setReadonly(e) {
|
|
1055
|
+
this.readonly !== e && (this.readonly = e, this.dispatchEvent(new CustomEvent("widgets-changed")));
|
|
1056
|
+
}
|
|
1057
|
+
setLoading(e) {
|
|
1058
|
+
this.loading !== e && (this.loading = e, this.dispatchEvent(new CustomEvent("refresh-decorations")));
|
|
1059
|
+
}
|
|
1060
|
+
_markAggregationForFocus(e) {
|
|
1061
|
+
let t = e[0];
|
|
1062
|
+
t && (this.aggregationFunctionDataMap[t.aggregationFunction]?.arity ?? 0) > 0 && (this.pendingFocusAggregationWidgetId = t.widgetId);
|
|
1063
|
+
}
|
|
1064
|
+
transformToAggregationWidgetSyntax(e) {
|
|
1065
|
+
let t = x(e).match(f);
|
|
1066
|
+
if (!t) return e;
|
|
1067
|
+
let n = !!t[1], r = t.index ?? 0, i = S(e, r + (n ? t[1].length : t[0].length) - 1 + 1), a = S(e, r + t[0].length);
|
|
1068
|
+
if (i === -1) return e;
|
|
1069
|
+
let o = e.slice(r + t[0].length, a), s = this.transformToAggregationWidgetSyntax(o), l = {
|
|
1070
|
+
widgetId: _(),
|
|
1071
|
+
grouping: t[2] ?? c.GROUP,
|
|
1072
|
+
aggregationFunction: t[3],
|
|
1073
|
+
content: s
|
|
1074
|
+
};
|
|
1075
|
+
if (l.grouping === c.GROUPINEX) {
|
|
1076
|
+
let { includedColumns: t, excludedColumns: n } = C(e.slice(a + 1, i));
|
|
1077
|
+
l.includedColumns = t, l.excludedColumns = n;
|
|
1078
|
+
}
|
|
1079
|
+
let u = y(l.widgetId), d = `${e.slice(0, r)}${u}${e.slice(i + 1)}`;
|
|
1080
|
+
return this.addWidgets([l]), this.transformToAggregationWidgetSyntax(d);
|
|
1081
|
+
}
|
|
1082
|
+
transformToAggregationFunctionSyntax(e) {
|
|
1083
|
+
let t = e.match(m);
|
|
1084
|
+
if (!t) return e;
|
|
1085
|
+
let n = t.index ?? 0, r = n + t[0].length - 1, i = t[1], a = this.getWidget(i), o = a ? this.transformToAggregationFunctionSyntax(b(a, this.aggregationFunctionDataMap)) : "", s = `${e.slice(0, n)}${o}${e.slice(r + 1)}`;
|
|
1086
|
+
return this.transformToAggregationFunctionSyntax(s);
|
|
1087
|
+
}
|
|
1088
|
+
};
|
|
1089
|
+
//#endregion
|
|
1090
|
+
export { M as a, k as c, v as d, g as f, c as g, u as h, j as i, _ as l, d as m, N as n, A as o, p, P as r, O as s, F as t, y as u };
|