@luzmo/analytics-components-kit 1.0.6 → 1.0.7

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.
Files changed (1207) hide show
  1. package/README.md +15 -4
  2. package/angular/README.md +40 -0
  3. package/angular/components/ai-chat-empty-state.ts +98 -0
  4. package/angular/components/ai-chat.ts +412 -0
  5. package/angular/components/ai-interaction-textarea.ts +256 -0
  6. package/angular/components/data-field-level.ts +130 -0
  7. package/angular/components/data-field-panel.ts +256 -0
  8. package/angular/components/data-field.ts +130 -0
  9. package/angular/components/data-fields-select.ts +212 -0
  10. package/angular/components/dataset-icon.ts +83 -0
  11. package/angular/components/dataset-selector-list.ts +140 -0
  12. package/angular/components/dataset-selector-row.ts +143 -0
  13. package/angular/components/display-settings-binning.ts +92 -0
  14. package/angular/components/display-settings-datetime.ts +100 -0
  15. package/angular/components/display-settings-grand-totals.ts +92 -0
  16. package/angular/components/display-settings-numeric.ts +113 -0
  17. package/angular/components/display-settings-period-over-period.ts +107 -0
  18. package/angular/components/display-settings.ts +227 -0
  19. package/angular/components/filter-expression-picker.ts +168 -0
  20. package/angular/components/filter-item.ts +175 -0
  21. package/angular/components/filter-parameter-picker.ts +155 -0
  22. package/angular/components/filter-value-picker-datetime.ts +125 -0
  23. package/angular/components/filter-value-picker-hierarchy.ts +146 -0
  24. package/angular/components/filter-value-picker-numeric.ts +146 -0
  25. package/angular/components/filter-value-picker.ts +160 -0
  26. package/angular/components/filters.ts +209 -0
  27. package/angular/components/formula-editor.ts +229 -0
  28. package/angular/components/formula-field.ts +198 -0
  29. package/angular/components/formula.ts +170 -0
  30. package/angular/components/interactive-viz-item.ts +186 -0
  31. package/angular/components/item-grid-item-actions-menu.ts +113 -0
  32. package/angular/components/item-grid.ts +242 -0
  33. package/angular/components/item-option-action-button-group.ts +105 -0
  34. package/angular/components/item-option-color-palette-picker.ts +126 -0
  35. package/angular/components/item-option-color-picker.ts +134 -0
  36. package/angular/components/item-option-color-range.ts +168 -0
  37. package/angular/components/item-option-multi-language-field.ts +133 -0
  38. package/angular/components/item-option-number-field.ts +161 -0
  39. package/angular/components/item-option-panel.ts +149 -0
  40. package/angular/components/item-option-picker.ts +120 -0
  41. package/angular/components/item-option-position-picker.ts +98 -0
  42. package/angular/components/item-option-positions-number-field.ts +140 -0
  43. package/angular/components/item-option-radio-button-group.ts +119 -0
  44. package/angular/components/item-option-slider.ts +126 -0
  45. package/angular/components/item-option-switch.ts +98 -0
  46. package/angular/components/item-option-text-field.ts +112 -0
  47. package/angular/components/item-option.ts +163 -0
  48. package/angular/components/item-slot-drop-panel.ts +236 -0
  49. package/angular/components/item-slot-drop.ts +231 -0
  50. package/angular/components/item-slot-picker-panel.ts +299 -0
  51. package/angular/components/item-slot-picker.ts +241 -0
  52. package/angular/components/slot-menu-list.ts +121 -0
  53. package/angular/components/slot-menu.ts +304 -0
  54. package/angular/components/viz-item-menu.ts +118 -0
  55. package/angular/esm/components/ai-chat-empty-state.d.ts +39 -0
  56. package/angular/esm/components/ai-chat-empty-state.js +99 -0
  57. package/angular/esm/components/ai-chat.d.ts +137 -0
  58. package/angular/esm/components/ai-chat.js +423 -0
  59. package/angular/esm/components/ai-interaction-textarea.d.ts +97 -0
  60. package/angular/esm/components/ai-interaction-textarea.js +273 -0
  61. package/angular/esm/components/data-field-level.d.ts +50 -0
  62. package/angular/esm/components/data-field-level.js +129 -0
  63. package/angular/esm/components/data-field-panel.d.ts +86 -0
  64. package/angular/esm/components/data-field-panel.js +268 -0
  65. package/angular/esm/components/data-field.d.ts +50 -0
  66. package/angular/esm/components/data-field.js +129 -0
  67. package/angular/esm/components/data-fields-select.d.ts +81 -0
  68. package/angular/esm/components/data-fields-select.js +227 -0
  69. package/angular/esm/components/dataset-icon.d.ts +34 -0
  70. package/angular/esm/components/dataset-icon.js +86 -0
  71. package/angular/esm/components/dataset-selector-list.d.ts +53 -0
  72. package/angular/esm/components/dataset-selector-list.js +147 -0
  73. package/angular/esm/components/dataset-selector-row.d.ts +53 -0
  74. package/angular/esm/components/dataset-selector-row.js +145 -0
  75. package/angular/esm/components/display-settings-binning.d.ts +37 -0
  76. package/angular/esm/components/display-settings-binning.js +91 -0
  77. package/angular/esm/components/display-settings-datetime.d.ts +40 -0
  78. package/angular/esm/components/display-settings-datetime.js +99 -0
  79. package/angular/esm/components/display-settings-grand-totals.d.ts +37 -0
  80. package/angular/esm/components/display-settings-grand-totals.js +91 -0
  81. package/angular/esm/components/display-settings-numeric.d.ts +45 -0
  82. package/angular/esm/components/display-settings-numeric.js +115 -0
  83. package/angular/esm/components/display-settings-period-over-period.d.ts +44 -0
  84. package/angular/esm/components/display-settings-period-over-period.js +107 -0
  85. package/angular/esm/components/display-settings.d.ts +83 -0
  86. package/angular/esm/components/display-settings.js +231 -0
  87. package/angular/esm/components/filter-expression-picker.d.ts +64 -0
  88. package/angular/esm/components/filter-expression-picker.js +179 -0
  89. package/angular/esm/components/filter-item.d.ts +63 -0
  90. package/angular/esm/components/filter-item.js +187 -0
  91. package/angular/esm/components/filter-parameter-picker.d.ts +56 -0
  92. package/angular/esm/components/filter-parameter-picker.js +151 -0
  93. package/angular/esm/components/filter-value-picker-datetime.d.ts +47 -0
  94. package/angular/esm/components/filter-value-picker-datetime.js +131 -0
  95. package/angular/esm/components/filter-value-picker-hierarchy.d.ts +53 -0
  96. package/angular/esm/components/filter-value-picker-hierarchy.js +155 -0
  97. package/angular/esm/components/filter-value-picker-numeric.d.ts +53 -0
  98. package/angular/esm/components/filter-value-picker-numeric.js +155 -0
  99. package/angular/esm/components/filter-value-picker.d.ts +57 -0
  100. package/angular/esm/components/filter-value-picker.js +171 -0
  101. package/angular/esm/components/filters.d.ts +75 -0
  102. package/angular/esm/components/filters.js +215 -0
  103. package/angular/esm/components/formula-editor.d.ts +78 -0
  104. package/angular/esm/components/formula-editor.js +236 -0
  105. package/angular/esm/components/formula-field.d.ts +70 -0
  106. package/angular/esm/components/formula-field.js +209 -0
  107. package/angular/esm/components/formula.d.ts +60 -0
  108. package/angular/esm/components/formula.js +177 -0
  109. package/angular/esm/components/interactive-viz-item.d.ts +63 -0
  110. package/angular/esm/components/interactive-viz-item.js +188 -0
  111. package/angular/esm/components/item-grid-item-actions-menu.d.ts +45 -0
  112. package/angular/esm/components/item-grid-item-actions-menu.js +115 -0
  113. package/angular/esm/components/item-grid.d.ts +80 -0
  114. package/angular/esm/components/item-grid.js +245 -0
  115. package/angular/esm/components/item-option-action-button-group.d.ts +41 -0
  116. package/angular/esm/components/item-option-action-button-group.js +107 -0
  117. package/angular/esm/components/item-option-color-palette-picker.d.ts +48 -0
  118. package/angular/esm/components/item-option-color-palette-picker.js +131 -0
  119. package/angular/esm/components/item-option-color-picker.d.ts +51 -0
  120. package/angular/esm/components/item-option-color-picker.js +139 -0
  121. package/angular/esm/components/item-option-color-range.d.ts +66 -0
  122. package/angular/esm/components/item-option-color-range.js +179 -0
  123. package/angular/esm/components/item-option-multi-language-field.d.ts +50 -0
  124. package/angular/esm/components/item-option-multi-language-field.js +139 -0
  125. package/angular/esm/components/item-option-number-field.d.ts +58 -0
  126. package/angular/esm/components/item-option-number-field.js +171 -0
  127. package/angular/esm/components/item-option-panel.d.ts +54 -0
  128. package/angular/esm/components/item-option-panel.js +155 -0
  129. package/angular/esm/components/item-option-picker.d.ts +46 -0
  130. package/angular/esm/components/item-option-picker.js +123 -0
  131. package/angular/esm/components/item-option-position-picker.d.ts +39 -0
  132. package/angular/esm/components/item-option-position-picker.js +99 -0
  133. package/angular/esm/components/item-option-positions-number-field.d.ts +54 -0
  134. package/angular/esm/components/item-option-positions-number-field.js +147 -0
  135. package/angular/esm/components/item-option-radio-button-group.d.ts +45 -0
  136. package/angular/esm/components/item-option-radio-button-group.js +123 -0
  137. package/angular/esm/components/item-option-slider.d.ts +46 -0
  138. package/angular/esm/components/item-option-slider.js +131 -0
  139. package/angular/esm/components/item-option-switch.d.ts +40 -0
  140. package/angular/esm/components/item-option-switch.js +99 -0
  141. package/angular/esm/components/item-option-text-field.d.ts +44 -0
  142. package/angular/esm/components/item-option-text-field.js +115 -0
  143. package/angular/esm/components/item-option.d.ts +58 -0
  144. package/angular/esm/components/item-option.js +171 -0
  145. package/angular/esm/components/item-slot-drop-panel.d.ts +82 -0
  146. package/angular/esm/components/item-slot-drop-panel.js +249 -0
  147. package/angular/esm/components/item-slot-drop.d.ts +77 -0
  148. package/angular/esm/components/item-slot-drop.js +227 -0
  149. package/angular/esm/components/item-slot-picker-panel.d.ts +97 -0
  150. package/angular/esm/components/item-slot-picker-panel.js +309 -0
  151. package/angular/esm/components/item-slot-picker.d.ts +86 -0
  152. package/angular/esm/components/item-slot-picker.js +259 -0
  153. package/angular/esm/components/slot-menu-list.d.ts +46 -0
  154. package/angular/esm/components/slot-menu-list.js +123 -0
  155. package/angular/esm/components/slot-menu.d.ts +104 -0
  156. package/angular/esm/components/slot-menu.js +300 -0
  157. package/angular/esm/components/viz-item-menu.d.ts +42 -0
  158. package/angular/esm/components/viz-item-menu.js +111 -0
  159. package/angular/esm/index.d.ts +107 -0
  160. package/angular/esm/index.js +213 -0
  161. package/angular/index.ts +219 -0
  162. package/angular/package.json +40 -0
  163. package/angular/tsconfig.json +36 -0
  164. package/angular/type-fallbacks.d.ts +0 -0
  165. package/angular/utils/ai-prompt/attachments.d.ts +10 -0
  166. package/angular/utils/ai-prompt/dictation.d.ts +50 -0
  167. package/angular/utils/ai-prompt/image-upload.d.ts +12 -0
  168. package/angular/utils/ai-prompt/index.d.ts +6 -0
  169. package/angular/utils/ai-prompt/tests/attachments.test.d.ts +1 -0
  170. package/angular/utils/ai-prompt/tests/dictation.test.d.ts +1 -0
  171. package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +1 -0
  172. package/angular/utils/base/base.d.ts +16 -0
  173. package/angular/utils/base/focus-visible.d.ts +29 -0
  174. package/angular/utils/base/focusable.d.ts +58 -0
  175. package/angular/utils/base/index.d.ts +5 -0
  176. package/angular/utils/base/localized-mixin.d.ts +22 -0
  177. package/angular/utils/base/sized-mixin.d.ts +17 -0
  178. package/angular/utils/color/color-palettes.d.ts +17 -0
  179. package/angular/utils/color/extrapolate-color.d.ts +1 -0
  180. package/angular/utils/data/load-data-fields-for-datasets.d.ts +22 -0
  181. package/angular/utils/data-broker/index.d.ts +257 -0
  182. package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +12 -0
  183. package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +1 -0
  184. package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +1 -0
  185. package/angular/utils/drag/draggable.d.ts +13 -0
  186. package/angular/utils/drag/pragmatic-element-adapter.d.ts +2 -0
  187. package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +1 -0
  188. package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +1 -0
  189. package/angular/utils/filters/expressions.d.ts +15 -0
  190. package/angular/utils/filters/index.d.ts +1 -0
  191. package/angular/utils/formatter/calculate-duration.d.ts +2 -0
  192. package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
  193. package/angular/utils/formatter/default-local-formats.d.ts +20 -0
  194. package/angular/utils/formatter/formats/cs.d.ts +20 -0
  195. package/angular/utils/formatter/formats/da.d.ts +20 -0
  196. package/angular/utils/formatter/formats/de.d.ts +21 -0
  197. package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
  198. package/angular/utils/formatter/formats/en-US.d.ts +1 -0
  199. package/angular/utils/formatter/formats/en.d.ts +1 -0
  200. package/angular/utils/formatter/formats/es.d.ts +54 -0
  201. package/angular/utils/formatter/formats/fi.d.ts +20 -0
  202. package/angular/utils/formatter/formats/fr.d.ts +54 -0
  203. package/angular/utils/formatter/formats/he.d.ts +20 -0
  204. package/angular/utils/formatter/formats/hu.d.ts +20 -0
  205. package/angular/utils/formatter/formats/it.d.ts +54 -0
  206. package/angular/utils/formatter/formats/ja.d.ts +20 -0
  207. package/angular/utils/formatter/formats/ko.d.ts +20 -0
  208. package/angular/utils/formatter/formats/mk.d.ts +20 -0
  209. package/angular/utils/formatter/formats/nl.d.ts +21 -0
  210. package/angular/utils/formatter/formats/no.d.ts +21 -0
  211. package/angular/utils/formatter/formats/pl.d.ts +20 -0
  212. package/angular/utils/formatter/formats/pt.d.ts +20 -0
  213. package/angular/utils/formatter/formats/ru.d.ts +20 -0
  214. package/angular/utils/formatter/formats/sv.d.ts +20 -0
  215. package/angular/utils/formatter/formats/tr.d.ts +21 -0
  216. package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
  217. package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
  218. package/angular/utils/formatter/formatter.d.ts +9 -0
  219. package/angular/utils/formatter/get-dataset-name.d.ts +2 -0
  220. package/angular/utils/formatter/localize.d.ts +3 -0
  221. package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  222. package/angular/utils/formatter/tests/calculate-duration.test.d.ts +1 -0
  223. package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +1 -0
  224. package/angular/utils/formatter/tests/default-local-formats.test.d.ts +1 -0
  225. package/angular/utils/formatter/tests/formatter.test.d.ts +1 -0
  226. package/angular/utils/formatter/tests/localize.test.d.ts +1 -0
  227. package/angular/utils/formula/base/formula-base.d.ts +117 -0
  228. package/angular/utils/formula/base/formula-input-base.d.ts +62 -0
  229. package/angular/utils/formula/codemirror/actions.d.ts +47 -0
  230. package/angular/utils/formula/codemirror/drop-cursor.d.ts +15 -0
  231. package/angular/utils/formula/codemirror/icon-element.d.ts +7 -0
  232. package/angular/utils/formula/codemirror/parser.d.ts +16 -0
  233. package/angular/utils/formula/codemirror/tests/actions.test.d.ts +1 -0
  234. package/angular/utils/formula/codemirror/theme.d.ts +20 -0
  235. package/angular/utils/formula/codemirror/widget.d.ts +18 -0
  236. package/angular/utils/formula/config/aggregations.d.ts +9 -0
  237. package/angular/utils/formula/config/build-datasets.d.ts +10 -0
  238. package/angular/utils/formula/config/expression-helpers.d.ts +42 -0
  239. package/angular/utils/formula/config/functions.d.ts +3 -0
  240. package/angular/utils/formula/config/groupings.d.ts +9 -0
  241. package/angular/utils/formula/config/regex.d.ts +39 -0
  242. package/angular/utils/formula/config/resolve-column-presentation.d.ts +19 -0
  243. package/angular/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
  244. package/angular/utils/formula/config/validate-expression.d.ts +19 -0
  245. package/angular/utils/formula/load-formula-codemirror.d.ts +4 -0
  246. package/angular/utils/formula/render-explanation-tooltip.d.ts +7 -0
  247. package/angular/utils/formula/store/formula-display-store.d.ts +93 -0
  248. package/angular/utils/formula/store/formula-editor-context.d.ts +8 -0
  249. package/angular/utils/formula/store/formula-editor-store.d.ts +46 -0
  250. package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +1 -0
  251. package/angular/utils/formula/tests/validate-expression.test.d.ts +1 -0
  252. package/angular/utils/get-css-variable.d.ts +1 -0
  253. package/angular/utils/index.d.ts +10 -0
  254. package/angular/utils/localize/set-locale.d.ts +7 -0
  255. package/angular/utils/map-tile-providers/index.d.ts +93 -0
  256. package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
  257. package/angular/utils/slot-content/render-calculation-label.d.ts +7 -0
  258. package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
  259. package/angular/utils/slot-state/slot-context.d.ts +4 -0
  260. package/angular/utils/slot-state/slot-store.d.ts +39 -0
  261. package/angular/utils/store/base-store.d.ts +162 -0
  262. package/angular/utils/store/dashboard-store.d.ts +49 -0
  263. package/angular/utils/store/index.d.ts +135 -0
  264. package/angular/utils/store/item-store.d.ts +33 -0
  265. package/angular/utils/store/store-registry.d.ts +170 -0
  266. package/angular/utils/store/tests/dashboard-store.test.d.ts +1 -0
  267. package/angular/utils/store/tests/item-store.test.d.ts +1 -0
  268. package/angular/utils/store/tests/store-registry.test.d.ts +1 -0
  269. package/angular/utils/store/types.d.ts +270 -0
  270. package/angular/utils/switch-item/index.d.ts +34 -0
  271. package/angular/utils/switch-item/slot-role-classification.d.ts +31 -0
  272. package/angular/utils/switch-item/stories/switch-item.stories.d.ts +17 -0
  273. package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +1 -0
  274. package/angular/utils/switch-item/tests/switch-item.test.d.ts +1 -0
  275. package/angular/utils/themes/bliss.d.ts +2 -0
  276. package/angular/utils/themes/classic-dark.d.ts +2 -0
  277. package/angular/utils/themes/classic.d.ts +2 -0
  278. package/angular/utils/themes/default-dark.d.ts +2 -0
  279. package/angular/utils/themes/default.d.ts +2 -0
  280. package/angular/utils/themes/index.d.ts +4 -0
  281. package/angular/utils/themes/orion.d.ts +2 -0
  282. package/angular/utils/themes/pinky.d.ts +2 -0
  283. package/angular/utils/themes/radiant.d.ts +2 -0
  284. package/angular/utils/themes/royale.d.ts +2 -0
  285. package/angular/utils/themes/seasonal.d.ts +2 -0
  286. package/angular/utils/themes/urban.d.ts +2 -0
  287. package/angular/utils/themes/vivid.d.ts +2 -0
  288. package/angular/utils/time/formats.const.d.ts +4 -0
  289. package/angular/utils/time/period-over-period-condition.const.d.ts +8 -0
  290. package/angular/utils/time/periods.const.d.ts +15 -0
  291. package/angular/utils/timezone/datetime-timezone.d.ts +25 -0
  292. package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
  293. package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +9 -0
  294. package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +30 -0
  295. package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +1 -0
  296. package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +1 -0
  297. package/angular/utils/types/tests/type-check.test.d.ts +1 -0
  298. package/angular/utils/types/type-check.d.ts +28 -0
  299. package/components/ad-hoc-slot-content-BwcFfXCV.cjs +20 -0
  300. package/components/ad-hoc-slot-content-hSlT62VS.js +29 -0
  301. package/components/ai-chat/ai-chat-events.d.ts +123 -0
  302. package/components/ai-chat/ai-chat-request.d.ts +20 -0
  303. package/components/ai-chat/ai-chat.d.ts +318 -0
  304. package/components/ai-chat/ai-prompt-types.d.ts +118 -0
  305. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +46 -0
  306. package/components/ai-chat/empty-state/index.d.ts +8 -0
  307. package/components/ai-chat/empty-state/types.d.ts +14 -0
  308. package/components/ai-chat/index.cjs +20 -0
  309. package/components/ai-chat/index.d.ts +23 -0
  310. package/components/ai-chat/index.js +29 -0
  311. package/components/ai-chat/session/ai-chat-session-controller.d.ts +57 -0
  312. package/components/ai-chat/session/ai-chat-session-types.d.ts +101 -0
  313. package/components/ai-chat/session/ai-chat-session.d.ts +102 -0
  314. package/components/ai-chat/session/index.d.ts +2 -0
  315. package/components/ai-chat/stream/chunk-extractors.d.ts +27 -0
  316. package/components/ai-chat/stream/index.d.ts +52 -0
  317. package/components/ai-chat/stream/progress.d.ts +3 -0
  318. package/components/ai-chat/stream/registry.d.ts +6 -0
  319. package/components/ai-chat/stream/stream-processor.d.ts +2 -0
  320. package/components/ai-chat/stream/transport.d.ts +26 -0
  321. package/components/ai-chat/stream/types.d.ts +55 -0
  322. package/components/ai-chat-CDSRFmJK.js +4034 -0
  323. package/components/ai-chat-CVNU2mCV.cjs +319 -0
  324. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +212 -0
  325. package/components/ai-interaction-textarea/index.cjs +20 -0
  326. package/components/ai-interaction-textarea/index.d.ts +8 -0
  327. package/components/ai-interaction-textarea/index.js +28 -0
  328. package/components/ai-interaction-textarea/types.d.ts +10 -0
  329. package/components/ai-interaction-textarea-BXDeplJF.cjs +93 -0
  330. package/components/ai-interaction-textarea-BiMbUGCy.js +785 -0
  331. package/components/area-chart-options.config-Dc4P64YS.js +229 -0
  332. package/components/area-chart-positioning.config-SLtTkKJB.js +55 -0
  333. package/components/area-chart-positioning.config-dwRUFC--.cjs +20 -0
  334. package/components/area-chart-slots.config-DdPO34_g.js +55 -0
  335. package/components/bar-chart-options.config-B7tknpxM.js +300 -0
  336. package/components/bar-chart-positioning.config-CcQ2iQdl.cjs +20 -0
  337. package/components/bar-chart-positioning.config-Ch4sVyJS.js +59 -0
  338. package/components/bar-chart-slots.config-BnbZRLIr.js +50 -0
  339. package/components/base-2sulw8ws.js +249 -0
  340. package/components/base-DYRe99_q.cjs +20 -0
  341. package/components/box-plot-options.config-D6Wvmx36.js +356 -0
  342. package/components/box-plot-positioning.config-Bb7r-Rfl.js +48 -0
  343. package/components/box-plot-positioning.config-Dwtiqho4.cjs +20 -0
  344. package/components/box-plot-slots.config-D6F2R2dw.js +40 -0
  345. package/components/bubble-chart-options.config-CDY6pFK6.js +135 -0
  346. package/components/bubble-chart-positioning.config-Bp_l4Cw1.cjs +20 -0
  347. package/components/bubble-chart-positioning.config-Q7mIfpcz.js +55 -0
  348. package/components/bubble-chart-slots.config-BJdtdpS0.js +47 -0
  349. package/components/bullet-chart-options.config-B4vBSWrH.js +75 -0
  350. package/components/bullet-chart-positioning.config-B7aXCajU.js +56 -0
  351. package/components/bullet-chart-positioning.config-sj7E3xEM.cjs +20 -0
  352. package/components/bullet-chart-slots.config-NeUTKgYI.js +46 -0
  353. package/components/choropleth-map-options.config-6-xaMCeR.js +348 -0
  354. package/components/choropleth-map-positioning.config-CtoJov9H.js +55 -0
  355. package/components/choropleth-map-positioning.config-DM-iNbgs.cjs +20 -0
  356. package/components/choropleth-map-slots.config-BbBwTeuw.js +53 -0
  357. package/components/circle-pack-chart-options.config-DWkyGqA_.js +54 -0
  358. package/components/circle-pack-chart-positioning.config-BgxnBOQT.js +48 -0
  359. package/components/circle-pack-chart-positioning.config-Cs9xMDpi.cjs +20 -0
  360. package/components/circle-pack-chart-slots.config-CJFjalBn.js +38 -0
  361. package/components/circular-gauge-options.config-D_xHWhBy.js +188 -0
  362. package/components/circular-gauge-positioning.config-Bzulob5F.cjs +20 -0
  363. package/components/circular-gauge-positioning.config-FEkbw6hK.js +48 -0
  364. package/components/circular-gauge-slots.config-DAKsa5Hq.js +39 -0
  365. package/components/column-chart-options.config-B_a7iN-c.js +299 -0
  366. package/components/column-chart-positioning.config-9ho9oUo8.cjs +20 -0
  367. package/components/column-chart-positioning.config-BeVOSQaJ.js +55 -0
  368. package/components/column-chart-slots.config-Bpr-WaCi.js +50 -0
  369. package/components/combination-chart-options.config-l4szBpws.js +150 -0
  370. package/components/combination-chart-positioning.config-CaShl4vv.cjs +20 -0
  371. package/components/combination-chart-positioning.config-D4VUK54k.js +48 -0
  372. package/components/combination-chart-slots.config-u-QLoQQ-.js +43 -0
  373. package/components/conditional-number-options.config-DB4_BYN2.js +205 -0
  374. package/components/conditional-number-positioning.config-BEMjjhdi.cjs +20 -0
  375. package/components/conditional-number-positioning.config-C-LpjCJN.js +48 -0
  376. package/components/conditional-number-slots.config-CiLUXRSe.js +39 -0
  377. package/components/convert-data-field-to-slot-content-C6IIqU7G.js +53 -0
  378. package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +20 -0
  379. package/components/convert-datasets-to-data-fields-B13rl1an.cjs +20 -0
  380. package/components/convert-datasets-to-data-fields-PmQzeVLG.js +68 -0
  381. package/components/data-field/index.cjs +1 -1
  382. package/components/data-field/index.d.ts +1 -0
  383. package/components/data-field/index.js +1 -1
  384. package/components/data-field-Dz0XFrep.js +121 -0
  385. package/components/data-field-lGJ557o4.cjs +54 -0
  386. package/components/data-field-level/data-field-level.d.ts +40 -0
  387. package/components/data-field-level/helpers/generate-preview.d.ts +9 -0
  388. package/components/data-field-level/index.cjs +20 -0
  389. package/components/data-field-level/index.d.ts +8 -0
  390. package/components/data-field-level/index.js +28 -0
  391. package/components/data-field-level-B9r4ucP6.cjs +55 -0
  392. package/components/data-field-level-DJoidlHN.js +247 -0
  393. package/components/data-field-panel/index.cjs +1 -1
  394. package/components/data-field-panel/index.d.ts +1 -0
  395. package/components/data-field-panel/index.js +1 -1
  396. package/components/data-field-panel-BzyjbJO5.cjs +87 -0
  397. package/components/data-field-panel-CdeJxZCr.js +385 -0
  398. package/components/data-fields-select/data-fields-select.d.ts +133 -0
  399. package/components/data-fields-select/index.cjs +20 -0
  400. package/components/data-fields-select/index.d.ts +9 -0
  401. package/components/data-fields-select/index.js +28 -0
  402. package/components/data-fields-select/types.d.ts +4 -0
  403. package/components/data-fields-select-BBzzUG2u.cjs +41 -0
  404. package/components/data-fields-select-BRBBrS-x.js +280 -0
  405. package/components/dataset-icon/dataset-icon.d.ts +45 -0
  406. package/components/dataset-icon/index.cjs +20 -0
  407. package/components/dataset-icon/index.d.ts +8 -0
  408. package/components/dataset-icon/index.js +28 -0
  409. package/components/dataset-icon/types.d.ts +11 -0
  410. package/components/dataset-icon-BAV0S4sZ.cjs +64 -0
  411. package/components/dataset-icon-CWT5Ju8w.js +125 -0
  412. package/components/dataset-selector-list/dataset-selector-list.d.ts +102 -0
  413. package/components/dataset-selector-list/index.cjs +20 -0
  414. package/components/dataset-selector-list/index.d.ts +8 -0
  415. package/components/dataset-selector-list/index.js +28 -0
  416. package/components/dataset-selector-list-DGCh1bvb.js +313 -0
  417. package/components/dataset-selector-list-xF3yKGan.cjs +75 -0
  418. package/components/dataset-selector-row/dataset-selector-row.d.ts +89 -0
  419. package/components/dataset-selector-row/index.cjs +20 -0
  420. package/components/dataset-selector-row/index.d.ts +8 -0
  421. package/components/dataset-selector-row/index.js +28 -0
  422. package/components/dataset-selector-row-BbnjxfIz.js +273 -0
  423. package/components/dataset-selector-row-fmrY3y86.cjs +79 -0
  424. package/components/date-comparison-filter-options.config-BSzzAJPM.js +126 -0
  425. package/components/date-comparison-filter-slots.config-Cvze969w.js +33 -0
  426. package/components/date-filter-options.config-C6VvDjd8.js +118 -0
  427. package/components/date-filter-slots.config-Y8hmQh0S.js +37 -0
  428. package/components/de-BzcAVqyW.cjs +20 -0
  429. package/components/de-CRrCVuH7.js +503 -0
  430. package/components/decompose-numeric-format-DGJua3rU.cjs +20 -0
  431. package/components/decompose-numeric-format-DS0j2wa1.js +36 -0
  432. package/components/decorate-DCJt-2rt.cjs +20 -0
  433. package/components/decorate-DyMgX_Uh.js +28 -0
  434. package/components/display-settings/display-settings.d.ts +117 -0
  435. package/components/display-settings/index.cjs +20 -0
  436. package/components/display-settings/index.d.ts +8 -0
  437. package/components/display-settings/index.js +28 -0
  438. package/components/display-settings/types.d.ts +9 -0
  439. package/components/display-settings-C9OQ4Eou.js +313 -0
  440. package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
  441. package/components/display-settings-binning/index.cjs +20 -0
  442. package/components/display-settings-binning/index.d.ts +8 -0
  443. package/components/display-settings-binning/index.js +28 -0
  444. package/components/display-settings-binning-B8E2H5cY.js +110 -0
  445. package/components/display-settings-binning-BBNL97l9.cjs +56 -0
  446. package/components/display-settings-datetime/display-settings-datetime.d.ts +86 -0
  447. package/components/display-settings-datetime/index.cjs +20 -0
  448. package/components/display-settings-datetime/index.d.ts +8 -0
  449. package/components/display-settings-datetime/index.js +28 -0
  450. package/components/display-settings-datetime-BBzvzwl5.js +413 -0
  451. package/components/display-settings-datetime-czjk5Msv.cjs +217 -0
  452. package/components/display-settings-eSQCidqh.cjs +140 -0
  453. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +29 -0
  454. package/components/display-settings-grand-totals/index.cjs +20 -0
  455. package/components/display-settings-grand-totals/index.d.ts +8 -0
  456. package/components/display-settings-grand-totals/index.js +28 -0
  457. package/components/display-settings-grand-totals-CF01m8x-.js +89 -0
  458. package/components/display-settings-grand-totals-RwMnGwFZ.cjs +44 -0
  459. package/components/display-settings-numeric/display-settings-numeric.d.ts +82 -0
  460. package/components/display-settings-numeric/helpers/constants.d.ts +19 -0
  461. package/components/display-settings-numeric/index.cjs +20 -0
  462. package/components/display-settings-numeric/index.d.ts +8 -0
  463. package/components/display-settings-numeric/index.js +28 -0
  464. package/components/display-settings-numeric-BcpwYX16.js +479 -0
  465. package/components/display-settings-numeric-C4X7oOEU.cjs +190 -0
  466. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +68 -0
  467. package/components/display-settings-period-over-period/helpers/constants.d.ts +44 -0
  468. package/components/display-settings-period-over-period/index.cjs +20 -0
  469. package/components/display-settings-period-over-period/index.d.ts +8 -0
  470. package/components/display-settings-period-over-period/index.js +28 -0
  471. package/components/display-settings-period-over-period-B8UNYZ0I.js +433 -0
  472. package/components/display-settings-period-over-period-BG9YAcCw.cjs +229 -0
  473. package/components/donut-chart-options.config-CjtEDiJI.js +207 -0
  474. package/components/donut-chart-positioning.config-CaADC7Qr.js +48 -0
  475. package/components/donut-chart-positioning.config-Dfws3ojS.cjs +20 -0
  476. package/components/donut-chart-slots.config-DilGk7ju.js +39 -0
  477. package/components/dropdown-filter-options.config-DFJKns3l.js +153 -0
  478. package/components/dropdown-filter-slots.config-7heZtoEY.js +38 -0
  479. package/components/en-CcLhGxIh.js +21 -0
  480. package/components/en-GB-DzkdeUQh.js +28 -0
  481. package/components/en-GB-uxY5qmIM.cjs +20 -0
  482. package/components/en-US-CcLhGxIh.js +21 -0
  483. package/components/en-US-q_Ruzags.cjs +20 -0
  484. package/components/en-q_Ruzags.cjs +20 -0
  485. package/components/es-BIgv-ijQ.js +503 -0
  486. package/components/es-mPmtD7j4.cjs +20 -0
  487. package/components/evolution-number-options.config-C3tU650w.js +228 -0
  488. package/components/evolution-number-positioning.config-C-OV1wpL.js +48 -0
  489. package/components/evolution-number-positioning.config-CI_2m2Sr.cjs +20 -0
  490. package/components/evolution-number-slots.config-noZzIHkT.js +37 -0
  491. package/components/filter-expression-picker/filter-expression-picker.d.ts +73 -0
  492. package/components/filter-expression-picker/index.cjs +20 -0
  493. package/components/filter-expression-picker/index.d.ts +7 -0
  494. package/components/filter-expression-picker/index.js +28 -0
  495. package/components/filter-expression-picker-CH2Fna8C.js +425 -0
  496. package/components/filter-expression-picker-_mfcXZ-n.cjs +38 -0
  497. package/components/filter-item/filter-item.d.ts +99 -0
  498. package/components/filter-item/index.cjs +20 -0
  499. package/components/filter-item/index.d.ts +7 -0
  500. package/components/filter-item/index.js +28 -0
  501. package/components/filter-item-5HCSM9cu.cjs +71 -0
  502. package/components/filter-item-CL3S9HOx.js +301 -0
  503. package/components/filter-parameter-picker/filter-parameter-picker.d.ts +87 -0
  504. package/components/filter-parameter-picker/filter-parameter-picker.helpers.d.ts +8 -0
  505. package/components/filter-parameter-picker/index.cjs +20 -0
  506. package/components/filter-parameter-picker/index.d.ts +9 -0
  507. package/components/filter-parameter-picker/index.js +28 -0
  508. package/components/filter-parameter-picker/types.d.ts +4 -0
  509. package/components/filter-parameter-picker-CU48aEOS.js +363 -0
  510. package/components/filter-parameter-picker-CxbAY5hy.cjs +123 -0
  511. package/components/filter-value-picker/filter-value-picker.d.ts +66 -0
  512. package/components/filter-value-picker/index.cjs +20 -0
  513. package/components/filter-value-picker/index.d.ts +7 -0
  514. package/components/filter-value-picker/index.js +28 -0
  515. package/components/filter-value-picker-CD8DjcHo.js +151 -0
  516. package/components/filter-value-picker-CRrUhngj.cjs +60 -0
  517. package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +44 -0
  518. package/components/filter-value-picker-datetime/index.cjs +20 -0
  519. package/components/filter-value-picker-datetime/index.d.ts +7 -0
  520. package/components/filter-value-picker-datetime/index.js +28 -0
  521. package/components/filter-value-picker-datetime-DS7IK9aN.js +139 -0
  522. package/components/filter-value-picker-datetime-dXaHpCRX.cjs +42 -0
  523. package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +83 -0
  524. package/components/filter-value-picker-hierarchy/index.cjs +20 -0
  525. package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
  526. package/components/filter-value-picker-hierarchy/index.js +28 -0
  527. package/components/filter-value-picker-hierarchy-k0T56CvH.js +232 -0
  528. package/components/filter-value-picker-hierarchy-kwnEzxIk.cjs +47 -0
  529. package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +83 -0
  530. package/components/filter-value-picker-numeric/index.cjs +20 -0
  531. package/components/filter-value-picker-numeric/index.d.ts +7 -0
  532. package/components/filter-value-picker-numeric/index.js +28 -0
  533. package/components/filter-value-picker-numeric-BVei4Vlc.cjs +48 -0
  534. package/components/filter-value-picker-numeric-BaQe4r82.js +219 -0
  535. package/components/filters/filters.d.ts +38 -4
  536. package/components/filters/index.cjs +1 -1
  537. package/components/filters/index.d.ts +4 -1
  538. package/components/filters/index.js +2 -2
  539. package/components/filters/transformations/clean-filters.d.ts +37 -0
  540. package/components/filters/transformations/filter-format.d.ts +54 -0
  541. package/components/filters/transformations/transform-filters.d.ts +27 -12
  542. package/components/filters/types.d.ts +48 -3
  543. package/components/filters-B70hF2NT.js +742 -0
  544. package/components/filters-ms2gFstA.cjs +153 -0
  545. package/components/formatter-BeXmurVe.cjs +20 -0
  546. package/components/formatter-Cq5dFCyU.js +1473 -0
  547. package/components/formula/index.cjs +1 -1
  548. package/components/formula/index.js +1 -1
  549. package/components/formula-DdgD312W.js +138 -0
  550. package/components/formula-codemirror/formula-codemirror.d.ts +79 -0
  551. package/components/formula-codemirror/index.d.ts +7 -0
  552. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +125 -0
  553. package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +7 -0
  554. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +28 -0
  555. package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +7 -0
  556. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +38 -0
  557. package/components/formula-codemirror-D3Z1Qa0J.js +12018 -0
  558. package/components/formula-codemirror-GoFCSp6r.cjs +215 -0
  559. package/components/formula-display-store-bPGDv_xk.js +1093 -0
  560. package/components/formula-display-store-eE3zaCyB.cjs +20 -0
  561. package/components/formula-draggable-field/formula-draggable-field.d.ts +53 -0
  562. package/components/formula-draggable-field/index.d.ts +8 -0
  563. package/components/formula-draggable-field/types.d.ts +24 -0
  564. package/components/formula-editor/index.cjs +1 -1
  565. package/components/formula-editor/index.d.ts +1 -0
  566. package/components/formula-editor/index.js +4 -3
  567. package/components/formula-editor-8wWzGGJr.cjs +224 -0
  568. package/components/formula-editor-BnWiiFr5.js +690 -0
  569. package/components/formula-field/formula-field.d.ts +20 -0
  570. package/components/formula-field/index.cjs +20 -0
  571. package/components/formula-field/index.d.ts +7 -0
  572. package/components/formula-field/index.js +28 -0
  573. package/components/formula-field-DlEgUu58.js +40 -0
  574. package/components/formula-field-IHf6I8mL.cjs +20 -0
  575. package/components/formula-glPlLx_5.cjs +45 -0
  576. package/components/formula-input-base-7I069pOJ.js +236 -0
  577. package/components/formula-input-base-D5yx7RYX.cjs +49 -0
  578. package/components/fr-BHUhOl6R.cjs +20 -0
  579. package/components/fr-CI9fC-NM.js +503 -0
  580. package/components/funnel-chart-options.config-6ifTq7Xh.js +207 -0
  581. package/components/funnel-chart-positioning.config-CNEeOwuT.js +48 -0
  582. package/components/funnel-chart-positioning.config-Cz8gQRh_.cjs +20 -0
  583. package/components/funnel-chart-slots.config-BWszdEe8.js +43 -0
  584. package/components/get-css-variable-B8sJUuig.cjs +20 -0
  585. package/components/get-css-variable-r1spgqX0.js +63 -0
  586. package/components/get-dataset-name-Bae0I2_J.cjs +20 -0
  587. package/components/get-dataset-name-OJK38mEs.js +27 -0
  588. package/components/groupings-B0qMZHSd.cjs +20 -0
  589. package/components/groupings-BZJTnpwR.js +52 -0
  590. package/components/heat-map-options.config-CezceVM3.js +224 -0
  591. package/components/heat-map-positioning.config-CEH6qyrN.cjs +20 -0
  592. package/components/heat-map-positioning.config-D-Ba4Ts_.js +48 -0
  593. package/components/heat-map-slots.config-Cwun49Qb.js +37 -0
  594. package/components/heat-table-options.config-C7kvRE10.js +372 -0
  595. package/components/heat-table-positioning.config-DCnowqOc.js +55 -0
  596. package/components/heat-table-positioning.config-DWNETZMx.cjs +20 -0
  597. package/components/heat-table-slots.config-nGB_B2mh.js +49 -0
  598. package/components/hexbin-map-options.config-8brGMkt_.js +276 -0
  599. package/components/hexbin-map-positioning.config-Br0pjvMN.js +48 -0
  600. package/components/hexbin-map-positioning.config-DoiUVZ8h.cjs +20 -0
  601. package/components/hexbin-map-slots.config-BK-ftozd.js +37 -0
  602. package/components/image-options.config-Cz55iN7J.js +153 -0
  603. package/components/image-slots.config-kvHutBFK.js +24 -0
  604. package/components/index.cjs +1 -793
  605. package/components/index.js +65 -6227
  606. package/components/interactive-viz-item/helpers/chart-helpers.d.ts +7 -0
  607. package/components/interactive-viz-item/index.cjs +20 -0
  608. package/components/interactive-viz-item/index.d.ts +10 -0
  609. package/components/interactive-viz-item/index.js +28 -0
  610. package/components/interactive-viz-item/interactive-viz-item.d.ts +96 -0
  611. package/components/interactive-viz-item/types.d.ts +117 -0
  612. package/components/interactive-viz-item-DZoRqeJW.cjs +247 -0
  613. package/components/interactive-viz-item-Dogksvpq.js +693 -0
  614. package/components/item-grid/index.cjs +1 -1
  615. package/components/item-grid/index.js +1 -1
  616. package/components/item-grid-VPRvzGCa.cjs +113 -0
  617. package/components/item-grid-ZQpp1brq.js +4559 -0
  618. package/components/item-menu/item-list/item-list.d.ts +37 -0
  619. package/components/item-option/index.cjs +1 -1
  620. package/components/item-option/index.js +1 -1
  621. package/components/item-option-B9tALelF.js +919 -0
  622. package/components/item-option-BRgOBMM0.cjs +252 -0
  623. package/components/item-option-action-button-group/index.cjs +1 -1
  624. package/components/item-option-action-button-group/index.js +1 -1
  625. package/components/item-option-action-button-group-BYE7i8Zd.cjs +53 -0
  626. package/components/item-option-action-button-group-WrHKP761.js +118 -0
  627. package/components/item-option-base/item-option-base.d.ts +23 -0
  628. package/components/item-option-base-CTBIeARi.cjs +56 -0
  629. package/components/item-option-base-CuxvyS-a.js +123 -0
  630. package/components/item-option-color-palette-picker/index.cjs +1 -1
  631. package/components/item-option-color-palette-picker/index.js +1 -1
  632. package/components/item-option-color-palette-picker-CyailqDd.cjs +40 -0
  633. package/components/item-option-color-palette-picker-eYAyoXM1.js +2041 -0
  634. package/components/item-option-color-picker/index.cjs +1 -1
  635. package/components/item-option-color-picker/index.js +1 -1
  636. package/components/item-option-color-picker-D_x6FgZy.js +87 -0
  637. package/components/item-option-color-picker-DsfZKPDo.cjs +34 -0
  638. package/components/item-option-color-range/index.cjs +1 -1
  639. package/components/item-option-color-range/index.js +1 -1
  640. package/components/item-option-color-range-CHSbql1w.js +220 -0
  641. package/components/item-option-color-range-tAMMKg6y.cjs +98 -0
  642. package/components/item-option-multi-language-field/index.cjs +1 -1
  643. package/components/item-option-multi-language-field/index.js +1 -1
  644. package/components/item-option-multi-language-field-D51cJ4BM.js +82 -0
  645. package/components/item-option-multi-language-field-DjWm-jWC.cjs +33 -0
  646. package/components/item-option-number-field/index.cjs +1 -1
  647. package/components/item-option-number-field/index.js +1 -1
  648. package/components/item-option-number-field-Dep43Ym5.cjs +38 -0
  649. package/components/item-option-number-field-Df56sivV.js +102 -0
  650. package/components/item-option-panel/index.cjs +1 -1
  651. package/components/item-option-panel/index.js +1 -1
  652. package/components/item-option-panel-BYCfnDeP.js +183 -0
  653. package/components/item-option-panel-ClDspg51.cjs +67 -0
  654. package/components/item-option-picker/index.cjs +1 -1
  655. package/components/item-option-picker/index.js +1 -1
  656. package/components/item-option-picker-BCsB7psT.js +77 -0
  657. package/components/item-option-picker-CBfFgSKs.cjs +37 -0
  658. package/components/item-option-position-picker/index.cjs +1 -1
  659. package/components/item-option-position-picker/index.js +1 -1
  660. package/components/item-option-position-picker-CXJGmmWF.js +117 -0
  661. package/components/item-option-position-picker-CYoOkH1m.cjs +32 -0
  662. package/components/item-option-positions-number-field/index.cjs +1 -1
  663. package/components/item-option-positions-number-field/index.js +1 -1
  664. package/components/item-option-positions-number-field-CNUCVm78.cjs +49 -0
  665. package/components/item-option-positions-number-field-CkfSHCFO.js +164 -0
  666. package/components/item-option-radio-button-group/index.cjs +1 -1
  667. package/components/item-option-radio-button-group/index.js +1 -1
  668. package/components/item-option-radio-button-group-CSyh4eS2.js +74 -0
  669. package/components/item-option-radio-button-group-ZIvbpJf9.cjs +37 -0
  670. package/components/item-option-slider/index.cjs +1 -1
  671. package/components/item-option-slider/index.js +1 -1
  672. package/components/item-option-slider-CTt5aYbb.js +96 -0
  673. package/components/item-option-slider-CaxIGDWN.cjs +33 -0
  674. package/components/item-option-switch/index.cjs +1 -1
  675. package/components/item-option-switch/index.js +1 -1
  676. package/components/item-option-switch-B91r65eW.js +69 -0
  677. package/components/item-option-switch-wEx5JkSe.cjs +30 -0
  678. package/components/item-option-text-field/index.cjs +1 -1
  679. package/components/item-option-text-field/index.js +1 -1
  680. package/components/item-option-text-field-BLcYkH-j.cjs +33 -0
  681. package/components/item-option-text-field-BvSCGhuH.js +80 -0
  682. package/components/item-options-configs.js +45 -45
  683. package/components/item-slot-drop/index.cjs +1 -1
  684. package/components/item-slot-drop/index.d.ts +2 -0
  685. package/components/item-slot-drop/index.js +1 -1
  686. package/components/item-slot-drop-Box1wnvM.js +331 -0
  687. package/components/item-slot-drop-n-lD8Zyh.cjs +91 -0
  688. package/components/item-slot-drop-panel/index.cjs +1 -1
  689. package/components/item-slot-drop-panel/index.js +1 -1
  690. package/components/item-slot-drop-panel-KtZKw0Ly.js +355 -0
  691. package/components/item-slot-drop-panel-sCkQ0dUU.cjs +57 -0
  692. package/components/item-slot-picker/index.cjs +1 -1
  693. package/components/item-slot-picker/index.js +1 -1
  694. package/components/item-slot-picker-Cm8o4A00.js +505 -0
  695. package/components/item-slot-picker-DKPE2NQn.cjs +174 -0
  696. package/components/item-slot-picker-panel/index.cjs +1 -1
  697. package/components/item-slot-picker-panel/index.js +1 -1
  698. package/components/item-slot-picker-panel-DK5jRBYs.cjs +81 -0
  699. package/components/item-slot-picker-panel-DOHi_8UO.js +448 -0
  700. package/components/item-slots-configs.js +45 -45
  701. package/components/line-chart-options.config-OeRMkKMP.js +248 -0
  702. package/components/line-chart-positioning.config-C05IZ4Jj.cjs +20 -0
  703. package/components/line-chart-positioning.config-DQfyOkWV.js +55 -0
  704. package/components/line-chart-slots.config-C6LEwEwh.js +55 -0
  705. package/components/load-data-fields-for-datasets-BNnr8x3m.js +42 -0
  706. package/components/load-data-fields-for-datasets-CW4Voiex.cjs +20 -0
  707. package/components/localized-mixin-BForHr3t.cjs +20 -0
  708. package/components/localized-mixin-D-vXCJuU.js +45 -0
  709. package/components/marker-map-options.config-CtW7nl1C.js +117 -0
  710. package/components/marker-map-positioning.config-CD7n0uLB.js +48 -0
  711. package/components/marker-map-positioning.config-DOhXf-CR.cjs +20 -0
  712. package/components/marker-map-slots.config-Cyk-QFPT.js +37 -0
  713. package/components/nl-HLnZHvTS.js +503 -0
  714. package/components/nl-NxeHJ8X8.cjs +20 -0
  715. package/components/ohlc-chart-options.config-Db40TXcB.js +124 -0
  716. package/components/ohlc-chart-positioning.config-Bl-ckdlQ.js +78 -0
  717. package/components/ohlc-chart-positioning.config-CDf77OgH.cjs +20 -0
  718. package/components/ohlc-chart-slots.config-CQFi8BIT.js +68 -0
  719. package/components/parallel-coordinates-plot-options.config-Bw8T5EE4.js +42 -0
  720. package/components/parallel-coordinates-plot-positioning.config-DfsKsUdv.cjs +20 -0
  721. package/components/parallel-coordinates-plot-positioning.config-Tbzzr5L6.js +48 -0
  722. package/components/parallel-coordinates-plot-slots.config-D5o-5y_j.js +46 -0
  723. package/components/period-over-period-condition.const-BZ7j5Z5t.js +29 -0
  724. package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +20 -0
  725. package/components/pivot-table-options.config-gL2C_zvT.js +245 -0
  726. package/components/pivot-table-positioning.config-DwuKN2xz.cjs +20 -0
  727. package/components/pivot-table-positioning.config-_YDPeFQz.js +55 -0
  728. package/components/pivot-table-slots.config-Cl5z3IQo.js +55 -0
  729. package/components/pragmatic-element-adapter-C_7HSvGV.js +1252 -0
  730. package/components/pragmatic-element-adapter-DPWYJiW9.cjs +24 -0
  731. package/components/pyramid-chart-options.config-348RYXh8.js +260 -0
  732. package/components/pyramid-chart-positioning.config-7AJy2_zR.cjs +20 -0
  733. package/components/pyramid-chart-positioning.config-Btm_8m46.js +55 -0
  734. package/components/pyramid-chart-slots.config-DNzq2hMx.js +50 -0
  735. package/components/radar-chart-options.config-BeGjchnc.js +150 -0
  736. package/components/radar-chart-positioning.config-7Kx_uKbW.cjs +20 -0
  737. package/components/radar-chart-positioning.config-DWziVqMW.js +55 -0
  738. package/components/radar-chart-slots.config-CXgfvAkt.js +53 -0
  739. package/components/regular-table-options.config-Bf0VAtT_.js +148 -0
  740. package/components/regular-table-slots.config-DCkw4Xkq.js +35 -0
  741. package/components/route-map-options.config-DWG5127-.js +326 -0
  742. package/components/route-map-positioning.config-C4-2zLGp.js +66 -0
  743. package/components/route-map-positioning.config-DDgEAW4k.cjs +20 -0
  744. package/components/route-map-slots.config-DJ76FOsJ.js +59 -0
  745. package/components/sankey-diagram-options.config-DW72WBKU.js +126 -0
  746. package/components/sankey-diagram-positioning.config-BxVJaOKN.cjs +20 -0
  747. package/components/sankey-diagram-positioning.config-DQcUg8Cg.js +66 -0
  748. package/components/sankey-diagram-slots.config-BCc8P4j0.js +61 -0
  749. package/components/scatter-plot-options.config-CUyWy2xE.js +322 -0
  750. package/components/scatter-plot-positioning.config-D3xI_5P8.cjs +20 -0
  751. package/components/scatter-plot-positioning.config-DOgeShUF.js +77 -0
  752. package/components/scatter-plot-slots.config-BMTdhTZG.js +74 -0
  753. package/components/search-filter-options.config-B_qQjr68.js +103 -0
  754. package/components/search-filter-slots.config-qCILSYzs.js +39 -0
  755. package/components/set-locale-D9gR8t-s.js +43 -0
  756. package/components/set-locale-MQpiifTB.cjs +20 -0
  757. package/components/slicer-filter-options.config-DK62SCMp.js +235 -0
  758. package/components/slicer-filter-positioning.config-CiHfPrM5.js +48 -0
  759. package/components/slicer-filter-positioning.config-bN36DdLc.cjs +20 -0
  760. package/components/slicer-filter-slots.config-C9_NdJm4.js +44 -0
  761. package/components/slider-filter-options.config-CP5bXdih.js +72 -0
  762. package/components/slider-filter-slots.config-15eAAGVn.js +43 -0
  763. package/components/slot-menu/index.cjs +20 -0
  764. package/components/slot-menu/index.d.ts +10 -0
  765. package/components/slot-menu/index.js +28 -0
  766. package/components/slot-menu/slot-menu.d.ts +148 -0
  767. package/components/slot-menu/types.d.ts +24 -0
  768. package/components/slot-menu-K5QiEu6o.cjs +71 -0
  769. package/components/slot-menu-Qy35BZZ_.js +426 -0
  770. package/components/slot-menu-list/index.cjs +20 -0
  771. package/components/slot-menu-list/index.d.ts +8 -0
  772. package/components/slot-menu-list/index.js +28 -0
  773. package/components/slot-menu-list/slot-menu-list.d.ts +47 -0
  774. package/components/slot-menu-list-BKMbIFg1.js +347 -0
  775. package/components/slot-menu-list-DmQe7882.cjs +44 -0
  776. package/components/slot-role-classification-2wChhpcq.cjs +20 -0
  777. package/components/slot-role-classification-B8bkGhQ_.js +133 -0
  778. package/components/slots-config-Cd4xAG4H.cjs +20 -0
  779. package/components/slots-config-D3ivNWtC.js +76 -0
  780. package/components/speedometer-chart-options.config-CtWGujmb.js +246 -0
  781. package/components/speedometer-chart-positioning.config-B7M91sKN.js +48 -0
  782. package/components/speedometer-chart-positioning.config-Ce70l0Ei.cjs +20 -0
  783. package/components/speedometer-chart-slots.config-DfTw7JTF.js +39 -0
  784. package/components/spike-map-options.config-Ch0p9Q5l.js +413 -0
  785. package/components/spike-map-positioning.config-D3wIf0RU.cjs +20 -0
  786. package/components/spike-map-positioning.config-Qf4LOPvB.js +55 -0
  787. package/components/spike-map-slots.config-i-c0F9QM.js +47 -0
  788. package/components/strip-plot-options.config-WICS2rnK.js +53 -0
  789. package/components/strip-plot-positioning.config-BIoncLjm.cjs +20 -0
  790. package/components/strip-plot-positioning.config-MbfBVHf8.js +48 -0
  791. package/components/strip-plot-slots.config-BuF7X3xN.js +38 -0
  792. package/components/sunburst-chart-options.config-Bz-jP-gZ.js +180 -0
  793. package/components/sunburst-chart-positioning.config-CqyXZPxE.js +48 -0
  794. package/components/sunburst-chart-positioning.config-zqPLL8yF.cjs +20 -0
  795. package/components/sunburst-chart-slots.config-Cq-E6kyI.js +38 -0
  796. package/components/symbol-map-options.config-I89tFJUU.js +177 -0
  797. package/components/symbol-map-positioning.config-CQ4Vxu96.cjs +20 -0
  798. package/components/symbol-map-positioning.config-plXDTBA3.js +55 -0
  799. package/components/symbol-map-slots.config-BfdBHkzN.js +53 -0
  800. package/components/text-options.config-BUiRyi3L.js +67 -0
  801. package/components/text-slots.config-CM_ZaW3p.js +24 -0
  802. package/components/treemap-chart-options.config-i7BH9mNl.js +204 -0
  803. package/components/treemap-chart-positioning.config-BTGBN1f9.js +55 -0
  804. package/components/treemap-chart-positioning.config-CSZXzuT5.cjs +20 -0
  805. package/components/treemap-chart-slots.config-CHkGtIOa.js +47 -0
  806. package/components/utils/base.cjs +1 -1
  807. package/components/utils/base.js +2 -2
  808. package/components/utils/store.js +1 -1
  809. package/components/utils-BDvDwAn7.cjs +20 -0
  810. package/components/utils-Z9xbTTWG.js +240 -0
  811. package/components/utils.cjs +1 -1
  812. package/components/utils.js +9 -6
  813. package/components/venn-diagram-options.config-Wi0dQsAu.js +24 -0
  814. package/components/venn-diagram-positioning.config-C4vcZDtW.cjs +20 -0
  815. package/components/venn-diagram-positioning.config-fPvrjtfX.js +55 -0
  816. package/components/venn-diagram-slots.config-DY04aeYK.js +47 -0
  817. package/components/video-options.config-B6pQUPB7.js +127 -0
  818. package/components/video-slots.config-C-kXGzo3.js +24 -0
  819. package/components/viz-item-menu/index.cjs +20 -0
  820. package/components/viz-item-menu/index.d.ts +8 -0
  821. package/components/viz-item-menu/index.js +28 -0
  822. package/components/viz-item-menu/types.d.ts +9 -0
  823. package/components/viz-item-menu/viz-item-menu.d.ts +75 -0
  824. package/components/viz-item-menu-DxA295eM.cjs +55 -0
  825. package/components/viz-item-menu-vckPQBdf.js +170 -0
  826. package/components/wordcloud-chart-options.config-D_AhgZRs.js +90 -0
  827. package/components/wordcloud-chart-positioning.config-Cf1ErL-B.cjs +20 -0
  828. package/components/wordcloud-chart-positioning.config-ChUx_Ahc.js +55 -0
  829. package/components/wordcloud-chart-slots.config-Cc5F92Tv.js +45 -0
  830. package/custom-elements.json +17712 -5888
  831. package/deprecated-react/components/ai-chat.component.cjs +1 -0
  832. package/deprecated-react/components/ai-interaction-textarea.component.cjs +1 -0
  833. package/deprecated-react/components/data-field-level.component.cjs +1 -0
  834. package/deprecated-react/components/data-fields-select.component.cjs +1 -0
  835. package/deprecated-react/components/dataset-icon.component.cjs +1 -0
  836. package/deprecated-react/components/dataset-selector-list.component.cjs +1 -0
  837. package/deprecated-react/components/dataset-selector-row.component.cjs +1 -0
  838. package/deprecated-react/components/display-settings-binning.component.cjs +1 -0
  839. package/deprecated-react/components/display-settings-datetime.component.cjs +1 -0
  840. package/deprecated-react/components/display-settings-grand-totals.component.cjs +1 -0
  841. package/deprecated-react/components/display-settings-numeric.component.cjs +1 -0
  842. package/deprecated-react/components/display-settings-period-over-period.component.cjs +1 -0
  843. package/deprecated-react/components/display-settings.component.cjs +1 -0
  844. package/deprecated-react/components/filter-expression-picker.component.cjs +1 -0
  845. package/deprecated-react/components/filter-item.component.cjs +1 -0
  846. package/deprecated-react/components/filter-parameter-picker.component.cjs +1 -0
  847. package/deprecated-react/components/filter-value-picker-datetime.component.cjs +1 -0
  848. package/deprecated-react/components/filter-value-picker-hierarchy.component.cjs +1 -0
  849. package/deprecated-react/components/filter-value-picker-numeric.component.cjs +1 -0
  850. package/deprecated-react/components/filter-value-picker.component.cjs +1 -0
  851. package/deprecated-react/components/formula-field.component.cjs +1 -0
  852. package/deprecated-react/components/interactive-viz-item.component.cjs +1 -0
  853. package/deprecated-react/components/slot-menu-list.component.cjs +1 -0
  854. package/deprecated-react/components/slot-menu.component.cjs +1 -0
  855. package/deprecated-react/components/viz-item-menu.component.cjs +1 -0
  856. package/index.d.ts +25 -0
  857. package/package.json +128 -3
  858. package/react/components/ai-chat.component.ts +45 -0
  859. package/react/components/ai-interaction-textarea.component.ts +30 -0
  860. package/react/components/data-field-level.component.ts +30 -0
  861. package/react/components/data-fields-select.component.ts +27 -0
  862. package/react/components/dataset-icon.component.ts +22 -0
  863. package/react/components/dataset-selector-list.component.ts +27 -0
  864. package/react/components/dataset-selector-row.component.ts +30 -0
  865. package/react/components/display-settings-binning.component.ts +27 -0
  866. package/react/components/display-settings-datetime.component.ts +27 -0
  867. package/react/components/display-settings-grand-totals.component.ts +27 -0
  868. package/react/components/display-settings-numeric.component.ts +27 -0
  869. package/react/components/display-settings-period-over-period.component.ts +27 -0
  870. package/react/components/display-settings.component.ts +33 -0
  871. package/react/components/filter-expression-picker.component.ts +27 -0
  872. package/react/components/filter-item.component.ts +27 -0
  873. package/react/components/filter-parameter-picker.component.ts +33 -0
  874. package/react/components/filter-value-picker-datetime.component.ts +27 -0
  875. package/react/components/filter-value-picker-hierarchy.component.ts +27 -0
  876. package/react/components/filter-value-picker-numeric.component.ts +27 -0
  877. package/react/components/filter-value-picker.component.ts +27 -0
  878. package/react/components/filters.component.ts +9 -3
  879. package/react/components/formula-field.component.ts +30 -0
  880. package/react/components/interactive-viz-item.component.ts +33 -0
  881. package/react/components/slot-menu-list.component.ts +27 -0
  882. package/react/components/slot-menu.component.ts +42 -0
  883. package/react/components/viz-item-menu.component.ts +33 -0
  884. package/react/esm/components/ai-chat.component.d.ts +24 -0
  885. package/react/esm/components/ai-chat.component.js +29 -0
  886. package/react/esm/components/ai-interaction-textarea.component.d.ts +14 -0
  887. package/react/esm/components/ai-interaction-textarea.component.js +19 -0
  888. package/react/esm/components/data-field-level.component.d.ts +14 -0
  889. package/react/esm/components/data-field-level.component.js +19 -0
  890. package/react/esm/components/data-fields-select.component.d.ts +12 -0
  891. package/react/esm/components/data-fields-select.component.js +17 -0
  892. package/react/esm/components/dataset-icon.component.d.ts +8 -0
  893. package/react/esm/components/dataset-icon.component.js +13 -0
  894. package/react/esm/components/dataset-selector-list.component.d.ts +12 -0
  895. package/react/esm/components/dataset-selector-list.component.js +17 -0
  896. package/react/esm/components/dataset-selector-row.component.d.ts +14 -0
  897. package/react/esm/components/dataset-selector-row.component.js +19 -0
  898. package/react/esm/components/display-settings-binning.component.d.ts +12 -0
  899. package/react/esm/components/display-settings-binning.component.js +17 -0
  900. package/react/esm/components/display-settings-datetime.component.d.ts +12 -0
  901. package/react/esm/components/display-settings-datetime.component.js +17 -0
  902. package/react/esm/components/display-settings-grand-totals.component.d.ts +12 -0
  903. package/react/esm/components/display-settings-grand-totals.component.js +17 -0
  904. package/react/esm/components/display-settings-numeric.component.d.ts +12 -0
  905. package/react/esm/components/display-settings-numeric.component.js +17 -0
  906. package/react/esm/components/display-settings-period-over-period.component.d.ts +12 -0
  907. package/react/esm/components/display-settings-period-over-period.component.js +17 -0
  908. package/react/esm/components/display-settings.component.d.ts +16 -0
  909. package/react/esm/components/display-settings.component.js +21 -0
  910. package/react/esm/components/filter-expression-picker.component.d.ts +12 -0
  911. package/react/esm/components/filter-expression-picker.component.js +17 -0
  912. package/react/esm/components/filter-item.component.d.ts +12 -0
  913. package/react/esm/components/filter-item.component.js +17 -0
  914. package/react/esm/components/filter-parameter-picker.component.d.ts +16 -0
  915. package/react/esm/components/filter-parameter-picker.component.js +21 -0
  916. package/react/esm/components/filter-value-picker-datetime.component.d.ts +12 -0
  917. package/react/esm/components/filter-value-picker-datetime.component.js +17 -0
  918. package/react/esm/components/filter-value-picker-hierarchy.component.d.ts +12 -0
  919. package/react/esm/components/filter-value-picker-hierarchy.component.js +17 -0
  920. package/react/esm/components/filter-value-picker-numeric.component.d.ts +12 -0
  921. package/react/esm/components/filter-value-picker-numeric.component.js +17 -0
  922. package/react/esm/components/filter-value-picker.component.d.ts +12 -0
  923. package/react/esm/components/filter-value-picker.component.js +17 -0
  924. package/react/esm/components/filters.component.d.ts +10 -2
  925. package/react/esm/components/filters.component.js +6 -2
  926. package/react/esm/components/formula-field.component.d.ts +14 -0
  927. package/react/esm/components/formula-field.component.js +19 -0
  928. package/react/esm/components/interactive-viz-item.component.d.ts +16 -0
  929. package/react/esm/components/interactive-viz-item.component.js +21 -0
  930. package/react/esm/components/slot-menu-list.component.d.ts +12 -0
  931. package/react/esm/components/slot-menu-list.component.js +17 -0
  932. package/react/esm/components/slot-menu.component.d.ts +22 -0
  933. package/react/esm/components/slot-menu.component.js +27 -0
  934. package/react/esm/components/viz-item-menu.component.d.ts +16 -0
  935. package/react/esm/components/viz-item-menu.component.js +21 -0
  936. package/react/esm/index.d.ts +27 -2
  937. package/react/esm/index.js +102 -2
  938. package/react/index.ts +102 -2
  939. package/react/luzmo-stub.d.ts +140 -0
  940. package/react/package.json +2 -2
  941. package/storybook/inject-global-vars.d.ts +1 -0
  942. package/storybook/register-components.d.ts +56 -0
  943. package/types/ai-chat.types.d.ts +95 -0
  944. package/types/data-field-events.types.d.ts +7 -0
  945. package/types.d.ts +8 -0
  946. package/components/area-chart-options.config-C49V29Y8.js +0 -229
  947. package/components/area-chart-positioning.config-1oFe5GQZ.cjs +0 -20
  948. package/components/area-chart-positioning.config-CpN8ybzu.js +0 -55
  949. package/components/area-chart-slots.config-DHeIgMLg.js +0 -55
  950. package/components/bar-chart-options.config-CL5P0qO3.js +0 -300
  951. package/components/bar-chart-positioning.config-D8xaCMCZ.cjs +0 -20
  952. package/components/bar-chart-positioning.config-FY7a9tkw.js +0 -59
  953. package/components/bar-chart-slots.config-DwTg8FbR.js +0 -50
  954. package/components/base-C637VyP1.cjs +0 -20
  955. package/components/base-DCUhSENj.js +0 -248
  956. package/components/box-plot-options.config-Qr3EjXtR.js +0 -356
  957. package/components/box-plot-positioning.config-B8KZRp7Z.cjs +0 -20
  958. package/components/box-plot-positioning.config-BDiLuilt.js +0 -48
  959. package/components/box-plot-slots.config-DiKHnGWa.js +0 -40
  960. package/components/bubble-chart-options.config-C5AjfJ-e.js +0 -135
  961. package/components/bubble-chart-positioning.config-B_iuArqa.js +0 -55
  962. package/components/bubble-chart-positioning.config-CjQj2Xw7.cjs +0 -20
  963. package/components/bubble-chart-slots.config-B8jVSy39.js +0 -47
  964. package/components/bullet-chart-options.config-oj1ECQfr.js +0 -75
  965. package/components/bullet-chart-positioning.config-DCIEjZ-u.js +0 -56
  966. package/components/bullet-chart-positioning.config-DYa0-Ssl.cjs +0 -20
  967. package/components/bullet-chart-slots.config-fNIvT9pt.js +0 -46
  968. package/components/choropleth-map-options.config-CBCRL0Q9.js +0 -348
  969. package/components/choropleth-map-positioning.config-CBaaidlT.js +0 -55
  970. package/components/choropleth-map-positioning.config-Cmgu7SkX.cjs +0 -20
  971. package/components/choropleth-map-slots.config-DEFBSjr_.js +0 -53
  972. package/components/circle-pack-chart-options.config-Ql_H79R5.js +0 -54
  973. package/components/circle-pack-chart-positioning.config-BpRTuvX3.js +0 -48
  974. package/components/circle-pack-chart-positioning.config-D-OOazzj.cjs +0 -20
  975. package/components/circle-pack-chart-slots.config-C88i4e0I.js +0 -38
  976. package/components/circular-gauge-options.config-DVqkM9J-.js +0 -188
  977. package/components/circular-gauge-positioning.config-CPmuEH4P.js +0 -48
  978. package/components/circular-gauge-positioning.config-CU5j-YVN.cjs +0 -20
  979. package/components/circular-gauge-slots.config-tCi8lb6r.js +0 -39
  980. package/components/column-chart-options.config-CP6dQDMX.js +0 -299
  981. package/components/column-chart-positioning.config-BZrwf5kb.js +0 -55
  982. package/components/column-chart-positioning.config-COLCV6uF.cjs +0 -20
  983. package/components/column-chart-slots.config-DlgmagVN.js +0 -50
  984. package/components/combination-chart-options.config-CxipfQJd.js +0 -150
  985. package/components/combination-chart-positioning.config-C7x9UeXL.cjs +0 -20
  986. package/components/combination-chart-positioning.config-vlhurz7H.js +0 -48
  987. package/components/combination-chart-slots.config-HWXOi_xL.js +0 -43
  988. package/components/conditional-number-options.config-DEoWU4SM.js +0 -205
  989. package/components/conditional-number-positioning.config-B5cUO8xu.cjs +0 -20
  990. package/components/conditional-number-positioning.config-B_yYXm1g.js +0 -48
  991. package/components/conditional-number-slots.config-B1c3brbY.js +0 -39
  992. package/components/data-field-DHgFf3bH.js +0 -341
  993. package/components/data-field-panel-D8jv5MJx.js +0 -384
  994. package/components/data-field-panel-DX_D-jOn.cjs +0 -87
  995. package/components/data-field-ud8KRJ4-.cjs +0 -89
  996. package/components/data-fields-select-CfGQXzkr.js +0 -261
  997. package/components/data-fields-select-DdNVT54e.cjs +0 -41
  998. package/components/date-comparison-filter-options.config-b46nQkma.js +0 -126
  999. package/components/date-comparison-filter-slots.config-BO_WlGJf.js +0 -33
  1000. package/components/date-filter-options.config-DsAxIR5F.js +0 -118
  1001. package/components/date-filter-slots.config-DOwkclvY.js +0 -37
  1002. package/components/de-CFFG1QN7.cjs +0 -20
  1003. package/components/de-CPcJgwTx.js +0 -488
  1004. package/components/display-settings-binning-D5PEKaBI.cjs +0 -56
  1005. package/components/display-settings-binning-DjRX5Ysr.js +0 -112
  1006. package/components/display-settings-datetime-CPBtYtAy.cjs +0 -217
  1007. package/components/display-settings-datetime-D0pphxmh.js +0 -415
  1008. package/components/display-settings-grand-totals-C4feNejJ.cjs +0 -44
  1009. package/components/display-settings-grand-totals-DlTKDKin.js +0 -91
  1010. package/components/display-settings-numeric-BFjHxdXz.cjs +0 -190
  1011. package/components/display-settings-numeric-CzC7orK1.js +0 -481
  1012. package/components/display-settings-period-over-period-CzQW7v30.cjs +0 -229
  1013. package/components/display-settings-period-over-period-DFWx_SLM.js +0 -434
  1014. package/components/donut-chart-options.config-wVCdbZZr.js +0 -207
  1015. package/components/donut-chart-positioning.config-S0YvSx2H.cjs +0 -20
  1016. package/components/donut-chart-positioning.config-_6eKwCtI.js +0 -48
  1017. package/components/donut-chart-slots.config-BiyZvM68.js +0 -39
  1018. package/components/dropdown-filter-options.config-D8Nr-pia.js +0 -153
  1019. package/components/dropdown-filter-slots.config-kuGNR6kG.js +0 -38
  1020. package/components/en-CSPDwq2y.cjs +0 -20
  1021. package/components/en-GB-CJR66Ci_.cjs +0 -20
  1022. package/components/en-GB-DPjL71xN.js +0 -28
  1023. package/components/en-US-CSPDwq2y.cjs +0 -20
  1024. package/components/en-US-dzaDznn9.js +0 -21
  1025. package/components/en-dzaDznn9.js +0 -21
  1026. package/components/es-Bd7rtLnM.cjs +0 -20
  1027. package/components/es-fXPjX3vY.js +0 -488
  1028. package/components/evolution-number-options.config-C3J_ZYpv.js +0 -228
  1029. package/components/evolution-number-positioning.config-BOdHq6-i.cjs +0 -20
  1030. package/components/evolution-number-positioning.config-tvmjQEaG.js +0 -48
  1031. package/components/evolution-number-slots.config-CoDxHhwF.js +0 -37
  1032. package/components/filters-B6jGM3ej.cjs +0 -323
  1033. package/components/filters-Dj6sRMSR.js +0 -1644
  1034. package/components/formula-BFcOs8RL.js +0 -137
  1035. package/components/formula-BcVDJ9m_.cjs +0 -45
  1036. package/components/formula-codemirror-DiVcMrIg.cjs +0 -215
  1037. package/components/formula-codemirror-J0QWRZ49.js +0 -12016
  1038. package/components/formula-display-store-BH4tCSWY.js +0 -1122
  1039. package/components/formula-display-store-BWDj367s.cjs +0 -20
  1040. package/components/formula-editor-Boo1er25.js +0 -895
  1041. package/components/formula-editor-N227w8sy.cjs +0 -253
  1042. package/components/fr-B50vb6LP.js +0 -488
  1043. package/components/fr-kmzf1vls.cjs +0 -20
  1044. package/components/funnel-chart-options.config-DjF4mn2V.js +0 -207
  1045. package/components/funnel-chart-positioning.config-B27G3I3l.cjs +0 -20
  1046. package/components/funnel-chart-positioning.config-qBendkC6.js +0 -48
  1047. package/components/funnel-chart-slots.config-YDfkl0W9.js +0 -43
  1048. package/components/get-css-variable-N_PVMivH.cjs +0 -20
  1049. package/components/get-css-variable-SptLB8Tz.js +0 -63
  1050. package/components/heat-map-options.config-Tr3qWkye.js +0 -224
  1051. package/components/heat-map-positioning.config-BF2SUfIH.cjs +0 -20
  1052. package/components/heat-map-positioning.config-C06WNZYE.js +0 -48
  1053. package/components/heat-map-slots.config-BTkTaVV1.js +0 -37
  1054. package/components/heat-table-options.config-cXCjQymW.js +0 -372
  1055. package/components/heat-table-positioning.config-B6fQCm6r.cjs +0 -20
  1056. package/components/heat-table-positioning.config-CtKVYd7I.js +0 -55
  1057. package/components/heat-table-slots.config-dqh1PMWX.js +0 -49
  1058. package/components/hexbin-map-options.config-Bc5rtsom.js +0 -276
  1059. package/components/hexbin-map-positioning.config-CC1odymH.js +0 -48
  1060. package/components/hexbin-map-positioning.config-CsDTcimL.cjs +0 -20
  1061. package/components/hexbin-map-slots.config-BrfF5JYT.js +0 -37
  1062. package/components/image-options.config-BQHeuAsU.js +0 -153
  1063. package/components/image-slots.config-ZRSv3b5w.js +0 -24
  1064. package/components/item-grid-B9Y-6W5m.cjs +0 -113
  1065. package/components/item-grid-pykaS5G4.js +0 -4558
  1066. package/components/item-option-DYXtwzIM.js +0 -919
  1067. package/components/item-option-XpGZVVdr.cjs +0 -252
  1068. package/components/item-option-action-button-group-CBtZKVx-.js +0 -118
  1069. package/components/item-option-action-button-group-DyzXk2JJ.cjs +0 -53
  1070. package/components/item-option-base-BrU7dJsV.js +0 -123
  1071. package/components/item-option-base-Cqo4amTV.cjs +0 -56
  1072. package/components/item-option-color-palette-picker-DEys6FIg.js +0 -2041
  1073. package/components/item-option-color-palette-picker-E49SIqt5.cjs +0 -40
  1074. package/components/item-option-color-picker-B8imRobf.js +0 -87
  1075. package/components/item-option-color-picker-DqEWnNcU.cjs +0 -34
  1076. package/components/item-option-color-range-CJnk4E24.cjs +0 -98
  1077. package/components/item-option-color-range-CqJwKIEd.js +0 -220
  1078. package/components/item-option-multi-language-field-Dp2Mpr5b.js +0 -82
  1079. package/components/item-option-multi-language-field-sgiTxGdm.cjs +0 -33
  1080. package/components/item-option-number-field-C3nRZtW1.js +0 -102
  1081. package/components/item-option-number-field-DT2HXuYC.cjs +0 -38
  1082. package/components/item-option-panel-DLdIbuAy.cjs +0 -67
  1083. package/components/item-option-panel-DwGkEeMw.js +0 -183
  1084. package/components/item-option-picker-Crb6PnE8.cjs +0 -37
  1085. package/components/item-option-picker-nS_nnfVF.js +0 -77
  1086. package/components/item-option-position-picker-BMuua3Lj.cjs +0 -32
  1087. package/components/item-option-position-picker-BbAOSkmu.js +0 -117
  1088. package/components/item-option-positions-number-field-BOp3cutd.js +0 -164
  1089. package/components/item-option-positions-number-field-DKSdRWTW.cjs +0 -49
  1090. package/components/item-option-radio-button-group-B_iWBD9w.js +0 -74
  1091. package/components/item-option-radio-button-group-DGbhldoK.cjs +0 -37
  1092. package/components/item-option-slider-4PSjHHGu.js +0 -96
  1093. package/components/item-option-slider-Ct0dd0ci.cjs +0 -33
  1094. package/components/item-option-switch-BbqKaspH.js +0 -69
  1095. package/components/item-option-switch-DgYg5msr.cjs +0 -30
  1096. package/components/item-option-text-field-DlDfvOFf.js +0 -80
  1097. package/components/item-option-text-field-DsYobVm7.cjs +0 -33
  1098. package/components/item-slot-drop-BuXYBvhO.js +0 -326
  1099. package/components/item-slot-drop-panel-4lKBdSdq.js +0 -354
  1100. package/components/item-slot-drop-panel-FLuz9znI.cjs +0 -57
  1101. package/components/item-slot-drop-pl3ZTBEo.cjs +0 -91
  1102. package/components/item-slot-picker-BllkOiQu.cjs +0 -174
  1103. package/components/item-slot-picker-C-lCNPY_.js +0 -500
  1104. package/components/item-slot-picker-panel-BsAwO_BR.cjs +0 -81
  1105. package/components/item-slot-picker-panel-Dn5yJrZi.js +0 -447
  1106. package/components/line-chart-options.config-DbEfF3_P.js +0 -248
  1107. package/components/line-chart-positioning.config-BTYG1EVp.cjs +0 -20
  1108. package/components/line-chart-positioning.config-Ca4m3l8g.js +0 -55
  1109. package/components/line-chart-slots.config-Dtdt3oil.js +0 -55
  1110. package/components/load-data-fields-for-datasets-BOcizGTk.cjs +0 -20
  1111. package/components/load-data-fields-for-datasets-B_SpkBqA.js +0 -86
  1112. package/components/localized-mixin-C-4Zk9oh.cjs +0 -20
  1113. package/components/localized-mixin-CRSfJ73Q.js +0 -52
  1114. package/components/marker-map-options.config-B9uOw9qk.js +0 -117
  1115. package/components/marker-map-positioning.config-C5VuPrAq.js +0 -48
  1116. package/components/marker-map-positioning.config-Ds7dX4x5.cjs +0 -20
  1117. package/components/marker-map-slots.config-CF-OLWDb.js +0 -37
  1118. package/components/nl-Do6FfV7U.js +0 -488
  1119. package/components/nl-FcPtgtcL.cjs +0 -20
  1120. package/components/ohlc-chart-options.config-CUXSO5cK.js +0 -124
  1121. package/components/ohlc-chart-positioning.config-B1E1qu9y.js +0 -78
  1122. package/components/ohlc-chart-positioning.config-BoWmcM8Y.cjs +0 -20
  1123. package/components/ohlc-chart-slots.config-BlsG3ikV.js +0 -68
  1124. package/components/parallel-coordinates-plot-options.config-BupZFL8M.js +0 -42
  1125. package/components/parallel-coordinates-plot-positioning.config-B3J9h4rQ.js +0 -48
  1126. package/components/parallel-coordinates-plot-positioning.config-DCn_VF7d.cjs +0 -20
  1127. package/components/parallel-coordinates-plot-slots.config-BX9mYub0.js +0 -46
  1128. package/components/period-over-period-condition.const-CLEyEn-5.js +0 -1663
  1129. package/components/period-over-period-condition.const-DDgiXIfR.cjs +0 -20
  1130. package/components/pivot-table-options.config-BhVQ-skJ.js +0 -245
  1131. package/components/pivot-table-positioning.config-DEZdZrYw.js +0 -55
  1132. package/components/pivot-table-positioning.config-_a8fijeQ.cjs +0 -20
  1133. package/components/pivot-table-slots.config-BpyBX1NS.js +0 -55
  1134. package/components/pragmatic-element-adapter-Ply5c6uO.js +0 -1252
  1135. package/components/pragmatic-element-adapter-SUClsRR1.cjs +0 -24
  1136. package/components/pyramid-chart-options.config-B271YknE.js +0 -260
  1137. package/components/pyramid-chart-positioning.config-ChK8059K.cjs +0 -20
  1138. package/components/pyramid-chart-positioning.config-tDeNGN2t.js +0 -55
  1139. package/components/pyramid-chart-slots.config-B8_Qqs5b.js +0 -50
  1140. package/components/radar-chart-options.config-kpK-dF2z.js +0 -150
  1141. package/components/radar-chart-positioning.config-BohPnY6O.js +0 -55
  1142. package/components/radar-chart-positioning.config-C00q0Cjc.cjs +0 -20
  1143. package/components/radar-chart-slots.config-rkMoLc6Z.js +0 -53
  1144. package/components/regular-table-options.config-CiITNIRD.js +0 -148
  1145. package/components/regular-table-slots.config-BU7B9OGz.js +0 -35
  1146. package/components/route-map-options.config-D1A47spF.js +0 -326
  1147. package/components/route-map-positioning.config-BFoD9vn8.cjs +0 -20
  1148. package/components/route-map-positioning.config-BKdyt6ko.js +0 -66
  1149. package/components/route-map-slots.config-v3BZi_k3.js +0 -59
  1150. package/components/sankey-diagram-options.config-Cs76JI4R.js +0 -126
  1151. package/components/sankey-diagram-positioning.config-QtjnfHQb.js +0 -66
  1152. package/components/sankey-diagram-positioning.config-lU-WAy9R.cjs +0 -20
  1153. package/components/sankey-diagram-slots.config-C7W-p_iq.js +0 -61
  1154. package/components/scatter-plot-options.config-KnuZCIK9.js +0 -322
  1155. package/components/scatter-plot-positioning.config-BMx7JzXT.js +0 -77
  1156. package/components/scatter-plot-positioning.config-Dl3dC8_q.cjs +0 -20
  1157. package/components/scatter-plot-slots.config-e4r8rPGq.js +0 -74
  1158. package/components/search-filter-options.config-BAxmEAiE.js +0 -103
  1159. package/components/search-filter-slots.config-Bh5AkIlV.js +0 -39
  1160. package/components/set-locale-1r0lDa7J.cjs +0 -20
  1161. package/components/set-locale-DBVSKk_b.js +0 -43
  1162. package/components/slicer-filter-options.config-B9G5S-w5.js +0 -235
  1163. package/components/slicer-filter-positioning.config-D0ySBKRi.js +0 -48
  1164. package/components/slicer-filter-positioning.config-V0xQ7zn4.cjs +0 -20
  1165. package/components/slicer-filter-slots.config-ClnjpKoR.js +0 -44
  1166. package/components/slider-filter-options.config-pVni2VeP.js +0 -72
  1167. package/components/slider-filter-slots.config-C8ndKeOs.js +0 -43
  1168. package/components/slot-menu-B18viCq_.js +0 -1056
  1169. package/components/slot-menu-I0ZOhAwn.cjs +0 -215
  1170. package/components/speedometer-chart-options.config-CRfWCHWe.js +0 -246
  1171. package/components/speedometer-chart-positioning.config-Bxh2OpBf.cjs +0 -20
  1172. package/components/speedometer-chart-positioning.config-DtvW38X7.js +0 -48
  1173. package/components/speedometer-chart-slots.config-BkKyAqra.js +0 -39
  1174. package/components/spike-map-options.config-01V52me2.js +0 -413
  1175. package/components/spike-map-positioning.config-DkEQ8a85.cjs +0 -20
  1176. package/components/spike-map-positioning.config-q0Ko-o6u.js +0 -55
  1177. package/components/spike-map-slots.config-Bu63-9ET.js +0 -47
  1178. package/components/strip-plot-options.config-CT8sqO2c.js +0 -53
  1179. package/components/strip-plot-positioning.config-DFPJ4BKu.cjs +0 -20
  1180. package/components/strip-plot-positioning.config-DVCL5TLA.js +0 -48
  1181. package/components/strip-plot-slots.config-QBq7bq-Q.js +0 -38
  1182. package/components/sunburst-chart-options.config-BIcUx_Ml.js +0 -180
  1183. package/components/sunburst-chart-positioning.config--XMbmimi.cjs +0 -20
  1184. package/components/sunburst-chart-positioning.config-Dy1GtLwf.js +0 -48
  1185. package/components/sunburst-chart-slots.config-BDR8g83g.js +0 -38
  1186. package/components/symbol-map-options.config-sY3sR_13.js +0 -177
  1187. package/components/symbol-map-positioning.config-CS7s_Zrs.js +0 -55
  1188. package/components/symbol-map-positioning.config-Cc_p6btx.cjs +0 -20
  1189. package/components/symbol-map-slots.config-BhHW2t4h.js +0 -53
  1190. package/components/text-options.config-zV8AxiZ-.js +0 -67
  1191. package/components/text-slots.config-CexlYey1.js +0 -24
  1192. package/components/treemap-chart-options.config-DaBT0Bud.js +0 -204
  1193. package/components/treemap-chart-positioning.config-C6iouW1J.js +0 -55
  1194. package/components/treemap-chart-positioning.config-DZ2hZtsF.cjs +0 -20
  1195. package/components/treemap-chart-slots.config-vuiywUbz.js +0 -47
  1196. package/components/utils-5J0VIvk6.cjs +0 -20
  1197. package/components/utils-C6ysI98r.js +0 -239
  1198. package/components/venn-diagram-options.config-CQIZxPZm.js +0 -24
  1199. package/components/venn-diagram-positioning.config-8NrocJLI.cjs +0 -20
  1200. package/components/venn-diagram-positioning.config-m2jp6blI.js +0 -55
  1201. package/components/venn-diagram-slots.config-VYaBQMGD.js +0 -47
  1202. package/components/video-options.config-CvyslCJl.js +0 -127
  1203. package/components/video-slots.config-CBtjayTL.js +0 -24
  1204. package/components/wordcloud-chart-options.config-B47Oxu0A.js +0 -90
  1205. package/components/wordcloud-chart-positioning.config-ClALXn39.js +0 -55
  1206. package/components/wordcloud-chart-positioning.config-DGD93axw.cjs +0 -20
  1207. package/components/wordcloud-chart-slots.config-CLNtT9m5.js +0 -45
