@luzmo/analytics-components-kit 1.0.1-alpha.98 → 1.0.1-alpha.99

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 (293) hide show
  1. package/angular/README.md +2 -2
  2. package/angular/components/ai-interaction-textarea.component.ts +8 -0
  3. package/angular/components/{filter-data-item-picker.component.ts → data-items-select.component.ts} +34 -17
  4. package/angular/components/edit-filters/index.ts +1 -0
  5. package/angular/components/edit-filters/types.ts +10 -0
  6. package/angular/components/edit-filters.component.ts +41 -0
  7. package/angular/components/slot-contents-picker.component.ts +8 -6
  8. package/angular/esm/components/ai-interaction-textarea.component.d.ts +5 -1
  9. package/angular/esm/components/ai-interaction-textarea.component.js +22 -2
  10. package/angular/esm/components/data-items-select.component.d.ts +33 -0
  11. package/angular/esm/components/{filter-data-item-picker.component.js → data-items-select.component.js} +41 -26
  12. package/angular/esm/components/edit-filters/index.d.ts +1 -0
  13. package/angular/esm/components/edit-filters/index.js +1 -0
  14. package/angular/esm/components/edit-filters/types.d.ts +8 -0
  15. package/angular/esm/components/edit-filters/types.js +1 -0
  16. package/angular/esm/components/edit-filters.component.d.ts +21 -0
  17. package/angular/esm/components/edit-filters.component.js +89 -0
  18. package/angular/esm/components/slot-contents-picker.component.d.ts +7 -6
  19. package/angular/esm/components/slot-contents-picker.component.js +11 -6
  20. package/angular/esm/index.d.ts +5 -5
  21. package/angular/esm/index.js +6 -6
  22. package/angular/esm/types.d.ts +9 -0
  23. package/angular/index.ts +6 -6
  24. package/angular/types.ts +17 -0
  25. package/angular/utils/filters/expressions.d.ts +1 -1
  26. package/components/ai-chat-message-assistant/index.cjs +1 -1
  27. package/components/ai-chat-message-assistant/index.js +0 -1
  28. package/components/ai-chat-messages-container/index.cjs +1 -1
  29. package/components/ai-chat-messages-container/index.js +2 -2
  30. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +21 -0
  31. package/components/ai-interaction-textarea/index.cjs +17 -15
  32. package/components/ai-interaction-textarea/index.js +91 -67
  33. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  34. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  35. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  36. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  37. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  38. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  39. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  40. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  41. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  42. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  43. package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
  44. package/components/calculate-data-item-icon-DtVGbet3.cjs +20 -0
  45. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  46. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  47. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  48. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  49. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  50. package/components/color-Czp4Im5q.cjs +20 -0
  51. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  52. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  53. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  54. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  55. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  56. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  57. package/components/{filter-data-item-picker/filter-data-item-picker.d.ts → data-items-select/data-items-select.d.ts} +36 -21
  58. package/components/data-items-select/index.cjs +39 -0
  59. package/components/data-items-select/index.d.ts +6 -0
  60. package/components/data-items-select/index.js +209 -0
  61. package/components/dataset-icon/index.cjs +1 -1
  62. package/components/dataset-icon/index.js +1 -2
  63. package/components/dataset-selector-list/index.cjs +1 -1
  64. package/components/dataset-selector-list/index.js +32 -35
  65. package/components/dataset-selector-row/index.cjs +9 -9
  66. package/components/dataset-selector-row/index.js +50 -52
  67. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  68. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  69. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  70. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  71. package/components/{de-COKGBX9L.cjs → de-DOYL4txr.cjs} +1 -1
  72. package/components/{de-DU0DlXuf.js → de-SDzGVifr.js} +10 -1
  73. package/components/display-settings/index.cjs +1 -1
  74. package/components/display-settings/index.js +1 -1
  75. package/components/display-settings-binning/index.cjs +5 -5
  76. package/components/display-settings-binning/index.js +29 -30
  77. package/components/display-settings-datetime/index.cjs +29 -29
  78. package/components/display-settings-datetime/index.js +112 -120
  79. package/components/display-settings-grand-totals/index.cjs +4 -4
  80. package/components/display-settings-grand-totals/index.js +23 -24
  81. package/components/display-settings-numeric/index.cjs +48 -48
  82. package/components/display-settings-numeric/index.js +190 -206
  83. package/components/display-settings-period-over-period/index.cjs +16 -16
  84. package/components/display-settings-period-over-period/index.js +91 -97
  85. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  86. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  87. package/components/draggable-data-item/index.cjs +5 -5
  88. package/components/draggable-data-item/index.js +45 -46
  89. package/components/draggable-data-item-level/index.cjs +11 -11
  90. package/components/draggable-data-item-level/index.js +70 -73
  91. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  92. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  93. package/components/droppable-slot/index.cjs +16 -16
  94. package/components/droppable-slot/index.js +174 -265
  95. package/components/edit-filters/edit-filters.d.ts +79 -0
  96. package/components/edit-filters/index.cjs +144 -0
  97. package/components/edit-filters/index.d.ts +8 -0
  98. package/components/edit-filters/index.js +341 -0
  99. package/components/edit-filters/types.d.ts +8 -0
  100. package/components/edit-item/index.cjs +9 -9
  101. package/components/edit-item/index.js +116 -119
  102. package/components/edit-option/index.cjs +1 -1
  103. package/components/edit-option/index.js +1 -1
  104. package/components/edit-option-action-button-group/index.cjs +8 -8
  105. package/components/edit-option-action-button-group/index.js +52 -53
  106. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  107. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
  108. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  109. package/components/edit-option-color-palette-picker/index.js +1 -1
  110. package/components/edit-option-color-picker/index.cjs +1 -1
  111. package/components/edit-option-color-picker/index.js +1 -1
  112. package/components/edit-option-color-range/index.cjs +19 -19
  113. package/components/edit-option-color-range/index.js +106 -117
  114. package/components/edit-option-multi-language-field/index.cjs +3 -3
  115. package/components/edit-option-multi-language-field/index.js +26 -27
  116. package/components/edit-option-number-field/index.cjs +1 -1
  117. package/components/edit-option-number-field/index.js +1 -1
  118. package/components/edit-option-picker/index.cjs +5 -5
  119. package/components/edit-option-picker/index.js +7 -7
  120. package/components/edit-option-position-picker/index.cjs +4 -4
  121. package/components/edit-option-position-picker/index.js +21 -25
  122. package/components/edit-option-positions-number-field/index.cjs +9 -9
  123. package/components/edit-option-positions-number-field/index.js +76 -81
  124. package/components/edit-option-radio-button-group/index.cjs +6 -6
  125. package/components/edit-option-radio-button-group/index.js +21 -22
  126. package/components/edit-option-slider/index.cjs +1 -1
  127. package/components/edit-option-slider/index.js +1 -1
  128. package/components/edit-option-switch/index.cjs +1 -1
  129. package/components/edit-option-switch/index.js +1 -1
  130. package/components/edit-option-text-field/index.cjs +2 -2
  131. package/components/edit-option-text-field/index.js +22 -23
  132. package/components/en-D3ihEGXg.js +1483 -0
  133. package/components/en-DZcn_iz_.cjs +20 -0
  134. package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
  135. package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
  136. package/components/{es-BxR1uGKR.js → es-B1TeapPZ.js} +10 -1
  137. package/components/{es-CaKfa7fn.cjs → es-DcQvrHgz.cjs} +1 -1
  138. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  139. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  140. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  141. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  142. package/components/filter-expression-picker/index.cjs +1 -1
  143. package/components/filter-expression-picker/index.js +1 -1
  144. package/components/filter-item/filter-item.d.ts +1 -1
  145. package/components/filter-item/index.cjs +9 -7
  146. package/components/filter-item/index.js +123 -123
  147. package/components/filter-value-picker/index.cjs +2 -2
  148. package/components/filter-value-picker/index.js +34 -36
  149. package/components/filter-value-picker-datetime/index.cjs +8 -8
  150. package/components/filter-value-picker-datetime/index.js +56 -71
  151. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  152. package/components/filter-value-picker-hierarchy/index.js +113 -124
  153. package/components/filter-value-picker-numeric/index.cjs +9 -8
  154. package/components/filter-value-picker-numeric/index.js +102 -110
  155. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  156. package/components/focusable-QLh-LlNt.cjs +20 -0
  157. package/components/{fr-DiZbjx_a.cjs → fr-D6QmA3Ve.cjs} +1 -1
  158. package/components/{fr-CvltYxR_.js → fr-sZFBmltf.js} +10 -1
  159. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  160. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  161. package/components/get-css-variable-C0B_Sxqf.cjs +24 -0
  162. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-DgTBQV3c.js} +39 -38
  163. package/components/grid/index.cjs +43 -49
  164. package/components/grid/index.js +2610 -1878
  165. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  166. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  167. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  168. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  169. package/components/helpers-9I0oLoUB.cjs +20 -0
  170. package/components/helpers-bR8Ibjqh.js +79 -0
  171. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  172. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  173. package/components/index-BekTY3Em.cjs +121 -0
  174. package/components/index-BikhVAa1.js +1755 -0
  175. package/components/index-CAbDIHYI.cjs +20 -0
  176. package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
  177. package/components/{index-BPNsFiyq.cjs → index-DM58h73U.cjs} +4 -4
  178. package/components/{index-D0GBF6tg.js → index-DR5275fa.js} +122 -102
  179. package/components/index-DvkzMbLt.cjs +249 -0
  180. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  181. package/components/index.cjs +1 -1
  182. package/components/index.js +105 -106
  183. package/components/item-options-configs.cjs +1 -1
  184. package/components/item-options-configs.js +37 -37
  185. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  186. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  187. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  188. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  189. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  190. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  191. package/components/{nl-CLs7FmRK.js → nl-BYXZ-qNp.js} +10 -1
  192. package/components/{nl-Bot6bJ4g.cjs → nl-D7oNsLn0.cjs} +1 -1
  193. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  194. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  195. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  196. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  197. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  198. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  199. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  200. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  201. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  202. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  203. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  204. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  205. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  206. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  207. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  208. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  209. package/components/{set-locale-Dp3N_gXN.js → set-locale-B5562CBM.js} +2 -9
  210. package/components/{set-locale-BRRalqne.cjs → set-locale-B8iQGfk0.cjs} +1 -1
  211. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  212. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  213. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  214. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  215. package/components/slot-contents-picker/index.cjs +35 -31
  216. package/components/slot-contents-picker/index.js +202 -200
  217. package/components/slot-contents-picker/slot-contents-picker.d.ts +26 -5
  218. package/components/slot-menu/index.cjs +12 -12
  219. package/components/slot-menu/index.js +189 -202
  220. package/components/slot-menu-list/index.cjs +3 -3
  221. package/components/slot-menu-list/index.js +97 -103
  222. package/components/slot-store-CRfN0nD3.js +98 -0
  223. package/components/slot-store-Dd_cPNXk.cjs +20 -0
  224. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  225. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  226. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  227. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  228. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  229. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  230. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  231. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  232. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  233. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  234. package/components/utils.cjs +1 -1
  235. package/components/utils.js +94 -97
  236. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  237. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  238. package/components/viz-item-menu/index.cjs +5 -5
  239. package/components/viz-item-menu/index.js +26 -28
  240. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  241. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  242. package/custom-elements.json +1936 -1625
  243. package/index.d.ts +1 -1
  244. package/package.json +12 -12
  245. package/types.d.ts +9 -0
  246. package/utils/filters/expressions.d.ts +1 -1
  247. package/angular/components/filter-group.component.ts +0 -29
  248. package/angular/esm/components/filter-data-item-picker.component.d.ts +0 -30
  249. package/angular/esm/components/filter-group.component.d.ts +0 -12
  250. package/angular/esm/components/filter-group.component.js +0 -56
  251. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  252. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  253. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  254. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  255. package/components/calculate-data-item-icon-CEa82-5u.cjs +0 -20
  256. package/components/calculate-data-item-icon-DjlZwMdO.js +0 -147
  257. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  258. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  259. package/components/color-B6LaL8qz.cjs +0 -20
  260. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  261. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  262. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  263. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  264. package/components/en-BKBhKBXY.cjs +0 -20
  265. package/components/en-BOTjhwEc.js +0 -1488
  266. package/components/filter-data-item-picker/index.cjs +0 -47
  267. package/components/filter-data-item-picker/index.d.ts +0 -7
  268. package/components/filter-data-item-picker/index.js +0 -192
  269. package/components/filter-group/filter-group.d.ts +0 -26
  270. package/components/filter-group/index.d.ts +0 -7
  271. package/components/focusable-B3E_hQmm.cjs +0 -20
  272. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  273. package/components/get-css-variable-DLiZYZEi.cjs +0 -24
  274. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  275. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  276. package/components/helpers-DXQwEH1P.cjs +0 -20
  277. package/components/helpers-v1bPALRP.js +0 -91
  278. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  279. package/components/index-CDi4fe3N.js +0 -1716
  280. package/components/index-CQ9ck-BO.cjs +0 -249
  281. package/components/index-CXn67vdn.cjs +0 -121
  282. package/components/index-Cz9vSXy6.cjs +0 -20
  283. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  284. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  285. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  286. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  287. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  288. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  289. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  290. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  291. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  292. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  293. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
