@luzmo/analytics-components-kit 1.0.1-alpha.84 → 1.0.1-alpha.85

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 (237) hide show
  1. package/angular/components/droppable-slot.component.ts +2 -2
  2. package/angular/esm/components/droppable-slot.component.d.ts +2 -2
  3. package/angular/esm/types.d.ts +1 -1
  4. package/angular/types.ts +2 -2
  5. package/components/ai-chat-messages-container/index.cjs +1 -1
  6. package/components/ai-chat-messages-container/index.js +2 -2
  7. package/components/ai-interaction-textarea/index.cjs +50 -0
  8. package/components/ai-interaction-textarea/index.d.ts +1 -1
  9. package/components/ai-interaction-textarea/index.js +152 -0
  10. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  11. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  12. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  13. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  14. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  15. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  16. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  17. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  18. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  19. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  20. package/components/calculate-data-item-icon-C8CbsMQf.js +139 -0
  21. package/components/{calculate-data-item-icon-DjW1_RI1.cjs → calculate-data-item-icon-CX4VW9Km.cjs} +1 -1
  22. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  23. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  24. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  25. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  26. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  27. package/components/color-Czp4Im5q.cjs +20 -0
  28. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  29. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  30. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  31. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  32. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  33. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  34. package/components/dataset-selector-list/index.cjs +11 -11
  35. package/components/dataset-selector-list/index.js +65 -69
  36. package/components/dataset-selector-row/dataset-selector-row.d.ts +1 -0
  37. package/components/dataset-selector-row/index.cjs +79 -0
  38. package/components/dataset-selector-row/index.d.ts +1 -1
  39. package/components/dataset-selector-row/index.js +209 -0
  40. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  41. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  42. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  43. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  44. package/components/display-settings/index.cjs +1 -1
  45. package/components/display-settings/index.js +1 -1
  46. package/components/display-settings-binning/index.cjs +5 -5
  47. package/components/display-settings-binning/index.js +29 -30
  48. package/components/display-settings-datetime/index.cjs +29 -29
  49. package/components/display-settings-datetime/index.js +112 -120
  50. package/components/display-settings-grand-totals/index.cjs +4 -4
  51. package/components/display-settings-grand-totals/index.js +23 -24
  52. package/components/display-settings-numeric/index.cjs +48 -48
  53. package/components/display-settings-numeric/index.js +194 -211
  54. package/components/display-settings-period-over-period/index.cjs +16 -16
  55. package/components/display-settings-period-over-period/index.js +91 -97
  56. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  57. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  58. package/components/draggable-data-item/index.cjs +8 -8
  59. package/components/draggable-data-item/index.js +44 -45
  60. package/components/draggable-data-item-level/index.cjs +11 -11
  61. package/components/draggable-data-item-level/index.js +89 -92
  62. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  63. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  64. package/components/droppable-slot/droppable-slot.d.ts +2 -2
  65. package/components/droppable-slot/index.cjs +20 -20
  66. package/components/droppable-slot/index.js +167 -181
  67. package/components/edit-item/index.cjs +9 -9
  68. package/components/edit-item/index.js +116 -119
  69. package/components/edit-option/index.cjs +1 -1
  70. package/components/edit-option/index.js +1 -1
  71. package/components/edit-option-action-button-group/index.cjs +8 -8
  72. package/components/edit-option-action-button-group/index.js +52 -53
  73. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  74. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
  75. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  76. package/components/edit-option-color-palette-picker/index.js +1 -1
  77. package/components/edit-option-color-picker/index.cjs +1 -1
  78. package/components/edit-option-color-picker/index.js +1 -1
  79. package/components/edit-option-color-range/index.cjs +19 -19
  80. package/components/edit-option-color-range/index.js +106 -117
  81. package/components/edit-option-multi-language-field/index.cjs +3 -3
  82. package/components/edit-option-multi-language-field/index.js +26 -27
  83. package/components/edit-option-number-field/index.cjs +1 -1
  84. package/components/edit-option-number-field/index.js +1 -1
  85. package/components/edit-option-picker/index.cjs +5 -5
  86. package/components/edit-option-picker/index.js +7 -7
  87. package/components/edit-option-position-picker/index.cjs +4 -4
  88. package/components/edit-option-position-picker/index.js +21 -25
  89. package/components/edit-option-positions-number-field/index.cjs +9 -9
  90. package/components/edit-option-positions-number-field/index.js +76 -81
  91. package/components/edit-option-radio-button-group/index.cjs +6 -6
  92. package/components/edit-option-radio-button-group/index.js +21 -22
  93. package/components/edit-option-slider/index.cjs +1 -1
  94. package/components/edit-option-slider/index.js +1 -1
  95. package/components/edit-option-switch/index.cjs +1 -1
  96. package/components/edit-option-switch/index.js +1 -1
  97. package/components/edit-option-text-field/index.cjs +2 -2
  98. package/components/edit-option-text-field/index.js +22 -23
  99. package/components/en--a5SfjnM.cjs +20 -0
  100. package/components/en-CtCctD2c.js +1483 -0
  101. package/components/{en-GB-DG6uS3sM.cjs → en-GB-CXVKFWyH.cjs} +1 -1
  102. package/components/{en-GB-CEHEs8F2.js → en-GB-CbNfyZMo.js} +1 -1
  103. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  104. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  105. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  106. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  107. package/components/filter-data-item-picker/index.cjs +7 -7
  108. package/components/filter-data-item-picker/index.js +85 -86
  109. package/components/filter-expression-picker/index.cjs +1 -1
  110. package/components/filter-expression-picker/index.js +1 -1
  111. package/components/filter-item/index.cjs +6 -6
  112. package/components/filter-item/index.js +109 -119
  113. package/components/filter-value-picker/index.cjs +2 -2
  114. package/components/filter-value-picker/index.js +34 -36
  115. package/components/filter-value-picker-datetime/index.cjs +8 -8
  116. package/components/filter-value-picker-datetime/index.js +56 -71
  117. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  118. package/components/filter-value-picker-hierarchy/index.js +113 -124
  119. package/components/filter-value-picker-numeric/index.cjs +8 -8
  120. package/components/filter-value-picker-numeric/index.js +101 -110
  121. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  122. package/components/focusable-QLh-LlNt.cjs +20 -0
  123. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  124. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  125. package/components/{get-css-variable-DLiZYZEi.cjs → get-css-variable-CuDaWSjr.cjs} +2 -2
  126. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-DEf4GhTH.js} +4 -4
  127. package/components/grid/index.cjs +46 -46
  128. package/components/grid/index.js +2612 -1873
  129. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  130. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  131. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  132. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  133. package/components/helpers-9I0oLoUB.cjs +20 -0
  134. package/components/helpers-bR8Ibjqh.js +79 -0
  135. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  136. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  137. package/components/{index-Do7O9azB.js → index-3WsfvkZF.js} +112 -123
  138. package/components/{index-PMDgRSzR.js → index-BDFBUGBc.js} +94 -104
  139. package/components/index-BGb_wRRW.js +1766 -0
  140. package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
  141. package/components/index-BUal0r_D.cjs +121 -0
  142. package/components/index-D1Y5TRsH.cjs +20 -0
  143. package/components/index-DvkzMbLt.cjs +249 -0
  144. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  145. package/components/index.cjs +1 -60
  146. package/components/index.js +102 -281
  147. package/components/item-options-configs.cjs +1 -1
  148. package/components/item-options-configs.js +37 -37
  149. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  150. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  151. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  152. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  153. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  154. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  155. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  156. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  157. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  158. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  159. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  160. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  161. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  162. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  163. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  164. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  165. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  166. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  167. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  168. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  169. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  170. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  171. package/components/{set-locale-B-Tz2sdI.js → set-locale-nv7fWEtl.js} +1 -8
  172. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  173. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  174. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  175. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  176. package/components/slot-contents-picker/index.cjs +33 -33
  177. package/components/slot-contents-picker/index.js +194 -205
  178. package/components/slot-menu/index.cjs +12 -12
  179. package/components/slot-menu/index.js +171 -184
  180. package/components/slot-menu-list/index.cjs +3 -3
  181. package/components/slot-menu-list/index.js +97 -103
  182. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  183. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  184. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  185. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  186. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  187. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  188. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  189. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  190. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  191. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  192. package/components/utils.cjs +1 -1
  193. package/components/utils.js +64 -65
  194. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  195. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  196. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  197. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  198. package/custom-elements.json +22 -2
  199. package/index.d.ts +1 -0
  200. package/package.json +5 -5
  201. package/types.d.ts +1 -1
  202. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  203. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  204. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  205. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  206. package/components/calculate-data-item-icon-DZDqb3xu.js +0 -139
  207. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  208. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  209. package/components/color-B6LaL8qz.cjs +0 -20
  210. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  211. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  212. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  213. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  214. package/components/en-BKBhKBXY.cjs +0 -20
  215. package/components/en-BOTjhwEc.js +0 -1488
  216. package/components/focusable-B3E_hQmm.cjs +0 -20
  217. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  218. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  219. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  220. package/components/helpers-DXQwEH1P.cjs +0 -20
  221. package/components/helpers-v1bPALRP.js +0 -91
  222. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  223. package/components/index-BPN3bG9X.js +0 -1733
  224. package/components/index-CQ9ck-BO.cjs +0 -249
  225. package/components/index-CXn67vdn.cjs +0 -121
  226. package/components/index-cfj52IbK.cjs +0 -20
  227. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  228. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  229. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  230. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  231. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  232. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  233. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  234. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  235. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  236. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  237. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
