@luzmo/analytics-components-kit 1.0.1-alpha.90 → 1.0.1-alpha.94

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 (253) hide show
  1. package/README.md +195 -0
  2. package/angular/README.md +1 -0
  3. package/angular/components/widget-menu.component.ts +25 -0
  4. package/angular/esm/components/widget-menu.component.d.ts +13 -0
  5. package/angular/esm/components/widget-menu.component.js +49 -0
  6. package/angular/esm/index.d.ts +3 -1
  7. package/angular/esm/index.js +4 -1
  8. package/angular/esm/types.d.ts +4 -0
  9. package/angular/index.ts +4 -1
  10. package/angular/types.ts +6 -0
  11. package/components/ai-chat-message-assistant/index.cjs +1 -1
  12. package/components/ai-chat-message-assistant/index.js +1 -0
  13. package/components/ai-chat-messages-container/index.cjs +1 -1
  14. package/components/ai-chat-messages-container/index.js +2 -2
  15. package/components/ai-interaction-textarea/index.cjs +1 -1
  16. package/components/ai-interaction-textarea/index.js +2 -1
  17. package/components/area-chart-options.config-C7sMAHco.cjs +20 -0
  18. package/components/{area-chart-options.config-u8itidsi.js → area-chart-options.config-_J0sG4NF.js} +26 -14
  19. package/components/{bar-chart-options.config-DIirbAJ0.js → bar-chart-options.config-D1mb5TDl.js} +35 -21
  20. package/components/bar-chart-options.config-DcxEkOT5.cjs +20 -0
  21. package/components/box-plot-options.config-SrrbDEYW.cjs +20 -0
  22. package/components/{box-plot-options.config-BWROiguA.js → box-plot-options.config-xu_i6ms7.js} +88 -52
  23. package/components/{bubble-chart-options.config-4QD8VPhU.js → bubble-chart-options.config-BacgXkJ_.js} +18 -9
  24. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +20 -0
  25. package/components/{bullet-chart-options.config-3bH7uekx.js → bullet-chart-options.config-CDPpX1yc.js} +1 -1
  26. package/components/{bullet-chart-options.config-tWb6Fio-.cjs → bullet-chart-options.config-DfS4Bwds.cjs} +1 -1
  27. package/components/calculate-data-item-icon-CEa82-5u.cjs +20 -0
  28. package/components/calculate-data-item-icon-DjlZwMdO.js +147 -0
  29. package/components/{choropleth-map-options.config-CMxx3ORp.js → choropleth-map-options.config-B_W9-rhe.js} +84 -63
  30. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
  31. package/components/{circular-gauge-options.config-DhIKn44k.js → circular-gauge-options.config-DAIjz4Rl.js} +36 -23
  32. package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
  33. package/components/color-B6LaL8qz.cjs +20 -0
  34. package/components/{color-B7m0j8lX.js → color-DuJ4-73S.js} +950 -941
  35. package/components/{color-range-utils-BSfqtB3A.js → color-range-utils-Bvo9sm5A.js} +32 -31
  36. package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
  37. package/components/{column-chart-options.config-D5-yR7iq.js → column-chart-options.config-B5SjBVdy.js} +37 -27
  38. package/components/column-chart-options.config-BjDvA7i9.cjs +20 -0
  39. package/components/{conditional-number-options.config-DPYsdML5.js → conditional-number-options.config-BCEpSK9J.js} +40 -24
  40. package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
  41. package/components/dataset-icon/index.cjs +1 -1
  42. package/components/dataset-icon/index.js +2 -1
  43. package/components/dataset-selector-list/index.cjs +1 -1
  44. package/components/dataset-selector-list/index.js +35 -32
  45. package/components/dataset-selector-row/index.cjs +9 -9
  46. package/components/dataset-selector-row/index.js +53 -51
  47. package/components/{date-comparison-filter-options.config-QaoWaFUn.cjs → date-comparison-filter-options.config-DAVncmi0.cjs} +1 -1
  48. package/components/{date-comparison-filter-options.config-CSwGyuBg.js → date-comparison-filter-options.config-JA_yYpJa.js} +6 -3
  49. package/components/{date-filter-options.config-n-zhWaYa.cjs → date-filter-options.config-CWPMtA18.cjs} +1 -1
  50. package/components/{date-filter-options.config-BTVyHRkp.js → date-filter-options.config-DBRxlTWy.js} +6 -3
  51. package/components/display-settings/index.cjs +1 -1
  52. package/components/display-settings/index.js +1 -1
  53. package/components/display-settings-binning/index.cjs +5 -5
  54. package/components/display-settings-binning/index.js +30 -29
  55. package/components/display-settings-datetime/index.cjs +29 -29
  56. package/components/display-settings-datetime/index.js +120 -112
  57. package/components/display-settings-grand-totals/index.cjs +4 -4
  58. package/components/display-settings-grand-totals/index.js +24 -23
  59. package/components/display-settings-numeric/index.cjs +48 -48
  60. package/components/display-settings-numeric/index.js +211 -194
  61. package/components/display-settings-period-over-period/index.cjs +16 -16
  62. package/components/display-settings-period-over-period/index.js +97 -91
  63. package/components/{donut-chart-options.config-3ZqX8Cbb.js → donut-chart-options.config-BulUEiaH.js} +37 -21
  64. package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
  65. package/components/draggable-data-item/index.cjs +5 -5
  66. package/components/draggable-data-item/index.js +46 -45
  67. package/components/draggable-data-item-level/index.cjs +11 -11
  68. package/components/draggable-data-item-level/index.js +73 -70
  69. package/components/{dropdown-filter-options.config-CGJTtgAX.js → dropdown-filter-options.config-D9dvPypF.js} +10 -7
  70. package/components/{dropdown-filter-options.config-DJvfCTk7.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
  71. package/components/droppable-slot/index.cjs +16 -16
  72. package/components/droppable-slot/index.js +223 -208
  73. package/components/edit-item/index.cjs +9 -9
  74. package/components/edit-item/index.js +119 -116
  75. package/components/edit-option/index.cjs +1 -1
  76. package/components/edit-option/index.js +1 -1
  77. package/components/edit-option-action-button-group/index.cjs +8 -8
  78. package/components/edit-option-action-button-group/index.js +53 -52
  79. package/components/{edit-option-base-Bh29-Cak.js → edit-option-base-DIc7iC-b.js} +1 -1
  80. package/components/{edit-option-base-tFr8Qg2B.cjs → edit-option-base-VhTih9T1.cjs} +1 -1
  81. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  82. package/components/edit-option-color-palette-picker/index.js +1 -1
  83. package/components/edit-option-color-picker/index.cjs +1 -1
  84. package/components/edit-option-color-picker/index.js +1 -1
  85. package/components/edit-option-color-range/index.cjs +19 -19
  86. package/components/edit-option-color-range/index.js +117 -106
  87. package/components/edit-option-multi-language-field/index.cjs +3 -3
  88. package/components/edit-option-multi-language-field/index.js +27 -26
  89. package/components/edit-option-number-field/index.cjs +1 -1
  90. package/components/edit-option-number-field/index.js +1 -1
  91. package/components/edit-option-picker/index.cjs +5 -5
  92. package/components/edit-option-picker/index.js +7 -7
  93. package/components/edit-option-position-picker/index.cjs +4 -4
  94. package/components/edit-option-position-picker/index.js +25 -21
  95. package/components/edit-option-positions-number-field/index.cjs +9 -9
  96. package/components/edit-option-positions-number-field/index.js +81 -76
  97. package/components/edit-option-radio-button-group/index.cjs +6 -6
  98. package/components/edit-option-radio-button-group/index.js +22 -21
  99. package/components/edit-option-slider/index.cjs +1 -1
  100. package/components/edit-option-slider/index.js +1 -1
  101. package/components/edit-option-switch/index.cjs +1 -1
  102. package/components/edit-option-switch/index.js +1 -1
  103. package/components/edit-option-text-field/index.cjs +2 -2
  104. package/components/edit-option-text-field/index.js +23 -22
  105. package/components/en-BKBhKBXY.cjs +20 -0
  106. package/components/en-BOTjhwEc.js +1488 -0
  107. package/components/{en-GB-ialeqj_z.js → en-GB-CEHEs8F2.js} +1 -1
  108. package/components/{en-GB-TqvgIw9B.cjs → en-GB-DG6uS3sM.cjs} +1 -1
  109. package/components/{evolution-number-options.config-Bc9eKYnn.cjs → evolution-number-options.config-BgIZY4gQ.cjs} +1 -1
  110. package/components/{evolution-number-options.config-BIPO_4n3.js → evolution-number-options.config-DzkfeoIN.js} +14 -11
  111. package/components/{extrapolate-color-C0n1UDs-.cjs → extrapolate-color-0j_AeYkz.cjs} +1 -1
  112. package/components/{extrapolate-color-v1PimdQr.js → extrapolate-color-CC9CURf6.js} +1 -1
  113. package/components/filter-data-item-picker/index.cjs +7 -7
  114. package/components/filter-data-item-picker/index.js +86 -85
  115. package/components/filter-expression-picker/index.cjs +1 -1
  116. package/components/filter-expression-picker/index.js +1 -1
  117. package/components/filter-item/index.cjs +6 -6
  118. package/components/filter-item/index.js +119 -109
  119. package/components/filter-value-picker/index.cjs +2 -2
  120. package/components/filter-value-picker/index.js +36 -34
  121. package/components/filter-value-picker-datetime/index.cjs +8 -8
  122. package/components/filter-value-picker-datetime/index.js +71 -56
  123. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  124. package/components/filter-value-picker-hierarchy/index.js +124 -113
  125. package/components/filter-value-picker-numeric/index.cjs +8 -8
  126. package/components/filter-value-picker-numeric/index.js +110 -101
  127. package/components/focusable-B3E_hQmm.cjs +20 -0
  128. package/components/{focusable-BS2pbY7w.js → focusable-DCIFkpiW.js} +26 -24
  129. package/components/{funnel-chart-options.config-CrJy2U7_.js → funnel-chart-options.config-C_VjTOvD.js} +20 -5
  130. package/components/funnel-chart-options.config-D7H7gFcx.cjs +20 -0
  131. package/components/get-css-variable-BEYG097C.js +1446 -0
  132. package/components/get-css-variable-BZxY4IOa.cjs +35 -0
  133. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  134. package/components/{get-css-variable-CdwF98oh.js → get-css-variable-YlLiVgo8.js} +35 -35
  135. package/components/grid/index.cjs +49 -43
  136. package/components/grid/index.js +1878 -2610
  137. package/components/{heat-map-options.config-CmL87j1j.js → heat-map-options.config-BnLWe8jS.js} +41 -35
  138. package/components/heat-map-options.config-DVH-Bb5-.cjs +20 -0
  139. package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
  140. package/components/{heat-table-options.config-BrCYAgYD.js → heat-table-options.config-CUsDdgUr.js} +88 -60
  141. package/components/helpers-DXQwEH1P.cjs +20 -0
  142. package/components/helpers-v1bPALRP.js +91 -0
  143. package/components/hexbin-map-options.config-DZERRhM8.cjs +20 -0
  144. package/components/{hexbin-map-options.config-BguV1w8q.js → hexbin-map-options.config-F-7uCqxb.js} +38 -20
  145. package/components/{index-BNAmjOkm.cjs → index-BPNsFiyq.cjs} +4 -4
  146. package/components/index-CDi4fe3N.js +1716 -0
  147. package/components/index-CQ9ck-BO.cjs +249 -0
  148. package/components/index-CXn67vdn.cjs +121 -0
  149. package/components/{index-haa7WNrl.js → index-CdIUfo-L.js} +481 -453
  150. package/components/index-Cz9vSXy6.cjs +20 -0
  151. package/components/{index-DdyZ2g5L.js → index-D0GBF6tg.js} +104 -94
  152. package/components/index-Dn0j_pcR.cjs +20 -0
  153. package/components/{index-CqKpf0B8.js → index-Do7O9azB.js} +123 -112
  154. package/components/index-E239Dotg.js +1735 -0
  155. package/components/index.cjs +1 -1
  156. package/components/index.js +20 -18
  157. package/components/item-options-configs.cjs +1 -1
  158. package/components/item-options-configs.js +37 -37
  159. package/components/{line-chart-options.config-BhirTGqD.js → line-chart-options.config-DB3IsXXr.js} +28 -13
  160. package/components/line-chart-options.config-DSugoe0t.cjs +20 -0
  161. package/components/{localize-CcDpq940.js → localize-BX7q0S0M.js} +10 -10
  162. package/components/{localize-C4zNlrwK.cjs → localize-r7ALOUy_.cjs} +1 -1
  163. package/components/{marker-map-options.config-Bx17jmiq.js → marker-map-options.config-DPJ955tt.js} +1 -1
  164. package/components/{marker-map-options.config-CvhCylSC.cjs → marker-map-options.config-_FYZzRwA.cjs} +1 -1
  165. package/components/pivot-table-options.config-BiJXKSFR.cjs +20 -0
  166. package/components/{pivot-table-options.config-CFc7y0IT.js → pivot-table-options.config-DNK_AIG7.js} +24 -15
  167. package/components/pyramid-chart-options.config-C4zbFS26.cjs +20 -0
  168. package/components/{pyramid-chart-options.config-2Waxb11l.js → pyramid-chart-options.config-CcVMatYx.js} +43 -29
  169. package/components/{radar-chart-options.config-CPN5fOl8.js → radar-chart-options.config-CUZn_3Fd.js} +23 -11
  170. package/components/radar-chart-options.config-EqQu6PTh.cjs +20 -0
  171. package/components/{regular-table-options.config-CFKCJQK1.js → regular-table-options.config-BoLZsBry.js} +23 -17
  172. package/components/{regular-table-options.config-YRuoijIk.cjs → regular-table-options.config-DTx3RTnS.cjs} +1 -1
  173. package/components/{route-map-options.config-CyolTJfK.js → route-map-options.config-CN86T7c0.js} +109 -87
  174. package/components/route-map-options.config-D7NJePTu.cjs +20 -0
  175. package/components/{sankey-diagram-options.config-D7OSvSqm.cjs → sankey-diagram-options.config-RFB83YLZ.cjs} +1 -1
  176. package/components/{sankey-diagram-options.config-Ldjk84ro.js → sankey-diagram-options.config-tVLKy_Zn.js} +10 -7
  177. package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
  178. package/components/{scatter-plot-options.config-CfxEfkQ1.js → scatter-plot-options.config-Corlzno1.js} +86 -56
  179. package/components/{search-filter-options.config-Oqco9BKj.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
  180. package/components/{search-filter-options.config-C0syQmP4.js → search-filter-options.config-BE3JhR-F.js} +6 -3
  181. package/components/{set-locale-hKTMz37h.js → set-locale-Dp3N_gXN.js} +8 -1
  182. package/components/{slicer-filter-options.config-DmOe3440.js → slicer-filter-options.config-3JZZcw5C.js} +18 -9
  183. package/components/slicer-filter-options.config-DNI-XevE.cjs +20 -0
  184. package/components/{slider-filter-options.config-B1M8RcDs.js → slider-filter-options.config-DH4SS8wH.js} +1 -1
  185. package/components/{slider-filter-options.config-k45I-t6G.cjs → slider-filter-options.config-_8Z2zKmU.cjs} +1 -1
  186. package/components/slot-contents-picker/index.cjs +33 -33
  187. package/components/slot-contents-picker/index.js +205 -194
  188. package/components/slot-menu/index.cjs +12 -12
  189. package/components/slot-menu/index.js +184 -171
  190. package/components/slot-menu-list/index.cjs +3 -3
  191. package/components/slot-menu-list/index.js +103 -97
  192. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
  193. package/components/{speedometer-chart-options.config-CzOmuEF8.js → speedometer-chart-options.config-SL581yOa.js} +53 -31
  194. package/components/{spike-map-options.config-Cbt1YUw6.js → spike-map-options.config-C5KewecZ.js} +122 -91
  195. package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
  196. package/components/{sunburst-chart-options.config-Yrxc2i57.cjs → sunburst-chart-options.config-AbNjWS6t.cjs} +1 -1
  197. package/components/{sunburst-chart-options.config-_dyLQxPJ.js → sunburst-chart-options.config-CNauGQJv.js} +20 -9
  198. package/components/{symbol-map-options.config-BORL1NSU.js → symbol-map-options.config-DdDA4aa7.js} +20 -11
  199. package/components/symbol-map-options.config-m-lwLTtu.cjs +20 -0
  200. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +20 -0
  201. package/components/{treemap-chart-options.config-B9i9qIm_.js → treemap-chart-options.config-D5AJaF_u.js} +37 -20
  202. package/components/utils.cjs +1 -1
  203. package/components/utils.js +97 -94
  204. package/components/{video-options.config-B0asgYt8.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
  205. package/components/{video-options.config-UX-9MDfS.js → video-options.config-Dk36zJ1B.js} +10 -7
  206. package/components/widget-menu/index.cjs +51 -0
  207. package/components/widget-menu/index.d.ts +8 -0
  208. package/components/widget-menu/index.js +211 -0
  209. package/components/widget-menu/widget-menu.d.ts +77 -0
  210. package/components/{wordcloud-chart-options.config-BKtJT8Va.cjs → wordcloud-chart-options.config-vGfCW8kE.cjs} +1 -1
  211. package/components/{wordcloud-chart-options.config-BoB_KuhA.js → wordcloud-chart-options.config-w2NUIWVA.js} +7 -4
  212. package/custom-elements.json +133 -20
  213. package/index.d.ts +1 -0
  214. package/package.json +6 -1
  215. package/types.d.ts +4 -0
  216. package/components/area-chart-options.config-Bl8bhhOo.cjs +0 -20
  217. package/components/bar-chart-options.config-CePAqM83.cjs +0 -20
  218. package/components/box-plot-options.config-BVNrV2eD.cjs +0 -20
  219. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +0 -20
  220. package/components/calculate-data-item-icon-DMDhKq_m.js +0 -147
  221. package/components/calculate-data-item-icon-DtVGbet3.cjs +0 -20
  222. package/components/choropleth-map-options.config-CWJACFd0.cjs +0 -20
  223. package/components/circular-gauge-options.config-BMxgq3zH.cjs +0 -20
  224. package/components/color-Czp4Im5q.cjs +0 -20
  225. package/components/color-range-utils-DYYR-iwx.cjs +0 -20
  226. package/components/column-chart-options.config-BV9R3ssH.cjs +0 -20
  227. package/components/conditional-number-options.config-Co099Qfm.cjs +0 -20
  228. package/components/donut-chart-options.config-BQyPgnC9.cjs +0 -20
  229. package/components/en-D3ihEGXg.js +0 -1483
  230. package/components/en-DZcn_iz_.cjs +0 -20
  231. package/components/focusable-QLh-LlNt.cjs +0 -20
  232. package/components/funnel-chart-options.config-DrP4AFgk.cjs +0 -20
  233. package/components/get-css-variable-COd1d84B.cjs +0 -24
  234. package/components/heat-map-options.config-CIHnPdYE.cjs +0 -20
  235. package/components/heat-table-options.config-DTlZRc_i.cjs +0 -20
  236. package/components/helpers-9I0oLoUB.cjs +0 -20
  237. package/components/helpers-bR8Ibjqh.js +0 -79
  238. package/components/hexbin-map-options.config-CKnn3VAB.cjs +0 -20
  239. package/components/index-BekTY3Em.cjs +0 -121
  240. package/components/index-CFL6gmIu.cjs +0 -20
  241. package/components/index-DNPULp4A.js +0 -1755
  242. package/components/index-DvkzMbLt.cjs +0 -249
  243. package/components/line-chart-options.config-Cqwou5u6.cjs +0 -20
  244. package/components/pivot-table-options.config-uZDAertf.cjs +0 -20
  245. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +0 -20
  246. package/components/radar-chart-options.config-CtNUMN1l.cjs +0 -20
  247. package/components/route-map-options.config-CVTk5RVL.cjs +0 -20
  248. package/components/scatter-plot-options.config-5gN7pMTm.cjs +0 -20
  249. package/components/slicer-filter-options.config-CrusP6a0.cjs +0 -20
  250. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +0 -20
  251. package/components/spike-map-options.config-BkkDqb4g.cjs +0 -20
  252. package/components/symbol-map-options.config-NpBKm64d.cjs +0 -20
  253. package/components/treemap-chart-options.config-x4J54WSw.cjs +0 -20
@@ -20,10 +20,10 @@
20
20
  import { Task as f } from "@lit/task";
21
21
  import "@luzmo/lucero/accordion";
22
22
  import "@luzmo/lucero/divider";
23
- import { html as e, unsafeCSS as u } from "lit";
24
- import { property as m } from "lit/decorators.js";
25
- import { L as h } from "../focusable-BS2pbY7w.js";
26
- import { g as b } from "../index-haa7WNrl.js";
23
+ import { html as m, unsafeCSS as u } from "lit";
24
+ import { property as a } from "lit/decorators.js";
25
+ import { L as h } from "../focusable-DCIFkpiW.js";
26
+ import { g as b } from "../index-CdIUfo-L.js";
27
27
  (function() {
28
28
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
29
29
  const i = document.createElement("style");
@@ -31,83 +31,83 @@ import { g as b } from "../index-haa7WNrl.js";
31
31
  }
32
32
  })();
33
33
  const g = ":host{font-size:var(--luzmo-edit-item-font-size, var(--luzmo-font-size))}:host luzmo-divider{display:block;margin:var(--luzmo-edit-item-divider-vertical-margin, calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2))) 0}:host luzmo-edit-option{display:block;margin:var(--luzmo-edit-option-divider-vertical-margin, var(--luzmo-spacing-4)) 0}:host([size=s]){font-size:var(--luzmo-edit-item-font-size-s, var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-edit-item-font-size-l, var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-edit-item-font-size-xl, var(--luzmo-font-size-xl))}";
34
- var z = Object.defineProperty, p = (d, i, o, n) => {
35
- for (var t = void 0, l = d.length - 1, s; l >= 0; l--)
36
- (s = d[l]) && (t = s(i, o, t) || t);
37
- return t && z(i, o, t), t;
34
+ var z = Object.defineProperty, l = (d, i, e, n) => {
35
+ for (var o = void 0, r = d.length - 1, s; r >= 0; r--)
36
+ (s = d[r]) && (o = s(i, e, o) || o);
37
+ return o && z(i, e, o), o;
38
38
  };
39
39
  const c = class c extends h {
40
40
  constructor() {
41
41
  super(...arguments), this._loadItemConfig = new f(this, {
42
42
  task: async ([
43
43
  i,
44
- o,
44
+ e,
45
45
  n,
46
- t
46
+ o
47
47
  ]) => {
48
- let l = !1;
48
+ let r = !1;
49
49
  if (i && i !== this._itemTypeLoaded && !n) {
50
50
  const s = /* @__PURE__ */ Object.assign({
51
- "../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-u8itidsi.js"),
52
- "../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-DIirbAJ0.js"),
53
- "../../item-definitions/box-plot/box-plot-options.config.ts": () => import("../box-plot-options.config-BWROiguA.js"),
54
- "../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-4QD8VPhU.js"),
55
- "../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("../bullet-chart-options.config-3bH7uekx.js"),
56
- "../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("../choropleth-map-options.config-CMxx3ORp.js"),
51
+ "../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-_J0sG4NF.js"),
52
+ "../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-D1mb5TDl.js"),
53
+ "../../item-definitions/box-plot/box-plot-options.config.ts": () => import("../box-plot-options.config-xu_i6ms7.js"),
54
+ "../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-BacgXkJ_.js"),
55
+ "../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("../bullet-chart-options.config-CDPpX1yc.js"),
56
+ "../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("../choropleth-map-options.config-B_W9-rhe.js"),
57
57
  "../../item-definitions/circle-pack-chart/circle-pack-chart-options.config.ts": () => import("../circle-pack-chart-options.config-DEYL3DMK.js"),
58
- "../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("../circular-gauge-options.config-DhIKn44k.js"),
59
- "../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-D5-yR7iq.js"),
58
+ "../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("../circular-gauge-options.config-DAIjz4Rl.js"),
59
+ "../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-B5SjBVdy.js"),
60
60
  "../../item-definitions/combination-chart/combination-chart-options.config.ts": () => import("../combination-chart-options.config-CApdgFvv.js"),
61
- "../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("../conditional-number-options.config-DPYsdML5.js"),
62
- "../../item-definitions/date-comparison-filter/date-comparison-filter-options.config.ts": () => import("../date-comparison-filter-options.config-CSwGyuBg.js"),
63
- "../../item-definitions/date-filter/date-filter-options.config.ts": () => import("../date-filter-options.config-BTVyHRkp.js"),
64
- "../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("../donut-chart-options.config-3ZqX8Cbb.js"),
65
- "../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("../dropdown-filter-options.config-CGJTtgAX.js"),
66
- "../../item-definitions/evolution-number/evolution-number-options.config.ts": () => import("../evolution-number-options.config-BIPO_4n3.js"),
67
- "../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("../funnel-chart-options.config-CrJy2U7_.js"),
68
- "../../item-definitions/heat-map/heat-map-options.config.ts": () => import("../heat-map-options.config-CmL87j1j.js"),
69
- "../../item-definitions/heat-table/heat-table-options.config.ts": () => import("../heat-table-options.config-BrCYAgYD.js"),
70
- "../../item-definitions/hexbin-map/hexbin-map-options.config.ts": () => import("../hexbin-map-options.config-BguV1w8q.js"),
61
+ "../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("../conditional-number-options.config-BCEpSK9J.js"),
62
+ "../../item-definitions/date-comparison-filter/date-comparison-filter-options.config.ts": () => import("../date-comparison-filter-options.config-JA_yYpJa.js"),
63
+ "../../item-definitions/date-filter/date-filter-options.config.ts": () => import("../date-filter-options.config-DBRxlTWy.js"),
64
+ "../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("../donut-chart-options.config-BulUEiaH.js"),
65
+ "../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("../dropdown-filter-options.config-D9dvPypF.js"),
66
+ "../../item-definitions/evolution-number/evolution-number-options.config.ts": () => import("../evolution-number-options.config-DzkfeoIN.js"),
67
+ "../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("../funnel-chart-options.config-C_VjTOvD.js"),
68
+ "../../item-definitions/heat-map/heat-map-options.config.ts": () => import("../heat-map-options.config-BnLWe8jS.js"),
69
+ "../../item-definitions/heat-table/heat-table-options.config.ts": () => import("../heat-table-options.config-CUsDdgUr.js"),
70
+ "../../item-definitions/hexbin-map/hexbin-map-options.config.ts": () => import("../hexbin-map-options.config-F-7uCqxb.js"),
71
71
  "../../item-definitions/image/image-options.config.ts": () => import("../image-options.config-CBfeq5Zw.js"),
72
72
  "../../item-definitions/item-options.config.ts": () => import("../item-options-configs.js"),
73
- "../../item-definitions/line-chart/line-chart-options.config.ts": () => import("../line-chart-options.config-BhirTGqD.js"),
74
- "../../item-definitions/marker-map/marker-map-options.config.ts": () => import("../marker-map-options.config-Bx17jmiq.js"),
73
+ "../../item-definitions/line-chart/line-chart-options.config.ts": () => import("../line-chart-options.config-DB3IsXXr.js"),
74
+ "../../item-definitions/marker-map/marker-map-options.config.ts": () => import("../marker-map-options.config-DPJ955tt.js"),
75
75
  "../../item-definitions/ohlc-chart/ohlc-chart-options.config.ts": () => import("../ohlc-chart-options.config-D9npwajt.js"),
76
76
  "../../item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-options.config.ts": () => import("../parallel-coordinates-plot-options.config-DxB4kd58.js"),
77
- "../../item-definitions/pivot-table/pivot-table-options.config.ts": () => import("../pivot-table-options.config-CFc7y0IT.js"),
78
- "../../item-definitions/pyramid-chart/pyramid-chart-options.config.ts": () => import("../pyramid-chart-options.config-2Waxb11l.js"),
79
- "../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("../radar-chart-options.config-CPN5fOl8.js"),
80
- "../../item-definitions/regular-table/regular-table-options.config.ts": () => import("../regular-table-options.config-CFKCJQK1.js"),
81
- "../../item-definitions/route-map/route-map-options.config.ts": () => import("../route-map-options.config-CyolTJfK.js"),
82
- "../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("../sankey-diagram-options.config-Ldjk84ro.js"),
83
- "../../item-definitions/scatter-plot/scatter-plot-options.config.ts": () => import("../scatter-plot-options.config-CfxEfkQ1.js"),
84
- "../../item-definitions/search-filter/search-filter-options.config.ts": () => import("../search-filter-options.config-C0syQmP4.js"),
85
- "../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("../slicer-filter-options.config-DmOe3440.js"),
86
- "../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("../slider-filter-options.config-B1M8RcDs.js"),
77
+ "../../item-definitions/pivot-table/pivot-table-options.config.ts": () => import("../pivot-table-options.config-DNK_AIG7.js"),
78
+ "../../item-definitions/pyramid-chart/pyramid-chart-options.config.ts": () => import("../pyramid-chart-options.config-CcVMatYx.js"),
79
+ "../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("../radar-chart-options.config-CUZn_3Fd.js"),
80
+ "../../item-definitions/regular-table/regular-table-options.config.ts": () => import("../regular-table-options.config-BoLZsBry.js"),
81
+ "../../item-definitions/route-map/route-map-options.config.ts": () => import("../route-map-options.config-CN86T7c0.js"),
82
+ "../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("../sankey-diagram-options.config-tVLKy_Zn.js"),
83
+ "../../item-definitions/scatter-plot/scatter-plot-options.config.ts": () => import("../scatter-plot-options.config-Corlzno1.js"),
84
+ "../../item-definitions/search-filter/search-filter-options.config.ts": () => import("../search-filter-options.config-BE3JhR-F.js"),
85
+ "../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("../slicer-filter-options.config-3JZZcw5C.js"),
86
+ "../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("../slider-filter-options.config-DH4SS8wH.js"),
87
87
  "../../item-definitions/spacer/spacer-options.config.ts": () => import("../spacer-options.config-IpwUxDyU.js"),
88
- "../../item-definitions/speedometer-chart/speedometer-chart-options.config.ts": () => import("../speedometer-chart-options.config-CzOmuEF8.js"),
89
- "../../item-definitions/spike-map/spike-map-options.config.ts": () => import("../spike-map-options.config-Cbt1YUw6.js"),
88
+ "../../item-definitions/speedometer-chart/speedometer-chart-options.config.ts": () => import("../speedometer-chart-options.config-SL581yOa.js"),
89
+ "../../item-definitions/spike-map/spike-map-options.config.ts": () => import("../spike-map-options.config-C5KewecZ.js"),
90
90
  "../../item-definitions/strip-plot/strip-plot-options.config.ts": () => import("../strip-plot-options.config-Bdr8yQJu.js"),
91
- "../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("../sunburst-chart-options.config-_dyLQxPJ.js"),
92
- "../../item-definitions/symbol-map/symbol-map-options.config.ts": () => import("../symbol-map-options.config-BORL1NSU.js"),
91
+ "../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("../sunburst-chart-options.config-CNauGQJv.js"),
92
+ "../../item-definitions/symbol-map/symbol-map-options.config.ts": () => import("../symbol-map-options.config-DdDA4aa7.js"),
93
93
  "../../item-definitions/text/text-options.config.ts": () => import("../text-options.config-BWaJoeG2.js"),
94
- "../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("../treemap-chart-options.config-B9i9qIm_.js"),
94
+ "../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("../treemap-chart-options.config-D5AJaF_u.js"),
95
95
  "../../item-definitions/venn-diagram/venn-diagram-options.config.ts": () => import("../venn-diagram-options.config-CGUMA930.js"),
96
- "../../item-definitions/video/video-options.config.ts": () => import("../video-options.config-UX-9MDfS.js"),
97
- "../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("../wordcloud-chart-options.config-BoB_KuhA.js")
96
+ "../../item-definitions/video/video-options.config.ts": () => import("../video-options.config-Dk36zJ1B.js"),
97
+ "../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("../wordcloud-chart-options.config-w2NUIWVA.js")
98
98
  });
99
99
  if (s[`../../item-definitions/${i}/${i}-options.config.ts`])
100
100
  try {
101
- const a = await s[`../../item-definitions/${i}/${i}-options.config.ts`]();
102
- this._optionsConfiguration = a?.default ?? [];
103
- } catch (a) {
104
- this._optionsConfiguration = [], console.error(a);
101
+ const t = await s[`../../item-definitions/${i}/${i}-options.config.ts`]();
102
+ this._optionsConfiguration = (t == null ? void 0 : t.default) ?? [];
103
+ } catch (t) {
104
+ this._optionsConfiguration = [], console.error(t);
105
105
  }
106
106
  else
107
107
  this._optionsConfiguration = [];
108
- this._isCustomOptionsConfiguration = !1, l = !0;
108
+ this._isCustomOptionsConfiguration = !1, r = !0;
109
109
  } else n ? (this._isCustomOptionsConfiguration = !0, this._optionsConfiguration = n) : this._optionsConfiguration = [];