@@ -17,14 +17,8 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { g as c, a as u, b as d, c as f } from "./helpers-v1bPALRP.js";
21
- const l = ({ slots: e }) => {
22
- var r, a, t, i;
23
- return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : a.length) > 0 || ((i = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : t.content) == null ? void 0 : i.length) > 1 : !1;
24
- }, o = ({ slots: e }) => {
25
- var r, a, t, i;
26
- return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : a.length) === 0 && ((i = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : t.content) == null ? void 0 : i.length) <= 1 : !0;
27
- }, g = [
20
+ import { g as o, a as i, b as a, c as l } from "./helpers-bR8Ibjqh.js";
21
+ const r = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "legend")?.content?.length > 0 || e?.find((t) => t?.name === "measure")?.content?.length > 1 : !1, n = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "legend")?.content?.length === 0 && e?.find((t) => t?.name === "measure")?.content?.length <= 1 : !0, u = [
28
22
  {
29
23
  key: "general",
30
24
  type: "group",
@@ -37,11 +31,11 @@ const l = ({ slots: e }) => {
37
31
  default: "grouped",
38
32
  enum: ["grouped", "stacked", "100"]
39
33
  },
40
- visibleIf: l
34
+ visibleIf: r
41
35
  },
42
36
  {
43
37
  type: "divider",
44
- visibleIf: l
38
+ visibleIf: r
45
39
  },
46
40
  {
47
41
  key: "display.title",
@@ -56,7 +50,7 @@ const l = ({ slots: e }) => {
56
50
  type: "switch",
57
51
  default: !0
58
52
  },
59
- visibleIf: l
53
+ visibleIf: r
60
54
  },
61
55
  {
62
56
  key: "display.modeOption",
@@ -64,7 +58,7 @@ const l = ({ slots: e }) => {
64
58
  type: "switch",
65
59
  default: !1
66
60
  },
67
- visibleIf: l
61
+ visibleIf: r
68
62
  },
69
63
  {
70
64
  key: "bars.label",
@@ -87,32 +81,24 @@ const l = ({ slots: e }) => {
87
81
  type: "switch",
88
82
  default: !1
89
83
  },
90
- visibleIf: o
84
+ visibleIf: n
91
85
  },
92
86
  {
93
87
  key: "bars.roundedCorners",
94
88
  control: {
95
89
  type: "slider",
96
- default: ({ theme: e }) => {
97
- var r;
98
- return (r = e == null ? void 0 : e.itemSpecific) == null ? void 0 : r.rounding;
99
- },
90
+ default: ({ theme: e }) => e?.itemSpecific?.rounding,
100
91
  min: 0,
101
92
  max: 20,
102
93
  step: 1,
103
- extraLabel: ({ options: e, theme: r }) => {
104
- var a, t;
105
- if (typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) == "number")
106
- return typeof ((t = e == null ? void 0 : e.bars) == null ? void 0 : t.roundedCorners) != "number" ? "auto" : "reset";
107
- },
108
- extraLabelHasClickAction: ({ options: e, theme: r }) => {
109
- var a, t;
110
- return !(typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) != "number" || typeof ((t = e == null ? void 0 : e.bars) == null ? void 0 : t.roundedCorners) != "number");
94
+ extraLabel: ({ options: e, theme: t }) => {
95
+ if (typeof t?.itemSpecific?.rounding == "number")
96
+ return typeof e?.bars?.roundedCorners != "number" ? "auto" : "reset";
111
97
  },
98
+ extraLabelHasClickAction: ({ options: e, theme: t }) => !(typeof t?.itemSpecific?.rounding != "number" || typeof e?.bars?.roundedCorners != "number"),
112
99
  extraLabelClickAction: ({ options: e }) => {
113
- var a;
114
- const r = { ...e };
115
- return (a = r == null ? void 0 : r.bars) == null || delete a.roundedCorners, { value: null, options: r };
100
+ const t = { ...e };
101
+ return delete t?.bars?.roundedCorners, { value: null, options: t };
116
102
  }
117
103
  }
118
104
  },
