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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/angular/README.md +2 -2
  2. package/angular/components/ai-interaction-textarea.component.ts +8 -0
  3. package/angular/components/{filter-data-item-picker.component.ts → data-items-select.component.ts} +34 -17
  4. package/angular/components/edit-filters/index.ts +1 -0
  5. package/angular/components/edit-filters/types.ts +10 -0
  6. package/angular/components/edit-filters.component.ts +41 -0
  7. package/angular/components/slot-contents-picker.component.ts +8 -6
  8. package/angular/esm/components/ai-interaction-textarea.component.d.ts +5 -1
  9. package/angular/esm/components/ai-interaction-textarea.component.js +22 -2
  10. package/angular/esm/components/data-items-select.component.d.ts +33 -0
  11. package/angular/esm/components/{filter-data-item-picker.component.js → data-items-select.component.js} +41 -26
  12. package/angular/esm/components/edit-filters/index.d.ts +1 -0
  13. package/angular/esm/components/edit-filters/index.js +1 -0
  14. package/angular/esm/components/edit-filters/types.d.ts +8 -0
  15. package/angular/esm/components/edit-filters/types.js +1 -0
  16. package/angular/esm/components/edit-filters.component.d.ts +21 -0
  17. package/angular/esm/components/edit-filters.component.js +89 -0
  18. package/angular/esm/components/slot-contents-picker.component.d.ts +7 -6
  19. package/angular/esm/components/slot-contents-picker.component.js +11 -6
  20. package/angular/esm/index.d.ts +5 -5
  21. package/angular/esm/index.js +6 -6
  22. package/angular/esm/types.d.ts +9 -0
  23. package/angular/index.ts +6 -6
  24. package/angular/types.ts +17 -0
  25. package/angular/utils/filters/expressions.d.ts +1 -1
  26. package/components/ai-chat-message-assistant/index.cjs +1 -1
  27. package/components/ai-chat-message-assistant/index.js +0 -1
  28. package/components/ai-chat-messages-container/index.cjs +1 -1
  29. package/components/ai-chat-messages-container/index.js +2 -2
  30. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +21 -0
  31. package/components/ai-interaction-textarea/index.cjs +17 -15
  32. package/components/ai-interaction-textarea/index.js +91 -67
  33. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  34. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  35. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  36. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  37. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  38. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  39. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  40. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  41. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  42. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  43. package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
  44. package/components/calculate-data-item-icon-DtVGbet3.cjs +20 -0
  45. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  46. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  47. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  48. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  49. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  50. package/components/color-Czp4Im5q.cjs +20 -0
  51. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  52. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  53. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  54. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  55. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  56. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  57. package/components/{filter-data-item-picker/filter-data-item-picker.d.ts → data-items-select/data-items-select.d.ts} +36 -21
  58. package/components/data-items-select/index.cjs +39 -0
  59. package/components/data-items-select/index.d.ts +6 -0
  60. package/components/data-items-select/index.js +209 -0
  61. package/components/dataset-icon/index.cjs +1 -1
  62. package/components/dataset-icon/index.js +1 -2
  63. package/components/dataset-selector-list/index.cjs +1 -1
  64. package/components/dataset-selector-list/index.js +32 -35
  65. package/components/dataset-selector-row/index.cjs +9 -9
  66. package/components/dataset-selector-row/index.js +50 -52
  67. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  68. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  69. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  70. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  71. package/components/{de-COKGBX9L.cjs → de-DOYL4txr.cjs} +1 -1
  72. package/components/{de-DU0DlXuf.js → de-SDzGVifr.js} +10 -1
  73. package/components/display-settings/index.cjs +1 -1
  74. package/components/display-settings/index.js +1 -1
  75. package/components/display-settings-binning/index.cjs +5 -5
  76. package/components/display-settings-binning/index.js +29 -30
  77. package/components/display-settings-datetime/index.cjs +29 -29
  78. package/components/display-settings-datetime/index.js +112 -120
  79. package/components/display-settings-grand-totals/index.cjs +4 -4
  80. package/components/display-settings-grand-totals/index.js +23 -24
  81. package/components/display-settings-numeric/index.cjs +48 -48
  82. package/components/display-settings-numeric/index.js +190 -206
  83. package/components/display-settings-period-over-period/index.cjs +16 -16
  84. package/components/display-settings-period-over-period/index.js +91 -97
  85. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  86. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  87. package/components/draggable-data-item/index.cjs +5 -5
  88. package/components/draggable-data-item/index.js +45 -46
  89. package/components/draggable-data-item-level/index.cjs +11 -11
  90. package/components/draggable-data-item-level/index.js +70 -73
  91. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  92. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  93. package/components/droppable-slot/index.cjs +16 -16
  94. package/components/droppable-slot/index.js +174 -265
  95. package/components/edit-filters/edit-filters.d.ts +79 -0
  96. package/components/edit-filters/index.cjs +144 -0
  97. package/components/edit-filters/index.d.ts +8 -0
  98. package/components/edit-filters/index.js +341 -0
  99. package/components/edit-filters/types.d.ts +8 -0
  100. package/components/edit-item/index.cjs +9 -9
  101. package/components/edit-item/index.js +116 -119
  102. package/components/edit-option/index.cjs +1 -1
  103. package/components/edit-option/index.js +1 -1
  104. package/components/edit-option-action-button-group/index.cjs +8 -8
  105. package/components/edit-option-action-button-group/index.js +52 -53
  106. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  107. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
  108. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  109. package/components/edit-option-color-palette-picker/index.js +1 -1
  110. package/components/edit-option-color-picker/index.cjs +1 -1
  111. package/components/edit-option-color-picker/index.js +1 -1
  112. package/components/edit-option-color-range/index.cjs +19 -19
  113. package/components/edit-option-color-range/index.js +106 -117
  114. package/components/edit-option-multi-language-field/index.cjs +3 -3
  115. package/components/edit-option-multi-language-field/index.js +26 -27
  116. package/components/edit-option-number-field/index.cjs +1 -1
  117. package/components/edit-option-number-field/index.js +1 -1
  118. package/components/edit-option-picker/index.cjs +5 -5
  119. package/components/edit-option-picker/index.js +7 -7
  120. package/components/edit-option-position-picker/index.cjs +4 -4
  121. package/components/edit-option-position-picker/index.js +21 -25
  122. package/components/edit-option-positions-number-field/index.cjs +9 -9
  123. package/components/edit-option-positions-number-field/index.js +76 -81
  124. package/components/edit-option-radio-button-group/index.cjs +6 -6
  125. package/components/edit-option-radio-button-group/index.js +21 -22
  126. package/components/edit-option-slider/index.cjs +1 -1
  127. package/components/edit-option-slider/index.js +1 -1
  128. package/components/edit-option-switch/index.cjs +1 -1
  129. package/components/edit-option-switch/index.js +1 -1
  130. package/components/edit-option-text-field/index.cjs +2 -2
  131. package/components/edit-option-text-field/index.js +22 -23
  132. package/components/en-D3ihEGXg.js +1483 -0
  133. package/components/en-DZcn_iz_.cjs +20 -0
  134. package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
  135. package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
  136. package/components/{es-BxR1uGKR.js → es-B1TeapPZ.js} +10 -1
  137. package/components/{es-CaKfa7fn.cjs → es-DcQvrHgz.cjs} +1 -1
  138. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  139. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  140. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  141. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  142. package/components/filter-expression-picker/index.cjs +1 -1
  143. package/components/filter-expression-picker/index.js +1 -1
  144. package/components/filter-item/filter-item.d.ts +1 -1
  145. package/components/filter-item/index.cjs +9 -7
  146. package/components/filter-item/index.js +123 -123
  147. package/components/filter-value-picker/index.cjs +2 -2
  148. package/components/filter-value-picker/index.js +34 -36
  149. package/components/filter-value-picker-datetime/index.cjs +8 -8
  150. package/components/filter-value-picker-datetime/index.js +56 -71
  151. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  152. package/components/filter-value-picker-hierarchy/index.js +113 -124
  153. package/components/filter-value-picker-numeric/index.cjs +9 -8
  154. package/components/filter-value-picker-numeric/index.js +102 -110
  155. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  156. package/components/focusable-QLh-LlNt.cjs +20 -0
  157. package/components/{fr-DiZbjx_a.cjs → fr-D6QmA3Ve.cjs} +1 -1
  158. package/components/{fr-CvltYxR_.js → fr-sZFBmltf.js} +10 -1
  159. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  160. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  161. package/components/get-css-variable-C0B_Sxqf.cjs +24 -0
  162. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-DgTBQV3c.js} +39 -38
  163. package/components/grid/index.cjs +43 -49
  164. package/components/grid/index.js +2610 -1878
  165. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  166. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  167. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  168. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  169. package/components/helpers-9I0oLoUB.cjs +20 -0
  170. package/components/helpers-bR8Ibjqh.js +79 -0
  171. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  172. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  173. package/components/index-BekTY3Em.cjs +121 -0
  174. package/components/index-BikhVAa1.js +1755 -0
  175. package/components/index-CAbDIHYI.cjs +20 -0
  176. package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
  177. package/components/{index-BPNsFiyq.cjs → index-DM58h73U.cjs} +4 -4
  178. package/components/{index-D0GBF6tg.js → index-DR5275fa.js} +122 -102
  179. package/components/index-DvkzMbLt.cjs +249 -0
  180. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  181. package/components/index.cjs +1 -1
  182. package/components/index.js +105 -106
  183. package/components/item-options-configs.cjs +1 -1
  184. package/components/item-options-configs.js +37 -37
  185. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  186. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  187. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  188. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  189. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  190. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  191. package/components/{nl-CLs7FmRK.js → nl-BYXZ-qNp.js} +10 -1
  192. package/components/{nl-Bot6bJ4g.cjs → nl-D7oNsLn0.cjs} +1 -1
  193. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  194. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  195. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  196. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  197. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  198. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  199. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  200. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  201. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  202. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  203. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  204. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  205. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  206. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  207. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  208. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  209. package/components/{set-locale-Dp3N_gXN.js → set-locale-B5562CBM.js} +2 -9
  210. package/components/{set-locale-BRRalqne.cjs → set-locale-B8iQGfk0.cjs} +1 -1
  211. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  212. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  213. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  214. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  215. package/components/slot-contents-picker/index.cjs +35 -31
  216. package/components/slot-contents-picker/index.js +202 -200
  217. package/components/slot-contents-picker/slot-contents-picker.d.ts +26 -5
  218. package/components/slot-menu/index.cjs +12 -12
  219. package/components/slot-menu/index.js +189 -202
  220. package/components/slot-menu-list/index.cjs +3 -3
  221. package/components/slot-menu-list/index.js +97 -103
  222. package/components/slot-store-CRfN0nD3.js +98 -0
  223. package/components/slot-store-Dd_cPNXk.cjs +20 -0
  224. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  225. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  226. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  227. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  228. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  229. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  230. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  231. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  232. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  233. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  234. package/components/utils.cjs +1 -1
  235. package/components/utils.js +94 -97
  236. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  237. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  238. package/components/viz-item-menu/index.cjs +5 -5
  239. package/components/viz-item-menu/index.js +26 -28
  240. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  241. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  242. package/custom-elements.json +1936 -1625
  243. package/index.d.ts +1 -1
  244. package/package.json +12 -12
  245. package/types.d.ts +9 -0
  246. package/utils/filters/expressions.d.ts +1 -1
  247. package/angular/components/filter-group.component.ts +0 -29
  248. package/angular/esm/components/filter-data-item-picker.component.d.ts +0 -30
  249. package/angular/esm/components/filter-group.component.d.ts +0 -12
  250. package/angular/esm/components/filter-group.component.js +0 -56
  251. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  252. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  253. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  254. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  255. package/components/calculate-data-item-icon-CEa82-5u.cjs +0 -20
  256. package/components/calculate-data-item-icon-DjlZwMdO.js +0 -147
  257. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  258. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  259. package/components/color-B6LaL8qz.cjs +0 -20
  260. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  261. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  262. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  263. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  264. package/components/en-BKBhKBXY.cjs +0 -20
  265. package/components/en-BOTjhwEc.js +0 -1488
  266. package/components/filter-data-item-picker/index.cjs +0 -47
  267. package/components/filter-data-item-picker/index.d.ts +0 -7
  268. package/components/filter-data-item-picker/index.js +0 -192
  269. package/components/filter-group/filter-group.d.ts +0 -26
  270. package/components/filter-group/index.d.ts +0 -7
  271. package/components/focusable-B3E_hQmm.cjs +0 -20
  272. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  273. package/components/get-css-variable-DLiZYZEi.cjs +0 -24
  274. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  275. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  276. package/components/helpers-DXQwEH1P.cjs +0 -20
  277. package/components/helpers-v1bPALRP.js +0 -91
  278. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  279. package/components/index-CDi4fe3N.js +0 -1716
  280. package/components/index-CQ9ck-BO.cjs +0 -249
  281. package/components/index-CXn67vdn.cjs +0 -121
  282. package/components/index-Cz9vSXy6.cjs +0 -20
  283. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  284. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  285. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  286. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  287. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  288. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  289. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  290. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  291. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  292. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  293. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
