@luzmo/analytics-components-kit 1.0.8-beta.1 → 1.0.8-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -1
- package/components/ai-chat/ai-chat.d.ts +6 -2
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.js +2 -2
- package/components/ai-chat-CQtzaiZ_.cjs +319 -0
- package/components/ai-chat-CTr-dplW.js +4047 -0
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +6 -2
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/ai-interaction-textarea-CMz5ixwt.cjs +95 -0
- package/components/ai-interaction-textarea-uc14Goa4.js +802 -0
- package/components/area-chart-options.config-CiPCKvh7.cjs +20 -0
- package/components/area-chart-options.config-HaYA8gPC.js +196 -0
- package/components/area-chart-options.de-_tPBzxvf.cjs +20 -0
- package/components/area-chart-options.de-pUCTG-s0.js +87 -0
- package/components/area-chart-options.en-AuSHs27k.cjs +20 -0
- package/components/area-chart-options.en-YNsUeMwN.js +87 -0
- package/components/area-chart-options.es-2styw_Fz.js +87 -0
- package/components/area-chart-options.es-BzRHGbo6.cjs +20 -0
- package/components/area-chart-options.fr--WzQVf2z.js +87 -0
- package/components/area-chart-options.fr-DYxUQE3x.cjs +20 -0
- package/components/area-chart-options.nl-BTEIqBtE.js +87 -0
- package/components/area-chart-options.nl-M0xQQ_la.cjs +20 -0
- package/components/area-chart-positioning.config-BstzDLRL.cjs +20 -0
- package/components/area-chart-positioning.config-DeMlkQZO.js +55 -0
- package/components/axis-options.config-BCP0Z8VI.js +270 -0
- package/components/axis-options.config-s-Js3ug-.cjs +20 -0
- package/components/axis-options.i18n-BOGRmWjp.js +486 -0
- package/components/axis-options.i18n-Cw-DmewV.cjs +20 -0
- package/components/bar-chart-options.config--F0KfZ5y.js +259 -0
- package/components/bar-chart-options.config-A5bcUHFc.cjs +20 -0
- package/components/bar-chart-options.de-3qSh2TNr.js +110 -0
- package/components/bar-chart-options.de-545XMRGl.cjs +20 -0
- package/components/bar-chart-options.en-DAee9yHp.cjs +20 -0
- package/components/bar-chart-options.en-DrhQe9rV.js +110 -0
- package/components/bar-chart-options.es-BZ1yNzUQ.js +110 -0
- package/components/bar-chart-options.es-CfoAEZ-0.cjs +20 -0
- package/components/bar-chart-options.fr-5i13R8bs.js +110 -0
- package/components/bar-chart-options.fr-C2Ic0Dq0.cjs +20 -0
- package/components/bar-chart-options.nl-Bb6XiSDH.cjs +20 -0
- package/components/bar-chart-options.nl-DLj-qucU.js +110 -0
- package/components/bar-chart-positioning.config-Cw4xXpaU.js +59 -0
- package/components/bar-chart-positioning.config-DDKGGZhU.cjs +20 -0
- package/components/base-store-BhGpnbqi.js +152 -0
- package/components/base-store-D5cDq6d4.cjs +20 -0
- package/components/box-plot-options.config-CT4_71tE.js +329 -0
- package/components/box-plot-options.config-ZZ_mvqGk.cjs +20 -0
- package/components/box-plot-positioning.config-BQf8CX15.js +48 -0
- package/components/box-plot-positioning.config-Cni8SYCB.cjs +20 -0
- package/components/bubble-chart-options.config-B_hTYgid.js +140 -0
- package/components/bubble-chart-options.config-BbB5dj43.cjs +20 -0
- package/components/bubble-chart-positioning.config-1Q2GxFJ4.cjs +20 -0
- package/components/bubble-chart-positioning.config-BYeXJRKW.js +55 -0
- package/components/bullet-chart-options.config-DdTBWTAF.js +76 -0
- package/components/bullet-chart-options.config-Drv0yQ4x.cjs +20 -0
- package/components/bullet-chart-positioning.config-D-fuuO8D.js +56 -0
- package/components/bullet-chart-positioning.config-NSHvsWAf.cjs +20 -0
- package/components/choropleth-map-options.config-CEGFnwKG.cjs +20 -0
- package/components/choropleth-map-options.config-CsJjKLVP.js +350 -0
- package/components/choropleth-map-positioning.config-Bk2lcbUF.js +55 -0
- package/components/choropleth-map-positioning.config-DZCuGwit.cjs +20 -0
- package/components/circle-pack-chart-options.config-Dobt6Q5A.cjs +20 -0
- package/components/circle-pack-chart-options.config-FcILD-Hi.js +55 -0
- package/components/circle-pack-chart-positioning.config-CuESD4oH.cjs +20 -0
- package/components/circle-pack-chart-positioning.config-pvlFSoeh.js +48 -0
- package/components/circular-gauge-options.config-CSIUw2VN.cjs +20 -0
- package/components/circular-gauge-options.config-DtNYelhq.js +193 -0
- package/components/circular-gauge-positioning.config-BI5_9VzK.js +48 -0
- package/components/circular-gauge-positioning.config-DIYxTFVO.cjs +20 -0
- package/components/column-chart-options.config-BzMjdyfp.js +258 -0
- package/components/column-chart-options.config-iKKyzY3j.cjs +20 -0
- package/components/column-chart-options.de-BX13JkAO.cjs +20 -0
- package/components/column-chart-options.de-CIYtauiG.js +110 -0
- package/components/column-chart-options.en-BkAsfXYV.js +110 -0
- package/components/column-chart-options.en-DAee9yHp.cjs +20 -0
- package/components/column-chart-options.es-CClMQLE-.cjs +20 -0
- package/components/column-chart-options.es-jWM7TxS7.js +110 -0
- package/components/column-chart-options.fr-BB6301nS.js +110 -0
- package/components/column-chart-options.fr-C2Ic0Dq0.cjs +20 -0
- package/components/column-chart-options.nl-Bb6XiSDH.cjs +20 -0
- package/components/column-chart-options.nl-HUMDgKdl.js +110 -0
- package/components/column-chart-positioning.config-CoekgrWc.js +55 -0
- package/components/column-chart-positioning.config-F5liDplz.cjs +20 -0
- package/components/combination-chart-options.config-BEMnrQdd.js +134 -0
- package/components/combination-chart-options.config-BqQlqnhf.cjs +20 -0
- package/components/combination-chart-options.de-BiGjuWUS.cjs +20 -0
- package/components/combination-chart-options.de-DVJ9sfLC.js +66 -0
- package/components/combination-chart-options.en-B5piXq82.js +66 -0
- package/components/combination-chart-options.en-e4XMalU0.cjs +20 -0
- package/components/combination-chart-options.es-BmuyyP32.js +66 -0
- package/components/combination-chart-options.es-OXb8nozF.cjs +20 -0
- package/components/combination-chart-options.fr-CIrnpWEu.js +66 -0
- package/components/combination-chart-options.fr-CYzANyZs.cjs +20 -0
- package/components/combination-chart-options.nl-BDJ7t0BY.js +66 -0
- package/components/combination-chart-options.nl-DyAUjvqC.cjs +20 -0
- package/components/combination-chart-positioning.config-BIqhiqPc.cjs +20 -0
- package/components/combination-chart-positioning.config-gfmXofUL.js +48 -0
- package/components/conditional-number-options.config-ZVtstIjn.cjs +20 -0
- package/components/conditional-number-options.config-qdX9T4zu.js +210 -0
- package/components/conditional-number-positioning.config-7xN8yNaC.cjs +20 -0
- package/components/conditional-number-positioning.config-DoA_qMvA.js +48 -0
- package/components/data-broker-B0uUO5er.js +1684 -0
- package/components/data-broker-CyMYR6w1.cjs +20 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/data-field-panel-B9aYsBfe.cjs +87 -0
- package/components/data-field-panel-COHppDw6.js +385 -0
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/data-fields-select-BMDWXAMz.cjs +41 -0
- package/components/data-fields-select-CvdABHum.js +280 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +6 -2
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/dataset-selector-list-5y3eFlPa.js +323 -0
- package/components/dataset-selector-list-BWgvikkr.cjs +75 -0
- package/components/dataset-selector-row/dataset-selector-row.d.ts +6 -2
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/dataset-selector-row-BjyeiTVy.cjs +90 -0
- package/components/dataset-selector-row-pEM8hLyJ.js +316 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-B_sY5MXH.cjs +140 -0
- package/components/display-settings-DpPSk_da.js +313 -0
- package/components/donut-chart-options.config-D5Wkh0nh.js +212 -0
- package/components/donut-chart-options.config-DUIE-bdr.cjs +20 -0
- package/components/donut-chart-positioning.config-B-CWvQDP.js +48 -0
- package/components/donut-chart-positioning.config-DsHR-HET.cjs +20 -0
- package/components/evolution-number-options.config-CoGBgLLw.cjs +20 -0
- package/components/evolution-number-options.config-DT7iGQA8.js +230 -0
- package/components/evolution-number-positioning.config-DWJlecZ8.cjs +20 -0
- package/components/evolution-number-positioning.config-DogBtixy.js +48 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-expression-picker-Dtd04YHa.cjs +38 -0
- package/components/filter-expression-picker-vZcmpdhp.js +425 -0
- package/components/filter-item/filter-item.d.ts +4 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-DhWm1nZ2.js +316 -0
- package/components/filter-item-QGXrunyl.cjs +71 -0
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-DL-XI9zN.js +151 -0
- package/components/filter-value-picker-DUPgUphE.cjs +60 -0
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +2 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/filter-value-picker-datetime-BYosmOVo.cjs +42 -0
- package/components/filter-value-picker-datetime-DrtBsmhk.js +139 -0
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +16 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-hierarchy-Co7tEAF0.cjs +48 -0
- package/components/filter-value-picker-hierarchy-D9HPNjXi.js +299 -0
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/filter-value-picker-numeric-BCaSriJT.cjs +48 -0
- package/components/filter-value-picker-numeric-CLRBOcom.js +219 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-DPh6G5_6.cjs +153 -0
- package/components/filters-hIID3Ol5.js +745 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/formula-D6fZk242.js +138 -0
- package/components/formula-DJa0m0vt.cjs +45 -0
- package/components/formula-codemirror-CS38irmY.js +12018 -0
- package/components/formula-codemirror-ClMjdWte.cjs +215 -0
- package/components/formula-display-store-BVCcrqMB.js +1093 -0
- package/components/formula-display-store-riWDbPmO.cjs +20 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/formula-editor-C63ifj9i.js +690 -0
- package/components/formula-editor-KuJjGn6h.cjs +224 -0
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/formula-field-BIseRR26.cjs +20 -0
- package/components/formula-field-CZu-WBKI.js +40 -0
- package/components/formula-input-base-B1D56Klw.cjs +49 -0
- package/components/formula-input-base-DhhV4mbQ.js +236 -0
- package/components/funnel-chart-options.config-CMOM4QN2.cjs +20 -0
- package/components/funnel-chart-options.config-Ca5-W17F.js +209 -0
- package/components/funnel-chart-positioning.config-D7871iXX.js +48 -0
- package/components/funnel-chart-positioning.config-DswPJ8VG.cjs +20 -0
- package/components/groupings-BwzDflId.js +52 -0
- package/components/groupings-Dt2yC9fH.cjs +20 -0
- package/components/guidelines-options.config-D-ZuReR_.cjs +20 -0
- package/components/guidelines-options.config-DyedEeX2.js +48 -0
- package/components/heat-map-options.config-DkuYkbWu.js +226 -0
- package/components/heat-map-options.config-DtDh9Gpy.cjs +20 -0
- package/components/heat-map-positioning.config-C9xyxr1p.cjs +20 -0
- package/components/heat-map-positioning.config-sZTsAUnf.js +48 -0
- package/components/heat-table-options.config-DT3d8VS7.js +267 -0
- package/components/heat-table-options.config-Dl6GDA-m.cjs +20 -0
- package/components/heat-table-positioning.config-B5XgRMIn.cjs +20 -0
- package/components/heat-table-positioning.config-DSsD8apM.js +55 -0
- package/components/hexbin-map-options.config-BGmgxnMh.cjs +20 -0
- package/components/hexbin-map-options.config-Bqp3u2bH.js +278 -0
- package/components/hexbin-map-positioning.config-Dc9wAdAv.js +48 -0
- package/components/hexbin-map-positioning.config-Dq2TuFz1.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +38 -38
- package/components/info-tooltip-options.config-B9T0cwSM.cjs +20 -0
- package/components/info-tooltip-options.config-BmSMkirf.js +59 -0
- package/components/info-tooltip-options.i18n-B3u0H74j.cjs +20 -0
- package/components/info-tooltip-options.i18n-CDx47Py-.js +74 -0
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +1 -1
- package/components/interactive-viz-item-CcIWn6Tz.cjs +247 -0
- package/components/interactive-viz-item-wZ0r8XHx.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/item-grid-B8tT6ztQ.cjs +113 -0
- package/components/item-grid-D7b0blK6.js +4559 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/item-option-B-Rgy3_8.cjs +269 -0
- package/components/item-option-B0EzSGTP.js +955 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/item-option-panel-DOOOOgfV.js +183 -0
- package/components/item-option-panel-mHwmWhJY.cjs +67 -0
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +35 -35
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop-BL7DOudd.js +331 -0
- package/components/item-slot-drop-Ds06u_vn.cjs +91 -0
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/item-slot-drop-panel-D_EFyM9J.cjs +57 -0
- package/components/item-slot-drop-panel-DkHylw7i.js +355 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker-BbpPIoIq.cjs +174 -0
- package/components/item-slot-picker-CywUgvNX.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-Bi8xZaYc.js +448 -0
- package/components/item-slot-picker-panel-DQLwQXdI.cjs +81 -0
- package/components/line-chart-options.config-BMT_e6dk.js +232 -0
- package/components/line-chart-options.config-CL8SCDgU.cjs +20 -0
- package/components/line-chart-options.de-CKbHARjX.cjs +20 -0
- package/components/line-chart-options.de-CtxTZ-Nx.js +81 -0
- package/components/line-chart-options.en-BgXtU92P.js +81 -0
- package/components/line-chart-options.en-DmtT3Hbw.cjs +20 -0
- package/components/line-chart-options.es--u7QlrhG.js +81 -0
- package/components/line-chart-options.es-BwyQviz-.cjs +20 -0
- package/components/line-chart-options.fr-BUwOFGR7.cjs +20 -0
- package/components/line-chart-options.fr-BaPc1M70.js +81 -0
- package/components/line-chart-options.nl-BkPXShNF.cjs +20 -0
- package/components/line-chart-options.nl-C86fSn7a.js +81 -0
- package/components/line-chart-positioning.config-CCsZMpp-.cjs +20 -0
- package/components/line-chart-positioning.config-q_XJiQBO.js +55 -0
- package/components/load-data-fields-for-datasets-B3XcFFfg.js +42 -0
- package/components/load-data-fields-for-datasets-rL24A68g.cjs +20 -0
- package/components/marker-map-options.config-BE8GnY_T.js +122 -0
- package/components/marker-map-options.config-SkhbtEh0.cjs +20 -0
- package/components/marker-map-positioning.config-B4GDDPUn.cjs +20 -0
- package/components/marker-map-positioning.config-qEo6YbOG.js +48 -0
- package/components/ohlc-chart-options.config-BAB4pyo9.js +89 -0
- package/components/ohlc-chart-options.config-BrcfGxDw.cjs +20 -0
- package/components/ohlc-chart-options.de-DtanuVcU.cjs +20 -0
- package/components/ohlc-chart-options.de-LnJmQjiR.js +63 -0
- package/components/ohlc-chart-options.en-B7TU8CK4.js +63 -0
- package/components/ohlc-chart-options.en-CStPyUia.cjs +20 -0
- package/components/ohlc-chart-options.es-B7m8-_pA.js +63 -0
- package/components/ohlc-chart-options.es-CfTI32Rg.cjs +20 -0
- package/components/ohlc-chart-options.fr-C53gRLh5.cjs +20 -0
- package/components/ohlc-chart-options.fr-u_Bi9raw.js +63 -0
- package/components/ohlc-chart-options.nl-BrpwjNGt.js +63 -0
- package/components/ohlc-chart-options.nl-Dh9iPIWB.cjs +20 -0
- package/components/ohlc-chart-positioning.config-CU7qaa8y.js +78 -0
- package/components/ohlc-chart-positioning.config-TquTA1gZ.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-BXsg-9wF.js +43 -0
- package/components/parallel-coordinates-plot-options.config-DFRL952-.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-C8_F3uzs.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-DuQWnPKv.js +48 -0
- package/components/pivot-table-options.config-B9ZfmFZH.cjs +20 -0
- package/components/pivot-table-options.config-tf8f5F-n.js +247 -0
- package/components/pivot-table-positioning.config-B6ra1dbJ.js +55 -0
- package/components/pivot-table-positioning.config-DhtDGn-Z.cjs +20 -0
- package/components/pyramid-chart-options.config-BnCfeT-K.js +218 -0
- package/components/pyramid-chart-options.config-LSOc6ALz.cjs +20 -0
- package/components/pyramid-chart-positioning.config-5bWhJBP_.cjs +20 -0
- package/components/pyramid-chart-positioning.config-C_KASxlG.js +55 -0
- package/components/radar-chart-options.config-B5WP2MPc.cjs +20 -0
- package/components/radar-chart-options.config-DrNyOkHq.js +152 -0
- package/components/radar-chart-positioning.config-D2NVgsg1.cjs +20 -0
- package/components/radar-chart-positioning.config-l6ioKbxT.js +55 -0
- package/components/regular-table-options.config-CweBtAvm.js +153 -0
- package/components/regular-table-options.config-nBBnO4ru.cjs +20 -0
- package/components/route-map-options.config-DS9cCAQK.cjs +20 -0
- package/components/route-map-options.config-DXHqb8Ve.js +328 -0
- package/components/route-map-positioning.config-5Xju6VM-.cjs +20 -0
- package/components/route-map-positioning.config-HDuhd3TI.js +66 -0
- package/components/sankey-diagram-options.config-CpNK2oK6.js +128 -0
- package/components/sankey-diagram-options.config-CuKQOPPW.cjs +20 -0
- package/components/sankey-diagram-positioning.config-BKeksOQ2.js +66 -0
- package/components/sankey-diagram-positioning.config-BXseVUED.cjs +20 -0
- package/components/scatter-plot-options.config-BA_hVuhw.js +128 -0
- package/components/scatter-plot-options.config-C-L2dJ2o.cjs +20 -0
- package/components/scatter-plot-options.de-3CPVK7Hi.cjs +20 -0
- package/components/scatter-plot-options.de-CNLrv6j3.js +99 -0
- package/components/scatter-plot-options.en-DigMzpQy.js +99 -0
- package/components/scatter-plot-options.en-Dzvigy8-.cjs +20 -0
- package/components/scatter-plot-options.es-C-IH7GVH.cjs +20 -0
- package/components/scatter-plot-options.es-CQm_VVqJ.js +99 -0
- package/components/scatter-plot-options.fr-Cdp6kPQi.cjs +20 -0
- package/components/scatter-plot-options.fr-s0M39VT4.js +99 -0
- package/components/scatter-plot-options.nl-CqpPIO03.js +99 -0
- package/components/scatter-plot-options.nl-DeINlMqc.cjs +20 -0
- package/components/scatter-plot-positioning.config-Ci_UFZZ7.cjs +20 -0
- package/components/scatter-plot-positioning.config-MFGPELRh.js +77 -0
- package/components/set-nested-value-B-4IelRl.cjs +20 -0
- package/components/set-nested-value-V1TdquO3.js +33 -0
- package/components/slicer-filter-positioning.config-C2w10p-X.cjs +20 -0
- package/components/slicer-filter-positioning.config-CKyzt_nF.js +48 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu-7Lsnn5mp.cjs +71 -0
- package/components/slot-menu-JcmVjv2g.js +429 -0
- package/components/speedometer-chart-options.config-CEIZfeYG.cjs +20 -0
- package/components/speedometer-chart-options.config-dsUupCqm.js +251 -0
- package/components/speedometer-chart-positioning.config-BEWibjyH.js +48 -0
- package/components/speedometer-chart-positioning.config-Df5CIOwp.cjs +20 -0
- package/components/spike-map-options.config-BRwdTyrp.cjs +20 -0
- package/components/spike-map-options.config-Dh4Ky5ZP.js +415 -0
- package/components/spike-map-positioning.config-C6aRn7nn.cjs +20 -0
- package/components/spike-map-positioning.config-CdT1dVMG.js +55 -0
- package/components/strip-plot-options.config-DpRoR04b.cjs +20 -0
- package/components/strip-plot-options.config-Vw3GoLef.js +54 -0
- package/components/strip-plot-positioning.config-B8vN0A44.js +48 -0
- package/components/strip-plot-positioning.config-DXJci5zk.cjs +20 -0
- package/components/sunburst-chart-options.config-0GUoeJMb.js +182 -0
- package/components/sunburst-chart-options.config-CCNYG73m.cjs +20 -0
- package/components/sunburst-chart-positioning.config-D-qWT3sC.js +48 -0
- package/components/sunburst-chart-positioning.config-XfxGkqp6.cjs +20 -0
- package/components/symbol-map-options.config-Ce0Kv7N7.cjs +20 -0
- package/components/symbol-map-options.config-Dultd0tF.js +179 -0
- package/components/symbol-map-positioning.config-BB8-Feba.cjs +20 -0
- package/components/symbol-map-positioning.config-CAC8XCec.js +55 -0
- package/components/treemap-chart-options.config-CtpfX7hs.js +209 -0
- package/components/treemap-chart-options.config-pA93-9cX.cjs +20 -0
- package/components/treemap-chart-positioning.config-CJKe5rf1.js +55 -0
- package/components/treemap-chart-positioning.config-Daf9Kk3k.cjs +20 -0
- package/components/utils/store.cjs +1 -1
- package/components/utils/store.js +59 -58
- package/components/utils-BMmRy1Nn.js +240 -0
- package/components/utils-D9CBsoMV.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +2 -2
- package/components/venn-diagram-positioning.config-8pfbiReM.js +55 -0
- package/components/venn-diagram-positioning.config-DqxSgLGR.cjs +20 -0
- package/components/wordcloud-chart-options.config-ConV1s49.cjs +20 -0
- package/components/wordcloud-chart-options.config-Dxu7-YcG.js +95 -0
- package/components/wordcloud-chart-positioning.config-Cb7lzr9N.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-DUazjx5M.js +55 -0
- package/custom-elements.json +117 -17
- package/package.json +2 -2
- package/react/package.json +2 -2
- package/utils/data-broker/index.d.ts +20 -14
- package/utils/set-nested-value.d.ts +6 -0
- package/utils/store/base-store.d.ts +0 -4
- package/angular/README.md +0 -40
- package/angular/components/ai-chat-empty-state.ts +0 -98
- package/angular/components/ai-chat.ts +0 -412
- package/angular/components/ai-interaction-textarea.ts +0 -263
- package/angular/components/data-field-level.ts +0 -130
- package/angular/components/data-field-panel.ts +0 -256
- package/angular/components/data-field.ts +0 -130
- package/angular/components/data-fields-select.ts +0 -212
- package/angular/components/dataset-icon.ts +0 -83
- package/angular/components/dataset-selector-list.ts +0 -140
- package/angular/components/dataset-selector-row.ts +0 -157
- package/angular/components/display-settings-binning.ts +0 -92
- package/angular/components/display-settings-datetime.ts +0 -100
- package/angular/components/display-settings-grand-totals.ts +0 -92
- package/angular/components/display-settings-numeric.ts +0 -113
- package/angular/components/display-settings-period-over-period.ts +0 -107
- package/angular/components/display-settings.ts +0 -227
- package/angular/components/filter-expression-picker.ts +0 -168
- package/angular/components/filter-item.ts +0 -175
- package/angular/components/filter-parameter-picker.ts +0 -155
- package/angular/components/filter-value-picker-datetime.ts +0 -125
- package/angular/components/filter-value-picker-hierarchy.ts +0 -146
- package/angular/components/filter-value-picker-numeric.ts +0 -146
- package/angular/components/filter-value-picker.ts +0 -160
- package/angular/components/filters.ts +0 -209
- package/angular/components/formula-editor.ts +0 -229
- package/angular/components/formula-field.ts +0 -198
- package/angular/components/formula.ts +0 -170
- package/angular/components/interactive-viz-item.ts +0 -186
- package/angular/components/item-grid-item-actions-menu.ts +0 -113
- package/angular/components/item-grid.ts +0 -242
- package/angular/components/item-option-action-button-group.ts +0 -105
- package/angular/components/item-option-color-palette-picker.ts +0 -126
- package/angular/components/item-option-color-picker.ts +0 -134
- package/angular/components/item-option-color-range.ts +0 -168
- package/angular/components/item-option-guidelines.ts +0 -84
- package/angular/components/item-option-multi-language-field.ts +0 -133
- package/angular/components/item-option-number-field.ts +0 -161
- package/angular/components/item-option-panel.ts +0 -149
- package/angular/components/item-option-picker.ts +0 -120
- package/angular/components/item-option-position-picker.ts +0 -98
- package/angular/components/item-option-positions-number-field.ts +0 -140
- package/angular/components/item-option-radio-button-group.ts +0 -119
- package/angular/components/item-option-slider.ts +0 -126
- package/angular/components/item-option-switch.ts +0 -98
- package/angular/components/item-option-text-field.ts +0 -112
- package/angular/components/item-option.ts +0 -163
- package/angular/components/item-slot-drop-panel.ts +0 -236
- package/angular/components/item-slot-drop.ts +0 -231
- package/angular/components/item-slot-picker-panel.ts +0 -299
- package/angular/components/item-slot-picker.ts +0 -241
- package/angular/components/slot-menu-list.ts +0 -121
- package/angular/components/slot-menu.ts +0 -304
- package/angular/components/viz-item-menu.ts +0 -118
- package/angular/esm/components/ai-chat-empty-state.d.ts +0 -39
- package/angular/esm/components/ai-chat-empty-state.js +0 -99
- package/angular/esm/components/ai-chat.d.ts +0 -137
- package/angular/esm/components/ai-chat.js +0 -423
- package/angular/esm/components/ai-interaction-textarea.d.ts +0 -99
- package/angular/esm/components/ai-interaction-textarea.js +0 -281
- package/angular/esm/components/data-field-level.d.ts +0 -50
- package/angular/esm/components/data-field-level.js +0 -129
- package/angular/esm/components/data-field-panel.d.ts +0 -86
- package/angular/esm/components/data-field-panel.js +0 -268
- package/angular/esm/components/data-field.d.ts +0 -50
- package/angular/esm/components/data-field.js +0 -129
- package/angular/esm/components/data-fields-select.d.ts +0 -81
- package/angular/esm/components/data-fields-select.js +0 -227
- package/angular/esm/components/dataset-icon.d.ts +0 -34
- package/angular/esm/components/dataset-icon.js +0 -86
- package/angular/esm/components/dataset-selector-list.d.ts +0 -53
- package/angular/esm/components/dataset-selector-list.js +0 -147
- package/angular/esm/components/dataset-selector-row.d.ts +0 -58
- package/angular/esm/components/dataset-selector-row.js +0 -161
- package/angular/esm/components/display-settings-binning.d.ts +0 -37
- package/angular/esm/components/display-settings-binning.js +0 -91
- package/angular/esm/components/display-settings-datetime.d.ts +0 -40
- package/angular/esm/components/display-settings-datetime.js +0 -99
- package/angular/esm/components/display-settings-grand-totals.d.ts +0 -37
- package/angular/esm/components/display-settings-grand-totals.js +0 -91
- package/angular/esm/components/display-settings-numeric.d.ts +0 -45
- package/angular/esm/components/display-settings-numeric.js +0 -115
- package/angular/esm/components/display-settings-period-over-period.d.ts +0 -44
- package/angular/esm/components/display-settings-period-over-period.js +0 -107
- package/angular/esm/components/display-settings.d.ts +0 -83
- package/angular/esm/components/display-settings.js +0 -231
- package/angular/esm/components/filter-expression-picker.d.ts +0 -64
- package/angular/esm/components/filter-expression-picker.js +0 -179
- package/angular/esm/components/filter-item.d.ts +0 -63
- package/angular/esm/components/filter-item.js +0 -187
- package/angular/esm/components/filter-parameter-picker.d.ts +0 -56
- package/angular/esm/components/filter-parameter-picker.js +0 -151
- package/angular/esm/components/filter-value-picker-datetime.d.ts +0 -47
- package/angular/esm/components/filter-value-picker-datetime.js +0 -131
- package/angular/esm/components/filter-value-picker-hierarchy.d.ts +0 -53
- package/angular/esm/components/filter-value-picker-hierarchy.js +0 -155
- package/angular/esm/components/filter-value-picker-numeric.d.ts +0 -53
- package/angular/esm/components/filter-value-picker-numeric.js +0 -155
- package/angular/esm/components/filter-value-picker.d.ts +0 -57
- package/angular/esm/components/filter-value-picker.js +0 -171
- package/angular/esm/components/filters.d.ts +0 -75
- package/angular/esm/components/filters.js +0 -215
- package/angular/esm/components/formula-editor.d.ts +0 -78
- package/angular/esm/components/formula-editor.js +0 -236
- package/angular/esm/components/formula-field.d.ts +0 -70
- package/angular/esm/components/formula-field.js +0 -209
- package/angular/esm/components/formula.d.ts +0 -60
- package/angular/esm/components/formula.js +0 -177
- package/angular/esm/components/interactive-viz-item.d.ts +0 -63
- package/angular/esm/components/interactive-viz-item.js +0 -188
- package/angular/esm/components/item-grid-item-actions-menu.d.ts +0 -45
- package/angular/esm/components/item-grid-item-actions-menu.js +0 -115
- package/angular/esm/components/item-grid.d.ts +0 -80
- package/angular/esm/components/item-grid.js +0 -245
- package/angular/esm/components/item-option-action-button-group.d.ts +0 -41
- package/angular/esm/components/item-option-action-button-group.js +0 -107
- package/angular/esm/components/item-option-color-palette-picker.d.ts +0 -48
- package/angular/esm/components/item-option-color-palette-picker.js +0 -131
- package/angular/esm/components/item-option-color-picker.d.ts +0 -51
- package/angular/esm/components/item-option-color-picker.js +0 -139
- package/angular/esm/components/item-option-color-range.d.ts +0 -66
- package/angular/esm/components/item-option-color-range.js +0 -179
- package/angular/esm/components/item-option-guidelines.d.ts +0 -34
- package/angular/esm/components/item-option-guidelines.js +0 -83
- package/angular/esm/components/item-option-multi-language-field.d.ts +0 -50
- package/angular/esm/components/item-option-multi-language-field.js +0 -139
- package/angular/esm/components/item-option-number-field.d.ts +0 -58
- package/angular/esm/components/item-option-number-field.js +0 -171
- package/angular/esm/components/item-option-panel.d.ts +0 -54
- package/angular/esm/components/item-option-panel.js +0 -155
- package/angular/esm/components/item-option-picker.d.ts +0 -46
- package/angular/esm/components/item-option-picker.js +0 -123
- package/angular/esm/components/item-option-position-picker.d.ts +0 -39
- package/angular/esm/components/item-option-position-picker.js +0 -99
- package/angular/esm/components/item-option-positions-number-field.d.ts +0 -54
- package/angular/esm/components/item-option-positions-number-field.js +0 -147
- package/angular/esm/components/item-option-radio-button-group.d.ts +0 -45
- package/angular/esm/components/item-option-radio-button-group.js +0 -123
- package/angular/esm/components/item-option-slider.d.ts +0 -46
- package/angular/esm/components/item-option-slider.js +0 -131
- package/angular/esm/components/item-option-switch.d.ts +0 -40
- package/angular/esm/components/item-option-switch.js +0 -99
- package/angular/esm/components/item-option-text-field.d.ts +0 -44
- package/angular/esm/components/item-option-text-field.js +0 -115
- package/angular/esm/components/item-option.d.ts +0 -58
- package/angular/esm/components/item-option.js +0 -171
- package/angular/esm/components/item-slot-drop-panel.d.ts +0 -82
- package/angular/esm/components/item-slot-drop-panel.js +0 -249
- package/angular/esm/components/item-slot-drop.d.ts +0 -77
- package/angular/esm/components/item-slot-drop.js +0 -227
- package/angular/esm/components/item-slot-picker-panel.d.ts +0 -97
- package/angular/esm/components/item-slot-picker-panel.js +0 -309
- package/angular/esm/components/item-slot-picker.d.ts +0 -86
- package/angular/esm/components/item-slot-picker.js +0 -259
- package/angular/esm/components/slot-menu-list.d.ts +0 -46
- package/angular/esm/components/slot-menu-list.js +0 -123
- package/angular/esm/components/slot-menu.d.ts +0 -104
- package/angular/esm/components/slot-menu.js +0 -300
- package/angular/esm/components/viz-item-menu.d.ts +0 -42
- package/angular/esm/components/viz-item-menu.js +0 -111
- package/angular/esm/index.d.ts +0 -109
- package/angular/esm/index.js +0 -217
- package/angular/index.ts +0 -223
- package/angular/package.json +0 -40
- package/angular/tsconfig.json +0 -36
- package/angular/type-fallbacks.d.ts +0 -0
- package/angular/utils/ai-prompt/attachments.d.ts +0 -10
- package/angular/utils/ai-prompt/dictation.d.ts +0 -50
- package/angular/utils/ai-prompt/image-upload.d.ts +0 -12
- package/angular/utils/ai-prompt/index.d.ts +0 -6
- package/angular/utils/ai-prompt/tests/dictation.test.d.ts +0 -1
- package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +0 -1
- package/angular/utils/base/base.d.ts +0 -16
- package/angular/utils/base/focus-visible.d.ts +0 -29
- package/angular/utils/base/focusable.d.ts +0 -58
- package/angular/utils/base/index.d.ts +0 -5
- package/angular/utils/base/localized-mixin.d.ts +0 -22
- package/angular/utils/base/sized-mixin.d.ts +0 -17
- package/angular/utils/color/color-palettes.d.ts +0 -17
- package/angular/utils/color/extrapolate-color.d.ts +0 -1
- package/angular/utils/data/load-data-fields-for-datasets.d.ts +0 -22
- package/angular/utils/data-broker/index.d.ts +0 -257
- package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +0 -12
- package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +0 -1
- package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +0 -1
- package/angular/utils/drag/draggable.d.ts +0 -13
- package/angular/utils/drag/pragmatic-element-adapter.d.ts +0 -2
- package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +0 -1
- package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +0 -1
- package/angular/utils/filters/expressions.d.ts +0 -15
- package/angular/utils/filters/index.d.ts +0 -1
- package/angular/utils/formatter/calculate-duration.d.ts +0 -2
- package/angular/utils/formatter/decompose-numeric-format.d.ts +0 -11
- package/angular/utils/formatter/default-local-formats.d.ts +0 -20
- package/angular/utils/formatter/formats/cs.d.ts +0 -20
- package/angular/utils/formatter/formats/da.d.ts +0 -20
- package/angular/utils/formatter/formats/de.d.ts +0 -21
- package/angular/utils/formatter/formats/en-GB.d.ts +0 -21
- package/angular/utils/formatter/formats/en-US.d.ts +0 -1
- package/angular/utils/formatter/formats/en.d.ts +0 -1
- package/angular/utils/formatter/formats/es.d.ts +0 -54
- package/angular/utils/formatter/formats/fi.d.ts +0 -20
- package/angular/utils/formatter/formats/fr.d.ts +0 -54
- package/angular/utils/formatter/formats/he.d.ts +0 -20
- package/angular/utils/formatter/formats/hu.d.ts +0 -20
- package/angular/utils/formatter/formats/it.d.ts +0 -54
- package/angular/utils/formatter/formats/ja.d.ts +0 -20
- package/angular/utils/formatter/formats/ko.d.ts +0 -20
- package/angular/utils/formatter/formats/mk.d.ts +0 -20
- package/angular/utils/formatter/formats/nl.d.ts +0 -21
- package/angular/utils/formatter/formats/no.d.ts +0 -21
- package/angular/utils/formatter/formats/pl.d.ts +0 -20
- package/angular/utils/formatter/formats/pt.d.ts +0 -20
- package/angular/utils/formatter/formats/ru.d.ts +0 -20
- package/angular/utils/formatter/formats/sv.d.ts +0 -20
- package/angular/utils/formatter/formats/tr.d.ts +0 -21
- package/angular/utils/formatter/formats/zh-CN.d.ts +0 -20
- package/angular/utils/formatter/formats/zh-TW.d.ts +0 -20
- package/angular/utils/formatter/formatter.d.ts +0 -9
- package/angular/utils/formatter/get-dataset-name.d.ts +0 -2
- package/angular/utils/formatter/localize.d.ts +0 -3
- package/angular/utils/formatter/smart-datetime-formats.const.d.ts +0 -36
- package/angular/utils/formatter/tests/calculate-duration.test.d.ts +0 -1
- package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +0 -1
- package/angular/utils/formatter/tests/default-local-formats.test.d.ts +0 -1
- package/angular/utils/formatter/tests/formatter.test.d.ts +0 -1
- package/angular/utils/formatter/tests/localize.test.d.ts +0 -1
- package/angular/utils/formula/base/formula-base.d.ts +0 -117
- package/angular/utils/formula/base/formula-input-base.d.ts +0 -62
- package/angular/utils/formula/codemirror/actions.d.ts +0 -47
- package/angular/utils/formula/codemirror/drop-cursor.d.ts +0 -15
- package/angular/utils/formula/codemirror/icon-element.d.ts +0 -7
- package/angular/utils/formula/codemirror/parser.d.ts +0 -16
- package/angular/utils/formula/codemirror/tests/actions.test.d.ts +0 -1
- package/angular/utils/formula/codemirror/theme.d.ts +0 -20
- package/angular/utils/formula/codemirror/widget.d.ts +0 -18
- package/angular/utils/formula/config/aggregations.d.ts +0 -9
- package/angular/utils/formula/config/build-datasets.d.ts +0 -10
- package/angular/utils/formula/config/expression-helpers.d.ts +0 -42
- package/angular/utils/formula/config/functions.d.ts +0 -3
- package/angular/utils/formula/config/groupings.d.ts +0 -9
- package/angular/utils/formula/config/regex.d.ts +0 -39
- package/angular/utils/formula/config/resolve-column-presentation.d.ts +0 -19
- package/angular/utils/formula/config/tests/build-datasets.test.d.ts +0 -1
- package/angular/utils/formula/config/validate-expression.d.ts +0 -19
- package/angular/utils/formula/load-formula-codemirror.d.ts +0 -4
- package/angular/utils/formula/render-explanation-tooltip.d.ts +0 -7
- package/angular/utils/formula/store/formula-display-store.d.ts +0 -93
- package/angular/utils/formula/store/formula-editor-context.d.ts +0 -8
- package/angular/utils/formula/store/formula-editor-store.d.ts +0 -46
- package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +0 -1
- package/angular/utils/formula/tests/validate-expression.test.d.ts +0 -1
- package/angular/utils/get-css-variable.d.ts +0 -1
- package/angular/utils/index.d.ts +0 -10
- package/angular/utils/localize/set-locale.d.ts +0 -7
- package/angular/utils/map-tile-providers/index.d.ts +0 -93
- package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +0 -7
- package/angular/utils/slot-content/render-calculation-label.d.ts +0 -7
- package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +0 -1
- package/angular/utils/slot-state/slot-context.d.ts +0 -4
- package/angular/utils/slot-state/slot-store.d.ts +0 -39
- package/angular/utils/store/base-store.d.ts +0 -162
- package/angular/utils/store/dashboard-store.d.ts +0 -49
- package/angular/utils/store/index.d.ts +0 -135
- package/angular/utils/store/item-store.d.ts +0 -33
- package/angular/utils/store/store-registry.d.ts +0 -170
- package/angular/utils/store/tests/dashboard-store.test.d.ts +0 -1
- package/angular/utils/store/tests/item-store.test.d.ts +0 -1
- package/angular/utils/store/tests/store-registry.test.d.ts +0 -1
- package/angular/utils/store/types.d.ts +0 -270
- package/angular/utils/switch-item/index.d.ts +0 -34
- package/angular/utils/switch-item/slot-role-classification.d.ts +0 -31
- package/angular/utils/switch-item/stories/switch-item.stories.d.ts +0 -17
- package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +0 -1
- package/angular/utils/switch-item/tests/switch-item.test.d.ts +0 -1
- package/angular/utils/themes/bliss.d.ts +0 -2
- package/angular/utils/themes/classic-dark.d.ts +0 -2
- package/angular/utils/themes/classic.d.ts +0 -2
- package/angular/utils/themes/default-dark.d.ts +0 -2
- package/angular/utils/themes/default.d.ts +0 -2
- package/angular/utils/themes/index.d.ts +0 -4
- package/angular/utils/themes/orion.d.ts +0 -2
- package/angular/utils/themes/pinky.d.ts +0 -2
- package/angular/utils/themes/radiant.d.ts +0 -2
- package/angular/utils/themes/royale.d.ts +0 -2
- package/angular/utils/themes/seasonal.d.ts +0 -2
- package/angular/utils/themes/urban.d.ts +0 -2
- package/angular/utils/themes/vivid.d.ts +0 -2
- package/angular/utils/time/formats.const.d.ts +0 -4
- package/angular/utils/time/period-over-period-condition.const.d.ts +0 -8
- package/angular/utils/time/periods.const.d.ts +0 -15
- package/angular/utils/timezone/datetime-timezone.d.ts +0 -25
- package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +0 -1
- package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +0 -9
- package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +0 -30
- package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +0 -1
- package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +0 -1
- package/angular/utils/types/tests/type-check.test.d.ts +0 -1
- package/angular/utils/types/type-check.d.ts +0 -28
- package/components/ai-chat-Bo0ELL9Z.cjs +0 -319
- package/components/ai-chat-hOxsY5sO.js +0 -4037
- package/components/ai-interaction-textarea-DvILxmFe.cjs +0 -95
- package/components/ai-interaction-textarea-r77TFOk6.js +0 -792
- package/components/area-chart-options.config-Dc4P64YS.js +0 -229
- package/components/area-chart-options.config-N24pwyqX.cjs +0 -20
- package/components/area-chart-options.de-C2WwBf7L.cjs +0 -20
- package/components/area-chart-options.de-DY-fWkTJ.js +0 -85
- package/components/area-chart-options.en-BwX3W0Rz.js +0 -85
- package/components/area-chart-options.en-Dnm4crib.cjs +0 -20
- package/components/area-chart-options.es-CMcI1TAb.cjs +0 -20
- package/components/area-chart-options.es-DcNoi7rP.js +0 -85
- package/components/area-chart-options.fr-CHeI4bKx.cjs +0 -20
- package/components/area-chart-options.fr-T_BWw6Rr.js +0 -85
- package/components/area-chart-options.nl-BM7u0iDj.cjs +0 -20
- package/components/area-chart-options.nl-CbumBws7.js +0 -85
- package/components/area-chart-positioning.config-BqKl3pFu.cjs +0 -20
- package/components/area-chart-positioning.config-Br2P8CiM.js +0 -55
- package/components/bar-chart-options.config-B7tknpxM.js +0 -300
- package/components/bar-chart-options.config-DnNGu3RV.cjs +0 -20
- package/components/bar-chart-options.de-B3Q1SKCO.js +0 -110
- package/components/bar-chart-options.de-BZ3uW1-o.cjs +0 -20
- package/components/bar-chart-options.en-DA7MLNpQ.js +0 -110
- package/components/bar-chart-options.en-YNlXBbD4.cjs +0 -20
- package/components/bar-chart-options.es-BNeN4ThD.cjs +0 -20
- package/components/bar-chart-options.es-Crk_EzMI.js +0 -110
- package/components/bar-chart-options.fr-CMr4fQqa.js +0 -110
- package/components/bar-chart-options.fr-Cib__mEv.cjs +0 -20
- package/components/bar-chart-options.nl-C396D-gg.js +0 -110
- package/components/bar-chart-options.nl-CmGjKNyC.cjs +0 -20
- package/components/bar-chart-positioning.config-BIIRV0eK.js +0 -59
- package/components/bar-chart-positioning.config-CuZ6-d9P.cjs +0 -20
- package/components/base-store-DHC2m2Os.cjs +0 -20
- package/components/base-store-DmDe0dTU.js +0 -160
- package/components/box-plot-options.config-D6Wvmx36.js +0 -356
- package/components/box-plot-options.config-DCDHZMGK.cjs +0 -20
- package/components/box-plot-positioning.config-AHLRC1d-.js +0 -48
- package/components/box-plot-positioning.config-DAYgLURB.cjs +0 -20
- package/components/bubble-chart-options.config-CDY6pFK6.js +0 -135
- package/components/bubble-chart-options.config-DjdxlwRr.cjs +0 -20
- package/components/bubble-chart-positioning.config-0rqhisQ0.cjs +0 -20
- package/components/bubble-chart-positioning.config-55OuqSo_.js +0 -55
- package/components/bullet-chart-options.config-B2afO5Xh.cjs +0 -20
- package/components/bullet-chart-options.config-B4vBSWrH.js +0 -75
- package/components/bullet-chart-positioning.config-CIkbLbi3.js +0 -56
- package/components/bullet-chart-positioning.config-COKnJxPm.cjs +0 -20
- package/components/choropleth-map-options.config-6-xaMCeR.js +0 -348
- package/components/choropleth-map-options.config-6DXYO5_E.cjs +0 -20
- package/components/choropleth-map-positioning.config-0EBrFMj-.cjs +0 -20
- package/components/choropleth-map-positioning.config-C9QGy6XL.js +0 -55
- package/components/circle-pack-chart-options.config-CD8MWMTw.cjs +0 -20
- package/components/circle-pack-chart-options.config-DWkyGqA_.js +0 -54
- package/components/circle-pack-chart-positioning.config-BtQ9KsU9.cjs +0 -20
- package/components/circle-pack-chart-positioning.config-vl4eZHhs.js +0 -48
- package/components/circular-gauge-options.config-C0T9GkZX.cjs +0 -20
- package/components/circular-gauge-options.config-D_xHWhBy.js +0 -188
- package/components/circular-gauge-positioning.config-B-65zgBL.js +0 -48
- package/components/circular-gauge-positioning.config-BjDwC0zc.cjs +0 -20
- package/components/column-chart-options.config-B_a7iN-c.js +0 -299
- package/components/column-chart-options.config-D6we1uLn.cjs +0 -20
- package/components/column-chart-options.de-vSfQkMVy.js +0 -110
- package/components/column-chart-options.de-wUcJvrrW.cjs +0 -20
- package/components/column-chart-options.en-C2DVLfDZ.js +0 -110
- package/components/column-chart-options.en-YNlXBbD4.cjs +0 -20
- package/components/column-chart-options.es-CmZmT22A.js +0 -110
- package/components/column-chart-options.es-YKftTtkL.cjs +0 -20
- package/components/column-chart-options.fr-Cib__mEv.cjs +0 -20
- package/components/column-chart-options.fr-UmB2ifIT.js +0 -110
- package/components/column-chart-options.nl-DRrIt7sx.js +0 -110
- package/components/column-chart-options.nl-Tg07PDkZ.cjs +0 -20
- package/components/column-chart-positioning.config-CDISLkz9.js +0 -55
- package/components/column-chart-positioning.config-hIAFqQkL.cjs +0 -20
- package/components/combination-chart-options.config-C4y9E0Gr.cjs +0 -20
- package/components/combination-chart-options.config-l4szBpws.js +0 -150
- package/components/combination-chart-options.de-BExnOCui.cjs +0 -20
- package/components/combination-chart-options.de-BdV-j9VK.js +0 -64
- package/components/combination-chart-options.en-DquyU8wD.js +0 -64
- package/components/combination-chart-options.en-iAkhHGFR.cjs +0 -20
- package/components/combination-chart-options.es-B2piaL6n.cjs +0 -20
- package/components/combination-chart-options.es-Oz29P_Vd.js +0 -64
- package/components/combination-chart-options.fr-BEA5mDGS.cjs +0 -20
- package/components/combination-chart-options.fr-L6m-7FiZ.js +0 -64
- package/components/combination-chart-options.nl-DDyajIyP.cjs +0 -20
- package/components/combination-chart-options.nl-DJDH3K_U.js +0 -64
- package/components/combination-chart-positioning.config-C0immu_Z.js +0 -48
- package/components/combination-chart-positioning.config-CFo18WDh.cjs +0 -20
- package/components/conditional-number-options.config-DB4_BYN2.js +0 -205
- package/components/conditional-number-options.config-T6oXXy14.cjs +0 -20
- package/components/conditional-number-positioning.config-BfOZxdI3.js +0 -48
- package/components/conditional-number-positioning.config-Bw0gHZ2o.cjs +0 -20
- package/components/data-broker-Bdv5V8Yp.js +0 -1680
- package/components/data-broker-DWEXs6-2.cjs +0 -20
- package/components/data-field-panel-Y8MKxsTL.js +0 -385
- package/components/data-field-panel-bka3sr4V.cjs +0 -87
- package/components/data-fields-select-2P9sGs_9.js +0 -280
- package/components/data-fields-select-CAyr7ju6.cjs +0 -41
- package/components/dataset-selector-list-DhiiMGU8.cjs +0 -75
- package/components/dataset-selector-list-qeYvQkeD.js +0 -313
- package/components/dataset-selector-row-C8_Hnlp5.js +0 -306
- package/components/dataset-selector-row-Cau2IKg2.cjs +0 -90
- package/components/display-settings-BShiJjYL.js +0 -313
- package/components/display-settings-C088VTeJ.cjs +0 -140
- package/components/donut-chart-options.config-BhKFa3dz.cjs +0 -20
- package/components/donut-chart-options.config-CjtEDiJI.js +0 -207
- package/components/donut-chart-positioning.config-BPY9_d1a.js +0 -48
- package/components/donut-chart-positioning.config-D1CzQ5Xn.cjs +0 -20
- package/components/evolution-number-options.config-C3tU650w.js +0 -228
- package/components/evolution-number-options.config-CKL01dAR.cjs +0 -20
- package/components/evolution-number-positioning.config-Cylb9kiq.js +0 -48
- package/components/evolution-number-positioning.config-DLO4M9Cs.cjs +0 -20
- package/components/filter-expression-picker-CGgLtygy.cjs +0 -38
- package/components/filter-expression-picker-DC_fSNw3.js +0 -425
- package/components/filter-item-DMerwomA.cjs +0 -71
- package/components/filter-item-xi4ViBw6.js +0 -301
- package/components/filter-value-picker-BhZ1btu2.cjs +0 -60
- package/components/filter-value-picker-CaMy7sgw.js +0 -151
- package/components/filter-value-picker-datetime-DeXo9m9J.cjs +0 -42
- package/components/filter-value-picker-datetime-swmPuya2.js +0 -139
- package/components/filter-value-picker-hierarchy-CUrCfFBg.js +0 -232
- package/components/filter-value-picker-hierarchy-DxluZMYy.cjs +0 -47
- package/components/filter-value-picker-numeric-LHFsFwHY.cjs +0 -48
- package/components/filter-value-picker-numeric-_7THOfQ3.js +0 -219
- package/components/filters-CGlwSB1c.js +0 -742
- package/components/filters-qljuVmv3.cjs +0 -153
- package/components/formula-Cs6dyuWv.js +0 -138
- package/components/formula-codemirror-DQjUbRXS.js +0 -12018
- package/components/formula-codemirror-DWNgYsVG.cjs +0 -215
- package/components/formula-display-store-B7NE3yk2.js +0 -1093
- package/components/formula-display-store-CIaihdJt.cjs +0 -20
- package/components/formula-editor-DHau0kyj.cjs +0 -224
- package/components/formula-editor-RrAmSugR.js +0 -690
- package/components/formula-fK-POHy0.cjs +0 -45
- package/components/formula-field-BU-tU8RC.js +0 -40
- package/components/formula-field-YNbqmroG.cjs +0 -20
- package/components/formula-input-base-BL7QCVYc.js +0 -236
- package/components/formula-input-base-DbJu89ug.cjs +0 -49
- package/components/funnel-chart-options.config-6ifTq7Xh.js +0 -207
- package/components/funnel-chart-options.config-BOI6bzbw.cjs +0 -20
- package/components/funnel-chart-positioning.config-BBNWT_VE.cjs +0 -20
- package/components/funnel-chart-positioning.config-si2pX2gx.js +0 -48
- package/components/groupings-4QHaRJAm.cjs +0 -20
- package/components/groupings-Xmt8wNT9.js +0 -52
- package/components/heat-map-options.config-C4lqg4Gf.cjs +0 -20
- package/components/heat-map-options.config-CezceVM3.js +0 -224
- package/components/heat-map-positioning.config-DI5FunDJ.cjs +0 -20
- package/components/heat-map-positioning.config-DOlrArXK.js +0 -48
- package/components/heat-table-options.config-C7kvRE10.js +0 -372
- package/components/heat-table-options.config-DiX5eL4B.cjs +0 -20
- package/components/heat-table-positioning.config-COaenQ4o.js +0 -55
- package/components/heat-table-positioning.config-iu4AP8qY.cjs +0 -20
- package/components/hexbin-map-options.config-8brGMkt_.js +0 -276
- package/components/hexbin-map-options.config-BVajY1MH.cjs +0 -20
- package/components/hexbin-map-positioning.config-BhuH9uzL.js +0 -48
- package/components/hexbin-map-positioning.config-CZGNbr60.cjs +0 -20
- package/components/interactive-viz-item-Ckksv6BC.cjs +0 -247
- package/components/interactive-viz-item-diknEJmH.js +0 -693
- package/components/item-grid-BxeW2lFX.js +0 -4559
- package/components/item-grid-Dv_KLkHv.cjs +0 -113
- package/components/item-option-B8J9IqkK.cjs +0 -269
- package/components/item-option-n8o2amMX.js +0 -945
- package/components/item-option-panel-h1z2MCbr.js +0 -183
- package/components/item-option-panel-m9BDbDRw.cjs +0 -67
- package/components/item-slot-drop-CViqm_N2.cjs +0 -91
- package/components/item-slot-drop-iXidsCW1.js +0 -331
- package/components/item-slot-drop-panel-BjOPdyYH.cjs +0 -57
- package/components/item-slot-drop-panel-DwNCcxm1.js +0 -355
- package/components/item-slot-picker-D8e1NtDd.cjs +0 -174
- package/components/item-slot-picker-DpnpGTvR.js +0 -505
- package/components/item-slot-picker-panel-DyP6Uls5.cjs +0 -81
- package/components/item-slot-picker-panel-l53YLi4e.js +0 -448
- package/components/line-chart-options.config-CVR_mb2z.cjs +0 -20
- package/components/line-chart-options.config-OeRMkKMP.js +0 -248
- package/components/line-chart-options.de-CihDXrQ4.js +0 -79
- package/components/line-chart-options.de-DMuN0E3y.cjs +0 -20
- package/components/line-chart-options.en-81dHDKJE.cjs +0 -20
- package/components/line-chart-options.en-CPWllKeE.js +0 -79
- package/components/line-chart-options.es-CshvnhMH.cjs +0 -20
- package/components/line-chart-options.es-IX7Hu1Jk.js +0 -79
- package/components/line-chart-options.fr-CkLIbP6Y.js +0 -79
- package/components/line-chart-options.fr-EMHHZpiy.cjs +0 -20
- package/components/line-chart-options.nl-C9FWbWJy.cjs +0 -20
- package/components/line-chart-options.nl-Du2kphsn.js +0 -79
- package/components/line-chart-positioning.config-A4TQKtrY.js +0 -55
- package/components/line-chart-positioning.config-BAt_nsVA.cjs +0 -20
- package/components/load-data-fields-for-datasets-BNnr8x3m.js +0 -42
- package/components/load-data-fields-for-datasets-CW4Voiex.cjs +0 -20
- package/components/marker-map-options.config-CtW7nl1C.js +0 -117
- package/components/marker-map-options.config-M9BvYinR.cjs +0 -20
- package/components/marker-map-positioning.config-B-EQ3Kdq.js +0 -48
- package/components/marker-map-positioning.config-Bt-iQQTT.cjs +0 -20
- package/components/ohlc-chart-options.config-DOqKN6ov.cjs +0 -20
- package/components/ohlc-chart-options.config-Db40TXcB.js +0 -124
- package/components/ohlc-chart-options.de-Brd2iN0B.js +0 -61
- package/components/ohlc-chart-options.de-DqGHkVNG.cjs +0 -20
- package/components/ohlc-chart-options.en-C3AWmo7s.js +0 -61
- package/components/ohlc-chart-options.en-DrWja-A6.cjs +0 -20
- package/components/ohlc-chart-options.es-Cac117z2.cjs +0 -20
- package/components/ohlc-chart-options.es-Cwl_vxNQ.js +0 -61
- package/components/ohlc-chart-options.fr-DJuaTjBf.cjs +0 -20
- package/components/ohlc-chart-options.fr-STOjKGOk.js +0 -61
- package/components/ohlc-chart-options.nl-C7_qhngI.cjs +0 -20
- package/components/ohlc-chart-options.nl-CV0A0J84.js +0 -61
- package/components/ohlc-chart-positioning.config-COj7yt6H.cjs +0 -20
- package/components/ohlc-chart-positioning.config-Shmm9MJf.js +0 -78
- package/components/parallel-coordinates-plot-options.config--6iJkURT.cjs +0 -20
- package/components/parallel-coordinates-plot-options.config-Bw8T5EE4.js +0 -42
- package/components/parallel-coordinates-plot-positioning.config-C05rBaKD.js +0 -48
- package/components/parallel-coordinates-plot-positioning.config-ClvpDIFu.cjs +0 -20
- package/components/pivot-table-options.config-DdbSCsRL.cjs +0 -20
- package/components/pivot-table-options.config-gL2C_zvT.js +0 -245
- package/components/pivot-table-positioning.config-BGlPvMyz.js +0 -55
- package/components/pivot-table-positioning.config-CDJ5gAfT.cjs +0 -20
- package/components/pyramid-chart-options.config-348RYXh8.js +0 -260
- package/components/pyramid-chart-options.config-I2ZIo_GV.cjs +0 -20
- package/components/pyramid-chart-positioning.config-BcqgH441.js +0 -55
- package/components/pyramid-chart-positioning.config-DvhVY2uQ.cjs +0 -20
- package/components/radar-chart-options.config-BeGjchnc.js +0 -150
- package/components/radar-chart-options.config-CCMh7qJG.cjs +0 -20
- package/components/radar-chart-positioning.config-C9tXOa0G.js +0 -55
- package/components/radar-chart-positioning.config-COMI8Da1.cjs +0 -20
- package/components/regular-table-options.config-Bf0VAtT_.js +0 -148
- package/components/regular-table-options.config-DqZD5P9l.cjs +0 -20
- package/components/route-map-options.config-DVo8FTke.cjs +0 -20
- package/components/route-map-options.config-DWG5127-.js +0 -326
- package/components/route-map-positioning.config-BUIlsZig.js +0 -66
- package/components/route-map-positioning.config-Bi8-Dmc4.cjs +0 -20
- package/components/sankey-diagram-options.config-C8Gm15Mi.cjs +0 -20
- package/components/sankey-diagram-options.config-DW72WBKU.js +0 -126
- package/components/sankey-diagram-positioning.config-DUAsNKP9.js +0 -66
- package/components/sankey-diagram-positioning.config-DgZpfj7d.cjs +0 -20
- package/components/scatter-plot-options.config-CUyWy2xE.js +0 -322
- package/components/scatter-plot-options.config-Cd4DvLoN.cjs +0 -20
- package/components/scatter-plot-options.de-BO73A_o5.js +0 -96
- package/components/scatter-plot-options.de-DO4ns5t0.cjs +0 -20
- package/components/scatter-plot-options.en-B6S8Yf66.js +0 -96
- package/components/scatter-plot-options.en-SuHaPKPZ.cjs +0 -20
- package/components/scatter-plot-options.es-B0alrlLR.cjs +0 -20
- package/components/scatter-plot-options.es-jbzKhq4S.js +0 -96
- package/components/scatter-plot-options.fr-CkJXV4Og.cjs +0 -20
- package/components/scatter-plot-options.fr-DMFP8FB4.js +0 -96
- package/components/scatter-plot-options.nl-BqN6XbnS.js +0 -96
- package/components/scatter-plot-options.nl-CuhZUABa.cjs +0 -20
- package/components/scatter-plot-positioning.config-8c9ToDBN.cjs +0 -20
- package/components/scatter-plot-positioning.config-D6dyNojk.js +0 -77
- package/components/slicer-filter-positioning.config-BnxE_Ac2.js +0 -48
- package/components/slicer-filter-positioning.config-CqPOeeeg.cjs +0 -20
- package/components/slot-menu-11KQJc_U.cjs +0 -71
- package/components/slot-menu-BsaFfMfl.js +0 -426
- package/components/speedometer-chart-options.config-CtWGujmb.js +0 -246
- package/components/speedometer-chart-options.config-e9Ktyajm.cjs +0 -20
- package/components/speedometer-chart-positioning.config-B6ydcNl1.js +0 -48
- package/components/speedometer-chart-positioning.config-CWVs9wdL.cjs +0 -20
- package/components/spike-map-options.config-Ch0p9Q5l.js +0 -413
- package/components/spike-map-options.config-D-T_kT1C.cjs +0 -20
- package/components/spike-map-positioning.config-BUDKv3D-.js +0 -55
- package/components/spike-map-positioning.config-CzTPhLvN.cjs +0 -20
- package/components/strip-plot-options.config-TB3rkoj2.cjs +0 -20
- package/components/strip-plot-options.config-WICS2rnK.js +0 -53
- package/components/strip-plot-positioning.config-C6-0AgIF.cjs +0 -20
- package/components/strip-plot-positioning.config-d8qB2u-P.js +0 -48
- package/components/sunburst-chart-options.config-BojxVGMu.cjs +0 -20
- package/components/sunburst-chart-options.config-Bz-jP-gZ.js +0 -180
- package/components/sunburst-chart-positioning.config-D_APT9mf.cjs +0 -20
- package/components/sunburst-chart-positioning.config-DcYT58kl.js +0 -48
- package/components/symbol-map-options.config-BmHEhC5t.cjs +0 -20
- package/components/symbol-map-options.config-I89tFJUU.js +0 -177
- package/components/symbol-map-positioning.config-CWkkURYU.cjs +0 -20
- package/components/symbol-map-positioning.config-D12TczYa.js +0 -55
- package/components/treemap-chart-options.config-i7BH9mNl.js +0 -204
- package/components/treemap-chart-options.config-xtu6J11C.cjs +0 -20
- package/components/treemap-chart-positioning.config-BS-BO3sD.cjs +0 -20
- package/components/treemap-chart-positioning.config-BmxLpNn2.js +0 -55
- package/components/utils-DUeh8VMp.js +0 -240
- package/components/utils-pKA3Rwn3.cjs +0 -20
- package/components/venn-diagram-positioning.config-B-4Uoe_o.js +0 -55
- package/components/venn-diagram-positioning.config-D4Zhdh2X.cjs +0 -20
- package/components/wordcloud-chart-options.config-BjLJyuyw.cjs +0 -20
- package/components/wordcloud-chart-options.config-D_AhgZRs.js +0 -90
- package/components/wordcloud-chart-positioning.config-Cr9lzAHP.js +0 -55
- package/components/wordcloud-chart-positioning.config-DTEauH2w.cjs +0 -20
- /package/{angular/utils/ai-prompt/tests/attachments.test.d.ts → utils/tests/set-nested-value.test.d.ts} +0 -0
|
@@ -1,690 +0,0 @@
|
|
|
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 { t as e } from "./pragmatic-element-adapter-C_7HSvGV.js";
|
|
21
|
-
import { i as t, n } from "./base-DPqRkMth.js";
|
|
22
|
-
import { t as r } from "./decorate-DyMgX_Uh.js";
|
|
23
|
-
import { t as i } from "./data-broker-Bdv5V8Yp.js";
|
|
24
|
-
import { t as a } from "./calculate-data-field-icon-DrSg1PuD.js";
|
|
25
|
-
import { t as o } from "./localize-BT7REYBY.js";
|
|
26
|
-
import { a as s, i as c, n as l, p as u, r as d } from "./formula-display-store-B7NE3yk2.js";
|
|
27
|
-
import { n as f } from "./groupings-Xmt8wNT9.js";
|
|
28
|
-
import { n as p, t as m } from "./get-css-variable-r1spgqX0.js";
|
|
29
|
-
import "./data-field-Ccsjj3o5.js";
|
|
30
|
-
import { t as h } from "./formula-input-base-BL7QCVYc.js";
|
|
31
|
-
import { luzmoAlertOutline as g, luzmoAngleDown as ee, luzmoAngleRight as te, luzmoArrows as ne, luzmoIcon as _ } from "@luzmo/icons";
|
|
32
|
-
import "@luzmo/lucero/icon";
|
|
33
|
-
import { html as v, nothing as y, unsafeCSS as b } from "lit";
|
|
34
|
-
import { property as x, state as S } from "lit/decorators.js";
|
|
35
|
-
import { localized as re, msg as C, str as w } from "@lit/localize";
|
|
36
|
-
import "@luzmo/lucero/select";
|
|
37
|
-
import "@luzmo/lucero/tooltip";
|
|
38
|
-
import { repeat as T } from "lit/directives/repeat.js";
|
|
39
|
-
import "@luzmo/lucero/field-label";
|
|
40
|
-
import "@luzmo/lucero/progress-circle";
|
|
41
|
-
import "@luzmo/lucero/search";
|
|
42
|
-
//#region src/utils/formula/config/validate-expression.ts
|
|
43
|
-
var E = [
|
|
44
|
-
"numeric",
|
|
45
|
-
"hierarchy",
|
|
46
|
-
"datetime",
|
|
47
|
-
"spatial"
|
|
48
|
-
], D = [
|
|
49
|
-
"true",
|
|
50
|
-
"false",
|
|
51
|
-
"null"
|
|
52
|
-
], O = [
|
|
53
|
-
"GROUP",
|
|
54
|
-
"GROUPFULL",
|
|
55
|
-
"GROUPINEX"
|
|
56
|
-
], k = /'(?:[^']|'')*'|"(?:[^"]|"")*"/g, A = /\{[^}]*\}/g, j = /[A-Za-z_][A-Za-z0-9_]*/g;
|
|
57
|
-
function M(e, t) {
|
|
58
|
-
let n = /* @__PURE__ */ new Set();
|
|
59
|
-
for (let t of Object.keys(e)) /^[A-Za-z_]/.test(t) && n.add(t.toUpperCase());
|
|
60
|
-
for (let e of Object.keys(t)) n.add(e.toUpperCase());
|
|
61
|
-
for (let e of [
|
|
62
|
-
...O,
|
|
63
|
-
...E,
|
|
64
|
-
...D
|
|
65
|
-
]) n.add(e.toUpperCase());
|
|
66
|
-
return n;
|
|
67
|
-
}
|
|
68
|
-
function N(e, t) {
|
|
69
|
-
let n = e.replace(k, " ").replace(A, " ");
|
|
70
|
-
j.lastIndex = 0;
|
|
71
|
-
let r;
|
|
72
|
-
for (; (r = j.exec(n)) !== null;) if (!t.has(r[0].toUpperCase())) return r[0];
|
|
73
|
-
return null;
|
|
74
|
-
}
|
|
75
|
-
//#endregion
|
|
76
|
-
//#region node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/element/custom-native-drag-preview/pointer-outside-of-preview.js
|
|
77
|
-
function P(e) {
|
|
78
|
-
return function(t) {
|
|
79
|
-
var n = t.container;
|
|
80
|
-
return Object.assign(n.style, {
|
|
81
|
-
borderLeft: `${e.x} solid transparent`,
|
|
82
|
-
borderTop: `${e.y} solid transparent`
|
|
83
|
-
}), {
|
|
84
|
-
x: 0,
|
|
85
|
-
y: 0
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region src/components/formula-draggable-field/formula-draggable-field.module.scss?inline
|
|
91
|
-
var F = ".draggable{align-items:center;gap:var(--luzmo-spacing-3);box-sizing:border-box;width:100%;min-height:var(--formula-draggable-field-height);padding:0 var(--luzmo-spacing-3);border-radius:var(--luzmo-border-radius);background-color:var(--formula-draggable-field-background);color:var(--luzmo-font-color);font-family:var(--luzmo-font-family);font-size:var(--formula-draggable-field-font-size);text-align:start;cursor:grab;-webkit-user-select:none;user-select:none;border:none;display:flex}.draggable:hover{background-color:var(--luzmo-background-color-highlight)}.draggable:focus-visible{outline:2px solid var(--luzmo-primary);outline-offset:-2px}:host([disabled]) .draggable{opacity:.5;cursor:not-allowed}.draggable-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.drag-icon{color:var(--luzmo-font-color-extra-dimmed);font-size:var(--luzmo-formula-draggable-field-drag-icon-size,var(--formula-draggable-field-drag-icon-size));flex:none;align-items:center;display:inline-flex}.icon-slot{flex:none;align-items:center;display:none}.icon-slot.has-icon{display:inline-flex}.tooltip-content{gap:var(--luzmo-spacing-2);text-align:start;flex-direction:column;display:flex}:host{width:100%;font-family:var(--luzmo-font-family);--formula-draggable-field-height:var(--luzmo-component-height);--formula-draggable-field-font-size:var(--luzmo-font-size);--formula-draggable-field-background:transparent;--formula-draggable-field-drag-icon-size:var(--luzmo-font-size-s);font-size:var(--formula-draggable-field-font-size);display:flex}:host([size=s]){--formula-draggable-field-height:var(--luzmo-component-height-s);--formula-draggable-field-font-size:var(--luzmo-font-size-s);--formula-draggable-field-drag-icon-size:var(--luzmo-font-size-xs)}:host([size=l]){--formula-draggable-field-height:var(--luzmo-component-height-l);--formula-draggable-field-font-size:var(--luzmo-font-size-l);--formula-draggable-field-drag-icon-size:var(--luzmo-font-size)}:host([size=xl]){--formula-draggable-field-height:var(--luzmo-component-height-xl);--formula-draggable-field-font-size:var(--luzmo-font-size-xl);--formula-draggable-field-drag-icon-size:var(--luzmo-font-size-l)}:host([variant=highlight]){--formula-draggable-field-background:var(--luzmo-formula-draggable-field-background,var(--luzmo-background-color-highlight))}", I = class extends n(t, {
|
|
92
|
-
validSizes: [
|
|
93
|
-
"s",
|
|
94
|
-
"m",
|
|
95
|
-
"l",
|
|
96
|
-
"xl"
|
|
97
|
-
],
|
|
98
|
-
noDefaultSize: !0
|
|
99
|
-
}) {
|
|
100
|
-
constructor(...e) {
|
|
101
|
-
super(...e), this.kind = "", this.value = "", this.label = "", this.description = "", this.tooltipPlacement = "right", this.variant = "default", this.disabled = !1, this._hasIcon = !1, this._hasTooltipSlot = !1;
|
|
102
|
-
}
|
|
103
|
-
static {
|
|
104
|
-
this.styles = b(F);
|
|
105
|
-
}
|
|
106
|
-
_handleIconSlotChange(e) {
|
|
107
|
-
this._hasIcon = e.target.assignedNodes({ flatten: !0 }).length > 0;
|
|
108
|
-
}
|
|
109
|
-
_handleTooltipSlotChange(e) {
|
|
110
|
-
this._hasTooltipSlot = e.target.assignedNodes({ flatten: !0 }).length > 0;
|
|
111
|
-
}
|
|
112
|
-
disconnectedCallback() {
|
|
113
|
-
super.disconnectedCallback(), this._cleanupDraggable?.(), this._cleanupDraggable = void 0;
|
|
114
|
-
}
|
|
115
|
-
firstUpdated(t) {
|
|
116
|
-
this._cleanupDraggable = e({
|
|
117
|
-
element: this,
|
|
118
|
-
canDrag: () => !this.disabled,
|
|
119
|
-
onDragStart: () => {
|
|
120
|
-
this.style.opacity = "0.5";
|
|
121
|
-
},
|
|
122
|
-
onDrop: () => {
|
|
123
|
-
this.style.opacity = "1";
|
|
124
|
-
},
|
|
125
|
-
getInitialData: () => ({
|
|
126
|
-
kind: this.kind,
|
|
127
|
-
value: this.value
|
|
128
|
-
}),
|
|
129
|
-
onGenerateDragPreview: ({ nativeSetDragImage: e }) => {
|
|
130
|
-
p({
|
|
131
|
-
nativeSetDragImage: e,
|
|
132
|
-
getOffset: P({
|
|
133
|
-
x: "8px",
|
|
134
|
-
y: "8px"
|
|
135
|
-
}),
|
|
136
|
-
render: ({ container: e }) => {
|
|
137
|
-
e.append(this._buildDragPreview());
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
_buildDragPreview() {
|
|
144
|
-
let e = document.createElement("div"), t = this.variant === "highlight" ? m(this, "--luzmo-formula-draggable-field-background") || m(this, "--luzmo-background-color-highlight") : m(this, "--luzmo-background-color");
|
|
145
|
-
return e.textContent = this.label, Object.assign(e.style, {
|
|
146
|
-
display: "inline-flex",
|
|
147
|
-
alignItems: "center",
|
|
148
|
-
maxWidth: "14rem",
|
|
149
|
-
overflow: "hidden",
|
|
150
|
-
textOverflow: "ellipsis",
|
|
151
|
-
whiteSpace: "nowrap",
|
|
152
|
-
padding: "4px 8px",
|
|
153
|
-
borderRadius: m(this, "--luzmo-border-radius") || "6px",
|
|
154
|
-
border: `1px solid ${m(this, "--luzmo-border-color")}`,
|
|
155
|
-
background: t,
|
|
156
|
-
color: m(this, "--luzmo-font-color"),
|
|
157
|
-
fontFamily: m(this, "--luzmo-font-family"),
|
|
158
|
-
fontSize: getComputedStyle(this).fontSize,
|
|
159
|
-
lineHeight: "1",
|
|
160
|
-
boxShadow: m(this, "--luzmo-box-shadow") || "0 1px 4px rgb(0 0 0 / 15%)"
|
|
161
|
-
}), e;
|
|
162
|
-
}
|
|
163
|
-
_handleClick(e) {
|
|
164
|
-
e.detail === 0 && this._activate();
|
|
165
|
-
}
|
|
166
|
-
_activate() {
|
|
167
|
-
this.disabled || this.dispatchEvent(new CustomEvent("luzmo-formula-draggable-field-activate", {
|
|
168
|
-
bubbles: !0,
|
|
169
|
-
composed: !0,
|
|
170
|
-
detail: {
|
|
171
|
-
kind: this.kind,
|
|
172
|
-
value: this.value
|
|
173
|
-
}
|
|
174
|
-
}));
|
|
175
|
-
}
|
|
176
|
-
_describe() {
|
|
177
|
-
this.dispatchEvent(new CustomEvent("luzmo-formula-draggable-field-describe", {
|
|
178
|
-
bubbles: !0,
|
|
179
|
-
composed: !0,
|
|
180
|
-
detail: {
|
|
181
|
-
kind: this.kind,
|
|
182
|
-
value: this.value
|
|
183
|
-
}
|
|
184
|
-
}));
|
|
185
|
-
}
|
|
186
|
-
render() {
|
|
187
|
-
let e = this._hasTooltipSlot || !!this.description;
|
|
188
|
-
return v`
|
|
189
|
-
<button
|
|
190
|
-
class="draggable"
|
|
191
|
-
type="button"
|
|
192
|
-
aria-label=${this.label}
|
|
193
|
-
?disabled=${this.disabled}
|
|
194
|
-
@click=${this._handleClick}
|
|
195
|
-
@dblclick=${this._activate}
|
|
196
|
-
@mouseenter=${this._describe}
|
|
197
|
-
@focus=${this._describe}
|
|
198
|
-
>
|
|
199
|
-
<span class="drag-icon" aria-hidden="true">${_(ne)}</span>
|
|
200
|
-
<slot
|
|
201
|
-
name="icon"
|
|
202
|
-
class="icon-slot ${this._hasIcon ? "has-icon" : ""}"
|
|
203
|
-
@slotchange=${this._handleIconSlotChange}
|
|
204
|
-
></slot>
|
|
205
|
-
<span class="draggable-label">${this.label}</span>
|
|
206
|
-
<luzmo-tooltip
|
|
207
|
-
self-managed
|
|
208
|
-
placement=${this.tooltipPlacement}
|
|
209
|
-
.size=${this.size}
|
|
210
|
-
?disabled=${!e}
|
|
211
|
-
>
|
|
212
|
-
<div class="tooltip-content">
|
|
213
|
-
${this._hasTooltipSlot ? y : this.description ? v`<span>${this.description}</span>` : y}
|
|
214
|
-
<slot name="tooltip" @slotchange=${this._handleTooltipSlotChange}></slot>
|
|
215
|
-
</div>
|
|
216
|
-
</luzmo-tooltip>
|
|
217
|
-
</button>
|
|
218
|
-
`;
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
//#endregion
|
|
222
|
-
//#region src/components/formula-draggable-field/index.ts
|
|
223
|
-
r([x({ type: String })], I.prototype, "kind", void 0), r([x({ type: String })], I.prototype, "value", void 0), r([x({ type: String })], I.prototype, "label", void 0), r([x({ type: String })], I.prototype, "description", void 0), r([x({
|
|
224
|
-
type: String,
|
|
225
|
-
attribute: "tooltip-placement"
|
|
226
|
-
})], I.prototype, "tooltipPlacement", void 0), r([x({
|
|
227
|
-
type: String,
|
|
228
|
-
reflect: !0
|
|
229
|
-
})], I.prototype, "variant", void 0), r([x({
|
|
230
|
-
type: Boolean,
|
|
231
|
-
reflect: !0
|
|
232
|
-
})], I.prototype, "disabled", void 0), r([S()], I.prototype, "_hasIcon", void 0), r([S()], I.prototype, "_hasTooltipSlot", void 0), customElements.get("luzmo-formula-draggable-field") || customElements.define("luzmo-formula-draggable-field", I);
|
|
233
|
-
//#endregion
|
|
234
|
-
//#region src/utils/formula/render-explanation-tooltip.ts
|
|
235
|
-
var L = {
|
|
236
|
-
numeric: "numeric",
|
|
237
|
-
hierarchy: "hierarchy",
|
|
238
|
-
datetime: "datetime"
|
|
239
|
-
};
|
|
240
|
-
function R(e, t) {
|
|
241
|
-
return t ? v`<code class="tooltip-example">${e.split(/(⟨\w+⟩)/g).map((e) => {
|
|
242
|
-
let t = e.match(/^⟨(\w+)⟩$/);
|
|
243
|
-
if (t) {
|
|
244
|
-
let e = L[t[1]];
|
|
245
|
-
if (e) return v`<span class="example-icon" aria-hidden="true">${_(a({ type: e }, "s"))}</span>`;
|
|
246
|
-
}
|
|
247
|
-
return e;
|
|
248
|
-
})}</code>` : v`<code class="tooltip-example">${e}</code>`;
|
|
249
|
-
}
|
|
250
|
-
function z(e, t, n) {
|
|
251
|
-
return !e && !t ? y : v`
|
|
252
|
-
<div slot="tooltip" class="explanation-tooltip">
|
|
253
|
-
${e ? v`<span>${e}</span>` : y}
|
|
254
|
-
${t ? R(t, n) : y}
|
|
255
|
-
</div>
|
|
256
|
-
`;
|
|
257
|
-
}
|
|
258
|
-
//#endregion
|
|
259
|
-
//#region src/components/formula-editor/formula-aggregations-list.ts
|
|
260
|
-
var B = s();
|
|
261
|
-
function V(e) {
|
|
262
|
-
return v`
|
|
263
|
-
<div class="list-loading" role="status" part="list-loading">
|
|
264
|
-
<luzmo-progress-circle
|
|
265
|
-
indeterminate
|
|
266
|
-
.label=${C("Loading aggregations", { desc: "Formula editor aggregations list loading spinner label" })}
|
|
267
|
-
.size=${e}
|
|
268
|
-
></luzmo-progress-circle>
|
|
269
|
-
</div>
|
|
270
|
-
`;
|
|
271
|
-
}
|
|
272
|
-
function H({ size: e, explanationTooltips: t, disabled: n }) {
|
|
273
|
-
return v`
|
|
274
|
-
<div class="list-items" part="list-items" role="list">
|
|
275
|
-
${T(c, (e) => e, (r) => v`
|
|
276
|
-
<luzmo-formula-draggable-field
|
|
277
|
-
role="listitem"
|
|
278
|
-
kind="aggregation"
|
|
279
|
-
value=${r}
|
|
280
|
-
.label=${B[r]?.label() ?? r}
|
|
281
|
-
.size=${e}
|
|
282
|
-
?disabled=${n}
|
|
283
|
-
>
|
|
284
|
-
${t ? z(B[r]?.description() ?? "", B[r]?.example() ?? "", B[r]?.exampleHasIcons ?? !1) : y}
|
|
285
|
-
</luzmo-formula-draggable-field>
|
|
286
|
-
`)}
|
|
287
|
-
</div>
|
|
288
|
-
`;
|
|
289
|
-
}
|
|
290
|
-
function U(e) {
|
|
291
|
-
return v`
|
|
292
|
-
<div class="list" part="list aggregations-list">
|
|
293
|
-
<luzmo-field-label class="list-header" part="list-header" .size=${e.size}
|
|
294
|
-
>${C("Aggregations", { desc: "Formula editor aggregations list title" })}</luzmo-field-label
|
|
295
|
-
>
|
|
296
|
-
${e.loading ? V(e.size) : H(e)}
|
|
297
|
-
</div>
|
|
298
|
-
`;
|
|
299
|
-
}
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region src/components/formula-editor/formula-datasets-list.ts
|
|
302
|
-
function W(e, t, n) {
|
|
303
|
-
let r = t.trim().toLowerCase();
|
|
304
|
-
return r ? e.columns.filter((e) => o(e.name, n).toLowerCase().includes(r)) : e.columns;
|
|
305
|
-
}
|
|
306
|
-
function G(e) {
|
|
307
|
-
return v`
|
|
308
|
-
<div class="list-loading" role="status" part="list-loading">
|
|
309
|
-
<luzmo-progress-circle
|
|
310
|
-
indeterminate
|
|
311
|
-
.label=${C("Loading columns", { desc: "Formula editor datasets list loading spinner label" })}
|
|
312
|
-
.size=${e}
|
|
313
|
-
></luzmo-progress-circle>
|
|
314
|
-
</div>
|
|
315
|
-
`;
|
|
316
|
-
}
|
|
317
|
-
function K(e, t) {
|
|
318
|
-
let { datasets: n, contentLanguage: r, size: i, disabled: a, searchQuery: s, collapsed: c, onToggleCollapse: l, onInsertColumn: u } = e;
|
|
319
|
-
return v`
|
|
320
|
-
<div class="list-scroll" part="list-scroll">
|
|
321
|
-
${T(n, (e) => e.id, (e) => {
|
|
322
|
-
let n = W(e, s, r), d = c.has(e.id);
|
|
323
|
-
return n.length === 0 ? y : v`
|
|
324
|
-
<div class="dataset-group" part="dataset-group">
|
|
325
|
-
${t ? v`<button
|
|
326
|
-
class="dataset-group-header"
|
|
327
|
-
part="dataset-group-header"
|
|
328
|
-
type="button"
|
|
329
|
-
aria-expanded=${!d}
|
|
330
|
-
@click=${() => l(e.id)}
|
|
331
|
-
>
|
|
332
|
-
<span class="dataset-group-icon" aria-hidden="true"
|
|
333
|
-
>${_(d ? te : ee)}</span
|
|
334
|
-
>
|
|
335
|
-
<span class="dataset-group-label">${o(e.name, r) || e.id}</span>
|
|
336
|
-
</button>` : y}
|
|
337
|
-
${d ? y : v`<div class="dataset-group-fields" role="list">
|
|
338
|
-
${T(n, (e) => `${e.datasetId}:${e.columnId}`, (e) => v`
|
|
339
|
-
<luzmo-data-field
|
|
340
|
-
role="listitem"
|
|
341
|
-
hide-sublevels
|
|
342
|
-
.data=${e}
|
|
343
|
-
.language=${r}
|
|
344
|
-
.size=${i}
|
|
345
|
-
?disabled=${a}
|
|
346
|
-
@dblclick=${() => u(e)}
|
|
347
|
-
></luzmo-data-field>
|
|
348
|
-
`)}
|
|
349
|
-
</div>`}
|
|
350
|
-
</div>
|
|
351
|
-
`;
|
|
352
|
-
})}
|
|
353
|
-
</div>
|
|
354
|
-
`;
|
|
355
|
-
}
|
|
356
|
-
function q(e) {
|
|
357
|
-
let { size: t, loading: n = !1, disabled: r = !1, searchQuery: i, onSearchInput: a } = e, o = e.datasets.length > 1;
|
|
358
|
-
return v`
|
|
359
|
-
<div class="list" part="list datasets-list">
|
|
360
|
-
<luzmo-field-label class="list-header" part="list-header" .size=${t}
|
|
361
|
-
>${C("Data", {
|
|
362
|
-
id: "formula-datasets-list-title",
|
|
363
|
-
desc: "Formula editor datasets list title"
|
|
364
|
-
})}</luzmo-field-label
|
|
365
|
-
>
|
|
366
|
-
<luzmo-search
|
|
367
|
-
.size=${t}
|
|
368
|
-
.placeholder=${C("Search columns...", { desc: "Formula editor datasets list search placeholder" })}
|
|
369
|
-
.value=${i}
|
|
370
|
-
?disabled=${r || n}
|
|
371
|
-
@input=${a}
|
|
372
|
-
></luzmo-search>
|
|
373
|
-
${n ? G(t) : K(e, o)}
|
|
374
|
-
</div>
|
|
375
|
-
`;
|
|
376
|
-
}
|
|
377
|
-
//#endregion
|
|
378
|
-
//#region src/components/formula-editor/formula-description.ts
|
|
379
|
-
var J = {
|
|
380
|
-
numeric: "numeric",
|
|
381
|
-
hierarchy: "hierarchy",
|
|
382
|
-
datetime: "datetime"
|
|
383
|
-
}, Y = d(), X = s(), ie = f();
|
|
384
|
-
function ae(e, t) {
|
|
385
|
-
return t ? v`<code class="example-code">${e.split(/(⟨\w+⟩)/g).map((e) => {
|
|
386
|
-
let t = e.match(/^⟨(\w+)⟩$/);
|
|
387
|
-
if (t) {
|
|
388
|
-
let e = J[t[1]];
|
|
389
|
-
if (e) return v`<span class="example-icon" aria-hidden="true">${_(a({ type: e }, "s"))}</span>`;
|
|
390
|
-
}
|
|
391
|
-
return e;
|
|
392
|
-
})}</code>` : v`<code class="example-code">${e}</code>`;
|
|
393
|
-
}
|
|
394
|
-
function oe(e) {
|
|
395
|
-
if (!e) return v`
|
|
396
|
-
<div class="description-empty" part="description-empty">
|
|
397
|
-
${C("Hover a function or aggregation to see its description.", { desc: "Formula editor description empty state" })}
|
|
398
|
-
</div>
|
|
399
|
-
`;
|
|
400
|
-
if (e.kind === "grouping") {
|
|
401
|
-
let t = ie[e.id];
|
|
402
|
-
return v`
|
|
403
|
-
<div class="description-title" part="description-title">${t?.label() ?? e.id}</div>
|
|
404
|
-
<div class="description-text" part="description-text">${t?.description() ?? ""}</div>
|
|
405
|
-
`;
|
|
406
|
-
}
|
|
407
|
-
let t = e.kind === "aggregation" ? X[e.id] : Y[e.id];
|
|
408
|
-
return t ? v`
|
|
409
|
-
<div class="description-title" part="description-title">${t.label()}</div>
|
|
410
|
-
${ae(t.example(), t.exampleHasIcons ?? !1)}
|
|
411
|
-
<div class="description-text" part="description-text">${t.description()}</div>
|
|
412
|
-
` : y;
|
|
413
|
-
}
|
|
414
|
-
function se({ target: e, size: t }) {
|
|
415
|
-
return v`
|
|
416
|
-
<div class="list description" part="list description-list">
|
|
417
|
-
<luzmo-field-label class="list-header" part="list-header" .size=${t}
|
|
418
|
-
>${C("Description", { desc: "Formula editor description title" })}</luzmo-field-label
|
|
419
|
-
>
|
|
420
|
-
${oe(e)}
|
|
421
|
-
</div>
|
|
422
|
-
`;
|
|
423
|
-
}
|
|
424
|
-
//#endregion
|
|
425
|
-
//#region src/components/formula-editor/formula-functions-list.ts
|
|
426
|
-
var Z = d();
|
|
427
|
-
function Q(e) {
|
|
428
|
-
return v`
|
|
429
|
-
<div class="list-loading" role="status" part="list-loading">
|
|
430
|
-
<luzmo-progress-circle
|
|
431
|
-
indeterminate
|
|
432
|
-
.label=${C("Loading functions", { desc: "Formula editor functions list loading spinner label" })}
|
|
433
|
-
.size=${e}
|
|
434
|
-
></luzmo-progress-circle>
|
|
435
|
-
</div>
|
|
436
|
-
`;
|
|
437
|
-
}
|
|
438
|
-
function ce(e, { size: t, explanationTooltips: n, disabled: r }) {
|
|
439
|
-
return v`
|
|
440
|
-
<div class="list-items" part="list-items" role="list">
|
|
441
|
-
${T(e, (e) => e, (e) => v`
|
|
442
|
-
<luzmo-formula-draggable-field
|
|
443
|
-
role="listitem"
|
|
444
|
-
kind="function"
|
|
445
|
-
value=${e}
|
|
446
|
-
.label=${Z[e]?.label() ?? e}
|
|
447
|
-
.size=${t}
|
|
448
|
-
?disabled=${r}
|
|
449
|
-
>
|
|
450
|
-
${n ? z(Z[e]?.description() ?? "", Z[e]?.example() ?? "", Z[e]?.exampleHasIcons ?? !1) : y}
|
|
451
|
-
</luzmo-formula-draggable-field>
|
|
452
|
-
`)}
|
|
453
|
-
</div>
|
|
454
|
-
`;
|
|
455
|
-
}
|
|
456
|
-
function le(e) {
|
|
457
|
-
let { size: t, loading: n = !1, disabled: r = !1, selectedCategory: i, onCategoryChange: a } = e, o = l(), s = o.find((e) => e.key === i) ?? o[0], c = o.map((e) => ({
|
|
458
|
-
value: e.key,
|
|
459
|
-
label: e.title()
|
|
460
|
-
}));
|
|
461
|
-
return v`
|
|
462
|
-
<div class="list" part="list functions-list">
|
|
463
|
-
<luzmo-field-label class="list-header" part="list-header" .size=${t}
|
|
464
|
-
>${C("Functions", { desc: "Formula editor functions list title" })}</luzmo-field-label
|
|
465
|
-
>
|
|
466
|
-
<luzmo-select
|
|
467
|
-
selects="single"
|
|
468
|
-
variant="highlight"
|
|
469
|
-
.size=${t}
|
|
470
|
-
.options=${c}
|
|
471
|
-
.value=${[s.key]}
|
|
472
|
-
aria-label=${C("Function category", { desc: "Accessible label for the function category selector" })}
|
|
473
|
-
?disabled=${r || n}
|
|
474
|
-
@change=${a}
|
|
475
|
-
></luzmo-select>
|
|
476
|
-
${n ? Q(t) : ce(s.functions, e)}
|
|
477
|
-
</div>
|
|
478
|
-
`;
|
|
479
|
-
}
|
|
480
|
-
//#endregion
|
|
481
|
-
//#region src/components/formula-editor/formula-editor.module.scss?inline
|
|
482
|
-
var ue = ":host{--luzmo-formula-editor-error-color:var(--luzmo-negative-color);--luzmo-formula-editor-error-background:color-mix(in srgb, var(--luzmo-negative-color) 10%, var(--luzmo-background-color) 90%);--luzmo-formula-editor-error-text-color:var(--luzmo-font-color);--luzmo-formula-font-size:var(--luzmo-font-size);--luzmo-formula-pill-disclosure-icon-size:var(--luzmo-font-size);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-m);--luzmo-formula-control-height:calc(var(--luzmo-component-height) - 2 * var(--luzmo-spacing-1));--formula-editor-lists-height:24rem}:host([size=s]){--luzmo-formula-font-size:var(--luzmo-font-size-s);--luzmo-formula-control-height:calc(var(--luzmo-component-height-s) - 2 * var(--luzmo-spacing-1));--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-s);--formula-editor-lists-height:20rem}:host([size=l]){--luzmo-formula-font-size:var(--luzmo-font-size-l);--luzmo-formula-control-height:calc(var(--luzmo-component-height-l) - 2 * var(--luzmo-spacing-1));--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-l);--formula-editor-lists-height:28rem}:host([size=xl]){--luzmo-formula-font-size:var(--luzmo-font-size-xl);--luzmo-formula-control-height:calc(var(--luzmo-component-height-xl) - 2 * var(--luzmo-spacing-1));--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-xl);--formula-editor-lists-height:32rem}:host{box-sizing:border-box;width:100%;max-width:100%;font-family:var(--luzmo-font-family);color:var(--luzmo-font-color);display:block}.formula-editor{flex-direction:column;width:100%;display:flex}luzmo-formula-codemirror,.formula-codemirror-loading{--luzmo-formula-field-bottom-radius:0;z-index:1;width:100%;position:relative}.error{align-items:flex-start;gap:var(--luzmo-spacing-2);padding:var(--luzmo-spacing-2) var(--luzmo-spacing-3);border:1px solid var(--luzmo-formula-editor-error-color,var(--luzmo-negative-color));background:var(--luzmo-formula-editor-error-background,color-mix(in srgb, var(--luzmo-negative-color) 10%, var(--luzmo-background-color) 90%));color:var(--luzmo-formula-editor-error-text-color,var(--luzmo-font-color));font-size:var(--luzmo-font-size-s);border-block-start:0;line-height:1.4;display:flex}.error svg{flex:none;margin-block-start:.2em}.validating{align-items:center;gap:var(--luzmo-spacing-2);padding:var(--luzmo-spacing-2) var(--luzmo-spacing-3);border:1px solid var(--luzmo-border-color);background:var(--luzmo-background-color);color:var(--luzmo-font-color-extra-dimmed);font-size:var(--luzmo-font-size-s);border-block-start:0;line-height:1.4;display:flex}.lists{box-sizing:border-box;min-height:0;border:1px solid var(--luzmo-border-color);border-block-start:0;border-end-end-radius:var(--luzmo-border-radius);border-end-start-radius:var(--luzmo-border-radius);grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0;padding-block-start:var(--luzmo-formula-editor-gap,0);display:grid}:host([show-aggregations]) .lists,:host([explanation-display=description]) .lists{grid-template-columns:repeat(3,minmax(0,1fr))}:host([show-aggregations][explanation-display=description]) .lists{grid-template-columns:repeat(4,minmax(0,1fr))}.lists>*{min-width:0;padding:var(--luzmo-formula-editor-list-padding,var(--luzmo-spacing-3));--luzmo-formula-list-height:var(--luzmo-formula-editor-lists-height,var(--formula-editor-lists-height,16rem))}.lists>:not(:last-child){border-inline-end:1px solid var(--luzmo-border-color)}.lists{--list-text-font-size:var(--luzmo-font-size)}:host([size=s]) .lists{--list-text-font-size:var(--luzmo-font-size-s)}:host([size=l]) .lists{--list-text-font-size:var(--luzmo-font-size-l)}:host([size=xl]) .lists{--list-text-font-size:var(--luzmo-font-size-xl)}.lists .list{gap:var(--luzmo-spacing-2);min-height:0;height:var(--luzmo-formula-list-height,100%);box-sizing:border-box;flex-direction:column;display:flex}.lists .list-header{flex-shrink:0;margin-block-end:var(--luzmo-spacing-1);display:block}.lists .list-items{gap:var(--luzmo-spacing-1);flex-direction:column;align-content:flex-start;min-height:0;display:flex;overflow-y:auto}.lists .list-items::-webkit-scrollbar{width:var(--luzmo-scrollbar-width,6px)}.lists .list-items::-webkit-scrollbar-track{background:var(--luzmo-scrollbar-track-background,transparent);border-radius:var(--luzmo-scrollbar-track-border-radius,4px)}.lists .list-items::-webkit-scrollbar-thumb{background:var(--luzmo-scrollbar-thumb-background,#0003);border-radius:var(--luzmo-scrollbar-thumb-border-radius,4px)}.lists .list-items::-webkit-scrollbar-thumb:hover{background:var(--luzmo-scrollbar-thumb-hover-background,#00000059)}.lists .list-items{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-scrollbar-thumb-background,#0003) var(--luzmo-scrollbar-track-background,transparent)}.lists .list-scroll{gap:var(--luzmo-spacing-2,.5rem);flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden auto}.lists .list-scroll::-webkit-scrollbar{width:var(--luzmo-scrollbar-width,6px)}.lists .list-scroll::-webkit-scrollbar-track{background:var(--luzmo-scrollbar-track-background,transparent);border-radius:var(--luzmo-scrollbar-track-border-radius,4px)}.lists .list-scroll::-webkit-scrollbar-thumb{background:var(--luzmo-scrollbar-thumb-background,#0003);border-radius:var(--luzmo-scrollbar-thumb-border-radius,4px)}.lists .list-scroll::-webkit-scrollbar-thumb:hover{background:var(--luzmo-scrollbar-thumb-hover-background,#00000059)}.lists .list-scroll{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-scrollbar-thumb-background,#0003) var(--luzmo-scrollbar-track-background,transparent)}.lists luzmo-select,.lists luzmo-search{width:100%}.lists .list-loading{min-height:0;padding:var(--luzmo-spacing-4);flex:1;justify-content:center;align-items:center;display:flex}.lists .dataset-group{gap:var(--luzmo-spacing-1);flex-direction:column;display:flex}.lists .dataset-group-header{align-items:center;gap:var(--luzmo-spacing-1);width:100%;padding:var(--luzmo-spacing-1) 0;color:var(--luzmo-font-color-extra-dimmed);font:inherit;font-size:var(--list-text-font-size);font-weight:var(--luzmo-font-weight-bold);text-align:start;cursor:pointer;background:0 0;border:none;display:flex}.lists .dataset-group-fields{gap:var(--luzmo-spacing-1);flex-direction:column;display:flex}.lists .dataset-group-fields luzmo-data-field{--luzmo-data-field-level-border-width:0;--luzmo-data-field-level-background-color:transparent;--luzmo-data-field-level-horizontal-padding:var(--luzmo-spacing-3);--luzmo-data-field-level-gap:var(--luzmo-spacing-3);--luzmo-data-field-level-background-color-hover:var(--luzmo-formula-editor-data-field-background-color-hover,var(--luzmo-background-color-highlight));--luzmo-data-field-level-border-color-hover:var(--luzmo-formula-editor-data-field-border-color-hover,var(--luzmo-background-color-highlight));--luzmo-data-field-level-background-color-active:var(--luzmo-formula-editor-data-field-background-color-active,var(--luzmo-background-color-highlight-down));--luzmo-data-field-level-border-color-active:var(--luzmo-formula-editor-data-field-border-color-active,var(--luzmo-background-color-highlight-down));--luzmo-data-field-level-background-color-focus-visible:var(--luzmo-formula-editor-data-field-background-color-focus,var(--luzmo-background-color-highlight-focus))}.lists .description{gap:var(--luzmo-spacing-2)}.lists .description-title{font-weight:var(--luzmo-font-weight-bold);font-size:var(--list-text-font-size)}.lists .description-text{font-size:var(--list-text-font-size);color:var(--luzmo-font-color-extra-dimmed);line-height:1.4}.lists .description-empty{font-size:var(--list-text-font-size);color:var(--luzmo-font-color-tertiary,#767676);font-style:italic}.lists .example-code{align-items:center;gap:var(--luzmo-spacing-1);padding:var(--luzmo-spacing-2);border-radius:var(--luzmo-border-radius-s);background-color:var(--luzmo-background-color-highlight);font-family:var(--luzmo-font-family-mono,monospace);font-size:var(--list-text-font-size);flex-wrap:wrap;display:inline-flex}.lists .example-icon{vertical-align:middle;display:inline-flex}.lists .explanation-tooltip{gap:var(--luzmo-spacing-2);text-align:start;flex-direction:column;display:flex}.lists .explanation-tooltip .tooltip-example{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-weight:var(--luzmo-font-weight-bold,700);white-space:pre-wrap;display:block}.lists .explanation-tooltip .example-icon{display:inline}", de = 750, $ = class extends h {
|
|
483
|
-
constructor(...e) {
|
|
484
|
-
super(...e), this.expressionResource = "formula", this.explanationDisplay = "tooltip", this._loadingDatasets = !1, this._describeTarget = null, this._validity = {
|
|
485
|
-
valid: !0,
|
|
486
|
-
error: null,
|
|
487
|
-
validating: !1
|
|
488
|
-
}, this._selectedCategory = "string", this._searchQuery = "", this._collapsedDatasets = /* @__PURE__ */ new Set(), this._validWordIdentifiers = M(this._store.functionDataMap, this._store.aggregationFunctionDataMap), this._validationSequence = 0;
|
|
489
|
-
}
|
|
490
|
-
static {
|
|
491
|
-
this.styles = b(ue);
|
|
492
|
-
}
|
|
493
|
-
get _emitDebounceMs() {
|
|
494
|
-
return de;
|
|
495
|
-
}
|
|
496
|
-
_onExpressionComputed(e) {
|
|
497
|
-
e !== this._lastEmittedExpression && (this._validate(e), this._emitExpressionChanged(e));
|
|
498
|
-
}
|
|
499
|
-
_setLoading(e) {
|
|
500
|
-
this._loadingDatasets = e, this._store.setLoading(e);
|
|
501
|
-
}
|
|
502
|
-
_validate(e) {
|
|
503
|
-
let t = this._localValidity(e), n = ++this._validationSequence;
|
|
504
|
-
if (!t.valid) {
|
|
505
|
-
this._emitValidity(t);
|
|
506
|
-
return;
|
|
507
|
-
}
|
|
508
|
-
if (!this.authKey || !this.authToken) {
|
|
509
|
-
this._emitValidity(this._offlineValidity(e));
|
|
510
|
-
return;
|
|
511
|
-
}
|
|
512
|
-
this._runBackendValidation(e, n);
|
|
513
|
-
}
|
|
514
|
-
async _runBackendValidation(e, t) {
|
|
515
|
-
this._emitValidity({
|
|
516
|
-
...this._validity,
|
|
517
|
-
validating: !0
|
|
518
|
-
});
|
|
519
|
-
try {
|
|
520
|
-
i.configure({
|
|
521
|
-
apiUrl: this.apiUrl,
|
|
522
|
-
authKey: this.authKey ?? "",
|
|
523
|
-
authToken: this.authToken ?? ""
|
|
524
|
-
});
|
|
525
|
-
let n = await i.validate(this.expressionResource, {
|
|
526
|
-
expression: e,
|
|
527
|
-
explain_error: !0
|
|
528
|
-
});
|
|
529
|
-
if (t !== this._validationSequence) return;
|
|
530
|
-
this._emitValidity({
|
|
531
|
-
valid: n.valid,
|
|
532
|
-
error: n.valid ? null : n.explanation ?? n.reason ?? null,
|
|
533
|
-
validating: !1
|
|
534
|
-
});
|
|
535
|
-
} catch (n) {
|
|
536
|
-
console.warn("[luzmo-formula-editor] Expression validation failed, falling back to local validation:", n), t === this._validationSequence && this._emitValidity(this._offlineValidity(e));
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
_localValidity(e) {
|
|
540
|
-
return e.trim() ? e.includes("##EMPTYARG-") ? {
|
|
541
|
-
valid: !1,
|
|
542
|
-
error: C("Complete all empty arguments.", { desc: "Formula editor validation error for empty arguments" }),
|
|
543
|
-
validating: !1
|
|
544
|
-
} : u.test(e) ? {
|
|
545
|
-
valid: !1,
|
|
546
|
-
error: C("Provide a value for every aggregation.", { desc: "Formula editor validation error for empty aggregations" }),
|
|
547
|
-
validating: !1
|
|
548
|
-
} : {
|
|
549
|
-
valid: !0,
|
|
550
|
-
error: null,
|
|
551
|
-
validating: !1
|
|
552
|
-
} : {
|
|
553
|
-
valid: !1,
|
|
554
|
-
error: null,
|
|
555
|
-
validating: !1
|
|
556
|
-
};
|
|
557
|
-
}
|
|
558
|
-
_offlineValidity(e) {
|
|
559
|
-
let t = N(e, this._validWordIdentifiers);
|
|
560
|
-
return t ? {
|
|
561
|
-
valid: !1,
|
|
562
|
-
error: C(w`'${t}' is not a valid column, function, or value.`, { desc: "Formula editor validation error for unresolved free text in the expression" }),
|
|
563
|
-
validating: !1
|
|
564
|
-
} : {
|
|
565
|
-
valid: !0,
|
|
566
|
-
error: null,
|
|
567
|
-
validating: !1
|
|
568
|
-
};
|
|
569
|
-
}
|
|
570
|
-
_emitValidity(e) {
|
|
571
|
-
this._validity = e, this.dispatchEvent(new CustomEvent("luzmo-validity-changed", {
|
|
572
|
-
bubbles: !0,
|
|
573
|
-
composed: !0,
|
|
574
|
-
detail: e
|
|
575
|
-
}));
|
|
576
|
-
}
|
|
577
|
-
_insertColumn(e) {
|
|
578
|
-
this.readonly || !e.columnId || this._store.onExtendExpression({
|
|
579
|
-
type: "column",
|
|
580
|
-
id: e.columnId,
|
|
581
|
-
datasetId: e.datasetId,
|
|
582
|
-
aggregationWidgetId: this._store.lastFocusedAggregationWidgetId,
|
|
583
|
-
targetEmptyArgumentId: this._store.lastFocusedEmptyArgumentId ?? void 0
|
|
584
|
-
});
|
|
585
|
-
}
|
|
586
|
-
_handleCategoryChange(e) {
|
|
587
|
-
let t = e.detail?.value?.[0];
|
|
588
|
-
t && (this._selectedCategory = t);
|
|
589
|
-
}
|
|
590
|
-
_handleSearchInput(e) {
|
|
591
|
-
this._searchQuery = e.target.value;
|
|
592
|
-
}
|
|
593
|
-
_toggleCollapse(e) {
|
|
594
|
-
let t = new Set(this._collapsedDatasets);
|
|
595
|
-
t.has(e) ? t.delete(e) : t.add(e), this._collapsedDatasets = t;
|
|
596
|
-
}
|
|
597
|
-
_handleDraggableActivate(e) {
|
|
598
|
-
if (e.stopPropagation(), this.readonly) return;
|
|
599
|
-
let { kind: t, value: n } = e.detail;
|
|
600
|
-
this._store.onExtendExpression({
|
|
601
|
-
type: t,
|
|
602
|
-
id: n,
|
|
603
|
-
aggregationWidgetId: this._store.lastFocusedAggregationWidgetId,
|
|
604
|
-
targetEmptyArgumentId: this._store.lastFocusedEmptyArgumentId ?? void 0
|
|
605
|
-
});
|
|
606
|
-
}
|
|
607
|
-
_handleDraggableDescribe(e) {
|
|
608
|
-
e.stopPropagation();
|
|
609
|
-
let { kind: t, value: n } = e.detail;
|
|
610
|
-
this._describeTarget = n ? {
|
|
611
|
-
kind: t,
|
|
612
|
-
id: n
|
|
613
|
-
} : null;
|
|
614
|
-
}
|
|
615
|
-
_renderLists() {
|
|
616
|
-
if (this.readonly) return y;
|
|
617
|
-
let e = this.explanationDisplay === "tooltip";
|
|
618
|
-
return v`
|
|
619
|
-
<div
|
|
620
|
-
class="lists"
|
|
621
|
-
part="lists"
|
|
622
|
-
@luzmo-formula-draggable-field-activate=${this._handleDraggableActivate}
|
|
623
|
-
@luzmo-formula-draggable-field-describe=${this._handleDraggableDescribe}
|
|
624
|
-
>
|
|
625
|
-
${this.showAggregations ? U({
|
|
626
|
-
explanationTooltips: e,
|
|
627
|
-
loading: this._loadingDatasets,
|
|
628
|
-
size: this.size
|
|
629
|
-
}) : y}
|
|
630
|
-
${q({
|
|
631
|
-
datasets: this._datasets,
|
|
632
|
-
loading: this._loadingDatasets,
|
|
633
|
-
contentLanguage: this.contentLanguage,
|
|
634
|
-
size: this.size,
|
|
635
|
-
searchQuery: this._searchQuery,
|
|
636
|
-
collapsed: this._collapsedDatasets,
|
|
637
|
-
onSearchInput: (e) => this._handleSearchInput(e),
|
|
638
|
-
onToggleCollapse: (e) => this._toggleCollapse(e),
|
|
639
|
-
onInsertColumn: (e) => this._insertColumn(e)
|
|
640
|
-
})}
|
|
641
|
-
${le({
|
|
642
|
-
explanationTooltips: e,
|
|
643
|
-
loading: this._loadingDatasets,
|
|
644
|
-
size: this.size,
|
|
645
|
-
selectedCategory: this._selectedCategory,
|
|
646
|
-
onCategoryChange: (e) => this._handleCategoryChange(e)
|
|
647
|
-
})}
|
|
648
|
-
${e ? y : se({
|
|
649
|
-
target: this._describeTarget,
|
|
650
|
-
size: this.size
|
|
651
|
-
})}
|
|
652
|
-
</div>
|
|
653
|
-
`;
|
|
654
|
-
}
|
|
655
|
-
_renderValidationFeedback() {
|
|
656
|
-
return this._validity.validating ? v`<div class="validating" part="validating" role="status" aria-live="polite">
|
|
657
|
-
<luzmo-progress-circle
|
|
658
|
-
indeterminate
|
|
659
|
-
size="s"
|
|
660
|
-
.label=${C("Validating formula", { desc: "Formula editor spinner label shown while the expression is being validated" })}
|
|
661
|
-
></luzmo-progress-circle>
|
|
662
|
-
<span>${C("Validating…", { desc: "Formula editor status text shown while the expression is being validated" })}</span>
|
|
663
|
-
</div>` : !this._validity.valid && this._validity.error ? v`<div class="error" part="error" role="alert">
|
|
664
|
-
${_(g)}
|
|
665
|
-
<span>${this._validity.error}</span>
|
|
666
|
-
</div>` : y;
|
|
667
|
-
}
|
|
668
|
-
render() {
|
|
669
|
-
let e = !this._validity.valid && !!this._validity.error && !this._validity.validating;
|
|
670
|
-
return v`
|
|
671
|
-
<div class="formula-editor" part="formula-editor">
|
|
672
|
-
${this._renderFormulaCodeMirror({ hasError: e })} ${this._renderValidationFeedback()}
|
|
673
|
-
${this._renderLists()}
|
|
674
|
-
</div>
|
|
675
|
-
`;
|
|
676
|
-
}
|
|
677
|
-
};
|
|
678
|
-
//#endregion
|
|
679
|
-
//#region src/components/formula-editor/index.ts
|
|
680
|
-
r([x({
|
|
681
|
-
type: String,
|
|
682
|
-
attribute: "expression-resource",
|
|
683
|
-
reflect: !0
|
|
684
|
-
})], $.prototype, "expressionResource", void 0), r([x({
|
|
685
|
-
type: String,
|
|
686
|
-
attribute: "explanation-display",
|
|
687
|
-
reflect: !0
|
|
688
|
-
})], $.prototype, "explanationDisplay", void 0), r([S()], $.prototype, "_loadingDatasets", void 0), r([S()], $.prototype, "_describeTarget", void 0), r([S()], $.prototype, "_validity", void 0), r([S()], $.prototype, "_selectedCategory", void 0), r([S()], $.prototype, "_searchQuery", void 0), r([S()], $.prototype, "_collapsedDatasets", void 0), $ = r([re()], $), customElements.get("luzmo-formula-editor") || customElements.define("luzmo-formula-editor", $);
|
|
689
|
-
//#endregion
|
|
690
|
-
export { $ as t };
|