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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/angular/README.md +2 -2
  2. package/angular/components/ai-interaction-textarea.component.ts +8 -0
  3. package/angular/components/{filter-data-item-picker.component.ts → data-items-select.component.ts} +34 -17
  4. package/angular/components/edit-filters/index.ts +1 -0
  5. package/angular/components/edit-filters/types.ts +10 -0
  6. package/angular/components/edit-filters.component.ts +41 -0
  7. package/angular/components/slot-contents-picker.component.ts +8 -6
  8. package/angular/esm/components/ai-interaction-textarea.component.d.ts +5 -1
  9. package/angular/esm/components/ai-interaction-textarea.component.js +22 -2
  10. package/angular/esm/components/data-items-select.component.d.ts +33 -0
  11. package/angular/esm/components/{filter-data-item-picker.component.js → data-items-select.component.js} +41 -26
  12. package/angular/esm/components/edit-filters/index.d.ts +1 -0
  13. package/angular/esm/components/edit-filters/index.js +1 -0
  14. package/angular/esm/components/edit-filters/types.d.ts +8 -0
  15. package/angular/esm/components/edit-filters/types.js +1 -0
  16. package/angular/esm/components/edit-filters.component.d.ts +21 -0
  17. package/angular/esm/components/edit-filters.component.js +89 -0
  18. package/angular/esm/components/slot-contents-picker.component.d.ts +7 -6
  19. package/angular/esm/components/slot-contents-picker.component.js +11 -6
  20. package/angular/esm/index.d.ts +5 -5
  21. package/angular/esm/index.js +6 -6
  22. package/angular/esm/types.d.ts +9 -0
  23. package/angular/index.ts +6 -6
  24. package/angular/types.ts +17 -0
  25. package/angular/utils/filters/expressions.d.ts +1 -1
  26. package/components/ai-chat-message-assistant/index.cjs +1 -1
  27. package/components/ai-chat-message-assistant/index.js +0 -1
  28. package/components/ai-chat-messages-container/index.cjs +1 -1
  29. package/components/ai-chat-messages-container/index.js +2 -2
  30. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +21 -0
  31. package/components/ai-interaction-textarea/index.cjs +17 -15
  32. package/components/ai-interaction-textarea/index.js +91 -67
  33. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  34. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  35. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  36. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  37. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  38. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  39. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  40. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  41. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  42. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  43. package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
  44. package/components/calculate-data-item-icon-DtVGbet3.cjs +20 -0
  45. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  46. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  47. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  48. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  49. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  50. package/components/color-Czp4Im5q.cjs +20 -0
  51. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  52. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  53. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  54. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  55. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  56. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  57. package/components/{filter-data-item-picker/filter-data-item-picker.d.ts → data-items-select/data-items-select.d.ts} +36 -21
  58. package/components/data-items-select/index.cjs +39 -0
  59. package/components/data-items-select/index.d.ts +6 -0
  60. package/components/data-items-select/index.js +209 -0
  61. package/components/dataset-icon/index.cjs +1 -1
  62. package/components/dataset-icon/index.js +1 -2
  63. package/components/dataset-selector-list/index.cjs +1 -1
  64. package/components/dataset-selector-list/index.js +32 -35
  65. package/components/dataset-selector-row/index.cjs +9 -9
  66. package/components/dataset-selector-row/index.js +50 -52
  67. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  68. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  69. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  70. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  71. package/components/{de-COKGBX9L.cjs → de-DOYL4txr.cjs} +1 -1
  72. package/components/{de-DU0DlXuf.js → de-SDzGVifr.js} +10 -1
  73. package/components/display-settings/index.cjs +1 -1
  74. package/components/display-settings/index.js +1 -1
  75. package/components/display-settings-binning/index.cjs +5 -5
  76. package/components/display-settings-binning/index.js +29 -30
  77. package/components/display-settings-datetime/index.cjs +29 -29
  78. package/components/display-settings-datetime/index.js +112 -120
  79. package/components/display-settings-grand-totals/index.cjs +4 -4
  80. package/components/display-settings-grand-totals/index.js +23 -24
  81. package/components/display-settings-numeric/index.cjs +48 -48
  82. package/components/display-settings-numeric/index.js +190 -206
  83. package/components/display-settings-period-over-period/index.cjs +16 -16
  84. package/components/display-settings-period-over-period/index.js +91 -97
  85. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  86. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  87. package/components/draggable-data-item/index.cjs +5 -5
  88. package/components/draggable-data-item/index.js +45 -46
  89. package/components/draggable-data-item-level/index.cjs +11 -11
  90. package/components/draggable-data-item-level/index.js +70 -73
  91. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  92. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  93. package/components/droppable-slot/index.cjs +16 -16
  94. package/components/droppable-slot/index.js +174 -265
  95. package/components/edit-filters/edit-filters.d.ts +79 -0
  96. package/components/edit-filters/index.cjs +144 -0
  97. package/components/edit-filters/index.d.ts +8 -0
  98. package/components/edit-filters/index.js +341 -0
  99. package/components/edit-filters/types.d.ts +8 -0
  100. package/components/edit-item/index.cjs +9 -9
  101. package/components/edit-item/index.js +116 -119
  102. package/components/edit-option/index.cjs +1 -1
  103. package/components/edit-option/index.js +1 -1
  104. package/components/edit-option-action-button-group/index.cjs +8 -8
  105. package/components/edit-option-action-button-group/index.js +52 -53
  106. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  107. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
  108. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  109. package/components/edit-option-color-palette-picker/index.js +1 -1
  110. package/components/edit-option-color-picker/index.cjs +1 -1
  111. package/components/edit-option-color-picker/index.js +1 -1
  112. package/components/edit-option-color-range/index.cjs +19 -19
  113. package/components/edit-option-color-range/index.js +106 -117
  114. package/components/edit-option-multi-language-field/index.cjs +3 -3
  115. package/components/edit-option-multi-language-field/index.js +26 -27
  116. package/components/edit-option-number-field/index.cjs +1 -1
  117. package/components/edit-option-number-field/index.js +1 -1
  118. package/components/edit-option-picker/index.cjs +5 -5
  119. package/components/edit-option-picker/index.js +7 -7
  120. package/components/edit-option-position-picker/index.cjs +4 -4
  121. package/components/edit-option-position-picker/index.js +21 -25
  122. package/components/edit-option-positions-number-field/index.cjs +9 -9
  123. package/components/edit-option-positions-number-field/index.js +76 -81
  124. package/components/edit-option-radio-button-group/index.cjs +6 -6
  125. package/components/edit-option-radio-button-group/index.js +21 -22
  126. package/components/edit-option-slider/index.cjs +1 -1
  127. package/components/edit-option-slider/index.js +1 -1
  128. package/components/edit-option-switch/index.cjs +1 -1
  129. package/components/edit-option-switch/index.js +1 -1
  130. package/components/edit-option-text-field/index.cjs +2 -2
  131. package/components/edit-option-text-field/index.js +22 -23
  132. package/components/en-D3ihEGXg.js +1483 -0
  133. package/components/en-DZcn_iz_.cjs +20 -0
  134. package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
  135. package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
  136. package/components/{es-BxR1uGKR.js → es-B1TeapPZ.js} +10 -1
  137. package/components/{es-CaKfa7fn.cjs → es-DcQvrHgz.cjs} +1 -1
  138. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  139. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  140. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  141. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  142. package/components/filter-expression-picker/index.cjs +1 -1
  143. package/components/filter-expression-picker/index.js +1 -1
  144. package/components/filter-item/filter-item.d.ts +1 -1
  145. package/components/filter-item/index.cjs +9 -7
  146. package/components/filter-item/index.js +123 -123
  147. package/components/filter-value-picker/index.cjs +2 -2
  148. package/components/filter-value-picker/index.js +34 -36
  149. package/components/filter-value-picker-datetime/index.cjs +8 -8
  150. package/components/filter-value-picker-datetime/index.js +56 -71
  151. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  152. package/components/filter-value-picker-hierarchy/index.js +113 -124
  153. package/components/filter-value-picker-numeric/index.cjs +9 -8
  154. package/components/filter-value-picker-numeric/index.js +102 -110
  155. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  156. package/components/focusable-QLh-LlNt.cjs +20 -0
  157. package/components/{fr-DiZbjx_a.cjs → fr-D6QmA3Ve.cjs} +1 -1
  158. package/components/{fr-CvltYxR_.js → fr-sZFBmltf.js} +10 -1
  159. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  160. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  161. package/components/get-css-variable-C0B_Sxqf.cjs +24 -0
  162. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-DgTBQV3c.js} +39 -38
  163. package/components/grid/index.cjs +43 -49
  164. package/components/grid/index.js +2610 -1878
  165. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  166. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  167. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  168. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  169. package/components/helpers-9I0oLoUB.cjs +20 -0
  170. package/components/helpers-bR8Ibjqh.js +79 -0
  171. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  172. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  173. package/components/index-BekTY3Em.cjs +121 -0
  174. package/components/index-BikhVAa1.js +1755 -0
  175. package/components/index-CAbDIHYI.cjs +20 -0
  176. package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
  177. package/components/{index-BPNsFiyq.cjs → index-DM58h73U.cjs} +4 -4
  178. package/components/{index-D0GBF6tg.js → index-DR5275fa.js} +122 -102
  179. package/components/index-DvkzMbLt.cjs +249 -0
  180. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  181. package/components/index.cjs +1 -1
  182. package/components/index.js +105 -106
  183. package/components/item-options-configs.cjs +1 -1
  184. package/components/item-options-configs.js +37 -37
  185. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  186. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  187. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  188. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  189. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  190. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  191. package/components/{nl-CLs7FmRK.js → nl-BYXZ-qNp.js} +10 -1
  192. package/components/{nl-Bot6bJ4g.cjs → nl-D7oNsLn0.cjs} +1 -1
  193. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  194. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  195. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  196. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  197. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  198. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  199. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  200. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  201. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  202. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  203. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  204. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  205. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  206. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  207. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  208. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  209. package/components/{set-locale-Dp3N_gXN.js → set-locale-B5562CBM.js} +2 -9
  210. package/components/{set-locale-BRRalqne.cjs → set-locale-B8iQGfk0.cjs} +1 -1
  211. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  212. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  213. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  214. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  215. package/components/slot-contents-picker/index.cjs +35 -31
  216. package/components/slot-contents-picker/index.js +202 -200
  217. package/components/slot-contents-picker/slot-contents-picker.d.ts +26 -5
  218. package/components/slot-menu/index.cjs +12 -12
  219. package/components/slot-menu/index.js +189 -202
  220. package/components/slot-menu-list/index.cjs +3 -3
  221. package/components/slot-menu-list/index.js +97 -103
  222. package/components/slot-store-CRfN0nD3.js +98 -0
  223. package/components/slot-store-Dd_cPNXk.cjs +20 -0
  224. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  225. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  226. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  227. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  228. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  229. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  230. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  231. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  232. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  233. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  234. package/components/utils.cjs +1 -1
  235. package/components/utils.js +94 -97
  236. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  237. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  238. package/components/viz-item-menu/index.cjs +5 -5
  239. package/components/viz-item-menu/index.js +26 -28
  240. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  241. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  242. package/custom-elements.json +1936 -1625
  243. package/index.d.ts +1 -1
  244. package/package.json +12 -12
  245. package/types.d.ts +9 -0
  246. package/utils/filters/expressions.d.ts +1 -1
  247. package/angular/components/filter-group.component.ts +0 -29
  248. package/angular/esm/components/filter-data-item-picker.component.d.ts +0 -30
  249. package/angular/esm/components/filter-group.component.d.ts +0 -12
  250. package/angular/esm/components/filter-group.component.js +0 -56
  251. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  252. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  253. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  254. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  255. package/components/calculate-data-item-icon-CEa82-5u.cjs +0 -20
  256. package/components/calculate-data-item-icon-DjlZwMdO.js +0 -147
  257. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  258. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  259. package/components/color-B6LaL8qz.cjs +0 -20
  260. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  261. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  262. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  263. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  264. package/components/en-BKBhKBXY.cjs +0 -20
  265. package/components/en-BOTjhwEc.js +0 -1488
  266. package/components/filter-data-item-picker/index.cjs +0 -47
  267. package/components/filter-data-item-picker/index.d.ts +0 -7
  268. package/components/filter-data-item-picker/index.js +0 -192
  269. package/components/filter-group/filter-group.d.ts +0 -26
  270. package/components/filter-group/index.d.ts +0 -7
  271. package/components/focusable-B3E_hQmm.cjs +0 -20
  272. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  273. package/components/get-css-variable-DLiZYZEi.cjs +0 -24
  274. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  275. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  276. package/components/helpers-DXQwEH1P.cjs +0 -20
  277. package/components/helpers-v1bPALRP.js +0 -91
  278. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  279. package/components/index-CDi4fe3N.js +0 -1716
  280. package/components/index-CQ9ck-BO.cjs +0 -249
  281. package/components/index-CXn67vdn.cjs +0 -121
  282. package/components/index-Cz9vSXy6.cjs +0 -20
  283. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  284. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  285. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  286. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  287. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  288. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  289. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  290. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  291. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  292. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  293. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
