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

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 (229) hide show
  1. package/components/ai-chat-messages-container/index.cjs +1 -1
  2. package/components/ai-chat-messages-container/index.js +2 -2
  3. package/components/ai-interaction-textarea/index.cjs +1 -1
  4. package/components/ai-interaction-textarea/index.js +1 -2
  5. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  6. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  7. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  8. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  9. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  10. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  11. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  12. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  13. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  14. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  15. package/components/calculate-data-item-icon-C8CbsMQf.js +139 -0
  16. package/components/{calculate-data-item-icon-DjW1_RI1.cjs → calculate-data-item-icon-CX4VW9Km.cjs} +1 -1
  17. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  18. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  19. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  20. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  21. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  22. package/components/color-Czp4Im5q.cjs +20 -0
  23. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  24. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  25. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  26. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  27. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  28. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  29. package/components/dataset-icon/index.cjs +1 -1
  30. package/components/dataset-icon/index.js +1 -2
  31. package/components/dataset-selector-list/index.cjs +1 -1
  32. package/components/dataset-selector-list/index.js +32 -35
  33. package/components/dataset-selector-row/index.cjs +9 -9
  34. package/components/dataset-selector-row/index.js +51 -53
  35. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  36. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  37. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  38. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  39. package/components/display-settings/index.cjs +1 -1
  40. package/components/display-settings/index.js +1 -1
  41. package/components/display-settings-binning/index.cjs +5 -5
  42. package/components/display-settings-binning/index.js +29 -30
  43. package/components/display-settings-datetime/index.cjs +29 -29
  44. package/components/display-settings-datetime/index.js +112 -120
  45. package/components/display-settings-grand-totals/index.cjs +4 -4
  46. package/components/display-settings-grand-totals/index.js +23 -24
  47. package/components/display-settings-numeric/index.cjs +48 -48
  48. package/components/display-settings-numeric/index.js +194 -211
  49. package/components/display-settings-period-over-period/index.cjs +16 -16
  50. package/components/display-settings-period-over-period/index.js +91 -97
  51. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  52. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  53. package/components/draggable-data-item/index.cjs +8 -8
  54. package/components/draggable-data-item/index.js +44 -45
  55. package/components/draggable-data-item-level/index.cjs +11 -11
  56. package/components/draggable-data-item-level/index.js +89 -92
  57. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  58. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  59. package/components/droppable-slot/index.cjs +20 -20
  60. package/components/droppable-slot/index.js +167 -181
  61. package/components/edit-item/index.cjs +9 -9
  62. package/components/edit-item/index.js +116 -119
  63. package/components/edit-option/index.cjs +1 -1
  64. package/components/edit-option/index.js +1 -1
  65. package/components/edit-option-action-button-group/index.cjs +8 -8
  66. package/components/edit-option-action-button-group/index.js +52 -53
  67. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  68. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
  69. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  70. package/components/edit-option-color-palette-picker/index.js +1 -1
  71. package/components/edit-option-color-picker/index.cjs +1 -1
  72. package/components/edit-option-color-picker/index.js +1 -1
  73. package/components/edit-option-color-range/index.cjs +19 -19
  74. package/components/edit-option-color-range/index.js +106 -117
  75. package/components/edit-option-multi-language-field/index.cjs +3 -3
  76. package/components/edit-option-multi-language-field/index.js +26 -27
  77. package/components/edit-option-number-field/index.cjs +1 -1
  78. package/components/edit-option-number-field/index.js +1 -1
  79. package/components/edit-option-picker/index.cjs +5 -5
  80. package/components/edit-option-picker/index.js +7 -7
  81. package/components/edit-option-position-picker/index.cjs +4 -4
  82. package/components/edit-option-position-picker/index.js +21 -25
  83. package/components/edit-option-positions-number-field/index.cjs +9 -9
  84. package/components/edit-option-positions-number-field/index.js +76 -81
  85. package/components/edit-option-radio-button-group/index.cjs +6 -6
  86. package/components/edit-option-radio-button-group/index.js +21 -22
  87. package/components/edit-option-slider/index.cjs +1 -1
  88. package/components/edit-option-slider/index.js +1 -1
  89. package/components/edit-option-switch/index.cjs +1 -1
  90. package/components/edit-option-switch/index.js +1 -1
  91. package/components/edit-option-text-field/index.cjs +2 -2
  92. package/components/edit-option-text-field/index.js +22 -23
  93. package/components/en--a5SfjnM.cjs +20 -0
  94. package/components/en-CtCctD2c.js +1483 -0
  95. package/components/{en-GB-DG6uS3sM.cjs → en-GB-CXVKFWyH.cjs} +1 -1
  96. package/components/{en-GB-CEHEs8F2.js → en-GB-CbNfyZMo.js} +1 -1
  97. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  98. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  99. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  100. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  101. package/components/filter-data-item-picker/index.cjs +7 -7
  102. package/components/filter-data-item-picker/index.js +85 -86
  103. package/components/filter-expression-picker/index.cjs +1 -1
  104. package/components/filter-expression-picker/index.js +1 -1
  105. package/components/filter-item/index.cjs +6 -6
  106. package/components/filter-item/index.js +109 -119
  107. package/components/filter-value-picker/index.cjs +2 -2
  108. package/components/filter-value-picker/index.js +34 -36
  109. package/components/filter-value-picker-datetime/index.cjs +8 -8
  110. package/components/filter-value-picker-datetime/index.js +56 -71
  111. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  112. package/components/filter-value-picker-hierarchy/index.js +113 -124
  113. package/components/filter-value-picker-numeric/index.cjs +8 -8
  114. package/components/filter-value-picker-numeric/index.js +101 -110
  115. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  116. package/components/focusable-QLh-LlNt.cjs +20 -0
  117. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  118. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  119. package/components/{get-css-variable-DLiZYZEi.cjs → get-css-variable-CuDaWSjr.cjs} +2 -2
  120. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-DEf4GhTH.js} +4 -4
  121. package/components/grid/index.cjs +46 -46
  122. package/components/grid/index.js +2612 -1873
  123. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  124. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  125. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  126. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  127. package/components/helpers-9I0oLoUB.cjs +20 -0
  128. package/components/helpers-bR8Ibjqh.js +79 -0
  129. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  130. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  131. package/components/{index-Do7O9azB.js → index-3WsfvkZF.js} +112 -123
  132. package/components/index-BGb_wRRW.js +1766 -0
  133. package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
  134. package/components/index-BUal0r_D.cjs +121 -0
  135. package/components/index-D1Y5TRsH.cjs +20 -0
  136. package/components/{index-PMDgRSzR.js → index-DdyZ2g5L.js} +94 -104
  137. package/components/index-DvkzMbLt.cjs +249 -0
  138. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  139. package/components/index.cjs +1 -1
  140. package/components/index.js +5 -5
  141. package/components/item-options-configs.cjs +1 -1
  142. package/components/item-options-configs.js +37 -37
  143. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  144. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  145. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  146. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  147. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  148. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  149. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  150. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  151. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  152. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  153. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  154. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  155. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  156. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  157. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  158. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  159. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  160. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  161. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  162. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  163. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  164. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  165. package/components/{set-locale-B-Tz2sdI.js → set-locale-hKTMz37h.js} +7 -9
  166. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  167. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  168. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  169. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  170. package/components/slot-contents-picker/index.cjs +33 -33
  171. package/components/slot-contents-picker/index.js +194 -205
  172. package/components/slot-menu/index.cjs +12 -12
  173. package/components/slot-menu/index.js +171 -184
  174. package/components/slot-menu-list/index.cjs +3 -3
  175. package/components/slot-menu-list/index.js +97 -103
  176. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  177. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  178. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  179. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  180. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  181. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  182. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  183. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  184. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  185. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  186. package/components/utils.cjs +1 -1
  187. package/components/utils.js +64 -65
  188. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  189. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  190. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  191. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  192. package/custom-elements.json +20 -0
  193. package/package.json +3 -3
  194. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  195. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  196. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  197. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  198. package/components/calculate-data-item-icon-DZDqb3xu.js +0 -139
  199. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  200. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  201. package/components/color-B6LaL8qz.cjs +0 -20
  202. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  203. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  204. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  205. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  206. package/components/en-BKBhKBXY.cjs +0 -20
  207. package/components/en-BOTjhwEc.js +0 -1488
  208. package/components/focusable-B3E_hQmm.cjs +0 -20
  209. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  210. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  211. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  212. package/components/helpers-DXQwEH1P.cjs +0 -20
  213. package/components/helpers-v1bPALRP.js +0 -91
  214. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  215. package/components/index-BPN3bG9X.js +0 -1733
  216. package/components/index-CQ9ck-BO.cjs +0 -249
  217. package/components/index-CXn67vdn.cjs +0 -121
  218. package/components/index-cfj52IbK.cjs +0 -20
  219. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  220. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  221. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  222. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  223. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  224. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  225. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  226. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  227. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  228. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  229. 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";
