@luzmo/analytics-components-kit 1.0.1-alpha.91 → 1.0.1-alpha.94

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