@@ -17,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 { msg as a, localized as w } from "@lit/localize";
20
+ import { msg as i, localized as $ } from "@lit/localize";
21
21
  import "@luzmo/lucero/action-button";
22
22
  import "@luzmo/lucero/action-group";
23
23
  import "@luzmo/lucero/field-label";
@@ -25,46 +25,46 @@ import "@luzmo/lucero/menu";
25
25
  import "@luzmo/lucero/number-field";
26
26
  import "@luzmo/lucero/picker";
27
27
  import "@luzmo/lucero/popover";
28
- import { d as v } from "../decompose-numeric-format-BuZcjH2k.js";
29
- import { unsafeCSS as S, html as r, nothing as _ } from "lit";
30
- import { luzmoIcon as h, luzmoAngleDown as L, luzmoTypeDerived12 as D } from "@luzmo/icons";
31
- import { removeSlottableRequest as C } from "@luzmo/lucero/overlay";
28
+ import { d as z } from "../decompose-numeric-format-BuZcjH2k.js";
29
+ import { unsafeCSS as w, html as s, nothing as v } from "lit";
30
+ import { luzmoIcon as g, luzmoAngleDown as S, luzmoTypeDerived12 as L } from "@luzmo/icons";
31
+ import { removeSlottableRequest as D } from "@luzmo/lucero/overlay";
32
32
  import "@luzmo/lucero/tooltip";