@@ -0,0 +1,212 @@
1
+ import '@luzmo/lucero/action-button';
2
+ import '@luzmo/lucero/icon';
3
+ import '@luzmo/lucero/prompt-box';
4
+ import { LitElement, PropertyValues, TemplateResult } from 'lit';
5
+ import type { Dataset } from '../../types/dataset.types';
6
+ import type { PromptBoxAttachment, PromptBoxFileIcons } from './types';
7
+ import '../dataset-icon';
8
+ import '../dataset-selector-row';
9
+ /**
10
+ * @customElement luzmo-ai-interaction-textarea
11
+ * @summary A textarea for AI interaction with dataset selection. Uses Lucero `luzmo-prompt-box` for visuals; theme it with `--luzmo-prompt-box-*` on this host or an ancestor.
12
+ * @fires {CustomEvent<PromptSubmittedEventDetail>} prompt-submitted - Fired when a prompt is submitted with selected datasets
13
+ * @fires {CustomEvent<void>} prompt-stopped - Fired when a running prompt is stopped
14
+ *
15
+ * @property {boolean} disabled - When true, disables the entire component (opacity 60%, no interactions)
16
+ * @property {boolean} single-line - When true, starts in compact single-line mode and auto-expands as needed
17
+ * @property {boolean} hide-dataset-button - When true, hides the "+ Add dataset" button
18
+ * @property {boolean} hide-dataset-icons - When true, hides dataset-specific icons in selector tags and `@` mention dataset headers
19
+ * @property {boolean} disable-dataset-modification - When true, disables the "+ Add dataset" button and disables dataset pill removal
20
+ * @property {boolean} hide-selected-datasets - When true, hides the dataset row entirely
21
+ * @property {boolean} disable-column-mentions - When true, disables `@` trigger mentions completely
22
+ * @property {boolean} is-generating - When true, shows a spinning loader icon instead of the submit arrow
23
+ * @property {boolean} stoppable - When true, shows a stop control while `is-generating` is true
24
+ * @property {string} value - The current value of the textarea (can be controlled from parent to clear or set text)
25
+ * @property {boolean} retain-on-submit - When true, retains the input value after submission (default: false, clears on submit)
26
+ * @property {boolean} require-dataset - When true, at least one dataset must be selected before the prompt can be submitted
27
+ * @property {boolean} allow-images - When true, enables image attachments (paste or file picker); uploads eagerly on attach
28
+ * @property {boolean} allow-voice-input - When true, shows Lucero mic recording and streams transcript via `POST /aidictation`
29
+ * @property {string[]} accepted-file-types - Accepted MIME types or extensions for attachments (e.g. `image/png`, `.webp`)
30
+ * @property {string} api-version - API version for built-in `POST /upload` and `/aidictation` (default `0.1.0`)
31
+ * @property {Function} uploadAttachments - Optional override for eager image upload on attach; return one signed URL per file
32
+ *
33
+ * @property {string} --luzmo-ai-interaction-textarea-disabled-opacity - Opacity of the host when `disabled` (does not map to Lucero prompt-box tokens)
34
+ */
35
+ export declare class LuzmoAiInteractionTextarea extends LitElement {
36
+ static styles: import("lit").CSSResult;
37
+ static tagName: string;
38
+ /**
39
+ * Placeholder text for the textarea
40
+ */
41
+ placeholder: string;
42
+ /**
43
+ * Array of selected datasets
44
+ */
45
+ selectedDatasets: Dataset[];
46
+ /**
47
+ * Auth key for DataBroker authentication
48
+ */
49
+ authKey: string;
50
+ /**
51
+ * Auth token for DataBroker authentication
52
+ */
53
+ authToken: string;
54
+ /**
55
+ * API URL for DataBroker
56
+ * @default https://api.luzmo.com
57
+ */
58
+ apiUrl: string;
59
+ /**
60
+ * The URL of the app server for thumbnails and assets
61
+ * @default https://app.luzmo.com
62
+ */
63
+ appServer: string;
64
+ /**
65
+ * When true, restricts results to public datasets (opendata parity)
66
+ */
67
+ flagOpendata: boolean;
68
+ /**
69
+ * When true, disables the entire component (sets opacity to 60% and prevents all interactions)
70
+ */
71
+ disabled: boolean;
72
+ /**
73
+ * When true, starts in compact single-line mode and auto-expands as needed
74
+ */
75
+ singleLine: boolean;
76
+ /**
77
+ * When true, hides the "+ Add dataset" button
78
+ */
79
+ hideDatasetButton: boolean;
80
+ /**
81
+ * When true, hides dataset-specific icons in selector tags and @ mention dataset headers
82
+ */
83
+ hideDatasetIcons: boolean;
84
+ /**
85
+ * When true, disables the "+ Add dataset" button and disables dataset pill removal
86
+ */
87
+ disableDatasetModification: boolean;
88
+ /**
89
+ * When true, hides the dataset row entirely
90
+ */
91
+ hideSelectedDatasets: boolean;
92
+ /**
93
+ * When true, disables @ trigger mentions completely
94
+ */
95
+ disableColumnMentions: boolean;
96
+ /**
97
+ * When true, shows a spinning loader icon instead of the submit arrow
98
+ */
99
+ isGenerating: boolean;
100
+ /**
101
+ * When true, shows a stop control on the prompt box while `isGenerating` is true
102
+ */
103
+ stoppable: boolean;
104
+ /**
105
+ * The current value of the textarea (controlled from parent)
106
+ */
107
+ value: string;
108
+ /**
109
+ * When true, retains the input value after submitting a prompt (default: false)
110
+ * When false (default), clears the textarea value after submission
111
+ */
112
+ retainOnSubmit: boolean;
113
+ /**
114
+ * When true, at least one dataset must be selected before the prompt can be submitted
115
+ */
116
+ requireDataset: boolean;
117
+ /** When true, enables image attachments via paste or the file picker. */
118
+ allowImages: boolean;
119
+ /** When true, shows Lucero's mic control; the `POST /aidictation` transcript is inserted, never auto-sent. */
120
+ allowVoiceInput: boolean;
121
+ /** Accepted attachment MIME types or extensions. */
122
+ acceptedFileTypes: string[];
123
+ /** API version for built-in `POST /upload` and `POST /aidictation` (default `0.1.0`). */
124
+ apiVersion: string;
125
+ /** Optional upload override; return one signed URL per file. */
126
+ uploadAttachments?: (files: File[], options?: {
127
+ signal?: AbortSignal;
128
+ }) => Promise<string[]>;
129
+ /** Custom icons for non-image attachment tiles, keyed by extension. */
130
+ fileIcons: PromptBoxFileIcons;
131
+ private _promptValue;
132
+ private _isPromptValid;
133
+ private _fieldTriggerOptions;
134
+ private _datasetsFieldConfig;
135
+ private _attachmentError;
136
+ /** True while Lucero is capturing microphone audio. */
137
+ private _isRecording;
138
+ /** True while `/aidictation` is in flight (awaiting / streaming transcript). */
139
+ private _isTranscribing;
140
+ private _activeFieldRequestId;
141
+ private readonly _attachmentUploads;
142
+ private _pendingAttachmentSync;
143
+ private _attachmentSyncScheduled;
144
+ private _attachmentErrorClearHandle;
145
+ private _submitInProgress;
146
+ /** True from the start of a voice session until it completes, fails, or is cancelled. */
147
+ private _voiceSessionActive;
148
+ /** Exact prompt contents from when the current voice session started. */
149
+ private _preRecordingValue;
150
+ /** Text before the insert point (cursor at recording start). */
151
+ private _voicePrefix;
152
+ /** Text after the insert point (cursor at recording start). */
153
+ private _voiceSuffix;
154
+ /** Accumulated transcript for the current dictation request. */
155
+ private _streamedTranscript;
156
+ private _transcriptionController;
157
+ private _promptBox?;
158
+ private get _voiceBusy();
159
+ private get _buttonDisabled();
160
+ private get _promptPending();
161
+ private get _promptReadonly();
162
+ private get _actionsDisabled();
163
+ private get _fieldTriggers();
164
+ private _renderFieldTriggerIcon;
165
+ connectedCallback(): void;
166
+ disconnectedCallback(): void;
167
+ private _configureBroker;
168
+ private _handlePromptInput;
169
+ openFilePicker(): void;
170
+ addFiles(files: File[]): string[];
171
+ removeAttachment(id: string): void;
172
+ setAttachmentLoading(id: string, loading: boolean): void;
173
+ clearAttachments(): void;
174
+ getAttachments(): PromptBoxAttachment[];
175
+ getAttachmentUrls(attachments?: PromptBoxAttachment[]): string[];
176
+ private _handleAttachClick;
177
+ private _showAttachmentError;
178
+ private _cleanupAttachmentUpload;
179
+ private _abortAllAttachmentUploads;
180
+ private _uploadSingleFile;
181
+ private _startAttachmentUpload;
182
+ private _handleAttachmentsChange;
183
+ private _syncAttachments;
184
+ private _waitForAttachmentUploads;
185
+ private _submitPrompt;
186
+ private _handleDatasetSelected;
187
+ private _handleDatasetRemoved;
188
+ private _getLocalizedFieldLabel;
189
+ private _mapColumnToTriggerOption;
190
+ private _mapFormulaToTriggerOption;
191
+ private _updateFieldTriggerOptionsFromConfig;
192
+ private _refreshDatasetsFieldConfig;
193
+ private _handlePromptSubmit;
194
+ private _handlePromptStop;
195
+ private _handleVoiceKeydown;
196
+ private _getCaretTextOffset;
197
+ private _setPromptText;
198
+ private _captureVoiceInsertPoint;
199
+ private _applyStreamedTranscript;
200
+ private _resetVoiceSessionState;
201
+ private _abortTranscription;
202
+ private _cancelVoiceSession;
203
+ private _handleRecord;
204
+ private _handleRecordCancel;
205
+ private _handleRecordError;
206
+ private _handleRecordingComplete;
207
+ private _transcribeRecording;
208
+ private _syncControlledValueToPromptBox;
209
+ protected willUpdate(changedProperties: PropertyValues): void;
210
+ protected updated(changedProperties: PropertyValues): void;
211
+ protected render(): TemplateResult;
212
+ }
@@ -0,0 +1,20 @@
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
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../ai-interaction-textarea-BXDeplJF.cjs");Object.defineProperty(exports,"LuzmoAiInteractionTextarea",{enumerable:!0,get:function(){return e.t}});
@@ -0,0 +1,8 @@
1
+ import { LuzmoAiInteractionTextarea } from './ai-interaction-textarea';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-ai-interaction-textarea': LuzmoAiInteractionTextarea;
5
+ }
6
+ }
7
+ export { LuzmoAiInteractionTextarea } from './ai-interaction-textarea';
8
+ export type { PromptBoxAttachment, PromptBoxFileIcons, PromptSubmittedEventDetail } from './types';
@@ -0,0 +1,28 @@
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
+ // Auto-generated initialization code
21
+ (function() {
22
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
23
+ let e = document.createElement("style");
24
+ e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-shadow-color-rgb: 0, 0, 0;--luzmo-shadow-opacity: 0.1;--luzmo-shadow-color: rgba(var(--luzmo-shadow-color-rgb), var(--luzmo-shadow-opacity));--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
25
+ }
26
+ })();
27
+ import { t as e } from "../ai-interaction-textarea-BiMbUGCy.js";
28
+ export { e as LuzmoAiInteractionTextarea };
@@ -0,0 +1,10 @@
1
+ import type { PromptBoxAttachment, PromptBoxFileIcons } from '@luzmo/lucero';
2
+ import type { Dataset } from '../../types/dataset.types';
3
+ export type { PromptBoxAttachment, PromptBoxFileIcons };
4
+ export interface PromptSubmittedEventDetail {
5
+ prompt: string;
6
+ selectedDatasets: Dataset[];
7
+ attachments: PromptBoxAttachment[];
8
+ /** Signed image URLs from eager upload on attach, ordered to match image attachments. */
9
+ attachmentUrls: string[];
10
+ }
@@ -0,0 +1,93 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2026 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e=require("./decorate-DCJt-2rt.cjs"),t=require("./set-locale-MQpiifTB.cjs"),n=require("./data-broker-DWEXs6-2.cjs"),r=require("./calculate-data-field-icon-DenGmW74.cjs"),i=require("./localize-D3i4Epy_.cjs"),a=require("./get-dataset-name-Bae0I2_J.cjs");require("./dataset-icon-BAV0S4sZ.cjs"),require("./dataset-selector-row-fmrY3y86.cjs");let o=require("@luzmo/icons");require("@luzmo/lucero/icon");let s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/prompt-box");let u=require("lit/directives/class-map.js");var d=20,f=[`image/png`,`image/jpeg`,`image/webp`,`image/gif`],p=new Set(f),m={png:`image/png`,jpg:`image/jpeg`,jpeg:`image/jpeg`,webp:`image/webp`,gif:`image/gif`};function h(e){try{return new URL(e).pathname.match(/\.([a-z0-9]+)$/i)?.[1]?.toLowerCase()}catch{return}}function g(e){try{let t=new URL(e);return t.protocol===`http:`||t.protocol===`https:`}catch{return!1}}function _(e){return p.has(e.toLowerCase())}function v(e){if(e.type)return _(e.type);let t=e.name.split(`.`).pop()?.toLowerCase();return!!(t&&m[t])}function y(e){if(!g(e))return!1;let t=h(e);return!!(t&&m[t])}function b(e){if(e.length>20)throw Error(`Too many image inputs: received ${e.length}, but the maximum is 20 per request.`);for(let t of e){if(!t.trim())throw Error(`Image input URL must be a non-empty string.`);if(!g(t))throw Error(`Image input URL must be an absolute http(s) URL. Received "${t}".`);let e=h(t);if(e&&!m[e])throw Error(`Unsupported image input URL "${t}". Only PNG, JPEG, WebP, and GIF image URLs are accepted.`)}}function x(e){if(e.length>20)throw Error(`Too many image inputs: received ${e.length}, but the maximum is 20 per request.`);for(let t of e){if(!v(t))throw Error(`Unsupported image attachment "${t.name}" (${t.type||`unknown type`}). Only PNG, JPEG, WebP, and GIF images are accepted.`);if(t.size===0)throw Error(`Image "${t.name}" is empty.`);if(t.size>15728640)throw Error(`Image "${t.name}" is too large. Maximum size is 15 MB.`)}}function S(e,t=`0.1.0`){return`${e.replace(/\/+$/,``)}/${t.replace(/^\/+|\/+$/g,``)}/upload`}function C(e){let{files:t,authKey:n,authToken:r,apiUrl:i,apiVersion:a=`0.1.0`,signal:o,fetchImpl:s=fetch}=e;if(!n||!r)return Promise.reject(Error(`Image upload requires authKey and authToken.`));let c=S(i,a),l=a.replace(/^\/+|\/+$/g,``)||`0.1.0`;return Promise.all(t.map(e=>w(e,{url:c,authKey:n,authToken:r,version:l,signal:o,fetchImpl:s})))}async function w(e,t){let{url:n,authKey:r,authToken:i,version:a,signal:o,fetchImpl:s}=t,c=new FormData;c.append(`key`,r),c.append(`token`,i),c.append(`version`,a),c.append(`action`,`create`),c.append(`properties.type`,`image`),c.append(`file`,e,e.name);let l=await s(n,{method:`POST`,body:c,signal:o,redirect:`error`});if(!l.ok){let t=await T(l);throw Error(`Image upload failed for "${e.name}" (${l.status})${t?`: ${t}`:`.`}`)}let u=await l.json(),d=typeof u?.url==`string`?u.url.trim():``;if(!d)throw Error(`Image upload for "${e.name}" did not return a url.`);return d}async function T(e){try{return(await e.text()).trim().slice(0,200)}catch{return``}}function E(e,t=`0.1.0`){return`${e.replace(/\/+$/,``)}/${t.replace(/^\/+|\/+$/g,``)}/aidictation`}function D(e){let{authKey:t,authToken:n,audioBase64:r,mimeType:i,apiVersion:a=`0.1.0`,stream:o=!0,language:s}=e;return{key:t,token:n,action:`create`,version:a,properties:{audio:r,mimetype:i,stream:o,...s?{language:s}:{}}}}async function O(e){let t=await e.arrayBuffer(),n=new Uint8Array(t),r=32768,i=``;for(let e=0;e<n.length;e+=r){let t=n.subarray(e,e+r);i+=String.fromCharCode(...t)}return btoa(i)}async function k(e){let{audioBlob:t,mimeType:n,authKey:r,authToken:i,apiUrl:a,apiVersion:o=`0.1.0`,language:s,signal:c,onDelta:l,fetchImpl:u=fetch}=e;if(!r||!i)throw Error(`Voice transcription requires authKey and authToken.`);if(!t||t.size===0)throw Error(`Voice transcription requires a non-empty audio recording.`);let d=await O(t),f=E(a,o),p=D({authKey:r,authToken:i,audioBase64:d,mimeType:n||t.type||`audio/webm`,apiVersion:o,stream:!0,language:s}),m=await u(f,{method:`POST`,headers:{"Content-Type":`application/json`},mode:`cors`,redirect:`error`,body:JSON.stringify(p),signal:c});if(!m.ok){let e=await F(m);throw Error(`Voice transcription failed (${m.status})${e?`: ${e}`:`.`}`)}if(!m.body)throw Error(`Voice transcription response body is not readable.`);await N(m.body,e=>{let t=A(e);t&&l(t)})}function A(e){return e.type===`text_delta`&&typeof e.delta==`string`?e.delta:typeof e.text_delta==`string`?e.text_delta:``}var j=/^[a-z]+:/i;function M(e){let t=e.trim();if(!t||t.startsWith(`:`))return null;let n=t;if(n.startsWith(`data:`))n=n.slice(5).trimStart();else if(j.test(n))return null;return!n||n===`[DONE]`?null:JSON.parse(n)}async function N(e,t){let n=e.getReader(),r=new TextDecoder,i=``;try{for(;;){let{done:e,value:a}=await n.read();if(e)break;i+=r.decode(a,{stream:!0});let o=i.split(/\r?\n/);i=o.pop()??``;for(let e of o)P(e,t)}i+=r.decode();let e=i.trim();e&&P(e,t)}finally{n.releaseLock()}}function P(e,t){let n=M(e);n&&t(n)}async function F(e){try{return(await e.text()).trim().slice(0,200)}catch{return``}}var I=`:host{box-sizing:border-box;display:block}:host .content-wrapper{flex-direction:column;display:flex}:host .content-wrapper.single-line{align-items:stretch}:host .content-wrapper.disabled{opacity:var(--luzmo-ai-interaction-textarea-disabled-opacity,var(--ai-interaction-textarea-disabled-opacity));pointer-events:none;cursor:not-allowed}:host .content-wrapper.disabled *{pointer-events:none}:host luzmo-prompt-box{--luzmo-prompt-box-attachments-gap:var(--luzmo-spacing-3,8px);--luzmo-prompt-box-border-radius:var(--ai-interaction-textarea-prompt-box-border-radius);inline-size:100%}:host .attachment-error{color:var(--luzmo-negative-color,#ca221c);font-size:var(--luzmo-font-size-s,12px);margin-block-start:var(--luzmo-spacing-2,4px);line-height:1.4}:host{--ai-interaction-textarea-disabled-opacity:.6;--ai-interaction-textarea-prompt-box-border-radius:var(--luzmo-prompt-box-border-radius,var(--luzmo-border-radius-l,8px))}`,L=3e3,R=6e4,z=class extends s.LitElement{constructor(...e){super(...e),this.placeholder=`Type your prompt here...`,this.selectedDatasets=[],this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.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=new Map,this._pendingAttachmentSync=null,this._attachmentSyncScheduled=!1,this._attachmentErrorClearHandle=0,this._submitInProgress=!1,this._voiceSessionActive=!1,this._preRecordingValue=``,this._voicePrefix=``,this._voiceSuffix=``,this._streamedTranscript=``,this._transcriptionController=null,this._renderFieldTriggerIcon=e=>{let t=e.data?.datasetInfo;return e.header&&t?s.html`
21
+ <span>
22
+ ${this.hideDatasetIcons?s.html`<luzmo-icon .icon=${o.luzmoPlugin} size="s"></luzmo-icon>`:s.html`
23
+ <luzmo-dataset-icon
24
+ .datasetInfo=${t}
25
+ size="16px"
26
+ app-url=${this.appServer}
27
+ ></luzmo-dataset-icon>
28
+ `}
29
+ </span>
30
+ `:e.icon?s.html`
31
+ <span>
32
+ <luzmo-icon .icon=${e.icon} size="s"></luzmo-icon>
33
+ </span>
34
+ `:s.nothing},this._handleAttachClick=()=>{this.openFilePicker()},this._handleAttachmentsChange=e=>{this._pendingAttachmentSync=e.detail?.attachments??this.getAttachments(),!this._attachmentSyncScheduled&&(this._attachmentSyncScheduled=!0,queueMicrotask(()=>{if(this._attachmentSyncScheduled=!1,!this.isConnected){this._pendingAttachmentSync=null;return}let e=this._pendingAttachmentSync??this.getAttachments();this._pendingAttachmentSync=null,this._syncAttachments(e)}))},this._handleVoiceKeydown=e=>{e.key===`Escape`&&this._isTranscribing&&(e.preventDefault(),e.stopPropagation(),this._cancelVoiceSession())},this._handleRecord=e=>{if(e.stopPropagation(),e.detail?.isRecording){this._captureVoiceInsertPoint(),this._isRecording=!0,this._isTranscribing=!1;return}this._isRecording=!1},this._handleRecordCancel=e=>{e.stopPropagation(),this._cancelVoiceSession()},this._handleRecordError=e=>{e.stopPropagation(),this._abortTranscription(),this._resetVoiceSessionState();let t=e.detail?.error?.trim()||(0,l.msg)(`Voice recording failed`,{desc:`Error when microphone recording fails in the AI prompt`});this._showAttachmentError(t)},this._handleRecordingComplete=e=>{e.stopPropagation();let{audioBlob:t,mimeType:n}=e.detail??{};if(!t){this._resetVoiceSessionState();return}this._transcribeRecording(t,n||t.type||`audio/webm`)}}static{this.styles=(0,s.unsafeCSS)(I)}static{this.tagName=`luzmo-ai-interaction-textarea`}get _voiceBusy(){return this._isRecording||this._isTranscribing}get _buttonDisabled(){return this.disabled||this.isGenerating||this._voiceBusy||!this._isPromptValid?!0:this.requireDataset&&this.selectedDatasets.length===0}get _promptPending(){return this.isGenerating||this._isTranscribing}get _promptReadonly(){return this._voiceBusy}get _actionsDisabled(){return this.disabled||this.isGenerating||this._voiceBusy}get _fieldTriggers(){return this.disableColumnMentions?[]:[{key:`@`,options:this._fieldTriggerOptions,highlightSearch:!0,iconTemplate:this._renderFieldTriggerIcon}]}connectedCallback(){super.connectedCallback(),this._configureBroker(),this._refreshDatasetsFieldConfig(),this.addEventListener(`keydown`,this._handleVoiceKeydown)}disconnectedCallback(){window.clearTimeout(this._attachmentErrorClearHandle),this._abortAllAttachmentUploads(),this._abortTranscription(),this.removeEventListener(`keydown`,this._handleVoiceKeydown),super.disconnectedCallback()}_configureBroker(){n.t.configure({authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl})}_handlePromptInput(e){let t=e.target.value??``;this._promptValue=t,this._isPromptValid=t.trim().length>0}openFilePicker(){this._promptBox?.openFilePicker()}addFiles(e){return this._promptBox?.addFiles(e)??[]}removeAttachment(e){this._cleanupAttachmentUpload(e),this._promptBox?.removeAttachment(e)}setAttachmentLoading(e,t){this._promptBox?.setAttachmentLoading(e,t)}clearAttachments(){this._abortAllAttachmentUploads(),this._promptBox?.clearAttachments()}getAttachments(){return this._promptBox?.getAttachments()??[]}getAttachmentUrls(e=this.getAttachments()){return e.map(e=>this._attachmentUploads.get(e.id)?.url).filter(e=>typeof e==`string`&&e.length>0)}_showAttachmentError(e){this._attachmentError=e,window.clearTimeout(this._attachmentErrorClearHandle),this._attachmentErrorClearHandle=window.setTimeout(()=>{this._attachmentError=null},L)}_cleanupAttachmentUpload(e){this._attachmentUploads.get(e)?.controller?.abort(),this._attachmentUploads.delete(e)}_abortAllAttachmentUploads(){for(let e of this._attachmentUploads.values())e.controller?.abort();this._attachmentUploads.clear()}async _uploadSingleFile(e,t){let n=``;if(typeof this.uploadAttachments==`function`){let r=await this.uploadAttachments([e],{signal:t});n=Array.isArray(r)?r[0]?.trim()??``:``}else{if(!this.authKey||!this.authToken)throw Error(`Image upload requires authKey and authToken.`);let[r]=await C({files:[e],authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl,apiVersion:this.apiVersion,signal:t});n=r?.trim()??``}if(!n)throw Error(`Image upload for "${e.name}" did not return a url.`);return b([n]),n}_startAttachmentUpload(e){let{id:t,file:n}=e;if(!n){this.removeAttachment(t);return}if(!v(n)){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Only PNG, JPEG, WebP, and GIF images can be attached.`,{desc:`Error when the user attaches an unsupported image type to the AI prompt`}));return}if(n.size===0){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}));return}if(n.size>15728640){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Image is too large. Maximum size is 15 MB.`,{desc:`Error when an attached AI prompt image exceeds the 15 MB upload limit`}));return}this.setAttachmentLoading(t,!0);let r=new AbortController,i={controller:r};this._attachmentUploads.set(t,i);let a=window.setTimeout(()=>r.abort(),R),o=()=>{this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}))};i.promise=(async()=>{try{let e=await this._uploadSingleFile(n,r.signal);window.clearTimeout(a);let i=this._attachmentUploads.get(t);if(!i||i.controller!==r)return;i.url=e,i.controller=void 0,i.promise=void 0,this.setAttachmentLoading(t,!1)}catch(e){if(window.clearTimeout(a),r.signal.aborted||e?.name===`AbortError`){this._attachmentUploads.get(t)?.controller===r&&o();return}o()}})()}_syncAttachments(e){let t=new Set(e.map(e=>e.id));for(let e of Array.from(this._attachmentUploads.keys()))t.has(e)||this._cleanupAttachmentUpload(e);let n=!1;for(let t of e)if(!this._attachmentUploads.has(t.id)){if(this._attachmentUploads.size>=20){n=!0,this._promptBox?.removeAttachment(t.id);continue}this._startAttachmentUpload(t)}n&&this._showAttachmentError((0,l.msg)(l.str`You can attach up to ${20} images.`,{desc:`Error when the user tries to attach more images than the AI prompt allows`}))}async _waitForAttachmentUploads(e){let t=e.map(e=>this._attachmentUploads.get(e.id)?.promise).filter(e=>!!e);t.length!==0&&await Promise.all(t)}async _submitPrompt(e=this._promptValue,t=[]){if(this._promptValue=e,this._isPromptValid=e.trim().length>0,!(this._buttonDisabled||this._submitInProgress)){this._submitInProgress=!0;try{let n=e.trim(),r=t.length>0?[...t]:this.getAttachments(),i=r.filter(e=>!!e.file&&v(e.file));await this._waitForAttachmentUploads(i);let a=[];for(let e of i){let t=this._attachmentUploads.get(e.id)?.url;if(!t){this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}));return}a.push(t)}this.retainOnSubmit||(this._promptValue=``,this._isPromptValid=!1,this._abortAllAttachmentUploads(),this._promptBox?.clear()),this.dispatchEvent(new CustomEvent(`prompt-submitted`,{detail:{prompt:n,selectedDatasets:this.selectedDatasets,attachments:r,attachmentUrls:a},bubbles:!0,composed:!0}))}finally{this._submitInProgress=!1}}}_handleDatasetSelected(e){let t=e.detail;this.selectedDatasets.some(e=>e.id===t.id)||(this.selectedDatasets=[...this.selectedDatasets,t])}_handleDatasetRemoved(e){let t=e.detail;this.selectedDatasets=this.selectedDatasets.filter(e=>e.id!==t.id)}_getLocalizedFieldLabel(e){if(e)return typeof e==`string`?e:i.t(e,t.t())}_mapColumnToTriggerOption(e,t){return t.id?{label:this._getLocalizedFieldLabel(t.name)||t.id,value:`${e}:column:${t.id}`,icon:r.t(t,`s`),elementType:`data-field`,data:{datasetId:e,columnId:t.id,type:t.type,subtype:t.subtype}}:null}_mapFormulaToTriggerOption(e,t){return t.id?{label:this._getLocalizedFieldLabel(t.name)||t.id,value:`${e}:formula:${t.id}`,icon:r.r.formula[r.i(`s`)],elementType:`data-field`,data:{datasetId:e,formulaId:t.id,type:t.type,subtype:t.subtype}}:null}_updateFieldTriggerOptionsFromConfig(){let e=new Map(this._datasetsFieldConfig.map(e=>[e.id,e])),t=[];for(let n of this.selectedDatasets){let r=e.get(n.id),i=[],o=r?.columns?.filter(e=>!e.hidden)??[];for(let e of o){let t=this._mapColumnToTriggerOption(n.id,e);t&&i.push(t)}let s=r?.formulas?.filter(e=>!e.hidden)??[];for(let e of s){let t=this._mapFormulaToTriggerOption(n.id,e);t&&i.push(t)}i.length!==0&&(t.push({label:a.t(n),value:`dataset-header:${n.id}`,header:!0,data:{datasetInfo:n}}),t.push(...i))}this._fieldTriggerOptions=t}async _refreshDatasetsFieldConfig(){if(this.disableColumnMentions){this._datasetsFieldConfig=[],this._fieldTriggerOptions=[];return}let e=[...new Set(this.selectedDatasets.map(e=>e.id).filter(Boolean))];if(e.length===0){this._datasetsFieldConfig=[],this._fieldTriggerOptions=[];return}let t=++this._activeFieldRequestId;this._updateFieldTriggerOptionsFromConfig();try{let r=await n.t.fetchDatasetsWithColumnsAndFormulas(e);if(t!==this._activeFieldRequestId)return;this._datasetsFieldConfig=r,this._updateFieldTriggerOptionsFromConfig()}catch(e){console.error(`Error loading dataset fields for prompt triggers:`,e),t===this._activeFieldRequestId&&(this._datasetsFieldConfig=[],this._updateFieldTriggerOptionsFromConfig())}}_handlePromptSubmit(e){this._submitPrompt(e.detail?.value??this._promptValue,e.detail?.attachments??[])}_handlePromptStop(e){if(e.stopPropagation(),this._isTranscribing){this._cancelVoiceSession();return}this.dispatchEvent(new CustomEvent(`prompt-stopped`,{bubbles:!0,composed:!0}))}_getCaretTextOffset(){let e=this._promptBox?.shadowRoot;if(!e)return this._promptValue.length;let t=e.querySelector(`.rich-input`)??e.querySelector(`luzmo-text-field`);if(!t)return this._promptValue.length;let n=e.getSelection?.()??document.getSelection();if(!n||n.rangeCount===0)return this._promptValue.length;let r=n.getRangeAt(0);if(!t.contains(r.startContainer))return this._promptValue.length;let i=r.cloneRange();return i.selectNodeContents(t),i.setEnd(r.startContainer,r.startOffset),i.toString().length}_setPromptText(e){this._promptValue=e,this._isPromptValid=e.trim().length>0,this._syncControlledValueToPromptBox()}_captureVoiceInsertPoint(){let e=Math.min(Math.max(this._getCaretTextOffset(),0),this._promptValue.length);this._preRecordingValue=this._promptValue,this._voicePrefix=this._promptValue.slice(0,e),this._voiceSuffix=this._promptValue.slice(e),this._streamedTranscript=``,this._voiceSessionActive=!0}_applyStreamedTranscript(){this._setPromptText(`${this._voicePrefix}${this._streamedTranscript}${this._voiceSuffix}`)}_resetVoiceSessionState(){this._isRecording=!1,this._isTranscribing=!1,this._streamedTranscript=``,this._voicePrefix=``,this._voiceSuffix=``,this._preRecordingValue=``,this._voiceSessionActive=!1}_abortTranscription(){this._transcriptionController?.abort(),this._transcriptionController=null}_cancelVoiceSession(){if(!this._voiceSessionActive){this._abortTranscription(),this._resetVoiceSessionState();return}let e=this._preRecordingValue;this._abortTranscription(),this._resetVoiceSessionState(),this._setPromptText(e)}async _transcribeRecording(e,t){this._abortTranscription();let n=new AbortController;this._transcriptionController=n,this._isRecording=!1,this._isTranscribing=!0,this._streamedTranscript=``;try{if(await k({audioBlob:e,mimeType:t,authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl,apiVersion:this.apiVersion,signal:n.signal,onDelta:e=>{n.signal.aborted||(this._streamedTranscript+=e,this._applyStreamedTranscript())}}),n.signal.aborted)return;this._resetVoiceSessionState()}catch(e){if(n.signal.aborted)return;console.error(`Voice transcription failed:`,e),this._setPromptText(this._preRecordingValue),this._resetVoiceSessionState(),this._showAttachmentError((0,l.msg)(`Failed to transcribe audio`,{desc:`Error when AI prompt voice transcription fails`}))}finally{this._transcriptionController===n&&(this._transcriptionController=null)}}_syncControlledValueToPromptBox(){let e=this._promptBox;if(!e?.allowElements){e&&(e.value=this._promptValue);return}e.segments=this._promptValue?[{type:`text`,value:this._promptValue}]:[]}willUpdate(e){e.has(`value`)&&(this._promptValue=this.value,this._isPromptValid=this.value.trim().length>0);let t=e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`);t&&this._configureBroker(),(t||e.has(`selectedDatasets`)||e.has(`disableColumnMentions`))&&this._refreshDatasetsFieldConfig()}updated(e){super.updated(e),e.has(`value`)&&this._syncControlledValueToPromptBox()}render(){return s.html`
35
+ <div class=${(0,u.classMap)({"content-wrapper":!0,disabled:this.disabled,"single-line":this.singleLine})} aria-busy=${this.isGenerating||this._voiceBusy?`true`:`false`}>
36
+ <luzmo-prompt-box
37
+ ?single-line=${this.singleLine}
38
+ ?pending=${this._promptPending}
39
+ ?stoppable=${this.stoppable&&this.isGenerating||this._isTranscribing}
40
+ ?disabled=${this.disabled}
41
+ ?readonly=${this._promptReadonly}
42
+ ?disable-submit=${this._buttonDisabled}
43
+ ?allow-images=${this.allowImages}
44
+ ?recording=${this.allowVoiceInput}
45
+ .acceptedFileTypes=${this.acceptedFileTypes}
46
+ .fileIcons=${this.fileIcons}
47
+ grows
48
+ allow-elements
49
+ .placeholder=${this.placeholder}
50
+ .value=${this._promptValue}
51
+ .triggers=${this._fieldTriggers}
52
+ @input=${this._handlePromptInput}
53
+ @luzmo-submit=${this._handlePromptSubmit}
54
+ @luzmo-stop=${this._handlePromptStop}
55
+ @luzmo-attachments-change=${this._handleAttachmentsChange}
56
+ @luzmo-record=${this._handleRecord}
57
+ @luzmo-recording-complete=${this._handleRecordingComplete}
58
+ @luzmo-record-cancel=${this._handleRecordCancel}
59
+ @luzmo-record-error=${this._handleRecordError}
60
+ >
61
+ ${this.hideSelectedDatasets||this.hideDatasetButton?``:s.html`
62
+ <luzmo-dataset-selector-row
63
+ slot="top-actions"
64
+ .selectedDatasets=${this.selectedDatasets}
65
+ auth-key=${this.authKey}
66
+ auth-token=${this.authToken}
67
+ api-url=${this.apiUrl}
68
+ app-server=${this.appServer}
69
+ ?flag-opendata=${this.flagOpendata}
70
+ ?hide-dataset-icons=${this.hideDatasetIcons}
71
+ ?disabled=${this._actionsDisabled||this.disableDatasetModification}
72
+ @dataset-selected=${this._handleDatasetSelected}
73
+ @dataset-removed=${this._handleDatasetRemoved}
74
+ ></luzmo-dataset-selector-row>
75
+ `}
76
+ ${this.allowImages?s.html`
77
+ <luzmo-action-button
78
+ slot="bottom-actions"
79
+ size="m"
80
+ quiet
81
+ ?disabled=${this._actionsDisabled}
82
+ label=${(0,l.msg)(`Add attachments`,{desc:`Accessible label for the AI prompt attachment button`})}
83
+ @click=${this._handleAttachClick}
84
+ >
85
+ <luzmo-icon slot="icon" size="m" .icon=${o.luzmoPaperclip}></luzmo-icon>
86
+ </luzmo-action-button>
87
+ `:s.nothing}
88
+ </luzmo-prompt-box>
89
+ ${this._attachmentError?s.html`
90
+ <div class="attachment-error" role="alert">${this._attachmentError}</div>
91
+ `:s.nothing}
92
+ </div>
93
+ `}};e.t([(0,c.property)({type:String})],z.prototype,`placeholder`,void 0),e.t([(0,c.property)({type:Array})],z.prototype,`selectedDatasets`,void 0),e.t([(0,c.property)({type:String,attribute:`auth-key`})],z.prototype,`authKey`,void 0),e.t([(0,c.property)({type:String,attribute:`auth-token`})],z.prototype,`authToken`,void 0),e.t([(0,c.property)({type:String,attribute:`api-url`})],z.prototype,`apiUrl`,void 0),e.t([(0,c.property)({type:String,attribute:`app-server`})],z.prototype,`appServer`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`flag-opendata`})],z.prototype,`flagOpendata`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`disabled`})],z.prototype,`disabled`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`single-line`})],z.prototype,`singleLine`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-dataset-button`})],z.prototype,`hideDatasetButton`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-dataset-icons`})],z.prototype,`hideDatasetIcons`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`disable-dataset-modification`})],z.prototype,`disableDatasetModification`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-selected-datasets`})],z.prototype,`hideSelectedDatasets`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`disable-column-mentions`})],z.prototype,`disableColumnMentions`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`is-generating`})],z.prototype,`isGenerating`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0})],z.prototype,`stoppable`,void 0),e.t([(0,c.property)({type:String})],z.prototype,`value`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`retain-on-submit`})],z.prototype,`retainOnSubmit`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`require-dataset`})],z.prototype,`requireDataset`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`allow-images`})],z.prototype,`allowImages`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`allow-voice-input`})],z.prototype,`allowVoiceInput`,void 0),e.t([(0,c.property)({type:Array,attribute:`accepted-file-types`})],z.prototype,`acceptedFileTypes`,void 0),e.t([(0,c.property)({type:String,attribute:`api-version`})],z.prototype,`apiVersion`,void 0),e.t([(0,c.property)({attribute:!1})],z.prototype,`uploadAttachments`,void 0),e.t([(0,c.property)({attribute:!1})],z.prototype,`fileIcons`,void 0),e.t([(0,c.state)()],z.prototype,`_promptValue`,void 0),e.t([(0,c.state)()],z.prototype,`_isPromptValid`,void 0),e.t([(0,c.state)()],z.prototype,`_fieldTriggerOptions`,void 0),e.t([(0,c.state)()],z.prototype,`_datasetsFieldConfig`,void 0),e.t([(0,c.state)()],z.prototype,`_attachmentError`,void 0),e.t([(0,c.state)()],z.prototype,`_isRecording`,void 0),e.t([(0,c.state)()],z.prototype,`_isTranscribing`,void 0),e.t([(0,c.query)(`luzmo-prompt-box`)],z.prototype,`_promptBox`,void 0),z=e.t([(0,l.localized)()],z),customElements.get(`luzmo-ai-interaction-textarea`)||customElements.define(`luzmo-ai-interaction-textarea`,z),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return x}});