@@ -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;
@@ -0,0 +1,139 @@
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
+ import { luzmoTypeArrayHierarchy as l, luzmoTypeArrayHierarchy14 as A, luzmoTypeArrayHierarchy12 as g, luzmoTypeArrayDatetime as o, luzmoTypeArrayDatetime14 as C, luzmoTypeArrayDatetime12 as I, luzmoTypeArrayCurrency as a, luzmoTypeArrayCurrency14 as b, luzmoTypeArrayCurrency12 as v, luzmoTypeArrayDuration as t, luzmoTypeArrayDuration14 as H, luzmoTypeArrayDuration12 as N, luzmoTypeArrayNumeric as p, luzmoTypeArrayNumeric14 as F, luzmoTypeArrayNumeric12 as S, luzmoTypeImage as i, luzmoTypeImage14 as j, luzmoTypeImage12 as k, luzmoTypeTopography as u, luzmoTypeCoordinates as n, luzmoTypeCoordinates14 as q, luzmoTypeCoordinates12 as w, luzmoTypeCurrency as c, luzmoTypeCurrency14 as B, luzmoTypeCurrency12 as E, luzmoTypeDuration as T, luzmoTypeDuration14 as G, luzmoTypeDuration12 as J, luzmoTypeNumeric as s, luzmoTypeNumeric14 as K, luzmoTypeNumeric12 as L, luzmoTypeTime as z, luzmoTypeTime14 as M, luzmoTypeTime12 as O, luzmoTypeDate as d, luzmoTypeDate14 as P, luzmoTypeDate12 as Q, luzmoTypeDatetime as h, luzmoTypeDatetime14 as R, luzmoTypeDatetime12 as U, luzmoTypeIpAddress as f, luzmoTypeIpAddress14 as V, luzmoTypeIpAddress12 as W, luzmoTypeHierarchy as D, luzmoTypeHierarchy14 as X, luzmoTypeHierarchy12 as Y, luzmoTypeDerived as x, luzmoTypeDerived14 as Z, luzmoTypeDerived12 as _, luzmoFormula as m } from "@luzmo/icons";
21
+ const y = {
22
+ "array[hierarchy]": {
23
+ s: g,
24
+ m: A,
25
+ l,
26
+ xl: l
27
+ },
28
+ "array[datetime]": {
29
+ s: I,
30
+ m: C,
31
+ l: o,
32
+ xl: o
33
+ },
34
+ "array[numeric]": {
35
+ s: S,
36
+ m: F,
37
+ l: p,
38
+ xl: p
39
+ },
40
+ "array[currency]": {
41
+ s: v,
42
+ m: b,
43
+ l: a,
44
+ xl: a
45
+ },
46
+ "array[duration]": {
47
+ s: N,
48
+ m: H,
49
+ l: t,
50
+ xl: t
51
+ },
52
+ coordinates: {
53
+ s: w,
54
+ m: q,
55
+ l: n,
56
+ xl: n
57
+ },
58
+ currency: {
59
+ s: E,
60
+ m: B,
61
+ l: c,
62
+ xl: c
63
+ },
64
+ date: {
65
+ s: Q,
66
+ m: P,
67
+ l: d,
68
+ xl: d
69
+ },
70
+ datetime: {
71
+ s: U,
72
+ m: R,
73
+ l: h,
74
+ xl: h
75
+ },
76
+ derived: {
77
+ s: _,
78
+ m: Z,
79
+ l: x,
80
+ xl: x
81
+ },
82
+ duration: {
83
+ s: J,
84
+ m: G,
85
+ l: T,
86
+ xl: T
87
+ },
88
+ hierarchy: {
89
+ s: Y,
90
+ m: X,
91
+ l: D,
92
+ xl: D
93
+ },
94
+ image: {
95
+ s: k,
96
+ m: j,
97
+ l: i,
98
+ xl: i
99
+ },
100
+ numeric: {
101
+ s: L,
102
+ m: K,
103
+ l: s,
104
+ xl: s
105
+ },
106
+ time: {
107
+ s: O,
108
+ m: M,
109
+ l: z,
110
+ xl: z
111
+ },
112
+ topography: {
113
+ s: u,
114
+ m: u,
115
+ l: u,
116
+ xl: u
117
+ },
118
+ ipaddress: {
119
+ s: W,
120
+ m: V,
121
+ l: f,
122
+ xl: f
123
+ },
124
+ formula: {
125
+ s: m,
126
+ m,
127
+ l: m,
128
+ xl: m
129
+ }
130
+ }, ee = (e, r = "m") => {
131
+ if (e === "formula")
132
+ return y.formula[r];
133
+ if (e === "derived")
134
+ return y.derived[r];
135
+ }, re = (e, r = "m") => e?.type === "array[hierarchy]" ? y["array[hierarchy]"][r] : e?.type === "array[datetime]" ? y["array[datetime]"][r] : e?.type === "array[numeric]" ? e?.subtype === "currency" ? y["array[currency]"][r] : e?.subtype === "duration" ? y["array[duration]"][r] : y["array[numeric]"][r] : e?.type === "image" ? y.image[r] : e?.type === "spatial" ? e?.subtype === "topography" ? y.topography[r] : y.coordinates[r] : e?.type === "numeric" ? e?.subtype === "currency" ? y.currency[r] : e?.subtype === "duration" ? y.duration[r] : y.numeric[r] : e?.type === "datetime" ? e?.subtype === "time" ? y.time[r] : e?.subtype === "date" ? y.date[r] : y.datetime[r] : e?.type === "hierarchy" && e?.subtype === "ipaddress" ? y.ipaddress[r] : y.hierarchy[r];
136
+ export {
137
+ ee as a,
138
+ re as c
139
+ };
@@ -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";const e=require("@luzmo/icons"),y={"array[hierarchy]":{s:e.luzmoTypeArrayHierarchy12,m:e.luzmoTypeArrayHierarchy14,l:e.luzmoTypeArrayHierarchy,xl:e.luzmoTypeArrayHierarchy},"array[datetime]":{s:e.luzmoTypeArrayDatetime12,m:e.luzmoTypeArrayDatetime14,l:e.luzmoTypeArrayDatetime,xl:e.luzmoTypeArrayDatetime},"array[numeric]":{s:e.luzmoTypeArrayNumeric12,m:e.luzmoTypeArrayNumeric14,l:e.luzmoTypeArrayNumeric,xl:e.luzmoTypeArrayNumeric},"array[currency]":{s:e.luzmoTypeArrayCurrency12,m:e.luzmoTypeArrayCurrency14,l:e.luzmoTypeArrayCurrency,xl:e.luzmoTypeArrayCurrency},"array[duration]":{s:e.luzmoTypeArrayDuration12,m:e.luzmoTypeArrayDuration14,l:e.luzmoTypeArrayDuration,xl:e.luzmoTypeArrayDuration},coordinates:{s:e.luzmoTypeCoordinates12,m:e.luzmoTypeCoordinates14,l:e.luzmoTypeCoordinates,xl:e.luzmoTypeCoordinates},currency:{s:e.luzmoTypeCurrency12,m:e.luzmoTypeCurrency14,l:e.luzmoTypeCurrency,xl:e.luzmoTypeCurrency},date:{s:e.luzmoTypeDate12,m:e.luzmoTypeDate14,l:e.luzmoTypeDate,xl:e.luzmoTypeDate},datetime:{s:e.luzmoTypeDatetime12,m:e.luzmoTypeDatetime14,l:e.luzmoTypeDatetime,xl:e.luzmoTypeDatetime},derived:{s:e.luzmoTypeDerived12,m:e.luzmoTypeDerived14,l:e.luzmoTypeDerived,xl:e.luzmoTypeDerived},duration:{s:e.luzmoTypeDuration12,m:e.luzmoTypeDuration14,l:e.luzmoTypeDuration,xl:e.luzmoTypeDuration},hierarchy:{s:e.luzmoTypeHierarchy12,m:e.luzmoTypeHierarchy14,l:e.luzmoTypeHierarchy,xl:e.luzmoTypeHierarchy},image:{s:e.luzmoTypeImage12,m:e.luzmoTypeImage14,l:e.luzmoTypeImage,xl:e.luzmoTypeImage},numeric:{s:e.luzmoTypeNumeric12,m:e.luzmoTypeNumeric14,l:e.luzmoTypeNumeric,xl:e.luzmoTypeNumeric},time:{s:e.luzmoTypeTime12,m:e.luzmoTypeTime14,l:e.luzmoTypeTime,xl:e.luzmoTypeTime},topography:{s:e.luzmoTypeTopography,m:e.luzmoTypeTopography,l:e.luzmoTypeTopography,xl:e.luzmoTypeTopography},ipaddress:{s:e.luzmoTypeIpAddress12,m:e.luzmoTypeIpAddress14,l:e.luzmoTypeIpAddress,xl:e.luzmoTypeIpAddress},formula:{s:e.luzmoFormula,m:e.luzmoFormula,l:e.luzmoFormula,xl:e.luzmoFormula}},m=(r,u="m")=>{if(r==="formula")return y.formula[u];if(r==="derived")return y.derived[u]},l=(r,u="m")=>(r==null?void 0:r.type)==="array[hierarchy]"?y["array[hierarchy]"][u]:(r==null?void 0:r.type)==="array[datetime]"?y["array[datetime]"][u]:(r==null?void 0:r.type)==="array[numeric]"?(r==null?void 0:r.subtype)==="currency"?y["array[currency]"][u]:(r==null?void 0:r.subtype)==="duration"?y["array[duration]"][u]:y["array[numeric]"][u]:(r==null?void 0:r.type)==="image"?y.image[u]:(r==null?void 0:r.type)==="spatial"?(r==null?void 0:r.subtype)==="topography"?y.topography[u]:y.coordinates[u]:(r==null?void 0:r.type)==="numeric"?(r==null?void 0:r.subtype)==="currency"?y.currency[u]:(r==null?void 0:r.subtype)==="duration"?y.duration[u]:y.numeric[u]:(r==null?void 0:r.type)==="datetime"?(r==null?void 0:r.subtype)==="time"?y.time[u]:(r==null?void 0:r.subtype)==="date"?y.date[u]:y.datetime[u]:(r==null?void 0:r.type)==="hierarchy"&&(r==null?void 0:r.subtype)==="ipaddress"?y.ipaddress[u]:y.hierarchy[u];exports.calculateDataItemIcon=l;exports.calculateDataItemSecondaryIcon=m;
20
+ "use strict";const e=require("@luzmo/icons"),y={"array[hierarchy]":{s:e.luzmoTypeArrayHierarchy12,m:e.luzmoTypeArrayHierarchy14,l:e.luzmoTypeArrayHierarchy,xl:e.luzmoTypeArrayHierarchy},"array[datetime]":{s:e.luzmoTypeArrayDatetime12,m:e.luzmoTypeArrayDatetime14,l:e.luzmoTypeArrayDatetime,xl:e.luzmoTypeArrayDatetime},"array[numeric]":{s:e.luzmoTypeArrayNumeric12,m:e.luzmoTypeArrayNumeric14,l:e.luzmoTypeArrayNumeric,xl:e.luzmoTypeArrayNumeric},"array[currency]":{s:e.luzmoTypeArrayCurrency12,m:e.luzmoTypeArrayCurrency14,l:e.luzmoTypeArrayCurrency,xl:e.luzmoTypeArrayCurrency},"array[duration]":{s:e.luzmoTypeArrayDuration12,m:e.luzmoTypeArrayDuration14,l:e.luzmoTypeArrayDuration,xl:e.luzmoTypeArrayDuration},coordinates:{s:e.luzmoTypeCoordinates12,m:e.luzmoTypeCoordinates14,l:e.luzmoTypeCoordinates,xl:e.luzmoTypeCoordinates},currency:{s:e.luzmoTypeCurrency12,m:e.luzmoTypeCurrency14,l:e.luzmoTypeCurrency,xl:e.luzmoTypeCurrency},date:{s:e.luzmoTypeDate12,m:e.luzmoTypeDate14,l:e.luzmoTypeDate,xl:e.luzmoTypeDate},datetime:{s:e.luzmoTypeDatetime12,m:e.luzmoTypeDatetime14,l:e.luzmoTypeDatetime,xl:e.luzmoTypeDatetime},derived:{s:e.luzmoTypeDerived12,m:e.luzmoTypeDerived14,l:e.luzmoTypeDerived,xl:e.luzmoTypeDerived},duration:{s:e.luzmoTypeDuration12,m:e.luzmoTypeDuration14,l:e.luzmoTypeDuration,xl:e.luzmoTypeDuration},hierarchy:{s:e.luzmoTypeHierarchy12,m:e.luzmoTypeHierarchy14,l:e.luzmoTypeHierarchy,xl:e.luzmoTypeHierarchy},image:{s:e.luzmoTypeImage12,m:e.luzmoTypeImage14,l:e.luzmoTypeImage,xl:e.luzmoTypeImage},numeric:{s:e.luzmoTypeNumeric12,m:e.luzmoTypeNumeric14,l:e.luzmoTypeNumeric,xl:e.luzmoTypeNumeric},time:{s:e.luzmoTypeTime12,m:e.luzmoTypeTime14,l:e.luzmoTypeTime,xl:e.luzmoTypeTime},topography:{s:e.luzmoTypeTopography,m:e.luzmoTypeTopography,l:e.luzmoTypeTopography,xl:e.luzmoTypeTopography},ipaddress:{s:e.luzmoTypeIpAddress12,m:e.luzmoTypeIpAddress14,l:e.luzmoTypeIpAddress,xl:e.luzmoTypeIpAddress},formula:{s:e.luzmoFormula,m:e.luzmoFormula,l:e.luzmoFormula,xl:e.luzmoFormula}},m=(r,u="m")=>{if(r==="formula")return y.formula[u];if(r==="derived")return y.derived[u]},l=(r,u="m")=>r?.type==="array[hierarchy]"?y["array[hierarchy]"][u]:r?.type==="array[datetime]"?y["array[datetime]"][u]:r?.type==="array[numeric]"?r?.subtype==="currency"?y["array[currency]"][u]:r?.subtype==="duration"?y["array[duration]"][u]:y["array[numeric]"][u]:r?.type==="image"?y.image[u]:r?.type==="spatial"?r?.subtype==="topography"?y.topography[u]:y.coordinates[u]:r?.type==="numeric"?r?.subtype==="currency"?y.currency[u]:r?.subtype==="duration"?y.duration[u]:y.numeric[u]:r?.type==="datetime"?r?.subtype==="time"?y.time[u]:r?.subtype==="date"?y.date[u]:y.datetime[u]:r?.type==="hierarchy"&&r?.subtype==="ipaddress"?y.ipaddress[u]:y.hierarchy[u];exports.calculateDataItemIcon=l;exports.calculateDataItemSecondaryIcon=m;