@@ -26,45 +26,45 @@ import "@luzmo/lucero/number-field";
26
26
  import "@luzmo/lucero/picker";
27
27
  import "@luzmo/lucero/popover";
28
28
  import { d as v } from "../decompose-numeric-format-BuZcjH2k.js";
29
- import { unsafeCSS as L, html as r, nothing as _ } from "lit";
30
- import { luzmoIcon as h, luzmoAngleDown as S } from "@luzmo/icons";
31
- import { removeSlottableRequest as C } from "@luzmo/lucero/overlay";
29
+ import { unsafeCSS as w, html as s, nothing as z } from "lit";
30
+ import { luzmoIcon as g, luzmoAngleDown as L } from "@luzmo/icons";
31
+ import { removeSlottableRequest as S } from "@luzmo/lucero/overlay";
32
32
  import "@luzmo/lucero/tooltip";
33
- import { c as D, a as N } from "../calculate-data-item-icon-DZDqb3xu.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-B-Tz2sdI.js";
33
+ import { c as C, a as D } from "../calculate-data-item-icon-C8CbsMQf.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-hKTMz37h.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 U = ":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 )}", j = {
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 )}", U = {
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 U = ":host .settings-container{display:flex;flex-direction:column;gap:var(
90
90
  label: () => "1000,00",
