@luzmo/analytics-components-kit 1.0.8-beta.1 → 1.0.8-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (946) hide show
  1. package/README.md +14 -1
  2. package/components/ai-chat/ai-chat.d.ts +6 -2
  3. package/components/ai-chat/index.cjs +1 -1
  4. package/components/ai-chat/index.js +2 -2
  5. package/components/ai-chat-CQtzaiZ_.cjs +319 -0
  6. package/components/ai-chat-CTr-dplW.js +4047 -0
  7. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +6 -2
  8. package/components/ai-interaction-textarea/index.cjs +1 -1
  9. package/components/ai-interaction-textarea/index.js +1 -1
  10. package/components/ai-interaction-textarea-CMz5ixwt.cjs +95 -0
  11. package/components/ai-interaction-textarea-uc14Goa4.js +802 -0
  12. package/components/area-chart-options.config-CiPCKvh7.cjs +20 -0
  13. package/components/area-chart-options.config-HaYA8gPC.js +196 -0
  14. package/components/area-chart-options.de-_tPBzxvf.cjs +20 -0
  15. package/components/area-chart-options.de-pUCTG-s0.js +87 -0
  16. package/components/area-chart-options.en-AuSHs27k.cjs +20 -0
  17. package/components/area-chart-options.en-YNsUeMwN.js +87 -0
  18. package/components/area-chart-options.es-2styw_Fz.js +87 -0
  19. package/components/area-chart-options.es-BzRHGbo6.cjs +20 -0
  20. package/components/area-chart-options.fr--WzQVf2z.js +87 -0
  21. package/components/area-chart-options.fr-DYxUQE3x.cjs +20 -0
  22. package/components/area-chart-options.nl-BTEIqBtE.js +87 -0
  23. package/components/area-chart-options.nl-M0xQQ_la.cjs +20 -0
  24. package/components/area-chart-positioning.config-BstzDLRL.cjs +20 -0
  25. package/components/area-chart-positioning.config-DeMlkQZO.js +55 -0
  26. package/components/axis-options.config-BCP0Z8VI.js +270 -0
  27. package/components/axis-options.config-s-Js3ug-.cjs +20 -0
  28. package/components/axis-options.i18n-BOGRmWjp.js +486 -0
  29. package/components/axis-options.i18n-Cw-DmewV.cjs +20 -0
  30. package/components/bar-chart-options.config--F0KfZ5y.js +259 -0
  31. package/components/bar-chart-options.config-A5bcUHFc.cjs +20 -0
  32. package/components/bar-chart-options.de-3qSh2TNr.js +110 -0
  33. package/components/bar-chart-options.de-545XMRGl.cjs +20 -0
  34. package/components/bar-chart-options.en-DAee9yHp.cjs +20 -0
  35. package/components/bar-chart-options.en-DrhQe9rV.js +110 -0
  36. package/components/bar-chart-options.es-BZ1yNzUQ.js +110 -0
  37. package/components/bar-chart-options.es-CfoAEZ-0.cjs +20 -0
  38. package/components/bar-chart-options.fr-5i13R8bs.js +110 -0
  39. package/components/bar-chart-options.fr-C2Ic0Dq0.cjs +20 -0
  40. package/components/bar-chart-options.nl-Bb6XiSDH.cjs +20 -0
  41. package/components/bar-chart-options.nl-DLj-qucU.js +110 -0
  42. package/components/bar-chart-positioning.config-Cw4xXpaU.js +59 -0
  43. package/components/bar-chart-positioning.config-DDKGGZhU.cjs +20 -0
  44. package/components/base-store-BhGpnbqi.js +152 -0
  45. package/components/base-store-D5cDq6d4.cjs +20 -0
  46. package/components/box-plot-options.config-CT4_71tE.js +329 -0
  47. package/components/box-plot-options.config-ZZ_mvqGk.cjs +20 -0
  48. package/components/box-plot-positioning.config-BQf8CX15.js +48 -0
  49. package/components/box-plot-positioning.config-Cni8SYCB.cjs +20 -0
  50. package/components/bubble-chart-options.config-B_hTYgid.js +140 -0
  51. package/components/bubble-chart-options.config-BbB5dj43.cjs +20 -0
  52. package/components/bubble-chart-positioning.config-1Q2GxFJ4.cjs +20 -0
  53. package/components/bubble-chart-positioning.config-BYeXJRKW.js +55 -0
  54. package/components/bullet-chart-options.config-DdTBWTAF.js +76 -0
  55. package/components/bullet-chart-options.config-Drv0yQ4x.cjs +20 -0
  56. package/components/bullet-chart-positioning.config-D-fuuO8D.js +56 -0
  57. package/components/bullet-chart-positioning.config-NSHvsWAf.cjs +20 -0
  58. package/components/choropleth-map-options.config-CEGFnwKG.cjs +20 -0
  59. package/components/choropleth-map-options.config-CsJjKLVP.js +350 -0
  60. package/components/choropleth-map-positioning.config-Bk2lcbUF.js +55 -0
  61. package/components/choropleth-map-positioning.config-DZCuGwit.cjs +20 -0
  62. package/components/circle-pack-chart-options.config-Dobt6Q5A.cjs +20 -0
  63. package/components/circle-pack-chart-options.config-FcILD-Hi.js +55 -0
  64. package/components/circle-pack-chart-positioning.config-CuESD4oH.cjs +20 -0
  65. package/components/circle-pack-chart-positioning.config-pvlFSoeh.js +48 -0
  66. package/components/circular-gauge-options.config-CSIUw2VN.cjs +20 -0
  67. package/components/circular-gauge-options.config-DtNYelhq.js +193 -0
  68. package/components/circular-gauge-positioning.config-BI5_9VzK.js +48 -0
  69. package/components/circular-gauge-positioning.config-DIYxTFVO.cjs +20 -0
  70. package/components/column-chart-options.config-BzMjdyfp.js +258 -0
  71. package/components/column-chart-options.config-iKKyzY3j.cjs +20 -0
  72. package/components/column-chart-options.de-BX13JkAO.cjs +20 -0
  73. package/components/column-chart-options.de-CIYtauiG.js +110 -0
  74. package/components/column-chart-options.en-BkAsfXYV.js +110 -0
  75. package/components/column-chart-options.en-DAee9yHp.cjs +20 -0
  76. package/components/column-chart-options.es-CClMQLE-.cjs +20 -0
  77. package/components/column-chart-options.es-jWM7TxS7.js +110 -0
  78. package/components/column-chart-options.fr-BB6301nS.js +110 -0
  79. package/components/column-chart-options.fr-C2Ic0Dq0.cjs +20 -0
  80. package/components/column-chart-options.nl-Bb6XiSDH.cjs +20 -0
  81. package/components/column-chart-options.nl-HUMDgKdl.js +110 -0
  82. package/components/column-chart-positioning.config-CoekgrWc.js +55 -0
  83. package/components/column-chart-positioning.config-F5liDplz.cjs +20 -0
  84. package/components/combination-chart-options.config-BEMnrQdd.js +134 -0
  85. package/components/combination-chart-options.config-BqQlqnhf.cjs +20 -0
  86. package/components/combination-chart-options.de-BiGjuWUS.cjs +20 -0
  87. package/components/combination-chart-options.de-DVJ9sfLC.js +66 -0
  88. package/components/combination-chart-options.en-B5piXq82.js +66 -0
  89. package/components/combination-chart-options.en-e4XMalU0.cjs +20 -0
  90. package/components/combination-chart-options.es-BmuyyP32.js +66 -0
  91. package/components/combination-chart-options.es-OXb8nozF.cjs +20 -0
  92. package/components/combination-chart-options.fr-CIrnpWEu.js +66 -0
  93. package/components/combination-chart-options.fr-CYzANyZs.cjs +20 -0
  94. package/components/combination-chart-options.nl-BDJ7t0BY.js +66 -0
  95. package/components/combination-chart-options.nl-DyAUjvqC.cjs +20 -0
  96. package/components/combination-chart-positioning.config-BIqhiqPc.cjs +20 -0
  97. package/components/combination-chart-positioning.config-gfmXofUL.js +48 -0
  98. package/components/conditional-number-options.config-ZVtstIjn.cjs +20 -0
  99. package/components/conditional-number-options.config-qdX9T4zu.js +210 -0
  100. package/components/conditional-number-positioning.config-7xN8yNaC.cjs +20 -0
  101. package/components/conditional-number-positioning.config-DoA_qMvA.js +48 -0
  102. package/components/data-broker-B0uUO5er.js +1684 -0
  103. package/components/data-broker-CyMYR6w1.cjs +20 -0
  104. package/components/data-field-panel/index.cjs +1 -1
  105. package/components/data-field-panel/index.js +1 -1
  106. package/components/data-field-panel-B9aYsBfe.cjs +87 -0
  107. package/components/data-field-panel-COHppDw6.js +385 -0
  108. package/components/data-fields-select/index.cjs +1 -1
  109. package/components/data-fields-select/index.js +1 -1
  110. package/components/data-fields-select-BMDWXAMz.cjs +41 -0
  111. package/components/data-fields-select-CvdABHum.js +280 -0
  112. package/components/dataset-selector-list/dataset-selector-list.d.ts +6 -2
  113. package/components/dataset-selector-list/index.cjs +1 -1
  114. package/components/dataset-selector-list/index.js +1 -1
  115. package/components/dataset-selector-list-5y3eFlPa.js +323 -0
  116. package/components/dataset-selector-list-BWgvikkr.cjs +75 -0
  117. package/components/dataset-selector-row/dataset-selector-row.d.ts +6 -2
  118. package/components/dataset-selector-row/index.cjs +1 -1
  119. package/components/dataset-selector-row/index.js +1 -1
  120. package/components/dataset-selector-row-BjyeiTVy.cjs +90 -0
  121. package/components/dataset-selector-row-pEM8hLyJ.js +316 -0
  122. package/components/display-settings/index.cjs +1 -1
  123. package/components/display-settings/index.js +1 -1
  124. package/components/display-settings-B_sY5MXH.cjs +140 -0
  125. package/components/display-settings-DpPSk_da.js +313 -0
  126. package/components/donut-chart-options.config-D5Wkh0nh.js +212 -0
  127. package/components/donut-chart-options.config-DUIE-bdr.cjs +20 -0
  128. package/components/donut-chart-positioning.config-B-CWvQDP.js +48 -0
  129. package/components/donut-chart-positioning.config-DsHR-HET.cjs +20 -0
  130. package/components/evolution-number-options.config-CoGBgLLw.cjs +20 -0
  131. package/components/evolution-number-options.config-DT7iGQA8.js +230 -0
  132. package/components/evolution-number-positioning.config-DWJlecZ8.cjs +20 -0
  133. package/components/evolution-number-positioning.config-DogBtixy.js +48 -0
  134. package/components/filter-expression-picker/index.cjs +1 -1
  135. package/components/filter-expression-picker/index.js +1 -1
  136. package/components/filter-expression-picker-Dtd04YHa.cjs +38 -0
  137. package/components/filter-expression-picker-vZcmpdhp.js +425 -0
  138. package/components/filter-item/filter-item.d.ts +4 -0
  139. package/components/filter-item/index.cjs +1 -1
  140. package/components/filter-item/index.js +1 -1
  141. package/components/filter-item-DhWm1nZ2.js +316 -0
  142. package/components/filter-item-QGXrunyl.cjs +71 -0
  143. package/components/filter-value-picker/index.cjs +1 -1
  144. package/components/filter-value-picker/index.js +1 -1
  145. package/components/filter-value-picker-DL-XI9zN.js +151 -0
  146. package/components/filter-value-picker-DUPgUphE.cjs +60 -0
  147. package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +2 -1
  148. package/components/filter-value-picker-datetime/index.cjs +1 -1
  149. package/components/filter-value-picker-datetime/index.js +1 -1
  150. package/components/filter-value-picker-datetime-BYosmOVo.cjs +42 -0
  151. package/components/filter-value-picker-datetime-DrtBsmhk.js +139 -0
  152. package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +16 -0
  153. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  154. package/components/filter-value-picker-hierarchy/index.js +1 -1
  155. package/components/filter-value-picker-hierarchy-Co7tEAF0.cjs +48 -0
  156. package/components/filter-value-picker-hierarchy-D9HPNjXi.js +299 -0
  157. package/components/filter-value-picker-numeric/index.cjs +1 -1
  158. package/components/filter-value-picker-numeric/index.js +1 -1
  159. package/components/filter-value-picker-numeric-BCaSriJT.cjs +48 -0
  160. package/components/filter-value-picker-numeric-CLRBOcom.js +219 -0
  161. package/components/filters/index.cjs +1 -1
  162. package/components/filters/index.js +1 -1
  163. package/components/filters-DPh6G5_6.cjs +153 -0
  164. package/components/filters-hIID3Ol5.js +745 -0
  165. package/components/formula/index.cjs +1 -1
  166. package/components/formula/index.js +1 -1
  167. package/components/formula-D6fZk242.js +138 -0
  168. package/components/formula-DJa0m0vt.cjs +45 -0
  169. package/components/formula-codemirror-CS38irmY.js +12018 -0
  170. package/components/formula-codemirror-ClMjdWte.cjs +215 -0
  171. package/components/formula-display-store-BVCcrqMB.js +1093 -0
  172. package/components/formula-display-store-riWDbPmO.cjs +20 -0
  173. package/components/formula-editor/index.cjs +1 -1
  174. package/components/formula-editor/index.js +3 -3
  175. package/components/formula-editor-C63ifj9i.js +690 -0
  176. package/components/formula-editor-KuJjGn6h.cjs +224 -0
  177. package/components/formula-field/index.cjs +1 -1
  178. package/components/formula-field/index.js +1 -1
  179. package/components/formula-field-BIseRR26.cjs +20 -0
  180. package/components/formula-field-CZu-WBKI.js +40 -0
  181. package/components/formula-input-base-B1D56Klw.cjs +49 -0
  182. package/components/formula-input-base-DhhV4mbQ.js +236 -0
  183. package/components/funnel-chart-options.config-CMOM4QN2.cjs +20 -0
  184. package/components/funnel-chart-options.config-Ca5-W17F.js +209 -0
  185. package/components/funnel-chart-positioning.config-D7871iXX.js +48 -0
  186. package/components/funnel-chart-positioning.config-DswPJ8VG.cjs +20 -0
  187. package/components/groupings-BwzDflId.js +52 -0
  188. package/components/groupings-Dt2yC9fH.cjs +20 -0
  189. package/components/guidelines-options.config-D-ZuReR_.cjs +20 -0
  190. package/components/guidelines-options.config-DyedEeX2.js +48 -0
  191. package/components/heat-map-options.config-DkuYkbWu.js +226 -0
  192. package/components/heat-map-options.config-DtDh9Gpy.cjs +20 -0
  193. package/components/heat-map-positioning.config-C9xyxr1p.cjs +20 -0
  194. package/components/heat-map-positioning.config-sZTsAUnf.js +48 -0
  195. package/components/heat-table-options.config-DT3d8VS7.js +267 -0
  196. package/components/heat-table-options.config-Dl6GDA-m.cjs +20 -0
  197. package/components/heat-table-positioning.config-B5XgRMIn.cjs +20 -0
  198. package/components/heat-table-positioning.config-DSsD8apM.js +55 -0
  199. package/components/hexbin-map-options.config-BGmgxnMh.cjs +20 -0
  200. package/components/hexbin-map-options.config-Bqp3u2bH.js +278 -0
  201. package/components/hexbin-map-positioning.config-Dc9wAdAv.js +48 -0
  202. package/components/hexbin-map-positioning.config-Dq2TuFz1.cjs +20 -0
  203. package/components/index.cjs +1 -1
  204. package/components/index.js +38 -38
  205. package/components/info-tooltip-options.config-B9T0cwSM.cjs +20 -0
  206. package/components/info-tooltip-options.config-BmSMkirf.js +59 -0
  207. package/components/info-tooltip-options.i18n-B3u0H74j.cjs +20 -0
  208. package/components/info-tooltip-options.i18n-CDx47Py-.js +74 -0
  209. package/components/interactive-viz-item/index.cjs +1 -1
  210. package/components/interactive-viz-item/index.js +1 -1
  211. package/components/interactive-viz-item-CcIWn6Tz.cjs +247 -0
  212. package/components/interactive-viz-item-wZ0r8XHx.js +693 -0
  213. package/components/item-grid/index.cjs +1 -1
  214. package/components/item-grid/index.js +1 -1
  215. package/components/item-grid-B8tT6ztQ.cjs +113 -0
  216. package/components/item-grid-D7b0blK6.js +4559 -0
  217. package/components/item-option/index.cjs +1 -1
  218. package/components/item-option/index.js +1 -1
  219. package/components/item-option-B-Rgy3_8.cjs +269 -0
  220. package/components/item-option-B0EzSGTP.js +955 -0
  221. package/components/item-option-panel/index.cjs +1 -1
  222. package/components/item-option-panel/index.js +1 -1
  223. package/components/item-option-panel-DOOOOgfV.js +183 -0
  224. package/components/item-option-panel-mHwmWhJY.cjs +67 -0
  225. package/components/item-options-configs.cjs +1 -1
  226. package/components/item-options-configs.js +35 -35
  227. package/components/item-slot-drop/index.cjs +1 -1
  228. package/components/item-slot-drop/index.js +1 -1
  229. package/components/item-slot-drop-BL7DOudd.js +331 -0
  230. package/components/item-slot-drop-Ds06u_vn.cjs +91 -0
  231. package/components/item-slot-drop-panel/index.cjs +1 -1
  232. package/components/item-slot-drop-panel/index.js +1 -1
  233. package/components/item-slot-drop-panel-D_EFyM9J.cjs +57 -0
  234. package/components/item-slot-drop-panel-DkHylw7i.js +355 -0
  235. package/components/item-slot-picker/index.cjs +1 -1
  236. package/components/item-slot-picker/index.js +1 -1
  237. package/components/item-slot-picker-BbpPIoIq.cjs +174 -0
  238. package/components/item-slot-picker-CywUgvNX.js +505 -0
  239. package/components/item-slot-picker-panel/index.cjs +1 -1
  240. package/components/item-slot-picker-panel/index.js +1 -1
  241. package/components/item-slot-picker-panel-Bi8xZaYc.js +448 -0
  242. package/components/item-slot-picker-panel-DQLwQXdI.cjs +81 -0
  243. package/components/line-chart-options.config-BMT_e6dk.js +232 -0
  244. package/components/line-chart-options.config-CL8SCDgU.cjs +20 -0
  245. package/components/line-chart-options.de-CKbHARjX.cjs +20 -0
  246. package/components/line-chart-options.de-CtxTZ-Nx.js +81 -0
  247. package/components/line-chart-options.en-BgXtU92P.js +81 -0
  248. package/components/line-chart-options.en-DmtT3Hbw.cjs +20 -0
  249. package/components/line-chart-options.es--u7QlrhG.js +81 -0
  250. package/components/line-chart-options.es-BwyQviz-.cjs +20 -0
  251. package/components/line-chart-options.fr-BUwOFGR7.cjs +20 -0
  252. package/components/line-chart-options.fr-BaPc1M70.js +81 -0
  253. package/components/line-chart-options.nl-BkPXShNF.cjs +20 -0
  254. package/components/line-chart-options.nl-C86fSn7a.js +81 -0
  255. package/components/line-chart-positioning.config-CCsZMpp-.cjs +20 -0
  256. package/components/line-chart-positioning.config-q_XJiQBO.js +55 -0
  257. package/components/load-data-fields-for-datasets-B3XcFFfg.js +42 -0
  258. package/components/load-data-fields-for-datasets-rL24A68g.cjs +20 -0
  259. package/components/marker-map-options.config-BE8GnY_T.js +122 -0
  260. package/components/marker-map-options.config-SkhbtEh0.cjs +20 -0
  261. package/components/marker-map-positioning.config-B4GDDPUn.cjs +20 -0
  262. package/components/marker-map-positioning.config-qEo6YbOG.js +48 -0
  263. package/components/ohlc-chart-options.config-BAB4pyo9.js +89 -0
  264. package/components/ohlc-chart-options.config-BrcfGxDw.cjs +20 -0
  265. package/components/ohlc-chart-options.de-DtanuVcU.cjs +20 -0
  266. package/components/ohlc-chart-options.de-LnJmQjiR.js +63 -0
  267. package/components/ohlc-chart-options.en-B7TU8CK4.js +63 -0
  268. package/components/ohlc-chart-options.en-CStPyUia.cjs +20 -0
  269. package/components/ohlc-chart-options.es-B7m8-_pA.js +63 -0
  270. package/components/ohlc-chart-options.es-CfTI32Rg.cjs +20 -0
  271. package/components/ohlc-chart-options.fr-C53gRLh5.cjs +20 -0
  272. package/components/ohlc-chart-options.fr-u_Bi9raw.js +63 -0
  273. package/components/ohlc-chart-options.nl-BrpwjNGt.js +63 -0
  274. package/components/ohlc-chart-options.nl-Dh9iPIWB.cjs +20 -0
  275. package/components/ohlc-chart-positioning.config-CU7qaa8y.js +78 -0
  276. package/components/ohlc-chart-positioning.config-TquTA1gZ.cjs +20 -0
  277. package/components/parallel-coordinates-plot-options.config-BXsg-9wF.js +43 -0
  278. package/components/parallel-coordinates-plot-options.config-DFRL952-.cjs +20 -0
  279. package/components/parallel-coordinates-plot-positioning.config-C8_F3uzs.cjs +20 -0
  280. package/components/parallel-coordinates-plot-positioning.config-DuQWnPKv.js +48 -0
  281. package/components/pivot-table-options.config-B9ZfmFZH.cjs +20 -0
  282. package/components/pivot-table-options.config-tf8f5F-n.js +247 -0
  283. package/components/pivot-table-positioning.config-B6ra1dbJ.js +55 -0
  284. package/components/pivot-table-positioning.config-DhtDGn-Z.cjs +20 -0
  285. package/components/pyramid-chart-options.config-BnCfeT-K.js +218 -0
  286. package/components/pyramid-chart-options.config-LSOc6ALz.cjs +20 -0
  287. package/components/pyramid-chart-positioning.config-5bWhJBP_.cjs +20 -0
  288. package/components/pyramid-chart-positioning.config-C_KASxlG.js +55 -0
  289. package/components/radar-chart-options.config-B5WP2MPc.cjs +20 -0
  290. package/components/radar-chart-options.config-DrNyOkHq.js +152 -0
  291. package/components/radar-chart-positioning.config-D2NVgsg1.cjs +20 -0
  292. package/components/radar-chart-positioning.config-l6ioKbxT.js +55 -0
  293. package/components/regular-table-options.config-CweBtAvm.js +153 -0
  294. package/components/regular-table-options.config-nBBnO4ru.cjs +20 -0
  295. package/components/route-map-options.config-DS9cCAQK.cjs +20 -0
  296. package/components/route-map-options.config-DXHqb8Ve.js +328 -0
  297. package/components/route-map-positioning.config-5Xju6VM-.cjs +20 -0
  298. package/components/route-map-positioning.config-HDuhd3TI.js +66 -0
  299. package/components/sankey-diagram-options.config-CpNK2oK6.js +128 -0
  300. package/components/sankey-diagram-options.config-CuKQOPPW.cjs +20 -0
  301. package/components/sankey-diagram-positioning.config-BKeksOQ2.js +66 -0
  302. package/components/sankey-diagram-positioning.config-BXseVUED.cjs +20 -0
  303. package/components/scatter-plot-options.config-BA_hVuhw.js +128 -0
  304. package/components/scatter-plot-options.config-C-L2dJ2o.cjs +20 -0
  305. package/components/scatter-plot-options.de-3CPVK7Hi.cjs +20 -0
  306. package/components/scatter-plot-options.de-CNLrv6j3.js +99 -0
  307. package/components/scatter-plot-options.en-DigMzpQy.js +99 -0
  308. package/components/scatter-plot-options.en-Dzvigy8-.cjs +20 -0
  309. package/components/scatter-plot-options.es-C-IH7GVH.cjs +20 -0
  310. package/components/scatter-plot-options.es-CQm_VVqJ.js +99 -0
  311. package/components/scatter-plot-options.fr-Cdp6kPQi.cjs +20 -0
  312. package/components/scatter-plot-options.fr-s0M39VT4.js +99 -0
  313. package/components/scatter-plot-options.nl-CqpPIO03.js +99 -0
  314. package/components/scatter-plot-options.nl-DeINlMqc.cjs +20 -0
  315. package/components/scatter-plot-positioning.config-Ci_UFZZ7.cjs +20 -0
  316. package/components/scatter-plot-positioning.config-MFGPELRh.js +77 -0
  317. package/components/set-nested-value-B-4IelRl.cjs +20 -0
  318. package/components/set-nested-value-V1TdquO3.js +33 -0
  319. package/components/slicer-filter-positioning.config-C2w10p-X.cjs +20 -0
  320. package/components/slicer-filter-positioning.config-CKyzt_nF.js +48 -0
  321. package/components/slot-menu/index.cjs +1 -1
  322. package/components/slot-menu/index.js +1 -1
  323. package/components/slot-menu-7Lsnn5mp.cjs +71 -0
  324. package/components/slot-menu-JcmVjv2g.js +429 -0
  325. package/components/speedometer-chart-options.config-CEIZfeYG.cjs +20 -0
  326. package/components/speedometer-chart-options.config-dsUupCqm.js +251 -0
  327. package/components/speedometer-chart-positioning.config-BEWibjyH.js +48 -0
  328. package/components/speedometer-chart-positioning.config-Df5CIOwp.cjs +20 -0
  329. package/components/spike-map-options.config-BRwdTyrp.cjs +20 -0
  330. package/components/spike-map-options.config-Dh4Ky5ZP.js +415 -0
  331. package/components/spike-map-positioning.config-C6aRn7nn.cjs +20 -0
  332. package/components/spike-map-positioning.config-CdT1dVMG.js +55 -0
  333. package/components/strip-plot-options.config-DpRoR04b.cjs +20 -0
  334. package/components/strip-plot-options.config-Vw3GoLef.js +54 -0
  335. package/components/strip-plot-positioning.config-B8vN0A44.js +48 -0
  336. package/components/strip-plot-positioning.config-DXJci5zk.cjs +20 -0
  337. package/components/sunburst-chart-options.config-0GUoeJMb.js +182 -0
  338. package/components/sunburst-chart-options.config-CCNYG73m.cjs +20 -0
  339. package/components/sunburst-chart-positioning.config-D-qWT3sC.js +48 -0
  340. package/components/sunburst-chart-positioning.config-XfxGkqp6.cjs +20 -0
  341. package/components/symbol-map-options.config-Ce0Kv7N7.cjs +20 -0
  342. package/components/symbol-map-options.config-Dultd0tF.js +179 -0
  343. package/components/symbol-map-positioning.config-BB8-Feba.cjs +20 -0
  344. package/components/symbol-map-positioning.config-CAC8XCec.js +55 -0
  345. package/components/treemap-chart-options.config-CtpfX7hs.js +209 -0
  346. package/components/treemap-chart-options.config-pA93-9cX.cjs +20 -0
  347. package/components/treemap-chart-positioning.config-CJKe5rf1.js +55 -0
  348. package/components/treemap-chart-positioning.config-Daf9Kk3k.cjs +20 -0
  349. package/components/utils/store.cjs +1 -1
  350. package/components/utils/store.js +59 -58
  351. package/components/utils-BMmRy1Nn.js +240 -0
  352. package/components/utils-D9CBsoMV.cjs +20 -0
  353. package/components/utils.cjs +1 -1
  354. package/components/utils.js +2 -2
  355. package/components/venn-diagram-positioning.config-8pfbiReM.js +55 -0
  356. package/components/venn-diagram-positioning.config-DqxSgLGR.cjs +20 -0
  357. package/components/wordcloud-chart-options.config-ConV1s49.cjs +20 -0
  358. package/components/wordcloud-chart-options.config-Dxu7-YcG.js +95 -0
  359. package/components/wordcloud-chart-positioning.config-Cb7lzr9N.cjs +20 -0
  360. package/components/wordcloud-chart-positioning.config-DUazjx5M.js +55 -0
  361. package/custom-elements.json +117 -17
  362. package/package.json +2 -2
  363. package/react/package.json +2 -2
  364. package/utils/data-broker/index.d.ts +20 -14
  365. package/utils/set-nested-value.d.ts +6 -0
  366. package/utils/store/base-store.d.ts +0 -4
  367. package/angular/README.md +0 -40
  368. package/angular/components/ai-chat-empty-state.ts +0 -98
  369. package/angular/components/ai-chat.ts +0 -412
  370. package/angular/components/ai-interaction-textarea.ts +0 -263
  371. package/angular/components/data-field-level.ts +0 -130
  372. package/angular/components/data-field-panel.ts +0 -256
  373. package/angular/components/data-field.ts +0 -130
  374. package/angular/components/data-fields-select.ts +0 -212
  375. package/angular/components/dataset-icon.ts +0 -83
  376. package/angular/components/dataset-selector-list.ts +0 -140
  377. package/angular/components/dataset-selector-row.ts +0 -157
  378. package/angular/components/display-settings-binning.ts +0 -92
  379. package/angular/components/display-settings-datetime.ts +0 -100
  380. package/angular/components/display-settings-grand-totals.ts +0 -92
  381. package/angular/components/display-settings-numeric.ts +0 -113
  382. package/angular/components/display-settings-period-over-period.ts +0 -107
  383. package/angular/components/display-settings.ts +0 -227
  384. package/angular/components/filter-expression-picker.ts +0 -168
  385. package/angular/components/filter-item.ts +0 -175
  386. package/angular/components/filter-parameter-picker.ts +0 -155
  387. package/angular/components/filter-value-picker-datetime.ts +0 -125
  388. package/angular/components/filter-value-picker-hierarchy.ts +0 -146
  389. package/angular/components/filter-value-picker-numeric.ts +0 -146
  390. package/angular/components/filter-value-picker.ts +0 -160
  391. package/angular/components/filters.ts +0 -209
  392. package/angular/components/formula-editor.ts +0 -229
  393. package/angular/components/formula-field.ts +0 -198
  394. package/angular/components/formula.ts +0 -170
  395. package/angular/components/interactive-viz-item.ts +0 -186
  396. package/angular/components/item-grid-item-actions-menu.ts +0 -113
  397. package/angular/components/item-grid.ts +0 -242
  398. package/angular/components/item-option-action-button-group.ts +0 -105
  399. package/angular/components/item-option-color-palette-picker.ts +0 -126
  400. package/angular/components/item-option-color-picker.ts +0 -134
  401. package/angular/components/item-option-color-range.ts +0 -168
  402. package/angular/components/item-option-guidelines.ts +0 -84
  403. package/angular/components/item-option-multi-language-field.ts +0 -133
  404. package/angular/components/item-option-number-field.ts +0 -161
  405. package/angular/components/item-option-panel.ts +0 -149
  406. package/angular/components/item-option-picker.ts +0 -120
  407. package/angular/components/item-option-position-picker.ts +0 -98
  408. package/angular/components/item-option-positions-number-field.ts +0 -140
  409. package/angular/components/item-option-radio-button-group.ts +0 -119
  410. package/angular/components/item-option-slider.ts +0 -126
  411. package/angular/components/item-option-switch.ts +0 -98
  412. package/angular/components/item-option-text-field.ts +0 -112
  413. package/angular/components/item-option.ts +0 -163
  414. package/angular/components/item-slot-drop-panel.ts +0 -236
  415. package/angular/components/item-slot-drop.ts +0 -231
  416. package/angular/components/item-slot-picker-panel.ts +0 -299
  417. package/angular/components/item-slot-picker.ts +0 -241
  418. package/angular/components/slot-menu-list.ts +0 -121
  419. package/angular/components/slot-menu.ts +0 -304
  420. package/angular/components/viz-item-menu.ts +0 -118
  421. package/angular/esm/components/ai-chat-empty-state.d.ts +0 -39
  422. package/angular/esm/components/ai-chat-empty-state.js +0 -99
  423. package/angular/esm/components/ai-chat.d.ts +0 -137
  424. package/angular/esm/components/ai-chat.js +0 -423
  425. package/angular/esm/components/ai-interaction-textarea.d.ts +0 -99
  426. package/angular/esm/components/ai-interaction-textarea.js +0 -281
  427. package/angular/esm/components/data-field-level.d.ts +0 -50
  428. package/angular/esm/components/data-field-level.js +0 -129
  429. package/angular/esm/components/data-field-panel.d.ts +0 -86
  430. package/angular/esm/components/data-field-panel.js +0 -268
  431. package/angular/esm/components/data-field.d.ts +0 -50
  432. package/angular/esm/components/data-field.js +0 -129
  433. package/angular/esm/components/data-fields-select.d.ts +0 -81
  434. package/angular/esm/components/data-fields-select.js +0 -227
  435. package/angular/esm/components/dataset-icon.d.ts +0 -34
  436. package/angular/esm/components/dataset-icon.js +0 -86
  437. package/angular/esm/components/dataset-selector-list.d.ts +0 -53
  438. package/angular/esm/components/dataset-selector-list.js +0 -147
  439. package/angular/esm/components/dataset-selector-row.d.ts +0 -58
  440. package/angular/esm/components/dataset-selector-row.js +0 -161
  441. package/angular/esm/components/display-settings-binning.d.ts +0 -37
  442. package/angular/esm/components/display-settings-binning.js +0 -91
  443. package/angular/esm/components/display-settings-datetime.d.ts +0 -40
  444. package/angular/esm/components/display-settings-datetime.js +0 -99
  445. package/angular/esm/components/display-settings-grand-totals.d.ts +0 -37
  446. package/angular/esm/components/display-settings-grand-totals.js +0 -91
  447. package/angular/esm/components/display-settings-numeric.d.ts +0 -45
  448. package/angular/esm/components/display-settings-numeric.js +0 -115
  449. package/angular/esm/components/display-settings-period-over-period.d.ts +0 -44
  450. package/angular/esm/components/display-settings-period-over-period.js +0 -107
  451. package/angular/esm/components/display-settings.d.ts +0 -83
  452. package/angular/esm/components/display-settings.js +0 -231
  453. package/angular/esm/components/filter-expression-picker.d.ts +0 -64
  454. package/angular/esm/components/filter-expression-picker.js +0 -179
  455. package/angular/esm/components/filter-item.d.ts +0 -63
  456. package/angular/esm/components/filter-item.js +0 -187
  457. package/angular/esm/components/filter-parameter-picker.d.ts +0 -56
  458. package/angular/esm/components/filter-parameter-picker.js +0 -151
  459. package/angular/esm/components/filter-value-picker-datetime.d.ts +0 -47
  460. package/angular/esm/components/filter-value-picker-datetime.js +0 -131
  461. package/angular/esm/components/filter-value-picker-hierarchy.d.ts +0 -53
  462. package/angular/esm/components/filter-value-picker-hierarchy.js +0 -155
  463. package/angular/esm/components/filter-value-picker-numeric.d.ts +0 -53
  464. package/angular/esm/components/filter-value-picker-numeric.js +0 -155
  465. package/angular/esm/components/filter-value-picker.d.ts +0 -57
  466. package/angular/esm/components/filter-value-picker.js +0 -171
  467. package/angular/esm/components/filters.d.ts +0 -75
  468. package/angular/esm/components/filters.js +0 -215
  469. package/angular/esm/components/formula-editor.d.ts +0 -78
  470. package/angular/esm/components/formula-editor.js +0 -236
  471. package/angular/esm/components/formula-field.d.ts +0 -70
  472. package/angular/esm/components/formula-field.js +0 -209
  473. package/angular/esm/components/formula.d.ts +0 -60
  474. package/angular/esm/components/formula.js +0 -177
  475. package/angular/esm/components/interactive-viz-item.d.ts +0 -63
  476. package/angular/esm/components/interactive-viz-item.js +0 -188
  477. package/angular/esm/components/item-grid-item-actions-menu.d.ts +0 -45
  478. package/angular/esm/components/item-grid-item-actions-menu.js +0 -115
  479. package/angular/esm/components/item-grid.d.ts +0 -80
  480. package/angular/esm/components/item-grid.js +0 -245
  481. package/angular/esm/components/item-option-action-button-group.d.ts +0 -41
  482. package/angular/esm/components/item-option-action-button-group.js +0 -107
  483. package/angular/esm/components/item-option-color-palette-picker.d.ts +0 -48
  484. package/angular/esm/components/item-option-color-palette-picker.js +0 -131
  485. package/angular/esm/components/item-option-color-picker.d.ts +0 -51
  486. package/angular/esm/components/item-option-color-picker.js +0 -139
  487. package/angular/esm/components/item-option-color-range.d.ts +0 -66
  488. package/angular/esm/components/item-option-color-range.js +0 -179
  489. package/angular/esm/components/item-option-guidelines.d.ts +0 -34
  490. package/angular/esm/components/item-option-guidelines.js +0 -83
  491. package/angular/esm/components/item-option-multi-language-field.d.ts +0 -50
  492. package/angular/esm/components/item-option-multi-language-field.js +0 -139
  493. package/angular/esm/components/item-option-number-field.d.ts +0 -58
  494. package/angular/esm/components/item-option-number-field.js +0 -171
  495. package/angular/esm/components/item-option-panel.d.ts +0 -54
  496. package/angular/esm/components/item-option-panel.js +0 -155
  497. package/angular/esm/components/item-option-picker.d.ts +0 -46
  498. package/angular/esm/components/item-option-picker.js +0 -123
  499. package/angular/esm/components/item-option-position-picker.d.ts +0 -39
  500. package/angular/esm/components/item-option-position-picker.js +0 -99
  501. package/angular/esm/components/item-option-positions-number-field.d.ts +0 -54
  502. package/angular/esm/components/item-option-positions-number-field.js +0 -147
  503. package/angular/esm/components/item-option-radio-button-group.d.ts +0 -45
  504. package/angular/esm/components/item-option-radio-button-group.js +0 -123
  505. package/angular/esm/components/item-option-slider.d.ts +0 -46
  506. package/angular/esm/components/item-option-slider.js +0 -131
  507. package/angular/esm/components/item-option-switch.d.ts +0 -40
  508. package/angular/esm/components/item-option-switch.js +0 -99
  509. package/angular/esm/components/item-option-text-field.d.ts +0 -44
  510. package/angular/esm/components/item-option-text-field.js +0 -115
  511. package/angular/esm/components/item-option.d.ts +0 -58
  512. package/angular/esm/components/item-option.js +0 -171
  513. package/angular/esm/components/item-slot-drop-panel.d.ts +0 -82
  514. package/angular/esm/components/item-slot-drop-panel.js +0 -249
  515. package/angular/esm/components/item-slot-drop.d.ts +0 -77
  516. package/angular/esm/components/item-slot-drop.js +0 -227
  517. package/angular/esm/components/item-slot-picker-panel.d.ts +0 -97
  518. package/angular/esm/components/item-slot-picker-panel.js +0 -309
  519. package/angular/esm/components/item-slot-picker.d.ts +0 -86
  520. package/angular/esm/components/item-slot-picker.js +0 -259
  521. package/angular/esm/components/slot-menu-list.d.ts +0 -46
  522. package/angular/esm/components/slot-menu-list.js +0 -123
  523. package/angular/esm/components/slot-menu.d.ts +0 -104
  524. package/angular/esm/components/slot-menu.js +0 -300
  525. package/angular/esm/components/viz-item-menu.d.ts +0 -42
  526. package/angular/esm/components/viz-item-menu.js +0 -111
  527. package/angular/esm/index.d.ts +0 -109
  528. package/angular/esm/index.js +0 -217
  529. package/angular/index.ts +0 -223
  530. package/angular/package.json +0 -40
  531. package/angular/tsconfig.json +0 -36
  532. package/angular/type-fallbacks.d.ts +0 -0
  533. package/angular/utils/ai-prompt/attachments.d.ts +0 -10
  534. package/angular/utils/ai-prompt/dictation.d.ts +0 -50
  535. package/angular/utils/ai-prompt/image-upload.d.ts +0 -12
  536. package/angular/utils/ai-prompt/index.d.ts +0 -6
  537. package/angular/utils/ai-prompt/tests/dictation.test.d.ts +0 -1
  538. package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +0 -1
  539. package/angular/utils/base/base.d.ts +0 -16
  540. package/angular/utils/base/focus-visible.d.ts +0 -29
  541. package/angular/utils/base/focusable.d.ts +0 -58
  542. package/angular/utils/base/index.d.ts +0 -5
  543. package/angular/utils/base/localized-mixin.d.ts +0 -22
  544. package/angular/utils/base/sized-mixin.d.ts +0 -17
  545. package/angular/utils/color/color-palettes.d.ts +0 -17
  546. package/angular/utils/color/extrapolate-color.d.ts +0 -1
  547. package/angular/utils/data/load-data-fields-for-datasets.d.ts +0 -22
  548. package/angular/utils/data-broker/index.d.ts +0 -257
  549. package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +0 -12
  550. package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +0 -1
  551. package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +0 -1
  552. package/angular/utils/drag/draggable.d.ts +0 -13
  553. package/angular/utils/drag/pragmatic-element-adapter.d.ts +0 -2
  554. package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +0 -1
  555. package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +0 -1
  556. package/angular/utils/filters/expressions.d.ts +0 -15
  557. package/angular/utils/filters/index.d.ts +0 -1
  558. package/angular/utils/formatter/calculate-duration.d.ts +0 -2
  559. package/angular/utils/formatter/decompose-numeric-format.d.ts +0 -11
  560. package/angular/utils/formatter/default-local-formats.d.ts +0 -20
  561. package/angular/utils/formatter/formats/cs.d.ts +0 -20
  562. package/angular/utils/formatter/formats/da.d.ts +0 -20
  563. package/angular/utils/formatter/formats/de.d.ts +0 -21
  564. package/angular/utils/formatter/formats/en-GB.d.ts +0 -21
  565. package/angular/utils/formatter/formats/en-US.d.ts +0 -1
  566. package/angular/utils/formatter/formats/en.d.ts +0 -1
  567. package/angular/utils/formatter/formats/es.d.ts +0 -54
  568. package/angular/utils/formatter/formats/fi.d.ts +0 -20
  569. package/angular/utils/formatter/formats/fr.d.ts +0 -54
  570. package/angular/utils/formatter/formats/he.d.ts +0 -20
  571. package/angular/utils/formatter/formats/hu.d.ts +0 -20
  572. package/angular/utils/formatter/formats/it.d.ts +0 -54
  573. package/angular/utils/formatter/formats/ja.d.ts +0 -20
  574. package/angular/utils/formatter/formats/ko.d.ts +0 -20
  575. package/angular/utils/formatter/formats/mk.d.ts +0 -20
  576. package/angular/utils/formatter/formats/nl.d.ts +0 -21
  577. package/angular/utils/formatter/formats/no.d.ts +0 -21
  578. package/angular/utils/formatter/formats/pl.d.ts +0 -20
  579. package/angular/utils/formatter/formats/pt.d.ts +0 -20
  580. package/angular/utils/formatter/formats/ru.d.ts +0 -20
  581. package/angular/utils/formatter/formats/sv.d.ts +0 -20
  582. package/angular/utils/formatter/formats/tr.d.ts +0 -21
  583. package/angular/utils/formatter/formats/zh-CN.d.ts +0 -20
  584. package/angular/utils/formatter/formats/zh-TW.d.ts +0 -20
  585. package/angular/utils/formatter/formatter.d.ts +0 -9
  586. package/angular/utils/formatter/get-dataset-name.d.ts +0 -2
  587. package/angular/utils/formatter/localize.d.ts +0 -3
  588. package/angular/utils/formatter/smart-datetime-formats.const.d.ts +0 -36
  589. package/angular/utils/formatter/tests/calculate-duration.test.d.ts +0 -1
  590. package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +0 -1
  591. package/angular/utils/formatter/tests/default-local-formats.test.d.ts +0 -1
  592. package/angular/utils/formatter/tests/formatter.test.d.ts +0 -1
  593. package/angular/utils/formatter/tests/localize.test.d.ts +0 -1
  594. package/angular/utils/formula/base/formula-base.d.ts +0 -117
  595. package/angular/utils/formula/base/formula-input-base.d.ts +0 -62
  596. package/angular/utils/formula/codemirror/actions.d.ts +0 -47
  597. package/angular/utils/formula/codemirror/drop-cursor.d.ts +0 -15
  598. package/angular/utils/formula/codemirror/icon-element.d.ts +0 -7
  599. package/angular/utils/formula/codemirror/parser.d.ts +0 -16
  600. package/angular/utils/formula/codemirror/tests/actions.test.d.ts +0 -1
  601. package/angular/utils/formula/codemirror/theme.d.ts +0 -20
  602. package/angular/utils/formula/codemirror/widget.d.ts +0 -18
  603. package/angular/utils/formula/config/aggregations.d.ts +0 -9
  604. package/angular/utils/formula/config/build-datasets.d.ts +0 -10
  605. package/angular/utils/formula/config/expression-helpers.d.ts +0 -42
  606. package/angular/utils/formula/config/functions.d.ts +0 -3
  607. package/angular/utils/formula/config/groupings.d.ts +0 -9
  608. package/angular/utils/formula/config/regex.d.ts +0 -39
  609. package/angular/utils/formula/config/resolve-column-presentation.d.ts +0 -19
  610. package/angular/utils/formula/config/tests/build-datasets.test.d.ts +0 -1
  611. package/angular/utils/formula/config/validate-expression.d.ts +0 -19
  612. package/angular/utils/formula/load-formula-codemirror.d.ts +0 -4
  613. package/angular/utils/formula/render-explanation-tooltip.d.ts +0 -7
  614. package/angular/utils/formula/store/formula-display-store.d.ts +0 -93
  615. package/angular/utils/formula/store/formula-editor-context.d.ts +0 -8
  616. package/angular/utils/formula/store/formula-editor-store.d.ts +0 -46
  617. package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +0 -1
  618. package/angular/utils/formula/tests/validate-expression.test.d.ts +0 -1
  619. package/angular/utils/get-css-variable.d.ts +0 -1
  620. package/angular/utils/index.d.ts +0 -10
  621. package/angular/utils/localize/set-locale.d.ts +0 -7
  622. package/angular/utils/map-tile-providers/index.d.ts +0 -93
  623. package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +0 -7
  624. package/angular/utils/slot-content/render-calculation-label.d.ts +0 -7
  625. package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +0 -1
  626. package/angular/utils/slot-state/slot-context.d.ts +0 -4
  627. package/angular/utils/slot-state/slot-store.d.ts +0 -39
  628. package/angular/utils/store/base-store.d.ts +0 -162
  629. package/angular/utils/store/dashboard-store.d.ts +0 -49
  630. package/angular/utils/store/index.d.ts +0 -135
  631. package/angular/utils/store/item-store.d.ts +0 -33
  632. package/angular/utils/store/store-registry.d.ts +0 -170
  633. package/angular/utils/store/tests/dashboard-store.test.d.ts +0 -1
  634. package/angular/utils/store/tests/item-store.test.d.ts +0 -1
  635. package/angular/utils/store/tests/store-registry.test.d.ts +0 -1
  636. package/angular/utils/store/types.d.ts +0 -270
  637. package/angular/utils/switch-item/index.d.ts +0 -34
  638. package/angular/utils/switch-item/slot-role-classification.d.ts +0 -31
  639. package/angular/utils/switch-item/stories/switch-item.stories.d.ts +0 -17
  640. package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +0 -1
  641. package/angular/utils/switch-item/tests/switch-item.test.d.ts +0 -1
  642. package/angular/utils/themes/bliss.d.ts +0 -2
  643. package/angular/utils/themes/classic-dark.d.ts +0 -2
  644. package/angular/utils/themes/classic.d.ts +0 -2
  645. package/angular/utils/themes/default-dark.d.ts +0 -2
  646. package/angular/utils/themes/default.d.ts +0 -2
  647. package/angular/utils/themes/index.d.ts +0 -4
  648. package/angular/utils/themes/orion.d.ts +0 -2
  649. package/angular/utils/themes/pinky.d.ts +0 -2
  650. package/angular/utils/themes/radiant.d.ts +0 -2
  651. package/angular/utils/themes/royale.d.ts +0 -2
  652. package/angular/utils/themes/seasonal.d.ts +0 -2
  653. package/angular/utils/themes/urban.d.ts +0 -2
  654. package/angular/utils/themes/vivid.d.ts +0 -2
  655. package/angular/utils/time/formats.const.d.ts +0 -4
  656. package/angular/utils/time/period-over-period-condition.const.d.ts +0 -8
  657. package/angular/utils/time/periods.const.d.ts +0 -15
  658. package/angular/utils/timezone/datetime-timezone.d.ts +0 -25
  659. package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +0 -1
  660. package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +0 -9
  661. package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +0 -30
  662. package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +0 -1
  663. package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +0 -1
  664. package/angular/utils/types/tests/type-check.test.d.ts +0 -1
  665. package/angular/utils/types/type-check.d.ts +0 -28
  666. package/components/ai-chat-Bo0ELL9Z.cjs +0 -319
  667. package/components/ai-chat-hOxsY5sO.js +0 -4037
  668. package/components/ai-interaction-textarea-DvILxmFe.cjs +0 -95
  669. package/components/ai-interaction-textarea-r77TFOk6.js +0 -792
  670. package/components/area-chart-options.config-Dc4P64YS.js +0 -229
  671. package/components/area-chart-options.config-N24pwyqX.cjs +0 -20
  672. package/components/area-chart-options.de-C2WwBf7L.cjs +0 -20
  673. package/components/area-chart-options.de-DY-fWkTJ.js +0 -85
  674. package/components/area-chart-options.en-BwX3W0Rz.js +0 -85
  675. package/components/area-chart-options.en-Dnm4crib.cjs +0 -20
  676. package/components/area-chart-options.es-CMcI1TAb.cjs +0 -20
  677. package/components/area-chart-options.es-DcNoi7rP.js +0 -85
  678. package/components/area-chart-options.fr-CHeI4bKx.cjs +0 -20
  679. package/components/area-chart-options.fr-T_BWw6Rr.js +0 -85
  680. package/components/area-chart-options.nl-BM7u0iDj.cjs +0 -20
  681. package/components/area-chart-options.nl-CbumBws7.js +0 -85
  682. package/components/area-chart-positioning.config-BqKl3pFu.cjs +0 -20
  683. package/components/area-chart-positioning.config-Br2P8CiM.js +0 -55
  684. package/components/bar-chart-options.config-B7tknpxM.js +0 -300
  685. package/components/bar-chart-options.config-DnNGu3RV.cjs +0 -20
  686. package/components/bar-chart-options.de-B3Q1SKCO.js +0 -110
  687. package/components/bar-chart-options.de-BZ3uW1-o.cjs +0 -20
  688. package/components/bar-chart-options.en-DA7MLNpQ.js +0 -110
  689. package/components/bar-chart-options.en-YNlXBbD4.cjs +0 -20
  690. package/components/bar-chart-options.es-BNeN4ThD.cjs +0 -20
  691. package/components/bar-chart-options.es-Crk_EzMI.js +0 -110
  692. package/components/bar-chart-options.fr-CMr4fQqa.js +0 -110
  693. package/components/bar-chart-options.fr-Cib__mEv.cjs +0 -20
  694. package/components/bar-chart-options.nl-C396D-gg.js +0 -110
  695. package/components/bar-chart-options.nl-CmGjKNyC.cjs +0 -20
  696. package/components/bar-chart-positioning.config-BIIRV0eK.js +0 -59
  697. package/components/bar-chart-positioning.config-CuZ6-d9P.cjs +0 -20
  698. package/components/base-store-DHC2m2Os.cjs +0 -20
  699. package/components/base-store-DmDe0dTU.js +0 -160
  700. package/components/box-plot-options.config-D6Wvmx36.js +0 -356
  701. package/components/box-plot-options.config-DCDHZMGK.cjs +0 -20
  702. package/components/box-plot-positioning.config-AHLRC1d-.js +0 -48
  703. package/components/box-plot-positioning.config-DAYgLURB.cjs +0 -20
  704. package/components/bubble-chart-options.config-CDY6pFK6.js +0 -135
  705. package/components/bubble-chart-options.config-DjdxlwRr.cjs +0 -20
  706. package/components/bubble-chart-positioning.config-0rqhisQ0.cjs +0 -20
  707. package/components/bubble-chart-positioning.config-55OuqSo_.js +0 -55
  708. package/components/bullet-chart-options.config-B2afO5Xh.cjs +0 -20
  709. package/components/bullet-chart-options.config-B4vBSWrH.js +0 -75
  710. package/components/bullet-chart-positioning.config-CIkbLbi3.js +0 -56
  711. package/components/bullet-chart-positioning.config-COKnJxPm.cjs +0 -20
  712. package/components/choropleth-map-options.config-6-xaMCeR.js +0 -348
  713. package/components/choropleth-map-options.config-6DXYO5_E.cjs +0 -20
  714. package/components/choropleth-map-positioning.config-0EBrFMj-.cjs +0 -20
  715. package/components/choropleth-map-positioning.config-C9QGy6XL.js +0 -55
  716. package/components/circle-pack-chart-options.config-CD8MWMTw.cjs +0 -20
  717. package/components/circle-pack-chart-options.config-DWkyGqA_.js +0 -54
  718. package/components/circle-pack-chart-positioning.config-BtQ9KsU9.cjs +0 -20
  719. package/components/circle-pack-chart-positioning.config-vl4eZHhs.js +0 -48
  720. package/components/circular-gauge-options.config-C0T9GkZX.cjs +0 -20
  721. package/components/circular-gauge-options.config-D_xHWhBy.js +0 -188
  722. package/components/circular-gauge-positioning.config-B-65zgBL.js +0 -48
  723. package/components/circular-gauge-positioning.config-BjDwC0zc.cjs +0 -20
  724. package/components/column-chart-options.config-B_a7iN-c.js +0 -299
  725. package/components/column-chart-options.config-D6we1uLn.cjs +0 -20
  726. package/components/column-chart-options.de-vSfQkMVy.js +0 -110
  727. package/components/column-chart-options.de-wUcJvrrW.cjs +0 -20
  728. package/components/column-chart-options.en-C2DVLfDZ.js +0 -110
  729. package/components/column-chart-options.en-YNlXBbD4.cjs +0 -20
  730. package/components/column-chart-options.es-CmZmT22A.js +0 -110
  731. package/components/column-chart-options.es-YKftTtkL.cjs +0 -20
  732. package/components/column-chart-options.fr-Cib__mEv.cjs +0 -20
  733. package/components/column-chart-options.fr-UmB2ifIT.js +0 -110
  734. package/components/column-chart-options.nl-DRrIt7sx.js +0 -110
  735. package/components/column-chart-options.nl-Tg07PDkZ.cjs +0 -20
  736. package/components/column-chart-positioning.config-CDISLkz9.js +0 -55
  737. package/components/column-chart-positioning.config-hIAFqQkL.cjs +0 -20
  738. package/components/combination-chart-options.config-C4y9E0Gr.cjs +0 -20
  739. package/components/combination-chart-options.config-l4szBpws.js +0 -150
  740. package/components/combination-chart-options.de-BExnOCui.cjs +0 -20
  741. package/components/combination-chart-options.de-BdV-j9VK.js +0 -64
  742. package/components/combination-chart-options.en-DquyU8wD.js +0 -64
  743. package/components/combination-chart-options.en-iAkhHGFR.cjs +0 -20
  744. package/components/combination-chart-options.es-B2piaL6n.cjs +0 -20
  745. package/components/combination-chart-options.es-Oz29P_Vd.js +0 -64
  746. package/components/combination-chart-options.fr-BEA5mDGS.cjs +0 -20
  747. package/components/combination-chart-options.fr-L6m-7FiZ.js +0 -64
  748. package/components/combination-chart-options.nl-DDyajIyP.cjs +0 -20
  749. package/components/combination-chart-options.nl-DJDH3K_U.js +0 -64
  750. package/components/combination-chart-positioning.config-C0immu_Z.js +0 -48
  751. package/components/combination-chart-positioning.config-CFo18WDh.cjs +0 -20
  752. package/components/conditional-number-options.config-DB4_BYN2.js +0 -205
  753. package/components/conditional-number-options.config-T6oXXy14.cjs +0 -20
  754. package/components/conditional-number-positioning.config-BfOZxdI3.js +0 -48
  755. package/components/conditional-number-positioning.config-Bw0gHZ2o.cjs +0 -20
  756. package/components/data-broker-Bdv5V8Yp.js +0 -1680
  757. package/components/data-broker-DWEXs6-2.cjs +0 -20
  758. package/components/data-field-panel-Y8MKxsTL.js +0 -385
  759. package/components/data-field-panel-bka3sr4V.cjs +0 -87
  760. package/components/data-fields-select-2P9sGs_9.js +0 -280
  761. package/components/data-fields-select-CAyr7ju6.cjs +0 -41
  762. package/components/dataset-selector-list-DhiiMGU8.cjs +0 -75
  763. package/components/dataset-selector-list-qeYvQkeD.js +0 -313
  764. package/components/dataset-selector-row-C8_Hnlp5.js +0 -306
  765. package/components/dataset-selector-row-Cau2IKg2.cjs +0 -90
  766. package/components/display-settings-BShiJjYL.js +0 -313
  767. package/components/display-settings-C088VTeJ.cjs +0 -140
  768. package/components/donut-chart-options.config-BhKFa3dz.cjs +0 -20
  769. package/components/donut-chart-options.config-CjtEDiJI.js +0 -207
  770. package/components/donut-chart-positioning.config-BPY9_d1a.js +0 -48
  771. package/components/donut-chart-positioning.config-D1CzQ5Xn.cjs +0 -20
  772. package/components/evolution-number-options.config-C3tU650w.js +0 -228
  773. package/components/evolution-number-options.config-CKL01dAR.cjs +0 -20
  774. package/components/evolution-number-positioning.config-Cylb9kiq.js +0 -48
  775. package/components/evolution-number-positioning.config-DLO4M9Cs.cjs +0 -20
  776. package/components/filter-expression-picker-CGgLtygy.cjs +0 -38
  777. package/components/filter-expression-picker-DC_fSNw3.js +0 -425
  778. package/components/filter-item-DMerwomA.cjs +0 -71
  779. package/components/filter-item-xi4ViBw6.js +0 -301
  780. package/components/filter-value-picker-BhZ1btu2.cjs +0 -60
  781. package/components/filter-value-picker-CaMy7sgw.js +0 -151
  782. package/components/filter-value-picker-datetime-DeXo9m9J.cjs +0 -42
  783. package/components/filter-value-picker-datetime-swmPuya2.js +0 -139
  784. package/components/filter-value-picker-hierarchy-CUrCfFBg.js +0 -232
  785. package/components/filter-value-picker-hierarchy-DxluZMYy.cjs +0 -47
  786. package/components/filter-value-picker-numeric-LHFsFwHY.cjs +0 -48
  787. package/components/filter-value-picker-numeric-_7THOfQ3.js +0 -219
  788. package/components/filters-CGlwSB1c.js +0 -742
  789. package/components/filters-qljuVmv3.cjs +0 -153
  790. package/components/formula-Cs6dyuWv.js +0 -138
  791. package/components/formula-codemirror-DQjUbRXS.js +0 -12018
  792. package/components/formula-codemirror-DWNgYsVG.cjs +0 -215
  793. package/components/formula-display-store-B7NE3yk2.js +0 -1093
  794. package/components/formula-display-store-CIaihdJt.cjs +0 -20
  795. package/components/formula-editor-DHau0kyj.cjs +0 -224
  796. package/components/formula-editor-RrAmSugR.js +0 -690
  797. package/components/formula-fK-POHy0.cjs +0 -45
  798. package/components/formula-field-BU-tU8RC.js +0 -40
  799. package/components/formula-field-YNbqmroG.cjs +0 -20
  800. package/components/formula-input-base-BL7QCVYc.js +0 -236
  801. package/components/formula-input-base-DbJu89ug.cjs +0 -49
  802. package/components/funnel-chart-options.config-6ifTq7Xh.js +0 -207
  803. package/components/funnel-chart-options.config-BOI6bzbw.cjs +0 -20
  804. package/components/funnel-chart-positioning.config-BBNWT_VE.cjs +0 -20
  805. package/components/funnel-chart-positioning.config-si2pX2gx.js +0 -48
  806. package/components/groupings-4QHaRJAm.cjs +0 -20
  807. package/components/groupings-Xmt8wNT9.js +0 -52
  808. package/components/heat-map-options.config-C4lqg4Gf.cjs +0 -20
  809. package/components/heat-map-options.config-CezceVM3.js +0 -224
  810. package/components/heat-map-positioning.config-DI5FunDJ.cjs +0 -20
  811. package/components/heat-map-positioning.config-DOlrArXK.js +0 -48
  812. package/components/heat-table-options.config-C7kvRE10.js +0 -372
  813. package/components/heat-table-options.config-DiX5eL4B.cjs +0 -20
  814. package/components/heat-table-positioning.config-COaenQ4o.js +0 -55
  815. package/components/heat-table-positioning.config-iu4AP8qY.cjs +0 -20
  816. package/components/hexbin-map-options.config-8brGMkt_.js +0 -276
  817. package/components/hexbin-map-options.config-BVajY1MH.cjs +0 -20
  818. package/components/hexbin-map-positioning.config-BhuH9uzL.js +0 -48
  819. package/components/hexbin-map-positioning.config-CZGNbr60.cjs +0 -20
  820. package/components/interactive-viz-item-Ckksv6BC.cjs +0 -247
  821. package/components/interactive-viz-item-diknEJmH.js +0 -693
  822. package/components/item-grid-BxeW2lFX.js +0 -4559
  823. package/components/item-grid-Dv_KLkHv.cjs +0 -113
  824. package/components/item-option-B8J9IqkK.cjs +0 -269
  825. package/components/item-option-n8o2amMX.js +0 -945
  826. package/components/item-option-panel-h1z2MCbr.js +0 -183
  827. package/components/item-option-panel-m9BDbDRw.cjs +0 -67
  828. package/components/item-slot-drop-CViqm_N2.cjs +0 -91
  829. package/components/item-slot-drop-iXidsCW1.js +0 -331
  830. package/components/item-slot-drop-panel-BjOPdyYH.cjs +0 -57
  831. package/components/item-slot-drop-panel-DwNCcxm1.js +0 -355
  832. package/components/item-slot-picker-D8e1NtDd.cjs +0 -174
  833. package/components/item-slot-picker-DpnpGTvR.js +0 -505
  834. package/components/item-slot-picker-panel-DyP6Uls5.cjs +0 -81
  835. package/components/item-slot-picker-panel-l53YLi4e.js +0 -448
  836. package/components/line-chart-options.config-CVR_mb2z.cjs +0 -20
  837. package/components/line-chart-options.config-OeRMkKMP.js +0 -248
  838. package/components/line-chart-options.de-CihDXrQ4.js +0 -79
  839. package/components/line-chart-options.de-DMuN0E3y.cjs +0 -20
  840. package/components/line-chart-options.en-81dHDKJE.cjs +0 -20
  841. package/components/line-chart-options.en-CPWllKeE.js +0 -79
  842. package/components/line-chart-options.es-CshvnhMH.cjs +0 -20
  843. package/components/line-chart-options.es-IX7Hu1Jk.js +0 -79
  844. package/components/line-chart-options.fr-CkLIbP6Y.js +0 -79
  845. package/components/line-chart-options.fr-EMHHZpiy.cjs +0 -20
  846. package/components/line-chart-options.nl-C9FWbWJy.cjs +0 -20
  847. package/components/line-chart-options.nl-Du2kphsn.js +0 -79
  848. package/components/line-chart-positioning.config-A4TQKtrY.js +0 -55
  849. package/components/line-chart-positioning.config-BAt_nsVA.cjs +0 -20
  850. package/components/load-data-fields-for-datasets-BNnr8x3m.js +0 -42
  851. package/components/load-data-fields-for-datasets-CW4Voiex.cjs +0 -20
  852. package/components/marker-map-options.config-CtW7nl1C.js +0 -117
  853. package/components/marker-map-options.config-M9BvYinR.cjs +0 -20
  854. package/components/marker-map-positioning.config-B-EQ3Kdq.js +0 -48
  855. package/components/marker-map-positioning.config-Bt-iQQTT.cjs +0 -20
  856. package/components/ohlc-chart-options.config-DOqKN6ov.cjs +0 -20
  857. package/components/ohlc-chart-options.config-Db40TXcB.js +0 -124
  858. package/components/ohlc-chart-options.de-Brd2iN0B.js +0 -61
  859. package/components/ohlc-chart-options.de-DqGHkVNG.cjs +0 -20
  860. package/components/ohlc-chart-options.en-C3AWmo7s.js +0 -61
  861. package/components/ohlc-chart-options.en-DrWja-A6.cjs +0 -20
  862. package/components/ohlc-chart-options.es-Cac117z2.cjs +0 -20
  863. package/components/ohlc-chart-options.es-Cwl_vxNQ.js +0 -61
  864. package/components/ohlc-chart-options.fr-DJuaTjBf.cjs +0 -20
  865. package/components/ohlc-chart-options.fr-STOjKGOk.js +0 -61
  866. package/components/ohlc-chart-options.nl-C7_qhngI.cjs +0 -20
  867. package/components/ohlc-chart-options.nl-CV0A0J84.js +0 -61
  868. package/components/ohlc-chart-positioning.config-COj7yt6H.cjs +0 -20
  869. package/components/ohlc-chart-positioning.config-Shmm9MJf.js +0 -78
  870. package/components/parallel-coordinates-plot-options.config--6iJkURT.cjs +0 -20
  871. package/components/parallel-coordinates-plot-options.config-Bw8T5EE4.js +0 -42
  872. package/components/parallel-coordinates-plot-positioning.config-C05rBaKD.js +0 -48
  873. package/components/parallel-coordinates-plot-positioning.config-ClvpDIFu.cjs +0 -20
  874. package/components/pivot-table-options.config-DdbSCsRL.cjs +0 -20
  875. package/components/pivot-table-options.config-gL2C_zvT.js +0 -245
  876. package/components/pivot-table-positioning.config-BGlPvMyz.js +0 -55
  877. package/components/pivot-table-positioning.config-CDJ5gAfT.cjs +0 -20
  878. package/components/pyramid-chart-options.config-348RYXh8.js +0 -260
  879. package/components/pyramid-chart-options.config-I2ZIo_GV.cjs +0 -20
  880. package/components/pyramid-chart-positioning.config-BcqgH441.js +0 -55
  881. package/components/pyramid-chart-positioning.config-DvhVY2uQ.cjs +0 -20
  882. package/components/radar-chart-options.config-BeGjchnc.js +0 -150
  883. package/components/radar-chart-options.config-CCMh7qJG.cjs +0 -20
  884. package/components/radar-chart-positioning.config-C9tXOa0G.js +0 -55
  885. package/components/radar-chart-positioning.config-COMI8Da1.cjs +0 -20
  886. package/components/regular-table-options.config-Bf0VAtT_.js +0 -148
  887. package/components/regular-table-options.config-DqZD5P9l.cjs +0 -20
  888. package/components/route-map-options.config-DVo8FTke.cjs +0 -20
  889. package/components/route-map-options.config-DWG5127-.js +0 -326
  890. package/components/route-map-positioning.config-BUIlsZig.js +0 -66
  891. package/components/route-map-positioning.config-Bi8-Dmc4.cjs +0 -20
  892. package/components/sankey-diagram-options.config-C8Gm15Mi.cjs +0 -20
  893. package/components/sankey-diagram-options.config-DW72WBKU.js +0 -126
  894. package/components/sankey-diagram-positioning.config-DUAsNKP9.js +0 -66
  895. package/components/sankey-diagram-positioning.config-DgZpfj7d.cjs +0 -20
  896. package/components/scatter-plot-options.config-CUyWy2xE.js +0 -322
  897. package/components/scatter-plot-options.config-Cd4DvLoN.cjs +0 -20
  898. package/components/scatter-plot-options.de-BO73A_o5.js +0 -96
  899. package/components/scatter-plot-options.de-DO4ns5t0.cjs +0 -20
  900. package/components/scatter-plot-options.en-B6S8Yf66.js +0 -96
  901. package/components/scatter-plot-options.en-SuHaPKPZ.cjs +0 -20
  902. package/components/scatter-plot-options.es-B0alrlLR.cjs +0 -20
  903. package/components/scatter-plot-options.es-jbzKhq4S.js +0 -96
  904. package/components/scatter-plot-options.fr-CkJXV4Og.cjs +0 -20
  905. package/components/scatter-plot-options.fr-DMFP8FB4.js +0 -96
  906. package/components/scatter-plot-options.nl-BqN6XbnS.js +0 -96
  907. package/components/scatter-plot-options.nl-CuhZUABa.cjs +0 -20
  908. package/components/scatter-plot-positioning.config-8c9ToDBN.cjs +0 -20
  909. package/components/scatter-plot-positioning.config-D6dyNojk.js +0 -77
  910. package/components/slicer-filter-positioning.config-BnxE_Ac2.js +0 -48
  911. package/components/slicer-filter-positioning.config-CqPOeeeg.cjs +0 -20
  912. package/components/slot-menu-11KQJc_U.cjs +0 -71
  913. package/components/slot-menu-BsaFfMfl.js +0 -426
  914. package/components/speedometer-chart-options.config-CtWGujmb.js +0 -246
  915. package/components/speedometer-chart-options.config-e9Ktyajm.cjs +0 -20
  916. package/components/speedometer-chart-positioning.config-B6ydcNl1.js +0 -48
  917. package/components/speedometer-chart-positioning.config-CWVs9wdL.cjs +0 -20
  918. package/components/spike-map-options.config-Ch0p9Q5l.js +0 -413
  919. package/components/spike-map-options.config-D-T_kT1C.cjs +0 -20
  920. package/components/spike-map-positioning.config-BUDKv3D-.js +0 -55
  921. package/components/spike-map-positioning.config-CzTPhLvN.cjs +0 -20
  922. package/components/strip-plot-options.config-TB3rkoj2.cjs +0 -20
  923. package/components/strip-plot-options.config-WICS2rnK.js +0 -53
  924. package/components/strip-plot-positioning.config-C6-0AgIF.cjs +0 -20
  925. package/components/strip-plot-positioning.config-d8qB2u-P.js +0 -48
  926. package/components/sunburst-chart-options.config-BojxVGMu.cjs +0 -20
  927. package/components/sunburst-chart-options.config-Bz-jP-gZ.js +0 -180
  928. package/components/sunburst-chart-positioning.config-D_APT9mf.cjs +0 -20
  929. package/components/sunburst-chart-positioning.config-DcYT58kl.js +0 -48
  930. package/components/symbol-map-options.config-BmHEhC5t.cjs +0 -20
  931. package/components/symbol-map-options.config-I89tFJUU.js +0 -177
  932. package/components/symbol-map-positioning.config-CWkkURYU.cjs +0 -20
  933. package/components/symbol-map-positioning.config-D12TczYa.js +0 -55
  934. package/components/treemap-chart-options.config-i7BH9mNl.js +0 -204
  935. package/components/treemap-chart-options.config-xtu6J11C.cjs +0 -20
  936. package/components/treemap-chart-positioning.config-BS-BO3sD.cjs +0 -20
  937. package/components/treemap-chart-positioning.config-BmxLpNn2.js +0 -55
  938. package/components/utils-DUeh8VMp.js +0 -240
  939. package/components/utils-pKA3Rwn3.cjs +0 -20
  940. package/components/venn-diagram-positioning.config-B-4Uoe_o.js +0 -55
  941. package/components/venn-diagram-positioning.config-D4Zhdh2X.cjs +0 -20
  942. package/components/wordcloud-chart-options.config-BjLJyuyw.cjs +0 -20
  943. package/components/wordcloud-chart-options.config-D_AhgZRs.js +0 -90
  944. package/components/wordcloud-chart-positioning.config-Cr9lzAHP.js +0 -55
  945. package/components/wordcloud-chart-positioning.config-DTEauH2w.cjs +0 -20
  946. /package/{angular/utils/ai-prompt/tests/attachments.test.d.ts → utils/tests/set-nested-value.test.d.ts} +0 -0