@@ -121,12 +107,12 @@ const l = ({ slots: e }) => {
121
107
  control: {
122
108
  type: "color-picker",
123
109
  label: "Bar color",
124
- default: ({ theme: e }) => f(e),
125
- extraLabel: ({ options: e, theme: r }) => d(e, r, "color"),
126
- extraLabelHasClickAction: ({ options: e, theme: r }) => u(e, r, "color"),
127
- extraLabelClickAction: ({ options: e, theme: r }) => c(e, r, "color")
110
+ default: ({ theme: e }) => l(e),
111
+ extraLabel: ({ options: e, theme: t }) => a(e, t, "color"),
112
+ extraLabelHasClickAction: ({ options: e, theme: t }) => i(e, t, "color"),
113
+ extraLabelClickAction: ({ options: e, theme: t }) => o(e, t, "color")
128
114
  },
129
- visibleIf: o
115
+ visibleIf: n
130
116
  }
131
117
  ]
132
118
  },
@@ -154,9 +140,9 @@ const l = ({ slots: e }) => {
154
140
  }
155
141
  }
156
142
  ],
157
- visibleIf: l
143
+ visibleIf: r
158
144
  }
159
145
  ];
160
146
  export {
161
- g as default
147
+ u as default
162
148
  };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./color-palettes-DhNHcib8.cjs"),t=require("./helpers-9I0oLoUB.cjs"),r=({options:e})=>e?.observations?.display===!0,i=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"horizontal",control:{type:"picker",label:"Display",default:"vertical",enum:["vertical","horizontal"],parseValue:e=>e?"horizontal":"vertical",toValue:e=>e==="horizontal"}},{key:"extentTicks",control:{type:"switch",label:"Extent ticks",default:!0}}]},{key:"box",type:"group",open:!0,children:[{key:"boxWidth",control:{type:"slider",label:"Box width",default:.9,min:.1,max:1,step:.1}},{key:"boxFill",control:{type:"color-picker",label:"Box fill",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:o})=>t.getThemeMainColorResetLabel(e,o,"boxFill"),extraLabelHasClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelHasClickAction(e,o,"boxFill"),extraLabelClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelClickAction(e,o,"boxFill")}},{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:({theme:e})=>e?.itemSpecific?.rounding??8,min:0,max:24,step:1,extraLabel:({options:e,theme:o})=>{if(typeof o?.itemSpecific?.rounding=="number")return typeof e?.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:o})=>!(typeof o?.itemSpecific?.rounding!="number"||typeof e?.roundedCorners!="number"),extraLabelClickAction:({options:e})=>{const o={...e};return o?.roundedCorners!==void 0&&delete o.roundedCorners,{value:null,options:o}}}},{key:"boxStrokeWidth",control:{type:"slider",label:"Box stroke width",default:1,min:0,max:5,step:.5}},{key:"boxStrokeColor",control:{type:"color-picker",label:"Box stroke color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:o})=>t.getThemeMainColorResetLabel(e,o,"boxStrokeColor"),extraLabelHasClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelHasClickAction(e,o,"boxStrokeColor"),extraLabelClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelClickAction(e,o,"boxStrokeColor")}},{key:"medianStrokeWidth",control:{type:"slider",label:"Median stroke width",default:2,min:0,max:5,step:.5}},{key:"medianStrokeColor",control:{type:"color-picker",label:"Median stroke color",default:"#000000"}}]},{key:"observations",type:"group",open:!0,children:[{key:"observations.display",control:{type:"switch",label:"Show",default:!1}},{key:"observations.onlyOutliers",control:{type:"switch",label:"Only outliers",default:!1},visibleIf:r},{key:"observations.type",control:{type:"picker",label:"Type",default:"dot",enum:["dot","ticks"]},visibleIf:r},{key:"observations.size",control:{type:"slider",label:"Size",default:3,min:1,max:10,step:1},visibleIf:r},{key:"observations.opacity",control:{type:"slider",label:"Opacity",default:.4,min:.1,max:1,step:.1},visibleIf:r},{key:"observations.jitter",control:{type:"slider",label:"Jitter",default:30,min:1,max:100,step:1},visibleIf:r},{key:"observations.colorType",control:{type:"picker",label:"Color mode",default:"single",enum:["single","range"]},visibleIf:r},{key:"observations.color",control:{type:"color-picker",label:"Color",default:({theme:e})=>e?.colors?.[1],extraLabel:({options:e,theme:o})=>{if(o?.colors?.[1]&&e.observations?.color&&e.observations?.color!==o?.colors?.[1])return"reset"},extraLabelHasClickAction:({options:e,theme:o})=>!!(o?.colors?.[1]&&e.observations?.color!==o?.colors?.[1]),extraLabelClickAction:({options:e,theme:o})=>{const l={...e};return l.observations.color=o?.colors?.[1],{value:l.observations.color,options:l}}},visibleIf:({options:e})=>r({options:e})&&e?.observations?.colorType==="single"},{key:"observations.colorsType",control:{type:"picker",label:"Colors type",default:"divergent",enum:["sequential","divergent"],calculateValue:({options:e})=>e?.observations?.colorsClass==="manual"?"manual":a.getColorMaps()?.[e?.observations?.colorsClass]?.type??"divergent",toOptions:({options:e,value:o})=>{if(o==="manual")return{...e,observations:{...e.observations,colorsType:"manual",colorsClass:"manual"}};let l=e.observations?.colorClass;const s=a.getColorMaps()?.[e?.observations?.colorsClass]?.type;return o!==s&&(l=a.getColorMapKeys(o??"divergent")[0]),{...e,observations:{...e.observations,colorsClass:l,colorsType:o}}}},visibleIf:({options:e})=>r({options:e})&&e?.observations?.colorType==="range"},{key:"observations.colorsClass",control:{type:"color-palette-picker",label:"Color palette",hideLabel:!0,default:({options:e})=>{const l=a.getColorMaps()?.[e?.observations?.colorsClass]?.type;return a.getColorMapKeys(l??"divergent")[0]},enum:({options:e})=>{const l=a.getColorMaps()?.[e?.observations?.colorsClass]?.type;return a.getColorMapKeys(l??"divergent")}},visibleIf:({options:e})=>r({options:e})&&e?.observations?.colorType==="range"&&e?.observations?.colorsClass!=="manual"}]}];exports.default=i;
