@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,355 +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 { i as e, n as t } from "./base-DPqRkMth.js";
|
|
21
|
-
import { t as n } from "./decorate-DyMgX_Uh.js";
|
|
22
|
-
import { t as r } from "./localized-mixin-D1ss6vE4.js";
|
|
23
|
-
import { t as i } from "./slots-config-D3ivNWtC.js";
|
|
24
|
-
import "./item-slot-drop-iXidsCW1.js";
|
|
25
|
-
import { html as a, unsafeCSS as o } from "lit";
|
|
26
|
-
import { property as s, state as c } from "lit/decorators.js";
|
|
27
|
-
import { localized as l } from "@lit/localize";
|
|
28
|
-
import { ifDefined as u } from "lit/directives/if-defined.js";
|
|
29
|
-
import { Task as d } from "@lit/task";
|
|
30
|
-
import { styleMap as f } from "lit/directives/style-map.js";
|
|
31
|
-
//#region node_modules/@luzmo/dashboard-contents-types/shared/configs/positioning.config.js
|
|
32
|
-
var p = "auto";
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region node_modules/@luzmo/dashboard-contents-types/shared/utils/positioning.utils.js
|
|
35
|
-
function m(e) {
|
|
36
|
-
let t = {};
|
|
37
|
-
return e.forEach((e, n) => {
|
|
38
|
-
t[e] = {
|
|
39
|
-
column: 1,
|
|
40
|
-
row: n + 1,
|
|
41
|
-
align: "center",
|
|
42
|
-
justify: "center",
|
|
43
|
-
rotate: !1
|
|
44
|
-
};
|
|
45
|
-
}), {
|
|
46
|
-
grid: {
|
|
47
|
-
columns: 1,
|
|
48
|
-
rows: e.length,
|
|
49
|
-
columnSizes: ["1fr"],
|
|
50
|
-
rowSizes: e.map(() => p),
|
|
51
|
-
gap: "0"
|
|
52
|
-
},
|
|
53
|
-
slots: t
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region node_modules/@luzmo/dashboard-contents-types/shared/utils/positioning-registry.generated.js
|
|
58
|
-
var h = {
|
|
59
|
-
"area-chart": () => import("./area-chart-positioning.config-Br2P8CiM.js"),
|
|
60
|
-
"bar-chart": () => import("./bar-chart-positioning.config-BIIRV0eK.js"),
|
|
61
|
-
"box-plot": () => import("./box-plot-positioning.config-AHLRC1d-.js"),
|
|
62
|
-
"bubble-chart": () => import("./bubble-chart-positioning.config-55OuqSo_.js"),
|
|
63
|
-
"bullet-chart": () => import("./bullet-chart-positioning.config-CIkbLbi3.js"),
|
|
64
|
-
"choropleth-map": () => import("./choropleth-map-positioning.config-C9QGy6XL.js"),
|
|
65
|
-
"circle-pack-chart": () => import("./circle-pack-chart-positioning.config-vl4eZHhs.js"),
|
|
66
|
-
"circular-gauge": () => import("./circular-gauge-positioning.config-B-65zgBL.js"),
|
|
67
|
-
"column-chart": () => import("./column-chart-positioning.config-CDISLkz9.js"),
|
|
68
|
-
"combination-chart": () => import("./combination-chart-positioning.config-C0immu_Z.js"),
|
|
69
|
-
"conditional-number": () => import("./conditional-number-positioning.config-BfOZxdI3.js"),
|
|
70
|
-
"date-comparison-filter": () => import("./date-comparison-filter-positioning.config-DokVHoP8.js"),
|
|
71
|
-
"date-filter": () => import("./date-filter-positioning.config-D8wFL4L9.js"),
|
|
72
|
-
"donut-chart": () => import("./donut-chart-positioning.config-BPY9_d1a.js"),
|
|
73
|
-
"dropdown-filter": () => import("./dropdown-filter-positioning.config-D1tdnuCP.js"),
|
|
74
|
-
"evolution-number": () => import("./evolution-number-positioning.config-Cylb9kiq.js"),
|
|
75
|
-
"funnel-chart": () => import("./funnel-chart-positioning.config-si2pX2gx.js"),
|
|
76
|
-
"heat-map": () => import("./heat-map-positioning.config-DOlrArXK.js"),
|
|
77
|
-
"heat-table": () => import("./heat-table-positioning.config-COaenQ4o.js"),
|
|
78
|
-
"hexbin-map": () => import("./hexbin-map-positioning.config-BhuH9uzL.js"),
|
|
79
|
-
"line-chart": () => import("./line-chart-positioning.config-A4TQKtrY.js"),
|
|
80
|
-
"marker-map": () => import("./marker-map-positioning.config-B-EQ3Kdq.js"),
|
|
81
|
-
"ohlc-chart": () => import("./ohlc-chart-positioning.config-Shmm9MJf.js"),
|
|
82
|
-
"parallel-coordinates-plot": () => import("./parallel-coordinates-plot-positioning.config-C05rBaKD.js"),
|
|
83
|
-
"pivot-table": () => import("./pivot-table-positioning.config-BGlPvMyz.js"),
|
|
84
|
-
"pyramid-chart": () => import("./pyramid-chart-positioning.config-BcqgH441.js"),
|
|
85
|
-
"radar-chart": () => import("./radar-chart-positioning.config-C9tXOa0G.js"),
|
|
86
|
-
"regular-table": () => import("./regular-table-positioning.config-DegSA7rc.js"),
|
|
87
|
-
"route-map": () => import("./route-map-positioning.config-BUIlsZig.js"),
|
|
88
|
-
"sankey-diagram": () => import("./sankey-diagram-positioning.config-DUAsNKP9.js"),
|
|
89
|
-
"scatter-plot": () => import("./scatter-plot-positioning.config-D6dyNojk.js"),
|
|
90
|
-
"search-filter": () => import("./search-filter-positioning.config-DOSL-FX_.js"),
|
|
91
|
-
"slicer-filter": () => import("./slicer-filter-positioning.config-BnxE_Ac2.js"),
|
|
92
|
-
"slider-filter": () => import("./slider-filter-positioning.config-DSoEN2ip.js"),
|
|
93
|
-
"speedometer-chart": () => import("./speedometer-chart-positioning.config-B6ydcNl1.js"),
|
|
94
|
-
"spike-map": () => import("./spike-map-positioning.config-BUDKv3D-.js"),
|
|
95
|
-
"strip-plot": () => import("./strip-plot-positioning.config-d8qB2u-P.js"),
|
|
96
|
-
"sunburst-chart": () => import("./sunburst-chart-positioning.config-DcYT58kl.js"),
|
|
97
|
-
"symbol-map": () => import("./symbol-map-positioning.config-D12TczYa.js"),
|
|
98
|
-
"treemap-chart": () => import("./treemap-chart-positioning.config-BmxLpNn2.js"),
|
|
99
|
-
"venn-diagram": () => import("./venn-diagram-positioning.config-B-4Uoe_o.js"),
|
|
100
|
-
"wordcloud-chart": () => import("./wordcloud-chart-positioning.config-Cr9lzAHP.js")
|
|
101
|
-
}, g = (e) => `${e.replaceAll(/-([a-z])/g, (e, t) => t.toUpperCase())}PositioningConfig`, _ = async (e) => {
|
|
102
|
-
try {
|
|
103
|
-
let t = h[e];
|
|
104
|
-
return t ? (await t())[g(e)] ?? null : null;
|
|
105
|
-
} catch {
|
|
106
|
-
return null;
|
|
107
|
-
}
|
|
108
|
-
}, v = (e) => e ? _(e) : Promise.resolve(null), y = ":host{font-size:var(--luzmo-item-slot-drop-panel-font-size,var(--luzmo-font-size));--luzmo-slot-cell-padding-inline-min:var(--luzmo-spacing-4);--luzmo-slot-cell-padding-block-min:var(--luzmo-spacing-4);--luzmo-slot-cell-padding-inline-max:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2));--luzmo-slot-cell-padding-block-max:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2));display:block}:host([size=s]){font-size:var(--luzmo-item-slot-drop-panel-font-size-s,var(--luzmo-font-size-s));--luzmo-slot-cell-padding-inline-min:var(--luzmo-spacing-3);--luzmo-slot-cell-padding-block-min:var(--luzmo-spacing-3);--luzmo-slot-cell-padding-inline-max:var(--luzmo-spacing-5);--luzmo-slot-cell-padding-block-max:var(--luzmo-spacing-5)}:host([size=l]){font-size:var(--luzmo-item-slot-drop-panel-font-size-l,var(--luzmo-font-size-l));--luzmo-slot-cell-padding-inline-min:var(--luzmo-spacing-4);--luzmo-slot-cell-padding-block-min:var(--luzmo-spacing-4);--luzmo-slot-cell-padding-inline-max:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--luzmo-slot-cell-padding-block-max:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1))}:host([size=xl]){font-size:var(--luzmo-item-slot-drop-panel-font-size-xl,var(--luzmo-font-size-xl));--luzmo-slot-cell-padding-inline-min:var(--luzmo-spacing-5);--luzmo-slot-cell-padding-block-min:var(--luzmo-spacing-5);--luzmo-slot-cell-padding-inline-max:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--luzmo-slot-cell-padding-block-max:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2))}.slots-panel{align-items:var(--luzmo-item-slot-drop-panel-align,center);gap:var(--luzmo-item-slot-drop-panel-gap,var(--luzmo-spacing-4));flex-direction:column;display:flex}.slots-panel luzmo-item-slot-drop{flex:0 auto;min-width:0;max-width:100%}:host([grows]) .slots-panel luzmo-item-slot-drop{width:100%}.slots-grid{box-sizing:border-box;container:slots-grid/size}.slots-grid luzmo-item-slot-drop{height:var(--luzmo-item-slot-drop-height,var(--item-slot-drop-height));display:block}.slots-grid luzmo-item-slot-drop[rotate]{height:auto}.slot-cell{box-sizing:border-box;min-width:0;min-height:0;padding-inline:var(--luzmo-slot-cell-padding-inline-min);padding-block:var(--luzmo-slot-cell-padding-block-min);justify-content:center;align-items:center;display:flex}@container slots-grid (width>=320px){.slot-cell{padding-inline:calc((var(--luzmo-slot-cell-padding-inline-min) + var(--luzmo-slot-cell-padding-inline-max)) / 2)}}@container slots-grid (width>=640px){.slot-cell{padding-inline:var(--luzmo-slot-cell-padding-inline-max)}}@container slots-grid (height>=240px){.slot-cell{padding-block:calc((var(--luzmo-slot-cell-padding-block-min) + var(--luzmo-slot-cell-padding-block-max)) / 2)}}@container slots-grid (height>=480px){.slot-cell{padding-block:var(--luzmo-slot-cell-padding-block-max)}}:host([positioned]){width:100%;height:100%;min-width:var(--luzmo-item-slot-drop-panel-min-width,150px);min-height:var(--luzmo-item-slot-drop-panel-min-height,150px)}", b = class extends r(t(e, {
|
|
109
|
-
validSizes: [
|
|
110
|
-
"s",
|
|
111
|
-
"m",
|
|
112
|
-
"l",
|
|
113
|
-
"xl"
|
|
114
|
-
],
|
|
115
|
-
noDefaultSize: !0
|
|
116
|
-
})) {
|
|
117
|
-
constructor(...e) {
|
|
118
|
-
super(...e), this._loadSlotsConfig = new d(this, {
|
|
119
|
-
task: async ([e, t]) => {
|
|
120
|
-
if (e && e !== this._itemTypeLoaded) {
|
|
121
|
-
this._itemTypeLoaded = e;
|
|
122
|
-
let n = await i(e);
|
|
123
|
-
return this._slotsConfig = n ?? [], this._positioningConfig = t ? await v(e) : null, this._slotsConfig;
|
|
124
|
-
}
|
|
125
|
-
return this._slotsConfig;
|
|
126
|
-
},
|
|
127
|
-
args: () => [
|
|
128
|
-
this.itemType,
|
|
129
|
-
this.positioned,
|
|
130
|
-
this.language
|
|
131
|
-
]
|
|
132
|
-
}), this._slotsConfig = [], this._positioningConfig = null, this.contentLanguage = "en", this.slotsContents = [], this.positioned = !1, this.slotMenuPlacement = "bottom-end", this.hideDelete = !0, this.hideConfiguration = !1, this.constraintMode = "auto", this.slotMenuMode = "default", this.apiUrl = "https://api.luzmo.com", this.authKey = "", this.authToken = "", this._currentSlotsContents = [], this._createSlotChangeHandler = (e) => (t) => {
|
|
133
|
-
t.stopPropagation();
|
|
134
|
-
let n = t.detail.slotContents ?? [], r = t.detail.linkedDatasetsIds ?? [], i = this._applySlotConstraints(e, n, r);
|
|
135
|
-
if (i === null) {
|
|
136
|
-
t.preventDefault();
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
this._currentSlotsContents = i, this.slotsContents = structuredClone(i), this.dispatchEvent(new CustomEvent("luzmo-slots-contents-changed", {
|
|
140
|
-
bubbles: !0,
|
|
141
|
-
composed: !0,
|
|
142
|
-
cancelable: !0,
|
|
143
|
-
detail: {
|
|
144
|
-
slotsContents: i,
|
|
145
|
-
linkedDatasetsIds: r
|
|
146
|
-
}
|
|
147
|
-
}));
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
static {
|
|
151
|
-
this.styles = o(y);
|
|
152
|
-
}
|
|
153
|
-
willUpdate(e) {
|
|
154
|
-
super.willUpdate(e), e.has("slotsContents") && (this._currentSlotsContents = structuredClone(this.slotsContents ?? [])), e.has("positioned") && this.itemType && (this._itemTypeLoaded = void 0);
|
|
155
|
-
}
|
|
156
|
-
_getDatasetIdFromContent(e) {
|
|
157
|
-
return e?.set ?? e?.datasetId;
|
|
158
|
-
}
|
|
159
|
-
_isDatasetLinked(e, t, n) {
|
|
160
|
-
if (t.size === 0 || t.has(e)) return !0;
|
|
161
|
-
for (let e of t) if (n.includes(e)) return !0;
|
|
162
|
-
for (let e of n) if (t.has(e)) return !0;
|
|
163
|
-
return !1;
|
|
164
|
-
}
|
|
165
|
-
_applySlotConstraints(e, t, n = []) {
|
|
166
|
-
let r = this.slotsConfiguration ?? this._slotsConfig, i = structuredClone(this._currentSlotsContents), a = structuredClone(this._currentSlotsContents), o = [];
|
|
167
|
-
if (t.length > 0) {
|
|
168
|
-
let r = /* @__PURE__ */ new Set();
|
|
169
|
-
for (let e of this._currentSlotsContents) for (let t of e.content ?? []) {
|
|
170
|
-
let e = this._getDatasetIdFromContent(t);
|
|
171
|
-
e && r.add(e);
|
|
172
|
-
}
|
|
173
|
-
let i = t[t.length - 1], s = this._getDatasetIdFromContent(i);
|
|
174
|
-
if (s && !this._isDatasetLinked(s, r, n)) {
|
|
175
|
-
for (let t of a) t.name !== e && t.content.length > 0 && (o.push({
|
|
176
|
-
type: "clearSlotsWhenUnlinkedDataset",
|
|
177
|
-
affectedSlotName: t.name,
|
|
178
|
-
triggeredBySlotName: e
|
|
179
|
-
}), t.content = []);
|
|
180
|
-
(this._currentSlotsContents.find((t) => t.name === e)?.content?.length ?? 0) > 0 && o.push({
|
|
181
|
-
type: "clearSlotsWhenUnlinkedDataset",
|
|
182
|
-
affectedSlotName: e,
|
|
183
|
-
triggeredBySlotName: e
|
|
184
|
-
}), t = [i];
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
let s = a.findIndex((t) => t.name === e);
|
|
188
|
-
s === -1 ? a.push({
|
|
189
|
-
name: e,
|
|
190
|
-
content: t
|
|
191
|
-
}) : a[s].content = t;
|
|
192
|
-
for (let n of r) {
|
|
193
|
-
if (n.keepOnlyFirstWhenOtherSlotFilled?.includes(e) && t.length > 0) {
|
|
194
|
-
let t = a.findIndex((e) => e.name === n.name);
|
|
195
|
-
t !== -1 && a[t].content.length > 1 && (o.push({
|
|
196
|
-
type: "keepOnlyFirstWhenOtherSlotFilled",
|
|
197
|
-
affectedSlotName: n.name,
|
|
198
|
-
triggeredBySlotName: e
|
|
199
|
-
}), a[t].content = [a[t].content[0]]);
|
|
200
|
-
}
|
|
201
|
-
if (n.clearWhenOtherSlotHasMultipleItems?.includes(e) && t.length > 1) {
|
|
202
|
-
let t = a.findIndex((e) => e.name === n.name);
|
|
203
|
-
t !== -1 && a[t].content.length > 0 && (o.push({
|
|
204
|
-
type: "clearWhenOtherSlotHasMultipleItems",
|
|
205
|
-
affectedSlotName: n.name,
|
|
206
|
-
triggeredBySlotName: e
|
|
207
|
-
}), a[t].content = []);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
if (this.constraintMode === "event-only" && o.length > 0) {
|
|
211
|
-
let n = {
|
|
212
|
-
triggerSlotName: e,
|
|
213
|
-
proposedTriggerContents: t,
|
|
214
|
-
originalSlotsContents: i,
|
|
215
|
-
proposedSlotsContents: a,
|
|
216
|
-
constraints: o
|
|
217
|
-
};
|
|
218
|
-
return this.dispatchEvent(new CustomEvent("luzmo-slot-constraint-triggered", {
|
|
219
|
-
detail: n,
|
|
220
|
-
bubbles: !0,
|
|
221
|
-
composed: !0
|
|
222
|
-
})), null;
|
|
223
|
-
}
|
|
224
|
-
return a;
|
|
225
|
-
}
|
|
226
|
-
_getPositioningConfig() {
|
|
227
|
-
return this.positioningConfiguration ?? this._positioningConfig;
|
|
228
|
-
}
|
|
229
|
-
_renderSlot(e, t) {
|
|
230
|
-
let n = this._createSlotChangeHandler(e.name), r = this.positioned ? t?.rotate ?? !1 : !1;
|
|
231
|
-
return a`
|
|
232
|
-
<luzmo-item-slot-drop
|
|
233
|
-
part="item-slot-drop"
|
|
234
|
-
item-type=${u(this.itemType)}
|
|
235
|
-
slot-name=${e.name}
|
|
236
|
-
language=${this.language}
|
|
237
|
-
content-language=${this.contentLanguage}
|
|
238
|
-
size=${this.size}
|
|
239
|
-
menu=${this.slotMenuMode}
|
|
240
|
-
placement=${this.slotMenuPlacement}
|
|
241
|
-
drag-boundary=${u(this.dragBoundary)}
|
|
242
|
-
?hide-delete=${this.hideDelete}
|
|
243
|
-
?hide-configuration=${this.hideConfiguration}
|
|
244
|
-
?rotate=${r}
|
|
245
|
-
api-url=${u(this.apiUrl)}
|
|
246
|
-
auth-key=${u(this.authKey)}
|
|
247
|
-
auth-token=${u(this.authToken)}
|
|
248
|
-
.slotConfiguration=${e}
|
|
249
|
-
.slotsContents=${this._currentSlotsContents}
|
|
250
|
-
@luzmo-slot-contents-changed=${n}
|
|
251
|
-
></luzmo-item-slot-drop>
|
|
252
|
-
`;
|
|
253
|
-
}
|
|
254
|
-
_renderPositionedSlots(e) {
|
|
255
|
-
let { grid: t, slots: n } = this._getPositioningConfig() ?? m(e.map((e) => e.name)), r = {
|
|
256
|
-
display: "grid",
|
|
257
|
-
gridTemplateColumns: t.columnSizes?.join(" ") ?? `repeat(${t.columns}, 1fr)`,
|
|
258
|
-
gridTemplateRows: t.rowSizes?.join(" ") ?? `repeat(${t.rows}, 1fr)`,
|
|
259
|
-
gap: t.gap ?? "0.25rem",
|
|
260
|
-
width: "100%",
|
|
261
|
-
height: "100%"
|
|
262
|
-
}, i = e.map((e) => {
|
|
263
|
-
let t = n[e.name];
|
|
264
|
-
if (!t) return this._renderSlot(e);
|
|
265
|
-
let r = {
|
|
266
|
-
gridColumn: t.columnSpan ? `${t.column} / span ${t.columnSpan}` : String(t.column),
|
|
267
|
-
gridRow: t.rowSpan ? `${t.row} / span ${t.rowSpan}` : String(t.row)
|
|
268
|
-
};
|
|
269
|
-
return t.padding && (r.padding = t.padding), a`
|
|
270
|
-
<div class="slot-cell" part="slot-cell" style=${f(r)}>
|
|
271
|
-
${this._renderSlot(e, t)}
|
|
272
|
-
</div>
|
|
273
|
-
`;
|
|
274
|
-
});
|
|
275
|
-
return a`
|
|
276
|
-
<div class="slots-grid" part="slots-grid" style=${f(r)}>
|
|
277
|
-
${i}
|
|
278
|
-
</div>
|
|
279
|
-
`;
|
|
280
|
-
}
|
|
281
|
-
_renderSlots(e) {
|
|
282
|
-
return a`
|
|
283
|
-
<div class="slots-panel" part="slots-panel">
|
|
284
|
-
${e.map((e) => this._renderSlot(e))}
|
|
285
|
-
</div>
|
|
286
|
-
`;
|
|
287
|
-
}
|
|
288
|
-
render() {
|
|
289
|
-
return this.slotsConfiguration && this.slotsConfiguration.length > 0 ? this.positioned ? this._renderPositionedSlots(this.slotsConfiguration) : this._renderSlots(this.slotsConfiguration) : this._loadSlotsConfig.render({
|
|
290
|
-
pending: () => a`
|
|
291
|
-
<p role="status">Loading...</p>
|
|
292
|
-
`,
|
|
293
|
-
complete: (e) => !e || e.length === 0 ? a`<p>No slots configuration found for ${this.itemType}</p>` : this.positioned ? this._renderPositionedSlots(e) : this._renderSlots(e),
|
|
294
|
-
error: (e) => a`
|
|
295
|
-
<div role="alert">Could not load slots configuration for '${this.itemType}': ${e}.</div>
|
|
296
|
-
`
|
|
297
|
-
});
|
|
298
|
-
}
|
|
299
|
-
};
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region src/components/item-slot-drop-panel/index.ts
|
|
302
|
-
n([s({
|
|
303
|
-
type: String,
|
|
304
|
-
reflect: !0,
|
|
305
|
-
attribute: "item-type"
|
|
306
|
-
})], b.prototype, "itemType", void 0), n([s({
|
|
307
|
-
type: String,
|
|
308
|
-
attribute: "content-language",
|
|
309
|
-
reflect: !0
|
|
310
|
-
})], b.prototype, "contentLanguage", void 0), n([s({ type: Array })], b.prototype, "slotsConfiguration", void 0), n([s({ type: Object })], b.prototype, "positioningConfiguration", void 0), n([s({ type: Array })], b.prototype, "slotsContents", void 0), n([s({
|
|
311
|
-
type: Boolean,
|
|
312
|
-
reflect: !0
|
|
313
|
-
})], b.prototype, "positioned", void 0), n([s({
|
|
314
|
-
type: String,
|
|
315
|
-
reflect: !0,
|
|
316
|
-
attribute: "drag-boundary"
|
|
317
|
-
})], b.prototype, "dragBoundary", void 0), n([s({
|
|
318
|
-
type: String,
|
|
319
|
-
reflect: !0,
|
|
320
|
-
attribute: "slot-menu-placement"
|
|
321
|
-
})], b.prototype, "slotMenuPlacement", void 0), n([s({
|
|
322
|
-
type: Boolean,
|
|
323
|
-
reflect: !0,
|
|
324
|
-
attribute: "hide-delete"
|
|
325
|
-
})], b.prototype, "hideDelete", void 0), n([s({
|
|
326
|
-
type: Boolean,
|
|
327
|
-
reflect: !0,
|
|
328
|
-
attribute: "hide-configuration"
|
|
329
|
-
})], b.prototype, "hideConfiguration", void 0), n([s({
|
|
330
|
-
type: Boolean,
|
|
331
|
-
reflect: !0,
|
|
332
|
-
attribute: "grows"
|
|
333
|
-
})], b.prototype, "grows", void 0), n([s({
|
|
334
|
-
type: String,
|
|
335
|
-
reflect: !0,
|
|
336
|
-
attribute: "constraint-mode"
|
|
337
|
-
})], b.prototype, "constraintMode", void 0), n([s({
|
|
338
|
-
type: String,
|
|
339
|
-
reflect: !0,
|
|
340
|
-
attribute: "slot-menu-mode"
|
|
341
|
-
})], b.prototype, "slotMenuMode", void 0), n([s({
|
|
342
|
-
type: String,
|
|
343
|
-
attribute: "api-url",
|
|
344
|
-
reflect: !0
|
|
345
|
-
})], b.prototype, "apiUrl", void 0), n([s({
|
|
346
|
-
type: String,
|
|
347
|
-
attribute: "auth-key",
|
|
348
|
-
reflect: !0
|
|
349
|
-
})], b.prototype, "authKey", void 0), n([s({
|
|
350
|
-
type: String,
|
|
351
|
-
attribute: "auth-token",
|
|
352
|
-
reflect: !0
|
|
353
|
-
})], b.prototype, "authToken", void 0), n([c()], b.prototype, "_currentSlotsContents", void 0), b = n([l()], b), customElements.get("luzmo-item-slot-drop-panel") || customElements.define("luzmo-item-slot-drop-panel", b);
|
|
354
|
-
//#endregion
|
|
355
|
-
export { p as n, b as t };
|
|
@@ -1,174 +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
|
-
const e=require("./base-B0frB7oV.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-BbOPy_BO.cjs");require("./data-fields-select-CAyr7ju6.cjs");const r=require("./slots-config-Cd4xAG4H.cjs"),i=require("./convert-data-field-to-slot-content-DLzkk6dT.cjs"),a=require("./display-settings-C088VTeJ.cjs"),o=require("./slot-menu-11KQJc_U.cjs"),s=require("./ad-hoc-slot-content-BwcFfXCV.cjs"),c=require("./slot-menu-list-tyN6sguq.cjs");let l=require("@luzmo/icons");require("@luzmo/lucero/overlay");let u=require("lit"),d=require("lit/decorators.js"),f=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/tooltip"),require("@luzmo/lucero/field-label");let p=require("lit/directives/if-defined.js"),m=require("@lit/task"),h=require("@lit/context");var g=`:host{--luzmo-select-inline-size:100%;font-family:var(--luzmo-item-slot-picker-font-family,var(--luzmo-font-family))}.container{gap:var(--luzmo-item-slot-picker-gap,var(--item-slot-picker-gap,var(--luzmo-spacing-5)));flex-direction:column;width:fit-content;display:flex}.select-container{flex-direction:column;display:flex}.select-container .select-controls{align-items:center;gap:var(--luzmo-item-slot-picker-controls-gap,var(--item-slot-picker-controls-gap));flex-direction:row;flex:auto;display:flex}luzmo-data-fields-select{flex-grow:var(--luzmo-item-slot-picker-data-fields-select-flex-grow,var(--item-slot-picker-data-fields-select-flex-grow))}.calculation-control{align-items:center;gap:var(--luzmo-item-slot-picker-controls-gap,var(--item-slot-picker-controls-gap));flex:auto;min-width:0;display:flex}.calculation-label{align-items:center;gap:var(--luzmo-spacing-3);flex:auto;min-width:0;display:inline-flex}.calculation-label-icon{flex:none;display:inline-flex}.calculations-list{gap:var(--luzmo-item-slot-picker-gap,var(--item-slot-picker-gap,var(--luzmo-spacing-5)));flex-direction:column;flex:auto;min-width:0;display:flex}:host([grows]){--item-slot-picker-data-fields-select-flex-grow:1}:host([grows]) .container{width:100%}:host([grows]) .select-container{flex:auto}.extra-data-field-button-container{justify-content:center;align-items:center;display:flex}.item-slot-picker-label{font-size:var(--luzmo-item-slot-picker-label-font-size,var(--item-slot-picker-label-font-size));margin-right:var(--luzmo-item-slot-picker-text-to-controls,var(--item-slot-picker-text-to-controls));text-overflow:ellipsis;white-space:nowrap;flex-grow:1;overflow:hidden}.controls{align-items:center;gap:var(--luzmo-item-slot-picker-controls-gap,var(--item-slot-picker-controls-gap));background-color:var(--luzmo-item-slot-picker-controls-background-color,var(--item-slot-picker-controls-background-color));height:100%;color:var(--luzmo-item-slot-picker-controls-color,var(--item-slot-picker-controls-color));margin-right:var(--luzmo-item-slot-picker-controls-to-edge,var(--item-slot-picker-controls-to-edge));padding:0 var(--luzmo-item-slot-picker-controls-horizontal-padding,var(--item-slot-picker-controls-horizontal-padding));display:flex}.controls div{cursor:pointer;height:100%;padding:0 var(--luzmo-item-slot-picker-controls-control-horizontal-padding,var(--item-slot-picker-controls-control-horizontal-padding));align-items:center;display:flex}luzmo-slot-menu[placement=bottom],luzmo-slot-menu[placement=top],luzmo-slot-menu[placement=bottom-start],luzmo-slot-menu[placement=top-start],luzmo-slot-menu[placement=bottom-end],luzmo-slot-menu[placement=top-end]{margin:var(--luzmo-item-slot-picker-overlay-vertical-gap,var(--item-slot-picker-overlay-vertical-gap)) 0}luzmo-slot-menu[placement=left],luzmo-slot-menu[placement=right],luzmo-slot-menu[placement=left-start],luzmo-slot-menu[placement=right-start],luzmo-slot-menu[placement=left-end],luzmo-slot-menu[placement=right-end]{margin:0 var(--luzmo-item-slot-picker-overlay-horizontal-gap,var(--item-slot-picker-overlay-horizontal-gap))}:host{--item-slot-picker-border-width:var(--luzmo-border-width);--item-slot-picker-border-style:dashed;--item-slot-picker-border-color:var(--luzmo-border-color);--item-slot-picker-accept-drag-controls-background-color:transparent;--item-slot-picker-font-color:var(--luzmo-font-color);--item-slot-picker-controls-background-color:transparent;--item-slot-picker-text-to-controls:var(--luzmo-spacing-3);--item-slot-picker-controls-to-edge:0;--item-slot-picker-controls-gap:var(--luzmo-spacing-2);--item-slot-picker-controls-horizontal-padding:var(--luzmo-spacing-2);--item-slot-picker-controls-control-horizontal-padding:var(--luzmo-spacing-3);--item-slot-picker-label-font-size:var(--luzmo-font-size);--item-slot-picker-horizontal-padding:var(--luzmo-spacing-4);--item-slot-picker-overlay-horizontal-gap:var(--luzmo-spacing-4);--item-slot-picker-overlay-vertical-gap:var(--luzmo-spacing-4)}:host([size=s]){--item-slot-picker-horizontal-padding:var(--luzmo-spacing-4);--item-slot-picker-overlay-horizontal-gap:var(--luzmo-spacing-4);--item-slot-picker-overlay-vertical-gap:var(--luzmo-spacing-4)}:host([size=l]),:host([size=xl]){--item-slot-picker-horizontal-padding:var(--luzmo-spacing-5);--item-slot-picker-overlay-horizontal-gap:var(--luzmo-spacing-5);--item-slot-picker-overlay-vertical-gap:var(--luzmo-spacing-5)}:host{box-sizing:border-box}`,_=e=>{if(`columnId`in e&&e.columnId)return e.columnId;if(`formulaId`in e&&e.formulaId)return e.formulaId;if(`formula`in e&&e.formula)return e.formula},v=e=>s.n(e),y=`::level::`,b=(e,t)=>`${e}${y}${t}`,x=class extends n.t(e.n(e.i,{validSizes:[`s`,`m`,`l`,`xl`],noDefaultSize:!0})){static{this.styles=(0,u.unsafeCSS)(g)}_isAdHocFormula(e){return`formula`in e&&typeof e.formula==`string`}constructor(){super(),this._loadSlotsConfig=new m.Task(this,{task:async([e])=>{if(!e)return this._slotsConfig;if(e!==this._itemTypeLoaded){this._itemTypeLoaded=e;let t=await r.t(e);return this._slotsConfig=t??[],this._slotsConfig}return this._slotsConfig},args:()=>[this.itemType,this.language]}),this._slotsConfig=[],this.slotConfiguration={},this.slotContents=[],this.contentLanguage=`en`,this.disabled=!1,this.grows=!1,this.menu=`default`,this.hasLabel=!1,this.selects=`multiple`,this.search=`auto`,this.icons=`menu-only`,this.datasetsDataFields=[],this.placement=`bottom-start`,this.slotMenuPlacement=`bottom-end`,this.hideClear=!1,this._hasExtraEmptySelects=!1,this._currentSlotContents=[],this._store=new o.n,this._changedSlotContents=(e,t=[])=>{let n=new CustomEvent(`luzmo-slot-contents-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContents:e,linkedDatasetsIds:t}});return this.dispatchEvent(n),n},new h.ContextProvider(this,{context:a.n,initialValue:this._store})}willUpdate(e){super.willUpdate(e),e.has(`slotContents`)&&(this._currentSlotContents=structuredClone(this.slotContents??[]),this._store?.setContents(this._currentSlotContents??[],this.slotName))}_onSlotMenuChanges(e){e.preventDefault(),e.stopPropagation(),(this.slotContents?.length??0)===(e.detail.slotContents?.length??0)?(this._currentSlotContents=structuredClone(e.detail.slotContents??[]),this.slotContents=structuredClone(e.detail.slotContents??[]),this._store?.setContents(this._currentSlotContents??[],this.slotName),this._changedSlotContents(this._currentSlotContents,e.detail.linkedDatasetsIds??[])):(this.slotContents=e.detail.slotContents??[],this._store?.setContents(this.slotContents??[],this.slotName),this._changedSlotContents(this.slotContents,e.detail.linkedDatasetsIds??[]))}_setSlotContentAtIndex(e,t){let n=e.detail?.dataFields??[],r=n.length===0;t>=this._currentSlotContents.length&&this._removeEmptySelect();for(let e=this._currentSlotContents.length;e<=t;e++)this._currentSlotContents[e]||this._currentSlotContents.push({});if(n.length>0){let e=n[0],r=_(e),a=this._currentSlotContents[t],o=v(a),s=a?.level,c=e.level;if(r&&(r!==o||s!==c)){let n=typeof e.level==`number`;this._currentSlotContents[t]=i.t(e,n)}}else r&&this._currentSlotContents.splice(t,1);this.slotContents=structuredClone(this._currentSlotContents.filter(e=>!!v(e))),this._changedSlotContents(this.slotContents)}_setSlotContents(e){let t=e.detail.dataFields??[],n=this._currentSlotContents.filter(e=>s.i(e,this.slotConfiguration));this.slotConfiguration?.canAcceptMultipleDataFields&&t.length>1||(t=t.slice(0,1));let r=this._getFilteredDatasetsDataFields(),a=t.map(e=>{let t=i.t(e,typeof e.level==`number`),n=this._getSelectValueForSlotContent(t,r);if(n)return{selectionValue:n,slotContent:t}}).filter(e=>!!e),o=new Set(a.map(e=>e.selectionValue));this._currentSlotContents=this._currentSlotContents?.filter(e=>!s.i(e,this.slotConfiguration)).filter(e=>{let t=this._getSelectValueForSlotContent(e,r);return t?o.has(t):!1})??[],a.forEach(({selectionValue:e,slotContent:t})=>{let n=this._currentSlotContents.findIndex(t=>this._getSelectValueForSlotContent(t,r)===e);if(n!==-1){this._currentSlotContents[n]=t;return}this._currentSlotContents.push(t)}),this._currentSlotContents=[...n,...this._currentSlotContents],this.slotContents=structuredClone(this._currentSlotContents),this._changedSlotContents(this._currentSlotContents)}_renderFieldLabel(){return u.html`<luzmo-field-label for="data-fields" size=${this.size}
|
|
21
|
-
>${this.label??(0,f.msg)(`Select...`)}
|
|
22
|
-
</luzmo-field-label>`}_removeEmptySelect(){this._hasExtraEmptySelects=!1}_getAcceptableDataFields(){let e=[],t=this.slotConfiguration?.acceptableDataFieldTypes?.length?this.slotConfiguration.acceptableDataFieldTypes:i.n;return this.datasetsDataFields.forEach(n=>{(n.columns?.filter(e=>t.includes(e.type??``))??[]).forEach(t=>{e.push({datasetId:n.id,type:t.type,name:t.name,columnId:t.id,description:t.description,subtype:t.subtype,format:t.format,lowestLevel:t.lowestLevel,duration_levels:t.duration_levels,duration_format:t.duration_format,expression:t.expression,hierarchyLevels:t.hierarchyLevels,currency:t.currency})}),this.slotConfiguration?.canAcceptFormula&&(n.formulas??[]).forEach(t=>{t.type&&(this._isAdHocFormula(t)?e.push({datasetId:n.id,type:t.type,name:t.label??{en:`Ad-hoc formula`},formula:t.formula,subtype:t.subtype??void 0,format:t.format}):e.push({datasetId:n.id,type:t.type,name:t.name,formulaId:t.id,description:t.description,subtype:t.subtype,format:t.format,lowestLevel:t.lowestLevel,duration_levels:t.duration_levels,duration_format:t.duration_format,expression:t.expression,currency:t.currency}))})}),e}_getFirstAvailableDataField(){let e=this._getAcceptableDataFields(),t=new Set(this._currentSlotContents.map(e=>e.columnId??e.formulaId??e.column??e.formula));return e.find(e=>{let n=_(e);return n?!t.has(n):!1})}_hasAvailableDataFields(){return!!this._getFirstAvailableDataField()}_addDataField(){let e=this._getFirstAvailableDataField();if(e){let t=i.t(e,!1);this._currentSlotContents.push(t),this.slotContents=structuredClone(this._currentSlotContents),this._changedSlotContents(this.slotContents)}else this._hasExtraEmptySelects=!0}_renderExtraDataFieldButton(){return this._hasAvailableDataFields()?u.html`<div class="extra-data-field-button-container">
|
|
23
|
-
<luzmo-action-button
|
|
24
|
-
size="xs"
|
|
25
|
-
.label=${(0,f.msg)(`Add data field`,{desc:`Aria label for add data field button`})}
|
|
26
|
-
@click=${this._addDataField}
|
|
27
|
-
?disabled=${this._hasExtraEmptySelects||this.disabled}
|
|
28
|
-
>
|
|
29
|
-
${(0,l.luzmoIcon)(l.luzmoPlus)}
|
|
30
|
-
</luzmo-action-button>
|
|
31
|
-
<luzmo-tooltip self-managed placement="top" size=${this.size}>
|
|
32
|
-
Add data field
|
|
33
|
-
</luzmo-tooltip>
|
|
34
|
-
</div>`:u.html`
|
|
35
|
-
|
|
36
|
-
`}_renderSingleSelect(){let e=this._renderFieldLabel(),t=this._currentSlotContents.length>0;if(!t&&!this._hasExtraEmptySelects)return u.html`<div class="select-container">
|
|
37
|
-
${this.hasLabel?e:``} ${this._renderSelectMenu(0)}
|
|
38
|
-
</div>`;let n=this._currentSlotContents.map((t,n)=>u.html` <div class="select-container">
|
|
39
|
-
${this.hasLabel&&n===0?e:``}
|
|
40
|
-
<div class="select-controls">
|
|
41
|
-
${this._renderSelectMenu(n)}
|
|
42
|
-
${this.slotContents?.length>0&&!this.hideConfiguration?u.html`<div class="controls">
|
|
43
|
-
<luzmo-action-button
|
|
44
|
-
.size=${this.size}
|
|
45
|
-
quiet
|
|
46
|
-
id=${`trigger-${n}`}
|
|
47
|
-
.label=${(0,f.msg)(`Edit`,{desc:`Edit action label`})}
|
|
48
|
-
?disabled=${this.disabled}
|
|
49
|
-
>
|
|
50
|
-
${(0,l.luzmoIcon)(l.luzmoCog)}
|
|
51
|
-
<luzmo-tooltip
|
|
52
|
-
self-managed
|
|
53
|
-
placement="top"
|
|
54
|
-
size=${this.size}
|
|
55
|
-
>
|
|
56
|
-
edit
|
|
57
|
-
</luzmo-tooltip>
|
|
58
|
-
</luzmo-action-button>
|
|
59
|
-
</div>`:``}
|
|
60
|
-
${this.slotContents?.length>0?u.html`<luzmo-overlay
|
|
61
|
-
trigger=${`trigger-${n}@click`}
|
|
62
|
-
.placement=${this.slotMenuPlacement}
|
|
63
|
-
>
|
|
64
|
-
<luzmo-slot-menu
|
|
65
|
-
language=${this.language}
|
|
66
|
-
content-language=${this.contentLanguage}
|
|
67
|
-
slot-type=${this.slotConfiguration?.type}
|
|
68
|
-
slot-name=${(0,p.ifDefined)(this.slotName)}
|
|
69
|
-
item-type=${(0,p.ifDefined)(this.itemType)}
|
|
70
|
-
api-url=${(0,p.ifDefined)(this.apiUrl)}
|
|
71
|
-
auth-key=${(0,p.ifDefined)(this.authKey)}
|
|
72
|
-
auth-token=${(0,p.ifDefined)(this.authToken)}
|
|
73
|
-
.datasetsDataFields=${this.datasetsDataFields}
|
|
74
|
-
.areGrandTotalsEnabled=${this.slotConfiguration?.options?.areGrandTotalsEnabled}
|
|
75
|
-
.areDatetimeOptionsEnabled=${this.slotConfiguration?.options?.areDatetimeOptionsEnabled}
|
|
76
|
-
.isBinningDisabled=${this.slotConfiguration?.options?.isBinningDisabled}
|
|
77
|
-
.isAggregationDisabled=${this.slotConfiguration?.options?.isAggregationDisabled}
|
|
78
|
-
.isCumulativeSumEnabled=${this.slotConfiguration?.options?.isCumulativeSumEnabled}
|
|
79
|
-
.slotIndex=${n}
|
|
80
|
-
variant="popup"
|
|
81
|
-
.size=${this.size}
|
|
82
|
-
@luzmo-slot-contents-changed=${this._onSlotMenuChanges}
|
|
83
|
-
></luzmo-slot-menu>
|
|
84
|
-
</luzmo-overlay>`:``}
|
|
85
|
-
</div>
|
|
86
|
-
</div>`);return this._hasExtraEmptySelects&&n.push(u.html`<div class="select-container">
|
|
87
|
-
${this._renderSelectMenu(this._currentSlotContents.length)}
|
|
88
|
-
</div>`),t&&this.slotConfiguration?.canAcceptMultipleDataFields&&n.push(this._renderExtraDataFieldButton()),n}_renderMultipleSelect(){let e=this._renderFieldLabel();return u.html`<div class="select-container">
|
|
89
|
-
${this.hasLabel?e:``}
|
|
90
|
-
|
|
91
|
-
<div class="select-controls">
|
|
92
|
-
${this._renderMultipleSelectionControl()}
|
|
93
|
-
${this.slotContents?.length>0&&!this.hideConfiguration?u.html`<div class="controls">
|
|
94
|
-
<luzmo-action-button
|
|
95
|
-
.size=${this.size}
|
|
96
|
-
quiet
|
|
97
|
-
id="trigger"
|
|
98
|
-
.label=${(0,f.msg)(`Edit`,{desc:`Edit action label`})}
|
|
99
|
-
?disabled=${this.disabled}
|
|
100
|
-
>
|
|
101
|
-
${(0,l.luzmoIcon)(l.luzmoCog)}
|
|
102
|
-
<luzmo-tooltip self-managed placement="top" size=${this.size}>
|
|
103
|
-
edit
|
|
104
|
-
</luzmo-tooltip>
|
|
105
|
-
</luzmo-action-button>
|
|
106
|
-
</div>`:``}
|
|
107
|
-
${this.slotContents?.length>0?u.html`<luzmo-overlay
|
|
108
|
-
trigger="trigger@click"
|
|
109
|
-
.placement=${this.slotMenuPlacement}
|
|
110
|
-
>
|
|
111
|
-
<luzmo-slot-menu
|
|
112
|
-
language=${this.language}
|
|
113
|
-
content-language=${this.contentLanguage}
|
|
114
|
-
slot-type=${this.slotConfiguration?.type}
|
|
115
|
-
slot-name=${(0,p.ifDefined)(this.slotName)}
|
|
116
|
-
item-type=${(0,p.ifDefined)(this.itemType)}
|
|
117
|
-
api-url=${(0,p.ifDefined)(this.apiUrl)}
|
|
118
|
-
auth-key=${(0,p.ifDefined)(this.authKey)}
|
|
119
|
-
auth-token=${(0,p.ifDefined)(this.authToken)}
|
|
120
|
-
.datasetsDataFields=${this.datasetsDataFields}
|
|
121
|
-
.areGrandTotalsEnabled=${this.slotConfiguration?.options?.areGrandTotalsEnabled}
|
|
122
|
-
.areDatetimeOptionsEnabled=${this.slotConfiguration?.options?.areDatetimeOptionsEnabled}
|
|
123
|
-
.isBinningDisabled=${this.slotConfiguration?.options?.isBinningDisabled}
|
|
124
|
-
.isAggregationDisabled=${this.slotConfiguration?.options?.isAggregationDisabled}
|
|
125
|
-
.isCumulativeSumEnabled=${this.slotConfiguration?.options?.isCumulativeSumEnabled}
|
|
126
|
-
variant="popup"
|
|
127
|
-
.size=${this.size}
|
|
128
|
-
@luzmo-slot-contents-changed=${this._onSlotMenuChanges}
|
|
129
|
-
></luzmo-slot-menu>
|
|
130
|
-
</luzmo-overlay>`:``}
|
|
131
|
-
</div>
|
|
132
|
-
</div>`}_renderMultipleSelectionControl(){let e=this._currentSlotContents.map((e,t)=>({content:e,index:t})).filter(({content:e})=>s.i(e,this.slotConfiguration));return e.length===0?this._renderSelectMenu():u.html`<div class="calculations-list">
|
|
133
|
-
${e.map(({content:e,index:t})=>this._renderCalculation(e,t))}
|
|
134
|
-
</div>
|
|
135
|
-
${e.length<this._currentSlotContents.length?this._renderSelectMenu(void 0,!0):``}`}_getSelectValueForSlotContent(e,t){let n=v(e);if(!n)return;let r=e.columnId,i=e.level;if(!r||typeof i!=`number`||Number.isNaN(i))return n;let a;for(let e of t)if(a=e.columns?.find(e=>e.id===r),a)break;return a&&(Array.isArray(a.hierarchyLevels)&&a.hierarchyLevels.length>2&&a.hierarchy_enabled===!0&&i>=1||(a.type===`datetime`||a.type===`array[datetime]`)&&typeof a.lowestLevel==`number`&&i!==a.lowestLevel)?b(r,i):n}_getFilteredDatasetsDataFields(){let e=this.slotConfiguration?.acceptableDataFieldTypes?.length?this.slotConfiguration.acceptableDataFieldTypes:i.n;return this.datasetsDataFields.map(t=>({...t,columns:t.columns?.filter(t=>e.includes(t.type??``))??[],formulas:this.slotConfiguration?.canAcceptFormula?t.formulas??[]:[]}))}_clearCalculation(e){this._currentSlotContents.splice(e,1),this.slotContents=structuredClone(this._currentSlotContents),this._store?.setContents(this.slotContents,this.slotName),this._changedSlotContents(this.slotContents)}_renderCalculation(e,t){return u.html`<div class="calculation-control">
|
|
136
|
-
${c.n(e)}
|
|
137
|
-
${this.hideClear?``:u.html`<luzmo-action-button
|
|
138
|
-
quiet
|
|
139
|
-
.size=${this.size}
|
|
140
|
-
.label=${(0,f.msg)(`Clear calculation`,{desc:`Clear an ad-hoc slot calculation and return to column selection`})}
|
|
141
|
-
?disabled=${this.disabled}
|
|
142
|
-
@click=${()=>this._clearCalculation(t)}
|
|
143
|
-
>
|
|
144
|
-
${(0,l.luzmoIcon)(l.luzmoClose12)}
|
|
145
|
-
</luzmo-action-button>`}
|
|
146
|
-
</div>`}_renderSelectMenu(e,t=!1){let n=e??0,r=this._currentSlotContents[n];if(!t&&r&&(e!==void 0||this._currentSlotContents.length===1)&&s.i(r,this.slotConfiguration))return this._renderCalculation(r,n);let i=[],a=this._getFilteredDatasetsDataFields();if(e!==void 0&&e>=this._currentSlotContents.length)i=[];else if(i=this._currentSlotContents.filter(e=>!t||!s.i(e,this.slotConfiguration)).map(e=>this._getSelectValueForSlotContent(e,a)).filter(e=>typeof e==`string`&&e.length>0),this.selects===`single`&&i?.length>0){let t=i[e??0];i=t?[t]:[]}return u.html`<luzmo-data-fields-select
|
|
147
|
-
.language=${this.language}
|
|
148
|
-
.contentLanguage=${this.contentLanguage}
|
|
149
|
-
.size=${this.size}
|
|
150
|
-
.icons=${this.icons}
|
|
151
|
-
.placeholder=${this.placeholder??(0,f.msg)(`Select...`)}
|
|
152
|
-
.placement=${this.placement}
|
|
153
|
-
.search=${this.search}
|
|
154
|
-
?disabled=${this.disabled}
|
|
155
|
-
allow-empty
|
|
156
|
-
.datasetsDataFields=${a}
|
|
157
|
-
.value=${i}
|
|
158
|
-
?clearable=${!this.hideClear}
|
|
159
|
-
.selects=${this.selects===`multiple`&&this.slotConfiguration?.canAcceptMultipleDataFields?`multiple`:`single`}
|
|
160
|
-
data-index=${e??0}
|
|
161
|
-
@luzmo-data-fields-selected=${this._handleSelectChange}
|
|
162
|
-
>
|
|
163
|
-
</luzmo-data-fields-select>`}_handleSelectChange(e){if(this.selects===`single`){let t=e.currentTarget?.dataset?.index,n=t?Number.parseInt(t,10):0;this._setSlotContentAtIndex(e,Number.isNaN(n)?0:n)}else this._setSlotContents(e)}_itemSlotPickerMarkup(){return u.html`
|
|
164
|
-
<div class="container">
|
|
165
|
-
${this.selects===`multiple`?this._renderMultipleSelect():this._renderSingleSelect()}
|
|
166
|
-
</div>
|
|
167
|
-
`}render(){return this._loadSlotsConfig.render({pending:()=>u.html`
|
|
168
|
-
<p>Loading...</p>
|
|
169
|
-
`,complete:e=>{if(this.slotName&&this.itemType&&e){let t=e.find(e=>e.name===this.slotName);t&&(this.slotConfiguration=t)}return this._itemSlotPickerMarkup()},error:e=>u.html`
|
|
170
|
-
<div>
|
|
171
|
-
Could not load item-slot-picker: '${this.slotName}' of chart
|
|
172
|
-
'${this.itemType}': ${e}.
|
|
173
|
-
</div>
|
|
174
|
-
`})}};t.t([(0,d.property)({type:String,attribute:`api-url`,reflect:!0})],x.prototype,`apiUrl`,void 0),t.t([(0,d.property)({type:String,attribute:`auth-key`,reflect:!0})],x.prototype,`authKey`,void 0),t.t([(0,d.property)({type:String,attribute:`auth-token`,reflect:!0})],x.prototype,`authToken`,void 0),t.t([(0,d.property)({type:String,reflect:!0,attribute:`item-type`})],x.prototype,`itemType`,void 0),t.t([(0,d.property)({type:String,reflect:!0,attribute:`slot-name`})],x.prototype,`slotName`,void 0),t.t([(0,d.property)({type:Object})],x.prototype,`slotConfiguration`,void 0),t.t([(0,d.property)({type:Array})],x.prototype,`slotContents`,void 0),t.t([(0,d.property)({type:String,attribute:`content-language`,reflect:!0})],x.prototype,`contentLanguage`,void 0),t.t([(0,d.property)({type:Boolean,attribute:`disabled`,reflect:!0})],x.prototype,`disabled`,void 0),t.t([(0,d.property)({type:Boolean,attribute:`grows`,reflect:!0})],x.prototype,`grows`,void 0),t.t([(0,d.property)({type:String,reflect:!0})],x.prototype,`menu`,void 0),t.t([(0,d.property)({type:Boolean,attribute:`has-label`,reflect:!0})],x.prototype,`hasLabel`,void 0),t.t([(0,d.property)({type:String,reflect:!0})],x.prototype,`label`,void 0),t.t([(0,d.property)({type:String,reflect:!0})],x.prototype,`selects`,void 0),t.t([(0,d.property)({type:String,reflect:!0})],x.prototype,`search`,void 0),t.t([(0,d.property)({type:String,reflect:!0})],x.prototype,`icons`,void 0),t.t([(0,d.property)({type:String,attribute:`placeholder`,reflect:!0})],x.prototype,`placeholder`,void 0),t.t([(0,d.property)({type:Array,reflect:!1})],x.prototype,`datasetsDataFields`,void 0),t.t([(0,d.property)({type:String,reflect:!0})],x.prototype,`placement`,void 0),t.t([(0,d.property)({type:String,reflect:!0,attribute:`slot-menu-placement`})],x.prototype,`slotMenuPlacement`,void 0),t.t([(0,d.property)({type:Boolean,reflect:!0,attribute:`hide-configuration`})],x.prototype,`hideConfiguration`,void 0),t.t([(0,d.property)({type:Boolean,reflect:!0,attribute:`hide-clear`})],x.prototype,`hideClear`,void 0),t.t([(0,d.state)()],x.prototype,`_hasExtraEmptySelects`,void 0),x=t.t([(0,f.localized)()],x),customElements.get(`luzmo-item-slot-picker`)||customElements.define(`luzmo-item-slot-picker`,x),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return x}});
|