@@ -1,90 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2026 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- const e=require("./decorate-DCJt-2rt.cjs"),t=require("./data-broker-DWEXs6-2.cjs"),n=require("./get-dataset-name-CIt7of_Z.cjs");require("./dataset-icon-BAV0S4sZ.cjs");let r=require("@luzmo/icons");require("@luzmo/lucero/icon");let i=require("lit"),a=require("lit/decorators.js"),o=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/select"),require("@luzmo/lucero/tags"),require("@luzmo/lucero/tooltip");let s=require("lit/directives/repeat.js");var c=`:host([disabled]){pointer-events:none}:host{box-sizing:border-box;gap:var(--luzmo-dataset-selector-row-gap,var(--dataset-selector-row-gap));min-height:var(--luzmo-dataset-selector-row-min-height,var(--dataset-selector-row-min-height));font-size:var(--luzmo-dataset-selector-row-font-size,var(--dataset-selector-row-font-size));color:var(--luzmo-dataset-selector-row-color,var(--dataset-selector-row-color));font-family:var(--luzmo-dataset-selector-row-font-family,var(--dataset-selector-row-font-family));flex-flow:wrap;align-items:flex-start;display:flex}:host .dataset-search{--luzmo-select-inline-size:fit-content;flex:none;align-self:flex-start;inline-size:auto}:host .dataset-search .dataset-search-trigger-layout{align-items:center;gap:var(--luzmo-spacing-2);--luzmo-icon-vertical-align:top;min-inline-size:0;display:flex}:host .dataset-search .dataset-search-trigger-label{white-space:nowrap;line-height:1}:host .dataset-search{max-inline-size:var(--luzmo-dataset-selector-row-search-max-width,var(--dataset-selector-row-search-max-width));--luzmo-popover-max-height:var(--luzmo-dataset-selector-row-search-popover-max-height,var(--dataset-selector-row-search-popover-max-height,var(--luzmo-popover-max-height)));--select-minimum-width-multiplier:1}:host .selected-dataset-tag{--luzmo-tag-max-inline-size:var(--dataset-selector-row-tag-max-inline-size);--luzmo-tag-height:var(--luzmo-component-height);--luzmo-tag-spacing-inline-start:var(--luzmo-spacing-3);--luzmo-tag-icon-spacing-inline-end:var(--luzmo-spacing-3);--luzmo-tag-label-spacing-inline-end:var(--luzmo-spacing-2);--luzmo-tag-clear-button-spacing-inline-start:.375rem;--luzmo-tag-clear-button-spacing-inline-end:.375rem;margin:0}:host .selected-datasets-tags{--luzmo-tag-group-item-margin-block:0;--luzmo-tag-group-item-margin-inline:0;display:contents}:host .selected-dataset-tag .dataset-tag-label{align-items:center;line-height:1}:host .sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:host{--dataset-selector-row-gap:var(--luzmo-spacing-2);--dataset-selector-row-min-height:1.75rem;--dataset-selector-row-font-size:.75rem;--dataset-selector-row-color:var(--luzmo-font-color-extra-dimmed);--dataset-selector-row-font-family:var(--luzmo-font-family);--dataset-selector-row-tag-max-inline-size:var(--luzmo-tag-max-inline-size,180px);--dataset-selector-row-search-max-width:23.75rem;--dataset-selector-row-search-popover-max-height:400px}`,l=400,u=50,d=class extends i.LitElement{constructor(...e){super(...e),this.selectedDatasets=[],this.buttonLabel=(0,o.msg)(`Add dataset`,{desc:`Label for the control that opens dataset search to add a dataset`}),this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.flagOpendata=!1,this.disabled=!1,this.disableDatasetModification=!1,this.hideDatasetIcons=!1,this._availableDatasets=[],this._removalAnnouncement=``,this._selectValue=[],this._retrieving=!1,this._showAllSelectedDatasets=!1,this._searchValue=``,this._activeSearchRequestId=0,this._searchDebounceTimer=null,this._renderDatasetOptionIcon=e=>{if(this.hideDatasetIcons)return null;let t=e.value;if(typeof t!=`string`)return null;let n=this._availableDatasets.find(e=>e.id===t);return n?i.html`
21
- <luzmo-dataset-icon
22
- slot="icon"
23
- .datasetInfo=${n}
24
- size="16px"
25
- app-url=${this.appServer}
26
- ></luzmo-dataset-icon>
27
- `:null}}static{this.styles=(0,i.unsafeCSS)(c)}static{this.tagName=`luzmo-dataset-selector-row`}get _selectedDatasetIds(){return new Set(this.selectedDatasets.map(e=>e.id))}get _datasetModificationDisabled(){return this.disabled||this.disableDatasetModification}get _visibleSelectedDatasets(){let e=this.maxVisibleSelectedDatasets;return this._showAllSelectedDatasets||e===void 0||!Number.isFinite(e)?this.selectedDatasets:this.selectedDatasets.slice(0,Math.max(0,Math.floor(e)))}connectedCallback(){super.connectedCallback(),this._configureBroker()}disconnectedCallback(){this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),super.disconnectedCallback()}willUpdate(e){super.willUpdate(e),(e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`))&&this._configureBroker()}_configureBroker(){t.t.configure({authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl})}async _loadAvailableDatasets(){let e=++this._activeSearchRequestId;this._availableDatasets=[],this._retrieving=!0;try{let n=await t.t.fetchApi(`/securable`,{action:`get`,version:`0.1.0`,find:this._generateQuery()});if(e!==this._activeSearchRequestId)return;this._availableDatasets=n.rows??[]}catch(t){console.error(`Error loading datasets:`,t),e===this._activeSearchRequestId&&(this._availableDatasets=[])}finally{e===this._activeSearchRequestId&&(this._retrieving=!1)}}_generateQuery(){return{attributes:[`id`,`updated_at`,`name`,`subtype`],include:[{model:`Account`,attributes:[`id`,`provider`,`name`],include:[{model:`Plugin`,attributes:[`id`],include:[{model:`Thumbnail`,where:{size:`32px`}}]}]}],where:{type:`dataset`},limit:u,offset:0,...this._searchValue?{search:{match_types:[`name`,`description`],keyphrase:this._searchValue,securable_types:`dataset`},order:[[`name`,`asc`]]}:{order:[[`updated_at`,`desc`]]},...this.flagOpendata?{public:null}:{}}}_handleSearch(e){if(this._datasetModificationDisabled)return;let t=e.detail?.string??``;t!==this._searchValue&&(this._searchValue=t,this._activeSearchRequestId++,this._retrieving=!0,this._searchDebounceTimer!==null&&clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=window.setTimeout(()=>{this._loadAvailableDatasets()},l))}_handleSearchOpened(){this._datasetModificationDisabled||(this._searchValue=``,this._availableDatasets.length===0&&this._loadAvailableDatasets())}_handleSearchClosed(){this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),this._searchValue!==``&&(this._activeSearchRequestId++,this._searchValue=``,this._availableDatasets=[]),this._retrieving=!1}_handleDatasetSelected(e){if(this._datasetModificationDisabled)return;let t=e.detail?.value?.[0],n=this._availableDatasets.find(e=>e.id===t);if(!n){this._selectValue=[];return}if(!this._selectedDatasetIds.has(n.id)){let e=[...this.selectedDatasets,n],t=this.maxVisibleSelectedDatasets;typeof t==`number`&&Number.isFinite(t)&&e.length>Math.floor(t)&&(this._showAllSelectedDatasets=!0),this.selectedDatasets=e,this.dispatchEvent(new CustomEvent(`dataset-selected`,{detail:n,bubbles:!0,composed:!0}))}this._selectValue=[]}_handleDatasetRemoved(e){if(this._datasetModificationDisabled)return;let t=n.t(e),r=this.selectedDatasets.filter(t=>t.id!==e.id);this.selectedDatasets=r,this._removalAnnouncement=(0,o.msg)(o.str`Removed ${t}`,{desc:`Screen reader announcement when a dataset tag is removed; the interpolated value is the dataset name`}),setTimeout(()=>{this._removalAnnouncement=``},1e3),this.dispatchEvent(new CustomEvent(`dataset-removed`,{detail:e,bubbles:!0,composed:!0}))}_renderDatasetTag(e){return i.html`
28
- <luzmo-tag
29
- class="selected-dataset-tag"
30
- ?deletable=${!this._datasetModificationDisabled}
31
- tabindex=${this._datasetModificationDisabled?-1:0}
32
- aria-label=${this._datasetModificationDisabled?n.t(e):(0,o.msg)(o.str`Remove ${n.t(e)}`,{desc:`Accessible label for the delete control on a selected dataset tag; the interpolated value is the dataset name`})}
33
- @delete=${this._createDatasetRemovedHandler(e)}
34
- >
35
- ${this.hideDatasetIcons?i.nothing:i.html`
36
- <luzmo-dataset-icon
37
- slot="icon"
38
- .datasetInfo=${e}
39
- size="16px"
40
- app-url=${this.appServer}
41
- ></luzmo-dataset-icon>
42
- `}
43
- <span class="dataset-tag-label">${n.t(e)}</span>
44
- </luzmo-tag>
45
- `}_getDatasetOptions(){return this._availableDatasets.filter(e=>!this._selectedDatasetIds.has(e.id)).map(e=>({value:e.id,label:n.t(e),...this.hideDatasetIcons?{}:{icon:e.subtype===`upload`?r.luzmoFileUploadOutline:r.luzmoPlugin}}))}_renderDatasetSearch(){return i.html`
46
- <luzmo-select
47
- class="dataset-search"
48
- search="on"
49
- selects="single"
50
- variant="highlight"
51
- placement="bottom-start"
52
- hide-dropdown-icon
53
- no-wrap
54
- .label=${this.buttonLabel}
55
- .options=${this._getDatasetOptions()}
56
- .value=${this._selectValue}
57
- .retrieving=${this._retrieving}
58
- .optionIconRenderer=${this._renderDatasetOptionIcon}
59
- ?disabled=${this._datasetModificationDisabled}
60
- @change=${this._handleDatasetSelected}
61
- @luzmo-search=${this._handleSearch}
62
- @luzmo-opened=${this._handleSearchOpened}
63
- @luzmo-closed=${this._handleSearchClosed}
64
- >
65
- <span slot="label" class="dataset-search-trigger-layout">
66
- <luzmo-icon .icon=${r.luzmoPlus} size="s" aria-hidden="true"></luzmo-icon>
67
- ${this.selectedDatasets.length===0?i.html`<span class="dataset-search-trigger-label">${this.buttonLabel}</span>`:i.nothing}
68
- </span>
69
- ${this.selectedDatasets.length>0?i.html`<luzmo-tooltip slot="tooltip" self-managed placement="top" size="s">${this.buttonLabel}</luzmo-tooltip>`:i.nothing}
70
- </luzmo-select>
71
- `}_createDatasetRemovedHandler(e){return()=>this._handleDatasetRemoved(e)}async _handleShowAllDatasets(){if(this.disabled)return;let e=this._visibleSelectedDatasets.length;this._showAllSelectedDatasets=!0,await this.updateComplete,this.shadowRoot?.querySelectorAll(`.selected-dataset-tag`)[e]?.focus()}render(){let e=this._visibleSelectedDatasets,t=this.selectedDatasets.length-e.length,n=t===1?(0,o.msg)(`Show 1 more selected dataset`,{desc:`Accessible label for the button that reveals one selected dataset tag hidden by the visible tag limit`}):(0,o.msg)(o.str`Show ${t} more selected datasets`,{desc:`Accessible label for the button that reveals selected dataset tags hidden by the visible tag limit`});return i.html`
72
- ${this._renderDatasetSearch()}
73
- ${this.selectedDatasets.length>0?i.html`
74
- <luzmo-tags class="selected-datasets-tags">
75
- ${(0,s.repeat)(e,e=>e.id,e=>this._renderDatasetTag(e))}
76
- </luzmo-tags>
77
- ${t>0?i.html`
78
- <luzmo-action-button
79
- class="show-more-datasets"
80
- quiet
81
- aria-label=${n}
82
- ?disabled=${this.disabled}
83
- @click=${this._handleShowAllDatasets}
84
- >
85
- ${(0,o.msg)(o.str`+ ${t} more`,{desc:`Button that reveals selected dataset tags hidden by the visible tag limit`})}
86
- </luzmo-action-button>
87
- `:i.nothing}
88
- `:i.nothing}
89
- <span class="sr-only" role="status" aria-live="polite">${this._removalAnnouncement}</span>
90
- `}};e.t([(0,a.property)({type:Array})],d.prototype,`selectedDatasets`,void 0),e.t([(0,a.property)({type:String,attribute:`button-label`})],d.prototype,`buttonLabel`,void 0),e.t([(0,a.property)({type:String,attribute:`auth-key`})],d.prototype,`authKey`,void 0),e.t([(0,a.property)({type:String,attribute:`auth-token`})],d.prototype,`authToken`,void 0),e.t([(0,a.property)({type:String,attribute:`api-url`})],d.prototype,`apiUrl`,void 0),e.t([(0,a.property)({type:String,attribute:`app-server`})],d.prototype,`appServer`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`flag-opendata`})],d.prototype,`flagOpendata`,void 0),e.t([(0,a.property)({type:Boolean,reflect:!0,attribute:`disabled`})],d.prototype,`disabled`,void 0),e.t([(0,a.property)({type:Boolean,reflect:!0,attribute:`disable-dataset-modification`})],d.prototype,`disableDatasetModification`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`hide-dataset-icons`})],d.prototype,`hideDatasetIcons`,void 0),e.t([(0,a.property)({type:Number,reflect:!0,attribute:`max-visible-selected-datasets`})],d.prototype,`maxVisibleSelectedDatasets`,void 0),e.t([(0,a.state)()],d.prototype,`_availableDatasets`,void 0),e.t([(0,a.state)()],d.prototype,`_removalAnnouncement`,void 0),e.t([(0,a.state)()],d.prototype,`_selectValue`,void 0),e.t([(0,a.state)()],d.prototype,`_retrieving`,void 0),e.t([(0,a.state)()],d.prototype,`_showAllSelectedDatasets`,void 0),d=e.t([(0,o.localized)()],d),customElements.get(`luzmo-dataset-selector-row`)||customElements.define(`luzmo-dataset-selector-row`,d),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
@@ -1,313 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2026 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- import { i as e, n as t, t as n } from "./base-DPqRkMth.js";
21
- import { t as r } from "./decorate-DyMgX_Uh.js";
22
- import { t as i } from "./formatter-Cq5dFCyU.js";
23
- import { i as a, r as o, t as s } from "./ad-hoc-slot-content-hSlT62VS.js";
24
- import "./formula-Cs6dyuWv.js";
25
- import { luzmoIcon as c, luzmoInfoCircleOutline as l, luzmoTrashOutline as u } from "@luzmo/icons";
26
- import "@luzmo/lucero/icon";
27
- import { html as d, nothing as f, unsafeCSS as p } from "lit";
28
- import { property as m, query as h, state as g } from "lit/decorators.js";
29
- import { msg as _ } from "@lit/localize";
30
- import "@luzmo/lucero/action-button";
31
- import "@luzmo/lucero/tooltip";
32
- import "@luzmo/lucero/field-label";
33
- import "@luzmo/lucero/divider";
34
- import "@luzmo/lucero/text-field";
35
- import { Task as v } from "@lit/task";
36
- import { consume as y, createContext as b } from "@lit/context";
37
- import { SignalWatcher as x } from "@lit-labs/signals";
38
- import "@luzmo/lucero/multi-language-field";
39
- import "@luzmo/lucero/progress-circle";
40
- //#region src/utils/slot-state/slot-context.ts
41
- var S = b(Symbol("slot-store-context")), C = ":host{font-family:var(--luzmo-display-settings-font-family,var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size,var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color,var(--luzmo-font-color))}.settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}.settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap,var(--display-settings-gap));display:flex}.label-container{align-items:center;gap:var(--luzmo-display-settings-gap,var(--display-settings-gap));min-width:0;display:flex}.calculation-preview{align-items:flex-start}.calculation-preview luzmo-field-label{--luzmo-field-label-side-aligned-height:auto;--luzmo-field-label-min-height:auto;--luzmo-field-label-padding-block:0;--luzmo-field-label-line-height:1.5}.calculation-preview luzmo-formula{max-block-size:6em;max-inline-size:var(--luzmo-display-settings-calculation-max-width,var(--display-settings-calculation-max-width));overflow-wrap:anywhere;align-items:flex-start;min-width:0;display:inline-flex;overflow-y:auto}.calculation-preview luzmo-formula::-webkit-scrollbar{width:var(--luzmo-scrollbar-size)}.calculation-preview luzmo-formula::-webkit-scrollbar-track{background:var(--luzmo-scrollbar-track-background);border-radius:var(--luzmo-scrollbar-track-border-radius)}.calculation-preview luzmo-formula::-webkit-scrollbar-thumb{background:var(--luzmo-scrollbar-thumb-background);border-radius:var(--luzmo-scrollbar-thumb-border-radius)}.calculation-preview luzmo-formula::-webkit-scrollbar-thumb:hover{background:var(--luzmo-scrollbar-thumb-hover-background)}.calculation-preview luzmo-formula{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-scrollbar-thumb-background) var(--luzmo-scrollbar-track-background)}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin,var(--display-settings-ids-container-vertical-margin)) 0}luzmo-tooltip{--tooltip-font-size:var(--luzmo-display-settings-tooltip-font-size,var(--tooltip-font-size))}.setting{align-items:center;display:flex}.label-action-container{justify-content:space-between;align-items:center;gap:var(--luzmo-display-settings-info-to-remove-icon-gap,var(--display-settings-info-to-remove-icon-gap));display:flex}.label-action-container luzmo-action-button{margin-inline-start:var(--luzmo-spacing-2)}.ids-container{gap:var(--luzmo-display-settings-ids-container-gap,var(--luzmo-spacing-2));border-radius:50%;flex-direction:column;display:flex}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform,var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size,var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color,var(--display-settings-id-label-color))}.id-value{-webkit-user-select:text;user-select:text;cursor:text}.example-container{line-height:var(--luzmo-display-settings-example-height,var(--display-settings-example-height));font-size:var(--luzmo-display-settings-example-font-size,var(--display-settings-example-font-size));color:var(--luzmo-display-settings-example-color,var(--display-settings-example-color))}.example-container .example-label{font-weight:var(--luzmo-display-settings-example-label-font-weight,var(--display-settings-example-label-font-weight));color:var(--luzmo-display-settings-example-label-color,var(--display-settings-example-label-color))}.example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-example-language-color,var(--display-settings-example-language-color))}.example-container{gap:var(--luzmo-display-settings-example-container-gap,var(--luzmo-spacing-2))}:host{--display-settings-font-family:var(--luzmo-font-family);--display-settings-id-label-text-transform:uppercase;--display-settings-id-label-color:var(--luzmo-primary);--display-settings-font-size:var(--luzmo-font-size);--display-settings-id-label-font-size:var(--luzmo-font-size-s);--display-settings-gap:var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap:var(--luzmo-spacing-5);--display-settings-calculation-max-width:20rem}:host([size=s]){--display-settings-id-label-font-size:var(--luzmo-font-size-s);--display-settings-font-size:var(--luzmo-font-size-s);--display-settings-gap:var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap:var(--luzmo-spacing-4);--display-settings-calculation-max-width:16rem}:host([size=l]){--display-settings-id-label-font-size:var(--luzmo-font-size);--display-settings-font-size:var(--luzmo-font-size-l);--display-settings-gap:var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--display-settings-calculation-max-width:24rem}:host([size=xl]){--display-settings-id-label-font-size:var(--luzmo-font-size-l);--display-settings-font-size:var(--luzmo-font-size-xl);--display-settings-gap:var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--display-settings-info-to-remove-icon-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--display-settings-calculation-max-width:28rem}:host{--display-settings-example-font-size:var(--luzmo-font-size);--display-settings-example-color:var(--luzmo-font-color);--display-settings-example-label-font-weight:bold;--display-settings-example-label-color:var(--luzmo-primary);--display-settings-example-language-color:var(--luzmo-primary);--display-settings-example-height:var(--luzmo-component-height)}:host([size=s]){--display-settings-example-height:var(--luzmo-component-height-s);--display-settings-example-font-size:var(--luzmo-font-size-s)}:host([size=l]){--display-settings-example-height:var(--luzmo-component-height-l);--display-settings-example-font-size:var(--luzmo-font-size)}:host([size=xl]){--display-settings-example-height:var(--luzmo-component-height-xl);--display-settings-example-font-size:var(--luzmo-font-size-l)}", w = class extends x(t(e, { validSizes: Object.values(n) })) {
42
- constructor(...e) {
43
- super(...e), this._loadDisplaySettings = new v(this, {
44
- task: async ([e, t, n, r, i, a]) => {
45
- let o = [];
46
- a && o.push("grandTotals"), n && o.push("periodOverPeriod"), (e === "numeric" || e === "mixed" && this._currentSlotContent?.type === "numeric") && o.push("numeric"), e !== "numeric" && this._currentSlotContent?.type === "datetime" && o.push("datetime"), !["numeric", "mixed"].includes(e ?? "") && this._currentSlotContent?.type === "numeric" && !r && o.push("binning"), n && !this._settingsTypeLoaded.periodOverPeriod && (await import("./display-settings-period-over-period/index.js"), this._settingsTypeLoaded.periodOverPeriod = !0), o.length > 0 && !t && (o.includes("numeric") && !this._settingsTypeLoaded.numeric ? (await import("./display-settings-numeric/index.js"), this._settingsTypeLoaded.numeric = !0) : o.includes("datetime") && !this._settingsTypeLoaded.datetime && i ? (await import("./display-settings-datetime/index.js"), this._settingsTypeLoaded.datetime = !0) : o.includes("binning") && !this._settingsTypeLoaded.binning ? (await import("./display-settings-binning/index.js"), this._settingsTypeLoaded.binning = !0) : o.includes("grandTotals") && !this._settingsTypeLoaded.grandTotals && (await import("./display-settings-grand-totals/index.js"), this._settingsTypeLoaded.grandTotals = !0));
47
- },
48
- args: () => [
49
- this.slotType,
50
- this.hideDisplaySettings,
51
- this._store?.periodOverPeriodUiType.get(),
52
- this.isBinningDisabled,
53
- this.areDatetimeOptionsEnabled,
54
- this.areGrandTotalsEnabled,
55
- this.slotContent
56
- ]
57
- }), this.language = "en", this.contentLanguage = "en", this.slotType = "numeric", this.slotName = "measure", this.slotContent = {}, this.datasetsDataFields = [], this.apiUrl = "https://api.luzmo.com", this.authKey = "", this.authToken = "", this._showIds = !1, this.measureColumns = [], this._settingsTypeLoaded = {
58
- binning: !1,
59
- datetime: !1,
60
- numeric: !1,
61
- grandTotals: !1,
62
- periodOverPeriod: !1,
63
- hierarchy: !0
64
- }, this._currentSlotContent = {};
65
- }
66
- static get styles() {
67
- return [p(C)];
68
- }
69
- _datasetDatetimeColumns() {
70
- return this._store?.linkedDataset.get().flatMap((e) => e.columns?.filter((e) => e.type === "datetime").map((t) => ({
71
- ...t,
72
- datasetId: e.id
73
- })));
74
- }
75
- willUpdate(e) {
76
- let t = this._store?.activeSlotContents.get(), n = this._store?.periodOverPeriodUiType.get();
77
- if (this.periodOverPeriodUiType !== n && (this.periodOverPeriodUiType = n), this._store) {
78
- t !== this._lastStoreContent && (this._lastStoreContent = t, this._currentSlotContent = t ? structuredClone(t) : {});
79
- return;
80
- }
81
- if (e.has("slotContent") || Object.keys(this._currentSlotContent).length === 0) {
82
- let e = this.slotContent;
83
- e && (this._currentSlotContent = structuredClone(e));
84
- }
85
- }
86
- get datasetId() {
87
- return this._currentSlotContent.datasetId ?? this._currentSlotContent.set;
88
- }
89
- get formulaOrColumnId() {
90
- return this._currentSlotContent.formulaId ?? this._currentSlotContent.expression ?? this._currentSlotContent.formula ?? this._currentSlotContent.columnId ?? this._currentSlotContent.column;
91
- }
92
- resetInfoVisibility(e) {
93
- this._showIds && this._toggleIds(e);
94
- }
95
- _onSlotContentChange(e) {
96
- e.stopPropagation(), e.preventDefault(), this._currentSlotContent = structuredClone(e.detail.slotContent), this._sendEvent(), this.requestUpdate();
97
- }
98
- _onLabelChange() {
99
- this._currentSlotContent = structuredClone(this._currentSlotContent), this._currentSlotContent.label = this._multiLanguageFieldElement.value || {}, this._sendEvent(), this.requestUpdate();
100
- }
101
- _sendEvent() {
102
- this.dispatchEvent(new CustomEvent("luzmo-slot-content-changed", {
103
- bubbles: !0,
104
- composed: !0,
105
- cancelable: !0,
106
- detail: { slotContent: { ...this._currentSlotContent } }
107
- })), this._store && (this._store.updateContent({ ...this._currentSlotContent }), this._lastStoreContent = this._store.activeSlotContents.get());
108
- }
109
- _removeEvent() {
110
- this.dispatchEvent(new CustomEvent("luzmo-remove-slot-content", {
111
- bubbles: !0,
112
- composed: !0,
113
- cancelable: !0,
114
- detail: { slotContent: this._currentSlotContent }
115
- }));
116
- }
117
- _toggleIds(e = !0) {
118
- this._showIds = !this._showIds, e && this.dispatchEvent(new CustomEvent("luzmo-info-visibility-changed", { detail: {
119
- isVisible: this._showIds,
120
- slotContent: { ...this._currentSlotContent }
121
- } }));
122
- }
123
- _renderExampleRow() {
124
- let e = this.slotType === "numeric" || this.slotType === "mixed" && this._currentSlotContent.type === "numeric", t = this.slotType !== "datetime" && this._currentSlotContent.type === "datetime" && this.areDatetimeOptionsEnabled;
125
- if (!(e || t)) return f;
126
- let n = !this._currentSlotContent.datetimeDisplayMode || this._currentSlotContent.datetimeDisplayMode === "default", r = e ? 1234.56 : n ? /* @__PURE__ */ new Date() : 1, a = i({
127
- ...this._currentSlotContent,
128
- type: e ? "numeric" : "datetime"
129
- }, {
130
- locale: this.contentLanguage,
131
- level: this._currentSlotContent.level
132
- })(r);
133
- return d`<div class="settings-row example-container">
134
- <span class="example-label"
135
- >${_("Example", { desc: "Label for example" })}:</span
136
- >
137
- <span class="example">${a}</span>
138
- </div>`;
139
- }
140
- _renderDisplaySettings() {
141
- let e = {
142
- name: this.slotName,
143
- type: this.slotType
144
- }, t = a(this._currentSlotContent, e) ? s(this._currentSlotContent) : void 0, n = o(this._currentSlotContent) ? _("Formula", { desc: "Label for the formula type" }) : _("Expression", { desc: "Label for the expression type" }), r = this._currentSlotContent.datasetId ?? this._currentSlotContent.set;
145
- return d`<div class="settings-container">
146
- <div class="settings-row">
147
- <div class="setting">
148
- <div class="label-container">
149
- <luzmo-field-label side-aligned="start" .size=${this.size}
150
- >Label:</luzmo-field-label
151
- >
152
- <luzmo-multi-language-field
153
- label="Label"
154
- .language=${this.contentLanguage}
155
- .value=${this._currentSlotContent.label ?? {}}
156
- .size=${this.size}
157
- debounce="200"
158
- @change=${this._onLabelChange}
159
- ></luzmo-multi-language-field>
160
- </div>
161
- <div class="label-action-container">
162
- <luzmo-action-button quiet .size=${this.size} .label=${_("Show dataset and column IDs", { desc: "Show IDs button label" })} aria-expanded=${this._showIds} @click=${this._toggleIds}>
163
- ${c(l)}
164
- <luzmo-tooltip self-managed placement="top" size=${this.size}>
165
- ${_("Show dataset and column IDs", { desc: "Show IDs button label" })}
166
- </luzmo-tooltip>
167
- </luzmo-action-button>
168
- ${this.showRemoveButton ? d`<luzmo-action-button quiet .size=${this.size} .label=${_("Remove", { desc: "Remove button label" })} @click=${this._removeEvent}>
169
- ${c(u)}
170
- <luzmo-tooltip
171
- self-managed
172
- placement="top"
173
- size=${this.size}
174
- >
175
- ${_("Remove", { desc: "Remove button label" })}
176
- </luzmo-tooltip>
177
- </luzmo-action-button>` : ""}
178
- </div>
179
- </div>
180
- </div>
181
- ${t ? d`<div class="settings-row">
182
- <div class="setting">
183
- <div class="label-container calculation-preview">
184
- <luzmo-field-label side-aligned="start" .size=${this.size}
185
- >${n}:</luzmo-field-label
186
- >
187
- <luzmo-formula
188
- display="text"
189
- .expression=${t}
190
- .datasetsDataFields=${this.datasetsDataFields}
191
- .datasetIds=${r ? [r] : []}
192
- .apiUrl=${this.apiUrl}
193
- .authKey=${this.authKey}
194
- .authToken=${this.authToken}
195
- .contentLanguage=${this.contentLanguage}
196
- .size=${this.size}
197
- ></luzmo-formula>
198
- </div>
199
- </div>
200
- </div>` : ""}
201
- ${this.areGrandTotalsEnabled ? d`<luzmo-display-settings-grand-totals
202
- .language=${this.language}
203
- .slotContent=${this._currentSlotContent}
204
- .size=${this.size}
205
- @luzmo-slot-content-changed=${this._onSlotContentChange}
206
- ></luzmo-display-settings-grand-totals>` : ""}
207
- ${this.slotType === "numeric" || this.slotType === "mixed" && this._currentSlotContent.type === "numeric" ? d`<luzmo-display-settings-numeric
208
- .language=${this.language}
209
- .slotContent=${this._currentSlotContent}
210
- .size=${this.size}
211
- .measureColumns=${this.measureColumns}
212
- .isAggregationDisabled=${this.isAggregationDisabled}
213
- .isCumulativeSumEnabled=${this.isCumulativeSumEnabled}
214
- @luzmo-slot-content-changed=${this._onSlotContentChange}
215
- ></luzmo-display-settings-numeric>` : ""}
216
- ${this.slotType !== "numeric" && this._currentSlotContent.type === "datetime" && this.areDatetimeOptionsEnabled ? d`<luzmo-display-settings-datetime
217
- .language=${this.language}
218
- .contentLanguage=${this.contentLanguage}
219
- .slotContent=${this._currentSlotContent}
220
- .size=${this.size}
221
- @luzmo-slot-content-changed=${this._onSlotContentChange}
222
- ></luzmo-display-settings-datetime>` : ""}
223
- ${!["numeric", "mixed"].includes(this.slotType ?? "") && this._currentSlotContent.type === "numeric" && !this.isBinningDisabled ? d`<luzmo-display-settings-binning
224
- .language=${this.language}
225
- .slotContent=${this._currentSlotContent}
226
- .size=${this.size}
227
- @luzmo-slot-content-changed=${this._onSlotContentChange}
228
- ></luzmo-display-settings-binning>` : ""}
229
- ${this.periodOverPeriodUiType ? d`<luzmo-display-settings-period-over-period
230
- .language=${this.language}
231
- .slotContent=${this._currentSlotContent}
232
- .size=${this.size}
233
- .periodOverPeriodUiType=${this.periodOverPeriodUiType}
234
- .linkedDatasetDatetimeColumns=${this._datasetDatetimeColumns()}
235
- @luzmo-slot-content-changed=${this._onSlotContentChange}
236
- ></luzmo-display-settings-period-over-period>` : ""}
237
- ${this._renderExampleRow()}
238
- </div>
239
- ${this._showIds ? d` <luzmo-divider></luzmo-divider>
240
- <div class="ids-container">
241
- <div>
242
- <span class="id-label"
243
- >${this._currentSlotContent.formula || this._currentSlotContent.formulaId || this._currentSlotContent.expression ? _("Formula", { desc: "Label for the formula type" }) : _("Column", { desc: "Label for column type" })}:
244
- </span>
245
- <span class="id-value">
246
- ${this.formulaOrColumnId}
247
- </span>
248
- </div>
249
- <div>
250
- <span class="id-label">Dataset: </span>
251
- <span class="id-value">
252
- ${this.datasetId}
253
- </span>
254
- </div>
255
- <div></div>
256
- </div>` : ""}`;
257
- }
258
- render() {
259
- return this._loadDisplaySettings.render({
260
- pending: () => d`<luzmo-progress-circle
261
- indeterminate
262
- .label=${_("Loading", { desc: "Loading spinner label" })}
263
- .size=${this.size}
264
- ></luzmo-progress-circle>`,
265
- complete: () => this._renderDisplaySettings(),
266
- error: () => this._renderDisplaySettings()
267
- });
268
- }
269
- disconnectedCallback() {
270
- super.disconnectedCallback?.(), this._loadDisplaySettings.abort?.();
271
- }
272
- };
273
- //#endregion
274
- //#region src/components/display-settings/index.ts
275
- r([m({ type: String })], w.prototype, "language", void 0), r([m({
276
- type: String,
277
- attribute: "content-language"
278
- })], w.prototype, "contentLanguage", void 0), r([m({
279
- type: Boolean,
280
- attribute: "hide-display-settings"
281
- })], w.prototype, "hideDisplaySettings", void 0), r([m({ type: Boolean })], w.prototype, "isBinningDisabled", void 0), r([m({ type: Boolean })], w.prototype, "areDatetimeOptionsEnabled", void 0), r([m({ type: Boolean })], w.prototype, "areGrandTotalsEnabled", void 0), r([m({ type: Boolean })], w.prototype, "isAggregationDisabled", void 0), r([m({ type: Boolean })], w.prototype, "isCumulativeSumEnabled", void 0), r([m({ type: String })], w.prototype, "periodOverPeriodUiType", void 0), r([m({
282
- type: Boolean,
283
- attribute: "show-remove-button"
284
- })], w.prototype, "showRemoveButton", void 0), r([m({
285
- type: String,
286
- attribute: "slot-type"
287
- })], w.prototype, "slotType", void 0), r([m({
288
- type: String,
289
- attribute: "slot-name"
290
- })], w.prototype, "slotName", void 0), r([m({
291
- type: Object,
292
- attribute: !1
293
- })], w.prototype, "slotContent", void 0), r([m({ attribute: !1 })], w.prototype, "datasetsDataFields", void 0), r([m({
294
- type: String,
295
- attribute: "api-url",
296
- reflect: !0
297
- })], w.prototype, "apiUrl", void 0), r([m({
298
- type: String,
299
- attribute: "auth-key",
300
- reflect: !0
301
- })], w.prototype, "authKey", void 0), r([m({
302
- type: String,
303
- attribute: "auth-token",
304
- reflect: !0
305
- })], w.prototype, "authToken", void 0), r([g()], w.prototype, "_showIds", void 0), r([m({
306
- type: Array,
307
- reflect: !1
308
- })], w.prototype, "measureColumns", void 0), r([h("luzmo-multi-language-field")], w.prototype, "_multiLanguageFieldElement", void 0), r([y({
309
- context: S,
310
- subscribe: !0
311
- })], w.prototype, "_store", void 0), customElements.get("luzmo-display-settings") || customElements.define("luzmo-display-settings", w);
312
- //#endregion
313
- export { S as n, w as t };
@@ -1,140 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2026 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- const e=require("./base-B0frB7oV.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./formatter-BeXmurVe.cjs"),r=require("./ad-hoc-slot-content-BwcFfXCV.cjs");require("./formula-fK-POHy0.cjs");let i=require("@luzmo/icons");require("@luzmo/lucero/icon");let a=require("lit"),o=require("lit/decorators.js"),s=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/tooltip"),require("@luzmo/lucero/field-label"),require("@luzmo/lucero/divider"),require("@luzmo/lucero/text-field");let c=require("@lit/task"),l=require("@lit/context"),u=require("@lit-labs/signals");require("@luzmo/lucero/multi-language-field"),require("@luzmo/lucero/progress-circle");var d=(0,l.createContext)(Symbol(`slot-store-context`)),f=`:host{font-family:var(--luzmo-display-settings-font-family,var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size,var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color,var(--luzmo-font-color))}.settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}.settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap,var(--display-settings-gap));display:flex}.label-container{align-items:center;gap:var(--luzmo-display-settings-gap,var(--display-settings-gap));min-width:0;display:flex}.calculation-preview{align-items:flex-start}.calculation-preview luzmo-field-label{--luzmo-field-label-side-aligned-height:auto;--luzmo-field-label-min-height:auto;--luzmo-field-label-padding-block:0;--luzmo-field-label-line-height:1.5}.calculation-preview luzmo-formula{max-block-size:6em;max-inline-size:var(--luzmo-display-settings-calculation-max-width,var(--display-settings-calculation-max-width));overflow-wrap:anywhere;align-items:flex-start;min-width:0;display:inline-flex;overflow-y:auto}.calculation-preview luzmo-formula::-webkit-scrollbar{width:var(--luzmo-scrollbar-size)}.calculation-preview luzmo-formula::-webkit-scrollbar-track{background:var(--luzmo-scrollbar-track-background);border-radius:var(--luzmo-scrollbar-track-border-radius)}.calculation-preview luzmo-formula::-webkit-scrollbar-thumb{background:var(--luzmo-scrollbar-thumb-background);border-radius:var(--luzmo-scrollbar-thumb-border-radius)}.calculation-preview luzmo-formula::-webkit-scrollbar-thumb:hover{background:var(--luzmo-scrollbar-thumb-hover-background)}.calculation-preview luzmo-formula{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-scrollbar-thumb-background) var(--luzmo-scrollbar-track-background)}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin,var(--display-settings-ids-container-vertical-margin)) 0}luzmo-tooltip{--tooltip-font-size:var(--luzmo-display-settings-tooltip-font-size,var(--tooltip-font-size))}.setting{align-items:center;display:flex}.label-action-container{justify-content:space-between;align-items:center;gap:var(--luzmo-display-settings-info-to-remove-icon-gap,var(--display-settings-info-to-remove-icon-gap));display:flex}.label-action-container luzmo-action-button{margin-inline-start:var(--luzmo-spacing-2)}.ids-container{gap:var(--luzmo-display-settings-ids-container-gap,var(--luzmo-spacing-2));border-radius:50%;flex-direction:column;display:flex}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform,var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size,var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color,var(--display-settings-id-label-color))}.id-value{-webkit-user-select:text;user-select:text;cursor:text}.example-container{line-height:var(--luzmo-display-settings-example-height,var(--display-settings-example-height));font-size:var(--luzmo-display-settings-example-font-size,var(--display-settings-example-font-size));color:var(--luzmo-display-settings-example-color,var(--display-settings-example-color))}.example-container .example-label{font-weight:var(--luzmo-display-settings-example-label-font-weight,var(--display-settings-example-label-font-weight));color:var(--luzmo-display-settings-example-label-color,var(--display-settings-example-label-color))}.example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-example-language-color,var(--display-settings-example-language-color))}.example-container{gap:var(--luzmo-display-settings-example-container-gap,var(--luzmo-spacing-2))}:host{--display-settings-font-family:var(--luzmo-font-family);--display-settings-id-label-text-transform:uppercase;--display-settings-id-label-color:var(--luzmo-primary);--display-settings-font-size:var(--luzmo-font-size);--display-settings-id-label-font-size:var(--luzmo-font-size-s);--display-settings-gap:var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap:var(--luzmo-spacing-5);--display-settings-calculation-max-width:20rem}:host([size=s]){--display-settings-id-label-font-size:var(--luzmo-font-size-s);--display-settings-font-size:var(--luzmo-font-size-s);--display-settings-gap:var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap:var(--luzmo-spacing-4);--display-settings-calculation-max-width:16rem}:host([size=l]){--display-settings-id-label-font-size:var(--luzmo-font-size);--display-settings-font-size:var(--luzmo-font-size-l);--display-settings-gap:var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin:var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--display-settings-calculation-max-width:24rem}:host([size=xl]){--display-settings-id-label-font-size:var(--luzmo-font-size-l);--display-settings-font-size:var(--luzmo-font-size-xl);--display-settings-gap:var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--display-settings-info-to-remove-icon-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--display-settings-calculation-max-width:28rem}:host{--display-settings-example-font-size:var(--luzmo-font-size);--display-settings-example-color:var(--luzmo-font-color);--display-settings-example-label-font-weight:bold;--display-settings-example-label-color:var(--luzmo-primary);--display-settings-example-language-color:var(--luzmo-primary);--display-settings-example-height:var(--luzmo-component-height)}:host([size=s]){--display-settings-example-height:var(--luzmo-component-height-s);--display-settings-example-font-size:var(--luzmo-font-size-s)}:host([size=l]){--display-settings-example-height:var(--luzmo-component-height-l);--display-settings-example-font-size:var(--luzmo-font-size)}:host([size=xl]){--display-settings-example-height:var(--luzmo-component-height-xl);--display-settings-example-font-size:var(--luzmo-font-size-l)}`,p=class extends (0,u.SignalWatcher)(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this._loadDisplaySettings=new c.Task(this,{task:async([e,t,n,r,i,a])=>{let o=[];a&&o.push(`grandTotals`),n&&o.push(`periodOverPeriod`),(e===`numeric`||e===`mixed`&&this._currentSlotContent?.type===`numeric`)&&o.push(`numeric`),e!==`numeric`&&this._currentSlotContent?.type===`datetime`&&o.push(`datetime`),![`numeric`,`mixed`].includes(e??``)&&this._currentSlotContent?.type===`numeric`&&!r&&o.push(`binning`),n&&!this._settingsTypeLoaded.periodOverPeriod&&(await Promise.resolve().then(()=>require("./display-settings-period-over-period/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0),o.length>0&&!t&&(o.includes(`numeric`)&&!this._settingsTypeLoaded.numeric?(await Promise.resolve().then(()=>require("./display-settings-numeric/index.cjs")),this._settingsTypeLoaded.numeric=!0):o.includes(`datetime`)&&!this._settingsTypeLoaded.datetime&&i?(await Promise.resolve().then(()=>require("./display-settings-datetime/index.cjs")),this._settingsTypeLoaded.datetime=!0):o.includes(`binning`)&&!this._settingsTypeLoaded.binning?(await Promise.resolve().then(()=>require("./display-settings-binning/index.cjs")),this._settingsTypeLoaded.binning=!0):o.includes(`grandTotals`)&&!this._settingsTypeLoaded.grandTotals&&(await Promise.resolve().then(()=>require("./display-settings-grand-totals/index.cjs")),this._settingsTypeLoaded.grandTotals=!0))},args:()=>[this.slotType,this.hideDisplaySettings,this._store?.periodOverPeriodUiType.get(),this.isBinningDisabled,this.areDatetimeOptionsEnabled,this.areGrandTotalsEnabled,this.slotContent]}),this.language=`en`,this.contentLanguage=`en`,this.slotType=`numeric`,this.slotName=`measure`,this.slotContent={},this.datasetsDataFields=[],this.apiUrl=`https://api.luzmo.com`,this.authKey=``,this.authToken=``,this._showIds=!1,this.measureColumns=[],this._settingsTypeLoaded={binning:!1,datetime:!1,numeric:!1,grandTotals:!1,periodOverPeriod:!1,hierarchy:!0},this._currentSlotContent={}}static get styles(){return[(0,a.unsafeCSS)(f)]}_datasetDatetimeColumns(){return this._store?.linkedDataset.get().flatMap(e=>e.columns?.filter(e=>e.type===`datetime`).map(t=>({...t,datasetId:e.id})))}willUpdate(e){let t=this._store?.activeSlotContents.get(),n=this._store?.periodOverPeriodUiType.get();if(this.periodOverPeriodUiType!==n&&(this.periodOverPeriodUiType=n),this._store){t!==this._lastStoreContent&&(this._lastStoreContent=t,this._currentSlotContent=t?structuredClone(t):{});return}if(e.has(`slotContent`)||Object.keys(this._currentSlotContent).length===0){let e=this.slotContent;e&&(this._currentSlotContent=structuredClone(e))}}get datasetId(){return this._currentSlotContent.datasetId??this._currentSlotContent.set}get formulaOrColumnId(){return this._currentSlotContent.formulaId??this._currentSlotContent.expression??this._currentSlotContent.formula??this._currentSlotContent.columnId??this._currentSlotContent.column}resetInfoVisibility(e){this._showIds&&this._toggleIds(e)}_onSlotContentChange(e){e.stopPropagation(),e.preventDefault(),this._currentSlotContent=structuredClone(e.detail.slotContent),this._sendEvent(),this.requestUpdate()}_onLabelChange(){this._currentSlotContent=structuredClone(this._currentSlotContent),this._currentSlotContent.label=this._multiLanguageFieldElement.value||{},this._sendEvent(),this.requestUpdate()}_sendEvent(){this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this._currentSlotContent}}})),this._store&&(this._store.updateContent({...this._currentSlotContent}),this._lastStoreContent=this._store.activeSlotContents.get())}_removeEvent(){this.dispatchEvent(new CustomEvent(`luzmo-remove-slot-content`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}_toggleIds(e=!0){this._showIds=!this._showIds,e&&this.dispatchEvent(new CustomEvent(`luzmo-info-visibility-changed`,{detail:{isVisible:this._showIds,slotContent:{...this._currentSlotContent}}}))}_renderExampleRow(){let e=this.slotType===`numeric`||this.slotType===`mixed`&&this._currentSlotContent.type===`numeric`,t=this.slotType!==`datetime`&&this._currentSlotContent.type===`datetime`&&this.areDatetimeOptionsEnabled;if(!(e||t))return a.nothing;let r=!this._currentSlotContent.datetimeDisplayMode||this._currentSlotContent.datetimeDisplayMode==="default",i=e?1234.56:r?new Date:1,o=n.t({...this._currentSlotContent,type:e?`numeric`:`datetime`},{locale:this.contentLanguage,level:this._currentSlotContent.level})(i);return a.html`<div class="settings-row example-container">
21
- <span class="example-label"
22
- >${(0,s.msg)(`Example`,{desc:`Label for example`})}:</span
23
- >
24
- <span class="example">${o}</span>
25
- </div>`}_renderDisplaySettings(){let e={name:this.slotName,type:this.slotType},t=r.i(this._currentSlotContent,e)?r.t(this._currentSlotContent):void 0,n=r.r(this._currentSlotContent)?(0,s.msg)(`Formula`,{desc:`Label for the formula type`}):(0,s.msg)(`Expression`,{desc:`Label for the expression type`}),o=this._currentSlotContent.datasetId??this._currentSlotContent.set;return a.html`<div class="settings-container">
26
- <div class="settings-row">
27
- <div class="setting">
28
- <div class="label-container">
29
- <luzmo-field-label side-aligned="start" .size=${this.size}
30
- >Label:</luzmo-field-label
31
- >
32
- <luzmo-multi-language-field
33
- label="Label"
34
- .language=${this.contentLanguage}
35
- .value=${this._currentSlotContent.label??{}}
36
- .size=${this.size}
37
- debounce="200"
38
- @change=${this._onLabelChange}
39
- ></luzmo-multi-language-field>
40
- </div>
41
- <div class="label-action-container">
42
- <luzmo-action-button quiet .size=${this.size} .label=${(0,s.msg)(`Show dataset and column IDs`,{desc:`Show IDs button label`})} aria-expanded=${this._showIds} @click=${this._toggleIds}>
43
- ${(0,i.luzmoIcon)(i.luzmoInfoCircleOutline)}
44
- <luzmo-tooltip self-managed placement="top" size=${this.size}>
45
- ${(0,s.msg)(`Show dataset and column IDs`,{desc:`Show IDs button label`})}
46
- </luzmo-tooltip>
47
- </luzmo-action-button>
48
- ${this.showRemoveButton?a.html`<luzmo-action-button quiet .size=${this.size} .label=${(0,s.msg)(`Remove`,{desc:`Remove button label`})} @click=${this._removeEvent}>
49
- ${(0,i.luzmoIcon)(i.luzmoTrashOutline)}
50
- <luzmo-tooltip
51
- self-managed
52
- placement="top"
53
- size=${this.size}
54
- >
55
- ${(0,s.msg)(`Remove`,{desc:`Remove button label`})}
56
- </luzmo-tooltip>
57
- </luzmo-action-button>`:``}
58
- </div>
59
- </div>
60
- </div>
61
- ${t?a.html`<div class="settings-row">
62
- <div class="setting">
63
- <div class="label-container calculation-preview">
64
- <luzmo-field-label side-aligned="start" .size=${this.size}
65
- >${n}:</luzmo-field-label
66
- >
67
- <luzmo-formula
68
- display="text"
69
- .expression=${t}
70
- .datasetsDataFields=${this.datasetsDataFields}
71
- .datasetIds=${o?[o]:[]}
72
- .apiUrl=${this.apiUrl}
73
- .authKey=${this.authKey}
74
- .authToken=${this.authToken}
75
- .contentLanguage=${this.contentLanguage}
76
- .size=${this.size}
77
- ></luzmo-formula>
78
- </div>
79
- </div>
80
- </div>`:``}
81
- ${this.areGrandTotalsEnabled?a.html`<luzmo-display-settings-grand-totals
82
- .language=${this.language}
83
- .slotContent=${this._currentSlotContent}
84
- .size=${this.size}
85
- @luzmo-slot-content-changed=${this._onSlotContentChange}
86
- ></luzmo-display-settings-grand-totals>`:``}
87
- ${this.slotType===`numeric`||this.slotType===`mixed`&&this._currentSlotContent.type===`numeric`?a.html`<luzmo-display-settings-numeric
88
- .language=${this.language}
89
- .slotContent=${this._currentSlotContent}
90
- .size=${this.size}
91
- .measureColumns=${this.measureColumns}
92
- .isAggregationDisabled=${this.isAggregationDisabled}
93
- .isCumulativeSumEnabled=${this.isCumulativeSumEnabled}
94
- @luzmo-slot-content-changed=${this._onSlotContentChange}
95
- ></luzmo-display-settings-numeric>`:``}
96
- ${this.slotType!==`numeric`&&this._currentSlotContent.type===`datetime`&&this.areDatetimeOptionsEnabled?a.html`<luzmo-display-settings-datetime
97
- .language=${this.language}
98
- .contentLanguage=${this.contentLanguage}
99
- .slotContent=${this._currentSlotContent}
100
- .size=${this.size}
101
- @luzmo-slot-content-changed=${this._onSlotContentChange}
102
- ></luzmo-display-settings-datetime>`:``}
103
- ${![`numeric`,`mixed`].includes(this.slotType??``)&&this._currentSlotContent.type===`numeric`&&!this.isBinningDisabled?a.html`<luzmo-display-settings-binning
104
- .language=${this.language}
105
- .slotContent=${this._currentSlotContent}
106
- .size=${this.size}
107
- @luzmo-slot-content-changed=${this._onSlotContentChange}
108
- ></luzmo-display-settings-binning>`:``}
109
- ${this.periodOverPeriodUiType?a.html`<luzmo-display-settings-period-over-period
110
- .language=${this.language}
111
- .slotContent=${this._currentSlotContent}
112
- .size=${this.size}
113
- .periodOverPeriodUiType=${this.periodOverPeriodUiType}
114
- .linkedDatasetDatetimeColumns=${this._datasetDatetimeColumns()}
115
- @luzmo-slot-content-changed=${this._onSlotContentChange}
116
- ></luzmo-display-settings-period-over-period>`:``}
117
- ${this._renderExampleRow()}
118
- </div>
119
- ${this._showIds?a.html` <luzmo-divider></luzmo-divider>
120
- <div class="ids-container">
121
- <div>
122
- <span class="id-label"
123
- >${this._currentSlotContent.formula||this._currentSlotContent.formulaId||this._currentSlotContent.expression?(0,s.msg)(`Formula`,{desc:`Label for the formula type`}):(0,s.msg)(`Column`,{desc:`Label for column type`})}:
124
- </span>
125
- <span class="id-value">
126
- ${this.formulaOrColumnId}
127
- </span>
128
- </div>
129
- <div>
130
- <span class="id-label">Dataset: </span>
131
- <span class="id-value">
132
- ${this.datasetId}
133
- </span>
134
- </div>
135
- <div></div>
136
- </div>`:``}`}render(){return this._loadDisplaySettings.render({pending:()=>a.html`<luzmo-progress-circle
137
- indeterminate
138
- .label=${(0,s.msg)(`Loading`,{desc:`Loading spinner label`})}
139
- .size=${this.size}
140
- ></luzmo-progress-circle>`,complete:()=>this._renderDisplaySettings(),error:()=>this._renderDisplaySettings()})}disconnectedCallback(){super.disconnectedCallback?.(),this._loadDisplaySettings.abort?.()}};t.t([(0,o.property)({type:String})],p.prototype,`language`,void 0),t.t([(0,o.property)({type:String,attribute:`content-language`})],p.prototype,`contentLanguage`,void 0),t.t([(0,o.property)({type:Boolean,attribute:`hide-display-settings`})],p.prototype,`hideDisplaySettings`,void 0),t.t([(0,o.property)({type:Boolean})],p.prototype,`isBinningDisabled`,void 0),t.t([(0,o.property)({type:Boolean})],p.prototype,`areDatetimeOptionsEnabled`,void 0),t.t([(0,o.property)({type:Boolean})],p.prototype,`areGrandTotalsEnabled`,void 0),t.t([(0,o.property)({type:Boolean})],p.prototype,`isAggregationDisabled`,void 0),t.t([(0,o.property)({type:Boolean})],p.prototype,`isCumulativeSumEnabled`,void 0),t.t([(0,o.property)({type:String})],p.prototype,`periodOverPeriodUiType`,void 0),t.t([(0,o.property)({type:Boolean,attribute:`show-remove-button`})],p.prototype,`showRemoveButton`,void 0),t.t([(0,o.property)({type:String,attribute:`slot-type`})],p.prototype,`slotType`,void 0),t.t([(0,o.property)({type:String,attribute:`slot-name`})],p.prototype,`slotName`,void 0),t.t([(0,o.property)({type:Object,attribute:!1})],p.prototype,`slotContent`,void 0),t.t([(0,o.property)({attribute:!1})],p.prototype,`datasetsDataFields`,void 0),t.t([(0,o.property)({type:String,attribute:`api-url`,reflect:!0})],p.prototype,`apiUrl`,void 0),t.t([(0,o.property)({type:String,attribute:`auth-key`,reflect:!0})],p.prototype,`authKey`,void 0),t.t([(0,o.property)({type:String,attribute:`auth-token`,reflect:!0})],p.prototype,`authToken`,void 0),t.t([(0,o.state)()],p.prototype,`_showIds`,void 0),t.t([(0,o.property)({type:Array,reflect:!1})],p.prototype,`measureColumns`,void 0),t.t([(0,o.query)(`luzmo-multi-language-field`)],p.prototype,`_multiLanguageFieldElement`,void 0),t.t([(0,l.consume)({context:d,subscribe:!0})],p.prototype,`_store`,void 0),customElements.get(`luzmo-display-settings`)||customElements.define(`luzmo-display-settings`,p),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return p}});
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2026 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- var e=require("./rolldown-runtime-mLOUI7ql.cjs").n({default:()=>t}),t=[{key:`general`,type:`group`,open:!0,children:[{key:`mode`,control:{type:`picker`,default:`donut`,enum:[`donut`,`pie`]}},{key:`slices.half`,control:{type:`picker`,default:`full`,enum:[`full`,`half`],parseValue:e=>e?`half`:`full`,toValue:e=>e===`half`}},{type:`divider`},{key:`display.title`,control:{type:`switch`,label:`Title`,default:!0}},{key:`display.legend`,control:{type:`switch`,label:`Legend`,default:!0,calculateValue:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0,toOptions:({options:e,value:t})=>({...e,display:{...e.display,legend:t,categoryLabels:!1}})}},{key:`display.categoryLabels`,control:{type:`radio-button-group`,enum:[`list`,`labels`],parseValue:e=>e?`labels`:`list`,toOptions:({options:e,value:t})=>({...e,display:{...e.display,categoryLabels:t===`labels`,legend:t!==`labels`}})},visibleIf:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0}]},{key:`slices`,type:`group`,open:!0,children:[{key:`sort.by`,control:{type:`picker`,label:`Order by`,default:`measure`,enum:[`measure`,`category`]}},{key:`sort.direction`,control:{type:`picker`,label:`Direction`,default:`desc`,enum:[`asc`,`desc`]}},{key:`limit.number`,control:{type:`number-field`,label:`Limit`,default:1e5,min:1,max:1e5}},{key:`display.values`,control:{type:`picker`,default:`none`,enum:[`none`,`absolute`,`percentage`]}},{key:`slices.width`,control:{type:`slider`,default:.35,min:.05,max:.9,step:.01},visibleIf:({options:e})=>e?.mode===`donut`},{key:`slices.maxNumber`,control:{type:`number-field`,default:12,min:0,max:50,step:1}},{key:`slices.minPercentage`,control:{type:`number-field`,default:3,min:0,max:100,step:1}},{key:`slices.roundedCorners`,control:{type:`slider`,default:8,min:0,max:24,step:1,extraLabel:({options:e,theme:t})=>typeof t?.itemSpecific?.rounding==`number`?typeof e?.slices?.roundedCorners==`number`?`reset`:`auto`:null,extraLabelHasClickAction:({options:e,theme:t})=>typeof t?.itemSpecific?.rounding==`number`&&typeof e?.slices?.roundedCorners==`number`,extraLabelClickAction:({options:e})=>{let t={...e};return t?.slices?.roundedCorners!==void 0&&delete t.slices.roundedCorners,{value:null,options:t}}}},{key:`slices.padding`,control:{type:`slider`,default:5,min:0,max:20,step:1,extraLabel:({options:e,theme:t})=>typeof t?.itemSpecific?.padding==`number`?typeof e?.slices?.padding==`number`?`reset`:`auto`:null,extraLabelHasClickAction:({options:e,theme:t})=>typeof t?.itemSpecific?.padding==`number`&&typeof e?.slices?.padding==`number`,extraLabelClickAction:({options:e})=>{let t={...e};return t?.slices?.padding!==void 0&&delete t.slices.padding,{value:null,options:t}}},visibleIf:({options:e})=>e?.mode===`donut`}]}];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});