@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
|
@@ -62,10 +62,14 @@ export declare class LuzmoAiInteractionTextarea extends LitElement {
|
|
|
62
62
|
* @default https://app.luzmo.com
|
|
63
63
|
*/
|
|
64
64
|
appServer: string;
|
|
65
|
+
/** When true, shows public datasets alongside the user's other datasets. */
|
|
66
|
+
includePublicDatasets: boolean;
|
|
65
67
|
/**
|
|
66
|
-
*
|
|
68
|
+
* Alias for includePublicDatasets.
|
|
69
|
+
* @deprecated Use includePublicDatasets instead.
|
|
67
70
|
*/
|
|
68
|
-
flagOpendata: boolean;
|
|
71
|
+
get flagOpendata(): boolean;
|
|
72
|
+
set flagOpendata(value: boolean);
|
|
69
73
|
/**
|
|
70
74
|
* When true, disables the entire component (sets opacity to 60% and prevents all interactions)
|
|
71
75
|
*/
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../ai-interaction-textarea-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../ai-interaction-textarea-CMz5ixwt.cjs");Object.defineProperty(exports,"LuzmoAiInteractionTextarea",{enumerable:!0,get:function(){return e.t}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../ai-interaction-textarea-
|
|
27
|
+
import { t as e } from "../ai-interaction-textarea-uc14Goa4.js";
|
|
28
28
|
export { e as LuzmoAiInteractionTextarea };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
const e=require("./decorate-DCJt-2rt.cjs"),t=require("./set-locale-8XQ-p5_N.cjs"),n=require("./data-broker-CyMYR6w1.cjs"),r=require("./calculate-data-field-icon-DenGmW74.cjs"),i=require("./localize-D3i4Epy_.cjs"),a=require("./get-dataset-name-CIt7of_Z.cjs");require("./dataset-icon-BAV0S4sZ.cjs"),require("./dataset-selector-row-BjyeiTVy.cjs");let o=require("@luzmo/icons");require("@luzmo/lucero/icon");let s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/prompt-box");let u=require("lit/directives/class-map.js");var d=20,f=[`image/png`,`image/jpeg`,`image/webp`,`image/gif`],p=new Set(f),m={png:`image/png`,jpg:`image/jpeg`,jpeg:`image/jpeg`,webp:`image/webp`,gif:`image/gif`};function h(e){try{return new URL(e).pathname.match(/\.([a-z0-9]+)$/i)?.[1]?.toLowerCase()}catch{return}}function g(e){try{let t=new URL(e);return t.protocol===`http:`||t.protocol===`https:`}catch{return!1}}function _(e){return p.has(e.toLowerCase())}function v(e){if(e.type)return _(e.type);let t=e.name.split(`.`).pop()?.toLowerCase();return!!(t&&m[t])}function y(e){if(!g(e))return!1;let t=h(e);return!!(t&&m[t])}function b(e){if(e.length>20)throw Error(`Too many image inputs: received ${e.length}, but the maximum is 20 per request.`);for(let t of e){if(!t.trim())throw Error(`Image input URL must be a non-empty string.`);if(!g(t))throw Error(`Image input URL must be an absolute http(s) URL. Received "${t}".`);let e=h(t);if(e&&!m[e])throw Error(`Unsupported image input URL "${t}". Only PNG, JPEG, WebP, and GIF image URLs are accepted.`)}}function x(e){if(e.length>20)throw Error(`Too many image inputs: received ${e.length}, but the maximum is 20 per request.`);for(let t of e){if(!v(t))throw Error(`Unsupported image attachment "${t.name}" (${t.type||`unknown type`}). Only PNG, JPEG, WebP, and GIF images are accepted.`);if(t.size===0)throw Error(`Image "${t.name}" is empty.`);if(t.size>15728640)throw Error(`Image "${t.name}" is too large. Maximum size is 15 MB.`)}}function S(e,t=`0.1.0`){return`${e.replace(/\/+$/,``)}/${t.replace(/^\/+|\/+$/g,``)}/upload`}function C(e){let{files:t,authKey:n,authToken:r,apiUrl:i,apiVersion:a=`0.1.0`,signal:o,fetchImpl:s=fetch}=e;if(!n||!r)return Promise.reject(Error(`Image upload requires authKey and authToken.`));let c=S(i,a),l=a.replace(/^\/+|\/+$/g,``)||`0.1.0`;return Promise.all(t.map(e=>w(e,{url:c,authKey:n,authToken:r,version:l,signal:o,fetchImpl:s})))}async function w(e,t){let{url:n,authKey:r,authToken:i,version:a,signal:o,fetchImpl:s}=t,c=new FormData;c.append(`key`,r),c.append(`token`,i),c.append(`version`,a),c.append(`action`,`create`),c.append(`properties.type`,`image`),c.append(`file`,e,e.name);let l=await s(n,{method:`POST`,body:c,signal:o,redirect:`error`});if(!l.ok){let t=await T(l);throw Error(`Image upload failed for "${e.name}" (${l.status})${t?`: ${t}`:`.`}`)}let u=await l.json(),d=typeof u?.url==`string`?u.url.trim():``;if(!d)throw Error(`Image upload for "${e.name}" did not return a url.`);return d}async function T(e){try{return(await e.text()).trim().slice(0,200)}catch{return``}}function E(e,t=`0.1.0`){return`${e.replace(/\/+$/,``)}/${t.replace(/^\/+|\/+$/g,``)}/aidictation`}function D(e){let{authKey:t,authToken:n,audioBase64:r,mimeType:i,apiVersion:a=`0.1.0`,stream:o=!0,language:s}=e;return{key:t,token:n,action:`create`,version:a,properties:{audio:r,mimetype:i,stream:o,...s?{language:s}:{}}}}async function O(e){let t=await e.arrayBuffer(),n=new Uint8Array(t),r=32768,i=``;for(let e=0;e<n.length;e+=r){let t=n.subarray(e,e+r);i+=String.fromCharCode(...t)}return btoa(i)}async function k(e){let{audioBlob:t,mimeType:n,authKey:r,authToken:i,apiUrl:a,apiVersion:o=`0.1.0`,language:s,signal:c,onDelta:l,fetchImpl:u=fetch}=e;if(!r||!i)throw Error(`Voice transcription requires authKey and authToken.`);if(!t||t.size===0)throw Error(`Voice transcription requires a non-empty audio recording.`);let d=await O(t),f=E(a,o),p=D({authKey:r,authToken:i,audioBase64:d,mimeType:n||t.type||`audio/webm`,apiVersion:o,stream:!0,language:s}),m=await u(f,{method:`POST`,headers:{"Content-Type":`application/json`},mode:`cors`,redirect:`error`,body:JSON.stringify(p),signal:c});if(!m.ok){let e=await F(m);throw Error(`Voice transcription failed (${m.status})${e?`: ${e}`:`.`}`)}if(!m.body)throw Error(`Voice transcription response body is not readable.`);await N(m.body,e=>{let t=A(e);t&&l(t)})}function A(e){return e.type===`text_delta`&&typeof e.delta==`string`?e.delta:typeof e.text_delta==`string`?e.text_delta:``}var j=/^[a-z]+:/i;function M(e){let t=e.trim();if(!t||t.startsWith(`:`))return null;let n=t;if(n.startsWith(`data:`))n=n.slice(5).trimStart();else if(j.test(n))return null;return!n||n===`[DONE]`?null:JSON.parse(n)}async function N(e,t){let n=e.getReader(),r=new TextDecoder,i=``;try{for(;;){let{done:e,value:a}=await n.read();if(e)break;i+=r.decode(a,{stream:!0});let o=i.split(/\r?\n/);i=o.pop()??``;for(let e of o)P(e,t)}i+=r.decode();let e=i.trim();e&&P(e,t)}finally{n.releaseLock()}}function P(e,t){let n=M(e);n&&t(n)}async function F(e){try{return(await e.text()).trim().slice(0,200)}catch{return``}}var I=`:host{box-sizing:border-box;display:block}:host .content-wrapper{flex-direction:column;display:flex}:host .content-wrapper.single-line{align-items:stretch}:host .content-wrapper.disabled{opacity:var(--luzmo-ai-interaction-textarea-disabled-opacity,var(--ai-interaction-textarea-disabled-opacity));pointer-events:none;cursor:not-allowed}:host .content-wrapper.disabled *{pointer-events:none}:host luzmo-prompt-box{--luzmo-prompt-box-attachments-gap:var(--luzmo-spacing-3,8px);--luzmo-prompt-box-border-radius:var(--ai-interaction-textarea-prompt-box-border-radius);inline-size:100%}:host .attachment-error{color:var(--luzmo-negative-color,#ca221c);font-size:var(--luzmo-font-size-s,12px);margin-block-start:var(--luzmo-spacing-2,4px);line-height:1.4}:host{--ai-interaction-textarea-disabled-opacity:.6;--ai-interaction-textarea-prompt-box-border-radius:var(--luzmo-prompt-box-border-radius,var(--luzmo-border-radius-l,8px))}`,L=3e3,R=6e4,z=class extends s.LitElement{constructor(...e){super(...e),this.placeholder=`Type your prompt here...`,this.selectedDatasets=[],this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.includePublicDatasets=!1,this.disabled=!1,this.singleLine=!1,this.hideDatasetButton=!1,this.hideDatasetIcons=!1,this.maxVisibleSelectedDatasets=5,this.disableDatasetModification=!1,this.hideSelectedDatasets=!1,this.disableColumnMentions=!1,this.isGenerating=!1,this.stoppable=!1,this.value=``,this.retainOnSubmit=!1,this.requireDataset=!1,this.allowImages=!1,this.allowVoiceInput=!1,this.acceptedFileTypes=[],this.apiVersion=`0.1.0`,this.fileIcons={},this._promptValue=``,this._isPromptValid=!1,this._fieldTriggerOptions=[],this._datasetsFieldConfig=[],this._attachmentError=null,this._isRecording=!1,this._isTranscribing=!1,this._activeFieldRequestId=0,this._attachmentUploads=new Map,this._pendingAttachmentSync=null,this._attachmentSyncScheduled=!1,this._attachmentErrorClearHandle=0,this._submitInProgress=!1,this._voiceSessionActive=!1,this._preRecordingValue=``,this._voicePrefix=``,this._voiceSuffix=``,this._streamedTranscript=``,this._transcriptionController=null,this._renderFieldTriggerIcon=e=>{let t=e.data?.datasetInfo;return e.header&&t?s.html`
|
|
21
|
+
<span>
|
|
22
|
+
${this.hideDatasetIcons?s.html`<luzmo-icon .icon=${o.luzmoPlugin} size="s"></luzmo-icon>`:s.html`
|
|
23
|
+
<luzmo-dataset-icon
|
|
24
|
+
.datasetInfo=${t}
|
|
25
|
+
size="16px"
|
|
26
|
+
app-url=${this.appServer}
|
|
27
|
+
></luzmo-dataset-icon>
|
|
28
|
+
`}
|
|
29
|
+
</span>
|
|
30
|
+
`:e.icon?s.html`
|
|
31
|
+
<span>
|
|
32
|
+
<luzmo-icon .icon=${e.icon} size="s"></luzmo-icon>
|
|
33
|
+
</span>
|
|
34
|
+
`:s.nothing},this._handleAttachClick=()=>{this.openFilePicker()},this._handleAttachmentsChange=e=>{this._pendingAttachmentSync=e.detail?.attachments??this.getAttachments(),!this._attachmentSyncScheduled&&(this._attachmentSyncScheduled=!0,queueMicrotask(()=>{if(this._attachmentSyncScheduled=!1,!this.isConnected){this._pendingAttachmentSync=null;return}let e=this._pendingAttachmentSync??this.getAttachments();this._pendingAttachmentSync=null,this._syncAttachments(e)}))},this._handleVoiceKeydown=e=>{e.key===`Escape`&&this._isTranscribing&&(e.preventDefault(),e.stopPropagation(),this._cancelVoiceSession())},this._handleRecord=e=>{if(e.stopPropagation(),e.detail?.isRecording){this._captureVoiceInsertPoint(),this._isRecording=!0,this._isTranscribing=!1;return}this._isRecording=!1},this._handleRecordCancel=e=>{e.stopPropagation(),this._cancelVoiceSession()},this._handleRecordError=e=>{e.stopPropagation(),this._abortTranscription(),this._resetVoiceSessionState();let t=e.detail?.error?.trim()||(0,l.msg)(`Voice recording failed`,{desc:`Error when microphone recording fails in the AI prompt`});this._showAttachmentError(t)},this._handleRecordingComplete=e=>{e.stopPropagation();let{audioBlob:t,mimeType:n}=e.detail??{};if(!t){this._resetVoiceSessionState();return}this._transcribeRecording(t,n||t.type||`audio/webm`)}}static{this.styles=(0,s.unsafeCSS)(I)}static{this.tagName=`luzmo-ai-interaction-textarea`}get flagOpendata(){return this.includePublicDatasets}set flagOpendata(e){this.includePublicDatasets=e}get _voiceBusy(){return this._isRecording||this._isTranscribing}get _buttonDisabled(){return this.disabled||this.isGenerating||this._voiceBusy||!this._isPromptValid?!0:this.requireDataset&&this.selectedDatasets.length===0}get _promptPending(){return this.isGenerating||this._isTranscribing}get _promptReadonly(){return this._voiceBusy}get _actionsDisabled(){return this.disabled||this.isGenerating||this._voiceBusy}get _fieldTriggers(){return this.disableColumnMentions?[]:[{key:`@`,options:this._fieldTriggerOptions,highlightSearch:!0,iconTemplate:this._renderFieldTriggerIcon}]}connectedCallback(){super.connectedCallback(),this._configureBroker(),this._refreshDatasetsFieldConfig(),this.addEventListener(`keydown`,this._handleVoiceKeydown)}disconnectedCallback(){window.clearTimeout(this._attachmentErrorClearHandle),this._abortAllAttachmentUploads(),this._abortTranscription(),this.removeEventListener(`keydown`,this._handleVoiceKeydown),super.disconnectedCallback()}_configureBroker(){n.t.configure({authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl})}_handlePromptInput(e){let t=e.target.value??``;this._promptValue=t,this._isPromptValid=t.trim().length>0}openFilePicker(){this._promptBox?.openFilePicker()}addFiles(e){return this._promptBox?.addFiles(e)??[]}removeAttachment(e){this._cleanupAttachmentUpload(e),this._promptBox?.removeAttachment(e)}setAttachmentLoading(e,t){this._promptBox?.setAttachmentLoading(e,t)}clearAttachments(){this._abortAllAttachmentUploads(),this._promptBox?.clearAttachments()}getAttachments(){return this._promptBox?.getAttachments()??[]}getAttachmentUrls(e=this.getAttachments()){return e.map(e=>this._attachmentUploads.get(e.id)?.url).filter(e=>typeof e==`string`&&e.length>0)}_showAttachmentError(e){this._attachmentError=e,window.clearTimeout(this._attachmentErrorClearHandle),this._attachmentErrorClearHandle=window.setTimeout(()=>{this._attachmentError=null},L)}_cleanupAttachmentUpload(e){this._attachmentUploads.get(e)?.controller?.abort(),this._attachmentUploads.delete(e)}_abortAllAttachmentUploads(){for(let e of this._attachmentUploads.values())e.controller?.abort();this._attachmentUploads.clear()}async _uploadSingleFile(e,t){let n=``;if(typeof this.uploadAttachments==`function`){let r=await this.uploadAttachments([e],{signal:t});n=Array.isArray(r)?r[0]?.trim()??``:``}else{if(!this.authKey||!this.authToken)throw Error(`Image upload requires authKey and authToken.`);let[r]=await C({files:[e],authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl,apiVersion:this.apiVersion,signal:t});n=r?.trim()??``}if(!n)throw Error(`Image upload for "${e.name}" did not return a url.`);return b([n]),n}_startAttachmentUpload(e){let{id:t,file:n}=e;if(!n){this.removeAttachment(t);return}if(!v(n)){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Only PNG, JPEG, WebP, and GIF images can be attached.`,{desc:`Error when the user attaches an unsupported image type to the AI prompt`}));return}if(n.size===0){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}));return}if(n.size>15728640){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Image is too large. Maximum size is 15 MB.`,{desc:`Error when an attached AI prompt image exceeds the 15 MB upload limit`}));return}this.setAttachmentLoading(t,!0);let r=new AbortController,i={controller:r};this._attachmentUploads.set(t,i);let a=window.setTimeout(()=>r.abort(),R),o=()=>{this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}))};i.promise=(async()=>{try{let e=await this._uploadSingleFile(n,r.signal);window.clearTimeout(a);let i=this._attachmentUploads.get(t);if(!i||i.controller!==r)return;i.url=e,i.controller=void 0,i.promise=void 0,this.setAttachmentLoading(t,!1)}catch(e){if(window.clearTimeout(a),r.signal.aborted||e?.name===`AbortError`){this._attachmentUploads.get(t)?.controller===r&&o();return}o()}})()}_syncAttachments(e){let t=new Set(e.map(e=>e.id));for(let e of Array.from(this._attachmentUploads.keys()))t.has(e)||this._cleanupAttachmentUpload(e);let n=!1;for(let t of e)if(!this._attachmentUploads.has(t.id)){if(this._attachmentUploads.size>=20){n=!0,this._promptBox?.removeAttachment(t.id);continue}this._startAttachmentUpload(t)}n&&this._showAttachmentError((0,l.msg)(l.str`You can attach up to ${20} images.`,{desc:`Error when the user tries to attach more images than the AI prompt allows`}))}async _waitForAttachmentUploads(e){let t=e.map(e=>this._attachmentUploads.get(e.id)?.promise).filter(e=>!!e);t.length!==0&&await Promise.all(t)}async _submitPrompt(e=this._promptValue,t=[]){if(this._promptValue=e,this._isPromptValid=e.trim().length>0,!(this._buttonDisabled||this._submitInProgress)){this._submitInProgress=!0;try{let n=e.trim(),r=t.length>0?[...t]:this.getAttachments(),i=r.filter(e=>!!e.file&&v(e.file));await this._waitForAttachmentUploads(i);let a=[];for(let e of i){let t=this._attachmentUploads.get(e.id)?.url;if(!t){this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}));return}a.push(t)}this.retainOnSubmit||(this._promptValue=``,this._isPromptValid=!1,this._abortAllAttachmentUploads(),this._promptBox?.clear()),this.dispatchEvent(new CustomEvent(`prompt-submitted`,{detail:{prompt:n,selectedDatasets:this.selectedDatasets,attachments:r,attachmentUrls:a},bubbles:!0,composed:!0}))}finally{this._submitInProgress=!1}}}_handleDatasetSelected(e){let t=e.detail;this.selectedDatasets.some(e=>e.id===t.id)||(this.selectedDatasets=[...this.selectedDatasets,t])}_handleDatasetRemoved(e){let t=e.detail;this.selectedDatasets=this.selectedDatasets.filter(e=>e.id!==t.id)}_getLocalizedFieldLabel(e){if(e)return typeof e==`string`?e:i.t(e,t.t())}_mapColumnToTriggerOption(e,t){return t.id?{label:this._getLocalizedFieldLabel(t.name)||t.id,value:`${e}:column:${t.id}`,icon:r.t(t,`s`),elementType:`data-field`,data:{datasetId:e,columnId:t.id,type:t.type,subtype:t.subtype}}:null}_mapFormulaToTriggerOption(e,t){return t.id?{label:this._getLocalizedFieldLabel(t.name)||t.id,value:`${e}:formula:${t.id}`,icon:r.r.formula[r.i(`s`)],elementType:`data-field`,data:{datasetId:e,formulaId:t.id,type:t.type,subtype:t.subtype}}:null}_updateFieldTriggerOptionsFromConfig(){let e=new Map(this._datasetsFieldConfig.map(e=>[e.id,e])),t=[];for(let n of this.selectedDatasets){let r=e.get(n.id),i=[],o=r?.columns?.filter(e=>!e.hidden)??[];for(let e of o){let t=this._mapColumnToTriggerOption(n.id,e);t&&i.push(t)}let s=r?.formulas?.filter(e=>!e.hidden)??[];for(let e of s){let t=this._mapFormulaToTriggerOption(n.id,e);t&&i.push(t)}i.length!==0&&(t.push({label:a.t(n),value:`dataset-header:${n.id}`,header:!0,data:{datasetInfo:n}}),t.push(...i))}this._fieldTriggerOptions=t}async _refreshDatasetsFieldConfig(){if(this.disableColumnMentions){this._datasetsFieldConfig=[],this._fieldTriggerOptions=[];return}let e=[...new Set(this.selectedDatasets.map(e=>e.id).filter(Boolean))];if(e.length===0){this._datasetsFieldConfig=[],this._fieldTriggerOptions=[];return}let t=++this._activeFieldRequestId;this._updateFieldTriggerOptionsFromConfig();try{let r=await n.t.fetchDatasetsWithColumnsAndFormulas(e);if(t!==this._activeFieldRequestId)return;this._datasetsFieldConfig=r,this._updateFieldTriggerOptionsFromConfig()}catch(e){console.error(`Error loading dataset fields for prompt triggers:`,e),t===this._activeFieldRequestId&&(this._datasetsFieldConfig=[],this._updateFieldTriggerOptionsFromConfig())}}_handlePromptSubmit(e){this._submitPrompt(e.detail?.value??this._promptValue,e.detail?.attachments??[])}_handlePromptStop(e){if(e.stopPropagation(),this._isTranscribing){this._cancelVoiceSession();return}this.dispatchEvent(new CustomEvent(`prompt-stopped`,{bubbles:!0,composed:!0}))}_getCaretTextOffset(){let e=this._promptBox?.shadowRoot;if(!e)return this._promptValue.length;let t=e.querySelector(`.rich-input`)??e.querySelector(`luzmo-text-field`);if(!t)return this._promptValue.length;let n=e.getSelection?.()??document.getSelection();if(!n||n.rangeCount===0)return this._promptValue.length;let r=n.getRangeAt(0);if(!t.contains(r.startContainer))return this._promptValue.length;let i=r.cloneRange();return i.selectNodeContents(t),i.setEnd(r.startContainer,r.startOffset),i.toString().length}_setPromptText(e){this._promptValue=e,this._isPromptValid=e.trim().length>0,this._syncControlledValueToPromptBox()}_captureVoiceInsertPoint(){let e=Math.min(Math.max(this._getCaretTextOffset(),0),this._promptValue.length);this._preRecordingValue=this._promptValue,this._voicePrefix=this._promptValue.slice(0,e),this._voiceSuffix=this._promptValue.slice(e),this._streamedTranscript=``,this._voiceSessionActive=!0}_applyStreamedTranscript(){this._setPromptText(`${this._voicePrefix}${this._streamedTranscript}${this._voiceSuffix}`)}_resetVoiceSessionState(){this._isRecording=!1,this._isTranscribing=!1,this._streamedTranscript=``,this._voicePrefix=``,this._voiceSuffix=``,this._preRecordingValue=``,this._voiceSessionActive=!1}_abortTranscription(){this._transcriptionController?.abort(),this._transcriptionController=null}_cancelVoiceSession(){if(!this._voiceSessionActive){this._abortTranscription(),this._resetVoiceSessionState();return}let e=this._preRecordingValue;this._abortTranscription(),this._resetVoiceSessionState(),this._setPromptText(e)}async _transcribeRecording(e,t){this._abortTranscription();let n=new AbortController;this._transcriptionController=n,this._isRecording=!1,this._isTranscribing=!0,this._streamedTranscript=``;try{if(await k({audioBlob:e,mimeType:t,authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl,apiVersion:this.apiVersion,signal:n.signal,onDelta:e=>{n.signal.aborted||(this._streamedTranscript+=e,this._applyStreamedTranscript())}}),n.signal.aborted)return;this._resetVoiceSessionState()}catch(e){if(n.signal.aborted)return;console.error(`Voice transcription failed:`,e),this._setPromptText(this._preRecordingValue),this._resetVoiceSessionState(),this._showAttachmentError((0,l.msg)(`Failed to transcribe audio`,{desc:`Error when AI prompt voice transcription fails`}))}finally{this._transcriptionController===n&&(this._transcriptionController=null)}}_syncControlledValueToPromptBox(){let e=this._promptBox;if(!e?.allowElements){e&&(e.value=this._promptValue);return}e.segments=this._promptValue?[{type:`text`,value:this._promptValue}]:[]}willUpdate(e){e.has(`value`)&&(this._promptValue=this.value,this._isPromptValid=this.value.trim().length>0);let t=e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`);t&&this._configureBroker(),(t||e.has(`selectedDatasets`)||e.has(`disableColumnMentions`))&&this._refreshDatasetsFieldConfig()}updated(e){super.updated(e),e.has(`value`)&&this._syncControlledValueToPromptBox()}render(){return s.html`
|
|
35
|
+
<div class=${(0,u.classMap)({"content-wrapper":!0,disabled:this.disabled,"single-line":this.singleLine})} aria-busy=${this.isGenerating||this._voiceBusy?`true`:`false`}>
|
|
36
|
+
<luzmo-prompt-box
|
|
37
|
+
?single-line=${this.singleLine}
|
|
38
|
+
?pending=${this._promptPending}
|
|
39
|
+
?stoppable=${this.stoppable&&this.isGenerating||this._isTranscribing}
|
|
40
|
+
?disabled=${this.disabled}
|
|
41
|
+
?readonly=${this._promptReadonly}
|
|
42
|
+
?disable-submit=${this._buttonDisabled}
|
|
43
|
+
?allow-images=${this.allowImages}
|
|
44
|
+
?recording=${this.allowVoiceInput}
|
|
45
|
+
.acceptedFileTypes=${this.acceptedFileTypes}
|
|
46
|
+
.fileIcons=${this.fileIcons}
|
|
47
|
+
grows
|
|
48
|
+
allow-elements
|
|
49
|
+
.placeholder=${this.placeholder}
|
|
50
|
+
.value=${this._promptValue}
|
|
51
|
+
.triggers=${this._fieldTriggers}
|
|
52
|
+
@input=${this._handlePromptInput}
|
|
53
|
+
@luzmo-submit=${this._handlePromptSubmit}
|
|
54
|
+
@luzmo-stop=${this._handlePromptStop}
|
|
55
|
+
@luzmo-attachments-change=${this._handleAttachmentsChange}
|
|
56
|
+
@luzmo-record=${this._handleRecord}
|
|
57
|
+
@luzmo-recording-complete=${this._handleRecordingComplete}
|
|
58
|
+
@luzmo-record-cancel=${this._handleRecordCancel}
|
|
59
|
+
@luzmo-record-error=${this._handleRecordError}
|
|
60
|
+
>
|
|
61
|
+
${this.hideSelectedDatasets||this.hideDatasetButton?``:s.html`
|
|
62
|
+
<luzmo-dataset-selector-row
|
|
63
|
+
slot="top-actions"
|
|
64
|
+
.selectedDatasets=${this.selectedDatasets}
|
|
65
|
+
.maxVisibleSelectedDatasets=${this.maxVisibleSelectedDatasets}
|
|
66
|
+
auth-key=${this.authKey}
|
|
67
|
+
auth-token=${this.authToken}
|
|
68
|
+
api-url=${this.apiUrl}
|
|
69
|
+
app-server=${this.appServer}
|
|
70
|
+
?include-public-datasets=${this.includePublicDatasets}
|
|
71
|
+
?hide-dataset-icons=${this.hideDatasetIcons}
|
|
72
|
+
?disabled=${this._actionsDisabled}
|
|
73
|
+
?disable-dataset-modification=${this.disableDatasetModification}
|
|
74
|
+
@dataset-selected=${this._handleDatasetSelected}
|
|
75
|
+
@dataset-removed=${this._handleDatasetRemoved}
|
|
76
|
+
></luzmo-dataset-selector-row>
|
|
77
|
+
`}
|
|
78
|
+
${this.allowImages?s.html`
|
|
79
|
+
<luzmo-action-button
|
|
80
|
+
slot="bottom-actions"
|
|
81
|
+
size="m"
|
|
82
|
+
quiet
|
|
83
|
+
?disabled=${this._actionsDisabled}
|
|
84
|
+
label=${(0,l.msg)(`Add attachments`,{desc:`Accessible label for the AI prompt attachment button`})}
|
|
85
|
+
@click=${this._handleAttachClick}
|
|
86
|
+
>
|
|
87
|
+
<luzmo-icon slot="icon" size="m" .icon=${o.luzmoPaperclip}></luzmo-icon>
|
|
88
|
+
</luzmo-action-button>
|
|
89
|
+
`:s.nothing}
|
|
90
|
+
</luzmo-prompt-box>
|
|
91
|
+
${this._attachmentError?s.html`
|
|
92
|
+
<div class="attachment-error" role="alert">${this._attachmentError}</div>
|
|
93
|
+
`:s.nothing}
|
|
94
|
+
</div>
|
|
95
|
+
`}};e.t([(0,c.property)({type:String})],z.prototype,`placeholder`,void 0),e.t([(0,c.property)({type:Array})],z.prototype,`selectedDatasets`,void 0),e.t([(0,c.property)({type:String,attribute:`auth-key`})],z.prototype,`authKey`,void 0),e.t([(0,c.property)({type:String,attribute:`auth-token`})],z.prototype,`authToken`,void 0),e.t([(0,c.property)({type:String,attribute:`api-url`})],z.prototype,`apiUrl`,void 0),e.t([(0,c.property)({type:String,attribute:`app-server`})],z.prototype,`appServer`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`include-public-datasets`})],z.prototype,`includePublicDatasets`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`flag-opendata`})],z.prototype,`flagOpendata`,null),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`disabled`})],z.prototype,`disabled`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`single-line`})],z.prototype,`singleLine`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-dataset-button`})],z.prototype,`hideDatasetButton`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-dataset-icons`})],z.prototype,`hideDatasetIcons`,void 0),e.t([(0,c.property)({type:Number,reflect:!0,useDefault:!0,attribute:`max-visible-selected-datasets`})],z.prototype,`maxVisibleSelectedDatasets`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`disable-dataset-modification`})],z.prototype,`disableDatasetModification`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-selected-datasets`})],z.prototype,`hideSelectedDatasets`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`disable-column-mentions`})],z.prototype,`disableColumnMentions`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`is-generating`})],z.prototype,`isGenerating`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0})],z.prototype,`stoppable`,void 0),e.t([(0,c.property)({type:String})],z.prototype,`value`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`retain-on-submit`})],z.prototype,`retainOnSubmit`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`require-dataset`})],z.prototype,`requireDataset`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`allow-images`})],z.prototype,`allowImages`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`allow-voice-input`})],z.prototype,`allowVoiceInput`,void 0),e.t([(0,c.property)({type:Array,attribute:`accepted-file-types`})],z.prototype,`acceptedFileTypes`,void 0),e.t([(0,c.property)({type:String,attribute:`api-version`})],z.prototype,`apiVersion`,void 0),e.t([(0,c.property)({attribute:!1})],z.prototype,`uploadAttachments`,void 0),e.t([(0,c.property)({attribute:!1})],z.prototype,`fileIcons`,void 0),e.t([(0,c.state)()],z.prototype,`_promptValue`,void 0),e.t([(0,c.state)()],z.prototype,`_isPromptValid`,void 0),e.t([(0,c.state)()],z.prototype,`_fieldTriggerOptions`,void 0),e.t([(0,c.state)()],z.prototype,`_datasetsFieldConfig`,void 0),e.t([(0,c.state)()],z.prototype,`_attachmentError`,void 0),e.t([(0,c.state)()],z.prototype,`_isRecording`,void 0),e.t([(0,c.state)()],z.prototype,`_isTranscribing`,void 0),e.t([(0,c.query)(`luzmo-prompt-box`)],z.prototype,`_promptBox`,void 0),z=e.t([(0,l.localized)()],z),customElements.get(`luzmo-ai-interaction-textarea`)||customElements.define(`luzmo-ai-interaction-textarea`,z),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return x}});
|