package/index.d.ts CHANGED
@@ -29,7 +29,7 @@ export * from './components/edit-option-radio-button-group';
29
29
  export * from './components/edit-option-slider';
30
30
  export * from './components/edit-option-switch';
31
31
  export * from './components/edit-option-text-field';
32
- export * from './components/filter-data-item-picker';
32
+ export * from './components/data-items-select';
33
33
  export * from './components/filter-expression-picker';
34
34
  export * from './components/filter-item';
35
35
  export * from './components/filter-value-picker';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/analytics-components-kit",
3
- "version": "1.0.1-alpha.98",
3
+ "version": "1.0.1-alpha.99",
4
4
  "type": "module",
5
5
  "main": "./components/index.js",
6
6
  "module": "./components/index.js",
@@ -31,6 +31,11 @@
31
31
  "import": "./components/ai-interaction-textarea/index.js",
32
32
  "require": "./components/ai-interaction-textarea/index.cjs"
33
33
  },
34
+ "./data-items-select": {
35
+ "types": "./components/data-items-select/index.d.ts",
36
+ "import": "./components/data-items-select/index.js",
37
+ "require": "./components/data-items-select/index.cjs"
38
+ },
34
39
  "./dataset-icon": {
35
40
  "types": "./components/dataset-icon/index.d.ts",
36
41
  "import": "./components/dataset-icon/index.js",
@@ -91,6 +96,11 @@
91
96
  "import": "./components/droppable-slot/index.js",
92
97
  "require": "./components/droppable-slot/index.cjs"
93
98
  },
