@luzmo/analytics-components-kit 1.0.5-beta.3 → 1.0.6
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 +3 -1
- package/components/area-chart-options.config-C49V29Y8.js +229 -0
- package/components/area-chart-positioning.config-1oFe5GQZ.cjs +20 -0
- package/components/area-chart-positioning.config-CpN8ybzu.js +55 -0
- package/components/area-chart-slots.config-DHeIgMLg.js +55 -0
- package/components/bar-chart-options.config-CL5P0qO3.js +300 -0
- package/components/bar-chart-positioning.config-D8xaCMCZ.cjs +20 -0
- package/components/bar-chart-positioning.config-FY7a9tkw.js +59 -0
- package/components/bar-chart-slots.config-DwTg8FbR.js +50 -0
- package/components/base-C637VyP1.cjs +20 -0
- package/components/base-DCUhSENj.js +248 -0
- package/components/box-plot-options.config-Qr3EjXtR.js +356 -0
- package/components/box-plot-positioning.config-B8KZRp7Z.cjs +20 -0
- package/components/box-plot-positioning.config-BDiLuilt.js +48 -0
- package/components/box-plot-slots.config-DiKHnGWa.js +40 -0
- package/components/bubble-chart-options.config-C5AjfJ-e.js +135 -0
- package/components/bubble-chart-positioning.config-B_iuArqa.js +55 -0
- package/components/bubble-chart-positioning.config-CjQj2Xw7.cjs +20 -0
- package/components/bubble-chart-slots.config-B8jVSy39.js +47 -0
- package/components/bullet-chart-options.config-oj1ECQfr.js +75 -0
- package/components/bullet-chart-positioning.config-DCIEjZ-u.js +56 -0
- package/components/bullet-chart-positioning.config-DYa0-Ssl.cjs +20 -0
- package/components/bullet-chart-slots.config-fNIvT9pt.js +46 -0
- package/components/choropleth-map-options.config-CBCRL0Q9.js +348 -0
- package/components/choropleth-map-positioning.config-CBaaidlT.js +55 -0
- package/components/choropleth-map-positioning.config-Cmgu7SkX.cjs +20 -0
- package/components/choropleth-map-slots.config-DEFBSjr_.js +53 -0
- package/components/circle-pack-chart-options.config-Ql_H79R5.js +54 -0
- package/components/circle-pack-chart-positioning.config-BpRTuvX3.js +48 -0
- package/components/circle-pack-chart-positioning.config-D-OOazzj.cjs +20 -0
- package/components/circle-pack-chart-slots.config-C88i4e0I.js +38 -0
- package/components/circular-gauge-options.config-DVqkM9J-.js +188 -0
- package/components/circular-gauge-positioning.config-CPmuEH4P.js +48 -0
- package/components/circular-gauge-positioning.config-CU5j-YVN.cjs +20 -0
- package/components/circular-gauge-slots.config-tCi8lb6r.js +39 -0
- package/components/column-chart-options.config-CP6dQDMX.js +299 -0
- package/components/column-chart-positioning.config-BZrwf5kb.js +55 -0
- package/components/column-chart-positioning.config-COLCV6uF.cjs +20 -0
- package/components/column-chart-slots.config-DlgmagVN.js +50 -0
- package/components/combination-chart-options.config-CxipfQJd.js +150 -0
- package/components/combination-chart-positioning.config-C7x9UeXL.cjs +20 -0
- package/components/combination-chart-positioning.config-vlhurz7H.js +48 -0
- package/components/combination-chart-slots.config-HWXOi_xL.js +43 -0
- package/components/conditional-number-options.config-DEoWU4SM.js +205 -0
- package/components/conditional-number-positioning.config-B5cUO8xu.cjs +20 -0
- package/components/conditional-number-positioning.config-B_yYXm1g.js +48 -0
- package/components/conditional-number-slots.config-B1c3brbY.js +39 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.d.ts +0 -1
- package/components/data-field/index.js +2 -2
- package/components/data-field-DHgFf3bH.js +341 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.d.ts +0 -1
- package/components/data-field-panel/index.js +2 -2
- package/components/data-field-panel-D8jv5MJx.js +384 -0
- package/components/data-field-panel-DX_D-jOn.cjs +87 -0
- package/components/data-field-ud8KRJ4-.cjs +89 -0
- package/components/data-fields-select-CfGQXzkr.js +261 -0
- package/components/data-fields-select-DdNVT54e.cjs +41 -0
- package/components/date-comparison-filter-options.config-b46nQkma.js +126 -0
- package/components/date-comparison-filter-slots.config-BO_WlGJf.js +33 -0
- package/components/date-filter-options.config-DsAxIR5F.js +118 -0
- package/components/date-filter-slots.config-DOwkclvY.js +37 -0
- package/components/display-settings-binning-D5PEKaBI.cjs +56 -0
- package/components/display-settings-binning-DjRX5Ysr.js +112 -0
- package/components/display-settings-datetime-CPBtYtAy.cjs +217 -0
- package/components/display-settings-datetime-D0pphxmh.js +415 -0
- package/components/display-settings-grand-totals-C4feNejJ.cjs +44 -0
- package/components/display-settings-grand-totals-DlTKDKin.js +91 -0
- package/components/display-settings-numeric-BFjHxdXz.cjs +190 -0
- package/components/display-settings-numeric-CzC7orK1.js +481 -0
- package/components/display-settings-period-over-period-CzQW7v30.cjs +229 -0
- package/components/display-settings-period-over-period-DFWx_SLM.js +434 -0
- package/components/donut-chart-options.config-wVCdbZZr.js +207 -0
- package/components/donut-chart-positioning.config-S0YvSx2H.cjs +20 -0
- package/components/donut-chart-positioning.config-_6eKwCtI.js +48 -0
- package/components/donut-chart-slots.config-BiyZvM68.js +39 -0
- package/components/dropdown-filter-options.config-D8Nr-pia.js +153 -0
- package/components/dropdown-filter-slots.config-kuGNR6kG.js +38 -0
- package/components/en-CSPDwq2y.cjs +20 -0
- package/components/en-GB-CJR66Ci_.cjs +20 -0
- package/components/en-GB-DPjL71xN.js +28 -0
- package/components/en-US-CSPDwq2y.cjs +20 -0
- package/components/en-US-dzaDznn9.js +21 -0
- package/components/en-dzaDznn9.js +21 -0
- package/components/evolution-number-options.config-C3J_ZYpv.js +228 -0
- package/components/evolution-number-positioning.config-BOdHq6-i.cjs +20 -0
- package/components/evolution-number-positioning.config-tvmjQEaG.js +48 -0
- package/components/evolution-number-slots.config-CoDxHhwF.js +37 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +2 -2
- package/components/filters-B6jGM3ej.cjs +323 -0
- package/components/filters-Dj6sRMSR.js +1644 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +2 -2
- package/components/formula-BFcOs8RL.js +137 -0
- package/components/formula-BcVDJ9m_.cjs +45 -0
- package/components/formula-codemirror-DiVcMrIg.cjs +215 -0
- package/components/formula-codemirror-J0QWRZ49.js +12016 -0
- package/components/formula-display-store-BH4tCSWY.js +1122 -0
- package/components/formula-display-store-BWDj367s.cjs +20 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.d.ts +0 -1
- package/components/formula-editor/index.js +4 -5
- package/components/formula-editor-Boo1er25.js +895 -0
- package/components/formula-editor-N227w8sy.cjs +253 -0
- package/components/funnel-chart-options.config-DjF4mn2V.js +207 -0
- package/components/funnel-chart-positioning.config-B27G3I3l.cjs +20 -0
- package/components/funnel-chart-positioning.config-qBendkC6.js +48 -0
- package/components/funnel-chart-slots.config-YDfkl0W9.js +43 -0
- package/components/get-css-variable-N_PVMivH.cjs +20 -0
- package/components/get-css-variable-SptLB8Tz.js +63 -0
- package/components/heat-map-options.config-Tr3qWkye.js +224 -0
- package/components/heat-map-positioning.config-BF2SUfIH.cjs +20 -0
- package/components/heat-map-positioning.config-C06WNZYE.js +48 -0
- package/components/heat-map-slots.config-BTkTaVV1.js +37 -0
- package/components/heat-table-options.config-cXCjQymW.js +372 -0
- package/components/heat-table-positioning.config-B6fQCm6r.cjs +20 -0
- package/components/heat-table-positioning.config-CtKVYd7I.js +55 -0
- package/components/heat-table-slots.config-dqh1PMWX.js +49 -0
- package/components/hexbin-map-options.config-Bc5rtsom.js +276 -0
- package/components/hexbin-map-positioning.config-CC1odymH.js +48 -0
- package/components/hexbin-map-positioning.config-CsDTcimL.cjs +20 -0
- package/components/hexbin-map-slots.config-BrfF5JYT.js +37 -0
- package/components/image-options.config-BQHeuAsU.js +153 -0
- package/components/image-slots.config-ZRSv3b5w.js +24 -0
- package/components/index.cjs +793 -1
- package/components/index.js +6228 -65
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +2 -2
- package/components/item-grid-B9Y-6W5m.cjs +113 -0
- package/components/item-grid-pykaS5G4.js +4558 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +2 -2
- package/components/item-option-DYXtwzIM.js +919 -0
- package/components/item-option-XpGZVVdr.cjs +252 -0
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +2 -2
- package/components/item-option-action-button-group-CBtZKVx-.js +118 -0
- package/components/item-option-action-button-group-DyzXk2JJ.cjs +53 -0
- package/components/item-option-base-BrU7dJsV.js +123 -0
- package/components/item-option-base-Cqo4amTV.cjs +56 -0
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +2 -2
- package/components/item-option-color-palette-picker-DEys6FIg.js +2041 -0
- package/components/item-option-color-palette-picker-E49SIqt5.cjs +40 -0
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +2 -2
- package/components/item-option-color-picker-B8imRobf.js +87 -0
- package/components/item-option-color-picker-DqEWnNcU.cjs +34 -0
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +2 -2
- package/components/item-option-color-range-CJnk4E24.cjs +98 -0
- package/components/item-option-color-range-CqJwKIEd.js +220 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +2 -2
- package/components/item-option-multi-language-field-Dp2Mpr5b.js +82 -0
- package/components/item-option-multi-language-field-sgiTxGdm.cjs +33 -0
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +2 -2
- package/components/item-option-number-field-C3nRZtW1.js +102 -0
- package/components/item-option-number-field-DT2HXuYC.cjs +38 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +2 -2
- package/components/item-option-panel-DLdIbuAy.cjs +67 -0
- package/components/item-option-panel-DwGkEeMw.js +183 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +2 -2
- package/components/item-option-picker-Crb6PnE8.cjs +37 -0
- package/components/item-option-picker-nS_nnfVF.js +77 -0
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +2 -2
- package/components/item-option-position-picker-BMuua3Lj.cjs +32 -0
- package/components/item-option-position-picker-BbAOSkmu.js +117 -0
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +2 -2
- package/components/item-option-positions-number-field-BOp3cutd.js +164 -0
- package/components/item-option-positions-number-field-DKSdRWTW.cjs +49 -0
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +2 -2
- package/components/item-option-radio-button-group-B_iWBD9w.js +74 -0
- package/components/item-option-radio-button-group-DGbhldoK.cjs +37 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +2 -2
- package/components/item-option-slider/item-option-slider.d.ts +5 -0
- package/components/item-option-slider-4PSjHHGu.js +96 -0
- package/components/item-option-slider-Ct0dd0ci.cjs +33 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +2 -2
- package/components/item-option-switch-BbqKaspH.js +69 -0
- package/components/item-option-switch-DgYg5msr.cjs +30 -0
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +2 -2
- package/components/item-option-text-field-DlDfvOFf.js +80 -0
- package/components/item-option-text-field-DsYobVm7.cjs +33 -0
- package/components/item-options-configs.js +45 -45
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.d.ts +0 -2
- package/components/item-slot-drop/index.js +2 -2
- package/components/item-slot-drop-BuXYBvhO.js +326 -0
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +2 -2
- package/components/item-slot-drop-panel-4lKBdSdq.js +354 -0
- package/components/item-slot-drop-panel-FLuz9znI.cjs +57 -0
- package/components/item-slot-drop-pl3ZTBEo.cjs +91 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +2 -2
- package/components/item-slot-picker-BllkOiQu.cjs +174 -0
- package/components/item-slot-picker-C-lCNPY_.js +500 -0
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +2 -2
- package/components/item-slot-picker-panel-BsAwO_BR.cjs +81 -0
- package/components/item-slot-picker-panel-Dn5yJrZi.js +447 -0
- package/components/item-slots-configs.js +45 -45
- package/components/line-chart-options.config-DbEfF3_P.js +248 -0
- package/components/line-chart-positioning.config-BTYG1EVp.cjs +20 -0
- package/components/line-chart-positioning.config-Ca4m3l8g.js +55 -0
- package/components/line-chart-slots.config-Dtdt3oil.js +55 -0
- package/components/load-data-fields-for-datasets-BOcizGTk.cjs +20 -0
- package/components/load-data-fields-for-datasets-B_SpkBqA.js +86 -0
- package/components/localized-mixin-C-4Zk9oh.cjs +20 -0
- package/components/localized-mixin-CRSfJ73Q.js +52 -0
- package/components/marker-map-options.config-B9uOw9qk.js +117 -0
- package/components/marker-map-positioning.config-C5VuPrAq.js +48 -0
- package/components/marker-map-positioning.config-Ds7dX4x5.cjs +20 -0
- package/components/marker-map-slots.config-CF-OLWDb.js +37 -0
- package/components/ohlc-chart-options.config-CUXSO5cK.js +124 -0
- package/components/ohlc-chart-positioning.config-B1E1qu9y.js +78 -0
- package/components/ohlc-chart-positioning.config-BoWmcM8Y.cjs +20 -0
- package/components/ohlc-chart-slots.config-BlsG3ikV.js +68 -0
- package/components/parallel-coordinates-plot-options.config-BupZFL8M.js +42 -0
- package/components/parallel-coordinates-plot-positioning.config-B3J9h4rQ.js +48 -0
- package/components/parallel-coordinates-plot-positioning.config-DCn_VF7d.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-BX9mYub0.js +46 -0
- package/components/period-over-period-condition.const-CLEyEn-5.js +1663 -0
- package/components/period-over-period-condition.const-DDgiXIfR.cjs +20 -0
- package/components/pivot-table-options.config-BhVQ-skJ.js +245 -0
- package/components/pivot-table-positioning.config-DEZdZrYw.js +55 -0
- package/components/pivot-table-positioning.config-_a8fijeQ.cjs +20 -0
- package/components/pivot-table-slots.config-BpyBX1NS.js +55 -0
- package/components/pragmatic-element-adapter-Ply5c6uO.js +1252 -0
- package/components/pragmatic-element-adapter-SUClsRR1.cjs +24 -0
- package/components/pyramid-chart-options.config-B271YknE.js +260 -0
- package/components/pyramid-chart-positioning.config-ChK8059K.cjs +20 -0
- package/components/pyramid-chart-positioning.config-tDeNGN2t.js +55 -0
- package/components/pyramid-chart-slots.config-B8_Qqs5b.js +50 -0
- package/components/radar-chart-options.config-kpK-dF2z.js +150 -0
- package/components/radar-chart-positioning.config-BohPnY6O.js +55 -0
- package/components/radar-chart-positioning.config-C00q0Cjc.cjs +20 -0
- package/components/radar-chart-slots.config-rkMoLc6Z.js +53 -0
- package/components/regular-table-options.config-CiITNIRD.js +148 -0
- package/components/regular-table-slots.config-BU7B9OGz.js +35 -0
- package/components/route-map-options.config-D1A47spF.js +326 -0
- package/components/route-map-positioning.config-BFoD9vn8.cjs +20 -0
- package/components/route-map-positioning.config-BKdyt6ko.js +66 -0
- package/components/route-map-slots.config-v3BZi_k3.js +59 -0
- package/components/sankey-diagram-options.config-Cs76JI4R.js +126 -0
- package/components/sankey-diagram-positioning.config-QtjnfHQb.js +66 -0
- package/components/sankey-diagram-positioning.config-lU-WAy9R.cjs +20 -0
- package/components/sankey-diagram-slots.config-C7W-p_iq.js +61 -0
- package/components/scatter-plot-options.config-KnuZCIK9.js +322 -0
- package/components/scatter-plot-positioning.config-BMx7JzXT.js +77 -0
- package/components/scatter-plot-positioning.config-Dl3dC8_q.cjs +20 -0
- package/components/scatter-plot-slots.config-e4r8rPGq.js +74 -0
- package/components/search-filter-options.config-BAxmEAiE.js +103 -0
- package/components/search-filter-slots.config-Bh5AkIlV.js +39 -0
- package/components/slicer-filter-options.config-B9G5S-w5.js +235 -0
- package/components/slicer-filter-positioning.config-D0ySBKRi.js +48 -0
- package/components/slicer-filter-positioning.config-V0xQ7zn4.cjs +20 -0
- package/components/slicer-filter-slots.config-ClnjpKoR.js +44 -0
- package/components/slider-filter-options.config-pVni2VeP.js +72 -0
- package/components/slider-filter-slots.config-C8ndKeOs.js +43 -0
- package/components/slot-menu-B18viCq_.js +1056 -0
- package/components/slot-menu-I0ZOhAwn.cjs +215 -0
- package/components/speedometer-chart-options.config-CRfWCHWe.js +246 -0
- package/components/speedometer-chart-positioning.config-Bxh2OpBf.cjs +20 -0
- package/components/speedometer-chart-positioning.config-DtvW38X7.js +48 -0
- package/components/speedometer-chart-slots.config-BkKyAqra.js +39 -0
- package/components/spike-map-options.config-01V52me2.js +413 -0
- package/components/spike-map-positioning.config-DkEQ8a85.cjs +20 -0
- package/components/spike-map-positioning.config-q0Ko-o6u.js +55 -0
- package/components/spike-map-slots.config-Bu63-9ET.js +47 -0
- package/components/strip-plot-options.config-CT8sqO2c.js +53 -0
- package/components/strip-plot-positioning.config-DFPJ4BKu.cjs +20 -0
- package/components/strip-plot-positioning.config-DVCL5TLA.js +48 -0
- package/components/strip-plot-slots.config-QBq7bq-Q.js +38 -0
- package/components/sunburst-chart-options.config-BIcUx_Ml.js +180 -0
- package/components/sunburst-chart-positioning.config--XMbmimi.cjs +20 -0
- package/components/sunburst-chart-positioning.config-Dy1GtLwf.js +48 -0
- package/components/sunburst-chart-slots.config-BDR8g83g.js +38 -0
- package/components/symbol-map-options.config-sY3sR_13.js +177 -0
- package/components/symbol-map-positioning.config-CS7s_Zrs.js +55 -0
- package/components/symbol-map-positioning.config-Cc_p6btx.cjs +20 -0
- package/components/symbol-map-slots.config-BhHW2t4h.js +53 -0
- package/components/text-options.config-zV8AxiZ-.js +67 -0
- package/components/text-slots.config-CexlYey1.js +24 -0
- package/components/treemap-chart-options.config-DaBT0Bud.js +204 -0
- package/components/treemap-chart-positioning.config-C6iouW1J.js +55 -0
- package/components/treemap-chart-positioning.config-DZ2hZtsF.cjs +20 -0
- package/components/treemap-chart-slots.config-vuiywUbz.js +47 -0
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.js +1 -1
- package/components/utils-5J0VIvk6.cjs +20 -0
- package/components/utils-C6ysI98r.js +239 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +5 -8
- package/components/venn-diagram-options.config-CQIZxPZm.js +24 -0
- package/components/venn-diagram-positioning.config-8NrocJLI.cjs +20 -0
- package/components/venn-diagram-positioning.config-m2jp6blI.js +55 -0
- package/components/venn-diagram-slots.config-VYaBQMGD.js +47 -0
- package/components/video-options.config-CvyslCJl.js +127 -0
- package/components/video-slots.config-CBtjayTL.js +24 -0
- package/components/wordcloud-chart-options.config-B47Oxu0A.js +90 -0
- package/components/wordcloud-chart-positioning.config-ClALXn39.js +55 -0
- package/components/wordcloud-chart-positioning.config-DGD93axw.cjs +20 -0
- package/components/wordcloud-chart-slots.config-CLNtT9m5.js +45 -0
- package/custom-elements.json +5916 -16537
- package/index.d.ts +0 -24
- package/package.json +4 -129
- package/react/esm/index.d.ts +2 -27
- package/react/esm/index.js +2 -102
- package/react/index.ts +2 -102
- package/react/luzmo-stub.d.ts +0 -139
- package/react/package.json +2 -2
- package/types.d.ts +0 -8
- package/utils/formula/store/formula-display-store.d.ts +6 -0
- 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 -256
- 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 -205
- 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 -143
- 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 -160
- package/angular/components/filter-parameter-picker.ts +0 -103
- 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 -169
- 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-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 -97
- package/angular/esm/components/ai-interaction-textarea.js +0 -273
- 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 -79
- package/angular/esm/components/data-fields-select.js +0 -219
- 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 -53
- package/angular/esm/components/dataset-selector-row.js +0 -145
- 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 -57
- package/angular/esm/components/filter-item.js +0 -171
- package/angular/esm/components/filter-parameter-picker.d.ts +0 -41
- package/angular/esm/components/filter-parameter-picker.js +0 -110
- 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 -61
- package/angular/esm/components/filters.js +0 -179
- 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-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 -107
- package/angular/esm/index.js +0 -213
- package/angular/index.ts +0 -219
- 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/attachments.test.d.ts +0 -1
- 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 -87
- 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/ad-hoc-slot-content-BwcFfXCV.cjs +0 -20
- package/components/ad-hoc-slot-content-hSlT62VS.js +0 -29
- package/components/ai-chat/ai-chat-events.d.ts +0 -123
- package/components/ai-chat/ai-chat-request.d.ts +0 -20
- package/components/ai-chat/ai-chat.d.ts +0 -318
- package/components/ai-chat/ai-prompt-types.d.ts +0 -118
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +0 -46
- package/components/ai-chat/empty-state/index.d.ts +0 -8
- package/components/ai-chat/empty-state/types.d.ts +0 -14
- package/components/ai-chat/index.cjs +0 -20
- package/components/ai-chat/index.d.ts +0 -23
- package/components/ai-chat/index.js +0 -29
- package/components/ai-chat/session/ai-chat-session-controller.d.ts +0 -57
- package/components/ai-chat/session/ai-chat-session-types.d.ts +0 -101
- package/components/ai-chat/session/ai-chat-session.d.ts +0 -102
- package/components/ai-chat/session/index.d.ts +0 -2
- package/components/ai-chat/stream/chunk-extractors.d.ts +0 -27
- package/components/ai-chat/stream/index.d.ts +0 -52
- package/components/ai-chat/stream/progress.d.ts +0 -3
- package/components/ai-chat/stream/registry.d.ts +0 -6
- package/components/ai-chat/stream/stream-processor.d.ts +0 -2
- package/components/ai-chat/stream/transport.d.ts +0 -26
- package/components/ai-chat/stream/types.d.ts +0 -55
- package/components/ai-chat-BtQaM37y.js +0 -3998
- package/components/ai-chat-CBLWbv9C.cjs +0 -319
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +0 -212
- package/components/ai-interaction-textarea/index.cjs +0 -20
- package/components/ai-interaction-textarea/index.d.ts +0 -8
- package/components/ai-interaction-textarea/index.js +0 -28
- package/components/ai-interaction-textarea/types.d.ts +0 -10
- package/components/ai-interaction-textarea-Bgd3y_cP.js +0 -785
- package/components/ai-interaction-textarea-CQBP9-DW.cjs +0 -93
- package/components/area-chart-options.config-Dc4P64YS.js +0 -229
- package/components/area-chart-positioning.config-1YVSxjRa.cjs +0 -20
- package/components/area-chart-positioning.config-QGEo5sr-.js +0 -55
- package/components/area-chart-slots.config-DdPO34_g.js +0 -55
- package/components/bar-chart-options.config-B7tknpxM.js +0 -300
- package/components/bar-chart-positioning.config-Cs56EAWY.cjs +0 -20
- package/components/bar-chart-positioning.config-KLzBnoCu.js +0 -59
- package/components/bar-chart-slots.config-BnbZRLIr.js +0 -50
- package/components/base-DMQUzJ4L.js +0 -249
- package/components/base-DRFleWoz.cjs +0 -20
- package/components/box-plot-options.config-D6Wvmx36.js +0 -356
- package/components/box-plot-positioning.config-BpDEb4Uo.cjs +0 -20
- package/components/box-plot-positioning.config-DKGY1Qqb.js +0 -48
- package/components/box-plot-slots.config-D6F2R2dw.js +0 -40
- package/components/bubble-chart-options.config-CDY6pFK6.js +0 -135
- package/components/bubble-chart-positioning.config-BZsvCSyT.cjs +0 -20
- package/components/bubble-chart-positioning.config-CL3mDsC-.js +0 -55
- package/components/bubble-chart-slots.config-BJdtdpS0.js +0 -47
- package/components/bullet-chart-options.config-B4vBSWrH.js +0 -75
- package/components/bullet-chart-positioning.config-DA-1zmsD.cjs +0 -20
- package/components/bullet-chart-positioning.config-DxXEGnbz.js +0 -56
- package/components/bullet-chart-slots.config-NeUTKgYI.js +0 -46
- package/components/choropleth-map-options.config-6-xaMCeR.js +0 -348
- package/components/choropleth-map-positioning.config-BicHLfN0.js +0 -55
- package/components/choropleth-map-positioning.config-D_1MCD5i.cjs +0 -20
- package/components/choropleth-map-slots.config-BbBwTeuw.js +0 -53
- package/components/circle-pack-chart-options.config-DWkyGqA_.js +0 -54
- package/components/circle-pack-chart-positioning.config-a_vo4VFg.js +0 -48
- package/components/circle-pack-chart-positioning.config-oTUkvFFJ.cjs +0 -20
- package/components/circle-pack-chart-slots.config-CJFjalBn.js +0 -38
- package/components/circular-gauge-options.config-D_xHWhBy.js +0 -188
- package/components/circular-gauge-positioning.config-BEM85XhO.js +0 -48
- package/components/circular-gauge-positioning.config-TG1wPyHz.cjs +0 -20
- package/components/circular-gauge-slots.config-DAKsa5Hq.js +0 -39
- package/components/column-chart-options.config-B_a7iN-c.js +0 -299
- package/components/column-chart-positioning.config-D1kXKreT.cjs +0 -20
- package/components/column-chart-positioning.config-x-wEIoTZ.js +0 -55
- package/components/column-chart-slots.config-Bpr-WaCi.js +0 -50
- package/components/combination-chart-options.config-l4szBpws.js +0 -150
- package/components/combination-chart-positioning.config-COksdK7F.cjs +0 -20
- package/components/combination-chart-positioning.config-DLyPa1Im.js +0 -48
- package/components/combination-chart-slots.config-u-QLoQQ-.js +0 -43
- package/components/conditional-number-options.config-DB4_BYN2.js +0 -205
- package/components/conditional-number-positioning.config-5SBhp4Kh.cjs +0 -20
- package/components/conditional-number-positioning.config-6ZQHIgAA.js +0 -48
- package/components/conditional-number-slots.config-CiLUXRSe.js +0 -39
- package/components/convert-data-field-to-slot-content-C6IIqU7G.js +0 -53
- package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +0 -20
- package/components/convert-datasets-to-data-fields-B13rl1an.cjs +0 -20
- package/components/convert-datasets-to-data-fields-PmQzeVLG.js +0 -68
- package/components/data-field-D050EJkx.cjs +0 -54
- package/components/data-field-D1lrRnLX.js +0 -121
- package/components/data-field-level/data-field-level.d.ts +0 -40
- package/components/data-field-level/helpers/generate-preview.d.ts +0 -9
- package/components/data-field-level/index.cjs +0 -20
- package/components/data-field-level/index.d.ts +0 -8
- package/components/data-field-level/index.js +0 -28
- package/components/data-field-level-CKlijSjc.cjs +0 -55
- package/components/data-field-level-Da8Pwva2.js +0 -247
- package/components/data-field-panel-47PGrrIi.cjs +0 -87
- package/components/data-field-panel-CgqJ1bLg.js +0 -385
- package/components/data-fields-select/data-fields-select.d.ts +0 -127
- package/components/data-fields-select/index.cjs +0 -20
- package/components/data-fields-select/index.d.ts +0 -9
- package/components/data-fields-select/index.js +0 -28
- package/components/data-fields-select/types.d.ts +0 -4
- package/components/data-fields-select-B40TXGd7.js +0 -262
- package/components/data-fields-select-CQVqxMCS.cjs +0 -41
- package/components/dataset-icon/dataset-icon.d.ts +0 -45
- package/components/dataset-icon/index.cjs +0 -20
- package/components/dataset-icon/index.d.ts +0 -8
- package/components/dataset-icon/index.js +0 -28
- package/components/dataset-icon/types.d.ts +0 -11
- package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
- package/components/dataset-icon-CWT5Ju8w.js +0 -125
- package/components/dataset-selector-list/dataset-selector-list.d.ts +0 -102
- package/components/dataset-selector-list/index.cjs +0 -20
- package/components/dataset-selector-list/index.d.ts +0 -8
- package/components/dataset-selector-list/index.js +0 -28
- package/components/dataset-selector-list-C0dheupb.js +0 -313
- package/components/dataset-selector-list-CKQ7OgMN.cjs +0 -75
- package/components/dataset-selector-row/dataset-selector-row.d.ts +0 -89
- package/components/dataset-selector-row/index.cjs +0 -20
- package/components/dataset-selector-row/index.d.ts +0 -8
- package/components/dataset-selector-row/index.js +0 -28
- package/components/dataset-selector-row-DP6QUWYs.js +0 -273
- package/components/dataset-selector-row-_FZPTBE1.cjs +0 -79
- package/components/date-comparison-filter-options.config-BSzzAJPM.js +0 -126
- package/components/date-comparison-filter-slots.config-Cvze969w.js +0 -33
- package/components/date-filter-options.config-C6VvDjd8.js +0 -118
- package/components/date-filter-slots.config-Y8hmQh0S.js +0 -37
- package/components/decompose-numeric-format-DGJua3rU.cjs +0 -20
- package/components/decompose-numeric-format-DS0j2wa1.js +0 -36
- package/components/decorate-DCJt-2rt.cjs +0 -20
- package/components/decorate-DyMgX_Uh.js +0 -28
- package/components/display-settings/display-settings.d.ts +0 -117
- package/components/display-settings/index.cjs +0 -20
- package/components/display-settings/index.d.ts +0 -8
- package/components/display-settings/index.js +0 -28
- package/components/display-settings/types.d.ts +0 -9
- package/components/display-settings-1AdcENcv.cjs +0 -140
- package/components/display-settings-B-eamVdN.js +0 -313
- package/components/display-settings-binning/display-settings-binning.d.ts +0 -32
- package/components/display-settings-binning/index.cjs +0 -20
- package/components/display-settings-binning/index.d.ts +0 -8
- package/components/display-settings-binning/index.js +0 -28
- package/components/display-settings-binning-BGtp0Wvl.js +0 -110
- package/components/display-settings-binning-Cs8MS7BY.cjs +0 -56
- package/components/display-settings-datetime/display-settings-datetime.d.ts +0 -86
- package/components/display-settings-datetime/index.cjs +0 -20
- package/components/display-settings-datetime/index.d.ts +0 -8
- package/components/display-settings-datetime/index.js +0 -28
- package/components/display-settings-datetime-CbTnG486.js +0 -413
- package/components/display-settings-datetime-q20qbrOL.cjs +0 -217
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +0 -29
- package/components/display-settings-grand-totals/index.cjs +0 -20
- package/components/display-settings-grand-totals/index.d.ts +0 -8
- package/components/display-settings-grand-totals/index.js +0 -28
- package/components/display-settings-grand-totals-BDeeC6-h.js +0 -89
- package/components/display-settings-grand-totals-DdEXs_mA.cjs +0 -44
- package/components/display-settings-numeric/display-settings-numeric.d.ts +0 -82
- package/components/display-settings-numeric/helpers/constants.d.ts +0 -19
- package/components/display-settings-numeric/index.cjs +0 -20
- package/components/display-settings-numeric/index.d.ts +0 -8
- package/components/display-settings-numeric/index.js +0 -28
- package/components/display-settings-numeric-C5FlahN_.js +0 -479
- package/components/display-settings-numeric-PtcxP80Z.cjs +0 -190
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +0 -68
- package/components/display-settings-period-over-period/helpers/constants.d.ts +0 -44
- package/components/display-settings-period-over-period/index.cjs +0 -20
- package/components/display-settings-period-over-period/index.d.ts +0 -8
- package/components/display-settings-period-over-period/index.js +0 -28
- package/components/display-settings-period-over-period-CUlsSQZv.js +0 -433
- package/components/display-settings-period-over-period-Csv7Kwri.cjs +0 -229
- package/components/donut-chart-options.config-CjtEDiJI.js +0 -207
- package/components/donut-chart-positioning.config-EudGY45O.js +0 -48
- package/components/donut-chart-positioning.config-m_uVKoNn.cjs +0 -20
- package/components/donut-chart-slots.config-DilGk7ju.js +0 -39
- package/components/dropdown-filter-options.config-DFJKns3l.js +0 -153
- package/components/dropdown-filter-slots.config-7heZtoEY.js +0 -38
- package/components/en-CcLhGxIh.js +0 -21
- package/components/en-GB-DzkdeUQh.js +0 -28
- package/components/en-GB-uxY5qmIM.cjs +0 -20
- package/components/en-US-CcLhGxIh.js +0 -21
- package/components/en-US-q_Ruzags.cjs +0 -20
- package/components/en-q_Ruzags.cjs +0 -20
- package/components/evolution-number-options.config-C3tU650w.js +0 -228
- package/components/evolution-number-positioning.config-BcLsEydB.js +0 -48
- package/components/evolution-number-positioning.config-CJii0q3V.cjs +0 -20
- package/components/evolution-number-slots.config-noZzIHkT.js +0 -37
- package/components/filter-expression-picker/filter-expression-picker.d.ts +0 -73
- package/components/filter-expression-picker/index.cjs +0 -20
- package/components/filter-expression-picker/index.d.ts +0 -7
- package/components/filter-expression-picker/index.js +0 -28
- package/components/filter-expression-picker-D28THjzU.cjs +0 -38
- package/components/filter-expression-picker-nW1Hff7C.js +0 -425
- package/components/filter-item/filter-item.d.ts +0 -84
- package/components/filter-item/index.cjs +0 -20
- package/components/filter-item/index.d.ts +0 -7
- package/components/filter-item/index.js +0 -28
- package/components/filter-item-BirgEXGE.cjs +0 -58
- package/components/filter-item-BoYKU9tK.js +0 -242
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +0 -25
- package/components/filter-parameter-picker/index.cjs +0 -22
- package/components/filter-parameter-picker/index.d.ts +0 -7
- package/components/filter-parameter-picker/index.js +0 -58
- package/components/filter-value-picker/filter-value-picker.d.ts +0 -65
- package/components/filter-value-picker/index.cjs +0 -20
- package/components/filter-value-picker/index.d.ts +0 -7
- package/components/filter-value-picker/index.js +0 -28
- package/components/filter-value-picker-1kMJ9slB.js +0 -151
- package/components/filter-value-picker-D08bAAKt.cjs +0 -60
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +0 -42
- package/components/filter-value-picker-datetime/index.cjs +0 -20
- package/components/filter-value-picker-datetime/index.d.ts +0 -7
- package/components/filter-value-picker-datetime/index.js +0 -28
- package/components/filter-value-picker-datetime-Cnwlipah.js +0 -139
- package/components/filter-value-picker-datetime-OIgFSdU2.cjs +0 -42
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +0 -81
- package/components/filter-value-picker-hierarchy/index.cjs +0 -20
- package/components/filter-value-picker-hierarchy/index.d.ts +0 -7
- package/components/filter-value-picker-hierarchy/index.js +0 -28
- package/components/filter-value-picker-hierarchy-BGgHIji-.cjs +0 -47
- package/components/filter-value-picker-hierarchy-DdMLbCO3.js +0 -232
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +0 -82
- package/components/filter-value-picker-numeric/index.cjs +0 -20
- package/components/filter-value-picker-numeric/index.d.ts +0 -7
- package/components/filter-value-picker-numeric/index.js +0 -28
- package/components/filter-value-picker-numeric-BL2gD2ED.cjs +0 -48
- package/components/filter-value-picker-numeric-BqrsENh6.js +0 -219
- package/components/filters-BLss6wBx.js +0 -407
- package/components/filters-rjc5xsF_.cjs +0 -150
- package/components/formatter-BeXmurVe.cjs +0 -20
- package/components/formatter-Cq5dFCyU.js +0 -1473
- package/components/formula-CNzBOTRQ.js +0 -138
- package/components/formula-DeRjtboJ.cjs +0 -45
- package/components/formula-codemirror/formula-codemirror.d.ts +0 -79
- package/components/formula-codemirror/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +0 -125
- package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +0 -28
- package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +0 -38
- package/components/formula-codemirror-D1hgPIW_.cjs +0 -215
- package/components/formula-codemirror-pnijOvXU.js +0 -12018
- package/components/formula-display-store-BBMmHCRp.js +0 -1090
- package/components/formula-display-store-Dn7r5kK8.cjs +0 -20
- package/components/formula-draggable-field/formula-draggable-field.d.ts +0 -53
- package/components/formula-draggable-field/index.d.ts +0 -8
- package/components/formula-draggable-field/types.d.ts +0 -24
- package/components/formula-editor-DvDB6JYI.js +0 -690
- package/components/formula-editor-Uejdzkm6.cjs +0 -224
- package/components/formula-field/formula-field.d.ts +0 -20
- package/components/formula-field/index.cjs +0 -20
- package/components/formula-field/index.d.ts +0 -7
- package/components/formula-field/index.js +0 -28
- package/components/formula-field-CNyKz9wY.cjs +0 -20
- package/components/formula-field-o_zZQACN.js +0 -40
- package/components/formula-input-base-DlVNZBUA.js +0 -236
- package/components/formula-input-base-fTF1KXpl.cjs +0 -49
- package/components/funnel-chart-options.config-6ifTq7Xh.js +0 -207
- package/components/funnel-chart-positioning.config-B_C8nr1y.js +0 -48
- package/components/funnel-chart-positioning.config-DhrMsuyt.cjs +0 -20
- package/components/funnel-chart-slots.config-BWszdEe8.js +0 -43
- package/components/get-css-variable-B8sJUuig.cjs +0 -20
- package/components/get-css-variable-r1spgqX0.js +0 -63
- package/components/get-dataset-name-DYLJB67F.js +0 -27
- package/components/get-dataset-name-DrTVBElb.cjs +0 -20
- package/components/groupings-BPlu4GFe.cjs +0 -20
- package/components/groupings-DAj2iFeA.js +0 -52
- package/components/heat-map-options.config-CezceVM3.js +0 -224
- package/components/heat-map-positioning.config-Bya2_TR8.cjs +0 -20
- package/components/heat-map-positioning.config-Cxembqle.js +0 -48
- package/components/heat-map-slots.config-Cwun49Qb.js +0 -37
- package/components/heat-table-options.config-C7kvRE10.js +0 -372
- package/components/heat-table-positioning.config-CNeTnuHy.js +0 -55
- package/components/heat-table-positioning.config-CYZr5ksc.cjs +0 -20
- package/components/heat-table-slots.config-nGB_B2mh.js +0 -49
- package/components/hexbin-map-options.config-8brGMkt_.js +0 -276
- package/components/hexbin-map-positioning.config-Dfdgub0y.js +0 -48
- package/components/hexbin-map-positioning.config-bXZEY4nP.cjs +0 -20
- package/components/hexbin-map-slots.config-BK-ftozd.js +0 -37
- package/components/image-options.config-Cz55iN7J.js +0 -153
- package/components/image-slots.config-kvHutBFK.js +0 -24
- package/components/interactive-viz-item/helpers/chart-helpers.d.ts +0 -7
- package/components/interactive-viz-item/index.cjs +0 -20
- package/components/interactive-viz-item/index.d.ts +0 -10
- package/components/interactive-viz-item/index.js +0 -28
- package/components/interactive-viz-item/interactive-viz-item.d.ts +0 -96
- package/components/interactive-viz-item/types.d.ts +0 -117
- package/components/interactive-viz-item-C3fzZq7j.js +0 -693
- package/components/interactive-viz-item-D-hR2G5x.cjs +0 -247
- package/components/item-grid-BruAZOla.cjs +0 -113
- package/components/item-grid-cyMiRw7P.js +0 -4559
- package/components/item-menu/item-list/item-list.d.ts +0 -37
- package/components/item-option-BclNWwdZ.cjs +0 -252
- package/components/item-option-CZb01VJb.js +0 -919
- package/components/item-option-action-button-group-AkMaJHuv.cjs +0 -53
- package/components/item-option-action-button-group-HfUtaTi9.js +0 -118
- package/components/item-option-base/item-option-base.d.ts +0 -23
- package/components/item-option-base-CZegYACf.cjs +0 -56
- package/components/item-option-base-DlHZAfWZ.js +0 -123
- package/components/item-option-color-palette-picker-B336qQRk.cjs +0 -40
- package/components/item-option-color-palette-picker-Dt4z0c4W.js +0 -2041
- package/components/item-option-color-picker-BRO416_T.js +0 -87
- package/components/item-option-color-picker-Hfu2fhRF.cjs +0 -34
- package/components/item-option-color-range-DWoaz57E.cjs +0 -98
- package/components/item-option-color-range-DgalNZ9b.js +0 -220
- package/components/item-option-multi-language-field-BvJXIFgu.js +0 -82
- package/components/item-option-multi-language-field-IQP6fbgB.cjs +0 -33
- package/components/item-option-number-field-B07NhNSm.cjs +0 -38
- package/components/item-option-number-field-CvGknDpu.js +0 -102
- package/components/item-option-panel-BWP9E8cW.cjs +0 -67
- package/components/item-option-panel-RYdx8Hfk.js +0 -183
- package/components/item-option-picker-C7SZfnLP.cjs +0 -37
- package/components/item-option-picker-DM1pU3w9.js +0 -77
- package/components/item-option-position-picker-BuDvx3SX.js +0 -117
- package/components/item-option-position-picker-M9CBH9NE.cjs +0 -32
- package/components/item-option-positions-number-field-C4zW5-Hc.cjs +0 -49
- package/components/item-option-positions-number-field-RN5AG-Ic.js +0 -164
- package/components/item-option-radio-button-group-Ce780UyR.js +0 -74
- package/components/item-option-radio-button-group-DRiwqorh.cjs +0 -37
- package/components/item-option-slider-BUdWMAzT.js +0 -81
- package/components/item-option-slider-CycHQFnr.cjs +0 -33
- package/components/item-option-switch-CM5R8wO_.cjs +0 -30
- package/components/item-option-switch-CvcZSytb.js +0 -69
- package/components/item-option-text-field-BZjOilSu.cjs +0 -33
- package/components/item-option-text-field-CyuYUITv.js +0 -80
- package/components/item-slot-drop-C6DO5mPk.js +0 -331
- package/components/item-slot-drop-CrzFRobc.cjs +0 -91
- package/components/item-slot-drop-panel-ChazcNSe.cjs +0 -57
- package/components/item-slot-drop-panel-DvmPk1pJ.js +0 -355
- package/components/item-slot-picker-CmG71mGy.js +0 -505
- package/components/item-slot-picker-DQkG3Lt7.cjs +0 -174
- package/components/item-slot-picker-panel-Bi2jXvQA.cjs +0 -81
- package/components/item-slot-picker-panel-DmGYI5YI.js +0 -448
- package/components/line-chart-options.config-OeRMkKMP.js +0 -248
- package/components/line-chart-positioning.config-CFHFq0wp.js +0 -55
- package/components/line-chart-positioning.config-Cqnfz4Lc.cjs +0 -20
- package/components/line-chart-slots.config-C6LEwEwh.js +0 -55
- package/components/load-data-fields-for-datasets-BNnr8x3m.js +0 -42
- package/components/load-data-fields-for-datasets-CW4Voiex.cjs +0 -20
- package/components/localized-mixin-B4fDdsF0.js +0 -45
- package/components/localized-mixin-CUuRZu9t.cjs +0 -20
- package/components/marker-map-options.config-CtW7nl1C.js +0 -117
- package/components/marker-map-positioning.config-BM-ZrmE9.cjs +0 -20
- package/components/marker-map-positioning.config-x3KUsgzD.js +0 -48
- package/components/marker-map-slots.config-Cyk-QFPT.js +0 -37
- package/components/ohlc-chart-options.config-Db40TXcB.js +0 -124
- package/components/ohlc-chart-positioning.config-C-vx6lt-.js +0 -78
- package/components/ohlc-chart-positioning.config-SIhJhFel.cjs +0 -20
- package/components/ohlc-chart-slots.config-CQFi8BIT.js +0 -68
- package/components/parallel-coordinates-plot-options.config-Bw8T5EE4.js +0 -42
- package/components/parallel-coordinates-plot-positioning.config-BaofZgit.js +0 -48
- package/components/parallel-coordinates-plot-positioning.config-Br1OGTEZ.cjs +0 -20
- package/components/parallel-coordinates-plot-slots.config-D5o-5y_j.js +0 -46
- package/components/period-over-period-condition.const-BZ7j5Z5t.js +0 -29
- package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +0 -20
- package/components/pivot-table-options.config-gL2C_zvT.js +0 -245
- package/components/pivot-table-positioning.config-BaBkuXV0.cjs +0 -20
- package/components/pivot-table-positioning.config-DeeS1MaO.js +0 -55
- package/components/pivot-table-slots.config-Cl5z3IQo.js +0 -55
- package/components/pragmatic-element-adapter-C_7HSvGV.js +0 -1252
- package/components/pragmatic-element-adapter-DPWYJiW9.cjs +0 -24
- package/components/pyramid-chart-options.config-348RYXh8.js +0 -260
- package/components/pyramid-chart-positioning.config-D14NnyH1.js +0 -55
- package/components/pyramid-chart-positioning.config-g55mkotb.cjs +0 -20
- package/components/pyramid-chart-slots.config-DNzq2hMx.js +0 -50
- package/components/radar-chart-options.config-BeGjchnc.js +0 -150
- package/components/radar-chart-positioning.config-C9fiYOnB.js +0 -55
- package/components/radar-chart-positioning.config-CWGfQ7-j.cjs +0 -20
- package/components/radar-chart-slots.config-CXgfvAkt.js +0 -53
- package/components/regular-table-options.config-Bf0VAtT_.js +0 -148
- package/components/regular-table-slots.config-DCkw4Xkq.js +0 -35
- package/components/route-map-options.config-DWG5127-.js +0 -326
- package/components/route-map-positioning.config-Cd4azpuW.js +0 -66
- package/components/route-map-positioning.config-Dswq4pH_.cjs +0 -20
- package/components/route-map-slots.config-DJ76FOsJ.js +0 -59
- package/components/sankey-diagram-options.config-DW72WBKU.js +0 -126
- package/components/sankey-diagram-positioning.config-CAHzdKBq.cjs +0 -20
- package/components/sankey-diagram-positioning.config-CzGCvTeX.js +0 -66
- package/components/sankey-diagram-slots.config-BCc8P4j0.js +0 -61
- package/components/scatter-plot-options.config-CUyWy2xE.js +0 -322
- package/components/scatter-plot-positioning.config-C7nu7quv.js +0 -77
- package/components/scatter-plot-positioning.config-CrVJZ-X9.cjs +0 -20
- package/components/scatter-plot-slots.config-BMTdhTZG.js +0 -74
- package/components/search-filter-options.config-B_qQjr68.js +0 -103
- package/components/search-filter-slots.config-qCILSYzs.js +0 -39
- package/components/slicer-filter-options.config-DK62SCMp.js +0 -235
- package/components/slicer-filter-positioning.config-7sucz3_y.js +0 -48
- package/components/slicer-filter-positioning.config-D9Tehydc.cjs +0 -20
- package/components/slicer-filter-slots.config-C9_NdJm4.js +0 -44
- package/components/slider-filter-options.config-CP5bXdih.js +0 -72
- package/components/slider-filter-slots.config-15eAAGVn.js +0 -43
- package/components/slot-menu/index.cjs +0 -20
- package/components/slot-menu/index.d.ts +0 -10
- package/components/slot-menu/index.js +0 -28
- package/components/slot-menu/slot-menu.d.ts +0 -148
- package/components/slot-menu/types.d.ts +0 -24
- package/components/slot-menu-AavTGkLk.cjs +0 -71
- package/components/slot-menu-Dz-O1ypQ.js +0 -426
- package/components/slot-menu-list/index.cjs +0 -20
- package/components/slot-menu-list/index.d.ts +0 -8
- package/components/slot-menu-list/index.js +0 -28
- package/components/slot-menu-list/slot-menu-list.d.ts +0 -47
- package/components/slot-menu-list-BegM0w8C.js +0 -347
- package/components/slot-menu-list-Cahst0TY.cjs +0 -44
- package/components/slot-role-classification-2wChhpcq.cjs +0 -20
- package/components/slot-role-classification-B8bkGhQ_.js +0 -133
- package/components/slots-config-Cd4xAG4H.cjs +0 -20
- package/components/slots-config-D3ivNWtC.js +0 -76
- package/components/speedometer-chart-options.config-CtWGujmb.js +0 -246
- package/components/speedometer-chart-positioning.config-CZgXkEsG.cjs +0 -20
- package/components/speedometer-chart-positioning.config-DiDSe44G.js +0 -48
- package/components/speedometer-chart-slots.config-DfTw7JTF.js +0 -39
- package/components/spike-map-options.config-Ch0p9Q5l.js +0 -413
- package/components/spike-map-positioning.config-RExJASrJ.cjs +0 -20
- package/components/spike-map-positioning.config-W-xJbchu.js +0 -55
- package/components/spike-map-slots.config-i-c0F9QM.js +0 -47
- package/components/strip-plot-options.config-WICS2rnK.js +0 -53
- package/components/strip-plot-positioning.config-C70pTRqg.cjs +0 -20
- package/components/strip-plot-positioning.config-DsKb9ton.js +0 -48
- package/components/strip-plot-slots.config-BuF7X3xN.js +0 -38
- package/components/sunburst-chart-options.config-Bz-jP-gZ.js +0 -180
- package/components/sunburst-chart-positioning.config-BAhEnZtE.js +0 -48
- package/components/sunburst-chart-positioning.config-BHvaDZCC.cjs +0 -20
- package/components/sunburst-chart-slots.config-Cq-E6kyI.js +0 -38
- package/components/symbol-map-options.config-I89tFJUU.js +0 -177
- package/components/symbol-map-positioning.config-B2RZQPND.cjs +0 -20
- package/components/symbol-map-positioning.config-DNPiG975.js +0 -55
- package/components/symbol-map-slots.config-BfdBHkzN.js +0 -53
- package/components/text-options.config-BUiRyi3L.js +0 -67
- package/components/text-slots.config-CM_ZaW3p.js +0 -24
- package/components/treemap-chart-options.config-i7BH9mNl.js +0 -204
- package/components/treemap-chart-positioning.config-C0LbkC6B.js +0 -55
- package/components/treemap-chart-positioning.config-CIYguC9V.cjs +0 -20
- package/components/treemap-chart-slots.config-CHkGtIOa.js +0 -47
- package/components/utils-C8ATDm66.js +0 -240
- package/components/utils-Cx4X0PBr.cjs +0 -20
- package/components/venn-diagram-options.config-Wi0dQsAu.js +0 -24
- package/components/venn-diagram-positioning.config-CGmfYuoj.cjs +0 -20
- package/components/venn-diagram-positioning.config-CPUT2LXS.js +0 -55
- package/components/venn-diagram-slots.config-DY04aeYK.js +0 -47
- package/components/video-options.config-B6pQUPB7.js +0 -127
- package/components/video-slots.config-C-kXGzo3.js +0 -24
- package/components/viz-item-menu/index.cjs +0 -20
- package/components/viz-item-menu/index.d.ts +0 -8
- package/components/viz-item-menu/index.js +0 -28
- package/components/viz-item-menu/types.d.ts +0 -9
- package/components/viz-item-menu/viz-item-menu.d.ts +0 -75
- package/components/viz-item-menu-BKXdr3_Q.cjs +0 -55
- package/components/viz-item-menu-XoCSn7z_.js +0 -170
- package/components/wordcloud-chart-options.config-D_AhgZRs.js +0 -90
- package/components/wordcloud-chart-positioning.config-CqCOWKL4.js +0 -55
- package/components/wordcloud-chart-positioning.config-roHRUT_m.cjs +0 -20
- package/components/wordcloud-chart-slots.config-Cc5F92Tv.js +0 -45
- package/deprecated-react/components/ai-chat.component.cjs +0 -1
- package/deprecated-react/components/ai-interaction-textarea.component.cjs +0 -1
- package/deprecated-react/components/data-field-level.component.cjs +0 -1
- package/deprecated-react/components/data-fields-select.component.cjs +0 -1
- package/deprecated-react/components/dataset-icon.component.cjs +0 -1
- package/deprecated-react/components/dataset-selector-list.component.cjs +0 -1
- package/deprecated-react/components/dataset-selector-row.component.cjs +0 -1
- package/deprecated-react/components/display-settings-binning.component.cjs +0 -1
- package/deprecated-react/components/display-settings-datetime.component.cjs +0 -1
- package/deprecated-react/components/display-settings-grand-totals.component.cjs +0 -1
- package/deprecated-react/components/display-settings-numeric.component.cjs +0 -1
- package/deprecated-react/components/display-settings-period-over-period.component.cjs +0 -1
- package/deprecated-react/components/display-settings.component.cjs +0 -1
- package/deprecated-react/components/filter-expression-picker.component.cjs +0 -1
- package/deprecated-react/components/filter-item.component.cjs +0 -1
- package/deprecated-react/components/filter-parameter-picker.component.cjs +0 -1
- package/deprecated-react/components/filter-value-picker-datetime.component.cjs +0 -1
- package/deprecated-react/components/filter-value-picker-hierarchy.component.cjs +0 -1
- package/deprecated-react/components/filter-value-picker-numeric.component.cjs +0 -1
- package/deprecated-react/components/filter-value-picker.component.cjs +0 -1
- package/deprecated-react/components/formula-field.component.cjs +0 -1
- package/deprecated-react/components/interactive-viz-item.component.cjs +0 -1
- package/deprecated-react/components/slot-menu-list.component.cjs +0 -1
- package/deprecated-react/components/slot-menu.component.cjs +0 -1
- package/deprecated-react/components/viz-item-menu.component.cjs +0 -1
- package/react/components/ai-chat.component.ts +0 -45
- package/react/components/ai-interaction-textarea.component.ts +0 -30
- package/react/components/data-field-level.component.ts +0 -30
- package/react/components/data-fields-select.component.ts +0 -27
- package/react/components/dataset-icon.component.ts +0 -22
- package/react/components/dataset-selector-list.component.ts +0 -27
- package/react/components/dataset-selector-row.component.ts +0 -30
- package/react/components/display-settings-binning.component.ts +0 -27
- package/react/components/display-settings-datetime.component.ts +0 -27
- package/react/components/display-settings-grand-totals.component.ts +0 -27
- package/react/components/display-settings-numeric.component.ts +0 -27
- package/react/components/display-settings-period-over-period.component.ts +0 -27
- package/react/components/display-settings.component.ts +0 -33
- package/react/components/filter-expression-picker.component.ts +0 -27
- package/react/components/filter-item.component.ts +0 -27
- package/react/components/filter-parameter-picker.component.ts +0 -22
- package/react/components/filter-value-picker-datetime.component.ts +0 -27
- package/react/components/filter-value-picker-hierarchy.component.ts +0 -27
- package/react/components/filter-value-picker-numeric.component.ts +0 -27
- package/react/components/filter-value-picker.component.ts +0 -27
- package/react/components/formula-field.component.ts +0 -30
- package/react/components/interactive-viz-item.component.ts +0 -33
- package/react/components/slot-menu-list.component.ts +0 -27
- package/react/components/slot-menu.component.ts +0 -42
- package/react/components/viz-item-menu.component.ts +0 -33
- package/react/esm/components/ai-chat.component.d.ts +0 -24
- package/react/esm/components/ai-chat.component.js +0 -29
- package/react/esm/components/ai-interaction-textarea.component.d.ts +0 -14
- package/react/esm/components/ai-interaction-textarea.component.js +0 -19
- package/react/esm/components/data-field-level.component.d.ts +0 -14
- package/react/esm/components/data-field-level.component.js +0 -19
- package/react/esm/components/data-fields-select.component.d.ts +0 -12
- package/react/esm/components/data-fields-select.component.js +0 -17
- package/react/esm/components/dataset-icon.component.d.ts +0 -8
- package/react/esm/components/dataset-icon.component.js +0 -13
- package/react/esm/components/dataset-selector-list.component.d.ts +0 -12
- package/react/esm/components/dataset-selector-list.component.js +0 -17
- package/react/esm/components/dataset-selector-row.component.d.ts +0 -14
- package/react/esm/components/dataset-selector-row.component.js +0 -19
- package/react/esm/components/display-settings-binning.component.d.ts +0 -12
- package/react/esm/components/display-settings-binning.component.js +0 -17
- package/react/esm/components/display-settings-datetime.component.d.ts +0 -12
- package/react/esm/components/display-settings-datetime.component.js +0 -17
- package/react/esm/components/display-settings-grand-totals.component.d.ts +0 -12
- package/react/esm/components/display-settings-grand-totals.component.js +0 -17
- package/react/esm/components/display-settings-numeric.component.d.ts +0 -12
- package/react/esm/components/display-settings-numeric.component.js +0 -17
- package/react/esm/components/display-settings-period-over-period.component.d.ts +0 -12
- package/react/esm/components/display-settings-period-over-period.component.js +0 -17
- package/react/esm/components/display-settings.component.d.ts +0 -16
- package/react/esm/components/display-settings.component.js +0 -21
- package/react/esm/components/filter-expression-picker.component.d.ts +0 -12
- package/react/esm/components/filter-expression-picker.component.js +0 -17
- package/react/esm/components/filter-item.component.d.ts +0 -12
- package/react/esm/components/filter-item.component.js +0 -17
- package/react/esm/components/filter-parameter-picker.component.d.ts +0 -8
- package/react/esm/components/filter-parameter-picker.component.js +0 -13
- package/react/esm/components/filter-value-picker-datetime.component.d.ts +0 -12
- package/react/esm/components/filter-value-picker-datetime.component.js +0 -17
- package/react/esm/components/filter-value-picker-hierarchy.component.d.ts +0 -12
- package/react/esm/components/filter-value-picker-hierarchy.component.js +0 -17
- package/react/esm/components/filter-value-picker-numeric.component.d.ts +0 -12
- package/react/esm/components/filter-value-picker-numeric.component.js +0 -17
- package/react/esm/components/filter-value-picker.component.d.ts +0 -12
- package/react/esm/components/filter-value-picker.component.js +0 -17
- package/react/esm/components/formula-field.component.d.ts +0 -14
- package/react/esm/components/formula-field.component.js +0 -19
- package/react/esm/components/interactive-viz-item.component.d.ts +0 -16
- package/react/esm/components/interactive-viz-item.component.js +0 -21
- package/react/esm/components/slot-menu-list.component.d.ts +0 -12
- package/react/esm/components/slot-menu-list.component.js +0 -17
- package/react/esm/components/slot-menu.component.d.ts +0 -22
- package/react/esm/components/slot-menu.component.js +0 -27
- package/react/esm/components/viz-item-menu.component.d.ts +0 -16
- package/react/esm/components/viz-item-menu.component.js +0 -21
- package/storybook/inject-global-vars.d.ts +0 -1
- package/storybook/register-components.d.ts +0 -51
- package/types/ai-chat.types.d.ts +0 -95
- package/types/data-field-events.types.d.ts +0 -7
|
@@ -1,785 +0,0 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 Luzmo
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
|
7
|
-
* This license allows users with a current active Luzmo account
|
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
-
*
|
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
-
* SOFTWARE.
|
|
19
|
-
* */
|
|
20
|
-
import { t as e } from "./decorate-DyMgX_Uh.js";
|
|
21
|
-
import { t } from "./set-locale-DBVSKk_b.js";
|
|
22
|
-
import { t as n } from "./data-broker-Bdv5V8Yp.js";
|
|
23
|
-
import { i as r, r as i, t as a } from "./calculate-data-field-icon-DrSg1PuD.js";
|
|
24
|
-
import { t as o } from "./localize-BT7REYBY.js";
|
|
25
|
-
import { t as s } from "./get-dataset-name-DYLJB67F.js";
|
|
26
|
-
import "./dataset-icon-CWT5Ju8w.js";
|
|
27
|
-
import "./dataset-selector-row-DP6QUWYs.js";
|
|
28
|
-
import { luzmoPaperclip as c, luzmoPlugin as l } from "@luzmo/icons";
|
|
29
|
-
import "@luzmo/lucero/icon";
|
|
30
|
-
import { LitElement as u, html as d, nothing as f, unsafeCSS as p } from "lit";
|
|
31
|
-
import { property as m, query as h, state as g } from "lit/decorators.js";
|
|
32
|
-
import { localized as _, msg as v, str as y } from "@lit/localize";
|
|
33
|
-
import "@luzmo/lucero/action-button";
|
|
34
|
-
import "@luzmo/lucero/prompt-box";
|
|
35
|
-
import { classMap as b } from "lit/directives/class-map.js";
|
|
36
|
-
//#region src/utils/ai-prompt/attachments.ts
|
|
37
|
-
var x = 20, S = [
|
|
38
|
-
"image/png",
|
|
39
|
-
"image/jpeg",
|
|
40
|
-
"image/webp",
|
|
41
|
-
"image/gif"
|
|
42
|
-
], C = new Set(S), w = {
|
|
43
|
-
png: "image/png",
|
|
44
|
-
jpg: "image/jpeg",
|
|
45
|
-
jpeg: "image/jpeg",
|
|
46
|
-
webp: "image/webp",
|
|
47
|
-
gif: "image/gif"
|
|
48
|
-
};
|
|
49
|
-
function T(e) {
|
|
50
|
-
try {
|
|
51
|
-
return new URL(e).pathname.match(/\.([a-z0-9]+)$/i)?.[1]?.toLowerCase();
|
|
52
|
-
} catch {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
function E(e) {
|
|
57
|
-
try {
|
|
58
|
-
let t = new URL(e);
|
|
59
|
-
return t.protocol === "http:" || t.protocol === "https:";
|
|
60
|
-
} catch {
|
|
61
|
-
return !1;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function D(e) {
|
|
65
|
-
return C.has(e.toLowerCase());
|
|
66
|
-
}
|
|
67
|
-
function O(e) {
|
|
68
|
-
if (e.type) return D(e.type);
|
|
69
|
-
let t = e.name.split(".").pop()?.toLowerCase();
|
|
70
|
-
return !!(t && w[t]);
|
|
71
|
-
}
|
|
72
|
-
function k(e) {
|
|
73
|
-
if (!E(e)) return !1;
|
|
74
|
-
let t = T(e);
|
|
75
|
-
return !!(t && w[t]);
|
|
76
|
-
}
|
|
77
|
-
function A(e) {
|
|
78
|
-
if (e.length > 20) throw Error(`Too many image inputs: received ${e.length}, but the maximum is 20 per request.`);
|
|
79
|
-
for (let t of e) {
|
|
80
|
-
if (!t.trim()) throw Error("Image input URL must be a non-empty string.");
|
|
81
|
-
if (!E(t)) throw Error(`Image input URL must be an absolute http(s) URL. Received "${t}".`);
|
|
82
|
-
let e = T(t);
|
|
83
|
-
if (e && !w[e]) throw Error(`Unsupported image input URL "${t}". Only PNG, JPEG, WebP, and GIF image URLs are accepted.`);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function j(e) {
|
|
87
|
-
if (e.length > 20) throw Error(`Too many image inputs: received ${e.length}, but the maximum is 20 per request.`);
|
|
88
|
-
for (let t of e) {
|
|
89
|
-
if (!O(t)) throw Error(`Unsupported image attachment "${t.name}" (${t.type || "unknown type"}). Only PNG, JPEG, WebP, and GIF images are accepted.`);
|
|
90
|
-
if (t.size === 0) throw Error(`Image "${t.name}" is empty.`);
|
|
91
|
-
if (t.size > 15728640) throw Error(`Image "${t.name}" is too large. Maximum size is 15 MB.`);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/utils/ai-prompt/image-upload.ts
|
|
96
|
-
function M(e, t = "0.1.0") {
|
|
97
|
-
return `${e.replace(/\/+$/, "")}/${t.replace(/^\/+|\/+$/g, "")}/upload`;
|
|
98
|
-
}
|
|
99
|
-
function N(e) {
|
|
100
|
-
let { files: t, authKey: n, authToken: r, apiUrl: i, apiVersion: a = "0.1.0", signal: o, fetchImpl: s = fetch } = e;
|
|
101
|
-
if (!n || !r) return Promise.reject(/* @__PURE__ */ Error("Image upload requires authKey and authToken."));
|
|
102
|
-
let c = M(i, a), l = a.replace(/^\/+|\/+$/g, "") || "0.1.0";
|
|
103
|
-
return Promise.all(t.map((e) => P(e, {
|
|
104
|
-
url: c,
|
|
105
|
-
authKey: n,
|
|
106
|
-
authToken: r,
|
|
107
|
-
version: l,
|
|
108
|
-
signal: o,
|
|
109
|
-
fetchImpl: s
|
|
110
|
-
})));
|
|
111
|
-
}
|
|
112
|
-
async function P(e, t) {
|
|
113
|
-
let { url: n, authKey: r, authToken: i, version: a, signal: o, fetchImpl: s } = t, c = new FormData();
|
|
114
|
-
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);
|
|
115
|
-
let l = await s(n, {
|
|
116
|
-
method: "POST",
|
|
117
|
-
body: c,
|
|
118
|
-
signal: o,
|
|
119
|
-
redirect: "error"
|
|
120
|
-
});
|
|
121
|
-
if (!l.ok) {
|
|
122
|
-
let t = await F(l);
|
|
123
|
-
throw Error(`Image upload failed for "${e.name}" (${l.status})${t ? `: ${t}` : "."}`);
|
|
124
|
-
}
|
|
125
|
-
let u = await l.json(), d = typeof u?.url == "string" ? u.url.trim() : "";
|
|
126
|
-
if (!d) throw Error(`Image upload for "${e.name}" did not return a url.`);
|
|
127
|
-
return d;
|
|
128
|
-
}
|
|
129
|
-
async function F(e) {
|
|
130
|
-
try {
|
|
131
|
-
return (await e.text()).trim().slice(0, 200);
|
|
132
|
-
} catch {
|
|
133
|
-
return "";
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
//#endregion
|
|
137
|
-
//#region src/utils/ai-prompt/dictation.ts
|
|
138
|
-
function I(e, t = "0.1.0") {
|
|
139
|
-
return `${e.replace(/\/+$/, "")}/${t.replace(/^\/+|\/+$/g, "")}/aidictation`;
|
|
140
|
-
}
|
|
141
|
-
function L(e) {
|
|
142
|
-
let { authKey: t, authToken: n, audioBase64: r, mimeType: i, apiVersion: a = "0.1.0", stream: o = !0, language: s } = e;
|
|
143
|
-
return {
|
|
144
|
-
key: t,
|
|
145
|
-
token: n,
|
|
146
|
-
action: "create",
|
|
147
|
-
version: a,
|
|
148
|
-
properties: {
|
|
149
|
-
audio: r,
|
|
150
|
-
mimetype: i,
|
|
151
|
-
stream: o,
|
|
152
|
-
...s ? { language: s } : {}
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
async function R(e) {
|
|
157
|
-
let t = await e.arrayBuffer(), n = new Uint8Array(t), r = 32768, i = "";
|
|
158
|
-
for (let e = 0; e < n.length; e += r) {
|
|
159
|
-
let t = n.subarray(e, e + r);
|
|
160
|
-
i += String.fromCharCode(...t);
|
|
161
|
-
}
|
|
162
|
-
return btoa(i);
|
|
163
|
-
}
|
|
164
|
-
async function z(e) {
|
|
165
|
-
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;
|
|
166
|
-
if (!r || !i) throw Error("Voice transcription requires authKey and authToken.");
|
|
167
|
-
if (!t || t.size === 0) throw Error("Voice transcription requires a non-empty audio recording.");
|
|
168
|
-
let d = await R(t), f = I(a, o), p = L({
|
|
169
|
-
authKey: r,
|
|
170
|
-
authToken: i,
|
|
171
|
-
audioBase64: d,
|
|
172
|
-
mimeType: n || t.type || "audio/webm",
|
|
173
|
-
apiVersion: o,
|
|
174
|
-
stream: !0,
|
|
175
|
-
language: s
|
|
176
|
-
}), m = await u(f, {
|
|
177
|
-
method: "POST",
|
|
178
|
-
headers: { "Content-Type": "application/json" },
|
|
179
|
-
mode: "cors",
|
|
180
|
-
redirect: "error",
|
|
181
|
-
body: JSON.stringify(p),
|
|
182
|
-
signal: c
|
|
183
|
-
});
|
|
184
|
-
if (!m.ok) {
|
|
185
|
-
let e = await G(m);
|
|
186
|
-
throw Error(`Voice transcription failed (${m.status})${e ? `: ${e}` : "."}`);
|
|
187
|
-
}
|
|
188
|
-
if (!m.body) throw Error("Voice transcription response body is not readable.");
|
|
189
|
-
await U(m.body, (e) => {
|
|
190
|
-
let t = B(e);
|
|
191
|
-
t && l(t);
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
function B(e) {
|
|
195
|
-
return e.type === "text_delta" && typeof e.delta == "string" ? e.delta : typeof e.text_delta == "string" ? e.text_delta : "";
|
|
196
|
-
}
|
|
197
|
-
var V = /^[a-z]+:/i;
|
|
198
|
-
function H(e) {
|
|
199
|
-
let t = e.trim();
|
|
200
|
-
if (!t || t.startsWith(":")) return null;
|
|
201
|
-
let n = t;
|
|
202
|
-
if (n.startsWith("data:")) n = n.slice(5).trimStart();
|
|
203
|
-
else if (V.test(n)) return null;
|
|
204
|
-
return !n || n === "[DONE]" ? null : JSON.parse(n);
|
|
205
|
-
}
|
|
206
|
-
async function U(e, t) {
|
|
207
|
-
let n = e.getReader(), r = new TextDecoder(), i = "";
|
|
208
|
-
try {
|
|
209
|
-
for (;;) {
|
|
210
|
-
let { done: e, value: a } = await n.read();
|
|
211
|
-
if (e) break;
|
|
212
|
-
i += r.decode(a, { stream: !0 });
|
|
213
|
-
let o = i.split(/\r?\n/);
|
|
214
|
-
i = o.pop() ?? "";
|
|
215
|
-
for (let e of o) W(e, t);
|
|
216
|
-
}
|
|
217
|
-
i += r.decode();
|
|
218
|
-
let e = i.trim();
|
|
219
|
-
e && W(e, t);
|
|
220
|
-
} finally {
|
|
221
|
-
n.releaseLock();
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
function W(e, t) {
|
|
225
|
-
let n = H(e);
|
|
226
|
-
n && t(n);
|
|
227
|
-
}
|
|
228
|
-
async function G(e) {
|
|
229
|
-
try {
|
|
230
|
-
return (await e.text()).trim().slice(0, 200);
|
|
231
|
-
} catch {
|
|
232
|
-
return "";
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region src/components/ai-interaction-textarea/ai-interaction-textarea.module.scss?inline
|
|
237
|
-
var K = ":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))}", q = 3e3, J = 6e4, Y = class extends u {
|
|
238
|
-
constructor(...e) {
|
|
239
|
-
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.flagOpendata = !1, this.disabled = !1, this.singleLine = !1, this.hideDatasetButton = !1, this.hideDatasetIcons = !1, 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 = /* @__PURE__ */ 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) => {
|
|
240
|
-
let t = e.data?.datasetInfo;
|
|
241
|
-
return e.header && t ? d`
|
|
242
|
-
<span>
|
|
243
|
-
${this.hideDatasetIcons ? d`<luzmo-icon .icon=${l} size="s"></luzmo-icon>` : d`
|
|
244
|
-
<luzmo-dataset-icon
|
|
245
|
-
.datasetInfo=${t}
|
|
246
|
-
size="16px"
|
|
247
|
-
app-url=${this.appServer}
|
|
248
|
-
></luzmo-dataset-icon>
|
|
249
|
-
`}
|
|
250
|
-
</span>
|
|
251
|
-
` : e.icon ? d`
|
|
252
|
-
<span>
|
|
253
|
-
<luzmo-icon .icon=${e.icon} size="s"></luzmo-icon>
|
|
254
|
-
</span>
|
|
255
|
-
` : f;
|
|
256
|
-
}, this._handleAttachClick = () => {
|
|
257
|
-
this.openFilePicker();
|
|
258
|
-
}, this._handleAttachmentsChange = (e) => {
|
|
259
|
-
this._pendingAttachmentSync = e.detail?.attachments ?? this.getAttachments(), !this._attachmentSyncScheduled && (this._attachmentSyncScheduled = !0, queueMicrotask(() => {
|
|
260
|
-
if (this._attachmentSyncScheduled = !1, !this.isConnected) {
|
|
261
|
-
this._pendingAttachmentSync = null;
|
|
262
|
-
return;
|
|
263
|
-
}
|
|
264
|
-
let e = this._pendingAttachmentSync ?? this.getAttachments();
|
|
265
|
-
this._pendingAttachmentSync = null, this._syncAttachments(e);
|
|
266
|
-
}));
|
|
267
|
-
}, this._handleVoiceKeydown = (e) => {
|
|
268
|
-
e.key === "Escape" && this._isTranscribing && (e.preventDefault(), e.stopPropagation(), this._cancelVoiceSession());
|
|
269
|
-
}, this._handleRecord = (e) => {
|
|
270
|
-
if (e.stopPropagation(), e.detail?.isRecording) {
|
|
271
|
-
this._captureVoiceInsertPoint(), this._isRecording = !0, this._isTranscribing = !1;
|
|
272
|
-
return;
|
|
273
|
-
}
|
|
274
|
-
this._isRecording = !1;
|
|
275
|
-
}, this._handleRecordCancel = (e) => {
|
|
276
|
-
e.stopPropagation(), this._cancelVoiceSession();
|
|
277
|
-
}, this._handleRecordError = (e) => {
|
|
278
|
-
e.stopPropagation(), this._abortTranscription(), this._resetVoiceSessionState();
|
|
279
|
-
let t = e.detail?.error?.trim() || v("Voice recording failed", { desc: "Error when microphone recording fails in the AI prompt" });
|
|
280
|
-
this._showAttachmentError(t);
|
|
281
|
-
}, this._handleRecordingComplete = (e) => {
|
|
282
|
-
e.stopPropagation();
|
|
283
|
-
let { audioBlob: t, mimeType: n } = e.detail ?? {};
|
|
284
|
-
if (!t) {
|
|
285
|
-
this._resetVoiceSessionState();
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
this._transcribeRecording(t, n || t.type || "audio/webm");
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
static {
|
|
292
|
-
this.styles = p(K);
|
|
293
|
-
}
|
|
294
|
-
static {
|
|
295
|
-
this.tagName = "luzmo-ai-interaction-textarea";
|
|
296
|
-
}
|
|
297
|
-
get _voiceBusy() {
|
|
298
|
-
return this._isRecording || this._isTranscribing;
|
|
299
|
-
}
|
|
300
|
-
get _buttonDisabled() {
|
|
301
|
-
return this.disabled || this.isGenerating || this._voiceBusy || !this._isPromptValid ? !0 : this.requireDataset && this.selectedDatasets.length === 0;
|
|
302
|
-
}
|
|
303
|
-
get _promptPending() {
|
|
304
|
-
return this.isGenerating || this._isTranscribing;
|
|
305
|
-
}
|
|
306
|
-
get _promptReadonly() {
|
|
307
|
-
return this._voiceBusy;
|
|
308
|
-
}
|
|
309
|
-
get _actionsDisabled() {
|
|
310
|
-
return this.disabled || this.isGenerating || this._voiceBusy;
|
|
311
|
-
}
|
|
312
|
-
get _fieldTriggers() {
|
|
313
|
-
return this.disableColumnMentions ? [] : [{
|
|
314
|
-
key: "@",
|
|
315
|
-
options: this._fieldTriggerOptions,
|
|
316
|
-
highlightSearch: !0,
|
|
317
|
-
iconTemplate: this._renderFieldTriggerIcon
|
|
318
|
-
}];
|
|
319
|
-
}
|
|
320
|
-
connectedCallback() {
|
|
321
|
-
super.connectedCallback(), this._configureBroker(), this._refreshDatasetsFieldConfig(), this.addEventListener("keydown", this._handleVoiceKeydown);
|
|
322
|
-
}
|
|
323
|
-
disconnectedCallback() {
|
|
324
|
-
window.clearTimeout(this._attachmentErrorClearHandle), this._abortAllAttachmentUploads(), this._abortTranscription(), this.removeEventListener("keydown", this._handleVoiceKeydown), super.disconnectedCallback();
|
|
325
|
-
}
|
|
326
|
-
_configureBroker() {
|
|
327
|
-
n.configure({
|
|
328
|
-
authKey: this.authKey,
|
|
329
|
-
authToken: this.authToken,
|
|
330
|
-
apiUrl: this.apiUrl
|
|
331
|
-
});
|
|
332
|
-
}
|
|
333
|
-
_handlePromptInput(e) {
|
|
334
|
-
let t = e.target.value ?? "";
|
|
335
|
-
this._promptValue = t, this._isPromptValid = t.trim().length > 0;
|
|
336
|
-
}
|
|
337
|
-
openFilePicker() {
|
|
338
|
-
this._promptBox?.openFilePicker();
|
|
339
|
-
}
|
|
340
|
-
addFiles(e) {
|
|
341
|
-
return this._promptBox?.addFiles(e) ?? [];
|
|
342
|
-
}
|
|
343
|
-
removeAttachment(e) {
|
|
344
|
-
this._cleanupAttachmentUpload(e), this._promptBox?.removeAttachment(e);
|
|
345
|
-
}
|
|
346
|
-
setAttachmentLoading(e, t) {
|
|
347
|
-
this._promptBox?.setAttachmentLoading(e, t);
|
|
348
|
-
}
|
|
349
|
-
clearAttachments() {
|
|
350
|
-
this._abortAllAttachmentUploads(), this._promptBox?.clearAttachments();
|
|
351
|
-
}
|
|
352
|
-
getAttachments() {
|
|
353
|
-
return this._promptBox?.getAttachments() ?? [];
|
|
354
|
-
}
|
|
355
|
-
getAttachmentUrls(e = this.getAttachments()) {
|
|
356
|
-
return e.map((e) => this._attachmentUploads.get(e.id)?.url).filter((e) => typeof e == "string" && e.length > 0);
|
|
357
|
-
}
|
|
358
|
-
_showAttachmentError(e) {
|
|
359
|
-
this._attachmentError = e, window.clearTimeout(this._attachmentErrorClearHandle), this._attachmentErrorClearHandle = window.setTimeout(() => {
|
|
360
|
-
this._attachmentError = null;
|
|
361
|
-
}, q);
|
|
362
|
-
}
|
|
363
|
-
_cleanupAttachmentUpload(e) {
|
|
364
|
-
this._attachmentUploads.get(e)?.controller?.abort(), this._attachmentUploads.delete(e);
|
|
365
|
-
}
|
|
366
|
-
_abortAllAttachmentUploads() {
|
|
367
|
-
for (let e of this._attachmentUploads.values()) e.controller?.abort();
|
|
368
|
-
this._attachmentUploads.clear();
|
|
369
|
-
}
|
|
370
|
-
async _uploadSingleFile(e, t) {
|
|
371
|
-
let n = "";
|
|
372
|
-
if (typeof this.uploadAttachments == "function") {
|
|
373
|
-
let r = await this.uploadAttachments([e], { signal: t });
|
|
374
|
-
n = Array.isArray(r) ? r[0]?.trim() ?? "" : "";
|
|
375
|
-
} else {
|
|
376
|
-
if (!this.authKey || !this.authToken) throw Error("Image upload requires authKey and authToken.");
|
|
377
|
-
let [r] = await N({
|
|
378
|
-
files: [e],
|
|
379
|
-
authKey: this.authKey,
|
|
380
|
-
authToken: this.authToken,
|
|
381
|
-
apiUrl: this.apiUrl,
|
|
382
|
-
apiVersion: this.apiVersion,
|
|
383
|
-
signal: t
|
|
384
|
-
});
|
|
385
|
-
n = r?.trim() ?? "";
|
|
386
|
-
}
|
|
387
|
-
if (!n) throw Error(`Image upload for "${e.name}" did not return a url.`);
|
|
388
|
-
return A([n]), n;
|
|
389
|
-
}
|
|
390
|
-
_startAttachmentUpload(e) {
|
|
391
|
-
let { id: t, file: n } = e;
|
|
392
|
-
if (!n) {
|
|
393
|
-
this.removeAttachment(t);
|
|
394
|
-
return;
|
|
395
|
-
}
|
|
396
|
-
if (!O(n)) {
|
|
397
|
-
this.removeAttachment(t), this._showAttachmentError(v("Only PNG, JPEG, WebP, and GIF images can be attached.", { desc: "Error when the user attaches an unsupported image type to the AI prompt" }));
|
|
398
|
-
return;
|
|
399
|
-
}
|
|
400
|
-
if (n.size === 0) {
|
|
401
|
-
this.removeAttachment(t), this._showAttachmentError(v("Failed to attach image", { desc: "Error when an AI prompt image upload fails" }));
|
|
402
|
-
return;
|
|
403
|
-
}
|
|
404
|
-
if (n.size > 15728640) {
|
|
405
|
-
this.removeAttachment(t), this._showAttachmentError(v("Image is too large. Maximum size is 15 MB.", { desc: "Error when an attached AI prompt image exceeds the 15 MB upload limit" }));
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
this.setAttachmentLoading(t, !0);
|
|
409
|
-
let r = new AbortController(), i = { controller: r };
|
|
410
|
-
this._attachmentUploads.set(t, i);
|
|
411
|
-
let a = window.setTimeout(() => r.abort(), J), o = () => {
|
|
412
|
-
this.removeAttachment(t), this._showAttachmentError(v("Failed to attach image", { desc: "Error when an AI prompt image upload fails" }));
|
|
413
|
-
};
|
|
414
|
-
i.promise = (async () => {
|
|
415
|
-
try {
|
|
416
|
-
let e = await this._uploadSingleFile(n, r.signal);
|
|
417
|
-
window.clearTimeout(a);
|
|
418
|
-
let i = this._attachmentUploads.get(t);
|
|
419
|
-
if (!i || i.controller !== r) return;
|
|
420
|
-
i.url = e, i.controller = void 0, i.promise = void 0, this.setAttachmentLoading(t, !1);
|
|
421
|
-
} catch (e) {
|
|
422
|
-
if (window.clearTimeout(a), r.signal.aborted || e?.name === "AbortError") {
|
|
423
|
-
this._attachmentUploads.get(t)?.controller === r && o();
|
|
424
|
-
return;
|
|
425
|
-
}
|
|
426
|
-
o();
|
|
427
|
-
}
|
|
428
|
-
})();
|
|
429
|
-
}
|
|
430
|
-
_syncAttachments(e) {
|
|
431
|
-
let t = new Set(e.map((e) => e.id));
|
|
432
|
-
for (let e of Array.from(this._attachmentUploads.keys())) t.has(e) || this._cleanupAttachmentUpload(e);
|
|
433
|
-
let n = !1;
|
|
434
|
-
for (let t of e) if (!this._attachmentUploads.has(t.id)) {
|
|
435
|
-
if (this._attachmentUploads.size >= 20) {
|
|
436
|
-
n = !0, this._promptBox?.removeAttachment(t.id);
|
|
437
|
-
continue;
|
|
438
|
-
}
|
|
439
|
-
this._startAttachmentUpload(t);
|
|
440
|
-
}
|
|
441
|
-
n && this._showAttachmentError(v(y`You can attach up to ${20} images.`, { desc: "Error when the user tries to attach more images than the AI prompt allows" }));
|
|
442
|
-
}
|
|
443
|
-
async _waitForAttachmentUploads(e) {
|
|
444
|
-
let t = e.map((e) => this._attachmentUploads.get(e.id)?.promise).filter((e) => !!e);
|
|
445
|
-
t.length !== 0 && await Promise.all(t);
|
|
446
|
-
}
|
|
447
|
-
async _submitPrompt(e = this._promptValue, t = []) {
|
|
448
|
-
if (this._promptValue = e, this._isPromptValid = e.trim().length > 0, !(this._buttonDisabled || this._submitInProgress)) {
|
|
449
|
-
this._submitInProgress = !0;
|
|
450
|
-
try {
|
|
451
|
-
let n = e.trim(), r = t.length > 0 ? [...t] : this.getAttachments(), i = r.filter((e) => !!e.file && O(e.file));
|
|
452
|
-
await this._waitForAttachmentUploads(i);
|
|
453
|
-
let a = [];
|
|
454
|
-
for (let e of i) {
|
|
455
|
-
let t = this._attachmentUploads.get(e.id)?.url;
|
|
456
|
-
if (!t) {
|
|
457
|
-
this._showAttachmentError(v("Failed to attach image", { desc: "Error when an AI prompt image upload fails" }));
|
|
458
|
-
return;
|
|
459
|
-
}
|
|
460
|
-
a.push(t);
|
|
461
|
-
}
|
|
462
|
-
this.retainOnSubmit || (this._promptValue = "", this._isPromptValid = !1, this._abortAllAttachmentUploads(), this._promptBox?.clear()), this.dispatchEvent(new CustomEvent("prompt-submitted", {
|
|
463
|
-
detail: {
|
|
464
|
-
prompt: n,
|
|
465
|
-
selectedDatasets: this.selectedDatasets,
|
|
466
|
-
attachments: r,
|
|
467
|
-
attachmentUrls: a
|
|
468
|
-
},
|
|
469
|
-
bubbles: !0,
|
|
470
|
-
composed: !0
|
|
471
|
-
}));
|
|
472
|
-
} finally {
|
|
473
|
-
this._submitInProgress = !1;
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
_handleDatasetSelected(e) {
|
|
478
|
-
let t = e.detail;
|
|
479
|
-
this.selectedDatasets.some((e) => e.id === t.id) || (this.selectedDatasets = [...this.selectedDatasets, t]);
|
|
480
|
-
}
|
|
481
|
-
_handleDatasetRemoved(e) {
|
|
482
|
-
let t = e.detail;
|
|
483
|
-
this.selectedDatasets = this.selectedDatasets.filter((e) => e.id !== t.id);
|
|
484
|
-
}
|
|
485
|
-
_getLocalizedFieldLabel(e) {
|
|
486
|
-
if (e) return typeof e == "string" ? e : o(e, t());
|
|
487
|
-
}
|
|
488
|
-
_mapColumnToTriggerOption(e, t) {
|
|
489
|
-
return t.id ? {
|
|
490
|
-
label: this._getLocalizedFieldLabel(t.name) || t.id,
|
|
491
|
-
value: `${e}:column:${t.id}`,
|
|
492
|
-
icon: a(t, "s"),
|
|
493
|
-
elementType: "data-field",
|
|
494
|
-
data: {
|
|
495
|
-
datasetId: e,
|
|
496
|
-
columnId: t.id,
|
|
497
|
-
type: t.type,
|
|
498
|
-
subtype: t.subtype
|
|
499
|
-
}
|
|
500
|
-
} : null;
|
|
501
|
-
}
|
|
502
|
-
_mapFormulaToTriggerOption(e, t) {
|
|
503
|
-
return t.id ? {
|
|
504
|
-
label: this._getLocalizedFieldLabel(t.name) || t.id,
|
|
505
|
-
value: `${e}:formula:${t.id}`,
|
|
506
|
-
icon: i.formula[r("s")],
|
|
507
|
-
elementType: "data-field",
|
|
508
|
-
data: {
|
|
509
|
-
datasetId: e,
|
|
510
|
-
formulaId: t.id,
|
|
511
|
-
type: t.type,
|
|
512
|
-
subtype: t.subtype
|
|
513
|
-
}
|
|
514
|
-
} : null;
|
|
515
|
-
}
|
|
516
|
-
_updateFieldTriggerOptionsFromConfig() {
|
|
517
|
-
let e = new Map(this._datasetsFieldConfig.map((e) => [e.id, e])), t = [];
|
|
518
|
-
for (let n of this.selectedDatasets) {
|
|
519
|
-
let r = e.get(n.id), i = [], a = r?.columns?.filter((e) => !e.hidden) ?? [];
|
|
520
|
-
for (let e of a) {
|
|
521
|
-
let t = this._mapColumnToTriggerOption(n.id, e);
|
|
522
|
-
t && i.push(t);
|
|
523
|
-
}
|
|
524
|
-
let o = r?.formulas?.filter((e) => !e.hidden) ?? [];
|
|
525
|
-
for (let e of o) {
|
|
526
|
-
let t = this._mapFormulaToTriggerOption(n.id, e);
|
|
527
|
-
t && i.push(t);
|
|
528
|
-
}
|
|
529
|
-
i.length !== 0 && (t.push({
|
|
530
|
-
label: s(n),
|
|
531
|
-
value: `dataset-header:${n.id}`,
|
|
532
|
-
header: !0,
|
|
533
|
-
data: { datasetInfo: n }
|
|
534
|
-
}), t.push(...i));
|
|
535
|
-
}
|
|
536
|
-
this._fieldTriggerOptions = t;
|
|
537
|
-
}
|
|
538
|
-
async _refreshDatasetsFieldConfig() {
|
|
539
|
-
if (this.disableColumnMentions) {
|
|
540
|
-
this._datasetsFieldConfig = [], this._fieldTriggerOptions = [];
|
|
541
|
-
return;
|
|
542
|
-
}
|
|
543
|
-
let e = [...new Set(this.selectedDatasets.map((e) => e.id).filter(Boolean))];
|
|
544
|
-
if (e.length === 0) {
|
|
545
|
-
this._datasetsFieldConfig = [], this._fieldTriggerOptions = [];
|
|
546
|
-
return;
|
|
547
|
-
}
|
|
548
|
-
let t = ++this._activeFieldRequestId;
|
|
549
|
-
this._updateFieldTriggerOptionsFromConfig();
|
|
550
|
-
try {
|
|
551
|
-
let r = await n.fetchDatasetsWithColumnsAndFormulas(e);
|
|
552
|
-
if (t !== this._activeFieldRequestId) return;
|
|
553
|
-
this._datasetsFieldConfig = r, this._updateFieldTriggerOptionsFromConfig();
|
|
554
|
-
} catch (e) {
|
|
555
|
-
console.error("Error loading dataset fields for prompt triggers:", e), t === this._activeFieldRequestId && (this._datasetsFieldConfig = [], this._updateFieldTriggerOptionsFromConfig());
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
_handlePromptSubmit(e) {
|
|
559
|
-
this._submitPrompt(e.detail?.value ?? this._promptValue, e.detail?.attachments ?? []);
|
|
560
|
-
}
|
|
561
|
-
_handlePromptStop(e) {
|
|
562
|
-
if (e.stopPropagation(), this._isTranscribing) {
|
|
563
|
-
this._cancelVoiceSession();
|
|
564
|
-
return;
|
|
565
|
-
}
|
|
566
|
-
this.dispatchEvent(new CustomEvent("prompt-stopped", {
|
|
567
|
-
bubbles: !0,
|
|
568
|
-
composed: !0
|
|
569
|
-
}));
|
|
570
|
-
}
|
|
571
|
-
_getCaretTextOffset() {
|
|
572
|
-
let e = this._promptBox?.shadowRoot;
|
|
573
|
-
if (!e) return this._promptValue.length;
|
|
574
|
-
let t = e.querySelector(".rich-input") ?? e.querySelector("luzmo-text-field");
|
|
575
|
-
if (!t) return this._promptValue.length;
|
|
576
|
-
let n = e.getSelection?.() ?? document.getSelection();
|
|
577
|
-
if (!n || n.rangeCount === 0) return this._promptValue.length;
|
|
578
|
-
let r = n.getRangeAt(0);
|
|
579
|
-
if (!t.contains(r.startContainer)) return this._promptValue.length;
|
|
580
|
-
let i = r.cloneRange();
|
|
581
|
-
return i.selectNodeContents(t), i.setEnd(r.startContainer, r.startOffset), i.toString().length;
|
|
582
|
-
}
|
|
583
|
-
_setPromptText(e) {
|
|
584
|
-
this._promptValue = e, this._isPromptValid = e.trim().length > 0, this._syncControlledValueToPromptBox();
|
|
585
|
-
}
|
|
586
|
-
_captureVoiceInsertPoint() {
|
|
587
|
-
let e = Math.min(Math.max(this._getCaretTextOffset(), 0), this._promptValue.length);
|
|
588
|
-
this._preRecordingValue = this._promptValue, this._voicePrefix = this._promptValue.slice(0, e), this._voiceSuffix = this._promptValue.slice(e), this._streamedTranscript = "", this._voiceSessionActive = !0;
|
|
589
|
-
}
|
|
590
|
-
_applyStreamedTranscript() {
|
|
591
|
-
this._setPromptText(`${this._voicePrefix}${this._streamedTranscript}${this._voiceSuffix}`);
|
|
592
|
-
}
|
|
593
|
-
_resetVoiceSessionState() {
|
|
594
|
-
this._isRecording = !1, this._isTranscribing = !1, this._streamedTranscript = "", this._voicePrefix = "", this._voiceSuffix = "", this._preRecordingValue = "", this._voiceSessionActive = !1;
|
|
595
|
-
}
|
|
596
|
-
_abortTranscription() {
|
|
597
|
-
this._transcriptionController?.abort(), this._transcriptionController = null;
|
|
598
|
-
}
|
|
599
|
-
_cancelVoiceSession() {
|
|
600
|
-
if (!this._voiceSessionActive) {
|
|
601
|
-
this._abortTranscription(), this._resetVoiceSessionState();
|
|
602
|
-
return;
|
|
603
|
-
}
|
|
604
|
-
let e = this._preRecordingValue;
|
|
605
|
-
this._abortTranscription(), this._resetVoiceSessionState(), this._setPromptText(e);
|
|
606
|
-
}
|
|
607
|
-
async _transcribeRecording(e, t) {
|
|
608
|
-
this._abortTranscription();
|
|
609
|
-
let n = new AbortController();
|
|
610
|
-
this._transcriptionController = n, this._isRecording = !1, this._isTranscribing = !0, this._streamedTranscript = "";
|
|
611
|
-
try {
|
|
612
|
-
if (await z({
|
|
613
|
-
audioBlob: e,
|
|
614
|
-
mimeType: t,
|
|
615
|
-
authKey: this.authKey,
|
|
616
|
-
authToken: this.authToken,
|
|
617
|
-
apiUrl: this.apiUrl,
|
|
618
|
-
apiVersion: this.apiVersion,
|
|
619
|
-
signal: n.signal,
|
|
620
|
-
onDelta: (e) => {
|
|
621
|
-
n.signal.aborted || (this._streamedTranscript += e, this._applyStreamedTranscript());
|
|
622
|
-
}
|
|
623
|
-
}), n.signal.aborted) return;
|
|
624
|
-
this._resetVoiceSessionState();
|
|
625
|
-
} catch (e) {
|
|
626
|
-
if (n.signal.aborted) return;
|
|
627
|
-
console.error("Voice transcription failed:", e), this._setPromptText(this._preRecordingValue), this._resetVoiceSessionState(), this._showAttachmentError(v("Failed to transcribe audio", { desc: "Error when AI prompt voice transcription fails" }));
|
|
628
|
-
} finally {
|
|
629
|
-
this._transcriptionController === n && (this._transcriptionController = null);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
_syncControlledValueToPromptBox() {
|
|
633
|
-
let e = this._promptBox;
|
|
634
|
-
if (!e?.allowElements) {
|
|
635
|
-
e && (e.value = this._promptValue);
|
|
636
|
-
return;
|
|
637
|
-
}
|
|
638
|
-
e.segments = this._promptValue ? [{
|
|
639
|
-
type: "text",
|
|
640
|
-
value: this._promptValue
|
|
641
|
-
}] : [];
|
|
642
|
-
}
|
|
643
|
-
willUpdate(e) {
|
|
644
|
-
e.has("value") && (this._promptValue = this.value, this._isPromptValid = this.value.trim().length > 0);
|
|
645
|
-
let t = e.has("authKey") || e.has("authToken") || e.has("apiUrl");
|
|
646
|
-
t && this._configureBroker(), (t || e.has("selectedDatasets") || e.has("disableColumnMentions")) && this._refreshDatasetsFieldConfig();
|
|
647
|
-
}
|
|
648
|
-
updated(e) {
|
|
649
|
-
super.updated(e), e.has("value") && this._syncControlledValueToPromptBox();
|
|
650
|
-
}
|
|
651
|
-
render() {
|
|
652
|
-
return d`
|
|
653
|
-
<div class=${b({
|
|
654
|
-
"content-wrapper": !0,
|
|
655
|
-
disabled: this.disabled,
|
|
656
|
-
"single-line": this.singleLine
|
|
657
|
-
})} aria-busy=${this.isGenerating || this._voiceBusy ? "true" : "false"}>
|
|
658
|
-
<luzmo-prompt-box
|
|
659
|
-
?single-line=${this.singleLine}
|
|
660
|
-
?pending=${this._promptPending}
|
|
661
|
-
?stoppable=${this.stoppable && this.isGenerating || this._isTranscribing}
|
|
662
|
-
?disabled=${this.disabled}
|
|
663
|
-
?readonly=${this._promptReadonly}
|
|
664
|
-
?disable-submit=${this._buttonDisabled}
|
|
665
|
-
?allow-images=${this.allowImages}
|
|
666
|
-
?recording=${this.allowVoiceInput}
|
|
667
|
-
.acceptedFileTypes=${this.acceptedFileTypes}
|
|
668
|
-
.fileIcons=${this.fileIcons}
|
|
669
|
-
grows
|
|
670
|
-
allow-elements
|
|
671
|
-
.placeholder=${this.placeholder}
|
|
672
|
-
.value=${this._promptValue}
|
|
673
|
-
.triggers=${this._fieldTriggers}
|
|
674
|
-
@input=${this._handlePromptInput}
|
|
675
|
-
@luzmo-submit=${this._handlePromptSubmit}
|
|
676
|
-
@luzmo-stop=${this._handlePromptStop}
|
|
677
|
-
@luzmo-attachments-change=${this._handleAttachmentsChange}
|
|
678
|
-
@luzmo-record=${this._handleRecord}
|
|
679
|
-
@luzmo-recording-complete=${this._handleRecordingComplete}
|
|
680
|
-
@luzmo-record-cancel=${this._handleRecordCancel}
|
|
681
|
-
@luzmo-record-error=${this._handleRecordError}
|
|
682
|
-
>
|
|
683
|
-
${this.hideSelectedDatasets || this.hideDatasetButton ? "" : d`
|
|
684
|
-
<luzmo-dataset-selector-row
|
|
685
|
-
slot="top-actions"
|
|
686
|
-
.selectedDatasets=${this.selectedDatasets}
|
|
687
|
-
auth-key=${this.authKey}
|
|
688
|
-
auth-token=${this.authToken}
|
|
689
|
-
api-url=${this.apiUrl}
|
|
690
|
-
app-server=${this.appServer}
|
|
691
|
-
?flag-opendata=${this.flagOpendata}
|
|
692
|
-
?hide-dataset-icons=${this.hideDatasetIcons}
|
|
693
|
-
?disabled=${this._actionsDisabled || this.disableDatasetModification}
|
|
694
|
-
@dataset-selected=${this._handleDatasetSelected}
|
|
695
|
-
@dataset-removed=${this._handleDatasetRemoved}
|
|
696
|
-
></luzmo-dataset-selector-row>
|
|
697
|
-
`}
|
|
698
|
-
${this.allowImages ? d`
|
|
699
|
-
<luzmo-action-button
|
|
700
|
-
slot="bottom-actions"
|
|
701
|
-
size="m"
|
|
702
|
-
quiet
|
|
703
|
-
?disabled=${this._actionsDisabled}
|
|
704
|
-
label=${v("Add attachments", { desc: "Accessible label for the AI prompt attachment button" })}
|
|
705
|
-
@click=${this._handleAttachClick}
|
|
706
|
-
>
|
|
707
|
-
<luzmo-icon slot="icon" size="m" .icon=${c}></luzmo-icon>
|
|
708
|
-
</luzmo-action-button>
|
|
709
|
-
` : f}
|
|
710
|
-
</luzmo-prompt-box>
|
|
711
|
-
${this._attachmentError ? d`
|
|
712
|
-
<div class="attachment-error" role="alert">${this._attachmentError}</div>
|
|
713
|
-
` : f}
|
|
714
|
-
</div>
|
|
715
|
-
`;
|
|
716
|
-
}
|
|
717
|
-
};
|
|
718
|
-
//#endregion
|
|
719
|
-
//#region src/components/ai-interaction-textarea/index.ts
|
|
720
|
-
e([m({ type: String })], Y.prototype, "placeholder", void 0), e([m({ type: Array })], Y.prototype, "selectedDatasets", void 0), e([m({
|
|
721
|
-
type: String,
|
|
722
|
-
attribute: "auth-key"
|
|
723
|
-
})], Y.prototype, "authKey", void 0), e([m({
|
|
724
|
-
type: String,
|
|
725
|
-
attribute: "auth-token"
|
|
726
|
-
})], Y.prototype, "authToken", void 0), e([m({
|
|
727
|
-
type: String,
|
|
728
|
-
attribute: "api-url"
|
|
729
|
-
})], Y.prototype, "apiUrl", void 0), e([m({
|
|
730
|
-
type: String,
|
|
731
|
-
attribute: "app-server"
|
|
732
|
-
})], Y.prototype, "appServer", void 0), e([m({
|
|
733
|
-
type: Boolean,
|
|
734
|
-
attribute: "flag-opendata"
|
|
735
|
-
})], Y.prototype, "flagOpendata", void 0), e([m({
|
|
736
|
-
type: Boolean,
|
|
737
|
-
reflect: !0,
|
|
738
|
-
attribute: "disabled"
|
|
739
|
-
})], Y.prototype, "disabled", void 0), e([m({
|
|
740
|
-
type: Boolean,
|
|
741
|
-
attribute: "single-line"
|
|
742
|
-
})], Y.prototype, "singleLine", void 0), e([m({
|
|
743
|
-
type: Boolean,
|
|
744
|
-
attribute: "hide-dataset-button"
|
|
745
|
-
})], Y.prototype, "hideDatasetButton", void 0), e([m({
|
|
746
|
-
type: Boolean,
|
|
747
|
-
attribute: "hide-dataset-icons"
|
|
748
|
-
})], Y.prototype, "hideDatasetIcons", void 0), e([m({
|
|
749
|
-
type: Boolean,
|
|
750
|
-
attribute: "disable-dataset-modification"
|
|
751
|
-
})], Y.prototype, "disableDatasetModification", void 0), e([m({
|
|
752
|
-
type: Boolean,
|
|
753
|
-
attribute: "hide-selected-datasets"
|
|
754
|
-
})], Y.prototype, "hideSelectedDatasets", void 0), e([m({
|
|
755
|
-
type: Boolean,
|
|
756
|
-
attribute: "disable-column-mentions"
|
|
757
|
-
})], Y.prototype, "disableColumnMentions", void 0), e([m({
|
|
758
|
-
type: Boolean,
|
|
759
|
-
attribute: "is-generating"
|
|
760
|
-
})], Y.prototype, "isGenerating", void 0), e([m({
|
|
761
|
-
type: Boolean,
|
|
762
|
-
reflect: !0
|
|
763
|
-
})], Y.prototype, "stoppable", void 0), e([m({ type: String })], Y.prototype, "value", void 0), e([m({
|
|
764
|
-
type: Boolean,
|
|
765
|
-
attribute: "retain-on-submit"
|
|
766
|
-
})], Y.prototype, "retainOnSubmit", void 0), e([m({
|
|
767
|
-
type: Boolean,
|
|
768
|
-
attribute: "require-dataset"
|
|
769
|
-
})], Y.prototype, "requireDataset", void 0), e([m({
|
|
770
|
-
type: Boolean,
|
|
771
|
-
reflect: !0,
|
|
772
|
-
attribute: "allow-images"
|
|
773
|
-
})], Y.prototype, "allowImages", void 0), e([m({
|
|
774
|
-
type: Boolean,
|
|
775
|
-
reflect: !0,
|
|
776
|
-
attribute: "allow-voice-input"
|
|
777
|
-
})], Y.prototype, "allowVoiceInput", void 0), e([m({
|
|
778
|
-
type: Array,
|
|
779
|
-
attribute: "accepted-file-types"
|
|
780
|
-
})], Y.prototype, "acceptedFileTypes", void 0), e([m({
|
|
781
|
-
type: String,
|
|
782
|
-
attribute: "api-version"
|
|
783
|
-
})], Y.prototype, "apiVersion", void 0), e([m({ attribute: !1 })], Y.prototype, "uploadAttachments", void 0), e([m({ attribute: !1 })], Y.prototype, "fileIcons", void 0), e([g()], Y.prototype, "_promptValue", void 0), e([g()], Y.prototype, "_isPromptValid", void 0), e([g()], Y.prototype, "_fieldTriggerOptions", void 0), e([g()], Y.prototype, "_datasetsFieldConfig", void 0), e([g()], Y.prototype, "_attachmentError", void 0), e([g()], Y.prototype, "_isRecording", void 0), e([g()], Y.prototype, "_isTranscribing", void 0), e([h("luzmo-prompt-box")], Y.prototype, "_promptBox", void 0), Y = e([_()], Y), customElements.get("luzmo-ai-interaction-textarea") || customElements.define("luzmo-ai-interaction-textarea", Y);
|
|
784
|
-
//#endregion
|
|
785
|
-
export { z as a, S as c, A as d, O as f, I as i, x as l, k as m, R as n, M as o, D as p, L as r, N as s, Y as t, j as u };
|