@@ -17,12 +17,9 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { g as i, a as c } from "./color-palettes-BqH2Fv19.js";
21
- import { g as u, a as y, b as d, c as k } from "./helpers-v1bPALRP.js";
22
- const t = ({ options: e }) => {
23
- var r;
24
- return ((r = e == null ? void 0 : e.observations) == null ? void 0 : r.display) === !0;
25
- }, C = [
20
+ import { g as t, a } from "./color-palettes-BqH2Fv19.js";
21
+ import { g as s, a as i, b as n, c } from "./helpers-bR8Ibjqh.js";
22
+ const l = ({ options: e }) => e?.observations?.display === !0, d = [
26
23
  {
27
24
  key: "general",
28
25
  type: "group",
@@ -78,14 +75,14 @@ const t = ({ options: e }) => {
78
75
  control: {
79
76
  type: "color-picker",
80
77
  label: "Box fill",
81
- default: ({ theme: e }) => k(e),
82
- extraLabel: ({ options: e, theme: r }) => d(e, r, "boxFill"),
83
- extraLabelHasClickAction: ({ options: e, theme: r }) => y(
78
+ default: ({ theme: e }) => c(e),
79
+ extraLabel: ({ options: e, theme: o }) => n(e, o, "boxFill"),
80
+ extraLabelHasClickAction: ({ options: e, theme: o }) => i(
84
81
  e,
85
- r,
82
+ o,
86
83
  "boxFill"
87
84
  ),
88
- extraLabelClickAction: ({ options: e, theme: r }) => u(e, r, "boxFill")
85
+ extraLabelClickAction: ({ options: e, theme: o }) => s(e, o, "boxFill")
89
86
  }
90
87
  },
91
88
  {
@@ -93,25 +90,18 @@ const t = ({ options: e }) => {
93
90
  control: {
94
91
  type: "slider",
95
92
  label: "Rounded corners",
96
- default: ({ theme: e }) => {
97
- var r;
98
- return ((r = e == null ? void 0 : e.itemSpecific) == null ? void 0 : r.rounding) ?? 8;
99
- },
93
+ default: ({ theme: e }) => e?.itemSpecific?.rounding ?? 8,
100
94
  min: 0,
101
95
  max: 24,
102
96
  step: 1,
103
- extraLabel: ({ options: e, theme: r }) => {
104
- var l;
105
- if (typeof ((l = r == null ? void 0 : r.itemSpecific) == null ? void 0 : l.rounding) == "number")
106
- return typeof (e == null ? void 0 : e.roundedCorners) != "number" ? "auto" : "reset";
107
- },
108
- extraLabelHasClickAction: ({ options: e, theme: r }) => {
109
- var l;
110
- return !(typeof ((l = r == null ? void 0 : r.itemSpecific) == null ? void 0 : l.rounding) != "number" || typeof (e == null ? void 0 : e.roundedCorners) != "number");
97
+ extraLabel: ({ options: e, theme: o }) => {
98
+ if (typeof o?.itemSpecific?.rounding == "number")
99
+ return typeof e?.roundedCorners != "number" ? "auto" : "reset";
111
100
  },
101
+ extraLabelHasClickAction: ({ options: e, theme: o }) => !(typeof o?.itemSpecific?.rounding != "number" || typeof e?.roundedCorners != "number"),
112
102
  extraLabelClickAction: ({ options: e }) => {
113
- const r = { ...e };
114
- return (r == null ? void 0 : r.roundedCorners) !== void 0 && delete r.roundedCorners, { value: null, options: r };
103
+ const o = { ...e };
104
+ return o?.roundedCorners !== void 0 && delete o.roundedCorners, { value: null, options: o };
115
105
  }
116
106
  }
117
107
  },
@@ -131,16 +121,16 @@ const t = ({ options: e }) => {
131
121
  control: {
132
122
  type: "color-picker",
133
123
  label: "Box stroke color",
134
- default: ({ theme: e }) => k(e),
135
- extraLabel: ({ options: e, theme: r }) => d(e, r, "boxStrokeColor"),
136
- extraLabelHasClickAction: ({ options: e, theme: r }) => y(
124
+ default: ({ theme: e }) => c(e),
125
+ extraLabel: ({ options: e, theme: o }) => n(e, o, "boxStrokeColor"),
126
+ extraLabelHasClickAction: ({ options: e, theme: o }) => i(
137
127
  e,
138
- r,
128
+ o,
139
129
  "boxStrokeColor"
140
130
  ),
141
- extraLabelClickAction: ({ options: e, theme: r }) => u(
131
+ extraLabelClickAction: ({ options: e, theme: o }) => s(
142
132
  e,
143
- r,
133
+ o,
144
134
  "boxStrokeColor"
145
135
  )
146
136
  }
@@ -186,7 +176,7 @@ const t = ({ options: e }) => {
186
176
  label: "Only outliers",
187
177
  default: !1
188
178
  },
189
- visibleIf: t
179
+ visibleIf: l
190
180
  },
191
181
  {
192
182
  key: "observations.type",
@@ -196,7 +186,7 @@ const t = ({ options: e }) => {
196
186
  default: "dot",
197
187
  enum: ["dot", "ticks"]
198
188
  },
199
- visibleIf: t
189
+ visibleIf: l
200
190
  },
201
191
  {
202
192
  key: "observations.size",
@@ -208,7 +198,7 @@ const t = ({ options: e }) => {
208
198
  max: 10,
209
199
  step: 1
210
200
  },
211
- visibleIf: t
201
+ visibleIf: l
212
202
  },
213
203
  {
214
204
  key: "observations.opacity",
@@ -220,7 +210,7 @@ const t = ({ options: e }) => {
220
210
  max: 1,
221
211
  step: 0.1
222
212
  },
223
- visibleIf: t
213
+ visibleIf: l
224
214
  },
225
215
  {
226
216
  key: "observations.jitter",
@@ -232,7 +222,7 @@ const t = ({ options: e }) => {
232
222
  max: 100,
233
223
  step: 1
234
224
  },
235
- visibleIf: t
225
+ visibleIf: l
236
226
  },
237
227
  {
238
228
  key: "observations.colorType",
@@ -242,39 +232,28 @@ const t = ({ options: e }) => {
242
232
  default: "single",
243
233
  enum: ["single", "range"]
244
234
  },
245
- visibleIf: t
235
+ visibleIf: l
246
236
  },
247
237
  {
248
238
  key: "observations.color",
249
239
  control: {
250
240
  type: "color-picker",
251
241
  label: "Color",
252
- default: ({ theme: e }) => {
253
- var r;
254
- return (r = e == null ? void 0 : e.colors) == null ? void 0 : r[1];
255
- },
256
- extraLabel: ({ options: e, theme: r }) => {
257
- var l, o, a, s;
258
- if ((l = r == null ? void 0 : r.colors) != null && l[1] && ((o = e.observations) != null && o.color) && ((a = e.observations) == null ? void 0 : a.color) !== ((s = r == null ? void 0 : r.colors) == null ? void 0 : s[1]))
242
+ default: ({ theme: e }) => e?.colors?.[1],
243
+ extraLabel: ({ options: e, theme: o }) => {
244
+ if (o?.colors?.[1] && e.observations?.color && e.observations?.color !== o?.colors?.[1])
259
245
  return "reset";
260
246
  },
261
- extraLabelHasClickAction: ({ options: e, theme: r }) => {
262
- var l, o, a;
263
- return !!((l = r == null ? void 0 : r.colors) != null && l[1] && ((o = e.observations) == null ? void 0 : o.color) !== ((a = r == null ? void 0 : r.colors) == null ? void 0 : a[1]));
264
- },
265
- extraLabelClickAction: ({ options: e, theme: r }) => {
266
- var o;
267
- const l = { ...e };
268
- return l.observations.color = (o = r == null ? void 0 : r.colors) == null ? void 0 : o[1], {
269
- value: l.observations.color,
270
- options: l
247
+ extraLabelHasClickAction: ({ options: e, theme: o }) => !!(o?.colors?.[1] && e.observations?.color !== o?.colors?.[1]),
248
+ extraLabelClickAction: ({ options: e, theme: o }) => {
249
+ const r = { ...e };
250
+ return r.observations.color = o?.colors?.[1], {
251
+ value: r.observations.color,
252
+ options: r
271
253
  };
272
254
  }
273
255
  },
274
- visibleIf: ({ options: e }) => {
275
- var r;
276
- return t({ options: e }) && ((r = e == null ? void 0 : e.observations) == null ? void 0 : r.colorType) === "single";
277
- }
256
+ visibleIf: ({ options: e }) => l({ options: e }) && e?.observations?.colorType === "single"
278
257
  },
279
258
  {
280
259
  key: "observations.colorsType",
@@ -288,16 +267,9 @@ const t = ({ options: e }) => {
288
267
  "divergent"
289
268
  /* , 'manual' */
290
269
  ],
291
- calculateValue: ({ options: e }) => {
292
- var o, a, s;
293
- if (((o = e == null ? void 0 : e.observations) == null ? void 0 : o.colorsClass) === "manual")
294
- return "manual";
295
- const r = i();
296
- return ((s = r == null ? void 0 : r[(a = e == null ? void 0 : e.observations) == null ? void 0 : a.colorsClass]) == null ? void 0 : s.type) ?? "divergent";
297
- },
298
- toOptions: ({ options: e, value: r }) => {
299
- var s, n, b;
300
- if (r === "manual")
270
+ calculateValue: ({ options: e }) => e?.observations?.colorsClass === "manual" ? "manual" : t()?.[e?.observations?.colorsClass]?.type ?? "divergent",
271
+ toOptions: ({ options: e, value: o }) => {
272
+ if (o === "manual")
301
273
  return {
302
274
  ...e,
303
275
  observations: {
@@ -307,22 +279,19 @@ const t = ({ options: e }) => {
307
279
  colorsClass: "manual"
308
280
  }
309
281
  };
310
- let l = (s = e.observations) == null ? void 0 : s.colorClass;
311
- const o = i(), a = (b = o == null ? void 0 : o[(n = e == null ? void 0 : e.observations) == null ? void 0 : n.colorsClass]) == null ? void 0 : b.type;
312
- return r !== a && (l = c(r ?? "divergent")[0]), {
282
+ let r = e.observations?.colorClass;
283
+ const b = t()?.[e?.observations?.colorsClass]?.type;
284
+ return o !== b && (r = a(o ?? "divergent")[0]), {
313
285
  ...e,
314
286
  observations: {
315
287
  ...e.observations,
316
- colorsClass: l,
317
- colorsType: r
288
+ colorsClass: r,
289
+ colorsType: o
318
290
  }
319
291
  };
320
292
  }
321
293
  },
322
- visibleIf: ({ options: e }) => {
323
- var r;
324
- return t({ options: e }) && ((r = e == null ? void 0 : e.observations) == null ? void 0 : r.colorType) === "range";
325
- }
294
+ visibleIf: ({ options: e }) => l({ options: e }) && e?.observations?.colorType === "range"
326
295
  },
327
296
  /* TODO: need to be able to retrieve values from the boxplot
328
297
  {
@@ -348,24 +317,19 @@ const t = ({ options: e }) => {
348
317
  label: "Color palette",
349
318
  hideLabel: !0,
350
319
  default: ({ options: e }) => {
351
- var o, a;
352
- const r = i(), l = (a = r == null ? void 0 : r[(o = e == null ? void 0 : e.observations) == null ? void 0 : o.colorsClass]) == null ? void 0 : a.type;
353
- return c(l ?? "divergent")[0];
320
+ const r = t()?.[e?.observations?.colorsClass]?.type;
321
+ return a(r ?? "divergent")[0];
354
322
  },
355
323
  enum: ({ options: e }) => {
356
- var o, a;
357
- const r = i(), l = (a = r == null ? void 0 : r[(o = e == null ? void 0 : e.observations) == null ? void 0 : o.colorsClass]) == null ? void 0 : a.type;
358
- return c(l ?? "divergent");
324
+ const r = t()?.[e?.observations?.colorsClass]?.type;
325
+ return a(r ?? "divergent");
359
326
  }
360
327
  },
361
- visibleIf: ({ options: e }) => {
362
- var r, l;
363
- return t({ options: e }) && ((r = e == null ? void 0 : e.observations) == null ? void 0 : r.colorType) === "range" && ((l = e == null ? void 0 : e.observations) == null ? void 0 : l.colorsClass) !== "manual";
364
- }
328
+ visibleIf: ({ options: e }) => l({ options: e }) && e?.observations?.colorType === "range" && e?.observations?.colorsClass !== "manual"
365
329
  }
366
330
  ]
367
331
  }
368
332
  ];
369
333
  export {
370
- C as default
334
+ d as default
371
335
  };
@@ -17,14 +17,8 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { g as i, a as n, b as c, c as b } from "./helpers-v1bPALRP.js";
21
- const o = ({ slots: e }) => {
22
- var l, t;
23
- return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((t = (l = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "color")) == null ? void 0 : l.content) == null ? void 0 : t.length) > 0 : !1;
24
- }, r = ({ slots: e }) => {
25
- var l, t;
26
- return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? !(((t = (l = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "color")) == null ? void 0 : l.content) == null ? void 0 : t.length) > 0) : !0;
27
- }, g = [
20
+ import { g as a, a as r, b as i, c as n } from "./helpers-bR8Ibjqh.js";
21
+ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "color")?.content?.length > 0 : !1, l = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? !(e?.find((t) => t?.name === "color")?.content?.length > 0) : !0, b = [
28
22
  {
29
23
  key: "general",
30
24
  type: "group",
@@ -73,22 +67,19 @@ const o = ({ slots: e }) => {
73
67
  label: "Bubble color by category",
74
68
  default: !0
75
69
  },
76
- visibleIf: r
70
+ visibleIf: l
77
71
  },
78
72
  {
79
73
  key: "color",
80
74
  control: {
81
75
  type: "color-picker",
82
76
  label: "Bubble color",
83
- default: ({ theme: e }) => b(e),
84
- extraLabel: ({ options: e, theme: l }) => c(e, l, "color"),
85
- extraLabelHasClickAction: ({ options: e, theme: l }) => n(e, l, "color"),
86
- extraLabelClickAction: ({ options: e, theme: l }) => i(e, l, "color")
77
+ default: ({ theme: e }) => n(e),
78
+ extraLabel: ({ options: e, theme: t }) => i(e, t, "color"),
79
+ extraLabelHasClickAction: ({ options: e, theme: t }) => r(e, t, "color"),
80
+ extraLabelClickAction: ({ options: e, theme: t }) => a(e, t, "color")
87
81
  },
88
- visibleIf: ({ options: e, slots: l }) => {
89
- var t;
90
- return ((t = e == null ? void 0 : e.categories) == null ? void 0 : t.colored) === !1 && r({ slots: l });
91
- }
82
+ visibleIf: ({ options: e, slots: t }) => e?.categories?.colored === !1 && l({ slots: t })
92
83
  }
93
84
  ]
94
85
  },
@@ -120,5 +111,5 @@ const o = ({ slots: e }) => {
120
111
  }
121
112
  ];
122
113
  export {
123
- g as default
114
+ b as default
124
115
  };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./helpers-9I0oLoUB.cjs"),o=({slots:e})=>Array.isArray(e)&&e?.length>0?e?.find(t=>t?.name==="color")?.content?.length>0:!1,r=({slots:e})=>Array.isArray(e)&&e?.length>0?!(e?.find(t=>t?.name==="color")?.content?.length>0):!0,a=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0},visibleIf:o},{key:"display.bubbleLabels",control:{type:"switch",label:"Show labels",tooltip:"If enough room available",default:!0}},{key:"display.bubbleValues",control:{type:"picker",label:"Show values",tooltip:"If enough room available",default:"none",enum:["none","percentage","absolute"]}},{key:"categories.colored",control:{type:"switch",label:"Bubble color by category",default:!0},visibleIf:r},{key:"color",control:{type:"color-picker",label:"Bubble color",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:t})=>l.getThemeMainColorResetLabel(e,t,"color"),extraLabelHasClickAction:({options:e,theme:t})=>l.getThemeMainColorExtraLabelHasClickAction(e,t,"color"),extraLabelClickAction:({options:e,theme:t})=>l.getThemeMainColorExtraLabelClickAction(e,t,"color")},visibleIf:({options:e,slots:t})=>e?.categories?.colored===!1&&r({slots:t})}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"topRight",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:o}];exports.default=a;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { g as t, a as o, b as a, c as r } from "./helpers-v1bPALRP.js";
20
+ import { g as t, a as o, b as a, c as r } from "./helpers-bR8Ibjqh.js";
21
21
  const i = [
22
22
  {
23
23
  key: "general",
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./helpers-DXQwEH1P.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.ranges",control:{type:"switch",label:"Ranges",default:!0}},{key:"display.bulletSubtitles",control:{type:"switch",label:"Bullet subtitle",default:!1}},{key:"color",control:{type:"color-picker",label:"Bullet color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"color")}},{key:"sort.direction",control:{type:"picker",label:"Bullet order",default:"asc",enum:["asc","desc"]}}]}];exports.default=o;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./helpers-9I0oLoUB.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.ranges",control:{type:"switch",label:"Ranges",default:!0}},{key:"display.bulletSubtitles",control:{type:"switch",label:"Bullet subtitle",default:!1}},{key:"color",control:{type:"color-picker",label:"Bullet color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"color")}},{key:"sort.direction",control:{type:"picker",label:"Bullet order",default:"asc",enum:["asc","desc"]}}]}];exports.default=o;