99
+ "./edit-filters": {
100
+ "types": "./components/edit-filters/index.d.ts",
101
+ "import": "./components/edit-filters/index.js",
102
+ "require": "./components/edit-filters/index.cjs"
103
+ },
94
104
  "./edit-item": {
95
105
  "types": "./components/edit-item/index.d.ts",
96
106
  "import": "./components/edit-item/index.js",
@@ -166,21 +176,11 @@
166
176
  "import": "./components/edit-option-text-field/index.js",
167
177
  "require": "./components/edit-option-text-field/index.cjs"
168
178
  },
169
- "./filter-data-item-picker": {
170
- "types": "./components/filter-data-item-picker/index.d.ts",
171
- "import": "./components/filter-data-item-picker/index.js",
172
- "require": "./components/filter-data-item-picker/index.cjs"
173
- },
174
179
  "./filter-expression-picker": {
175
180
  "types": "./components/filter-expression-picker/index.d.ts",
176
181
  "import": "./components/filter-expression-picker/index.js",
177
182
  "require": "./components/filter-expression-picker/index.cjs"
178
183
  },
179
- "./filter-group": {
180
- "types": "./components/filter-group/index.d.ts",
181
- "import": "./components/filter-group/index.js",
182
- "require": "./components/filter-group/index.cjs"
183
- },
184
184
  "./filter-item": {
185
185
  "types": "./components/filter-item/index.d.ts",
186
186
  "import": "./components/filter-item/index.js",
@@ -288,7 +288,7 @@
288
288
  "@lit/localize": "^0.12.2",
289
289
  "@lit/task": "^1.0.1",
290
290
  "@luzmo/icons": "^1.0.1-alpha.25",
291
- "@luzmo/lucero": "^1.0.1-alpha.38",
291
+ "@luzmo/lucero": "^1.0.1-alpha.40",
292
292
  "colorjs.io": "^0.5.2",
293
293
  "lit": "^3.3.1"
294
294
  },
package/types.d.ts CHANGED
@@ -10,6 +10,7 @@ import { TemplateResult } from 'lit';
10
10
  export type { Column, ColumnSubtype, ColumnType, GenericSlotContent, SlotName, VizItemSlots, VizItemType } from '@luzmo/dashboard-contents-types';
11
11
  export type { DraggableDataItemData } from './components/draggable-data-item';
12
12
  export type { DroppableSlotConfiguration, SlotContentsChangedEventDetail } from './components/droppable-slot';
13
+ export type { FilterCondition, FilterGroup } from './components/edit-filters/types';
13
14
  export type { MeasureColumnsItem, SlotContentChangedEventDetail, SlotListChangedEventDetail, SlotMenuActiveEventDetail, SlotMenuHighlightEventDetail } from './components/slot-menu';
