@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,505 +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 "./data-fields-select-2P9sGs_9.js";
|
|
24
|
-
import { t as i } from "./slots-config-D3ivNWtC.js";
|
|
25
|
-
import { n as a, t as o } from "./convert-data-field-to-slot-content-C6IIqU7G.js";
|
|
26
|
-
import { n as s } from "./display-settings-BShiJjYL.js";
|
|
27
|
-
import { n as c } from "./slot-menu-BsaFfMfl.js";
|
|
28
|
-
import { i as l, n as u } from "./ad-hoc-slot-content-hSlT62VS.js";
|
|
29
|
-
import { n as d } from "./slot-menu-list-Bcm2lpwi.js";
|
|
30
|
-
import { luzmoClose12 as f, luzmoCog as p, luzmoIcon as m, luzmoPlus as h } from "@luzmo/icons";
|
|
31
|
-
import "@luzmo/lucero/overlay";
|
|
32
|
-
import { html as g, unsafeCSS as _ } from "lit";
|
|
33
|
-
import { property as v, state as y } from "lit/decorators.js";
|
|
34
|
-
import { localized as b, msg as x } from "@lit/localize";
|
|
35
|
-
import "@luzmo/lucero/action-button";
|
|
36
|
-
import "@luzmo/lucero/tooltip";
|
|
37
|
-
import "@luzmo/lucero/field-label";
|
|
38
|
-
import { ifDefined as S } from "lit/directives/if-defined.js";
|
|
39
|
-
import { Task as C } from "@lit/task";
|
|
40
|
-
import { ContextProvider as w } from "@lit/context";
|
|
41
|
-
//#region src/components/item-slot-picker/item-slot-picker.module.scss?inline
|
|
42
|
-
var T = ":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 = (e) => {
|
|
43
|
-
if ("columnId" in e && e.columnId) return e.columnId;
|
|
44
|
-
if ("formulaId" in e && e.formulaId) return e.formulaId;
|
|
45
|
-
if ("formula" in e && e.formula) return e.formula;
|
|
46
|
-
}, D = (e) => u(e), O = "::level::", k = (e, t) => `${e}${O}${t}`, A = class extends r(t(e, {
|
|
47
|
-
validSizes: [
|
|
48
|
-
"s",
|
|
49
|
-
"m",
|
|
50
|
-
"l",
|
|
51
|
-
"xl"
|
|
52
|
-
],
|
|
53
|
-
noDefaultSize: !0
|
|
54
|
-
})) {
|
|
55
|
-
static {
|
|
56
|
-
this.styles = _(T);
|
|
57
|
-
}
|
|
58
|
-
_isAdHocFormula(e) {
|
|
59
|
-
return "formula" in e && typeof e.formula == "string";
|
|
60
|
-
}
|
|
61
|
-
constructor() {
|
|
62
|
-
super(), this._loadSlotsConfig = new C(this, {
|
|
63
|
-
task: async ([e]) => {
|
|
64
|
-
if (!e) return this._slotsConfig;
|
|
65
|
-
if (e !== this._itemTypeLoaded) {
|
|
66
|
-
this._itemTypeLoaded = e;
|
|
67
|
-
let t = await i(e);
|
|
68
|
-
return this._slotsConfig = t ?? [], this._slotsConfig;
|
|
69
|
-
}
|
|
70
|
-
return this._slotsConfig;
|
|
71
|
-
},
|
|
72
|
-
args: () => [this.itemType, this.language]
|
|
73
|
-
}), 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 c(), this._changedSlotContents = (e, t = []) => {
|
|
74
|
-
let n = new CustomEvent("luzmo-slot-contents-changed", {
|
|
75
|
-
bubbles: !0,
|
|
76
|
-
composed: !0,
|
|
77
|
-
cancelable: !0,
|
|
78
|
-
detail: {
|
|
79
|
-
slotContents: e,
|
|
80
|
-
linkedDatasetsIds: t
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
return this.dispatchEvent(n), n;
|
|
84
|
-
}, new w(this, {
|
|
85
|
-
context: s,
|
|
86
|
-
initialValue: this._store
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
willUpdate(e) {
|
|
90
|
-
super.willUpdate(e), e.has("slotContents") && (this._currentSlotContents = structuredClone(this.slotContents ?? []), this._store?.setContents(this._currentSlotContents ?? [], this.slotName));
|
|
91
|
-
}
|
|
92
|
-
_onSlotMenuChanges(e) {
|
|
93
|
-
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 ?? []));
|
|
94
|
-
}
|
|
95
|
-
_setSlotContentAtIndex(e, t) {
|
|
96
|
-
let n = e.detail?.dataFields ?? [], r = n.length === 0;
|
|
97
|
-
t >= this._currentSlotContents.length && this._removeEmptySelect();
|
|
98
|
-
for (let e = this._currentSlotContents.length; e <= t; e++) this._currentSlotContents[e] || this._currentSlotContents.push({});
|
|
99
|
-
if (n.length > 0) {
|
|
100
|
-
let e = n[0], r = E(e), i = this._currentSlotContents[t], a = D(i), s = i?.level, c = e.level;
|
|
101
|
-
if (r && (r !== a || s !== c)) {
|
|
102
|
-
let n = typeof e.level == "number";
|
|
103
|
-
this._currentSlotContents[t] = o(e, n);
|
|
104
|
-
}
|
|
105
|
-
} else r && this._currentSlotContents.splice(t, 1);
|
|
106
|
-
this.slotContents = structuredClone(this._currentSlotContents.filter((e) => !!D(e))), this._changedSlotContents(this.slotContents);
|
|
107
|
-
}
|
|
108
|
-
_setSlotContents(e) {
|
|
109
|
-
let t = e.detail.dataFields ?? [], n = this._currentSlotContents.filter((e) => l(e, this.slotConfiguration));
|
|
110
|
-
this.slotConfiguration?.canAcceptMultipleDataFields && t.length > 1 || (t = t.slice(0, 1));
|
|
111
|
-
let r = this._getFilteredDatasetsDataFields(), i = t.map((e) => {
|
|
112
|
-
let t = o(e, typeof e.level == "number"), n = this._getSelectValueForSlotContent(t, r);
|
|
113
|
-
if (n) return {
|
|
114
|
-
selectionValue: n,
|
|
115
|
-
slotContent: t
|
|
116
|
-
};
|
|
117
|
-
}).filter((e) => !!e), a = new Set(i.map((e) => e.selectionValue));
|
|
118
|
-
this._currentSlotContents = this._currentSlotContents?.filter((e) => !l(e, this.slotConfiguration)).filter((e) => {
|
|
119
|
-
let t = this._getSelectValueForSlotContent(e, r);
|
|
120
|
-
return t ? a.has(t) : !1;
|
|
121
|
-
}) ?? [], i.forEach(({ selectionValue: e, slotContent: t }) => {
|
|
122
|
-
let n = this._currentSlotContents.findIndex((t) => this._getSelectValueForSlotContent(t, r) === e);
|
|
123
|
-
if (n !== -1) {
|
|
124
|
-
this._currentSlotContents[n] = t;
|
|
125
|
-
return;
|
|
126
|
-
}
|
|
127
|
-
this._currentSlotContents.push(t);
|
|
128
|
-
}), this._currentSlotContents = [...n, ...this._currentSlotContents], this.slotContents = structuredClone(this._currentSlotContents), this._changedSlotContents(this._currentSlotContents);
|
|
129
|
-
}
|
|
130
|
-
_renderFieldLabel() {
|
|
131
|
-
return g`<luzmo-field-label for="data-fields" size=${this.size}
|
|
132
|
-
>${this.label ?? x("Select...")}
|
|
133
|
-
</luzmo-field-label>`;
|
|
134
|
-
}
|
|
135
|
-
_removeEmptySelect() {
|
|
136
|
-
this._hasExtraEmptySelects = !1;
|
|
137
|
-
}
|
|
138
|
-
_getAcceptableDataFields() {
|
|
139
|
-
let e = [], t = this.slotConfiguration?.acceptableDataFieldTypes?.length ? this.slotConfiguration.acceptableDataFieldTypes : a;
|
|
140
|
-
return this.datasetsDataFields.forEach((n) => {
|
|
141
|
-
(n.columns?.filter((e) => t.includes(e.type ?? "")) ?? []).forEach((t) => {
|
|
142
|
-
e.push({
|
|
143
|
-
datasetId: n.id,
|
|
144
|
-
type: t.type,
|
|
145
|
-
name: t.name,
|
|
146
|
-
columnId: t.id,
|
|
147
|
-
description: t.description,
|
|
148
|
-
subtype: t.subtype,
|
|
149
|
-
format: t.format,
|
|
150
|
-
lowestLevel: t.lowestLevel,
|
|
151
|
-
duration_levels: t.duration_levels,
|
|
152
|
-
duration_format: t.duration_format,
|
|
153
|
-
expression: t.expression,
|
|
154
|
-
hierarchyLevels: t.hierarchyLevels,
|
|
155
|
-
currency: t.currency
|
|
156
|
-
});
|
|
157
|
-
}), this.slotConfiguration?.canAcceptFormula && (n.formulas ?? []).forEach((t) => {
|
|
158
|
-
t.type && (this._isAdHocFormula(t) ? e.push({
|
|
159
|
-
datasetId: n.id,
|
|
160
|
-
type: t.type,
|
|
161
|
-
name: t.label ?? { en: "Ad-hoc formula" },
|
|
162
|
-
formula: t.formula,
|
|
163
|
-
subtype: t.subtype ?? void 0,
|
|
164
|
-
format: t.format
|
|
165
|
-
}) : e.push({
|
|
166
|
-
datasetId: n.id,
|
|
167
|
-
type: t.type,
|
|
168
|
-
name: t.name,
|
|
169
|
-
formulaId: t.id,
|
|
170
|
-
description: t.description,
|
|
171
|
-
subtype: t.subtype,
|
|
172
|
-
format: t.format,
|
|
173
|
-
lowestLevel: t.lowestLevel,
|
|
174
|
-
duration_levels: t.duration_levels,
|
|
175
|
-
duration_format: t.duration_format,
|
|
176
|
-
expression: t.expression,
|
|
177
|
-
currency: t.currency
|
|
178
|
-
}));
|
|
179
|
-
});
|
|
180
|
-
}), e;
|
|
181
|
-
}
|
|
182
|
-
_getFirstAvailableDataField() {
|
|
183
|
-
let e = this._getAcceptableDataFields(), t = new Set(this._currentSlotContents.map((e) => e.columnId ?? e.formulaId ?? e.column ?? e.formula));
|
|
184
|
-
return e.find((e) => {
|
|
185
|
-
let n = E(e);
|
|
186
|
-
return n ? !t.has(n) : !1;
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
_hasAvailableDataFields() {
|
|
190
|
-
return !!this._getFirstAvailableDataField();
|
|
191
|
-
}
|
|
192
|
-
_addDataField() {
|
|
193
|
-
let e = this._getFirstAvailableDataField();
|
|
194
|
-
if (e) {
|
|
195
|
-
let t = o(e, !1);
|
|
196
|
-
this._currentSlotContents.push(t), this.slotContents = structuredClone(this._currentSlotContents), this._changedSlotContents(this.slotContents);
|
|
197
|
-
} else this._hasExtraEmptySelects = !0;
|
|
198
|
-
}
|
|
199
|
-
_renderExtraDataFieldButton() {
|
|
200
|
-
return this._hasAvailableDataFields() ? g`<div class="extra-data-field-button-container">
|
|
201
|
-
<luzmo-action-button
|
|
202
|
-
size="xs"
|
|
203
|
-
.label=${x("Add data field", { desc: "Aria label for add data field button" })}
|
|
204
|
-
@click=${this._addDataField}
|
|
205
|
-
?disabled=${this._hasExtraEmptySelects || this.disabled}
|
|
206
|
-
>
|
|
207
|
-
${m(h)}
|
|
208
|
-
</luzmo-action-button>
|
|
209
|
-
<luzmo-tooltip self-managed placement="top" size=${this.size}>
|
|
210
|
-
Add data field
|
|
211
|
-
</luzmo-tooltip>
|
|
212
|
-
</div>` : g`
|
|
213
|
-
|
|
214
|
-
`;
|
|
215
|
-
}
|
|
216
|
-
_renderSingleSelect() {
|
|
217
|
-
let e = this._renderFieldLabel(), t = this._currentSlotContents.length > 0;
|
|
218
|
-
if (!t && !this._hasExtraEmptySelects) return g`<div class="select-container">
|
|
219
|
-
${this.hasLabel ? e : ""} ${this._renderSelectMenu(0)}
|
|
220
|
-
</div>`;
|
|
221
|
-
let n = this._currentSlotContents.map((t, n) => g` <div class="select-container">
|
|
222
|
-
${this.hasLabel && n === 0 ? e : ""}
|
|
223
|
-
<div class="select-controls">
|
|
224
|
-
${this._renderSelectMenu(n)}
|
|
225
|
-
${this.slotContents?.length > 0 && !this.hideConfiguration ? g`<div class="controls">
|
|
226
|
-
<luzmo-action-button
|
|
227
|
-
.size=${this.size}
|
|
228
|
-
quiet
|
|
229
|
-
id=${`trigger-${n}`}
|
|
230
|
-
.label=${x("Edit", { desc: "Edit action label" })}
|
|
231
|
-
?disabled=${this.disabled}
|
|
232
|
-
>
|
|
233
|
-
${m(p)}
|
|
234
|
-
<luzmo-tooltip
|
|
235
|
-
self-managed
|
|
236
|
-
placement="top"
|
|
237
|
-
size=${this.size}
|
|
238
|
-
>
|
|
239
|
-
edit
|
|
240
|
-
</luzmo-tooltip>
|
|
241
|
-
</luzmo-action-button>
|
|
242
|
-
</div>` : ""}
|
|
243
|
-
${this.slotContents?.length > 0 ? g`<luzmo-overlay
|
|
244
|
-
trigger=${`trigger-${n}@click`}
|
|
245
|
-
.placement=${this.slotMenuPlacement}
|
|
246
|
-
>
|
|
247
|
-
<luzmo-slot-menu
|
|
248
|
-
language=${this.language}
|
|
249
|
-
content-language=${this.contentLanguage}
|
|
250
|
-
slot-type=${this.slotConfiguration?.type}
|
|
251
|
-
slot-name=${S(this.slotName)}
|
|
252
|
-
item-type=${S(this.itemType)}
|
|
253
|
-
api-url=${S(this.apiUrl)}
|
|
254
|
-
auth-key=${S(this.authKey)}
|
|
255
|
-
auth-token=${S(this.authToken)}
|
|
256
|
-
.datasetsDataFields=${this.datasetsDataFields}
|
|
257
|
-
.areGrandTotalsEnabled=${this.slotConfiguration?.options?.areGrandTotalsEnabled}
|
|
258
|
-
.areDatetimeOptionsEnabled=${this.slotConfiguration?.options?.areDatetimeOptionsEnabled}
|
|
259
|
-
.isBinningDisabled=${this.slotConfiguration?.options?.isBinningDisabled}
|
|
260
|
-
.isAggregationDisabled=${this.slotConfiguration?.options?.isAggregationDisabled}
|
|
261
|
-
.isCumulativeSumEnabled=${this.slotConfiguration?.options?.isCumulativeSumEnabled}
|
|
262
|
-
.slotIndex=${n}
|
|
263
|
-
variant="popup"
|
|
264
|
-
.size=${this.size}
|
|
265
|
-
@luzmo-slot-contents-changed=${this._onSlotMenuChanges}
|
|
266
|
-
></luzmo-slot-menu>
|
|
267
|
-
</luzmo-overlay>` : ""}
|
|
268
|
-
</div>
|
|
269
|
-
</div>`);
|
|
270
|
-
return this._hasExtraEmptySelects && n.push(g`<div class="select-container">
|
|
271
|
-
${this._renderSelectMenu(this._currentSlotContents.length)}
|
|
272
|
-
</div>`), t && this.slotConfiguration?.canAcceptMultipleDataFields && n.push(this._renderExtraDataFieldButton()), n;
|
|
273
|
-
}
|
|
274
|
-
_renderMultipleSelect() {
|
|
275
|
-
let e = this._renderFieldLabel();
|
|
276
|
-
return g`<div class="select-container">
|
|
277
|
-
${this.hasLabel ? e : ""}
|
|
278
|
-
|
|
279
|
-
<div class="select-controls">
|
|
280
|
-
${this._renderMultipleSelectionControl()}
|
|
281
|
-
${this.slotContents?.length > 0 && !this.hideConfiguration ? g`<div class="controls">
|
|
282
|
-
<luzmo-action-button
|
|
283
|
-
.size=${this.size}
|
|
284
|
-
quiet
|
|
285
|
-
id="trigger"
|
|
286
|
-
.label=${x("Edit", { desc: "Edit action label" })}
|
|
287
|
-
?disabled=${this.disabled}
|
|
288
|
-
>
|
|
289
|
-
${m(p)}
|
|
290
|
-
<luzmo-tooltip self-managed placement="top" size=${this.size}>
|
|
291
|
-
edit
|
|
292
|
-
</luzmo-tooltip>
|
|
293
|
-
</luzmo-action-button>
|
|
294
|
-
</div>` : ""}
|
|
295
|
-
${this.slotContents?.length > 0 ? g`<luzmo-overlay
|
|
296
|
-
trigger="trigger@click"
|
|
297
|
-
.placement=${this.slotMenuPlacement}
|
|
298
|
-
>
|
|
299
|
-
<luzmo-slot-menu
|
|
300
|
-
language=${this.language}
|
|
301
|
-
content-language=${this.contentLanguage}
|
|
302
|
-
slot-type=${this.slotConfiguration?.type}
|
|
303
|
-
slot-name=${S(this.slotName)}
|
|
304
|
-
item-type=${S(this.itemType)}
|
|
305
|
-
api-url=${S(this.apiUrl)}
|
|
306
|
-
auth-key=${S(this.authKey)}
|
|
307
|
-
auth-token=${S(this.authToken)}
|
|
308
|
-
.datasetsDataFields=${this.datasetsDataFields}
|
|
309
|
-
.areGrandTotalsEnabled=${this.slotConfiguration?.options?.areGrandTotalsEnabled}
|
|
310
|
-
.areDatetimeOptionsEnabled=${this.slotConfiguration?.options?.areDatetimeOptionsEnabled}
|
|
311
|
-
.isBinningDisabled=${this.slotConfiguration?.options?.isBinningDisabled}
|
|
312
|
-
.isAggregationDisabled=${this.slotConfiguration?.options?.isAggregationDisabled}
|
|
313
|
-
.isCumulativeSumEnabled=${this.slotConfiguration?.options?.isCumulativeSumEnabled}
|
|
314
|
-
variant="popup"
|
|
315
|
-
.size=${this.size}
|
|
316
|
-
@luzmo-slot-contents-changed=${this._onSlotMenuChanges}
|
|
317
|
-
></luzmo-slot-menu>
|
|
318
|
-
</luzmo-overlay>` : ""}
|
|
319
|
-
</div>
|
|
320
|
-
</div>`;
|
|
321
|
-
}
|
|
322
|
-
_renderMultipleSelectionControl() {
|
|
323
|
-
let e = this._currentSlotContents.map((e, t) => ({
|
|
324
|
-
content: e,
|
|
325
|
-
index: t
|
|
326
|
-
})).filter(({ content: e }) => l(e, this.slotConfiguration));
|
|
327
|
-
return e.length === 0 ? this._renderSelectMenu() : g`<div class="calculations-list">
|
|
328
|
-
${e.map(({ content: e, index: t }) => this._renderCalculation(e, t))}
|
|
329
|
-
</div>
|
|
330
|
-
${e.length < this._currentSlotContents.length ? this._renderSelectMenu(void 0, !0) : ""}`;
|
|
331
|
-
}
|
|
332
|
-
_getSelectValueForSlotContent(e, t) {
|
|
333
|
-
let n = D(e);
|
|
334
|
-
if (!n) return;
|
|
335
|
-
let r = e.columnId, i = e.level;
|
|
336
|
-
if (!r || typeof i != "number" || Number.isNaN(i)) return n;
|
|
337
|
-
let a;
|
|
338
|
-
for (let e of t) if (a = e.columns?.find((e) => e.id === r), a) break;
|
|
339
|
-
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) ? k(r, i) : n;
|
|
340
|
-
}
|
|
341
|
-
_getFilteredDatasetsDataFields() {
|
|
342
|
-
let e = this.slotConfiguration?.acceptableDataFieldTypes?.length ? this.slotConfiguration.acceptableDataFieldTypes : a;
|
|
343
|
-
return this.datasetsDataFields.map((t) => ({
|
|
344
|
-
...t,
|
|
345
|
-
columns: t.columns?.filter((t) => e.includes(t.type ?? "")) ?? [],
|
|
346
|
-
formulas: this.slotConfiguration?.canAcceptFormula ? t.formulas ?? [] : []
|
|
347
|
-
}));
|
|
348
|
-
}
|
|
349
|
-
_clearCalculation(e) {
|
|
350
|
-
this._currentSlotContents.splice(e, 1), this.slotContents = structuredClone(this._currentSlotContents), this._store?.setContents(this.slotContents, this.slotName), this._changedSlotContents(this.slotContents);
|
|
351
|
-
}
|
|
352
|
-
_renderCalculation(e, t) {
|
|
353
|
-
return g`<div class="calculation-control">
|
|
354
|
-
${d(e)}
|
|
355
|
-
${this.hideClear ? "" : g`<luzmo-action-button
|
|
356
|
-
quiet
|
|
357
|
-
.size=${this.size}
|
|
358
|
-
.label=${x("Clear calculation", { desc: "Clear an ad-hoc slot calculation and return to column selection" })}
|
|
359
|
-
?disabled=${this.disabled}
|
|
360
|
-
@click=${() => this._clearCalculation(t)}
|
|
361
|
-
>
|
|
362
|
-
${m(f)}
|
|
363
|
-
</luzmo-action-button>`}
|
|
364
|
-
</div>`;
|
|
365
|
-
}
|
|
366
|
-
_renderSelectMenu(e, t = !1) {
|
|
367
|
-
let n = e ?? 0, r = this._currentSlotContents[n];
|
|
368
|
-
if (!t && r && (e !== void 0 || this._currentSlotContents.length === 1) && l(r, this.slotConfiguration)) return this._renderCalculation(r, n);
|
|
369
|
-
let i = [], a = this._getFilteredDatasetsDataFields();
|
|
370
|
-
if (e !== void 0 && e >= this._currentSlotContents.length) i = [];
|
|
371
|
-
else if (i = this._currentSlotContents.filter((e) => !t || !l(e, this.slotConfiguration)).map((e) => this._getSelectValueForSlotContent(e, a)).filter((e) => typeof e == "string" && e.length > 0), this.selects === "single" && i?.length > 0) {
|
|
372
|
-
let t = i[e ?? 0];
|
|
373
|
-
i = t ? [t] : [];
|
|
374
|
-
}
|
|
375
|
-
return g`<luzmo-data-fields-select
|
|
376
|
-
.language=${this.language}
|
|
377
|
-
.contentLanguage=${this.contentLanguage}
|
|
378
|
-
.size=${this.size}
|
|
379
|
-
.icons=${this.icons}
|
|
380
|
-
.placeholder=${this.placeholder ?? x("Select...")}
|
|
381
|
-
.placement=${this.placement}
|
|
382
|
-
.search=${this.search}
|
|
383
|
-
?disabled=${this.disabled}
|
|
384
|
-
allow-empty
|
|
385
|
-
.datasetsDataFields=${a}
|
|
386
|
-
.value=${i}
|
|
387
|
-
?clearable=${!this.hideClear}
|
|
388
|
-
.selects=${this.selects === "multiple" && this.slotConfiguration?.canAcceptMultipleDataFields ? "multiple" : "single"}
|
|
389
|
-
data-index=${e ?? 0}
|
|
390
|
-
@luzmo-data-fields-selected=${this._handleSelectChange}
|
|
391
|
-
>
|
|
392
|
-
</luzmo-data-fields-select>`;
|
|
393
|
-
}
|
|
394
|
-
_handleSelectChange(e) {
|
|
395
|
-
if (this.selects === "single") {
|
|
396
|
-
let t = e.currentTarget?.dataset?.index, n = t ? Number.parseInt(t, 10) : 0;
|
|
397
|
-
this._setSlotContentAtIndex(e, Number.isNaN(n) ? 0 : n);
|
|
398
|
-
} else this._setSlotContents(e);
|
|
399
|
-
}
|
|
400
|
-
_itemSlotPickerMarkup() {
|
|
401
|
-
return g`
|
|
402
|
-
<div class="container">
|
|
403
|
-
${this.selects === "multiple" ? this._renderMultipleSelect() : this._renderSingleSelect()}
|
|
404
|
-
</div>
|
|
405
|
-
`;
|
|
406
|
-
}
|
|
407
|
-
render() {
|
|
408
|
-
return this._loadSlotsConfig.render({
|
|
409
|
-
pending: () => g`
|
|
410
|
-
<p>Loading...</p>
|
|
411
|
-
`,
|
|
412
|
-
complete: (e) => {
|
|
413
|
-
if (this.slotName && this.itemType && e) {
|
|
414
|
-
let t = e.find((e) => e.name === this.slotName);
|
|
415
|
-
t && (this.slotConfiguration = t);
|
|
416
|
-
}
|
|
417
|
-
return this._itemSlotPickerMarkup();
|
|
418
|
-
},
|
|
419
|
-
error: (e) => g`
|
|
420
|
-
<div>
|
|
421
|
-
Could not load item-slot-picker: '${this.slotName}' of chart
|
|
422
|
-
'${this.itemType}': ${e}.
|
|
423
|
-
</div>
|
|
424
|
-
`
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
};
|
|
428
|
-
//#endregion
|
|
429
|
-
//#region src/components/item-slot-picker/index.ts
|
|
430
|
-
n([v({
|
|
431
|
-
type: String,
|
|
432
|
-
attribute: "api-url",
|
|
433
|
-
reflect: !0
|
|
434
|
-
})], A.prototype, "apiUrl", void 0), n([v({
|
|
435
|
-
type: String,
|
|
436
|
-
attribute: "auth-key",
|
|
437
|
-
reflect: !0
|
|
438
|
-
})], A.prototype, "authKey", void 0), n([v({
|
|
439
|
-
type: String,
|
|
440
|
-
attribute: "auth-token",
|
|
441
|
-
reflect: !0
|
|
442
|
-
})], A.prototype, "authToken", void 0), n([v({
|
|
443
|
-
type: String,
|
|
444
|
-
reflect: !0,
|
|
445
|
-
attribute: "item-type"
|
|
446
|
-
})], A.prototype, "itemType", void 0), n([v({
|
|
447
|
-
type: String,
|
|
448
|
-
reflect: !0,
|
|
449
|
-
attribute: "slot-name"
|
|
450
|
-
})], A.prototype, "slotName", void 0), n([v({ type: Object })], A.prototype, "slotConfiguration", void 0), n([v({ type: Array })], A.prototype, "slotContents", void 0), n([v({
|
|
451
|
-
type: String,
|
|
452
|
-
attribute: "content-language",
|
|
453
|
-
reflect: !0
|
|
454
|
-
})], A.prototype, "contentLanguage", void 0), n([v({
|
|
455
|
-
type: Boolean,
|
|
456
|
-
attribute: "disabled",
|
|
457
|
-
reflect: !0
|
|
458
|
-
})], A.prototype, "disabled", void 0), n([v({
|
|
459
|
-
type: Boolean,
|
|
460
|
-
attribute: "grows",
|
|
461
|
-
reflect: !0
|
|
462
|
-
})], A.prototype, "grows", void 0), n([v({
|
|
463
|
-
type: String,
|
|
464
|
-
reflect: !0
|
|
465
|
-
})], A.prototype, "menu", void 0), n([v({
|
|
466
|
-
type: Boolean,
|
|
467
|
-
attribute: "has-label",
|
|
468
|
-
reflect: !0
|
|
469
|
-
})], A.prototype, "hasLabel", void 0), n([v({
|
|
470
|
-
type: String,
|
|
471
|
-
reflect: !0
|
|
472
|
-
})], A.prototype, "label", void 0), n([v({
|
|
473
|
-
type: String,
|
|
474
|
-
reflect: !0
|
|
475
|
-
})], A.prototype, "selects", void 0), n([v({
|
|
476
|
-
type: String,
|
|
477
|
-
reflect: !0
|
|
478
|
-
})], A.prototype, "search", void 0), n([v({
|
|
479
|
-
type: String,
|
|
480
|
-
reflect: !0
|
|
481
|
-
})], A.prototype, "icons", void 0), n([v({
|
|
482
|
-
type: String,
|
|
483
|
-
attribute: "placeholder",
|
|
484
|
-
reflect: !0
|
|
485
|
-
})], A.prototype, "placeholder", void 0), n([v({
|
|
486
|
-
type: Array,
|
|
487
|
-
reflect: !1
|
|
488
|
-
})], A.prototype, "datasetsDataFields", void 0), n([v({
|
|
489
|
-
type: String,
|
|
490
|
-
reflect: !0
|
|
491
|
-
})], A.prototype, "placement", void 0), n([v({
|
|
492
|
-
type: String,
|
|
493
|
-
reflect: !0,
|
|
494
|
-
attribute: "slot-menu-placement"
|
|
495
|
-
})], A.prototype, "slotMenuPlacement", void 0), n([v({
|
|
496
|
-
type: Boolean,
|
|
497
|
-
reflect: !0,
|
|
498
|
-
attribute: "hide-configuration"
|
|
499
|
-
})], A.prototype, "hideConfiguration", void 0), n([v({
|
|
500
|
-
type: Boolean,
|
|
501
|
-
reflect: !0,
|
|
502
|
-
attribute: "hide-clear"
|
|
503
|
-
})], A.prototype, "hideClear", void 0), n([y()], A.prototype, "_hasExtraEmptySelects", void 0), A = n([b()], A), customElements.get("luzmo-item-slot-picker") || customElements.define("luzmo-item-slot-picker", A);
|
|
504
|
-
//#endregion
|
|
505
|
-
export { A as t };
|
|
@@ -1,81 +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"),r=require("./data-broker-DWEXs6-2.cjs"),i=require("./type-check-BehV9ZL1.cjs"),a=require("./localize-D3i4Epy_.cjs"),o=require("./slots-config-Cd4xAG4H.cjs"),s=require("./slot-labels.config-DKnxOncr.cjs");require("./item-slot-picker-D8e1NtDd.cjs");let c=require("lit"),l=require("lit/decorators.js"),u=require("@lit/localize");require("@luzmo/lucero/select"),require("@luzmo/lucero/field-label");let d=require("lit/directives/if-defined.js"),f=require("@lit/task");var p=`:host{font-size:var(--luzmo-item-slot-picker-panel-font-size,var(--luzmo-font-size));font-family:var(--luzmo-font-family,sans-serif);color:var(--luzmo-font-color,inherit);display:block}:host([size=s]){font-size:var(--luzmo-item-slot-picker-panel-font-size-s,var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-item-slot-picker-panel-font-size-l,var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-item-slot-picker-panel-font-size-xl,var(--luzmo-font-size-xl))}.container{flex-direction:column;align-items:flex-start;display:flex}.dataset-picker{align-self:stretch;align-items:flex-start;gap:var(--luzmo-item-slot-picker-panel-dataset-picker-gap,var(--luzmo-spacing-2));border-bottom-style:solid;border-bottom-width:var(--luzmo-item-slot-picker-panel-dataset-picker-border-width,1px);border-bottom-color:var(--luzmo-item-slot-picker-panel-dataset-picker-border-color,var(--luzmo-border-color));flex-direction:column;flex-shrink:0;margin-block-end:var(--luzmo-item-slot-picker-panel-dataset-picker-margin-block-end,var(--luzmo-spacing-4));padding-block-end:var(--luzmo-item-slot-picker-panel-dataset-picker-padding-block-end,var(--luzmo-spacing-4));display:flex}.slots-panel{gap:var(--luzmo-item-slot-picker-panel-gap,var(--luzmo-spacing-4));flex-direction:column;display:flex}.slot-container{gap:var(--luzmo-item-slot-picker-panel-slot-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}luzmo-field-label{margin:0}luzmo-item-slot-picker{display:block}:host([grows]) .container{align-items:stretch;width:100%}:host([grows]) .dataset-picker{align-items:stretch}:host([grows]) .dataset-picker luzmo-select{width:100%}`,m=50,h=class extends n.t(e.n(e.i,{validSizes:[`s`,`m`,`l`,`xl`],noDefaultSize:!0})){constructor(...e){super(...e),this._loadSlotsConfig=new f.Task(this,{task:async([e])=>{if(e&&e!==this._itemTypeLoaded){this._itemTypeLoaded=e;let t=await o.t(e);return this._slotsConfig=t??[],this._slotsConfig}return this._slotsConfig},args:()=>[this.itemType,this.language]}),this._slotsConfig=[],this._datasetListItems=[],this._datasetListRetrieving=!1,this._datasetListPending=!1,this._datasetNamesFetchAttempted=!1,this._hasMoreDatasets=!0,this._fetchedDatasetsDataFields=[],this._failedDatasetIds=new Set,this._loadDataFieldsTask=new f.Task(this,{args:()=>[this._currentDatasetId,this.apiUrl,this.authKey,this.authToken,this.datasetsDataFields.length],task:async([e,t,n,a,o])=>{if(o>0||!e)return null;if(!i.s(e))return console.warn(`[LuzmoItemSlotPickerPanel] Invalid dataset ID provided (not a valid UUID): ${e}`),this._failedDatasetIds.add(e),null;if(this._failedDatasetIds.has(e))return null;let s=this._fetchedDatasetsDataFields.find(t=>t.id===e);if(s&&s.columns&&s.columns.length>0)return s;try{let t=await r.t.fetchDatasetsWithColumnsAndFormulas([e]);if(t.length===0)return this._failedDatasetIds.add(e),null;let n=t[0],i=this._fetchedDatasetsDataFields.findIndex(t=>t.id===e);return i===-1?this._fetchedDatasetsDataFields=[...this._fetchedDatasetsDataFields,n]:this._fetchedDatasetsDataFields[i]=n,n}catch(t){return console.warn(`Failed to fetch dataset data fields:`,t),this._failedDatasetIds.add(e),null}}}),this.contentLanguage=`en`,this.slotsContents=[],this.selects=`multiple`,this.dataFieldsSearch=`auto`,this.datasetSearch=`auto`,this.icons=`menu-only`,this.datasetsDataFields=[],this.datasetIds=[],this.datasetPicker=!1,this.apiUrl=`https://api.luzmo.com`,this.placement=`bottom-start`,this.slotMenuPlacement=`bottom-end`,this.constraintMode=`auto`,this.grows=!1,this._currentSlotsContents=[],this._createSlotChangeHandler=e=>t=>{t.preventDefault(),t.stopPropagation();let n=t.detail.slotContents??[],r=this._applySlotConstraints(e,n);r!==null&&(this._currentSlotsContents=r,this.slotsContents=structuredClone(r),this.dispatchEvent(new CustomEvent(`luzmo-slots-contents-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotsContents:r}})))}}static{this.styles=(0,c.unsafeCSS)(p)}get _availableDatasets(){return this.datasetsDataFields.length>0?this.datasetsDataFields:this.datasetIds.length>0?this.datasetIds.map(e=>{let t=this._datasetListItems.find(t=>t.id===e);return t?{id:t.id,name:t.name,description:t.description}:{id:e,name:{en:e}}}):this._datasetListItems.length>0?this._datasetListItems.map(e=>({id:e.id,name:e.name,description:e.description})):[]}get _currentDatasetsDataFields(){if(this.datasetsDataFields.length>0){if(!this._currentDatasetId)return this.datasetsDataFields;let e=this.datasetsDataFields.find(e=>e.id===this._currentDatasetId);return e?[e]:this.datasetsDataFields}let e=this._loadDataFieldsTask.value;if(e)return[{id:e.id,name:e.name,description:e.description,columns:e.columns??[],formulas:e.formulas??[]}];if(this._fetchedDatasetsDataFields.length>0&&this._currentDatasetId){let e=this._fetchedDatasetsDataFields.find(e=>e.id===this._currentDatasetId);if(e)return[{id:e.id,name:e.name,description:e.description,columns:e.columns??[],formulas:e.formulas??[]}]}return[]}get _shouldFetchDatasetList(){return this.datasetPicker&&this.datasetsDataFields.length===0}_areDatasetsLinked(e,t){return e===t}_getUsedDatasetIds(){let e=new Set;for(let t of this._currentSlotsContents)for(let n of t.content)n.datasetId&&e.add(n.datasetId);return[...e]}willUpdate(e){super.willUpdate(e),e.has(`slotsContents`)&&(this._currentSlotsContents=structuredClone(this.slotsContents??[]));let t=e.has(`selectedDatasetId`),n=e.has(`datasetsDataFields`),i=e.has(`datasetIds`),a=e.has(`datasetPicker`),o=e.has(`authKey`),s=e.has(`authToken`),c=e.has(`apiUrl`);(i||o||s||c)&&(this._datasetListItems=[],this._hasMoreDatasets=!0,this._datasetNamesFetchAttempted=!1,this._fetchedDatasetsDataFields=[],this._failedDatasetIds.clear(),r.t.configure({apiUrl:this.apiUrl,authKey:this.authKey??``,authToken:this.authToken??``})),n&&this.datasetsDataFields.length>0&&(this._datasetListItems=[],this._hasMoreDatasets=!0,this._fetchedDatasetsDataFields=[],this._failedDatasetIds.clear()),(t||n||i)&&this._updateCurrentDatasetId(),(i||o||s||c||a)&&this.datasetIds.length>0&&this.datasetPicker&&this.datasetsDataFields.length===0&&this._datasetListItems.length===0&&this._fetchDatasetNamesForPicker()}_updateCurrentDatasetId(){let e=this._availableDatasets;if(this.selectedDatasetId&&e.some(e=>e.id===this.selectedDatasetId)){this._currentDatasetId=this.selectedDatasetId;return}if(this.selectedDatasetId&&this.datasetIds.includes(this.selectedDatasetId)){this._currentDatasetId=this.selectedDatasetId;return}this._currentDatasetId=e.length>0?e[0].id:void 0}async _fetchDatasetNamesForPicker(){if(this.datasetIds.length!==0){this._datasetListPending=!0;try{let e=await r.t.fetchDatasetNames(this.datasetIds);this._datasetListItems=e}catch(e){console.warn(`Failed to fetch dataset names:`,e)}finally{this._datasetListPending=!1,this._datasetNamesFetchAttempted=!0}}}async _loadMoreDatasets(e){if(!(this._datasetListRetrieving||!this._hasMoreDatasets)){this._datasetListRetrieving=!0,e&&(e.retrieving=!0);try{let e=this._datasetListItems.length,t=await r.t.fetchAllDatasets({offset:e,limit:m});this._datasetListItems=[...this._datasetListItems,...t.data],this._hasMoreDatasets=e+m<(t.pagination?.total??0),!this._currentDatasetId&&this._datasetListItems.length>0&&this._updateCurrentDatasetId()}catch(e){console.warn(`Failed to load dataset list:`,e),this._hasMoreDatasets=!1}finally{this._datasetListRetrieving=!1,e&&(e.retrieving=!1)}}}_handlePickerScrolled(e){if(this.datasetIds.length>0)return;let t=e.target,{last:n}=e.detail;n>=this._datasetListItems.length-10&&this._hasMoreDatasets&&this._loadMoreDatasets(t)}async _handlePickerOpened(e){let t=e.target;if(this._datasetListItems.length===0&&this._shouldFetchDatasetList&&this.datasetIds.length===0&&this._hasMoreDatasets){t.pending=!0;try{await this._loadMoreDatasets(t)}finally{t.pending=!1}}}_handleDatasetChange(e){let t=e.detail?.value?.[0];if(!t||t===this._currentDatasetId)return;let n=this._getUsedDatasetIds(),r=this._currentSlotsContents.some(e=>e.content.length>0),i=n.every(e=>this._areDatasetsLinked(e,t));if(r&&!i){if(this.constraintMode===`event-only`){this.dispatchEvent(new CustomEvent(`luzmo-dataset-constraint-triggered`,{bubbles:!0,composed:!0,detail:{previousDatasetId:this._currentDatasetId,newDatasetId:t,currentSlotsContents:structuredClone(this._currentSlotsContents),wouldClearSlots:!0}}));return}this._currentSlotsContents=[],this.slotsContents=[],this.dispatchEvent(new CustomEvent(`luzmo-slots-contents-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotsContents:[]}}))}this._currentDatasetId=t,this.dispatchEvent(new CustomEvent(`luzmo-dataset-changed`,{bubbles:!0,composed:!0,detail:{datasetId:t}}))}_getSlotContents(e){return this._currentSlotsContents?.find(t=>t.name===e)?.content??[]}_applySlotConstraints(e,t){let n=this.slotsConfiguration??this._slotsConfig,r=structuredClone(this._currentSlotsContents),i=structuredClone(this._currentSlotsContents),a=i.findIndex(t=>t.name===e);a===-1?i.push({name:e,content:t}):i[a].content=t;let o=[];for(let r of n){if(r.keepOnlyFirstWhenOtherSlotFilled?.includes(e)&&t.length>0){let t=i.findIndex(e=>e.name===r.name);t!==-1&&i[t].content.length>1&&(o.push({type:`keepOnlyFirstWhenOtherSlotFilled`,affectedSlotName:r.name,triggeredBySlotName:e}),i[t].content=[i[t].content[0]])}if(r.clearWhenOtherSlotHasMultipleItems?.includes(e)&&t.length>1){let t=i.findIndex(e=>e.name===r.name);t!==-1&&i[t].content.length>0&&(o.push({type:`clearWhenOtherSlotHasMultipleItems`,affectedSlotName:r.name,triggeredBySlotName:e}),i[t].content=[])}}if(this.constraintMode===`event-only`&&o.length>0){let n={triggerSlotName:e,proposedTriggerContents:t,originalSlotsContents:r,proposedSlotsContents:i,constraints:o};return this.dispatchEvent(new CustomEvent(`luzmo-slot-constraint-triggered`,{detail:n,bubbles:!0,composed:!0})),null}return i}_getTranslatedLabel(e){let t=(typeof e.label==`string`?e.label:e.label?a.t(e.label,this.language):void 0)??e.name;return s.t[t]?s.t[t]():t}_renderDatasetPicker(){if(!this.datasetPicker)return c.nothing;let e=this._availableDatasets,t=e.length>1,n=this.datasetIds.length>0,r=this._shouldFetchDatasetList;if(!t&&!n&&!r)return c.nothing;let i=this._datasetListPending||this.datasetIds.length>0&&this._datasetListItems.length===0&&this.datasetsDataFields.length===0&&!this._datasetNamesFetchAttempted,o=i?[]:e.map(e=>({value:e.id,label:a.t(e.name,this.contentLanguage)||e.id})),s=i?[]:this._currentDatasetId?[this._currentDatasetId]:[],l=i?(0,u.msg)(`Loading datasets...`):(0,u.msg)(`Select dataset...`);return c.html`
|
|
21
|
-
<div class="dataset-picker" part="dataset-picker">
|
|
22
|
-
<luzmo-field-label part="dataset-field-label" size=${this.size}>
|
|
23
|
-
${this.datasetPickerLabel??(0,u.msg)(`Dataset`)}
|
|
24
|
-
</luzmo-field-label>
|
|
25
|
-
<luzmo-select
|
|
26
|
-
selects="single"
|
|
27
|
-
variant="highlight"
|
|
28
|
-
search=${(0,d.ifDefined)(this.datasetSearch)}
|
|
29
|
-
placement=${this.placement}
|
|
30
|
-
.size=${this.size}
|
|
31
|
-
.options=${o}
|
|
32
|
-
.value=${s}
|
|
33
|
-
.label=${l}
|
|
34
|
-
?pending=${i}
|
|
35
|
-
@change=${this._handleDatasetChange}
|
|
36
|
-
@luzmo-opened=${this._handlePickerOpened}
|
|
37
|
-
@luzmo-scrolled=${this._handlePickerScrolled}
|
|
38
|
-
></luzmo-select>
|
|
39
|
-
</div>
|
|
40
|
-
`}_renderSlot(e){let t=this._getSlotContents(e.name),n=this._createSlotChangeHandler(e.name),r=this._getTranslatedLabel(e);return c.html`
|
|
41
|
-
<div class="slot-container" part="slot-container">
|
|
42
|
-
<luzmo-field-label part="field-label" size=${this.size}>
|
|
43
|
-
${r}${e.isRequired?` *`:``}
|
|
44
|
-
</luzmo-field-label>
|
|
45
|
-
<luzmo-item-slot-picker
|
|
46
|
-
part="item-slot-picker"
|
|
47
|
-
item-type=${(0,d.ifDefined)(this.itemType)}
|
|
48
|
-
slot-name=${e.name}
|
|
49
|
-
language=${this.language}
|
|
50
|
-
content-language=${this.contentLanguage}
|
|
51
|
-
api-url=${(0,d.ifDefined)(this.apiUrl)}
|
|
52
|
-
auth-key=${(0,d.ifDefined)(this.authKey)}
|
|
53
|
-
auth-token=${(0,d.ifDefined)(this.authToken)}
|
|
54
|
-
size=${this.size}
|
|
55
|
-
selects=${this.selects}
|
|
56
|
-
search=${(0,d.ifDefined)(this.dataFieldsSearch)}
|
|
57
|
-
icons=${(0,d.ifDefined)(this.icons)}
|
|
58
|
-
placement=${this.placement}
|
|
59
|
-
slot-menu-placement=${this.slotMenuPlacement}
|
|
60
|
-
?grows=${this.grows}
|
|
61
|
-
aria-required=${e.isRequired?`true`:c.nothing}
|
|
62
|
-
.slotConfiguration=${e}
|
|
63
|
-
.slotContents=${t}
|
|
64
|
-
.datasetsDataFields=${this._currentDatasetsDataFields}
|
|
65
|
-
@luzmo-slot-contents-changed=${n}
|
|
66
|
-
></luzmo-item-slot-picker>
|
|
67
|
-
</div>
|
|
68
|
-
`}_renderSlots(e){return c.html`
|
|
69
|
-
<div class="slots-panel" part="slots-panel">
|
|
70
|
-
${e.map(e=>this._renderSlot(e))}
|
|
71
|
-
</div>
|
|
72
|
-
`}_renderContent(e){return c.html`
|
|
73
|
-
<div class="container" part="container">
|
|
74
|
-
${this._renderDatasetPicker()}
|
|
75
|
-
${this._renderSlots(e)}
|
|
76
|
-
</div>
|
|
77
|
-
`}render(){return this.slotsConfiguration&&this.slotsConfiguration.length>0?this._renderContent(this.slotsConfiguration):this._loadSlotsConfig.render({pending:()=>c.html`
|
|
78
|
-
<p role="status">Loading...</p>
|
|
79
|
-
`,complete:e=>!e||e.length===0?c.html`<p>No slots configuration found for ${this.itemType}</p>`:this._renderContent(e),error:e=>c.html`
|
|
80
|
-
<div role="alert">Could not load slots configuration for '${this.itemType}': ${e}.</div>
|
|
81
|
-
`})}};t.t([(0,l.state)()],h.prototype,`_datasetListItems`,void 0),t.t([(0,l.state)()],h.prototype,`_datasetListRetrieving`,void 0),t.t([(0,l.state)()],h.prototype,`_datasetListPending`,void 0),t.t([(0,l.state)()],h.prototype,`_currentDatasetId`,void 0),t.t([(0,l.state)()],h.prototype,`_fetchedDatasetsDataFields`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`item-type`})],h.prototype,`itemType`,void 0),t.t([(0,l.property)({type:String,attribute:`content-language`,reflect:!0})],h.prototype,`contentLanguage`,void 0),t.t([(0,l.property)({type:Array})],h.prototype,`slotsConfiguration`,void 0),t.t([(0,l.property)({type:Array})],h.prototype,`slotsContents`,void 0),t.t([(0,l.property)({type:String,reflect:!0})],h.prototype,`selects`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`data-fields-search`})],h.prototype,`dataFieldsSearch`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`dataset-search`})],h.prototype,`datasetSearch`,void 0),t.t([(0,l.property)({type:String,reflect:!0})],h.prototype,`icons`,void 0),t.t([(0,l.property)({type:Array,reflect:!1})],h.prototype,`datasetsDataFields`,void 0),t.t([(0,l.property)({type:Array,attribute:`dataset-ids`})],h.prototype,`datasetIds`,void 0),t.t([(0,l.property)({type:String,attribute:`selected-dataset-id`,reflect:!0})],h.prototype,`selectedDatasetId`,void 0),t.t([(0,l.property)({type:Boolean,attribute:`dataset-picker`,reflect:!0})],h.prototype,`datasetPicker`,void 0),t.t([(0,l.property)({type:String,attribute:`dataset-picker-label`})],h.prototype,`datasetPickerLabel`,void 0),t.t([(0,l.property)({type:String,attribute:`api-url`})],h.prototype,`apiUrl`,void 0),t.t([(0,l.property)({type:String,attribute:`auth-key`})],h.prototype,`authKey`,void 0),t.t([(0,l.property)({type:String,attribute:`auth-token`})],h.prototype,`authToken`,void 0),t.t([(0,l.property)({type:String,reflect:!0})],h.prototype,`placement`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`slot-menu-placement`})],h.prototype,`slotMenuPlacement`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`constraint-mode`})],h.prototype,`constraintMode`,void 0),t.t([(0,l.property)({type:Boolean,reflect:!0})],h.prototype,`grows`,void 0),t.t([(0,l.state)()],h.prototype,`_currentSlotsContents`,void 0),h=t.t([(0,u.localized)()],h),customElements.get(`luzmo-item-slot-picker-panel`)||customElements.define(`luzmo-item-slot-picker-panel`,h),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return h}});
|