@luzmo/analytics-components-kit 1.0.5-beta.1 → 1.0.5-beta.2
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/components/ad-hoc-slot-content-BwcFfXCV.cjs +20 -0
- package/components/ad-hoc-slot-content-hSlT62VS.js +29 -0
- package/components/ai-chat/ai-chat-request.d.ts +2 -1
- package/components/ai-chat/ai-chat.d.ts +11 -0
- package/components/ai-chat/ai-prompt-types.d.ts +9 -1
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.d.ts +3 -0
- package/components/ai-chat/index.js +3 -2
- package/components/ai-chat/session/ai-chat-session-controller.d.ts +6 -0
- package/components/ai-chat/session/ai-chat-session-types.d.ts +12 -0
- package/components/ai-chat/session/ai-chat-session.d.ts +13 -2
- package/components/ai-chat-D9tYu1q6.cjs +320 -0
- package/components/ai-chat-DstJ__Jz.js +3973 -0
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +77 -0
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.d.ts +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/ai-interaction-textarea/types.d.ts +5 -0
- package/components/ai-interaction-textarea-BR72djHD.cjs +93 -0
- package/components/ai-interaction-textarea-C-feG2HA.js +785 -0
- package/components/area-chart-options.config-Cf1VrUNv.cjs +20 -0
- package/components/area-chart-options.config-DdYBA1_Q.js +146 -0
- package/components/area-chart-positioning.config-BFW46XhO.cjs +20 -0
- package/components/area-chart-positioning.config-BfieFxgx.js +55 -0
- package/components/area-chart-slots.config-BOhwdLnr.cjs +20 -0
- package/components/area-chart-slots.config-Cmdkui4v.js +55 -0
- package/components/bar-chart-options.config-BF7Q15FL.cjs +20 -0
- package/components/bar-chart-options.config-Cx3n0tCr.js +220 -0
- package/components/bar-chart-positioning.config-DURuF-Nr.cjs +20 -0
- package/components/bar-chart-positioning.config-DzKDbJHr.js +59 -0
- package/components/bar-chart-slots.config-BWvrLYv5.js +50 -0
- package/components/bar-chart-slots.config-DMWjAd5a.cjs +20 -0
- package/components/base-BRVXqI7u.cjs +20 -0
- package/components/base-CUexK-Bc.js +249 -0
- package/components/base-store-DHC2m2Os.cjs +20 -0
- package/components/base-store-DmDe0dTU.js +160 -0
- package/components/box-plot-options.config-BkD5CYGz.cjs +20 -0
- package/components/box-plot-options.config-DB9iCCZg.js +296 -0
- package/components/box-plot-positioning.config-CYmxOZMk.cjs +20 -0
- package/components/box-plot-positioning.config-DmFvqCcg.js +48 -0
- package/components/box-plot-slots.config-5B_pTjPJ.cjs +20 -0
- package/components/box-plot-slots.config-BknEys-m.js +40 -0
- package/components/bubble-chart-options.config-4f9FUNhc.cjs +20 -0
- package/components/bubble-chart-options.config-D8o_9z0b.js +115 -0
- package/components/bubble-chart-positioning.config-BpJ24lBj.cjs +20 -0
- package/components/bubble-chart-positioning.config-YgwDIuAp.js +55 -0
- package/components/bubble-chart-slots.config-Djb-py0h.js +47 -0
- package/components/bubble-chart-slots.config-VHKuntJk.cjs +20 -0
- package/components/bullet-chart-options.config-CmC75LQ8.js +75 -0
- package/components/bullet-chart-options.config-DDygYBiy.cjs +20 -0
- package/components/bullet-chart-positioning.config-6yUejABM.cjs +20 -0
- package/components/bullet-chart-positioning.config-CffspACw.js +56 -0
- package/components/bullet-chart-slots.config-BECcf-yZ.js +46 -0
- package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +20 -0
- package/components/choropleth-map-options.config-5W6nNlL7.cjs +20 -0
- package/components/choropleth-map-options.config-Bt-vXkKW.js +348 -0
- package/components/choropleth-map-positioning.config-Bl5HERTz.js +55 -0
- package/components/choropleth-map-positioning.config-nlky_swe.cjs +20 -0
- package/components/choropleth-map-slots.config-CZKWF1qV.cjs +20 -0
- package/components/choropleth-map-slots.config-DVrgJYSA.js +53 -0
- package/components/circle-pack-chart-options.config-CD8MWMTw.cjs +20 -0
- package/components/circle-pack-chart-options.config-CLA-ur8J.js +54 -0
- package/components/circle-pack-chart-positioning.config-_y9nL_PY.cjs +20 -0
- package/components/circle-pack-chart-positioning.config-cBxfJDgf.js +48 -0
- package/components/circle-pack-chart-slots.config-BG6Gh03S.js +38 -0
- package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +20 -0
- package/components/circular-gauge-options.config-BFBmfsPn.js +188 -0
- package/components/circular-gauge-options.config-D9gcbX57.cjs +20 -0
- package/components/circular-gauge-positioning.config-BtFTmQVx.cjs +20 -0
- package/components/circular-gauge-positioning.config-HG_MhCL2.js +48 -0
- package/components/circular-gauge-slots.config-BSzOAb8B.js +39 -0
- package/components/circular-gauge-slots.config-DUHabt3G.cjs +20 -0
- package/components/color-BWnYpOu7.js +3812 -0
- package/components/color-range-utils-CwwtLDX_.js +63 -0
- package/components/column-chart-options.config-CiIw23Yo.cjs +20 -0
- package/components/column-chart-options.config-V7v9PtQA.js +219 -0
- package/components/column-chart-positioning.config-DQtY7_jS.js +55 -0
- package/components/column-chart-positioning.config-sAg6OdcO.cjs +20 -0
- package/components/column-chart-slots.config-5BjkTrbt.js +50 -0
- package/components/column-chart-slots.config-CM5aytbj.cjs +20 -0
- package/components/combination-chart-options.config-CgSqqLLE.js +87 -0
- package/components/combination-chart-options.config-DaTYSfnr.cjs +20 -0
- package/components/combination-chart-positioning.config-CUC44b4w.cjs +20 -0
- package/components/combination-chart-positioning.config-xdJ5PeeE.js +48 -0
- package/components/combination-chart-slots.config-BwUOXFCR.cjs +20 -0
- package/components/combination-chart-slots.config-DgM_T-9r.js +43 -0
- package/components/conditional-number-options.config-3_vXSC0j.js +205 -0
- package/components/conditional-number-options.config-BPzCxo2q.cjs +20 -0
- package/components/conditional-number-positioning.config-BpggYmeg.cjs +20 -0
- package/components/conditional-number-positioning.config-Cu3E21yK.js +48 -0
- package/components/conditional-number-slots.config-B7maHIaG.cjs +20 -0
- package/components/conditional-number-slots.config-CzVPP4me.js +39 -0
- package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +20 -0
- package/components/data-broker-Bdv5V8Yp.js +1680 -0
- package/components/data-broker-DWEXs6-2.cjs +20 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -1
- package/components/data-field-CX74S6vV.cjs +54 -0
- package/components/data-field-D_EnR1Yt.js +121 -0
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/data-field-level-CFLMDP3a.js +247 -0
- package/components/data-field-level-DaDY2_HH.cjs +55 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/data-field-panel-BhYP77ZO.js +385 -0
- package/components/data-field-panel-BxEVeR6H.cjs +87 -0
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/data-fields-select-FlSG0h_V.js +262 -0
- package/components/data-fields-select-p53mdgQy.cjs +41 -0
- package/components/dataset-icon/index.js +1 -1
- package/components/dataset-icon-CWT5Ju8w.js +125 -0
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/dataset-selector-list-ByFAG-kf.cjs +75 -0
- package/components/dataset-selector-list-CWIbaMga.js +313 -0
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/dataset-selector-row--W1e0KF2.cjs +79 -0
- package/components/dataset-selector-row-CaNvh0Zr.js +273 -0
- package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +20 -0
- package/components/date-comparison-filter-options.config-CsDlmT6L.js +126 -0
- package/components/date-comparison-filter-slots.config-EEgNP09x.js +33 -0
- package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +20 -0
- package/components/date-filter-options.config-AFAngO_i.cjs +20 -0
- package/components/date-filter-options.config-b8EHOjR1.js +118 -0
- package/components/date-filter-slots.config-Cuzz0RjE.cjs +20 -0
- package/components/date-filter-slots.config-PJ_h3Aj7.js +37 -0
- package/components/de-DZ5SDLoC.cjs +20 -0
- package/components/de-D_05k7cJ.js +486 -0
- package/components/decorate-DyMgX_Uh.js +28 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-BLVdnS2P.cjs +140 -0
- package/components/display-settings-BaUca4WC.js +313 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/display-settings-binning-BNwdn9lC.cjs +56 -0
- package/components/display-settings-binning-DlgU4lX4.js +110 -0
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-datetime-BF9hOp8K.cjs +217 -0
- package/components/display-settings-datetime-DXcE_L84.js +413 -0
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/display-settings-grand-totals-CqBebvyl.cjs +44 -0
- package/components/display-settings-grand-totals-D3duaMBq.js +89 -0
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/display-settings-numeric-Bpph7Z0c.cjs +190 -0
- package/components/display-settings-numeric-C7-eiHxR.js +479 -0
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -1
- package/components/display-settings-period-over-period-Bt_7yg70.js +433 -0
- package/components/display-settings-period-over-period-Ce-yNJvu.cjs +229 -0
- package/components/donut-chart-options.config-D8Bvo6Cc.cjs +20 -0
- package/components/donut-chart-options.config-N0MWtn-o.js +207 -0
- package/components/donut-chart-positioning.config-BOuKJIMR.cjs +20 -0
- package/components/donut-chart-positioning.config-VOymRD6M.js +48 -0
- package/components/donut-chart-slots.config-Bi08z-XB.cjs +20 -0
- package/components/donut-chart-slots.config-dQrT0g_x.js +39 -0
- package/components/dropdown-filter-options.config-BRzYD0KE.cjs +20 -0
- package/components/dropdown-filter-options.config-CziqJFPz.js +153 -0
- package/components/dropdown-filter-slots.config-CQo3-kIo.js +38 -0
- package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +20 -0
- package/components/en-GB-uxY5qmIM.cjs +20 -0
- package/components/en-US-q_Ruzags.cjs +20 -0
- package/components/en-q_Ruzags.cjs +20 -0
- package/components/es-D2WbSDXb.js +486 -0
- package/components/es-DbsozUJM.cjs +20 -0
- package/components/evolution-number-options.config-BfYN1Qgk.js +228 -0
- package/components/evolution-number-options.config-CkqNYgWn.cjs +20 -0
- package/components/evolution-number-positioning.config-BO5omIBO.js +48 -0
- package/components/evolution-number-positioning.config-D2uRKbgg.cjs +20 -0
- package/components/evolution-number-slots.config-CBS0b0Yk.js +37 -0
- package/components/evolution-number-slots.config-CikuQYgm.cjs +20 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-expression-picker-BciiMtpZ.js +425 -0
- package/components/filter-expression-picker-CoK9Eyfu.cjs +38 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-BmXuGhiV.js +242 -0
- package/components/filter-item-Du_13KmX.cjs +58 -0
- package/components/filter-parameter-picker/index.js +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-CcJP9HyG.cjs +60 -0
- package/components/filter-value-picker-DVgv3jjr.js +151 -0
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/filter-value-picker-datetime-C8TlvexC.js +139 -0
- package/components/filter-value-picker-datetime-DcJQwICl.cjs +42 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-hierarchy-DuCIK_cQ.cjs +47 -0
- package/components/filter-value-picker-hierarchy-p7KmAEfD.js +232 -0
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/filter-value-picker-numeric-CEQteSXv.js +219 -0
- package/components/filter-value-picker-numeric-CkuF9VUR.cjs +48 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-CFYjlJk9.cjs +150 -0
- package/components/filters-YOx1cv6z.js +400 -0
- package/components/formatter-BeXmurVe.cjs +20 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/formula-D5Q_PS-K.js +138 -0
- package/components/formula-HGRB-nzB.cjs +45 -0
- package/components/formula-codemirror-DimorTw-.js +12018 -0
- package/components/formula-codemirror-F9csVYEQ.cjs +215 -0
- package/components/formula-display-store-Bhx14M2X.cjs +20 -0
- package/components/formula-display-store-dkkdggcj.js +1090 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/formula-editor-B2HvrGdp.js +666 -0
- package/components/formula-editor-Cfan0Njf.cjs +218 -0
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/formula-field-B-471pmk.cjs +20 -0
- package/components/formula-field-DVUuiFVC.js +40 -0
- package/components/formula-input-base-CHF-NVew.cjs +49 -0
- package/components/formula-input-base-XQo00D8V.js +236 -0
- package/components/fr-D0jP-0QP.js +486 -0
- package/components/fr-E4npvQVn.cjs +20 -0
- package/components/funnel-chart-options.config-BVmrhzna.cjs +20 -0
- package/components/funnel-chart-options.config-D8fqrJvi.js +187 -0
- package/components/funnel-chart-positioning.config-D61EoLfa.cjs +20 -0
- package/components/funnel-chart-positioning.config-DTlmceYZ.js +48 -0
- package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +20 -0
- package/components/funnel-chart-slots.config-CeGu8stc.js +43 -0
- package/components/get-css-variable-B8sJUuig.cjs +20 -0
- package/components/get-css-variable-r1spgqX0.js +63 -0
- package/components/get-dataset-name-B24ms5Si.js +27 -0
- package/components/get-dataset-name-DHSjl0Xg.cjs +20 -0
- package/components/groupings-BJ89rBBj.cjs +20 -0
- package/components/groupings-BQl_7M6c.js +52 -0
- package/components/heat-map-options.config-5zjlVaa0.js +224 -0
- package/components/heat-map-options.config-xPdOcXDk.cjs +20 -0
- package/components/heat-map-positioning.config-Bm4O1kO-.cjs +20 -0
- package/components/heat-map-positioning.config-BtPM-mdL.js +48 -0
- package/components/heat-map-slots.config-DBkkcvMN.js +37 -0
- package/components/heat-map-slots.config-Wp_oS8JQ.cjs +20 -0
- package/components/heat-table-options.config-Blcs4JjF.js +372 -0
- package/components/heat-table-options.config-DPbTFoRn.cjs +20 -0
- package/components/heat-table-positioning.config-BGs7-swK.cjs +20 -0
- package/components/heat-table-positioning.config-BSmgGTV-.js +55 -0
- package/components/heat-table-slots.config-BN7rtHZG.cjs +20 -0
- package/components/heat-table-slots.config-CJOXI-Sf.js +49 -0
- package/components/hexbin-map-options.config-CSFSqpMU.cjs +20 -0
- package/components/hexbin-map-options.config-D5o0k890.js +276 -0
- package/components/hexbin-map-positioning.config-6tI7Fsx6.cjs +20 -0
- package/components/hexbin-map-positioning.config-DN6UPACN.js +48 -0
- package/components/hexbin-map-slots.config-CpJIfl6o.js +37 -0
- package/components/hexbin-map-slots.config-mx5zUTrA.cjs +20 -0
- package/components/image-options.config-C46UQpMq.js +153 -0
- package/components/image-options.config-DZ5q1D63.cjs +20 -0
- package/components/image-slots.config-DjaT4mUk.js +24 -0
- package/components/image-slots.config-ODQBVz5H.cjs +20 -0
- package/components/index.cjs +1 -1
- package/components/index.js +64 -64
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +1 -1
- package/components/interactive-viz-item-COsyvG-7.cjs +247 -0
- package/components/interactive-viz-item-xwBNcoFX.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/item-grid-1AHf6uNh.js +4559 -0
- package/components/item-grid-BTWZLR9l.cjs +113 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/item-option-D6mIG3C2.cjs +252 -0
- package/components/item-option-DiKf1I-V.js +919 -0
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/item-option-action-button-group-DZVGBwVB.cjs +53 -0
- package/components/item-option-action-button-group-_MTf9Kyg.js +118 -0
- package/components/item-option-base-72_Lz4oa.js +123 -0
- package/components/item-option-base-D4uG83bv.cjs +56 -0
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/item-option-color-palette-picker-9LzOFRqA.cjs +40 -0
- package/components/item-option-color-palette-picker-D6ZtQuby.js +2041 -0
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/item-option-color-picker-Bzfx2m97.cjs +34 -0
- package/components/item-option-color-picker-CJ8QNFEa.js +87 -0
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/item-option-color-range-DDwD_l1L.js +220 -0
- package/components/item-option-color-range-DbjFNFga.cjs +98 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/item-option-multi-language-field-CLUOInEz.cjs +33 -0
- package/components/item-option-multi-language-field-DqGIz3c2.js +82 -0
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/item-option-number-field-CALHe4NE.js +102 -0
- package/components/item-option-number-field-rOKqFeZL.cjs +38 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/item-option-panel-BETP4EXN.cjs +67 -0
- package/components/item-option-panel-VqBQ4vCD.js +183 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/item-option-picker-B1c4lBTC.js +77 -0
- package/components/item-option-picker-D8m-VrSA.cjs +37 -0
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/item-option-position-picker-3saFBaim.cjs +32 -0
- package/components/item-option-position-picker-suuQsaHa.js +117 -0
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/item-option-positions-number-field-C8Fdb51M.js +164 -0
- package/components/item-option-positions-number-field-DWEE8FIS.cjs +49 -0
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/item-option-radio-button-group-CIZlII80.cjs +37 -0
- package/components/item-option-radio-button-group-CsqrAsWc.js +74 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/item-option-slider-C0PwAy27.cjs +33 -0
- package/components/item-option-slider-DeHoSEtb.js +81 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/item-option-switch-BByrv8oZ.cjs +30 -0
- package/components/item-option-switch-D7YzsVwc.js +69 -0
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/item-option-text-field-C9y2J3bZ.js +80 -0
- package/components/item-option-text-field-edIJYLwK.cjs +33 -0
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +45 -45
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop-BioBKinp.cjs +91 -0
- package/components/item-slot-drop-BpdhUeHr.js +331 -0
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/item-slot-drop-panel-Cfak8X0X.js +355 -0
- package/components/item-slot-drop-panel-DsWaCS45.cjs +57 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker-BKZzESjJ.cjs +174 -0
- package/components/item-slot-picker-Dsktaddk.js +505 -0
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/item-slot-picker-panel-DHRq0Fdl.js +448 -0
- package/components/item-slot-picker-panel-DupK23lZ.cjs +81 -0
- package/components/item-slots-configs.cjs +1 -1
- package/components/item-slots-configs.js +45 -45
- package/components/line-chart-options.config-BkK829A2.cjs +20 -0
- package/components/line-chart-options.config-KFAaQqB_.js +168 -0
- package/components/line-chart-positioning.config-C0RfTCDE.cjs +20 -0
- package/components/line-chart-positioning.config-Djwg-IFN.js +55 -0
- package/components/line-chart-slots.config-D0jaC82U.js +55 -0
- package/components/line-chart-slots.config-vv66fcoE.cjs +20 -0
- package/components/load-data-fields-for-datasets-BNnr8x3m.js +42 -0
- package/components/load-data-fields-for-datasets-CW4Voiex.cjs +20 -0
- package/components/localized-mixin-BsdiWv93.js +45 -0
- package/components/localized-mixin-CICfOIAL.cjs +20 -0
- package/components/marker-map-options.config-BfPFVxpD.cjs +20 -0
- package/components/marker-map-options.config-D0RmFKKM.js +117 -0
- package/components/marker-map-positioning.config-C_iKxInT.js +48 -0
- package/components/marker-map-positioning.config-D3z2_PYt.cjs +20 -0
- package/components/marker-map-slots.config-DigZk7lN.cjs +20 -0
- package/components/marker-map-slots.config-DsMklO0v.js +37 -0
- package/components/nl-8nHhvKVN.js +486 -0
- package/components/nl-Ct89Nnbs.cjs +20 -0
- package/components/ohlc-chart-options.config-BBdUKmJ9.js +65 -0
- package/components/ohlc-chart-options.config-BsBVP-Io.cjs +20 -0
- package/components/ohlc-chart-positioning.config-B6cmVTir.js +78 -0
- package/components/ohlc-chart-positioning.config-Bb4fYPeO.cjs +20 -0
- package/components/ohlc-chart-slots.config-BiQn5Kdg.js +68 -0
- package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config--6iJkURT.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-KJrOL0Sr.js +42 -0
- package/components/parallel-coordinates-plot-positioning.config-BsJW1FP-.js +48 -0
- package/components/parallel-coordinates-plot-positioning.config-cFfEWBCQ.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-B7QY714-.js +46 -0
- package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +20 -0
- package/components/pivot-table-options.config-CKGnnXa_.cjs +20 -0
- package/components/pivot-table-options.config-DEmZ_EQi.js +245 -0
- package/components/pivot-table-positioning.config-CMAsxlCi.cjs +20 -0
- package/components/pivot-table-positioning.config-D1L_TBUC.js +55 -0
- package/components/pivot-table-slots.config-DpDaXLdw.js +55 -0
- package/components/pivot-table-slots.config-KlYXL90k.cjs +20 -0
- package/components/pragmatic-element-adapter-C_7HSvGV.js +1252 -0
- package/components/pragmatic-element-adapter-DPWYJiW9.cjs +24 -0
- package/components/pyramid-chart-options.config-8QtjhcJC.cjs +20 -0
- package/components/pyramid-chart-options.config-DiD3QFps.js +240 -0
- package/components/pyramid-chart-positioning.config-BF_YUB98.js +55 -0
- package/components/pyramid-chart-positioning.config-BPlmVwKw.cjs +20 -0
- package/components/pyramid-chart-slots.config-BrKgartT.js +50 -0
- package/components/pyramid-chart-slots.config-CreUpxI2.cjs +20 -0
- package/components/radar-chart-options.config-COBM2L3R.js +130 -0
- package/components/radar-chart-options.config-DvW36_zk.cjs +20 -0
- package/components/radar-chart-positioning.config-Be3DzcOK.js +55 -0
- package/components/radar-chart-positioning.config-OcJlRx0R.cjs +20 -0
- package/components/radar-chart-slots.config-B3oIp-8w.cjs +20 -0
- package/components/radar-chart-slots.config-SivEBhuj.js +53 -0
- package/components/regular-table-options.config-B0WNqEjR.cjs +20 -0
- package/components/regular-table-options.config-B0zRcsWM.js +148 -0
- package/components/regular-table-slots.config-M2axBXl4.js +35 -0
- package/components/regular-table-slots.config-UwzWj6gg.cjs +20 -0
- package/components/route-map-options.config-CYNKz_Xm.cjs +20 -0
- package/components/route-map-options.config-CrMrDQ_l.js +326 -0
- package/components/route-map-positioning.config-Bh57uCEW.js +66 -0
- package/components/route-map-positioning.config-DRK2m99b.cjs +20 -0
- package/components/route-map-slots.config-COCoP99E.js +59 -0
- package/components/route-map-slots.config-DfYT65BF.cjs +20 -0
- package/components/sankey-diagram-options.config-BYLiy1UX.js +126 -0
- package/components/sankey-diagram-options.config-D49IZ1y3.cjs +20 -0
- package/components/sankey-diagram-positioning.config-D7Jtuhko.cjs +20 -0
- package/components/sankey-diagram-positioning.config-iIPclYoY.js +66 -0
- package/components/sankey-diagram-slots.config-C-sqtrS-.js +61 -0
- package/components/sankey-diagram-slots.config-D-_u4w36.cjs +20 -0
- package/components/scatter-plot-options.config-BETVLevv.cjs +20 -0
- package/components/scatter-plot-options.config-BpUYcLt-.js +302 -0
- package/components/scatter-plot-positioning.config-1QiXjsOV.cjs +20 -0
- package/components/scatter-plot-positioning.config-CanuubeV.js +77 -0
- package/components/scatter-plot-slots.config-CrG6wQtV.cjs +20 -0
- package/components/scatter-plot-slots.config-Dg78lS25.js +74 -0
- package/components/search-filter-options.config-B-dGVPhS.cjs +20 -0
- package/components/search-filter-options.config-lGQ-biU5.js +103 -0
- package/components/search-filter-slots.config-BhDSDpNd.js +39 -0
- package/components/search-filter-slots.config-DP06ulJA.cjs +20 -0
- package/components/set-locale-CDdUWJUq.cjs +20 -0
- package/components/set-locale-D4CaVip4.js +43 -0
- package/components/slicer-filter-options.config-7OXpRWtw.cjs +20 -0
- package/components/slicer-filter-options.config-B6rxZYcl.js +226 -0
- package/components/slicer-filter-positioning.config-B7HlZizi.cjs +20 -0
- package/components/slicer-filter-positioning.config-BLkIaQQJ.js +48 -0
- package/components/slicer-filter-slots.config-CHKpdJvF.cjs +20 -0
- package/components/slicer-filter-slots.config-XtuZoiId.js +44 -0
- package/components/slider-filter-options.config-C7-5aoaC.js +72 -0
- package/components/slider-filter-options.config-CRdbX1IJ.cjs +20 -0
- package/components/slider-filter-slots.config-9R298H0t.cjs +20 -0
- package/components/slider-filter-slots.config-BYkIGVvh.js +43 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu-B0TdqTeU.js +426 -0
- package/components/slot-menu-Cl3x8mjj.cjs +71 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/slot-menu-list-B9TBCRxe.cjs +44 -0
- package/components/slot-menu-list-DlZoh014.js +347 -0
- package/components/slot-role-classification-2wChhpcq.cjs +20 -0
- package/components/slot-role-classification-B8bkGhQ_.js +133 -0
- package/components/slots-config-DMC15sjT.js +77 -0
- package/components/slots-config-DVH0lz6t.cjs +20 -0
- package/components/speedometer-chart-options.config-Bd3-G7S7.js +246 -0
- package/components/speedometer-chart-options.config-BsIu28S3.cjs +20 -0
- package/components/speedometer-chart-positioning.config-ChZlrktw.js +48 -0
- package/components/speedometer-chart-positioning.config-DLyYBstR.cjs +20 -0
- package/components/speedometer-chart-slots.config-CkeiXSCy.js +39 -0
- package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +20 -0
- package/components/spike-map-options.config-B_2BXI_9.js +413 -0
- package/components/spike-map-options.config-aaiZyME6.cjs +20 -0
- package/components/spike-map-positioning.config--1BDkwc2.cjs +20 -0
- package/components/spike-map-positioning.config-Bd85irgl.js +55 -0
- package/components/spike-map-slots.config-C44Vxsit.js +47 -0
- package/components/spike-map-slots.config-cKfaD6dQ.cjs +20 -0
- package/components/strip-plot-options.config-By62J2Jj.js +53 -0
- package/components/strip-plot-options.config-TB3rkoj2.cjs +20 -0
- package/components/strip-plot-positioning.config-C6QwpxOm.js +48 -0
- package/components/strip-plot-positioning.config-dBrlDJ1t.cjs +20 -0
- package/components/strip-plot-slots.config-DNYlrK_c.cjs +20 -0
- package/components/strip-plot-slots.config-xsNFXerT.js +38 -0
- package/components/sunburst-chart-options.config-Ckk_kY_s.cjs +20 -0
- package/components/sunburst-chart-options.config-DwQwkQxR.js +160 -0
- package/components/sunburst-chart-positioning.config-BCByMy4k.js +48 -0
- package/components/sunburst-chart-positioning.config-DdrE80fO.cjs +20 -0
- package/components/sunburst-chart-slots.config-D6Z2_Kh_.js +38 -0
- package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +20 -0
- package/components/symbol-map-options.config-56eoWz4w.cjs +20 -0
- package/components/symbol-map-options.config-uXEbOHWD.js +157 -0
- package/components/symbol-map-positioning.config-GruDumfg.cjs +20 -0
- package/components/symbol-map-positioning.config-sg4xS30s.js +55 -0
- package/components/symbol-map-slots.config-CHTIkMw4.js +53 -0
- package/components/symbol-map-slots.config-DwNf547A.cjs +20 -0
- package/components/text-options.config-B5y7YAqT.js +67 -0
- package/components/text-options.config-BwBCG2yo.cjs +20 -0
- package/components/text-slots.config-CPghLc8b.cjs +20 -0
- package/components/text-slots.config-sFoowMc6.js +24 -0
- package/components/treemap-chart-options.config-BouAbrk0.js +184 -0
- package/components/treemap-chart-options.config-r6biULUj.cjs +20 -0
- package/components/treemap-chart-positioning.config-B4HptgcF.cjs +20 -0
- package/components/treemap-chart-positioning.config-DPf011uh.js +55 -0
- package/components/treemap-chart-slots.config-BjHBRWDJ.js +47 -0
- package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +20 -0
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.cjs +1 -1
- package/components/utils/store.js +2 -2
- package/components/utils-ApDFkgMX.js +240 -0
- package/components/utils-BXPde8Tt.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +3 -3
- package/components/v4-DIjJgmR0.js +49 -0
- package/components/venn-diagram-options.config-BZWBYEhB.js +24 -0
- package/components/venn-diagram-options.config-BamlR1qo.cjs +20 -0
- package/components/venn-diagram-positioning.config-CqO3fp68.cjs +20 -0
- package/components/venn-diagram-positioning.config-DwhJGj84.js +55 -0
- package/components/venn-diagram-slots.config-CM0HPIPD.js +47 -0
- package/components/venn-diagram-slots.config-DYTmU8v2.cjs +20 -0
- package/components/video-options.config-BhBpkaLJ.cjs +20 -0
- package/components/video-options.config-DWuy1OHa.js +127 -0
- package/components/video-slots.config-B_aDlTp6.js +24 -0
- package/components/video-slots.config-DMut7o7r.cjs +20 -0
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +1 -1
- package/components/viz-item-menu-6lBtiv3Y.js +170 -0
- package/components/viz-item-menu-DpL4Pgjm.cjs +55 -0
- package/components/wordcloud-chart-options.config-D041tFDG.js +90 -0
- package/components/wordcloud-chart-options.config-DgH4JgN2.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-Bp4XE85G.js +55 -0
- package/components/wordcloud-chart-positioning.config-ByTxkJHo.cjs +20 -0
- package/components/wordcloud-chart-slots.config-Cy-Jgcaq.js +45 -0
- package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +20 -0
- package/custom-elements.json +387 -22
- package/deprecated-react/components/ai-chat.component.cjs +1 -0
- package/deprecated-react/components/ai-interaction-textarea.component.cjs +1 -0
- package/deprecated-react/components/data-field-level.component.cjs +1 -0
- package/deprecated-react/components/data-field-panel.component.cjs +1 -0
- package/deprecated-react/components/data-field.component.cjs +1 -0
- package/deprecated-react/components/data-fields-select.component.cjs +1 -0
- package/deprecated-react/components/dataset-icon.component.cjs +1 -0
- package/deprecated-react/components/dataset-selector-list.component.cjs +1 -0
- package/deprecated-react/components/dataset-selector-row.component.cjs +1 -0
- package/deprecated-react/components/display-settings-binning.component.cjs +1 -0
- package/deprecated-react/components/display-settings-datetime.component.cjs +1 -0
- package/deprecated-react/components/display-settings-grand-totals.component.cjs +1 -0
- package/deprecated-react/components/display-settings-numeric.component.cjs +1 -0
- package/deprecated-react/components/display-settings-period-over-period.component.cjs +1 -0
- package/deprecated-react/components/display-settings.component.cjs +1 -0
- package/deprecated-react/components/filter-expression-picker.component.cjs +1 -0
- package/deprecated-react/components/filter-item.component.cjs +1 -0
- package/deprecated-react/components/filter-parameter-picker.component.cjs +1 -0
- package/deprecated-react/components/filter-value-picker-datetime.component.cjs +1 -0
- package/deprecated-react/components/filter-value-picker-hierarchy.component.cjs +1 -0
- package/deprecated-react/components/filter-value-picker-numeric.component.cjs +1 -0
- package/deprecated-react/components/filter-value-picker.component.cjs +1 -0
- package/deprecated-react/components/filters.component.cjs +1 -0
- package/deprecated-react/components/formula-editor.component.cjs +1 -0
- package/deprecated-react/components/formula-field.component.cjs +1 -0
- package/deprecated-react/components/formula.component.cjs +1 -0
- package/deprecated-react/components/interactive-viz-item.component.cjs +1 -0
- package/deprecated-react/components/item-grid.component.cjs +1 -0
- package/deprecated-react/components/item-option-action-button-group.component.cjs +1 -0
- package/deprecated-react/components/item-option-color-palette-picker.component.cjs +1 -0
- package/deprecated-react/components/item-option-color-picker.component.cjs +1 -0
- package/deprecated-react/components/item-option-color-range.component.cjs +1 -0
- package/deprecated-react/components/item-option-multi-language-field.component.cjs +1 -0
- package/deprecated-react/components/item-option-number-field.component.cjs +1 -0
- package/deprecated-react/components/item-option-panel.component.cjs +1 -0
- package/deprecated-react/components/item-option-picker.component.cjs +1 -0
- package/deprecated-react/components/item-option-position-picker.component.cjs +1 -0
- package/deprecated-react/components/item-option-positions-number-field.component.cjs +1 -0
- package/deprecated-react/components/item-option-radio-button-group.component.cjs +1 -0
- package/deprecated-react/components/item-option-slider.component.cjs +1 -0
- package/deprecated-react/components/item-option-switch.component.cjs +1 -0
- package/deprecated-react/components/item-option-text-field.component.cjs +1 -0
- package/deprecated-react/components/item-option.component.cjs +1 -0
- package/deprecated-react/components/item-slot-drop-panel.component.cjs +1 -0
- package/deprecated-react/components/item-slot-drop.component.cjs +1 -0
- package/deprecated-react/components/item-slot-picker-panel.component.cjs +1 -0
- package/deprecated-react/components/item-slot-picker.component.cjs +1 -0
- package/deprecated-react/components/slot-menu-list.component.cjs +1 -0
- package/deprecated-react/components/slot-menu.component.cjs +1 -0
- package/deprecated-react/components/viz-item-menu.component.cjs +1 -0
- package/deprecated-react/index.cjs +2 -0
- package/deprecated-react/index.d.ts +2 -0
- package/deprecated-react/index.js +2 -0
- package/package.json +9 -17
- package/react/README.md +29 -72
- package/react/components/formula-editor.component.ts +3 -3
- package/react/esm/components/formula-editor.component.d.ts +2 -2
- package/react/luzmo-stub.d.ts +1 -51
- package/react/package.json +35 -0
- package/react/tsconfig.json +3 -5
- package/types/ai-chat.types.d.ts +5 -0
- package/utils/ai-prompt/attachments.d.ts +10 -0
- package/utils/ai-prompt/dictation.d.ts +50 -0
- package/utils/ai-prompt/image-upload.d.ts +12 -0
- package/utils/ai-prompt/index.d.ts +6 -0
- package/utils/store/index.d.ts +5 -5
- package/utils/store/store-registry.d.ts +1 -1
- package/components/ad-hoc-slot-content-BxpvfmjT.js +0 -29
- package/components/ad-hoc-slot-content-DJUmB7pS.cjs +0 -20
- package/components/ai-chat-BBc330Jm.js +0 -3832
- package/components/ai-chat-DLDSaC7W.cjs +0 -300
- package/components/ai-interaction-textarea-BCH5_GBO.cjs +0 -68
- package/components/ai-interaction-textarea-DzHetSBZ.js +0 -299
- package/components/area-chart-options.config-CJYI-zcZ.cjs +0 -20
- package/components/area-chart-options.config-CxJWxcD9.js +0 -146
- package/components/area-chart-positioning.config-CjeYLy6C.js +0 -55
- package/components/area-chart-positioning.config-DVrykBho.cjs +0 -20
- package/components/area-chart-slots.config-B56LJaky.cjs +0 -20
- package/components/area-chart-slots.config-C22ZF9l0.js +0 -55
- package/components/bar-chart-options.config-BAatAyhW.js +0 -220
- package/components/bar-chart-options.config-D2a-U6kG.cjs +0 -20
- package/components/bar-chart-positioning.config-DpF15KcV.cjs +0 -20
- package/components/bar-chart-positioning.config-e-SAdpBe.js +0 -59
- package/components/bar-chart-slots.config-BbgFihbK.js +0 -50
- package/components/bar-chart-slots.config-CkOVmYcA.cjs +0 -20
- package/components/base-DSXeP3BL.cjs +0 -20
- package/components/base-a89RuUMb.js +0 -249
- package/components/base-store-D0jbv0bE.js +0 -160
- package/components/base-store-ab2wBsBE.cjs +0 -20
- package/components/box-plot-options.config-BuX2wNhp.js +0 -296
- package/components/box-plot-options.config-Di28EvZb.cjs +0 -20
- package/components/box-plot-positioning.config-Bq2INEtG.js +0 -48
- package/components/box-plot-positioning.config-DbwtHJ4q.cjs +0 -20
- package/components/box-plot-slots.config-DL-tTTn9.cjs +0 -20
- package/components/box-plot-slots.config-OeublT6p.js +0 -40
- package/components/bubble-chart-options.config-C_XQOHgH.js +0 -115
- package/components/bubble-chart-options.config-CnpBrIo6.cjs +0 -20
- package/components/bubble-chart-positioning.config--EBfDgdN.cjs +0 -20
- package/components/bubble-chart-positioning.config-DFnW4mJ9.js +0 -55
- package/components/bubble-chart-slots.config-Bdy20Xqs.js +0 -47
- package/components/bubble-chart-slots.config-smlOOwcK.cjs +0 -20
- package/components/bullet-chart-options.config-6nATAuC3.cjs +0 -20
- package/components/bullet-chart-options.config-h5BFyszP.js +0 -75
- package/components/bullet-chart-positioning.config-CZ46z07k.cjs +0 -20
- package/components/bullet-chart-positioning.config-DS2OmjBY.js +0 -56
- package/components/bullet-chart-slots.config-BaTbWYvU.cjs +0 -20
- package/components/bullet-chart-slots.config-Cqj3i1qo.js +0 -46
- package/components/choropleth-map-options.config-CmtZtBAC.cjs +0 -20
- package/components/choropleth-map-options.config-YCo77O3q.js +0 -348
- package/components/choropleth-map-positioning.config-Clm5IUT6.cjs +0 -20
- package/components/choropleth-map-positioning.config-DgANsGq1.js +0 -55
- package/components/choropleth-map-slots.config-ClMcW8wV.cjs +0 -20
- package/components/choropleth-map-slots.config-D4vxtdtH.js +0 -53
- package/components/circle-pack-chart-options.config-BA_G1sQ8.cjs +0 -20
- package/components/circle-pack-chart-options.config-C0cEtjgC.js +0 -54
- package/components/circle-pack-chart-positioning.config-2H1CrfH_.js +0 -48
- package/components/circle-pack-chart-positioning.config-qF0qGcEO.cjs +0 -20
- package/components/circle-pack-chart-slots.config-Dks8K3uQ.js +0 -38
- package/components/circle-pack-chart-slots.config-IH2KV7z1.cjs +0 -20
- package/components/circular-gauge-options.config-BtP-YDIr.cjs +0 -20
- package/components/circular-gauge-options.config-Cdnk-Sp0.js +0 -188
- package/components/circular-gauge-positioning.config-CMttD_BW.cjs +0 -20
- package/components/circular-gauge-positioning.config-CusKP9Tq.js +0 -48
- package/components/circular-gauge-slots.config-B6ajddW-.cjs +0 -20
- package/components/circular-gauge-slots.config-Wf4sHmk6.js +0 -39
- package/components/color-CXw2IfjN.js +0 -3812
- package/components/color-range-utils-u4ziqRRA.js +0 -63
- package/components/column-chart-options.config-DoZLlIRM.js +0 -219
- package/components/column-chart-options.config-eJ1Cexxe.cjs +0 -20
- package/components/column-chart-positioning.config-ColoutIT.cjs +0 -20
- package/components/column-chart-positioning.config-rRwPVTbj.js +0 -55
- package/components/column-chart-slots.config-BY6y_rvE.cjs +0 -20
- package/components/column-chart-slots.config-BhVqSbKw.js +0 -50
- package/components/combination-chart-options.config-C3kZ2fpK.cjs +0 -20
- package/components/combination-chart-options.config-D7ZXfn61.js +0 -87
- package/components/combination-chart-positioning.config-DAVrKW-6.cjs +0 -20
- package/components/combination-chart-positioning.config-uLf1RJQr.js +0 -48
- package/components/combination-chart-slots.config-CK8YBgUl.js +0 -43
- package/components/combination-chart-slots.config-Ciza_y3a.cjs +0 -20
- package/components/conditional-number-options.config-BwSMI5Ax.js +0 -205
- package/components/conditional-number-options.config-CadHLi0m.cjs +0 -20
- package/components/conditional-number-positioning.config-DZjwZfsH.js +0 -48
- package/components/conditional-number-positioning.config-Nwsh-WyG.cjs +0 -20
- package/components/conditional-number-slots.config-CWX6OuUa.cjs +0 -20
- package/components/conditional-number-slots.config-xSNaYD4u.js +0 -39
- package/components/convert-data-field-to-slot-content-BQkSy_8B.cjs +0 -20
- package/components/data-broker-BH5WDG0j.cjs +0 -20
- package/components/data-broker-CVDImE1j.js +0 -1674
- package/components/data-field-CFX9bhKN.js +0 -121
- package/components/data-field-bRmOqmAe.cjs +0 -54
- package/components/data-field-level-Cc6yEETi.js +0 -246
- package/components/data-field-level-Dnl27sxs.cjs +0 -55
- package/components/data-field-panel-BDExLalA.cjs +0 -87
- package/components/data-field-panel-DcqVOzMO.js +0 -385
- package/components/data-fields-select-B5aGtDYe.cjs +0 -41
- package/components/data-fields-select-CfAfiV-K.js +0 -262
- package/components/dataset-icon-BXEgg_8O.js +0 -125
- package/components/dataset-selector-list-WT2ZHjQ4.cjs +0 -75
- package/components/dataset-selector-list-bAFTW1Hr.js +0 -313
- package/components/dataset-selector-row-CXrEKQrA.js +0 -273
- package/components/dataset-selector-row-CwkXH93E.cjs +0 -79
- package/components/date-comparison-filter-options.config--clPxHFt.cjs +0 -20
- package/components/date-comparison-filter-options.config-DCCm5Adt.js +0 -126
- package/components/date-comparison-filter-slots.config-KO9B0lfS.cjs +0 -20
- package/components/date-comparison-filter-slots.config-s7FcuKia.js +0 -33
- package/components/date-filter-options.config-BdNFe-Ds.cjs +0 -20
- package/components/date-filter-options.config-DBwcMXzp.js +0 -118
- package/components/date-filter-slots.config-BrQoD-EF.cjs +0 -20
- package/components/date-filter-slots.config-pbd3rG9z.js +0 -37
- package/components/de-DqwsqE-U.js +0 -478
- package/components/de-tUSOg_BJ.cjs +0 -20
- package/components/decorate-CaYbmmmm.js +0 -28
- package/components/display-settings-DrcpHnKo.cjs +0 -140
- package/components/display-settings-Ec_smyRC.js +0 -313
- package/components/display-settings-binning-COpQPUin.js +0 -110
- package/components/display-settings-binning-XXJdJeGU.cjs +0 -56
- package/components/display-settings-datetime-DhSW10ln.cjs +0 -217
- package/components/display-settings-datetime-qj86dnHh.js +0 -413
- package/components/display-settings-grand-totals-D6IDs0U1.js +0 -89
- package/components/display-settings-grand-totals-DTF0sqA1.cjs +0 -44
- package/components/display-settings-numeric-Dt34JHyR.cjs +0 -190
- package/components/display-settings-numeric-Dy2EMcKa.js +0 -479
- package/components/display-settings-period-over-period-B-ULI6yW.cjs +0 -229
- package/components/display-settings-period-over-period-BMzBnywY.js +0 -433
- package/components/donut-chart-options.config-Buas8fzJ.js +0 -207
- package/components/donut-chart-options.config-K-HkE7sL.cjs +0 -20
- package/components/donut-chart-positioning.config-BnmePhBH.cjs +0 -20
- package/components/donut-chart-positioning.config-CnZRc3e8.js +0 -48
- package/components/donut-chart-slots.config-CZWRHxZe.js +0 -39
- package/components/donut-chart-slots.config-RxPnpO6M.cjs +0 -20
- package/components/dropdown-filter-options.config-B-Vvy0Nq.cjs +0 -20
- package/components/dropdown-filter-options.config-gv1y1OkC.js +0 -153
- package/components/dropdown-filter-slots.config-BBZChIHC.cjs +0 -20
- package/components/dropdown-filter-slots.config-aP5hvp2K.js +0 -38
- package/components/en-B34alchz.cjs +0 -20
- package/components/en-GB-B3xz84vF.cjs +0 -20
- package/components/en-US-B34alchz.cjs +0 -20
- package/components/es-C-5Yqnck.js +0 -478
- package/components/es-Czecz2xB.cjs +0 -20
- package/components/evolution-number-options.config-B1IomzV1.js +0 -228
- package/components/evolution-number-options.config-Bt1FZqqQ.cjs +0 -20
- package/components/evolution-number-positioning.config-CKgGLWTm.cjs +0 -20
- package/components/evolution-number-positioning.config-DiKxJqRO.js +0 -48
- package/components/evolution-number-slots.config-CYxdcD-x.cjs +0 -20
- package/components/evolution-number-slots.config-eOQDWZyb.js +0 -37
- package/components/filter-expression-picker-DMZ4sgJ6.js +0 -425
- package/components/filter-expression-picker-Dq0X2lo3.cjs +0 -38
- package/components/filter-item-BEe-Y6l0.js +0 -242
- package/components/filter-item-BnxKP0Zg.cjs +0 -58
- package/components/filter-value-picker-BxaX9BML.cjs +0 -60
- package/components/filter-value-picker-datetime-BryAsOYH.cjs +0 -42
- package/components/filter-value-picker-datetime-DtZDr9fY.js +0 -139
- package/components/filter-value-picker-hierarchy-BSKoZJ0F.cjs +0 -47
- package/components/filter-value-picker-hierarchy-D9BcuttQ.js +0 -232
- package/components/filter-value-picker-numeric-B2EcfNUR.cjs +0 -48
- package/components/filter-value-picker-numeric-CoU9l9wS.js +0 -219
- package/components/filter-value-picker-r1zs2IHx.js +0 -151
- package/components/filters-C9DVFS6T.cjs +0 -150
- package/components/filters-DVTYmlI1.js +0 -400
- package/components/formatter-8m-wrIM-.cjs +0 -20
- package/components/formula--lwYaW2w.cjs +0 -45
- package/components/formula-Ekyv6mpo.js +0 -138
- package/components/formula-codemirror-BZuBN5sE.cjs +0 -215
- package/components/formula-codemirror-DgTmL2Id.js +0 -11973
- package/components/formula-display-store-BunPLkc0.cjs +0 -20
- package/components/formula-display-store-ezef6EvF.js +0 -1090
- package/components/formula-editor-CjVohoJB.cjs +0 -218
- package/components/formula-editor-DRpm9ej7.js +0 -666
- package/components/formula-field-DcgWLGBD.cjs +0 -20
- package/components/formula-field-TwMnyN0t.js +0 -40
- package/components/formula-input-base-D6QdnUOa.cjs +0 -49
- package/components/formula-input-base-Dxk5euNb.js +0 -236
- package/components/fr-BvgQLvx5.js +0 -478
- package/components/fr-CQyhQN6j.cjs +0 -20
- package/components/funnel-chart-options.config-BAIgb6x9.cjs +0 -20
- package/components/funnel-chart-options.config-DAv3185m.js +0 -187
- package/components/funnel-chart-positioning.config-DaHDyj7V.cjs +0 -20
- package/components/funnel-chart-positioning.config-DysRV01G.js +0 -48
- package/components/funnel-chart-slots.config-BsNj6Mbb.js +0 -43
- package/components/funnel-chart-slots.config-CSI5mdma.cjs +0 -20
- package/components/get-css-variable-B1BZoBcs.cjs +0 -20
- package/components/get-css-variable-COcan5CX.js +0 -63
- package/components/get-dataset-name-D4smY8ms.cjs +0 -20
- package/components/get-dataset-name-D_ZiWu64.js +0 -27
- package/components/groupings-Bzp2EA65.js +0 -52
- package/components/groupings-Wfp8piEu.cjs +0 -20
- package/components/heat-map-options.config-Ckw8voNV.js +0 -224
- package/components/heat-map-options.config-Ct-93RVQ.cjs +0 -20
- package/components/heat-map-positioning.config-C6CqosaH.js +0 -48
- package/components/heat-map-positioning.config-hFwq08ML.cjs +0 -20
- package/components/heat-map-slots.config-BFK5TF9k.js +0 -37
- package/components/heat-map-slots.config-D0mwjImu.cjs +0 -20
- package/components/heat-table-options.config-7IS5wa9l.cjs +0 -20
- package/components/heat-table-options.config-PpOf4o94.js +0 -372
- package/components/heat-table-positioning.config-B2RuWLH5.js +0 -55
- package/components/heat-table-positioning.config-MJ_ox9iT.cjs +0 -20
- package/components/heat-table-slots.config-3q2hG4nF.js +0 -49
- package/components/heat-table-slots.config-CH6Q9203.cjs +0 -20
- package/components/hexbin-map-options.config-CUAv6zuD.cjs +0 -20
- package/components/hexbin-map-options.config-D88DHYrl.js +0 -276
- package/components/hexbin-map-positioning.config-Dua5Z8M2.cjs +0 -20
- package/components/hexbin-map-positioning.config-IiGTpp68.js +0 -48
- package/components/hexbin-map-slots.config-BdkQVzI7.cjs +0 -20
- package/components/hexbin-map-slots.config-BfbHCCUe.js +0 -37
- package/components/image-options.config-ByIPpr29.js +0 -153
- package/components/image-options.config-DXqA7sAa.cjs +0 -20
- package/components/image-slots.config-B4MFjNWt.js +0 -24
- package/components/image-slots.config-DprzKxj3.cjs +0 -20
- package/components/interactive-viz-item-O2zj8Ix3.cjs +0 -247
- package/components/interactive-viz-item-lBrlvX4F.js +0 -693
- package/components/item-grid-CmuMl0eC.cjs +0 -113
- package/components/item-grid-Cqi995vx.js +0 -4559
- package/components/item-option-CQw6Xsi2.cjs +0 -252
- package/components/item-option-Cg3zRKlU.js +0 -969
- package/components/item-option-action-button-group-C1TU-ng7.js +0 -118
- package/components/item-option-action-button-group-DBdpU9Ac.cjs +0 -53
- package/components/item-option-base-4mpxvTpE.js +0 -123
- package/components/item-option-base-BtYcXg-E.cjs +0 -56
- package/components/item-option-color-palette-picker-4so22U-2.cjs +0 -40
- package/components/item-option-color-palette-picker-BBnhEOQj.js +0 -2041
- package/components/item-option-color-picker-CTTEHFVR.js +0 -87
- package/components/item-option-color-picker-CUBaIdL-.cjs +0 -34
- package/components/item-option-color-range-BuLEgB7a.js +0 -220
- package/components/item-option-color-range-H4nV-HoV.cjs +0 -98
- package/components/item-option-multi-language-field-CXQj3kSW.js +0 -82
- package/components/item-option-multi-language-field-d25tETIC.cjs +0 -33
- package/components/item-option-number-field-CEQEjnu8.js +0 -102
- package/components/item-option-number-field-waG1zcr8.cjs +0 -38
- package/components/item-option-panel-Bh4d0Ueb.cjs +0 -67
- package/components/item-option-panel-CVjT-rr8.js +0 -183
- package/components/item-option-picker-CiEMwzho.js +0 -77
- package/components/item-option-picker-YTJ6noOW.cjs +0 -37
- package/components/item-option-position-picker-DExAtVBF.cjs +0 -32
- package/components/item-option-position-picker-DVsG8inN.js +0 -117
- package/components/item-option-positions-number-field-7F1_3pxp.js +0 -164
- package/components/item-option-positions-number-field-Ju4e_B6g.cjs +0 -49
- package/components/item-option-radio-button-group-6w11UJC-.cjs +0 -37
- package/components/item-option-radio-button-group-CHZKF_oZ.js +0 -74
- package/components/item-option-slider-CQCvF7wI.js +0 -81
- package/components/item-option-slider-DdkgydGa.cjs +0 -33
- package/components/item-option-switch-68EoGXKU.js +0 -69
- package/components/item-option-switch-IP4wvB7i.cjs +0 -30
- package/components/item-option-text-field-0CCtgD5i.js +0 -80
- package/components/item-option-text-field-Be4frWhI.cjs +0 -33
- package/components/item-slot-drop-C7BJJcZz.cjs +0 -91
- package/components/item-slot-drop-PlCmap_s.js +0 -331
- package/components/item-slot-drop-panel-BevGCcMh.js +0 -355
- package/components/item-slot-drop-panel-hs0gFwb-.cjs +0 -57
- package/components/item-slot-picker-BzXlX-Zd.js +0 -505
- package/components/item-slot-picker-dmoR1ZyZ.cjs +0 -174
- package/components/item-slot-picker-panel-B2TtJUIs.cjs +0 -81
- package/components/item-slot-picker-panel-DnvwcLGy.js +0 -448
- package/components/line-chart-options.config-DKQ1k4lg.cjs +0 -20
- package/components/line-chart-options.config-DMjvCs-4.js +0 -168
- package/components/line-chart-positioning.config-CYqzjNzS.cjs +0 -20
- package/components/line-chart-positioning.config-DAs0y-O6.js +0 -55
- package/components/line-chart-slots.config-Cjp4btvG.cjs +0 -20
- package/components/line-chart-slots.config-CrQEwa4W.js +0 -55
- package/components/load-data-fields-for-datasets-BVGaku2J.cjs +0 -20
- package/components/load-data-fields-for-datasets-DeXLqWt4.js +0 -42
- package/components/localized-mixin-BNAt_iYb.cjs +0 -20
- package/components/localized-mixin-GXZQgVAD.js +0 -45
- package/components/marker-map-options.config-C52a3boH.js +0 -117
- package/components/marker-map-options.config-DBPPcGN4.cjs +0 -20
- package/components/marker-map-positioning.config-BQ-kNUJI.js +0 -48
- package/components/marker-map-positioning.config-C5h5ydGa.cjs +0 -20
- package/components/marker-map-slots.config-BOQ8AwRv.cjs +0 -20
- package/components/marker-map-slots.config-eJAxjIaQ.js +0 -37
- package/components/nl-BwK5iXtO.cjs +0 -20
- package/components/nl-D-Wa6DnD.js +0 -478
- package/components/ohlc-chart-options.config-38qB2VKc.js +0 -65
- package/components/ohlc-chart-options.config-D9h-VLdq.cjs +0 -20
- package/components/ohlc-chart-positioning.config-BQyRY4rj.js +0 -78
- package/components/ohlc-chart-positioning.config-fqniDSHf.cjs +0 -20
- package/components/ohlc-chart-slots.config-CUBUexI-.cjs +0 -20
- package/components/ohlc-chart-slots.config-SOs4oD-Q.js +0 -68
- package/components/parallel-coordinates-plot-options.config-DfZ80jLX.js +0 -42
- package/components/parallel-coordinates-plot-options.config-ovgY0A7j.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-Bhyk-q40.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-DMUrvTKC.js +0 -48
- package/components/parallel-coordinates-plot-slots.config-BXZ-NmbH.cjs +0 -20
- package/components/parallel-coordinates-plot-slots.config-DgsHiCqT.js +0 -46
- package/components/pivot-table-options.config-5udtucDD.js +0 -245
- package/components/pivot-table-options.config-BxKo1DCU.cjs +0 -20
- package/components/pivot-table-positioning.config-CRPJ6cp9.cjs +0 -20
- package/components/pivot-table-positioning.config-kgOD7qg4.js +0 -55
- package/components/pivot-table-slots.config-CRL6EW5R.js +0 -55
- package/components/pivot-table-slots.config-VxbOGtmB.cjs +0 -20
- package/components/pragmatic-element-adapter-U3ppsQDe.cjs +0 -24
- package/components/pragmatic-element-adapter-e5LbH_lv.js +0 -1252
- package/components/pyramid-chart-options.config-iP2MzTeb.js +0 -240
- package/components/pyramid-chart-options.config-lioHQSoq.cjs +0 -20
- package/components/pyramid-chart-positioning.config-B3g4J0Fc.cjs +0 -20
- package/components/pyramid-chart-positioning.config-DzmnUNOa.js +0 -55
- package/components/pyramid-chart-slots.config-CN_Q2YsP.cjs +0 -20
- package/components/pyramid-chart-slots.config-DM3lYlDg.js +0 -50
- package/components/radar-chart-options.config-DhnoFEzo.cjs +0 -20
- package/components/radar-chart-options.config-aR5sQal-.js +0 -130
- package/components/radar-chart-positioning.config-DeMZx8WU.cjs +0 -20
- package/components/radar-chart-positioning.config-DtCHigcZ.js +0 -55
- package/components/radar-chart-slots.config-BISYnTom.cjs +0 -20
- package/components/radar-chart-slots.config-msW05r4n.js +0 -53
- package/components/regular-table-options.config-Bk6CBPgj.cjs +0 -20
- package/components/regular-table-options.config-kbARlJ1E.js +0 -148
- package/components/regular-table-slots.config-BU6Ff96U.cjs +0 -20
- package/components/regular-table-slots.config-DAwLOM5T.js +0 -35
- package/components/route-map-options.config-CAi93e7I.cjs +0 -20
- package/components/route-map-options.config-DCBAfq09.js +0 -326
- package/components/route-map-positioning.config-CNNkOriH.js +0 -66
- package/components/route-map-positioning.config-GRnTnxOT.cjs +0 -20
- package/components/route-map-slots.config-DNiRtoRC.js +0 -59
- package/components/route-map-slots.config-Dznp0DT3.cjs +0 -20
- package/components/sankey-diagram-options.config-CKjVnYnF.js +0 -126
- package/components/sankey-diagram-options.config-D7ZrZV0g.cjs +0 -20
- package/components/sankey-diagram-positioning.config-B4dTAI_t.cjs +0 -20
- package/components/sankey-diagram-positioning.config-DZzxWrlG.js +0 -66
- package/components/sankey-diagram-slots.config-CVD2P6RJ.js +0 -61
- package/components/sankey-diagram-slots.config-TKCUvHOD.cjs +0 -20
- package/components/scatter-plot-options.config--AfAxaGf.js +0 -302
- package/components/scatter-plot-options.config-DXqKb34r.cjs +0 -20
- package/components/scatter-plot-positioning.config-7DccAqx9.js +0 -77
- package/components/scatter-plot-positioning.config-CUxiLfKj.cjs +0 -20
- package/components/scatter-plot-slots.config-CPsk9FUg.cjs +0 -20
- package/components/scatter-plot-slots.config-D57rd66g.js +0 -74
- package/components/search-filter-options.config-DQwMOiXm.js +0 -103
- package/components/search-filter-options.config-DojMfRR_.cjs +0 -20
- package/components/search-filter-slots.config-AhwsTdYC.cjs +0 -20
- package/components/search-filter-slots.config-DQybwP4H.js +0 -39
- package/components/set-locale-BCnD4yp_.cjs +0 -20
- package/components/set-locale-CamOWu7o.js +0 -43
- package/components/slicer-filter-options.config-BhLn4U1W.cjs +0 -20
- package/components/slicer-filter-options.config-DVE33GEz.js +0 -226
- package/components/slicer-filter-positioning.config-DUivNE2P.cjs +0 -20
- package/components/slicer-filter-positioning.config-aOkoNRyY.js +0 -48
- package/components/slicer-filter-slots.config-Bcz9RsdR.js +0 -44
- package/components/slicer-filter-slots.config-zV15NWWS.cjs +0 -20
- package/components/slider-filter-options.config-B8am9mmE.cjs +0 -20
- package/components/slider-filter-options.config-BwaAvOvt.js +0 -72
- package/components/slider-filter-slots.config-Bc8Qk7fb.js +0 -43
- package/components/slider-filter-slots.config-D9Hra0zE.cjs +0 -20
- package/components/slot-menu-Bgoo0gWv.cjs +0 -71
- package/components/slot-menu-Cb8piPji.js +0 -422
- package/components/slot-menu-list-Cy6tegSf.cjs +0 -44
- package/components/slot-menu-list-VuVIRNtr.js +0 -346
- package/components/slot-role-classification-Bvt3bI01.cjs +0 -20
- package/components/slot-role-classification-CCzj4WgN.js +0 -133
- package/components/slots-config-P_GXW0tl.js +0 -77
- package/components/slots-config-YdyClHLc.cjs +0 -20
- package/components/speedometer-chart-options.config-D4-8n5pn.js +0 -246
- package/components/speedometer-chart-options.config-DEW_D9w1.cjs +0 -20
- package/components/speedometer-chart-positioning.config-Dj6XK0gq.js +0 -48
- package/components/speedometer-chart-positioning.config-DzCh70X-.cjs +0 -20
- package/components/speedometer-chart-slots.config-1BqQZ2vP.cjs +0 -20
- package/components/speedometer-chart-slots.config-B4zqf0f_.js +0 -39
- package/components/spike-map-options.config-CM46vw7B.js +0 -413
- package/components/spike-map-options.config-LPAyKMHe.cjs +0 -20
- package/components/spike-map-positioning.config-BG2pKkf7.js +0 -55
- package/components/spike-map-positioning.config-BQIg4Z0U.cjs +0 -20
- package/components/spike-map-slots.config-B7OehIoc.cjs +0 -20
- package/components/spike-map-slots.config-BeXzuzh0.js +0 -47
- package/components/strip-plot-options.config-BlneYJOy.js +0 -53
- package/components/strip-plot-options.config-vBd38UQs.cjs +0 -20
- package/components/strip-plot-positioning.config-D3ZNgtC4.cjs +0 -20
- package/components/strip-plot-positioning.config-HZCVc6kX.js +0 -48
- package/components/strip-plot-slots.config-BGQIQtMK.js +0 -38
- package/components/strip-plot-slots.config-CAU0z3q4.cjs +0 -20
- package/components/sunburst-chart-options.config-8xopRyBB.js +0 -160
- package/components/sunburst-chart-options.config-CUFOuT2J.cjs +0 -20
- package/components/sunburst-chart-positioning.config-0O9eMweg.js +0 -48
- package/components/sunburst-chart-positioning.config-B-hCz3bI.cjs +0 -20
- package/components/sunburst-chart-slots.config-BCNUNkd9.cjs +0 -20
- package/components/sunburst-chart-slots.config-BhKeTqTo.js +0 -38
- package/components/symbol-map-options.config-CR07hvK0.cjs +0 -20
- package/components/symbol-map-options.config-nJAvVQIh.js +0 -157
- package/components/symbol-map-positioning.config-Dod98HkQ.js +0 -55
- package/components/symbol-map-positioning.config-aHnkaWU6.cjs +0 -20
- package/components/symbol-map-slots.config-D9E-oBE4.js +0 -53
- package/components/symbol-map-slots.config-Dz_tor5P.cjs +0 -20
- package/components/text-options.config-DCF3IVzO.js +0 -67
- package/components/text-options.config-JI2D64hs.cjs +0 -20
- package/components/text-slots.config-0A6csMfd.cjs +0 -20
- package/components/text-slots.config-C60nJ0OX.js +0 -24
- package/components/treemap-chart-options.config-RFQTphEG.js +0 -184
- package/components/treemap-chart-options.config-p21eSXKG.cjs +0 -20
- package/components/treemap-chart-positioning.config-XB1_FmX-.js +0 -55
- package/components/treemap-chart-positioning.config-qhPL49um.cjs +0 -20
- package/components/treemap-chart-slots.config-BJqqnUEF.cjs +0 -20
- package/components/treemap-chart-slots.config-CZRP7PZH.js +0 -47
- package/components/utils-B1BzV2xl.cjs +0 -20
- package/components/utils-BMOxXnnX.js +0 -240
- package/components/v4-BK7K-jy_.js +0 -49
- package/components/validate-CJkVJaL1.cjs +0 -20
- package/components/validate-J3P0rm_n.js +0 -28
- package/components/venn-diagram-options.config-EmRhf40r.cjs +0 -20
- package/components/venn-diagram-options.config-uCJ5dei5.js +0 -24
- package/components/venn-diagram-positioning.config-Bh1ypVKP.js +0 -55
- package/components/venn-diagram-positioning.config-CimHfhlV.cjs +0 -20
- package/components/venn-diagram-slots.config-DOljH_uI.js +0 -47
- package/components/venn-diagram-slots.config-MpkJTf5q.cjs +0 -20
- package/components/video-options.config-Dh_lU4c1.cjs +0 -20
- package/components/video-options.config-DkLrX1gP.js +0 -127
- package/components/video-slots.config-Bmh6mcUv.cjs +0 -20
- package/components/video-slots.config-CqMIkttE.js +0 -24
- package/components/viz-item-menu-CTPd7QMx.cjs +0 -55
- package/components/viz-item-menu-sOvrO3Ku.js +0 -170
- package/components/wordcloud-chart-options.config-C2ZILp7a.js +0 -90
- package/components/wordcloud-chart-options.config-mx2CbmrI.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-BR_g8Now.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-CmakCQG0.js +0 -55
- package/components/wordcloud-chart-slots.config-B8s8B47F.js +0 -45
- package/components/wordcloud-chart-slots.config-C303nwAz.cjs +0 -20
- package/react/components/ai-chat/empty-state/index.ts +0 -1
- package/react/components/ai-chat/empty-state/types.ts +0 -16
- package/react/components/ai-chat/stream/index.ts +0 -1
- package/react/components/ai-chat/stream/types.ts +0 -60
- package/react/components/ai-interaction-textarea/index.ts +0 -1
- package/react/components/ai-interaction-textarea/types.ts +0 -6
- package/react/components/data-field/index.ts +0 -1
- package/react/components/data-field/types.ts +0 -5
- package/react/components/data-field-panel/index.ts +0 -1
- package/react/components/data-field-panel/types.ts +0 -27
- package/react/components/data-fields-select/index.ts +0 -1
- package/react/components/data-fields-select/types.ts +0 -5
- package/react/components/dataset-icon/index.ts +0 -1
- package/react/components/dataset-icon/types.ts +0 -8
- package/react/components/display-settings/index.ts +0 -1
- package/react/components/display-settings/types.ts +0 -12
- package/react/components/filters/index.ts +0 -1
- package/react/components/filters/types.ts +0 -15
- package/react/components/formula-draggable-field/index.ts +0 -1
- package/react/components/formula-draggable-field/types.ts +0 -26
- package/react/components/interactive-viz-item/index.ts +0 -1
- package/react/components/interactive-viz-item/types.ts +0 -122
- package/react/components/item-grid/index.ts +0 -1
- package/react/components/item-grid/types.ts +0 -64
- package/react/components/item-option/index.ts +0 -1
- package/react/components/item-option/types.ts +0 -10
- package/react/components/item-slot-drop/index.ts +0 -1
- package/react/components/item-slot-drop/types.ts +0 -6
- package/react/components/slot-menu/index.ts +0 -1
- package/react/components/slot-menu/types.ts +0 -29
- package/react/components/viz-item-menu/index.ts +0 -1
- package/react/components/viz-item-menu/types.ts +0 -11
- package/react/esm/components/ai-chat/empty-state/index.d.ts +0 -1
- package/react/esm/components/ai-chat/empty-state/index.js +0 -1
- package/react/esm/components/ai-chat/empty-state/types.d.ts +0 -14
- package/react/esm/components/ai-chat/stream/index.d.ts +0 -1
- package/react/esm/components/ai-chat/stream/index.js +0 -1
- package/react/esm/components/ai-chat/stream/types.d.ts +0 -55
- package/react/esm/components/ai-interaction-textarea/index.d.ts +0 -1
- package/react/esm/components/ai-interaction-textarea/index.js +0 -1
- package/react/esm/components/ai-interaction-textarea/types.d.ts +0 -5
- package/react/esm/components/data-field/index.d.ts +0 -1
- package/react/esm/components/data-field/index.js +0 -1
- package/react/esm/components/data-field/types.d.ts +0 -4
- package/react/esm/components/data-field/types.js +0 -1
- package/react/esm/components/data-field-panel/index.d.ts +0 -1
- package/react/esm/components/data-field-panel/index.js +0 -1
- package/react/esm/components/data-field-panel/types.d.ts +0 -27
- package/react/esm/components/data-field-panel/types.js +0 -1
- package/react/esm/components/data-fields-select/index.d.ts +0 -1
- package/react/esm/components/data-fields-select/index.js +0 -1
- package/react/esm/components/data-fields-select/types.d.ts +0 -4
- package/react/esm/components/data-fields-select/types.js +0 -1
- package/react/esm/components/dataset-icon/index.d.ts +0 -1
- package/react/esm/components/dataset-icon/index.js +0 -1
- package/react/esm/components/dataset-icon/types.d.ts +0 -11
- package/react/esm/components/dataset-icon/types.js +0 -1
- package/react/esm/components/display-settings/index.d.ts +0 -1
- package/react/esm/components/display-settings/index.js +0 -1
- package/react/esm/components/display-settings/types.d.ts +0 -9
- package/react/esm/components/display-settings/types.js +0 -1
- package/react/esm/components/filters/index.d.ts +0 -1
- package/react/esm/components/filters/index.js +0 -1
- package/react/esm/components/filters/types.d.ts +0 -12
- package/react/esm/components/filters/types.js +0 -1
- package/react/esm/components/formula-draggable-field/index.d.ts +0 -1
- package/react/esm/components/formula-draggable-field/index.js +0 -1
- package/react/esm/components/formula-draggable-field/types.d.ts +0 -24
- package/react/esm/components/formula-draggable-field/types.js +0 -1
- package/react/esm/components/interactive-viz-item/index.d.ts +0 -1
- package/react/esm/components/interactive-viz-item/index.js +0 -1
- package/react/esm/components/interactive-viz-item/types.d.ts +0 -117
- package/react/esm/components/interactive-viz-item/types.js +0 -16
- package/react/esm/components/item-grid/index.d.ts +0 -1
- package/react/esm/components/item-grid/index.js +0 -1
- package/react/esm/components/item-grid/types.d.ts +0 -57
- package/react/esm/components/item-grid/types.js +0 -1
- package/react/esm/components/item-option/index.d.ts +0 -1
- package/react/esm/components/item-option/index.js +0 -1
- package/react/esm/components/item-option/types.d.ts +0 -8
- package/react/esm/components/item-option/types.js +0 -1
- package/react/esm/components/item-slot-drop/index.d.ts +0 -1
- package/react/esm/components/item-slot-drop/index.js +0 -1
- package/react/esm/components/item-slot-drop/types.d.ts +0 -5
- package/react/esm/components/item-slot-drop/types.js +0 -1
- package/react/esm/components/slot-menu/index.d.ts +0 -1
- package/react/esm/components/slot-menu/index.js +0 -1
- package/react/esm/components/slot-menu/types.d.ts +0 -24
- package/react/esm/components/slot-menu/types.js +0 -1
- package/react/esm/components/viz-item-menu/index.d.ts +0 -1
- package/react/esm/components/viz-item-menu/index.js +0 -1
- package/react/esm/components/viz-item-menu/types.d.ts +0 -9
- package/react/esm/components/viz-item-menu/types.js +0 -1
- package/react/esm/types.d.ts +0 -30
- package/react/esm/types.js +0 -8
- package/react/types.ts +0 -55
- package/react/utils/base/base.d.ts +0 -16
- package/react/utils/base/focus-visible.d.ts +0 -29
- package/react/utils/base/focusable.d.ts +0 -58
- package/react/utils/base/index.d.ts +0 -5
- package/react/utils/base/localized-mixin.d.ts +0 -22
- package/react/utils/base/sized-mixin.d.ts +0 -17
- package/react/utils/color/color-palettes.d.ts +0 -17
- package/react/utils/color/extrapolate-color.d.ts +0 -1
- package/react/utils/data/load-data-fields-for-datasets.d.ts +0 -22
- package/react/utils/data-broker/index.d.ts +0 -257
- package/react/utils/data-field-types/calculate-data-field-icon.d.ts +0 -12
- package/react/utils/data-field-types/default-acceptable-data-field-types.d.ts +0 -1
- package/react/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +0 -1
- package/react/utils/drag/draggable.d.ts +0 -13
- package/react/utils/drag/pragmatic-element-adapter.d.ts +0 -2
- package/react/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +0 -1
- package/react/utils/drag/tests/pragmatic-element-adapter.test.d.ts +0 -1
- package/react/utils/filters/expressions.d.ts +0 -15
- package/react/utils/filters/index.d.ts +0 -1
- package/react/utils/formatter/calculate-duration.d.ts +0 -2
- package/react/utils/formatter/decompose-numeric-format.d.ts +0 -11
- package/react/utils/formatter/default-local-formats.d.ts +0 -20
- package/react/utils/formatter/formats/cs.d.ts +0 -20
- package/react/utils/formatter/formats/da.d.ts +0 -20
- package/react/utils/formatter/formats/de.d.ts +0 -21
- package/react/utils/formatter/formats/en-GB.d.ts +0 -21
- package/react/utils/formatter/formats/en-US.d.ts +0 -1
- package/react/utils/formatter/formats/en.d.ts +0 -1
- package/react/utils/formatter/formats/es.d.ts +0 -54
- package/react/utils/formatter/formats/fi.d.ts +0 -20
- package/react/utils/formatter/formats/fr.d.ts +0 -54
- package/react/utils/formatter/formats/he.d.ts +0 -20
- package/react/utils/formatter/formats/hu.d.ts +0 -20
- package/react/utils/formatter/formats/it.d.ts +0 -54
- package/react/utils/formatter/formats/ja.d.ts +0 -20
- package/react/utils/formatter/formats/ko.d.ts +0 -20
- package/react/utils/formatter/formats/mk.d.ts +0 -20
- package/react/utils/formatter/formats/nl.d.ts +0 -21
- package/react/utils/formatter/formats/no.d.ts +0 -21
- package/react/utils/formatter/formats/pl.d.ts +0 -20
- package/react/utils/formatter/formats/pt.d.ts +0 -20
- package/react/utils/formatter/formats/ru.d.ts +0 -20
- package/react/utils/formatter/formats/sv.d.ts +0 -20
- package/react/utils/formatter/formats/tr.d.ts +0 -21
- package/react/utils/formatter/formats/zh-CN.d.ts +0 -20
- package/react/utils/formatter/formats/zh-TW.d.ts +0 -20
- package/react/utils/formatter/formatter.d.ts +0 -9
- package/react/utils/formatter/get-dataset-name.d.ts +0 -2
- package/react/utils/formatter/localize.d.ts +0 -3
- package/react/utils/formatter/smart-datetime-formats.const.d.ts +0 -36
- package/react/utils/formatter/tests/calculate-duration.test.d.ts +0 -1
- package/react/utils/formatter/tests/decompose-numeric-format.test.d.ts +0 -1
- package/react/utils/formatter/tests/default-local-formats.test.d.ts +0 -1
- package/react/utils/formatter/tests/formatter.test.d.ts +0 -1
- package/react/utils/formatter/tests/localize.test.d.ts +0 -1
- package/react/utils/formula/base/formula-base.d.ts +0 -117
- package/react/utils/formula/base/formula-input-base.d.ts +0 -62
- package/react/utils/formula/codemirror/actions.d.ts +0 -47
- package/react/utils/formula/codemirror/drop-cursor.d.ts +0 -15
- package/react/utils/formula/codemirror/icon-element.d.ts +0 -7
- package/react/utils/formula/codemirror/parser.d.ts +0 -16
- package/react/utils/formula/codemirror/tests/actions.test.d.ts +0 -1
- package/react/utils/formula/codemirror/theme.d.ts +0 -20
- package/react/utils/formula/codemirror/widget.d.ts +0 -18
- package/react/utils/formula/config/aggregations.d.ts +0 -9
- package/react/utils/formula/config/build-datasets.d.ts +0 -10
- package/react/utils/formula/config/expression-helpers.d.ts +0 -42
- package/react/utils/formula/config/functions.d.ts +0 -3
- package/react/utils/formula/config/groupings.d.ts +0 -9
- package/react/utils/formula/config/regex.d.ts +0 -39
- package/react/utils/formula/config/resolve-column-presentation.d.ts +0 -19
- package/react/utils/formula/config/tests/build-datasets.test.d.ts +0 -1
- package/react/utils/formula/config/validate-expression.d.ts +0 -19
- package/react/utils/formula/load-formula-codemirror.d.ts +0 -4
- package/react/utils/formula/render-explanation-tooltip.d.ts +0 -7
- package/react/utils/formula/store/formula-display-store.d.ts +0 -87
- package/react/utils/formula/store/formula-editor-context.d.ts +0 -8
- package/react/utils/formula/store/formula-editor-store.d.ts +0 -46
- package/react/utils/formula/store/tests/formula-editor-store.test.d.ts +0 -1
- package/react/utils/formula/tests/validate-expression.test.d.ts +0 -1
- package/react/utils/get-css-variable.d.ts +0 -1
- package/react/utils/index.d.ts +0 -10
- package/react/utils/localize/set-locale.d.ts +0 -7
- package/react/utils/map-tile-providers/index.d.ts +0 -93
- package/react/utils/slot-content/ad-hoc-slot-content.d.ts +0 -7
- package/react/utils/slot-content/render-calculation-label.d.ts +0 -7
- package/react/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +0 -1
- package/react/utils/slot-state/slot-context.d.ts +0 -4
- package/react/utils/slot-state/slot-store.d.ts +0 -39
- package/react/utils/store/base-store.d.ts +0 -162
- package/react/utils/store/dashboard-store.d.ts +0 -49
- package/react/utils/store/index.d.ts +0 -135
- package/react/utils/store/item-store.d.ts +0 -33
- package/react/utils/store/store-registry.d.ts +0 -170
- package/react/utils/store/tests/dashboard-store.test.d.ts +0 -1
- package/react/utils/store/tests/item-store.test.d.ts +0 -1
- package/react/utils/store/tests/store-registry.test.d.ts +0 -1
- package/react/utils/store/types.d.ts +0 -270
- package/react/utils/switch-item/index.d.ts +0 -34
- package/react/utils/switch-item/slot-role-classification.d.ts +0 -31
- package/react/utils/switch-item/stories/switch-item.stories.d.ts +0 -17
- package/react/utils/switch-item/tests/slot-role-classification.test.d.ts +0 -1
- package/react/utils/switch-item/tests/switch-item.test.d.ts +0 -1
- package/react/utils/themes/bliss.d.ts +0 -2
- package/react/utils/themes/classic-dark.d.ts +0 -2
- package/react/utils/themes/classic.d.ts +0 -2
- package/react/utils/themes/default-dark.d.ts +0 -2
- package/react/utils/themes/default.d.ts +0 -2
- package/react/utils/themes/index.d.ts +0 -4
- package/react/utils/themes/orion.d.ts +0 -2
- package/react/utils/themes/pinky.d.ts +0 -2
- package/react/utils/themes/radiant.d.ts +0 -2
- package/react/utils/themes/royale.d.ts +0 -2
- package/react/utils/themes/seasonal.d.ts +0 -2
- package/react/utils/themes/urban.d.ts +0 -2
- package/react/utils/themes/vivid.d.ts +0 -2
- package/react/utils/time/formats.const.d.ts +0 -4
- package/react/utils/time/period-over-period-condition.const.d.ts +0 -8
- package/react/utils/time/periods.const.d.ts +0 -15
- package/react/utils/timezone/datetime-timezone.d.ts +0 -25
- package/react/utils/timezone/tests/datetime-timezone.test.d.ts +0 -1
- package/react/utils/transformations/convert-data-field-to-slot-content.d.ts +0 -9
- package/react/utils/transformations/convert-datasets-to-data-fields.d.ts +0 -30
- package/react/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +0 -1
- package/react/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +0 -1
- package/react/utils/types/tests/type-check.test.d.ts +0 -1
- package/react/utils/types/type-check.d.ts +0 -28
- /package/components/{chunk-mLOUI7ql.cjs → rolldown-runtime-mLOUI7ql.cjs} +0 -0
- /package/{react/esm/components/ai-chat/empty-state/types.js → utils/ai-prompt/tests/attachments.test.d.ts} +0 -0
- /package/{react/esm/components/ai-chat/stream/types.js → utils/ai-prompt/tests/dictation.test.d.ts} +0 -0
- /package/{react/esm/components/ai-interaction-textarea/types.js → utils/ai-prompt/tests/image-upload.test.d.ts} +0 -0
|
@@ -0,0 +1,785 @@
|
|
|
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-D4CaVip4.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-B24ms5Si.js";
|
|
26
|
+
import "./dataset-icon-CWT5Ju8w.js";
|
|
27
|
+
import "./dataset-selector-row-CaNvh0Zr.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);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}", 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 };
|