91
91
  decimalSeparator: ","
92
92
  }
93
- }, P = {
93
+ }, j = {
94
94
  levels: [
95
95
  { level: 1, label: "years" },
96
96
  { level: 2, label: "quarters" },
@@ -103,116 +103,110 @@ const U = ":host .settings-container{display:flex;flex-direction:column;gap:var(
103
103
  { level: 9, label: "milliseconds" }
104
104
  ]
105
105
  };
106
- var q = Object.defineProperty, R = Object.getOwnPropertyDescriptor, m = (t, e, o, s) => {
107
- for (var i = s > 1 ? void 0 : s ? R(e, o) : e, l = t.length - 1, c; l >= 0; l--)
108
- (c = t[l]) && (i = (s ? c(e, o, i) : c(i)) || i);
109
- return s && i && q(e, o, i), i;
106
+ var P = Object.defineProperty, q = Object.getOwnPropertyDescriptor, l = (e, t, o, n) => {
107
+ for (var r = n > 1 ? void 0 : n ? q(t, o) : t, m = e.length - 1, u; m >= 0; m--)
108
+ (u = e[m]) && (r = (n ? u(t, o, r) : u(r)) || r);
109
+ return n && r && P(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
115
  super(...arguments), this.language = "en", this.slotContent = {}, this.measureColumns = [], this._durationLevels = [], this._renderDurationLevelMenu = !1, this._sendEvent = () => {
116
- const t = { ...this.slotContent };
117
- t.format = this._format, t.aggregationFunc = this._aggregationFunc, 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(
116
+ const e = { ...this.slotContent };
117
+ e.format = this._format, e.aggregationFunc = this._aggregationFunc, 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(
118
118
  new CustomEvent("slot-content-changed", {
119
119
  bubbles: !0,
120
120
  composed: !0,
121
121
  cancelable: !0,
122
122
  detail: {
123
- slotContent: t
123
+ slotContent: e
124
124
  }
125
125
  })
126
126
  );
127
127
  };
128
128
  }
129
129
  static get styles() {
130
- return [L(U)];
130
+ return [w(T)];
131
131
  }
132
132
  _parseSavedNumericFormatSettings() {
133
- var t, e, o, s, i, l, c;
134
- 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")
133
+ 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")
135
134
  this._precision = 2, this._commaDecimals = !1, this._thousandSeparator = !1;
136
135
  else {
137
- this._format = ((l = this.slotContent) == null ? void 0 : l.format) ?? ".0f";
138
- const n = v(this._format ?? ".0f");
139
- this._isAuto = ((c = n.typeFormat) == null ? void 0 : c.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(
140
- n.typeFormat
141
- ), 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");
136
+ this._format = this.slotContent?.format ?? ".0f";
137
+ const e = v(this._format ?? ".0f");
138
+ 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(
139
+ e.typeFormat
140
+ ), 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");
142
141
  }
143
142
  }
144
143
  _setNumericDisplayAs() {
145
- var t, e;
146
- 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();
144
+ 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();
147
145
  }
148
- _setNumericSeparators(t) {
149
- const e = A[(t == null ? void 0 : t.detail) ?? "Auto"];
146
+ _setNumericSeparators(e) {
147
+ const t = x[e?.detail ?? "Auto"];
150
148
  this._thousandSeparator = [",", "."].includes(
151
- (e == null ? void 0 : e.thousandSeparator) ?? ""
152
- ), this._commaDecimals = (e == null ? void 0 : e.decimalSeparator) === ",", this._isAuto = e == null ? void 0 : e.auto, this._setNumericFormat(), this._sendEvent();
149
+ t?.thousandSeparator ?? ""
150
+ ), this._commaDecimals = t?.decimalSeparator === ",", this._isAuto = t?.auto, this._setNumericFormat(), this._sendEvent();
153
151
  }
154
152
  _setPrecision() {
155
153
  this._precision = this._precisionElement.value, this._setNumericFormat(), this._sendEvent();
156
154
  }
157
155
  _setNumericFormat() {
158
- var o;
159
- let t = "f";
160
- const e = this.slotContent.subtype === "duration" ? this._durationLevels && ((o = this._durationLevels) == null ? void 0 : o.length) === 1 ? "numeric" : "duration" : "numeric";
161
- 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);
156
+ let e = "f";
157
+ const t = this.slotContent.subtype === "duration" ? this._durationLevels && this._durationLevels?.length === 1 ? "numeric" : "duration" : "numeric";
158
+ 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);
162
159
  }
163
160
  _setAggregationFunc() {
164
- var i;
165
- const t = this._aggregationElement.value, e = this._aggregationFunc, o = this.slotContent.format;
166
- if (t !== (e === "weightedaverage" ? "average" : e)) {
167
- if (this._aggregationFunc = t === "average" && ((i = this._aggregationWeightColumn) != null && i.column) ? "weightedaverage" : t, e === "rate") {
168
- const l = v(o), c = ["%", "y", "a%", "ay"].includes(
169
- l.typeFormat
161
+ const e = this._aggregationElement.value, t = this._aggregationFunc, o = this.slotContent.format;
162
+ if (e !== (t === "weightedaverage" ? "average" : t)) {
163
+ if (this._aggregationFunc = e === "average" && this._aggregationWeightColumn?.column ? "weightedaverage" : e, t === "rate") {
164
+ const r = v(o), m = ["%", "y", "a%", "ay"].includes(
165
+ r.typeFormat
170
166
  );
171
- this.slotContent.subtype === "currency" && c && this._setNumericDisplayAs();
167
+ this.slotContent.subtype === "currency" && m && this._setNumericDisplayAs();
172
168
  }
173
- this._sendEvent(), (this._aggregationFunc === "rate" || e === "rate") && this.requestUpdate();
169
+ this._sendEvent(), (this._aggregationFunc === "rate" || t === "rate") && this.requestUpdate();
174
170
  }
175
171
  }
176
172
  _setAggregationWeight() {
177
- var o;
178
- const t = this._aggregationWeightElement.value, e = this._aggregationFunc;
179
- if (t === "none")
173
+ const e = this._aggregationWeightElement.value, t = this._aggregationFunc;
174
+ if (e === "none")
180
175
  this._aggregationWeightColumn = void 0, this._aggregationFunc === "weightedaverage" && (this._aggregationFunc = "average");
181
176
  else {
182
- let s, i;
183
- for (const l of this.measureColumns ?? []) {
184
- const c = (o = l.columns) == null ? void 0 : o.find((n) => n.id === t);
185
- if (c) {
186
- s = c, i = l.datasetId;
177
+ let o, n;
178
+ for (const r of this.measureColumns ?? []) {
179
+ const m = r.columns?.find((u) => u.id === e);
180
+ if (m) {
181
+ o = m, n = r.datasetId;
187
182
  break;
188
183
  }
189
184
  }
190
- s && (this._aggregationWeightColumn = {
191
- column: s.id,
192
- set: i,
193
- columnSubType: s.subtype
185
+ o && (this._aggregationWeightColumn = {
186
+ column: o.id,
187
+ set: n,
188
+ columnSubType: o.subtype
194
189
  }), this._aggregationFunc === "average" && (this._aggregationFunc = "weightedaverage");
195
190
  }
196
- this._sendEvent(), this.requestUpdate(), (e === "weightedaverage" && this._aggregationFunc === "average" || e === "average" && this._aggregationFunc === "weightedaverage") && this.requestUpdate();
191
+ this._sendEvent(), this.requestUpdate(), (t === "weightedaverage" && this._aggregationFunc === "average" || t === "average" && this._aggregationFunc === "weightedaverage") && this.requestUpdate();
197
192
  }
198
193
  _setDurationLevels() {
199
- const t = this._durationLevels, e = this._durationLevelsElement.value.split(",").filter((o) => o !== "").map((o) => Number.parseInt(o, 10));
200
- 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();
194
+ const e = this._durationLevels, t = this._durationLevelsElement.value.split(",").filter((o) => o !== "").map((o) => Number.parseInt(o, 10));
195
+ this._durationLevels = (t?.length ?? 0) >= 1 ? t : e, this._maxDurationLevel = Math.min(...this._durationLevels), this._fillTimeDurationLevels(), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
201
196
  }
202
197
  _setDurationFormat() {
203
- var t, e;
204
- this._durationFormat = (e = (t = this._durationFormatElement) == null ? void 0 : t.selected) == null ? void 0 : e[0], this._fillTimeDurationLevels(), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
198
+ this._durationFormat = this._durationFormatElement?.selected?.[0], this._fillTimeDurationLevels(), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
205
199
  }
206
200
  _fillTimeDurationLevels() {
207
201
  if (this._durationFormat === "time") {
208
- const t = this._durationLevels.sort().at(-1);
209
- if ([7, 8, 9].includes(t)) {
210
- const e = {
202
+ const e = this._durationLevels.sort().at(-1);
203
+ if ([7, 8, 9].includes(e)) {
204
+ const t = {
211
205
  lev7: [6],
212
206
  lev8: [6, 7],
213
207
  lev9: [6, 7, 8]
214
208
  };
215
- for (const o of e["lev" + t])
209
+ for (const o of t["lev" + e])
216
210
  this._durationLevels.includes(o) || this._durationLevels.push(o);
217
211
  this._durationLevels = [...this._durationLevels].sort();
218
212
  }
@@ -254,39 +248,37 @@ let u = class extends M(I, {
254
248
  });
255
249
  }
256
250
  } */
257
- willUpdate(t) {
258
- var e, o, s, i, l;
259
- 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);
251
+ willUpdate(e) {
252
+ 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);
260
253
  }
261
254
  firstUpdated() {
262
- var t;
263
- (t = this.slotContent) != null && t.duration && this._durationLevelsOverlay.addEventListener(
255
+ this.slotContent?.duration && this._durationLevelsOverlay.addEventListener(
264
256
  "slottable-request",
265
257
  (e) => {
266
- this._renderDurationLevelMenu = e.data !== C;
258
+ this._renderDurationLevelMenu = e.data !== S;
267
259
  }
268
260
  );
269
261
  }
270
262
  _renderDurationLevelsSettings() {
271
- const t = P.levels.map((e) => {
263
+ const e = j.levels.map((t) => {
272
264
  let o = !1;
273
- 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
274
- value=${e.level}
275
- ?selected=${this._durationLevels.includes(e.level)}
265
+ 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
266
+ value=${t.level}
267
+ ?selected=${this._durationLevels.includes(t.level)}
276
268
  ?disabled=${o}
277
269
  >
278
- ${e.label}
270
+ ${t.label}
279
271
  </luzmo-menu-item>`;
280
272
  });
281
- return r` <div class="setting">
273
+ return s` <div class="setting">
282
274
  <luzmo-field-label for="duration-levels">
283
- ${a("Duration levels", { desc: "Label for duration levels setting" })}
275
+ ${i("Duration levels", { desc: "Label for duration levels setting" })}
284
276
  </luzmo-field-label>
285
277
  <luzmo-action-button id="duration-levels-trigger" size=${this.size}>
286
278
  ${this._durationLevels.length}
287
279
  ${this._durationLevels.length === 1 ? "level" : "levels"} active
288
280
  <span class="duration-angle-down-icon">
289
- ${h(S)}
281
+ ${g(L)}
290
282
  </span>
291
283
  </luzmo-action-button>
292
284
  <luzmo-overlay
@@ -297,26 +289,26 @@ let u = class extends M(I, {
297
289
  type="page"
298
290
  >
299
291
  <luzmo-popover style="position: relative">
300
- ${this._renderDurationLevelMenu ? r` <luzmo-menu
292
+ ${this._renderDurationLevelMenu ? s` <luzmo-menu
301
293
  id="duration-levels"
302
294
  size=${this.size}
303
295
  selects="multiple"
304
296
  .value=${this._durationLevels.join(",")}
305
297
  @change=${this._setDurationLevels}
306
298
  >
307
- ${t}
299
+ ${e}
308
300
  </luzmo-menu>` : ""}
309
301
  </luzmo-popover>
310
302
  </luzmo-overlay>
311
303
  </div>`;
312
304
  }
313
305
  _renderDurationFormatSettings() {
314
- const t = Object.keys(x).map((e) => e === "time" && (this._maxDurationLevel ?? 1) < 6 ? "" : r`<luzmo-action-button value=${e}>
315
- ${x[e]()}
306
+ const e = Object.keys(y).map((t) => t === "time" && (this._maxDurationLevel ?? 1) < 6 ? "" : s`<luzmo-action-button value=${t}>
307
+ ${y[t]()}
316
308
  </luzmo-action-button>`);
317
- return r` <div class="setting">
309
+ return s` <div class="setting">
318
310
  <luzmo-field-label for="duration-format">
319
- ${a("Format", { desc: "Label for format setting" })}
311
+ ${i("Format", { desc: "Label for format setting" })}
320
312
  </luzmo-field-label>
321
313
  <luzmo-action-group
322
314
  emphasized
@@ -327,24 +319,21 @@ let u = class extends M(I, {
327
319
  selects="single"
328
320
  @change=${this._setDurationFormat}
329
321
  >
330
- ${t}
322
+ ${e}
331
323
  </luzmo-action-group>
332
324
  </div>`;
333
325
  }
334
326
  _renderNumericDisplayAsSettings() {
335
- const t = Object.keys(y).filter(
336
- (e) => {
337
- var o;
338
- return e !== "percentage" || (this.slotContent.subtype !== "currency" || this.slotContent.aggregationFunc === "rate") && ((o = this.slotContent.periodOverPeriod) == null ? void 0 : o.type) !== "percentageChange";
339
- }
327
+ const e = Object.keys(b).filter(
328
+ (t) => t !== "percentage" || (this.slotContent.subtype !== "currency" || this.slotContent.aggregationFunc === "rate") && this.slotContent.periodOverPeriod?.type !== "percentageChange"
340
329
  ).map(
341
- (e) => r`<luzmo-action-button value=${e}
342
- >${y[e]}</luzmo-action-button
330
+ (t) => s`<luzmo-action-button value=${t}
331
+ >${b[t]}</luzmo-action-button
343
332
  >`
344
333
  );
345
- return r`<div class="setting">
334
+ return s`<div class="setting">
346
335
  <luzmo-field-label for="display-as">
347
- ${a("Display as", {
336
+ ${i("Display as", {
348
337
  desc: "Label for display as setting for the datetime field"
349
338
  })}
350
339
  </luzmo-field-label>
@@ -357,19 +346,19 @@ let u = class extends M(I, {
357
346
  selects="single"
358
347
  @change=${this._setNumericDisplayAs}
359
348
  >
360
- ${t}
349
+ ${e}
361
350
  </luzmo-action-group>
362
351
  </div>`;
363
352
  }
364
353
  _renderNumericFormatSettings() {
365
- const t = Object.entries(A).filter(
366
- ([, { hiddenFor: e }]) => !e || e !== this._displayAs
354
+ const e = Object.entries(x).filter(
355
+ ([, { hiddenFor: t }]) => !t || t !== this._displayAs
367
356
  ).map(
368
- ([e, { label: o }]) => r`<luzmo-menu-item value=${e}>${o()}</luzmo-menu-item>`
357
+ ([t, { label: o }]) => s`<luzmo-menu-item value=${t}>${o()}</luzmo-menu-item>`
369
358
  );
370
- return r` <div class="setting">
359
+ return s` <div class="setting">
371
360
  <luzmo-field-label for="format">
372
- ${a("Format", { desc: "Label for format setting" })}
361
+ ${i("Format", { desc: "Label for format setting" })}
373
362
  </luzmo-field-label>
374
363
  <luzmo-picker
375
364
  id="format"
@@ -378,14 +367,14 @@ let u = class extends M(I, {
378
367
  value=${this._numericFormatGroup ?? "Auto"}
379
368
  @change=${this._setNumericSeparators}
380
369
  >
381
- ${t}
370
+ ${e}
382
371
  </luzmo-picker>
383
372
  </div>
384
373
  <div class="setting">
385
374
  <luzmo-field-label for="precision" id="precision-label">
386
- ${this._displayAs === "scientific" ? a("Precision", {
375
+ ${this._displayAs === "scientific" ? i("Precision", {
387
376
  desc: "Label for precision setting"
388
- }) : a("Decimals", {
377
+ }) : i("Decimals", {
389
378
  desc: "Label for decimals setting"
390
379
  })}
391
380
  </luzmo-field-label>
@@ -400,84 +389,79 @@ let u = class extends M(I, {
400
389
  </div>`;
401
390
  }
402
391
  _renderAggregationSettings() {
403
- var o;
404
- const t = Object.entries(j).filter(
405
- ([s]) => {
406
- var i;
407
- return ["count", "distinctcount"].includes(s) || ((i = this.slotContent) == null ? void 0 : i.type) === "numeric";
408
- }
409
- ).filter(([s]) => s !== "cumulativesum" || this.isCumulativeSumEnabled).map(
410
- ([s, i]) => r`<luzmo-menu-item value=${s}>${i()}</luzmo-menu-item>`
411
- ), e = [
412
- r`<luzmo-menu-item value="none" class="no-weight">
392
+ const e = Object.entries(U).filter(
393
+ ([o]) => ["count", "distinctcount"].includes(o) || this.slotContent?.type === "numeric"
394
+ ).filter(([o]) => o !== "cumulativesum" || this.isCumulativeSumEnabled).map(
395
+ ([o, n]) => s`<luzmo-menu-item value=${o}>${n()}</luzmo-menu-item>`
396
+ ), t = [
397
+ s`<luzmo-menu-item value="none" class="no-weight">
413
398
  <span class="no-weight-label">No weight</span>
414
399
  </luzmo-menu-item>`,
415
- ...(this.measureColumns ?? []).flatMap((s) => {
416
- const i = typeof s.datasetName == "object" ? b(
417
- s.datasetName,
400
+ ...(this.measureColumns ?? []).flatMap((o) => {
401
+ const n = typeof o.datasetName == "object" ? _(
402
+ o.datasetName,
418
403
  this.language
419
- ) : s.datasetName, l = r`<div class="dataset-header">
420
- ${i}
404
+ ) : o.datasetName, r = s`<div class="dataset-header">
405
+ ${n}
421
406
  <luzmo-tooltip self-managed placement="right" size=${this.size}>
422
- ${i}
407
+ ${n}
423
408
  </luzmo-tooltip>
424
- </div>`, c = (s.columns ?? []).map((n) => {
425
- const p = typeof n.name == "object" ? b(n.name, this.language) : n.name, F = h(D(n, "s")), f = n.expression ? N("derived", "s") : void 0, z = !!f, $ = z ? r`<span class="secondary-icon"
426
- >${h(f)}</span
427
- >` : _;
428
- return r`<luzmo-menu-item value=${n.id}>
409
+ </div>`, m = (o.columns ?? []).map((u) => {
410
+ const h = typeof u.name == "object" ? _(u.name, this.language) : u.name, A = g(C(u, "s")), p = u.expression ? D("derived", "s") : void 0, f = !!p, F = f ? s`<span class="secondary-icon"
411
+ >${g(p)}</span
412
+ >` : z;
413
+ return s`<luzmo-menu-item value=${u.id}>
429
414
  <span class="data-icon-type" slot="icon">
430
- <span class=${z ? "with-secondary-icon" : ""}
431
- >${F}</span
415
+ <span class=${f ? "with-secondary-icon" : ""}
416
+ >${A}</span
432
417
  >
433
- ${$}
418
+ ${F}
434
419
  </span>
435
- <span class="column-label text-truncate">${p}</span>
420
+ <span class="column-label text-truncate">${h}</span>
436
421
  <luzmo-tooltip self-managed placement="right" size=${this.size}>
437
- ${p}
422
+ ${h}
438
423
  </luzmo-tooltip>
439
424
  </luzmo-menu-item>`;
440
425
  });
441
- return [l, ...c];
426
+ return [r, ...m];
442
427
  })
443
428
  ];
444
- return r`<div class="settings-row">
429
+ return s`<div class="settings-row">
445
430
  <div class="setting">
446
431
  <luzmo-field-label for="aggregation">
447
- ${a("Aggregation", { desc: "Label for aggregation setting" })}
432
+ ${i("Aggregation", { desc: "Label for aggregation setting" })}
448
433
  </luzmo-field-label>
449
434
  <luzmo-picker
450
435
  id="aggregation"
451
436
  size=${this.size}
452
437
  variant="highlight"
453
438
  value=${(() => {
454
- var i;
455
- const s = ((i = this.slotContent) == null ? void 0 : i.type) === "numeric" ? "sum" : "count";
456
- return this._aggregationFunc === "weightedaverage" ? "average" : this._aggregationFunc ?? s;
439
+ const o = this.slotContent?.type === "numeric" ? "sum" : "count";
440
+ return this._aggregationFunc === "weightedaverage" ? "average" : this._aggregationFunc ?? o;
457
441
  })()}
458
442
  @change=${this._setAggregationFunc}
459
443
  >
460
- ${t}
444
+ ${e}
461
445
  </luzmo-picker>
462
446
  </div>
463
447
  ${["rate", "average", "weightedaverage"].includes(
464
448
  this._aggregationFunc ?? ""
465
- ) ? r`<div class="setting">
449
+ ) ? s`<div class="setting">
466
450
  <luzmo-field-label for="weighting-column">
467
451
  ${this._aggregationFunc === "rate" ? "Denominator" : "Weight"}
468
452
  </luzmo-field-label>
469
- ${this.measureColumns.length > 0 ? r`
453
+ ${this.measureColumns.length > 0 ? s`
470
454
  <luzmo-picker
471
455
  id="weighting-column"
472
456
  size=${this.size}
473
457
  variant="highlight"
474
458
  icons="none"
475
- value=${((o = this._aggregationWeightColumn) == null ? void 0 : o.column) ?? "none"}
459
+ value=${this._aggregationWeightColumn?.column ?? "none"}
476
460
  @change=${this._setAggregationWeight}
477
461
  >
478
- ${e}
462
+ ${t}
479
463
  </luzmo-picker>
480
- ` : r`<luzmo-picker
464
+ ` : s`<luzmo-picker
481
465
  id="weighting-column"
482
466
  size=${this.size}
483
467
  variant="highlight"
@@ -490,63 +474,62 @@ let u = class extends M(I, {
490
474
  </div>`;
491
475
  }
492
476
  render() {
493
- var t;
494
- return r`<div class="settings-container">
477
+ return s`<div class="settings-container">
495
478
  <div class="settings-row">
496
479
  ${this._displayMode === "duration" ? this._renderDurationLevelsSettings() : this._renderNumericDisplayAsSettings()}
497
- ${((t = this._durationLevels) == null ? void 0 : t.length) > 1 ? this._renderDurationFormatSettings() : this._renderNumericFormatSettings()}
480
+ ${this._durationLevels?.length > 1 ? this._renderDurationFormatSettings() : this._renderNumericFormatSettings()}
498
481
  </div>
499
- ${this._isFormula || this.isAggregationDisabled ? _ : this._renderAggregationSettings()}
482
+ ${this._isFormula || this.isAggregationDisabled ? z : this._renderAggregationSettings()}
500
483
  </div>
501
484
  </div>`;
502
485
  }
503
486
  };
504
- m([
505
- g({ type: String, reflect: !0 })
506
- ], u.prototype, "language", 2);
507
- m([
508
- g({ type: Object, reflect: !0 })
509
- ], u.prototype, "slotContent", 2);
510
- m([
511
- g({ type: Array, reflect: !1 })
512
- ], u.prototype, "measureColumns", 2);
513
- m([
514
- g({ type: Boolean })
515
- ], u.prototype, "isAggregationDisabled", 2);
516
- m([
517
- g({ type: Boolean })
518
- ], u.prototype, "isCumulativeSumEnabled", 2);
519
- m([
520
- d("#display-as")
521
- ], u.prototype, "_displayAsElement", 2);
522
- m([
523
- d("#precision")
524
- ], u.prototype, "_precisionElement", 2);
525
- m([
526
- d("#aggregation")
527
- ], u.prototype, "_aggregationElement", 2);
528
- m([
529
- d("#weighting-column")
530
- ], u.prototype, "_aggregationWeightElement", 2);
531
- m([
532
- d("#duration-levels")
533
- ], u.prototype, "_durationLevelsElement", 2);
534
- m([
535
- d("#duration-format")
536
- ], u.prototype, "_durationFormatElement", 2);
537
- m([
538
- d("#duration-levels-overlay")
539
- ], u.prototype, "_durationLevelsOverlay", 2);
540
- m([
541
- E()
542
- ], u.prototype, "_renderDurationLevelMenu", 2);
543
- u = m([
544
- w()
545
- ], u);
487
+ l([
488
+ d({ type: String, reflect: !0 })
489
+ ], a.prototype, "language", 2);
490
+ l([
491
+ d({ type: Object, reflect: !0 })
492
+ ], a.prototype, "slotContent", 2);
493
+ l([
494
+ d({ type: Array, reflect: !1 })
495
+ ], a.prototype, "measureColumns", 2);
496
+ l([
497
+ d({ type: Boolean })
498
+ ], a.prototype, "isAggregationDisabled", 2);
499
+ l([
500
+ d({ type: Boolean })
501
+ ], a.prototype, "isCumulativeSumEnabled", 2);
502
+ l([
503
+ c("#display-as")
504
+ ], a.prototype, "_displayAsElement", 2);
505
+ l([
506
+ c("#precision")
507
+ ], a.prototype, "_precisionElement", 2);
508
+ l([
509
+ c("#aggregation")
510
+ ], a.prototype, "_aggregationElement", 2);
511
+ l([
512
+ c("#weighting-column")
513
+ ], a.prototype, "_aggregationWeightElement", 2);
514
+ l([
515
+ c("#duration-levels")
516
+ ], a.prototype, "_durationLevelsElement", 2);
517
+ l([
518
+ c("#duration-format")
519
+ ], a.prototype, "_durationFormatElement", 2);
520
+ l([
521
+ c("#duration-levels-overlay")
522
+ ], a.prototype, "_durationLevelsOverlay", 2);
523
+ l([
524
+ N()
525
+ ], a.prototype, "_renderDurationLevelMenu", 2);
526
+ a = l([
527
+ $()
528
+ ], a);
546
529
  customElements.get("luzmo-display-settings-numeric") || customElements.define(
547
530
  "luzmo-display-settings-numeric",
548
- u
531
+ a
549
532
  );
550
533
  export {
551
- u as LuzmoDisplaySettingsNumeric
534
+ a as LuzmoDisplaySettingsNumeric
552
535
  };