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

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