33
- import { c as N } from "../calculate-data-item-icon-DjlZwMdO.js";
34
- import { l as b } from "../localize-BX7q0S0M.js";
35
- import { property as g, query as d, state as E } from "lit/decorators.js";
36
- import { L as I } from "../focusable-DCIFkpiW.js";
37
- import { S as M, E as k } from "../sized-mixin-cJbo3PKR.js";
38
- import { g as O, t as W, s as T } from "../set-locale-Dp3N_gXN.js";
33
+ import { c as C } from "../calculate-data-item-icon-DMDhKq_m.js";
34
+ import { l as _ } from "../localize-CcDpq940.js";
35
+ import { property as d, query as c, state as N } from "lit/decorators.js";
36
+ import { L as E } from "../focusable-BS2pbY7w.js";
37
+ import { S as I, E as M } from "../sized-mixin-cJbo3PKR.js";
38
+ import { g as k, t as O, s as W } from "../set-locale-B5562CBM.js";
39
39
  (function() {
40
40
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
41
- const e = document.createElement("style");
42
- e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(e);
41
+ const t = document.createElement("style");
42
+ t.setAttribute("data-luzmo-vars", ""), t.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(t);
43
43
  }
44
44
  })();
45
- const q = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-display-settings-vertical-gap, var(--luzmo-spacing-2))}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap, var(--display-settings-numeric-gap))}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start, var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}.dataset-header{max-width:100%;font-weight:600;text-transform:uppercase;margin:.5rem 1rem;color:var(--luzmo-font-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}.no-weight-label{margin-left:1rem}.with-secondary-icon{clip-path:polygon(0 0,60% 0,65% 60%,100% 65%,100% 100%,0 100%)}.secondary-icon{position:absolute;bottom:45%;left:60%;width:auto;font-size:.75em;line-height:1}.data-icon-type{width:1.5rem;text-align:center;position:relative;display:inline-block}:host{--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-2 )}:host([size=s]){--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-1 )}:host([size=l]){--display-settings-numeric-gap: var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-3 )}:host([size=xl]){--display-settings-numeric-gap: var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-4 )}", R = {
46
- sum: () => a("Sum", { desc: "Numeric Aggregation option" }),
47
- cumulativesum: () => a("Cumulative sum", { desc: "Numeric Aggregation option" }),
48
- average: () => a("Average", { desc: "Numeric Aggregation option" }),
49
- median: () => a("Median", { desc: "Numeric Aggregation option" }),
50
- count: () => a("Count rows", { desc: "Numeric Aggregation option" }),
51
- distinctcount: () => a("Count distinct", { desc: "Numeric Aggregation option" }),
52
- min: () => a("Minimum", { desc: "Numeric Aggregation option" }),
53
- max: () => a("Maximum", { desc: "Numeric Aggregation option" }),
54
- stddev: () => a("Standard deviation", { desc: "Numeric Aggregation option" }),
55
- rate: () => a("Rate", { desc: "Numeric Aggregation option" })
56
- }, y = {
45
+ const T = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-display-settings-vertical-gap, var(--luzmo-spacing-2))}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap, var(--display-settings-numeric-gap))}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start, var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}.dataset-header{max-width:100%;font-weight:600;text-transform:uppercase;margin:.5rem 1rem;color:var(--luzmo-font-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}.no-weight-label{margin-left:1rem}.with-secondary-icon{clip-path:polygon(0 0,60% 0,65% 60%,100% 65%,100% 100%,0 100%)}.secondary-icon{position:absolute;bottom:45%;left:60%;width:auto;font-size:.75em;line-height:1}.data-icon-type{width:1.5rem;text-align:center;position:relative;display:inline-block}:host{--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-2 )}:host([size=s]){--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-1 )}:host([size=l]){--display-settings-numeric-gap: var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-3 )}:host([size=xl]){--display-settings-numeric-gap: var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-4 )}", q = {
46
+ sum: () => i("Sum", { desc: "Numeric Aggregation option" }),
47
+ cumulativesum: () => i("Cumulative sum", { desc: "Numeric Aggregation option" }),
48
+ average: () => i("Average", { desc: "Numeric Aggregation option" }),
49
+ median: () => i("Median", { desc: "Numeric Aggregation option" }),
50
+ count: () => i("Count rows", { desc: "Numeric Aggregation option" }),
51
+ distinctcount: () => i("Count distinct", { desc: "Numeric Aggregation option" }),
52
+ min: () => i("Minimum", { desc: "Numeric Aggregation option" }),
53
+ max: () => i("Maximum", { desc: "Numeric Aggregation option" }),
54
+ stddev: () => i("Standard deviation", { desc: "Numeric Aggregation option" }),
55
+ rate: () => i("Rate", { desc: "Numeric Aggregation option" })
56
+ }, b = {
57
57
  general: "123",
58
58
  percentage: "%",
59
59
  scientific: "SI"
60
+ }, y = {
61
+ time: () => i("Time", { desc: "Time format option" }),
62
+ short: () => i("Short", { desc: "Short format option" }),
63
+ long: () => i("Long", { desc: "Long format option" })
60
64
  }, x = {
61
- time: () => a("Time", { desc: "Time format option" }),
62
- short: () => a("Short", { desc: "Short format option" }),
63
- long: () => a("Long", { desc: "Long format option" })
64
- }, A = {
65
65
  Auto: {
66
66
  auto: !0,
67
- label: () => a("Auto", { desc: "Automatic setting of the option" })
67
+ label: () => i("Auto", { desc: "Automatic setting of the option" })
68
68
  },
69
69
  "1,000.00": {
70
70
  auto: !1,
@@ -90,7 +90,7 @@ const q = ":host .settings-container{display:flex;flex-direction:column;gap:var(
90
90
  label: () => "1000,00",
91
91
  decimalSeparator: ","
92
92
  }
93
- }, j = {
93
+ }, R = {
94
94
  levels: [
95
95
  { level: 1, label: "years" },
96
96
  { level: 2, label: "quarters" },
@@ -103,118 +103,112 @@ const q = ":host .settings-container{display:flex;flex-direction:column;gap:var(
103
103
  { level: 9, label: "milliseconds" }
104
104
  ]
105
105
  };