14
15
  export declare enum PeriodOverPeriodCondition {
15
16
  HasDatetimeColumnAndNoComparisonFilters = "hasDatetimeColumnAndNoComparisonFilters",
@@ -113,3 +114,11 @@ export interface Dataset {
113
114
  * Viz item menu button types that can be selected
114
115
  */
115
116
  export type VizItemMenuButton = 'clone' | 'edit' | 'delete';
117
+ export type DataItemExtended = DataItem & {
118
+ [key: string]: unknown;
119
+ };
120
+ export type DataItemSelected = DataItemExtended & {
121
+ datasetId: string;
122
+ columnId?: string;
123
+ formulaId?: string;
124
+ } & Omit<DataItemExtended, 'id'>;
@@ -10,6 +10,6 @@ export type FilterExpressionConfiguration = {
10
10
  type: ColumnType[];
11
11
  subtype?: ColumnSubtype[];
12
12
  };
13
- export type FilterExpressionKey = '? = ?' | '? != ?' | '? in ?' | '? not in ?' | '? like ?' | '? not like ?' | '? starts with ?' | '? not starts with ?' | '? ends with ?' | '? not ends with ?' | '? < ?' | '? <= ?' | '? > ?' | '? >= ?' | '? between ?' | 'last_now' | 'last_available' | 'last_completed' | 'next_now' | 'next_full' | 'to_date' | '? is null' | '? is not null';
13
+ export type FilterExpressionKey = '? = ?' | '? != ?' | '? in ?' | '? not in ?' | '? like ?' | '? not like ?' | '? starts with ?' | '? not starts with ?' | '? ends with ?' | '? not ends with ?' | '? < ?' | '? <= ?' | '? > ?' | '? >= ?' | '? between ?' | 'last_now' | 'last_available' | 'last_completed' | 'next_now' | 'more_than_ago' | 'or_more_ago' | 'next_full' | 'to_date' | '? is null' | '? is not null';
14
14
  export declare const filterExpressionsConfigurations: () => FilterExpressionConfiguration[];
15
15
  export declare const getValidExpressions: (type?: ColumnType, subtype?: ColumnSubtype, isFormula?: boolean) => FilterExpressionConfiguration[];
@@ -1,29 +0,0 @@
1
- import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
-
3
-
4
- @Component({
5
- selector: 'luzmo-filter-group',
6
- standalone: true,
7
- changeDetection: ChangeDetectionStrategy.OnPush,
8
- template: `<luzmo-filter-group
9
- [attr.language]="language"
10
- [attr.content-language]="contentLanguage"
11
- [attr.filters]="filters"
12
- [attr.size]="size"
13
- [attr.disabled]="disabled"
14
- [attr.autofocus]="autofocus"
15
- [attr.tabIndex]="tabIndex"
16
- >
17
- <ng-content></ng-content>
18
- </luzmo-filter-group>`
19
- })
20
- export class FilterGroupComponent {
21
- @Input() language?: string;
22
- @Input() contentLanguage?: string;
23
- @Input() filters?: any[];
24
- @Input() size?: any;
25
- @Input() disabled?: any;
26
- @Input() autofocus?: any;
27
- @Input() tabIndex?: any;
28
-
29
- }
@@ -1,30 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import type { DataItem } from '../types';
3
- import * as i0 from "@angular/core";
4
- export declare class FilterDataItemPickerComponent {
5
- language?: string;
6
- contentLanguage?: string;
7
- hasLabel?: boolean;
8
- label?: string;
9
- icons?: 'none' | 'only-menu' | 'all';
10
- allowEmpty?: boolean;
11
- placeholder?: string;
12
- dataItemId?: string;
13
- loading?: boolean;
14
- invalid?: boolean;
15
- datasetsDataItems?: {
16
- id: string;
17
- name: {
18
- [key: string]: string;
19
- };
20
- columns: DataItem[];
21
- formulas: DataItem[];
22
- }[];
23
- size?: any;
24
- disabled?: any;
25
- autofocus?: any;
26
- tabIndex?: any;
27
- dataItemSelected: EventEmitter<CustomEvent<any>>;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterDataItemPickerComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterDataItemPickerComponent, "luzmo-filter-data-item-picker", never, { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dataItemId": { "alias": "dataItemId"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "datasetsDataItems": { "alias": "datasetsDataItems"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "dataItemSelected": "dataItemSelected"; }, never, ["*"], true, never>;
30
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FilterGroupComponent {
3
- language?: string;
4
- contentLanguage?: string;
5
- filters?: any[];
6
- size?: any;
7
- disabled?: any;
8
- autofocus?: any;
9
- tabIndex?: any;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterGroupComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterGroupComponent, "luzmo-filter-group", never, { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], true, never>;
12
- }
@@ -1,56 +0,0 @@
1
- import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FilterGroupComponent {
4
- language;
5
- contentLanguage;
6
- filters;
7
- size;
8
- disabled;
9
- autofocus;
10
- tabIndex;
11
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: FilterGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: FilterGroupComponent, isStandalone: true, selector: "luzmo-filter-group", inputs: { language: "language", contentLanguage: "contentLanguage", filters: "filters", size: "size", disabled: "disabled", autofocus: "autofocus", tabIndex: "tabIndex" }, ngImport: i0, template: `<luzmo-filter-group
13
- [attr.language]="language"
14
- [attr.content-language]="contentLanguage"
15
- [attr.filters]="filters"
16
- [attr.size]="size"
17
- [attr.disabled]="disabled"
18
- [attr.autofocus]="autofocus"
19
- [attr.tabIndex]="tabIndex"
20
- >
21
- <ng-content></ng-content>
22
- </luzmo-filter-group>`, isInline: true, dependencies: [{ kind: "component", type: FilterGroupComponent, selector: "luzmo-filter-group", inputs: ["language", "contentLanguage", "filters", "size", "disabled", "autofocus", "tabIndex"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: FilterGroupComponent, decorators: [{
25
- type: Component,
26
- args: [{
27
- selector: 'luzmo-filter-group',
28
- standalone: true,
29
- changeDetection: ChangeDetectionStrategy.OnPush,
30
- template: `<luzmo-filter-group
31
- [attr.language]="language"
32
- [attr.content-language]="contentLanguage"
33
- [attr.filters]="filters"
34
- [attr.size]="size"
35
- [attr.disabled]="disabled"
36
- [attr.autofocus]="autofocus"
37
- [attr.tabIndex]="tabIndex"
38
- >
39
- <ng-content></ng-content>
40
- </luzmo-filter-group>`
41
- }]
42
- }], propDecorators: { language: [{
43
- type: Input
44
- }], contentLanguage: [{
45
- type: Input
46
- }], filters: [{
47
- type: Input
48
- }], size: [{
49
- type: Input
50
- }], disabled: [{
51
- type: Input
52
- }], autofocus: [{
53
- type: Input
54
- }], tabIndex: [{
55
- type: Input
56
- }] } });
@@ -1,20 +0,0 @@
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-DXQwEH1P.cjs"),o=({slots:e})=>{var n,i,r,t;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((i=(n=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="legend"))==null?void 0:n.content)==null?void 0:i.length)>0||((t=(r=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="measure"))==null?void 0:r.content)==null?void 0:t.length)>1:!1},u=({slots:e})=>{var n,i,r,t;return Array.isArray(e)&&(e==null?void 0:e.length)>0?!(((i=(n=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="legend"))==null?void 0:n.content)==null?void 0:i.length)>0)&&((t=(r=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="measure"))==null?void 0:r.content)==null?void 0:t.length)<=1:!0},d=({slots:e})=>{var n,i,r;return Array.isArray(e)&&((r=(i=(n=e==null?void 0:e.find(t=>(t==null?void 0:t.name)==="x-axis"))==null?void 0:n.content)==null?void 0:i[0])==null?void 0:r.type)==="datetime"},p=({options:e,slots:n})=>{var i,r,t,a;return Array.isArray(n)&&((t=(r=(i=n==null?void 0:n.find(c=>(c==null?void 0:c.name)==="x-axis"))==null?void 0:i.content)==null?void 0:r[0])==null?void 0:t.type)==="datetime"&&((a=e==null?void 0:e.missingValue)==null?void 0:a.type)==="manual"},y=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{label:"Title",type:"switch",default:!0}},{type:"divider"},{key:"mode",control:{label:"Mode",type:"picker",default:"stacked",enum:["100","unstacked","stacked","stream"]},visibleIf:o},{key:"interpolation",control:{label:"Interpolation",type:"picker",default:"linear",enum:["linear","step-before","step-after","monotone"]}},{key:"display.legend",control:{label:"Legend",type:"switch",default:!0},visibleIf:o},{key:"display.modeOption",control:{label:"Mode option",type:"switch",default:!0},visibleIf:o},{key:"missingValue.type",control:{label:"Fill missing values",type:"picker",default:"no",enum:["no","break","manual"]},visibleIf:d},{key:"missingValue.value",control:{label:"Value",type:"number-field",default:"no",min:1},visibleIf:p},{key:"color",control:{label:"Area color",type:"color-picker",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:n})=>l.getThemeMainColorResetLabel(e,n,"color"),extraLabelHasClickAction:({options:e,theme:n})=>l.getThemeMainColorExtraLabelHasClickAction(e,n,"color"),extraLabelClickAction:({options:e,theme:n})=>l.getThemeMainColorExtraLabelClickAction(e,n,"color")},visibleIf:u}]},{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=y;
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./helpers-DXQwEH1P.cjs"),l=({slots:e})=>{var r,t,i,a;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((t=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:r.content)==null?void 0:t.length)>0||((a=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:i.content)==null?void 0:a.length)>1:!1},c=({slots:e})=>{var r,t,i,a;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((t=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:r.content)==null?void 0:t.length)===0&&((a=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:i.content)==null?void 0:a.length)<=1:!0},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:l},{type:"divider",visibleIf:l},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:l},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:l},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","absolute","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.roundedCorners",control:{type:"slider",default:({theme:e})=>{var r;return(r=e==null?void 0:e.itemSpecific)==null?void 0:r.rounding},min:0,max:20,step:1,extraLabel:({options:e,theme:r})=>{var t,i;if(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.rounding)=="number")return typeof((i=e==null?void 0:e.bars)==null?void 0:i.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:r})=>{var t,i;return!(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.rounding)!="number"||typeof((i=e==null?void 0:e.bars)==null?void 0:i.roundedCorners)!="number")},extraLabelClickAction:({options:e})=>{var t;const r={...e};return(t=r==null?void 0:r.bars)==null||delete t.roundedCorners,{value:null,options:r}}}},{key:"color",control:{type:"color-picker",label:"Bar color",default:({theme:e})=>o.getThemeMainColor(e),extraLabel:({options:e,theme:r})=>o.getThemeMainColorResetLabel(e,r,"color"),extraLabelHasClickAction:({options:e,theme:r})=>o.getThemeMainColorExtraLabelHasClickAction(e,r,"color"),extraLabelClickAction:({options:e,theme:r})=>o.getThemeMainColorExtraLabelClickAction(e,r,"color")},visibleIf:c}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"topRight",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:l}];exports.default=u;
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./color-palettes-DhNHcib8.cjs"),i=require("./helpers-DXQwEH1P.cjs"),t=({options:e})=>{var l;return((l=e==null?void 0:e.observations)==null?void 0:l.display)===!0},u=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"horizontal",control:{type:"picker",label:"Display",default:"vertical",enum:["vertical","horizontal"],parseValue:e=>e?"horizontal":"vertical",toValue:e=>e==="horizontal"}},{key:"extentTicks",control:{type:"switch",label:"Extent ticks",default:!0}}]},{key:"box",type:"group",open:!0,children:[{key:"boxWidth",control:{type:"slider",label:"Box width",default:.9,min:.1,max:1,step:.1}},{key:"boxFill",control:{type:"color-picker",label:"Box fill",default:({theme:e})=>i.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>i.getThemeMainColorResetLabel(e,l,"boxFill"),extraLabelHasClickAction:({options:e,theme:l})=>i.getThemeMainColorExtraLabelHasClickAction(e,l,"boxFill"),extraLabelClickAction:({options:e,theme:l})=>i.getThemeMainColorExtraLabelClickAction(e,l,"boxFill")}},{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:({theme:e})=>{var l;return((l=e==null?void 0:e.itemSpecific)==null?void 0:l.rounding)??8},min:0,max:24,step:1,extraLabel:({options:e,theme:l})=>{var r;if(typeof((r=l==null?void 0:l.itemSpecific)==null?void 0:r.rounding)=="number")return typeof(e==null?void 0:e.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:l})=>{var r;return!(typeof((r=l==null?void 0:l.itemSpecific)==null?void 0:r.rounding)!="number"||typeof(e==null?void 0:e.roundedCorners)!="number")},extraLabelClickAction:({options:e})=>{const l={...e};return(l==null?void 0:l.roundedCorners)!==void 0&&delete l.roundedCorners,{value:null,options:l}}}},{key:"boxStrokeWidth",control:{type:"slider",label:"Box stroke width",default:1,min:0,max:5,step:.5}},{key:"boxStrokeColor",control:{type:"color-picker",label:"Box stroke color",default:({theme:e})=>i.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>i.getThemeMainColorResetLabel(e,l,"boxStrokeColor"),extraLabelHasClickAction:({options:e,theme:l})=>i.getThemeMainColorExtraLabelHasClickAction(e,l,"boxStrokeColor"),extraLabelClickAction:({options:e,theme:l})=>i.getThemeMainColorExtraLabelClickAction(e,l,"boxStrokeColor")}},{key:"medianStrokeWidth",control:{type:"slider",label:"Median stroke width",default:2,min:0,max:5,step:.5}},{key:"medianStrokeColor",control:{type:"color-picker",label:"Median stroke color",default:"#000000"}}]},{key:"observations",type:"group",open:!0,children:[{key:"observations.display",control:{type:"switch",label:"Show",default:!1}},{key:"observations.onlyOutliers",control:{type:"switch",label:"Only outliers",default:!1},visibleIf:t},{key:"observations.type",control:{type:"picker",label:"Type",default:"dot",enum:["dot","ticks"]},visibleIf:t},{key:"observations.size",control:{type:"slider",label:"Size",default:3,min:1,max:10,step:1},visibleIf:t},{key:"observations.opacity",control:{type:"slider",label:"Opacity",default:.4,min:.1,max:1,step:.1},visibleIf:t},{key:"observations.jitter",control:{type:"slider",label:"Jitter",default:30,min:1,max:100,step:1},visibleIf:t},{key:"observations.colorType",control:{type:"picker",label:"Color mode",default:"single",enum:["single","range"]},visibleIf:t},{key:"observations.color",control:{type:"color-picker",label:"Color",default:({theme:e})=>{var l;return(l=e==null?void 0:e.colors)==null?void 0:l[1]},extraLabel:({options:e,theme:l})=>{var r,o,a,s;if((r=l==null?void 0:l.colors)!=null&&r[1]&&((o=e.observations)!=null&&o.color)&&((a=e.observations)==null?void 0:a.color)!==((s=l==null?void 0:l.colors)==null?void 0:s[1]))return"reset"},extraLabelHasClickAction:({options:e,theme:l})=>{var r,o,a;return!!((r=l==null?void 0:l.colors)!=null&&r[1]&&((o=e.observations)==null?void 0:o.color)!==((a=l==null?void 0:l.colors)==null?void 0:a[1]))},extraLabelClickAction:({options:e,theme:l})=>{var o;const r={...e};return r.observations.color=(o=l==null?void 0:l.colors)==null?void 0:o[1],{value:r.observations.color,options:r}}},visibleIf:({options:e})=>{var l;return t({options:e})&&((l=e==null?void 0:e.observations)==null?void 0:l.colorType)==="single"}},{key:"observations.colorsType",control:{type:"picker",label:"Colors type",default:"divergent",enum:["sequential","divergent"],calculateValue:({options:e})=>{var o,a,s;if(((o=e==null?void 0:e.observations)==null?void 0:o.colorsClass)==="manual")return"manual";const l=c.getColorMaps();return((s=l==null?void 0:l[(a=e==null?void 0:e.observations)==null?void 0:a.colorsClass])==null?void 0:s.type)??"divergent"},toOptions:({options:e,value:l})=>{var s,n,b;if(l==="manual")return{...e,observations:{...e.observations,colorsType:"manual",colorsClass:"manual"}};let r=(s=e.observations)==null?void 0:s.colorClass;const o=c.getColorMaps(),a=(b=o==null?void 0:o[(n=e==null?void 0:e.observations)==null?void 0:n.colorsClass])==null?void 0:b.type;return l!==a&&(r=c.getColorMapKeys(l??"divergent")[0]),{...e,observations:{...e.observations,colorsClass:r,colorsType:l}}}},visibleIf:({options:e})=>{var l;return t({options:e})&&((l=e==null?void 0:e.observations)==null?void 0:l.colorType)==="range"}},{key:"observations.colorsClass",control:{type:"color-palette-picker",label:"Color palette",hideLabel:!0,default:({options:e})=>{var o,a;const l=c.getColorMaps(),r=(a=l==null?void 0:l[(o=e==null?void 0:e.observations)==null?void 0:o.colorsClass])==null?void 0:a.type;return c.getColorMapKeys(r??"divergent")[0]},enum:({options:e})=>{var o,a;const l=c.getColorMaps(),r=(a=l==null?void 0:l[(o=e==null?void 0:e.observations)==null?void 0:o.colorsClass])==null?void 0:a.type;return c.getColorMapKeys(r??"divergent")}},visibleIf:({options:e})=>{var l,r;return t({options:e})&&((l=e==null?void 0:e.observations)==null?void 0:l.colorType)==="range"&&((r=e==null?void 0:e.observations)==null?void 0:r.colorsClass)!=="manual"}}]}];exports.default=u;
@@ -1,20 +0,0 @@
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;
@@ -1,20 +0,0 @@
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";const r=require("@luzmo/icons"),u={"array[hierarchy]":{s:r.luzmoTypeArrayHierarchy12,m:r.luzmoTypeArrayHierarchy14,l:r.luzmoTypeArrayHierarchy,xl:r.luzmoTypeArrayHierarchy},"array[datetime]":{s:r.luzmoTypeArrayDatetime12,m:r.luzmoTypeArrayDatetime14,l:r.luzmoTypeArrayDatetime,xl:r.luzmoTypeArrayDatetime},"array[numeric]":{s:r.luzmoTypeArrayNumeric12,m:r.luzmoTypeArrayNumeric14,l:r.luzmoTypeArrayNumeric,xl:r.luzmoTypeArrayNumeric},"array[currency]":{s:r.luzmoTypeArrayCurrency12,m:r.luzmoTypeArrayCurrency14,l:r.luzmoTypeArrayCurrency,xl:r.luzmoTypeArrayCurrency},"array[duration]":{s:r.luzmoTypeArrayDuration12,m:r.luzmoTypeArrayDuration14,l:r.luzmoTypeArrayDuration,xl:r.luzmoTypeArrayDuration},coordinates:{s:r.luzmoTypeCoordinates12,m:r.luzmoTypeCoordinates14,l:r.luzmoTypeCoordinates,xl:r.luzmoTypeCoordinates},currency:{s:r.luzmoTypeCurrency12,m:r.luzmoTypeCurrency14,l:r.luzmoTypeCurrency,xl:r.luzmoTypeCurrency},date:{s:r.luzmoTypeDate12,m:r.luzmoTypeDate14,l:r.luzmoTypeDate,xl:r.luzmoTypeDate},datetime:{s:r.luzmoTypeDatetime12,m:r.luzmoTypeDatetime14,l:r.luzmoTypeDatetime,xl:r.luzmoTypeDatetime},derived:{s:r.luzmoTypeDerived12,m:r.luzmoTypeDerived14,l:r.luzmoTypeDerived,xl:r.luzmoTypeDerived},duration:{s:r.luzmoTypeDuration12,m:r.luzmoTypeDuration14,l:r.luzmoTypeDuration,xl:r.luzmoTypeDuration},hierarchy:{s:r.luzmoTypeHierarchy12,m:r.luzmoTypeHierarchy14,l:r.luzmoTypeHierarchy,xl:r.luzmoTypeHierarchy},image:{s:r.luzmoTypeImage12,m:r.luzmoTypeImage14,l:r.luzmoTypeImage,xl:r.luzmoTypeImage},numeric:{s:r.luzmoTypeNumeric12,m:r.luzmoTypeNumeric14,l:r.luzmoTypeNumeric,xl:r.luzmoTypeNumeric},topography:{s:r.luzmoTypeTopography,m:r.luzmoTypeTopography,l:r.luzmoTypeTopography,xl:r.luzmoTypeTopography},ipaddress:{s:r.luzmoTypeIpAddress12,m:r.luzmoTypeIpAddress14,l:r.luzmoTypeIpAddress,xl:r.luzmoTypeIpAddress},formula:{s:r.luzmoFormula,m:r.luzmoFormula,l:r.luzmoFormula,xl:r.luzmoFormula}},i={xxs:"s",xs:"s",s:"s",m:"m",l:"l",xl:"xl",xxl:"xl"},o=e=>e?i[e]:"m",p=(e,y="m")=>{const l=o(y);return(e==null?void 0:e.type)==="array[hierarchy]"?u["array[hierarchy]"][l]:(e==null?void 0:e.type)==="array[datetime]"?u["array[datetime]"][l]:(e==null?void 0:e.type)==="array[numeric]"?(e==null?void 0:e.subtype)==="currency"?u["array[currency]"][l]:(e==null?void 0:e.subtype)==="duration"?u["array[duration]"][l]:u["array[numeric]"][l]:(e==null?void 0:e.type)==="spatial"?(e==null?void 0:e.subtype)==="topography"?u.topography[l]:u.coordinates[l]:(e==null?void 0:e.type)==="numeric"?(e==null?void 0:e.subtype)==="currency"?u.currency[l]:(e==null?void 0:e.subtype)==="duration"?u.duration[l]:u.numeric[l]:(e==null?void 0:e.type)==="datetime"?e!=null&&e.lowestLevel&&(e==null?void 0:e.lowestLevel)>5&&(e==null?void 0:e.lowestLevel)<=9?u.datetime[l]:e!=null&&e.lowestLevel&&(e==null?void 0:e.lowestLevel)>1&&(e==null?void 0:e.lowestLevel)<=5?u.date[l]:u.datetime[l]:(e==null?void 0:e.type)==="hierarchy"&&(e==null?void 0:e.subtype)==="ip_address"?u.ipaddress[l]:(e==null?void 0:e.type)==="hierarchy"&&(e==null?void 0:e.subtype)==="hierarchy_element_expression"?u.image[l]:u.hierarchy[l]},n=(e,y="m")=>{if(!e)return;const l=o(y),m=typeof e.expression=="string"?e.expression.trim().length>0:e.expression!=null;if(e.formulaId!=null)return u.formula[l];if(e.formulaId==null&&e.columnId!=null&&m)return u.derived[l]};exports.calculateDataItemIcon=p;exports.calculateDataItemSecondaryIcon=n;
@@ -1,147 +0,0 @@
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 m, luzmoTypeArrayHierarchy14 as C, luzmoTypeArrayHierarchy12 as b, luzmoTypeArrayDatetime as i, luzmoTypeArrayDatetime14 as N, luzmoTypeArrayDatetime12 as w, luzmoTypeArrayCurrency as n, luzmoTypeArrayCurrency14 as H, luzmoTypeArrayCurrency12 as L, luzmoTypeArrayDuration as p, luzmoTypeArrayDuration14 as S, luzmoTypeArrayDuration12 as E, luzmoTypeArrayNumeric as s, luzmoTypeArrayNumeric14 as _, luzmoTypeArrayNumeric12 as B, luzmoTypeTopography as y, luzmoTypeCoordinates as c, luzmoTypeCoordinates14 as F, luzmoTypeCoordinates12 as j, luzmoTypeCurrency as z, luzmoTypeCurrency14 as k, luzmoTypeCurrency12 as q, luzmoTypeDuration as T, luzmoTypeDuration14 as G, luzmoTypeDuration12 as J, luzmoTypeNumeric as x, luzmoTypeNumeric14 as K, luzmoTypeNumeric12 as M, luzmoTypeDatetime as h, luzmoTypeDatetime14 as O, luzmoTypeDatetime12 as P, luzmoTypeDate as f, luzmoTypeDate14 as Q, luzmoTypeDate12 as R, luzmoTypeIpAddress as D, luzmoTypeIpAddress14 as U, luzmoTypeIpAddress12 as V, luzmoTypeImage as A, luzmoTypeImage14 as W, luzmoTypeImage12 as X, luzmoTypeHierarchy as I, luzmoTypeHierarchy14 as Y, luzmoTypeHierarchy12 as Z, luzmoFormula as u, luzmoTypeDerived as g, luzmoTypeDerived14 as $, luzmoTypeDerived12 as d } from "@luzmo/icons";
21
- const l = {
22
- "array[hierarchy]": {
23
- s: b,
24
- m: C,
25
- l: m,
26
- xl: m
27
- },
28
- "array[datetime]": {
29
- s: w,
30
- m: N,
31
- l: i,
32
- xl: i
33
- },
34
- "array[numeric]": {
35
- s: B,
36
- m: _,
37
- l: s,
38
- xl: s
39
- },
40
- "array[currency]": {
41
- s: L,
42
- m: H,
43
- l: n,
44
- xl: n
45
- },
46
- "array[duration]": {
47
- s: E,
48
- m: S,
49
- l: p,
50
- xl: p
51
- },
52
- coordinates: {
53
- s: j,
54
- m: F,
55
- l: c,
56
- xl: c
57
- },
58
- currency: {
59
- s: q,
60
- m: k,
61
- l: z,
62
- xl: z
63
- },
64
- date: {
65
- s: R,
66
- m: Q,
67
- l: f,
68
- xl: f
69
- },
70
- datetime: {
71
- s: P,
72
- m: O,
73
- l: h,
74
- xl: h
75
- },
76
- derived: {
77
- s: d,
78
- m: $,
79
- l: g,
80
- xl: g
81
- },
82
- duration: {
83
- s: J,
84
- m: G,
85
- l: T,
86
- xl: T
87
- },
88
- hierarchy: {
89
- s: Z,
90
- m: Y,
91
- l: I,
92
- xl: I
93
- },
94
- image: {
95
- s: X,
96
- m: W,
97
- l: A,
98
- xl: A
99
- },
100
- numeric: {
101
- s: M,
102
- m: K,
103
- l: x,
104
- xl: x
105
- },
106
- topography: {
107
- s: y,
108
- m: y,
109
- l: y,
110
- xl: y
111
- },
112
- ipaddress: {
113
- s: V,
114
- m: U,
115
- l: D,
116
- xl: D
117
- },
118
- formula: {
119
- s: u,
120
- m: u,
121
- l: u,
122
- xl: u
123
- }
124
- }, a = {
125
- xxs: "s",
126
- xs: "s",
127
- s: "s",
128
- m: "m",
129
- l: "l",
130
- xl: "xl",
131
- xxl: "xl"
132
- }, v = (e) => e ? a[e] : "m", re = (e, o = "m") => {
133
- const r = v(o);
134
- return (e == null ? void 0 : e.type) === "array[hierarchy]" ? l["array[hierarchy]"][r] : (e == null ? void 0 : e.type) === "array[datetime]" ? l["array[datetime]"][r] : (e == null ? void 0 : e.type) === "array[numeric]" ? (e == null ? void 0 : e.subtype) === "currency" ? l["array[currency]"][r] : (e == null ? void 0 : e.subtype) === "duration" ? l["array[duration]"][r] : l["array[numeric]"][r] : (e == null ? void 0 : e.type) === "spatial" ? (e == null ? void 0 : e.subtype) === "topography" ? l.topography[r] : l.coordinates[r] : (e == null ? void 0 : e.type) === "numeric" ? (e == null ? void 0 : e.subtype) === "currency" ? l.currency[r] : (e == null ? void 0 : e.subtype) === "duration" ? l.duration[r] : l.numeric[r] : (e == null ? void 0 : e.type) === "datetime" ? e != null && e.lowestLevel && (e == null ? void 0 : e.lowestLevel) > 5 && (e == null ? void 0 : e.lowestLevel) <= 9 ? l.datetime[r] : e != null && e.lowestLevel && (e == null ? void 0 : e.lowestLevel) > 1 && (e == null ? void 0 : e.lowestLevel) <= 5 ? l.date[r] : l.datetime[r] : (e == null ? void 0 : e.type) === "hierarchy" && (e == null ? void 0 : e.subtype) === "ip_address" ? l.ipaddress[r] : (e == null ? void 0 : e.type) === "hierarchy" && (e == null ? void 0 : e.subtype) === "hierarchy_element_expression" ? l.image[r] : l.hierarchy[r];
135
- }, le = (e, o = "m") => {
136
- if (!e)
137
- return;
138
- const r = v(o), t = typeof e.expression == "string" ? e.expression.trim().length > 0 : e.expression != null;
139
- if (e.formulaId != null)
140
- return l.formula[r];
141
- if (e.formulaId == null && e.columnId != null && t)
142
- return l.derived[r];
143
- };
144
- export {
145
- le as a,
146
- re as c
147
- };
@@ -1,20 +0,0 @@
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 s=require("./color-palettes-DhNHcib8.cjs"),f=require("./index-DhDgy1sp.cjs"),u=require("./color-range-utils-C5yXW7ZC.cjs"),V=[{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}}]},{key:"map",type:"group",open:!0,children:[{key:"enabled.zoom",control:{type:"switch",label:"Zoom",default:!0}},{key:"enabled.pan",control:{type:"switch",label:"Pan",default:!0}},{key:"enabled.pitchBearing",control:{type:"switch",label:"Pitch & Rotate",tooltip:"Use ctrl + drag",default:!1}},{type:"divider"},{key:"vectorTileProvider",control:{type:"picker",label:"Map style",default:"Basic",enum:["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets","Toner","Topographique","Voyager","3D buildings"],parseValue:e=>(e==null?void 0:e.name)||"Basic",toValue:e=>f.mapVectorTileProviders[e]??{}}}]},{key:"colors",type:"group",open:!0,children:[{key:"opacity",control:{type:"slider",label:"Opacity",default:.85,min:.2,max:1,step:.01}},{key:"colorsClassType",control:{type:"picker",label:"Colors type",default:"sequential",enum:["sequential","divergent","manual"],calculateValue:({options:e})=>{var r;if((e==null?void 0:e.colorsClass)==="manual")return"manual";const a=s.getColorMaps();return((r=a==null?void 0:a[e==null?void 0:e.colorsClass])==null?void 0:r.type)??"sequential"},toOptions:({options:e,value:a})=>{var y,d,b;const l=(e==null?void 0:e.colorsClass)??"PuBu",r=(e==null?void 0:e.numberClasses)??5,c=u.toRangesWithValue((y=e==null?void 0:e.manualValues)==null?void 0:y.ranges),t=l==="manual"?"manual":l;let n;if(a==="manual")n="manual";else{const m=s.getColorMaps(),C=(d=m==null?void 0:m[e==null?void 0:e.colorsClass])==null?void 0:d.type;a!==C&&(n=s.getColorMapKeys(a??"sequential")[0])}const g={...e,colorsClass:n};if(a==="manual"||(e==null?void 0:e.classification)==="manual"){const m=u.calculateManualRanges(r,a==="manual"?t:n,c);g.manualValues={...g.manualValues,ranges:u.toRangesWithVal(m)}}else(b=g==null?void 0:g.manualValues)==null||delete b.ranges;return g}}},{key:"colorsClass",control:{type:"color-palette-picker",label:"Color palette",hideLabel:!0,default:({options:e})=>{var r;const a=s.getColorMaps(),l=(r=a==null?void 0:a[e==null?void 0:e.colorsClass])==null?void 0:r.type;return s.getColorMapKeys(l??"sequential")[0]},enum:({options:e})=>{var r;const a=s.getColorMaps(),l=(r=a==null?void 0:a[e==null?void 0:e.colorsClass])==null?void 0:r.type;return s.getColorMapKeys(l??"sequential")},toOptions:({options:e,value:a})=>{var r,c;const l={...e,colorsClass:a};if((e==null?void 0:e.classification)==="manual"){const t=(r=s.getColorMaps()[a])==null?void 0:r[`colors${(e==null?void 0:e.numberClasses)??5}`];l.manualValues={...l.manualValues,ranges:(c=e==null?void 0:e.manualValues)==null?void 0:c.ranges.map(n=>({...n,color:t==null?void 0:t[n.val]}))}}return l}},visibleIf:({options:e})=>(e==null?void 0:e.colorsClass)!=="manual"},{key:"manualValues.ranges",control:{type:"color-range",editRangeSize:!1,debounce:500,noValues:!0,noAlphaChannel:!0,label:"Manual range colors",hideLabel:!0},calculateValue:({options:e})=>{var a;return u.calculateManualRanges(e==null?void 0:e.numberClasses,e==null?void 0:e.colorsClass,u.toRangesWithValue((a=e==null?void 0:e.manualValues)==null?void 0:a.ranges))},toOptions:({options:e,value:a})=>({...e,manualValues:{...e.manualValues,ranges:u.toRangesWithVal(a)}}),visibleIf:({options:e})=>(e==null?void 0:e.colorsClass)==="manual"}]},{key:"classification",type:"group",open:!0,children:[{key:"numberClasses",control:{type:"picker",label:"Number of classes",default:"5",enum:["3","4","5","6","7","8","9"],parseValue:e=>(e==null?void 0:e.toString())??"5",toOptions:({options:e,value:a})=>{var r;a=Number.parseInt(a,10)??5;const l={...e,numberClasses:a};if((e==null?void 0:e.classification)==="manual"||(e==null?void 0:e.colorsClass)==="manual"){const c=u.calculateManualRanges(a,e==null?void 0:e.colorsClass,u.toRangesWithValue((r=e==null?void 0:e.manualValues)==null?void 0:r.ranges));l.manualValues={...l.manualValues,ranges:u.toRangesWithVal(c)}}return l}}},{key:"classification",control:{type:"picker",label:"Method",default:"interval",enum:["interval","manual","quantile","continuous"],toOptions:({options:e,value:a})=>{var r,c;const l={...e,classification:a};if(a==="manual"||(e==null?void 0:e.colorsClass)==="manual"){const t=u.calculateManualRanges(e==null?void 0:e.numberClasses,e==null?void 0:e.colorsClass,u.toRangesWithValue((r=e==null?void 0:e.manualValues)==null?void 0:r.ranges));l.manualValues={...l.manualValues,ranges:u.toRangesWithVal(t)}}else(c=l==null?void 0:l.manualValues)==null||delete c.ranges;return l}}},{key:"manualValues.rangesValues",control:{type:"color-range",editRangeSize:!1,debounce:500,noValues:!1,readOnlyColorPicker:!0,label:"Manual range values",hideLabel:!0,calculateValue:({options:e})=>{var a;return u.calculateManualRanges(e==null?void 0:e.numberClasses,e==null?void 0:e.colorsClass,u.toRangesWithValue((a=e==null?void 0:e.manualValues)==null?void 0:a.ranges))},toOptions:({options:e,value:a})=>({...e,manualValues:{...e.manualValues,ranges:u.toRangesWithVal(a)}})},visibleIf:({options:e})=>(e==null?void 0:e.classification)==="manual"}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.type",control:{type:"picker",label:"Type",default:"bar",enum:["bar","list"]}},{key:"legend.size",control:{type:"radio-button-group",label:"Size",default:"M",enum:["S","M","L"]}},{key:"legend.position",control:{type:"position-picker",label:"Position",default:"bottomLeft",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:({options:e})=>{var a;return((a=e==null?void 0:e.display)==null?void 0:a.legend)===!0}}];exports.default=V;
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./helpers-DXQwEH1P.cjs"),n=()=>[{color:"#ff0000",value:0},{color:"#ffa500",value:33.34},{color:"#ffff00",value:66.67},{color:"#008000",value:100}],o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.gaugeValue",control:{type:"switch",label:"Value",default:!0}},{key:"mode",control:{type:"picker",label:"Display",default:"normal",enum:["normal","percentage","difference"]}},{key:"display.gaugeLabel",control:{type:"switch",label:"Label",default:!0}},{type:"divider"},{key:"conditionalColor",control:{type:"switch",label:"Conditional color",default:!1,calculateValue:({options:e})=>{var l,r;return((r=(l=e==null?void 0:e.manualValues)==null?void 0:l.conditional)==null?void 0:r.length)>0},toOptions:({options:e,value:l})=>{var t,u,i;const r={...e},a=((u=(t=e==null?void 0:e.manualValues)==null?void 0:t.conditional)==null?void 0:u.length)>0;return l?a||(r.manualValues={...r==null?void 0:r.manualValues,conditional:n()}):(i=r==null?void 0:r.manualValues)==null||delete i.conditional,r}}},{key:"circle.color",control:{type:"color-picker",label:"Arc color",default:({theme:e})=>c.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>c.getThemeMainColorResetLabel(e,l,"circle.color"),extraLabelHasClickAction:({options:e,theme:l})=>c.getThemeMainColorExtraLabelHasClickAction(e,l,"circle.color"),extraLabelClickAction:({options:e,theme:l})=>c.getThemeMainColorExtraLabelClickAction(e,l,"circle.color")},visibleIf:({options:e})=>{var l,r,a;return!((l=e==null?void 0:e.manualValues)!=null&&l.conditional)||((a=(r=e==null?void 0:e.manualValues)==null?void 0:r.conditional)==null?void 0:a.length)===0}},{key:"manualValues.conditional",control:{type:"color-range",editRangeSize:!0,minimumRangeSize:2,percentage:!0,noAlphaChannel:!0,label:"Color ranges",hideLabel:!0,default:()=>n(),parseValue:e=>e==null?void 0:e.map(l=>({color:l==null?void 0:l.color,value:(l==null?void 0:l.value)??(l==null?void 0:l.val)})),toValue:e=>e==null?void 0:e.map(r=>({color:r==null?void 0:r.color,val:r==null?void 0:r.value}))},visibleIf:({options:e})=>{var l,r;return((r=(l=e==null?void 0:e.manualValues)==null?void 0:l.conditional)==null?void 0:r.length)>0}},{key:"circle.width",control:{type:"slider",label:"Arc width",default:10,min:1,max:30,step:1}}]},{key:"layout",type:"group",open:!0,children:[{key:"circle.degrees",control:{type:"picker",label:"Arc size",default:"full circle",enum:["full circle","3/4 circle","2/3 circle","1/2 circle"],parseValue:e=>e===360?"full circle":e===270?"3/4 circle":e===240?"2/3 circle":e===180?"1/2 circle":"full circle",toValue:e=>e==="full circle"?360:e==="3/4 circle"?270:e==="2/3 circle"?240:e==="1/2 circle"?180:360}},{key:"circle.flip",control:{type:"switch",label:"Flip arc",default:!0},visibleIf:({options:e})=>{var l,r;return((l=e==null?void 0:e.circle)==null?void 0:l.degrees)&&((r=e==null?void 0:e.circle)==null?void 0:r.degrees)!==360}},{key:"circle.lineCap",control:{type:"switch",label:"Rounded ends",default:!0,parseValue:e=>e!=="butt",toValue:e=>e?"round":"butt"}}]}];exports.default=o;