110
- if (o && (o !== this._languageLoaded || l) && !t) {
110
+ if (e && (e !== this._languageLoaded || r) && !o) {
111
111
  const s = /* @__PURE__ */ Object.assign({
112
112
  "../../item-definitions/area-chart/i18n/area-chart-options.de.ts": () => import("../area-chart-options.de-FcVE2Ywe.js"),
113
113
  "../../item-definitions/area-chart/i18n/area-chart-options.en.ts": () => import("../area-chart-options.en-Cz5aXeVe.js"),
@@ -330,14 +330,14 @@ const c = class c extends h {
330
330
  "../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.fr.ts": () => import("../wordcloud-chart-options.fr-DNK5Ouc5.js"),
331
331
  "../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.nl.ts": () => import("../wordcloud-chart-options.nl-CcgmqL7I.js")
332
332
  });
333
- if (s[`../../item-definitions/${i}/i18n/${i}-options.${o}.ts`])
333
+ if (s[`../../item-definitions/${i}/i18n/${i}-options.${e}.ts`])
334
334
  try {
335
- const a = await s[`../../item-definitions/${i}/i18n/${i}-options.${o}.ts`]();
336
- this._translations = a?.default ?? {};
337
- } catch (a) {
338
- this._translations = {}, console.warn("Translation file not found", a);
335
+ const t = await s[`../../item-definitions/${i}/i18n/${i}-options.${e}.ts`]();
336
+ this._translations = (t == null ? void 0 : t.default) ?? {};
337
+ } catch (t) {
338
+ this._translations = {}, console.warn("Translation file not found", t);
339
339
  }
340
- } else t ? this._translations = t : this._translations = {};
340
+ } else o ? this._translations = o : this._translations = {};
341
341
  return {
342
342
  config: this._optionsConfiguration,
343
343
  translations: this._translations
@@ -351,40 +351,41 @@ const c = class c extends h {
351
351
  ]
352
352
  }), this.language = "en", this.options = {}, this.slots = {}, this.theme = {}, this.size = "m", this._optionsConfiguration = [], this._translations = {}, this.renderAllGroups = (i) => {
353
353
  if (!Array.isArray(i))
354
- return e``;
355
- const o = i?.map((n) => {
356
- if (n?.children)
354
+ return m``;
355
+ const e = i == null ? void 0 : i.map((n) => {
356
+ if (n != null && n.children)
357
357
  return this.renderGroup(n);
358
358
  });
359
- return i && i.length > 0 ? e`<luzmo-accordion
359
+ return i && i.length > 0 ? m`<luzmo-accordion
360
360
  variant="highlight"
361
361
  .size=${this.size}
362
362
  density="compact"
363
363
  allow-multiple
364
364
  no-content-padding
365
365
  header-case="uppercase"
366
- >${o}</luzmo-accordion
367
- >` : e``;
366
+ >${e}</luzmo-accordion
367
+ >` : m``;
368
368
  }, this.renderGroup = (i) => {
369
- if (typeof i?.visibleIf == "function" && !i.visibleIf({
369
+ var n, o, r;
370
+ if (typeof (i == null ? void 0 : i.visibleIf) == "function" && !i.visibleIf({
370
371
  options: this.options,
371
372
  slots: this.slots,
372
373
  theme: this.theme
373
374
  }))
374
- return e``;
375
- const o = (n) => n?.map((t) => {
376
- if (typeof t?.visibleIf == "function" && !t.visibleIf({
375
+ return m``;
376
+ const e = (s) => s == null ? void 0 : s.map((t) => {
377
+ if (typeof (t == null ? void 0 : t.visibleIf) == "function" && !t.visibleIf({
377
378
  options: this.options,
378
379
  slots: this.slots,
379
380
  theme: this.theme
380
381
  }))
381
- return e``;
382
- if (t?.control)
383
- return this.renderOptionControl(t?.key);
384
- if (t?.type === "divider")
382
+ return m``;
383
+ if (t != null && t.control)
384
+ return this.renderOptionControl(t == null ? void 0 : t.key);
385
+ if ((t == null ? void 0 : t.type) === "divider")
385
386
  return this.renderDivider();
386
- if (t?.type === "group")
387
- return e`<luzmo-accordion
387
+ if ((t == null ? void 0 : t.type) === "group")
388
+ return m`<luzmo-accordion
388
389
  variant="highlight-child"
389
390
  .size=${this.size}
390
391
  density="compact"
@@ -394,36 +395,38 @@ const c = class c extends h {
394
395
  >${this.renderGroup(t)}</luzmo-accordion
395
396
  >`;
396
397
  });
397
- return e`<luzmo-accordion-item
398
- label=${this._translations?.groups?.[i.key]?.label ?? i.key}
398
+ return m`<luzmo-accordion-item
399
+ label=${((r = (o = (n = this._translations) == null ? void 0 : n.groups) == null ? void 0 : o[i.key]) == null ? void 0 : r.label) ?? i.key}
399
400
  ?open=${i.open}
400
401
  >
401
- ${o(i.children)}
402
+ ${e(i.children)}
402
403
  </luzmo-accordion-item>`;
403
404
  }, this.changedOptions = (i) => {
404
- const o = i?.detail?.options;
405
- this.options = i?.detail?.options, i.preventDefault(), i.stopPropagation(), this.dispatchEvent(
405
+ var n, o;
406
+ const e = (n = i == null ? void 0 : i.detail) == null ? void 0 : n.options;
407
+ this.options = (o = i == null ? void 0 : i.detail) == null ? void 0 : o.options, i.preventDefault(), i.stopPropagation(), this.dispatchEvent(
406
408
  new CustomEvent("options-changed", {
407
409
  bubbles: !0,
408
410
  composed: !0,
409
411
  cancelable: !0,
410
412
  detail: {
411
- options: o
413
+ options: e
412
414
  }
413
415
  })
414
416
  );
415
417
  }, this.renderOptionControl = (i) => {
416
- let o, n;
417
- return this._isCustomOptionsConfiguration && (o = b(
418
+ var o, r;
419
+ let e, n;
420
+ return this._isCustomOptionsConfiguration && (e = b(
418
421
  i,
419
422
  this.customOptionsConfiguration,
420
423
  !0
421
- ), n = this._translations?.options?.[i]), e`<luzmo-edit-option
424
+ ), n = (r = (o = this._translations) == null ? void 0 : o.options) == null ? void 0 : r[i]), m`<luzmo-edit-option
422
425
  class="control"
423
426
  .itemType=${this.itemType}
424
427
  .optionKey=${i}
425
428
  .options=${this.options}
426
- .customOptionConfiguration=${o}
429
+ .customOptionConfiguration=${e}
427
430
  .customTranslations=${n}
428
431
  .slots=${this.slots}
429
432
  .theme=${this.theme}
@@ -431,43 +434,43 @@ const c = class c extends h {
431
434
  .language=${this.language}
432
435
  @options-changed=${this.changedOptions}
433
436
  ></luzmo-edit-option>`;
434
- }, this.renderDivider = () => e`<luzmo-divider></luzmo-divider>`;
437
+ }, this.renderDivider = () => m`<luzmo-divider></luzmo-divider>`;
435
438
  }
436
439
  render() {
437
440
  return this._loadItemConfig.render({
438
- pending: () => e`<p>Loading...</p>`,
441
+ pending: () => m`<p>Loading...</p>`,
439
442
  complete: (i) => this.renderAllGroups(i.config),
440
- error: (i) => (console.error(i), e``)
443
+ error: (i) => (console.error(i), m``)
441
444
  });
442
445
  }
443
446
  };
444
447
  c.styles = u(g);
445
- let r = c;
446
- p([
447
- m({ type: String, reflect: !0 })
448
- ], r.prototype, "language");
449
- p([
450
- m({ type: String, reflect: !0, attribute: "item-type" })
451
- ], r.prototype, "itemType");
452
- p([
453
- m({ type: Object })
454
- ], r.prototype, "options");
455
- p([
456
- m({ type: Object })
457
- ], r.prototype, "slots");
458
- p([
459
- m({ type: Object, reflect: !1 })
460
- ], r.prototype, "customOptionsConfiguration");
461
- p([
462
- m({ type: Object, reflect: !1 })
463
- ], r.prototype, "customTranslations");
464
- p([
465
- m({ type: Object })
466
- ], r.prototype, "theme");
467
- p([
468
- m({ type: String, reflect: !0 })
469
- ], r.prototype, "size");
470
- customElements.get("luzmo-edit-item") || customElements.define("luzmo-edit-item", r);
448
+ let p = c;
449
+ l([
450
+ a({ type: String, reflect: !0 })
451
+ ], p.prototype, "language");
452
+ l([
453
+ a({ type: String, reflect: !0, attribute: "item-type" })
454
+ ], p.prototype, "itemType");
455
+ l([
456
+ a({ type: Object })
457
+ ], p.prototype, "options");
458
+ l([
459
+ a({ type: Object })
460
+ ], p.prototype, "slots");
461
+ l([
462
+ a({ type: Object, reflect: !1 })
463
+ ], p.prototype, "customOptionsConfiguration");
464
+ l([
465
+ a({ type: Object, reflect: !1 })
466
+ ], p.prototype, "customTranslations");
467
+ l([
468
+ a({ type: Object })
469
+ ], p.prototype, "theme");
470
+ l([
471
+ a({ type: String, reflect: !0 })
472
+ ], p.prototype, "size");
473
+ customElements.get("luzmo-edit-item") || customElements.define("luzmo-edit-item", p);
471
474
  export {
472
- r as LuzmoEditItem
475
+ p as LuzmoEditItem
473
476
  };
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../index-DvkzMbLt.cjs");exports.LuzmoEditOption=t.LuzmoEditOption;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../index-CQ9ck-BO.cjs");exports.LuzmoEditOption=t.LuzmoEditOption;
@@ -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 { L as u } from "../index-haa7WNrl.js";
20
+ import { L as u } from "../index-CdIUfo-L.js";
21
21
  (function() {
22
22
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
23
23
  const o = document.createElement("style");
@@ -17,26 +17,26 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";var d=Object.getPrototypeOf;var z=Reflect.get;var m=(c,t,e)=>z(d(c),e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@luzmo/icons");require("@luzmo/lucero/action-button");require("@luzmo/lucero/action-group");require("@luzmo/lucero/icon");const u=require("lit"),l=require("lit/decorators.js"),b=require("../edit-option-base-tFr8Qg2B.cjs"),g="luzmo-action-group{--luzmo-edit-option-action-button-group-button-background-hover: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-background-down: rgba( var(--luzmo-primary-rgb), .2 );--luzmo-edit-option-action-button-group-button-background-focus: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-content-color-default: var( --luzmo-font-color-disabled );--luzmo-edit-option-action-button-group-button-content-color-hover: var( --luzmo-font-color-hover );--luzmo-edit-option-action-button-group-button-content-color-down: var( --luzmo-font-color-down );--luzmo-edit-option-action-button-group-button-content-color-focus: var( --luzmo-font-color-focus )}luzmo-action-group[compact][quiet][emphasized]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-hover );--luzmo-action-button-background-color-down: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-focus: var( --luzmo-edit-option-action-button-group-button-background-focus );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-default );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-hover );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-focus: var( --luzmo-edit-option-action-button-group-button-content-color-focus )}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-default: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down )}";var h=Object.defineProperty,i=(c,t,e,f)=>{for(var r=void 0,s=c.length-1,p;s>=0;s--)(p=c[s])&&(r=p(t,e,r)||r);return r&&h(t,e,r),r};const v={alignBottom:o.luzmoAlignBottom,alignMiddle:o.luzmoAlignMiddle,alignTop:o.luzmoAlignTop,alignLeft:o.luzmoAlignLeft,alignCenter:o.luzmoAlignCenter,alignRight:o.luzmoAlignRight,ban:o.luzmoBan,borderSolid:o.luzmoBorderSolid,borderDashed:o.luzmoBorderDashed,borderDotted:o.luzmoBorderDotted,compress:o.luzmoCompress,expand:o.luzmoExpand,arrowsExpand:o.luzmoArrowsExpand,arrowsHorizontal:o.luzmoArrowsHorizontal,arrowsVertical:o.luzmoArrowsVertical,italic:o.luzmoItalic,bold:o.luzmoBold,underline:o.luzmoUnderline,rows:o.luzmoRows,columns:o.luzmoColumns,table:o.luzmoTable},a=class a extends b.LuzmoEditOptionBase{constructor(){super(...arguments),this.values={},this.disabled=!1}_handleEvent(){const t=this.selects==="multiple"?this.actionGroup?.selected:this.actionGroup?.selected?.[0];this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:t}}))}_generateButtonContents(t){return typeof t=="string"?u.html`${t}`:t.iconName||t.icon?u.html`
20
+ "use strict";var z=Object.getPrototypeOf;var b=Reflect.get;var d=(c,t,n)=>b(z(c),n,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@luzmo/icons");require("@luzmo/lucero/action-button");require("@luzmo/lucero/action-group");require("@luzmo/lucero/icon");const r=require("lit"),l=require("lit/decorators.js"),g=require("../edit-option-base-VhTih9T1.cjs"),h="luzmo-action-group{--luzmo-edit-option-action-button-group-button-background-hover: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-background-down: rgba( var(--luzmo-primary-rgb), .2 );--luzmo-edit-option-action-button-group-button-background-focus: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-content-color-default: var( --luzmo-font-color-disabled );--luzmo-edit-option-action-button-group-button-content-color-hover: var( --luzmo-font-color-hover );--luzmo-edit-option-action-button-group-button-content-color-down: var( --luzmo-font-color-down );--luzmo-edit-option-action-button-group-button-content-color-focus: var( --luzmo-font-color-focus )}luzmo-action-group[compact][quiet][emphasized]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-hover );--luzmo-action-button-background-color-down: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-focus: var( --luzmo-edit-option-action-button-group-button-background-focus );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-default );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-hover );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-focus: var( --luzmo-edit-option-action-button-group-button-content-color-focus )}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-default: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down )}";var v=Object.defineProperty,i=(c,t,n,s)=>{for(var u=void 0,p=c.length-1,m;p>=0;p--)(m=c[p])&&(u=m(t,n,u)||u);return u&&v(t,n,u),u};const f={alignBottom:o.luzmoAlignBottom,alignMiddle:o.luzmoAlignMiddle,alignTop:o.luzmoAlignTop,alignLeft:o.luzmoAlignLeft,alignCenter:o.luzmoAlignCenter,alignRight:o.luzmoAlignRight,ban:o.luzmoBan,borderSolid:o.luzmoBorderSolid,borderDashed:o.luzmoBorderDashed,borderDotted:o.luzmoBorderDotted,compress:o.luzmoCompress,expand:o.luzmoExpand,arrowsExpand:o.luzmoArrowsExpand,arrowsHorizontal:o.luzmoArrowsHorizontal,arrowsVertical:o.luzmoArrowsVertical,italic:o.luzmoItalic,bold:o.luzmoBold,underline:o.luzmoUnderline,rows:o.luzmoRows,columns:o.luzmoColumns,table:o.luzmoTable},a=class a extends g.LuzmoEditOptionBase{constructor(){super(...arguments),this.values={},this.disabled=!1}_handleEvent(){var n,s,u;const t=this.selects==="multiple"?(n=this.actionGroup)==null?void 0:n.selected:(u=(s=this.actionGroup)==null?void 0:s.selected)==null?void 0:u[0];this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:t}}))}_generateButtonContents(t){return typeof t=="string"?r.html`${t}`:t.iconName||t.icon?r.html`
21
21
  <luzmo-icon
22
22
  slot="icon"
23
23
  .size=${this.size}
24
- .icon=${t.icon??v[t.iconName]}
24
+ .icon=${t.icon??f[t.iconName]}
25
25
  .label=${t.label??""}
26
26
  ></luzmo-icon>
27
27
  ${t.buttonText??""}
28
- `:u.html`${t.buttonText??""}`}_generateActionButtons(){return Object.entries(this.values).map(([t,e])=>u.html`
28
+ `:r.html`${t.buttonText??""}`}_generateActionButtons(){return Object.entries(this.values).map(([t,n])=>r.html`
29
29
  <luzmo-action-button value=${t} ?disabled=${this.disabled}>
30
- ${this._generateButtonContents(e)}
31
- ${e.label?u.html`<luzmo-tooltip
30
+ ${this._generateButtonContents(n)}
31
+ ${n.label?r.html`<luzmo-tooltip
32
32
  self-managed
33
33
  placement="top"
34
34
  size=${this.size}
35
35
  >
36
- ${e.label}
36
+ ${n.label}
37
37
  </luzmo-tooltip>`:""}
38
38
  </luzmo-action-button>
39
- `)}renderController(){const t=this._generateActionButtons();return u.html`
39
+ `)}renderController(){const t=this._generateActionButtons();return r.html`
40
40
  <luzmo-action-group
41
41
  compact
42
42
  quiet
@@ -49,4 +49,4 @@
49
49
  >
50
50
  ${t}
51
51
  </luzmo-action-group>
52
- `}};a.styles=[...m(a,a,"styles"),u.unsafeCSS(g)];let n=a;i([l.property({type:Array})],n.prototype,"values");i([l.property({type:Boolean,reflect:!0})],n.prototype,"disabled");i([l.property({type:String})],n.prototype,"selects");i([l.property({type:Array})],n.prototype,"value");i([l.property({type:Array})],n.prototype,"default");i([l.query("luzmo-action-group")],n.prototype,"actionGroup");customElements.get("luzmo-edit-option-action-button-group")||customElements.define("luzmo-edit-option-action-button-group",n);exports.LuzmoEditOptionActionButtonGroup=n;
52
+ `}};a.styles=[...d(a,a,"styles"),r.unsafeCSS(h)];let e=a;i([l.property({type:Array})],e.prototype,"values");i([l.property({type:Boolean,reflect:!0})],e.prototype,"disabled");i([l.property({type:String})],e.prototype,"selects");i([l.property({type:Array})],e.prototype,"value");i([l.property({type:Array})],e.prototype,"default");i([l.query("luzmo-action-group")],e.prototype,"actionGroup");customElements.get("luzmo-edit-option-action-button-group")||customElements.define("luzmo-edit-option-action-button-group",e);exports.LuzmoEditOptionActionButtonGroup=e;