106
- var P = Object.defineProperty, U = Object.getOwnPropertyDescriptor, c = (t, e, o, s) => {
107
- for (var i = s > 1 ? void 0 : s ? U(e, o) : e, l = t.length - 1, m; l >= 0; l--)
108
- (m = t[l]) && (i = (s ? m(e, o, i) : m(i)) || i);
109
- return s && i && P(e, o, i), i;
106
+ var j = Object.defineProperty, P = Object.getOwnPropertyDescriptor, n = (e, t, o, l) => {
107
+ for (var r = l > 1 ? void 0 : l ? P(t, o) : t, m = e.length - 1, u; m >= 0; m--)
108
+ (u = e[m]) && (r = (l ? u(t, o, r) : u(r)) || r);
109
+ return l && r && j(t, o, r), r;
110
110
  };
111
- let u = class extends M(I, {
112
- validSizes: Object.values(k)
111
+ let a = class extends I(E, {
112
+ validSizes: Object.values(M)
113
113
  }) {
114
114
  constructor() {
115
- super(...arguments), this.language = "en", this.slotContent = {}, this.measureColumns = [], this._durationLevels = [], this._renderDurationLevelMenu = !1, this._handleSlottableRequest = (t) => {
116
- this._renderDurationLevelMenu = t.data !== C;
115
+ super(...arguments), this.language = "en", this.slotContent = {}, this.measureColumns = [], this._durationLevels = [], this._renderDurationLevelMenu = !1, this._handleSlottableRequest = (e) => {
116
+ this._renderDurationLevelMenu = e.data !== D;
117
117
  }, this._sendEvent = () => {
118
- const t = { ...this.slotContent, format: this._format, aggregationFunc: this._aggregationFunc };
119
- this._aggregationWeightColumn ? t.aggregationWeight = { ...this._aggregationWeightColumn } : delete t.aggregationWeight, this._displayMode === "duration" ? (t.duration = t.duration ?? {}, t.duration.format = this._durationFormat, t.duration.levels = this._durationLevels) : delete t.duration, this.dispatchEvent(
118
+ const e = { ...this.slotContent, format: this._format, aggregationFunc: this._aggregationFunc };
119
+ this._aggregationWeightColumn ? e.aggregationWeight = { ...this._aggregationWeightColumn } : delete e.aggregationWeight, this._displayMode === "duration" ? (e.duration = e.duration ?? {}, e.duration.format = this._durationFormat, e.duration.levels = this._durationLevels) : delete e.duration, this.dispatchEvent(
120
120
  new CustomEvent("slot-content-changed", {
121
121
  bubbles: !0,
122
122
  composed: !0,
123
123
  cancelable: !0,
124
124
  detail: {
125
- slotContent: t
125
+ slotContent: e
126
126
  }
127
127
  })
128
128
  );
129
129
  };
130
130
  }
131
131
  static get styles() {
132
- return [S(q)];
132
+ return [w(T)];
133
133
  }
134
134
  _parseSavedNumericFormatSettings() {
135
- var t, e, o, s, i, l, m;
136
- if (this._displayMode = ((t = this.slotContent) == null ? void 0 : t.subtype) === "duration" ? "duration" : "numeric", this._durationFormat = ((o = (e = this.slotContent) == null ? void 0 : e.duration) == null ? void 0 : o.format) ?? "short", this._durationLevels = ((i = (s = this.slotContent) == null ? void 0 : s.duration) == null ? void 0 : i.levels) ?? [1], this._displayMode === "duration")
135
+ if (this._displayMode = this.slotContent?.subtype === "duration" ? "duration" : "numeric", this._durationFormat = this.slotContent?.duration?.format ?? "short", this._durationLevels = this.slotContent?.duration?.levels ?? [1], this._displayMode === "duration")
137
136
  this._precision = 2, this._commaDecimals = !1, this._thousandSeparator = !1;
138
137
  else {
139
- this._format = ((l = this.slotContent) == null ? void 0 : l.format) ?? ".0f";
140
- const n = v(this._format ?? ".0f");
141
- this._isAuto = ((m = n.typeFormat) == null ? void 0 : m.includes("a")) ?? !1, ["%", "a%", "y", "ay"].includes(n.typeFormat) ? this._displayAs = "percentage" : ["s", "as", "w", "aw"].includes(n.typeFormat) ? this._displayAs = "scientific" : this._displayAs = "general", this._precision = n.precision ? Number.parseInt(n.precision.replace(".", ""), 10) : this._displayAs === "scientific" ? 1 : 0, this._commaDecimals = ["z", "az", "y", "ay", "w", "aw"].includes(
142
- n.typeFormat
143
- ), this._thousandSeparator = n.comma === ",", this._isAuto ? this._numericFormatGroup = "Auto" : this._commaDecimals && this._thousandSeparator ? this._numericFormatGroup = "1.000,00" : !this._commaDecimals && this._thousandSeparator ? this._numericFormatGroup = "1,000.00" : this._commaDecimals && !this._thousandSeparator ? this._numericFormatGroup = "1000,00" : !this._commaDecimals && !this._thousandSeparator && (this._numericFormatGroup = "1000.00");
138
+ this._format = this.slotContent?.format ?? ".0f";
139
+ const e = z(this._format ?? ".0f");
140
+ this._isAuto = e.typeFormat?.includes("a") ?? !1, ["%", "a%", "y", "ay"].includes(e.typeFormat) ? this._displayAs = "percentage" : ["s", "as", "w", "aw"].includes(e.typeFormat) ? this._displayAs = "scientific" : this._displayAs = "general", this._precision = e.precision ? Number.parseInt(e.precision.replace(".", ""), 10) : this._displayAs === "scientific" ? 1 : 0, this._commaDecimals = ["z", "az", "y", "ay", "w", "aw"].includes(
141
+ e.typeFormat
142
+ ), this._thousandSeparator = e.comma === ",", this._isAuto ? this._numericFormatGroup = "Auto" : this._commaDecimals && this._thousandSeparator ? this._numericFormatGroup = "1.000,00" : !this._commaDecimals && this._thousandSeparator ? this._numericFormatGroup = "1,000.00" : this._commaDecimals && !this._thousandSeparator ? this._numericFormatGroup = "1000,00" : !this._commaDecimals && !this._thousandSeparator && (this._numericFormatGroup = "1000.00");
144
143
  }
145
144
  }
146
145
  _setNumericDisplayAs() {
147
- var t, e;
148
- this._displayAs = ((e = (t = this._displayAsElement) == null ? void 0 : t.selected) == null ? void 0 : e[0]) ?? "general", this._displayAs === "scientific" && (this._precision = Math.max(this._precision ?? 0, 1), this._thousandSeparator = !1), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
146
+ this._displayAs = this._displayAsElement?.selected?.[0] ?? "general", this._displayAs === "scientific" && (this._precision = Math.max(this._precision ?? 0, 1), this._thousandSeparator = !1), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
149
147
  }
150
- _setNumericSeparators(t) {
151
- const e = A[(t == null ? void 0 : t.detail) ?? "Auto"];
148
+ _setNumericSeparators(e) {
149
+ const t = x[e?.detail ?? "Auto"];
152
150
  this._thousandSeparator = [",", "."].includes(
153
- (e == null ? void 0 : e.thousandSeparator) ?? ""
154
- ), this._commaDecimals = (e == null ? void 0 : e.decimalSeparator) === ",", this._isAuto = e == null ? void 0 : e.auto, this._setNumericFormat(), this._sendEvent();
151
+ t?.thousandSeparator ?? ""
152
+ ), this._commaDecimals = t?.decimalSeparator === ",", this._isAuto = t?.auto, this._setNumericFormat(), this._sendEvent();
155
153
  }
156
154
  _setPrecision() {
157
155
  this._precision = this._precisionElement.value, this._setNumericFormat(), this._sendEvent();
158
156
  }
159
157
  _setNumericFormat() {
160
- var o;
161
- let t = "f";
162
- const e = this.slotContent.subtype === "duration" ? this._durationLevels && ((o = this._durationLevels) == null ? void 0 : o.length) === 1 ? "numeric" : "duration" : "numeric";
163
- this._maxDurationLevel = Math.min(...this._durationLevels), e === "duration" ? (!["time", "short", "long"].includes(this._durationFormat ?? "") || this._maxDurationLevel < 6 && this._durationFormat === "time") && (this._durationFormat = "short") : (this._displayAs === "general" && this._commaDecimals ? t = "z" : this._displayAs === "percentage" && this._commaDecimals ? t = "y" : this._displayAs === "scientific" && this._commaDecimals ? t = "w" : this._displayAs === "percentage" ? t = "%" : this._displayAs === "scientific" && (t = "s"), this._format = (this._thousandSeparator || this._isAuto ? "," : "") + "." + this._precision + (this._isAuto ? "a" : "") + t);
158
+ let e = "f";
159
+ const t = this.slotContent.subtype === "duration" ? this._durationLevels && this._durationLevels?.length === 1 ? "numeric" : "duration" : "numeric";
160
+ this._maxDurationLevel = Math.min(...this._durationLevels), t === "duration" ? (!["time", "short", "long"].includes(this._durationFormat ?? "") || this._maxDurationLevel < 6 && this._durationFormat === "time") && (this._durationFormat = "short") : (this._displayAs === "general" && this._commaDecimals ? e = "z" : this._displayAs === "percentage" && this._commaDecimals ? e = "y" : this._displayAs === "scientific" && this._commaDecimals ? e = "w" : this._displayAs === "percentage" ? e = "%" : this._displayAs === "scientific" && (e = "s"), this._format = (this._thousandSeparator || this._isAuto ? "," : "") + "." + this._precision + (this._isAuto ? "a" : "") + e);
164
161
  }
165
162
  _setAggregationFunc() {
166
- var i;
167
- const t = this._aggregationElement.value, e = this._aggregationFunc, o = this.slotContent.format;
168
- if (t !== (e === "weightedaverage" ? "average" : e)) {
169
- if (this._aggregationFunc = t === "average" && ((i = this._aggregationWeightColumn) != null && i.column) ? "weightedaverage" : t, e === "rate") {
170
- const l = v(o), m = ["%", "y", "a%", "ay"].includes(
171
- l.typeFormat
163
+ const e = this._aggregationElement.value, t = this._aggregationFunc, o = this.slotContent.format;
164
+ if (e !== (t === "weightedaverage" ? "average" : t)) {
165
+ if (this._aggregationFunc = e === "average" && this._aggregationWeightColumn?.column ? "weightedaverage" : e, t === "rate") {
166
+ const r = z(o), m = ["%", "y", "a%", "ay"].includes(
167
+ r.typeFormat
172
168
  );
173
169
  this.slotContent.subtype === "currency" && m && this._setNumericDisplayAs();
174
170
  }
175
- this._sendEvent(), (this._aggregationFunc === "rate" || e === "rate") && this.requestUpdate();
171
+ this._sendEvent(), (this._aggregationFunc === "rate" || t === "rate") && this.requestUpdate();
176
172
  }
177
173
  }
178
174
  _setAggregationWeight() {
179
- var o;
180
- const t = this._aggregationWeightElement.value, e = this._aggregationFunc;
181
- if (t === "none")
175
+ const e = this._aggregationWeightElement.value, t = this._aggregationFunc;
176
+ if (e === "none")
182
177
  this._aggregationWeightColumn = void 0, this._aggregationFunc === "weightedaverage" && (this._aggregationFunc = "average");
183
178
  else {
184
- let s, i;
185
- for (const l of this.measureColumns ?? []) {
186
- const m = (o = l.columns) == null ? void 0 : o.find((n) => n.id === t);
179
+ let o, l;
180
+ for (const r of this.measureColumns ?? []) {
181
+ const m = r.columns?.find((u) => u.id === e);
187
182
  if (m) {
188
- s = m, i = l.datasetId;
183
+ o = m, l = r.datasetId;
189
184
  break;
190
185
  }
191
186
  }
192
- s && (this._aggregationWeightColumn = {
193
- column: s.id,
194
- set: i,
195
- columnSubType: s.subtype
187
+ o && (this._aggregationWeightColumn = {
188
+ column: o.id,
189
+ set: l,
190
+ columnSubType: o.subtype
196
191
  }), this._aggregationFunc === "average" && (this._aggregationFunc = "weightedaverage");
197
192
  }
198
- this._sendEvent(), this.requestUpdate(), (e === "weightedaverage" && this._aggregationFunc === "average" || e === "average" && this._aggregationFunc === "weightedaverage") && this.requestUpdate();
193
+ this._sendEvent(), this.requestUpdate(), (t === "weightedaverage" && this._aggregationFunc === "average" || t === "average" && this._aggregationFunc === "weightedaverage") && this.requestUpdate();
199
194
  }
200
195
  _setDurationLevels() {
201
- const t = this._durationLevels, e = this._durationLevelsElement.value.split(",").filter((o) => o !== "").map((o) => Number.parseInt(o, 10));
202
- this._durationLevels = ((e == null ? void 0 : e.length) ?? 0) >= 1 ? e : t, this._maxDurationLevel = Math.min(...this._durationLevels), this._fillTimeDurationLevels(), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
196
+ const e = this._durationLevels, t = this._durationLevelsElement.value.split(",").filter((o) => o !== "").map((o) => Number.parseInt(o, 10));
197
+ this._durationLevels = (t?.length ?? 0) >= 1 ? t : e, this._maxDurationLevel = Math.min(...this._durationLevels), this._fillTimeDurationLevels(), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
203
198
  }
204
199
  _setDurationFormat() {
205
- var t, e;
206
- this._durationFormat = (e = (t = this._durationFormatElement) == null ? void 0 : t.selected) == null ? void 0 : e[0], this._fillTimeDurationLevels(), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
200
+ this._durationFormat = this._durationFormatElement?.selected?.[0], this._fillTimeDurationLevels(), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
207
201
  }
208
202
  _fillTimeDurationLevels() {
209
203
  if (this._durationFormat === "time") {
210
- const t = this._durationLevels.sort().at(-1);
211
- if ([7, 8, 9].includes(t)) {
212
- const e = {
204
+ const e = this._durationLevels.sort().at(-1);
205
+ if ([7, 8, 9].includes(e)) {
206
+ const t = {
213
207
  lev7: [6],
214
208
  lev8: [6, 7],
215
209
  lev9: [6, 7, 8]
216
210
  };
217
- for (const o of e["lev" + t])
211
+ for (const o of t["lev" + e])
218
212
  this._durationLevels.includes(o) || this._durationLevels.push(o);
219
213
  this._durationLevels = [...this._durationLevels].sort();
220
214
  }
@@ -256,30 +250,29 @@ let u = class extends M(I, {
256
250
  });
257
251
  }
258
252
  } */
259
- willUpdate(t) {
260
- var e, o, s, i, l;
261
- t.has("slotContent") && (this._parseSavedNumericFormatSettings(), this._aggregationFunc = ((e = this.slotContent) == null ? void 0 : e.aggregationFunc) ?? (((o = this.slotContent) == null ? void 0 : o.type) === "numeric" ? "sum" : "count"), this._aggregationWeightColumn = (s = this.slotContent) == null ? void 0 : s.aggregationWeight, this._isFormula = ((i = this.slotContent) == null ? void 0 : i.formula) || ((l = this.slotContent) == null ? void 0 : l.formulaId)), t.has("language") && this.language !== O() && ([...W].includes(this.language ?? "en") || this.language === "en") && T(this.language);
253
+ willUpdate(e) {
254
+ e.has("slotContent") && (this._parseSavedNumericFormatSettings(), this._aggregationFunc = this.slotContent?.aggregationFunc ?? (this.slotContent?.type === "numeric" ? "sum" : "count"), this._aggregationWeightColumn = this.slotContent?.aggregationWeight, this._isFormula = this.slotContent?.formula || this.slotContent?.formulaId), e.has("language") && this.language !== k() && ([...O].includes(this.language ?? "en") || this.language === "en") && W(this.language);
262
255
  }
263
256
  _renderDurationLevelsSettings() {
264
- const t = j.levels.map((e) => {
257
+ const e = R.levels.map((t) => {
265
258
  let o = !1;
266
- return this._durationFormat === "time" && e.level >= 6 && this._durationLevels.includes(e.level) && e.level !== Math.max(...this._durationLevels) && (o = !0), this._durationLevels.length === 1 && this._durationLevels.includes(e.level) && (o = !0), r`<luzmo-menu-item
267
- value=${e.level}
268
- ?selected=${this._durationLevels.includes(e.level)}
259
+ return this._durationFormat === "time" && t.level >= 6 && this._durationLevels.includes(t.level) && t.level !== Math.max(...this._durationLevels) && (o = !0), this._durationLevels.length === 1 && this._durationLevels.includes(t.level) && (o = !0), s`<luzmo-menu-item
260
+ value=${t.level}
261
+ ?selected=${this._durationLevels.includes(t.level)}
269
262
  ?disabled=${o}
270
263
  >
271
- ${e.label}
264
+ ${t.label}
272
265
  </luzmo-menu-item>`;
273
266
  });
274
- return r` <div class="setting">
267
+ return s` <div class="setting">
275
268
  <luzmo-field-label for="duration-levels">
276
- ${a("Duration levels", { desc: "Label for duration levels setting" })}
269
+ ${i("Duration levels", { desc: "Label for duration levels setting" })}
277
270
  </luzmo-field-label>
278
271
  <luzmo-action-button id="duration-levels-trigger" size=${this.size}>
279
272
  ${this._durationLevels.length}
280
273
  ${this._durationLevels.length === 1 ? "level" : "levels"} active
281
274
  <span class="duration-angle-down-icon">
282
- ${h(L)}
275
+ ${g(S)}
283
276
  </span>
284
277
  </luzmo-action-button>
285
278
  <luzmo-overlay
@@ -291,26 +284,26 @@ let u = class extends M(I, {
291
284
  @slottable-request=${this._handleSlottableRequest}
292
285
  >
293
286
  <luzmo-popover style="position: relative">
294
- ${this._renderDurationLevelMenu ? r` <luzmo-menu
287
+ ${this._renderDurationLevelMenu ? s` <luzmo-menu
295
288
  id="duration-levels"
296
289
  size=${this.size}
297
290
  selects="multiple"
298
291
  .value=${this._durationLevels.join(",")}
299
292
  @change=${this._setDurationLevels}
300
293
  >
301
- ${t}
294
+ ${e}
302
295
  </luzmo-menu>` : ""}
303
296
  </luzmo-popover>
304
297
  </luzmo-overlay>
305
298
  </div>`;
306
299
  }
307
300
  _renderDurationFormatSettings() {
308
- const t = Object.keys(x).map((e) => e === "time" && (this._maxDurationLevel ?? 1) < 6 ? "" : r`<luzmo-action-button value=${e}>
309
- ${x[e]()}
301
+ const e = Object.keys(y).map((t) => t === "time" && (this._maxDurationLevel ?? 1) < 6 ? "" : s`<luzmo-action-button value=${t}>
302
+ ${y[t]()}
310
303
  </luzmo-action-button>`);
311
- return r` <div class="setting">
304
+ return s` <div class="setting">
312
305
  <luzmo-field-label for="duration-format">
313
- ${a("Format", { desc: "Label for format setting" })}
306
+ ${i("Format", { desc: "Label for format setting" })}
314
307
  </luzmo-field-label>
315
308
  <luzmo-action-group
316
309
  emphasized
@@ -321,24 +314,21 @@ let u = class extends M(I, {
321
314
  selects="single"
322
315
  @change=${this._setDurationFormat}
323
316
  >
324
- ${t}
317
+ ${e}
325
318
  </luzmo-action-group>
326
319
  </div>`;
327
320
  }
328
321
  _renderNumericDisplayAsSettings() {
329
- const t = Object.keys(y).filter(
330
- (e) => {
331
- var o;
332
- return e !== "percentage" || (this.slotContent.subtype !== "currency" || this.slotContent.aggregationFunc === "rate") && ((o = this.slotContent.periodOverPeriod) == null ? void 0 : o.type) !== "percentageChange";
333
- }
322
+ const e = Object.keys(b).filter(
323
+ (t) => t !== "percentage" || (this.slotContent.subtype !== "currency" || this.slotContent.aggregationFunc === "rate") && this.slotContent.periodOverPeriod?.type !== "percentageChange"
334
324
  ).map(
335
- (e) => r`<luzmo-action-button value=${e}
336
- >${y[e]}</luzmo-action-button
325
+ (t) => s`<luzmo-action-button value=${t}
326
+ >${b[t]}</luzmo-action-button
337
327
  >`
338
328
  );
339
- return r`<div class="setting">
329
+ return s`<div class="setting">
340
330
  <luzmo-field-label for="display-as">
341
- ${a("Display as", {
331
+ ${i("Display as", {
342
332
  desc: "Label for display as setting for the datetime field"
343
333
  })}
344
334
  </luzmo-field-label>
@@ -351,19 +341,19 @@ let u = class extends M(I, {
351
341
  selects="single"
352
342
  @change=${this._setNumericDisplayAs}
353
343
  >
354
- ${t}
344
+ ${e}
355
345
  </luzmo-action-group>
356
346
  </div>`;
357
347
  }
358
348
  _renderNumericFormatSettings() {
359
- const t = Object.entries(A).filter(
360
- ([, { hiddenFor: e }]) => !e || e !== this._displayAs
349
+ const e = Object.entries(x).filter(
350
+ ([, { hiddenFor: t }]) => !t || t !== this._displayAs
361
351
  ).map(
362
- ([e, { label: o }]) => r`<luzmo-menu-item value=${e}>${o()}</luzmo-menu-item>`
352
+ ([t, { label: o }]) => s`<luzmo-menu-item value=${t}>${o()}</luzmo-menu-item>`
363
353
  );
364
- return r` <div class="setting">
354
+ return s` <div class="setting">
365
355
  <luzmo-field-label for="format">
366
- ${a("Format", { desc: "Label for format setting" })}
356
+ ${i("Format", { desc: "Label for format setting" })}
367
357
  </luzmo-field-label>
368
358
  <luzmo-picker
369
359
  id="format"
@@ -372,14 +362,14 @@ let u = class extends M(I, {
372
362
  value=${this._numericFormatGroup ?? "Auto"}
373
363
  @change=${this._setNumericSeparators}
374
364
  >
375
- ${t}
365
+ ${e}
376
366
  </luzmo-picker>
377
367
  </div>
378
368
  <div class="setting">
379
369
  <luzmo-field-label for="precision" id="precision-label">
380
- ${this._displayAs === "scientific" ? a("Precision", {
370
+ ${this._displayAs === "scientific" ? i("Precision", {
381
371
  desc: "Label for precision setting"
382
- }) : a("Decimals", {
372
+ }) : i("Decimals", {
383
373
  desc: "Label for decimals setting"
384
374
  })}
385
375
  </luzmo-field-label>
@@ -394,84 +384,79 @@ let u = class extends M(I, {
394
384
  </div>`;
395
385
  }
396
386
  _renderAggregationSettings() {
397
- var o;
398
- const t = Object.entries(R).filter(
399
- ([s]) => {
400
- var i;
401
- return ["count", "distinctcount"].includes(s) || ((i = this.slotContent) == null ? void 0 : i.type) === "numeric";
402
- }
403
- ).filter(([s]) => s !== "cumulativesum" || this.isCumulativeSumEnabled).map(
404
- ([s, i]) => r`<luzmo-menu-item value=${s}>${i()}</luzmo-menu-item>`
405
- ), e = [
406
- r`<luzmo-menu-item value="none" class="no-weight">
387
+ const e = Object.entries(q).filter(
388
+ ([o]) => ["count", "distinctcount"].includes(o) || this.slotContent?.type === "numeric"
389
+ ).filter(([o]) => o !== "cumulativesum" || this.isCumulativeSumEnabled).map(
390
+ ([o, l]) => s`<luzmo-menu-item value=${o}>${l()}</luzmo-menu-item>`
391
+ ), t = [
392
+ s`<luzmo-menu-item value="none" class="no-weight">
407
393
  <span class="no-weight-label">No weight</span>
408
394
  </luzmo-menu-item>`,
409
- ...(this.measureColumns ?? []).flatMap((s) => {
410
- const i = typeof s.datasetName == "object" ? b(
411
- s.datasetName,
395
+ ...(this.measureColumns ?? []).flatMap((o) => {
396
+ const l = typeof o.datasetName == "object" ? _(
397
+ o.datasetName,
412
398
  this.language
413
- ) : s.datasetName, l = r`<div class="dataset-header">
414
- ${i}
399
+ ) : o.datasetName, r = s`<div class="dataset-header">
400
+ ${l}
415
401
  <luzmo-tooltip self-managed placement="right" size=${this.size}>
416
- ${i}
402
+ ${l}
417
403
  </luzmo-tooltip>
418
- </div>`, m = (s.columns ?? []).map((n) => {
419
- const p = typeof n.name == "object" ? b(n.name, this.language) : n.name, F = h(N(n, "s")), f = n.expression ? D : void 0, z = !!f, $ = z ? r`<span class="secondary-icon"
420
- >${h(f)}</span
421
- >` : _;
422
- return r`<luzmo-menu-item value=${n.id}>
404
+ </div>`, m = (o.columns ?? []).map((u) => {
405
+ const h = typeof u.name == "object" ? _(u.name, this.language) : u.name, A = g(C(u, "s")), p = u.expression ? L : void 0, f = !!p, F = f ? s`<span class="secondary-icon"
406
+ >${g(p)}</span
407
+ >` : v;
408
+ return s`<luzmo-menu-item value=${u.id}>
423
409
  <span class="data-icon-type" slot="icon">
424
- <span class=${z ? "with-secondary-icon" : ""}
425
- >${F}</span
410
+ <span class=${f ? "with-secondary-icon" : ""}
411
+ >${A}</span
426
412
  >
427
- ${$}
413
+ ${F}
428
414
  </span>
429
- <span class="column-label text-truncate">${p}</span>
415
+ <span class="column-label text-truncate">${h}</span>
430
416
  <luzmo-tooltip self-managed placement="right" size=${this.size}>
431
- ${p}
417
+ ${h}
432
418
  </luzmo-tooltip>
433
419
  </luzmo-menu-item>`;
434
420
  });
435
- return [l, ...m];
421
+ return [r, ...m];
436
422
  })
437
423
  ];
438
- return r`<div class="settings-row">
424
+ return s`<div class="settings-row">
439
425
  <div class="setting">
440
426
  <luzmo-field-label for="aggregation">
441
- ${a("Aggregation", { desc: "Label for aggregation setting" })}
427
+ ${i("Aggregation", { desc: "Label for aggregation setting" })}
442
428
  </luzmo-field-label>
443
429
  <luzmo-picker
444
430
  id="aggregation"
445
431
  size=${this.size}
446
432
  variant="highlight"
447
433
  value=${(() => {
448
- var i;
449
- const s = ((i = this.slotContent) == null ? void 0 : i.type) === "numeric" ? "sum" : "count";
450
- return this._aggregationFunc === "weightedaverage" ? "average" : this._aggregationFunc ?? s;
434
+ const o = this.slotContent?.type === "numeric" ? "sum" : "count";
435
+ return this._aggregationFunc === "weightedaverage" ? "average" : this._aggregationFunc ?? o;
451
436
  })()}
452
437
  @change=${this._setAggregationFunc}
453
438
  >
454
- ${t}
439
+ ${e}
455
440
  </luzmo-picker>
456
441
  </div>
457
442
  ${["rate", "average", "weightedaverage"].includes(
458
443
  this._aggregationFunc ?? ""
459
- ) ? r`<div class="setting">
444
+ ) ? s`<div class="setting">
460
445
  <luzmo-field-label for="weighting-column">
461
446
  ${this._aggregationFunc === "rate" ? "Denominator" : "Weight"}
462
447
  </luzmo-field-label>
463
- ${this.measureColumns.length > 0 ? r`
448
+ ${this.measureColumns.length > 0 ? s`
464
449
  <luzmo-picker
465
450
  id="weighting-column"
466
451
  size=${this.size}
467
452
  variant="highlight"
468
453
  icons="none"
469
- value=${((o = this._aggregationWeightColumn) == null ? void 0 : o.column) ?? "none"}
454
+ value=${this._aggregationWeightColumn?.column ?? "none"}
470
455
  @change=${this._setAggregationWeight}
471
456
  >
472
- ${e}
457
+ ${t}
473
458
  </luzmo-picker>
474
- ` : r`<luzmo-picker
459
+ ` : s`<luzmo-picker
475
460
  id="weighting-column"
476
461
  size=${this.size}
477
462
  variant="highlight"
@@ -484,60 +469,59 @@ let u = class extends M(I, {
484
469
  </div>`;
485
470
  }
486
471
  render() {
487
- var t;
488
- return r`<div class="settings-container">
472
+ return s`<div class="settings-container">
489
473
  <div class="settings-row">
490
474
  ${this._displayMode === "duration" ? this._renderDurationLevelsSettings() : this._renderNumericDisplayAsSettings()}
491
- ${((t = this._durationLevels) == null ? void 0 : t.length) > 1 ? this._renderDurationFormatSettings() : this._renderNumericFormatSettings()}
475
+ ${this._durationLevels?.length > 1 ? this._renderDurationFormatSettings() : this._renderNumericFormatSettings()}
492
476
  </div>
493
- ${this._isFormula || this.isAggregationDisabled ? _ : this._renderAggregationSettings()}
477
+ ${this._isFormula || this.isAggregationDisabled ? v : this._renderAggregationSettings()}
494
478
  </div>
495
479
  </div>`;
496
480
  }
497
481
  };
498
- c([
499
- g({ type: String, reflect: !0 })
500
- ], u.prototype, "language", 2);
501
- c([
502
- g({ type: Object, reflect: !0 })
503
- ], u.prototype, "slotContent", 2);
504
- c([
505
- g({ type: Array, reflect: !1 })
506
- ], u.prototype, "measureColumns", 2);
507
- c([
508
- g({ type: Boolean })
509
- ], u.prototype, "isAggregationDisabled", 2);
510
- c([
511
- g({ type: Boolean })
512
- ], u.prototype, "isCumulativeSumEnabled", 2);
513
- c([
514
- d("#display-as")
515
- ], u.prototype, "_displayAsElement", 2);
516
- c([
517
- d("#precision")
518
- ], u.prototype, "_precisionElement", 2);
519
- c([
520
- d("#aggregation")
521
- ], u.prototype, "_aggregationElement", 2);
522
- c([
523
- d("#weighting-column")
524
- ], u.prototype, "_aggregationWeightElement", 2);
525
- c([
526
- d("#duration-levels")
527
- ], u.prototype, "_durationLevelsElement", 2);
528
- c([
529
- d("#duration-format")
530
- ], u.prototype, "_durationFormatElement", 2);
531
- c([
532
- E()
533
- ], u.prototype, "_renderDurationLevelMenu", 2);
534
- u = c([
535
- w()
536
- ], u);
482
+ n([
483
+ d({ type: String, reflect: !0 })
484
+ ], a.prototype, "language", 2);
485
+ n([
486
+ d({ type: Object, reflect: !0 })
487
+ ], a.prototype, "slotContent", 2);
488
+ n([
489
+ d({ type: Array, reflect: !1 })
490
+ ], a.prototype, "measureColumns", 2);
491
+ n([
492
+ d({ type: Boolean })
493
+ ], a.prototype, "isAggregationDisabled", 2);
494
+ n([
495
+ d({ type: Boolean })
496
+ ], a.prototype, "isCumulativeSumEnabled", 2);
497
+ n([
498
+ c("#display-as")
499
+ ], a.prototype, "_displayAsElement", 2);
500
+ n([
501
+ c("#precision")
502
+ ], a.prototype, "_precisionElement", 2);
503
+ n([
504
+ c("#aggregation")
505
+ ], a.prototype, "_aggregationElement", 2);
506
+ n([
507
+ c("#weighting-column")
508
+ ], a.prototype, "_aggregationWeightElement", 2);
509
+ n([
510
+ c("#duration-levels")
511
+ ], a.prototype, "_durationLevelsElement", 2);
512
+ n([
513
+ c("#duration-format")
514
+ ], a.prototype, "_durationFormatElement", 2);
515
+ n([
516
+ N()
517
+ ], a.prototype, "_renderDurationLevelMenu", 2);
518
+ a = n([
519
+ $()
520
+ ], a);
537
521
  customElements.get("luzmo-display-settings-numeric") || customElements.define(
538
522
  "luzmo-display-settings-numeric",
539
- u
523
+ a
540
524
  );
541
525
  export {
542
- u as LuzmoDisplaySettingsNumeric
526
+ a as LuzmoDisplaySettingsNumeric
543
527
  };