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

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 (260) hide show
  1. package/angular/README.md +1 -1
  2. package/angular/components/viz-item-menu.component.ts +25 -0
  3. package/angular/esm/components/viz-item-menu.component.d.ts +13 -0
  4. package/angular/esm/components/viz-item-menu.component.js +49 -0
  5. package/angular/esm/index.d.ts +3 -3
  6. package/angular/esm/index.js +3 -3
  7. package/angular/esm/types.d.ts +2 -2
  8. package/angular/index.ts +3 -3
  9. package/angular/types.ts +2 -2
  10. package/components/ai-chat-message-assistant/index.cjs +1 -1
  11. package/components/ai-chat-message-assistant/index.js +0 -1
  12. package/components/ai-chat-messages-container/index.cjs +1 -1
  13. package/components/ai-chat-messages-container/index.js +2 -2
  14. package/components/ai-interaction-textarea/index.cjs +1 -1
  15. package/components/ai-interaction-textarea/index.js +1 -2
  16. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  17. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  18. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  19. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  20. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  21. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  22. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  23. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  24. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  25. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  26. package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
  27. package/components/calculate-data-item-icon-DtVGbet3.cjs +20 -0
  28. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  29. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  30. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  31. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  32. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  33. package/components/color-Czp4Im5q.cjs +20 -0
  34. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  35. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  36. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  37. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  38. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  39. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  40. package/components/dataset-icon/index.cjs +1 -1
  41. package/components/dataset-icon/index.js +1 -2
  42. package/components/dataset-selector-list/index.cjs +1 -1
  43. package/components/dataset-selector-list/index.js +32 -35
  44. package/components/dataset-selector-row/index.cjs +9 -9
  45. package/components/dataset-selector-row/index.js +50 -52
  46. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  47. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  48. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  49. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  50. package/components/display-settings/index.cjs +1 -1
  51. package/components/display-settings/index.js +1 -1
  52. package/components/display-settings-binning/index.cjs +5 -5
  53. package/components/display-settings-binning/index.js +29 -30
  54. package/components/display-settings-datetime/index.cjs +29 -29
  55. package/components/display-settings-datetime/index.js +112 -120
  56. package/components/display-settings-grand-totals/index.cjs +4 -4
  57. package/components/display-settings-grand-totals/index.js +23 -24
  58. package/components/display-settings-numeric/display-settings-numeric.d.ts +1 -2
  59. package/components/display-settings-numeric/index.cjs +49 -48
  60. package/components/display-settings-numeric/index.js +193 -218
  61. package/components/display-settings-period-over-period/index.cjs +16 -16
  62. package/components/display-settings-period-over-period/index.js +91 -97
  63. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  64. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  65. package/components/draggable-data-item/index.cjs +5 -5
  66. package/components/draggable-data-item/index.js +45 -46
  67. package/components/draggable-data-item-level/index.cjs +11 -11
  68. package/components/draggable-data-item-level/index.js +70 -73
  69. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  70. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  71. package/components/droppable-slot/index.cjs +16 -16
  72. package/components/droppable-slot/index.js +208 -223
  73. package/components/edit-item/index.cjs +9 -9
  74. package/components/edit-item/index.js +116 -119
  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 +52 -53
  79. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  80. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.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 +106 -117
  87. package/components/edit-option-multi-language-field/index.cjs +3 -3
  88. package/components/edit-option-multi-language-field/index.js +26 -27
  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 +21 -25
  95. package/components/edit-option-positions-number-field/index.cjs +9 -9
  96. package/components/edit-option-positions-number-field/index.js +76 -81
  97. package/components/edit-option-radio-button-group/index.cjs +6 -6
  98. package/components/edit-option-radio-button-group/index.js +21 -22
  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 +22 -23
  105. package/components/en-D3ihEGXg.js +1483 -0
  106. package/components/en-DZcn_iz_.cjs +20 -0
  107. package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
  108. package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
  109. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  110. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  111. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  112. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  113. package/components/filter-data-item-picker/index.cjs +7 -7
  114. package/components/filter-data-item-picker/index.js +85 -86
  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 +109 -119
  119. package/components/filter-value-picker/index.cjs +2 -2
  120. package/components/filter-value-picker/index.js +34 -36
  121. package/components/filter-value-picker-datetime/index.cjs +8 -8
  122. package/components/filter-value-picker-datetime/index.js +56 -71
  123. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  124. package/components/filter-value-picker-hierarchy/index.js +113 -124
  125. package/components/filter-value-picker-numeric/index.cjs +8 -8
  126. package/components/filter-value-picker-numeric/index.js +101 -110
  127. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  128. package/components/focusable-QLh-LlNt.cjs +20 -0
  129. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  130. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  131. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-Bb7TxJdX.js} +37 -37
  132. package/components/get-css-variable-Pzks_rOx.cjs +24 -0
  133. package/components/grid/index.cjs +43 -49
  134. package/components/grid/index.js +2610 -1878
  135. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  136. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  137. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  138. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  139. package/components/helpers-9I0oLoUB.cjs +20 -0
  140. package/components/helpers-bR8Ibjqh.js +79 -0
  141. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  142. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  143. package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
  144. package/components/index-BekTY3Em.cjs +121 -0
  145. package/components/index-CFL6gmIu.cjs +20 -0
  146. package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
  147. package/components/index-DNPULp4A.js +1755 -0
  148. package/components/{index-D0GBF6tg.js → index-DdyZ2g5L.js} +94 -104
  149. package/components/index-DvkzMbLt.cjs +249 -0
  150. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  151. package/components/index.cjs +1 -1
  152. package/components/index.js +13 -13
  153. package/components/item-options-configs.cjs +1 -1
  154. package/components/item-options-configs.js +37 -37
  155. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  156. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  157. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  158. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  159. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  160. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  161. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  162. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  163. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  164. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  165. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  166. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  167. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  168. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  169. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  170. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  171. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  172. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  173. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  174. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  175. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  176. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  177. package/components/{set-locale-Dp3N_gXN.js → set-locale-hKTMz37h.js} +1 -8
  178. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  179. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  180. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  181. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  182. package/components/slot-contents-picker/index.cjs +33 -33
  183. package/components/slot-contents-picker/index.js +194 -205
  184. package/components/slot-menu/index.cjs +12 -12
  185. package/components/slot-menu/index.js +171 -184
  186. package/components/slot-menu-list/index.cjs +3 -3
  187. package/components/slot-menu-list/index.js +97 -103
  188. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  189. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  190. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  191. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  192. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  193. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  194. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  195. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  196. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  197. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  198. package/components/utils.cjs +1 -1
  199. package/components/utils.js +94 -97
  200. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  201. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  202. package/components/viz-item-menu/index.cjs +51 -0
  203. package/components/viz-item-menu/index.d.ts +8 -0
  204. package/components/viz-item-menu/index.js +209 -0
  205. package/components/viz-item-menu/viz-item-menu.d.ts +77 -0
  206. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  207. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  208. package/custom-elements.json +43 -23
  209. package/index.d.ts +1 -1
  210. package/package.json +7 -7
  211. package/types.d.ts +2 -2
  212. package/angular/components/widget-menu.component.ts +0 -25
  213. package/angular/esm/components/widget-menu.component.d.ts +0 -13
  214. package/angular/esm/components/widget-menu.component.js +0 -49
  215. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  216. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  217. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  218. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  219. package/components/calculate-data-item-icon-CEa82-5u.cjs +0 -20
  220. package/components/calculate-data-item-icon-DjlZwMdO.js +0 -147
  221. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  222. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  223. package/components/color-B6LaL8qz.cjs +0 -20
  224. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  225. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  226. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  227. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  228. package/components/en-BKBhKBXY.cjs +0 -20
  229. package/components/en-BOTjhwEc.js +0 -1488
  230. package/components/focusable-B3E_hQmm.cjs +0 -20
  231. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  232. package/components/get-css-variable-BEYG097C.js +0 -1446
  233. package/components/get-css-variable-BZxY4IOa.cjs +0 -35
  234. package/components/get-css-variable-DLiZYZEi.cjs +0 -24
  235. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  236. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  237. package/components/helpers-DXQwEH1P.cjs +0 -20
  238. package/components/helpers-v1bPALRP.js +0 -91
  239. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  240. package/components/index-CDi4fe3N.js +0 -1716
  241. package/components/index-CQ9ck-BO.cjs +0 -249
  242. package/components/index-CXn67vdn.cjs +0 -121
  243. package/components/index-Cz9vSXy6.cjs +0 -20
  244. package/components/index-Dn0j_pcR.cjs +0 -20
  245. package/components/index-E239Dotg.js +0 -1735
  246. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  247. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  248. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  249. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  250. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  251. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  252. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  253. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  254. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  255. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  256. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
  257. package/components/widget-menu/index.cjs +0 -51
  258. package/components/widget-menu/index.d.ts +0 -8
  259. package/components/widget-menu/index.js +0 -211
  260. package/components/widget-menu/widget-menu.d.ts +0 -77
@@ -17,18 +17,18 @@
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 { Task as X } from "@lit/task";
21
- import { html as O, unsafeCSS as Y } from "lit";
22
- import { property as j } from "lit/decorators.js";
23
- import { L as Z } from "./focusable-DCIFkpiW.js";
24
- import { ifDefined as g } from "lit/directives/if-defined.js";
25
- const tt = (t, i, o) => {
26
- const l = (n) => {
27
- for (const e of n ?? []) {
28
- if (e.key === t)
29
- return o ? e : e.control;
30
- if (e.children) {
31
- const s = l(e.children);
20
+ import { Task as O } from "@lit/task";
21
+ import { html as u, unsafeCSS as T } from "lit";
22
+ import { property as k } from "lit/decorators.js";
23
+ import { L as H } from "./focusable-BS2pbY7w.js";
24
+ import { ifDefined as _ } from "lit/directives/if-defined.js";
25
+ const M = (t, i, n) => {
26
+ const e = (o) => {
27
+ for (const l of o ?? []) {
28
+ if (l.key === t)
29
+ return n ? l : l.control;
30
+ if (l.children) {
31
+ const s = e(l.children);
32
32
  if (s)
33
33
  return s;
34
34
  }
@@ -36,41 +36,39 @@ const tt = (t, i, o) => {
36
36
  return null;
37
37
  };
38
38
  if (i && Array.isArray(i))
39
- for (const n of i) {
40
- const e = l(n.children);
41
- if (e)
42
- return e;
39
+ for (const o of i) {
40
+ const l = e(o.children);
41
+ if (l)
42
+ return l;
43
43
  }
44
44
  return null;
45
- }, it = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-font-family));font-size:var(--luzmo-edit-option-font-size, var(--luzmo-font-size))}:host([size=s]){font-size:var(--luzmo-edit-option-font-size-s, var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-edit-option-font-size-l, var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-edit-option-font-size-xl, var(--luzmo-font-size-xl))}", H = (t) => {
46
- var o, l, n;
45
+ }, S = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-font-family));font-size:var(--luzmo-edit-option-font-size, var(--luzmo-font-size))}:host([size=s]){font-size:var(--luzmo-edit-option-font-size-s, var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-edit-option-font-size-l, var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-edit-option-font-size-xl, var(--luzmo-font-size-xl))}", h = (t) => {
47
46
  let i;
48
- return typeof ((o = t == null ? void 0 : t.controlInfo) == null ? void 0 : o.default) == "function" ? i = t.controlInfo.default({
47
+ return typeof t?.controlInfo?.default == "function" ? i = t.controlInfo.default({
49
48
  options: t.options,
50
49
  slots: t.slots,
51
50
  theme: t.theme
52
- }) : ((l = t.controlInfo) == null ? void 0 : l.default) !== void 0 && ((n = t.controlInfo) == null ? void 0 : n.default) !== null && (i = t.controlInfo.default), i;
53
- }, T = (t) => {
54
- var e, s, d, u, b, p, v, k, $, h, a, c, r, m, f;
51
+ }) : t.controlInfo?.default !== void 0 && t.controlInfo?.default !== null && (i = t.controlInfo.default), i;
52
+ }, b = (t) => {
55
53
  let i;
56
- typeof ((e = t.controlInfo) == null ? void 0 : e.extraLabel) == "function" ? i = t.controlInfo.extraLabel({
54
+ typeof t.controlInfo?.extraLabel == "function" ? i = t.controlInfo.extraLabel({
57
55
  options: t.options,
58
56
  slots: t.slots,
59
57
  theme: t.theme
60
- }) : typeof ((s = t.controlInfo) == null ? void 0 : s.extraLabel) == "string" && (i = t.controlInfo.extraLabel), typeof i == "string" && (i = ((p = (b = (u = (d = t.translations) == null ? void 0 : d.options) == null ? void 0 : u[t.optionKey]) == null ? void 0 : b.extraLabel) == null ? void 0 : p[i]) ?? i);
61
- let o;
62
- typeof ((v = t.controlInfo) == null ? void 0 : v.extraLabelTooltip) == "function" ? i = t.controlInfo.extraLabelTooltip({
58
+ }) : typeof t.controlInfo?.extraLabel == "string" && (i = t.controlInfo.extraLabel), typeof i == "string" && (i = t.translations?.options?.[t.optionKey]?.extraLabel?.[i] ?? i);
59
+ let n;
60
+ typeof t.controlInfo?.extraLabelTooltip == "function" ? i = t.controlInfo.extraLabelTooltip({
63
61
  options: t.options,
64
62
  slots: t.slots,
65
63
  theme: t.theme
66
- }) : typeof ((k = t.controlInfo) == null ? void 0 : k.extraLabelTooltip) == "string" && (o = t.controlInfo.extraLabelTooltip), typeof o == "string" && (i = ((c = (a = (h = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : h[t.optionKey]) == null ? void 0 : a.extraLabelTooltip) == null ? void 0 : c[o]) ?? o);
67
- let l;
68
- typeof ((r = t.controlInfo) == null ? void 0 : r.extraLabelHasClickAction) == "function" ? l = t.controlInfo.extraLabelHasClickAction({
64
+ }) : typeof t.controlInfo?.extraLabelTooltip == "string" && (n = t.controlInfo.extraLabelTooltip), typeof n == "string" && (i = t.translations?.options?.[t.optionKey]?.extraLabelTooltip?.[n] ?? n);
65
+ let e;
66
+ typeof t.controlInfo?.extraLabelHasClickAction == "function" ? e = t.controlInfo.extraLabelHasClickAction({
69
67
  options: t.options,
70
68
  slots: t.slots,
71
69
  theme: t.theme
72
- }) : typeof ((m = t.controlInfo) == null ? void 0 : m.extraLabelHasClickAction) == "boolean" && (l = t.controlInfo.extraLabelHasClickAction);
73
- const n = typeof ((f = t.controlInfo) == null ? void 0 : f.extraLabelClickAction) == "function" ? () => t.controlInfo.extraLabelClickAction({
70
+ }) : typeof t.controlInfo?.extraLabelHasClickAction == "boolean" && (e = t.controlInfo.extraLabelHasClickAction);
71
+ const o = typeof t.controlInfo?.extraLabelClickAction == "function" ? () => t.controlInfo.extraLabelClickAction({
74
72
  options: t.options,
75
73
  slots: t.slots,
76
74
  theme: t.theme
@@ -78,551 +76,528 @@ const tt = (t, i, o) => {
78
76
  };
79
77
  return {
80
78
  extraLabel: i,
81
- extraLabelTooltip: o,
82
- extraLabelHasClickAction: l,
83
- extraLabelClickAction: n
79
+ extraLabelTooltip: n,
80
+ extraLabelHasClickAction: e,
81
+ extraLabelClickAction: o
84
82
  };
85
- }, _ = (t, i) => {
86
- var l;
87
- const o = (t == null ? void 0 : t.options) ?? {};
88
- if (typeof ((l = t == null ? void 0 : t.controlInfo) == null ? void 0 : l.calculateValue) == "function")
89
- return t.controlInfo.calculateValue({ options: o });
83
+ }, $ = (t, i) => {
84
+ const n = t?.options ?? {};
85
+ if (typeof t?.controlInfo?.calculateValue == "function")
86
+ return t.controlInfo.calculateValue({ options: n });
90
87
  if (i.includes(".")) {
91
- const n = i.split(".");
92
- let e = o;
93
- for (let d = 0; d < n.length - 1; d++)
94
- e = e[n[d]] ?? {};
95
- const s = n.length - 1;
96
- return e[n[s]];
88
+ const e = i.split(".");
89
+ let o = n;
90
+ for (let s = 0; s < e.length - 1; s++)
91
+ o = o[e[s]] ?? {};
92
+ const l = e.length - 1;
93
+ return o[e[l]];
97
94
  }
98
- return o[i];
99
- }, M = (t) => (i) => {
100
- var l, n;
101
- let o = { ...t.options };
102
- if (typeof ((l = t == null ? void 0 : t.controlInfo) == null ? void 0 : l.toOptions) == "function")
103
- o = t.controlInfo.toOptions({
104
- options: o,
105
- value: (n = i == null ? void 0 : i.detail) == null ? void 0 : n.value
95
+ return n[i];
96
+ }, x = (t) => (i) => {
97
+ let n = { ...t.options };
98
+ if (typeof t?.controlInfo?.toOptions == "function")
99
+ n = t.controlInfo.toOptions({
100
+ options: n,
101
+ value: i?.detail?.value
106
102
  });
107
103
  else if (t.optionKey.includes(".")) {
108
104
  const e = t.optionKey.split(".");
109
- let s = o;
110
- for (let u = 0; u < e.length - 1; u++)
111
- s[e[u]] = s[e[u]] ?? {}, s = s[e[u]];
112
- const d = e.length - 1;
113
- s[e[d]] = i.detail.value;
105
+ let o = n;
106
+ for (let s = 0; s < e.length - 1; s++)
107
+ o[e[s]] = o[e[s]] ?? {}, o = o[e[s]];
108
+ const l = e.length - 1;
109
+ o[e[l]] = i.detail.value;
114
110
  } else
115
- o[t.optionKey] = i.detail.value;
116
- return t.changeCallback(o);
117
- }, ot = (t) => {
118
- var k, $, h, a, c, r, m, f, x, y, L, I, C;
119
- const i = ((h = ($ = (k = t.translations) == null ? void 0 : k.options) == null ? void 0 : $[t.optionKey]) == null ? void 0 : h.label) ?? ((a = t.controlInfo) == null ? void 0 : a.label) ?? t.optionKey ?? "", o = t.size, l = {};
120
- Object.keys((c = t.controlInfo) == null ? void 0 : c.values).forEach((z) => {
121
- var V, K, A, w, E, P;
122
- l[z] = {
123
- ...(V = t.controlInfo) == null ? void 0 : V.values[z],
124
- label: ((E = (w = (A = (K = t.translations) == null ? void 0 : K.options) == null ? void 0 : A[t.optionKey]) == null ? void 0 : w.enum) == null ? void 0 : E[z]) ?? ((P = t.controlInfo) == null ? void 0 : P.values[z].label)
111
+ n[t.optionKey] = i.detail.value;
112
+ return t.changeCallback(n);
113
+ }, j = (t) => {
114
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = t.size, e = {};
115
+ Object.keys(t.controlInfo?.values).forEach((m) => {
116
+ e[m] = {
117
+ ...t.controlInfo?.values[m],
118
+ label: t.translations?.options?.[t.optionKey]?.enum?.[m] ?? t.controlInfo?.values[m].label
125
119
  };
126
120
  });
127
- const n = ((f = (m = (r = t.translations) == null ? void 0 : r.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : f.tooltip) ?? ((x = t.controlInfo) == null ? void 0 : x.tooltip), e = _(t, t.optionKey), s = H(t), {
128
- extraLabel: d,
129
- extraLabelTooltip: u,
130
- extraLabelHasClickAction: b,
121
+ const o = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, l = $(t, t.optionKey), s = h(t), {
122
+ extraLabel: c,
123
+ extraLabelTooltip: a,
124
+ extraLabelHasClickAction: r,
131
125
  extraLabelClickAction: p
132
- } = T(t), v = M(t);
133
- return O`
126
+ } = b(t), f = x(t);
127
+ return u`
134
128
  <luzmo-edit-option-action-button-group
135
129
  .label=${i}
136
- ?hide-label=${(y = t.controlInfo) == null ? void 0 : y.hideLabel}
137
- .value=${e}
138
- .values=${l}
130
+ ?hide-label=${t.controlInfo?.hideLabel}
131
+ .value=${l}
132
+ .values=${e}
139
133
  .default=${s}
140
- .selects=${(L = t.controlInfo) == null ? void 0 : L.selects}
141
- .size=${o}
142
- .tooltip=${n}
143
- .extraLabel=${d}
144
- .extraLabelTooltip=${u}
145
- .extraLabelHasClickAction=${b}
134
+ .selects=${t.controlInfo?.selects}
135
+ .size=${n}
136
+ .tooltip=${o}
137
+ .extraLabel=${c}
138
+ .extraLabelTooltip=${a}
139
+ .extraLabelHasClickAction=${r}
146
140
  @extraLabelClick=${p}
147
- @option-changed=${v}
148
- .parseValue=${(I = t.controlInfo) == null ? void 0 : I.parseValue}
149
- .toValue=${(C = t.controlInfo) == null ? void 0 : C.toValue}
141
+ @option-changed=${f}
142
+ .parseValue=${t.controlInfo?.parseValue}
143
+ .toValue=${t.controlInfo?.toValue}
150
144
  ></luzmo-edit-option-action-button-group>
151
145
  `;
152
- }, nt = (t) => {
153
- var o, l, n;
146
+ }, R = (t) => {
154
147
  let i;
155
- return typeof ((o = t == null ? void 0 : t.controlInfo) == null ? void 0 : o.enum) == "function" ? i = t.controlInfo.enum({
148
+ return typeof t?.controlInfo?.enum == "function" ? i = t.controlInfo.enum({
156
149
  options: t.options,
157
150
  slots: t.slots,
158
151
  theme: t.theme
159
- }) : ((l = t.controlInfo) == null ? void 0 : l.enum) !== void 0 && ((n = t.controlInfo) == null ? void 0 : n.enum) !== null && (i = t.controlInfo.enum), i;
160
- }, et = (t) => {
161
- var $, h, a, c, r, m, f, x, y, L, I;
162
- const i = ((a = (h = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : h[t.optionKey]) == null ? void 0 : a.label) ?? ((c = t.controlInfo) == null ? void 0 : c.label) ?? t.optionKey ?? "", o = _(t, t.optionKey), l = nt(t), n = t.size, e = ((f = (m = (r = t.translations) == null ? void 0 : r.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : f.tooltip) ?? ((x = t.controlInfo) == null ? void 0 : x.tooltip), s = H(t), {
163
- extraLabel: d,
164
- extraLabelTooltip: u,
165
- extraLabelHasClickAction: b,
152
+ }) : t.controlInfo?.enum !== void 0 && t.controlInfo?.enum !== null && (i = t.controlInfo.enum), i;
153
+ }, E = (t) => {
154
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = $(t, t.optionKey), e = R(t), o = t.size, l = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, s = h(t), {
155
+ extraLabel: c,
156
+ extraLabelTooltip: a,
157
+ extraLabelHasClickAction: r,
166
158
  extraLabelClickAction: p
167
- } = T(t), v = M(t), k = () => {
159
+ } = b(t), f = x(t), m = () => {
168
160
  if (typeof p == "function") {
169
- const { options: C } = p();
170
- return t.changeCallback(C);
161
+ const { options: d } = p();
162
+ return t.changeCallback(d);
171
163
  }
172
164
  };
173
- return O`
165
+ return u`
174
166
  <luzmo-edit-option-color-palette-picker
175
- .value=${o ?? s}
176
- .values=${l}
167
+ .value=${n ?? s}
168
+ .values=${e}
177
169
  .label=${i}
178
- ?hide-label=${(y = t.controlInfo) == null ? void 0 : y.hideLabel}
179
- .size=${n}
180
- .tooltip=${e}
181
- .extraLabel=${d}
182
- .extraLabelTooltip=${u}
183
- .extraLabelHasClickAction=${b}
184
- @extraLabelClick=${k}
185
- @option-changed=${v}
186
- .parseValue=${(L = t.controlInfo) == null ? void 0 : L.parseValue}
187
- .toValue=${(I = t.controlInfo) == null ? void 0 : I.toValue}
170
+ ?hide-label=${t.controlInfo?.hideLabel}
171
+ .size=${o}
172
+ .tooltip=${l}
173
+ .extraLabel=${c}
174
+ .extraLabelTooltip=${a}
175
+ .extraLabelHasClickAction=${r}
176
+ @extraLabelClick=${m}
177
+ @option-changed=${f}
178
+ .parseValue=${t.controlInfo?.parseValue}
179
+ .toValue=${t.controlInfo?.toValue}
188
180
  ></luzmo-edit-option-color-palette-picker>
189
181
  `;
190
- }, lt = (t) => {
191
- var k, $, h, a, c, r, m, f, x, y, L;
192
- const i = ((h = ($ = (k = t.translations) == null ? void 0 : k.options) == null ? void 0 : $[t.optionKey]) == null ? void 0 : h.label) ?? ((a = t.controlInfo) == null ? void 0 : a.label) ?? t.optionKey ?? "", o = _(t, t.optionKey), l = t.size, n = ((m = (r = (c = t.translations) == null ? void 0 : c.options) == null ? void 0 : r[t.optionKey]) == null ? void 0 : m.tooltip) ?? ((f = t.controlInfo) == null ? void 0 : f.tooltip), e = H(t), {
182
+ }, P = (t) => {
183
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = $(t, t.optionKey), e = t.size, o = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, l = h(t), {
193
184
  extraLabel: s,
194
- extraLabelTooltip: d,
195
- extraLabelHasClickAction: u,
196
- extraLabelClickAction: b
197
- } = T(t), p = M(t), v = () => {
198
- if (typeof b == "function") {
199
- const { options: I } = b();
200
- return t.changeCallback(I);
185
+ extraLabelTooltip: c,
186
+ extraLabelHasClickAction: a,
187
+ extraLabelClickAction: r
188
+ } = b(t), p = x(t), f = () => {
189
+ if (typeof r == "function") {
190
+ const { options: m } = r();
191
+ return t.changeCallback(m);
201
192
  }
202
193
  };
203
- return O`
194
+ return u`
204
195
  <luzmo-edit-option-color-picker
205
- .value=${o ?? e}
196
+ .value=${n ?? l}
206
197
  .label=${i}
207
- ?hide-label=${(x = t.controlInfo) == null ? void 0 : x.hideLabel}
208
- .size=${l}
209
- .tooltip=${n}
198
+ ?hide-label=${t.controlInfo?.hideLabel}
199
+ .size=${e}
200
+ .tooltip=${o}
210
201
  .extraLabel=${s}
211
- .extraLabelTooltip=${d}
212
- .extraLabelHasClickAction=${u}
213
- @extraLabelClick=${v}
202
+ .extraLabelTooltip=${c}
203
+ .extraLabelHasClickAction=${a}
204
+ @extraLabelClick=${f}
214
205
  @option-changed=${p}
215
- .parseValue=${(y = t.controlInfo) == null ? void 0 : y.parseValue}
216
- .toValue=${(L = t.controlInfo) == null ? void 0 : L.toValue}
206
+ .parseValue=${t.controlInfo?.parseValue}
207
+ .toValue=${t.controlInfo?.toValue}
217
208
  ></luzmo-edit-option-color-picker>
218
209
  `;
219
- }, st = (t) => {
220
- var x, y, L, I, C, z, V, K, A, w, E, P, B, D, G, W, N, q, J, Q;
221
- const i = ((L = (y = (x = t.translations) == null ? void 0 : x.options) == null ? void 0 : y[t.optionKey]) == null ? void 0 : L.label) ?? ((I = t.controlInfo) == null ? void 0 : I.label) ?? t.optionKey ?? "", o = _(t, t.optionKey), l = t.size, n = ((V = (z = (C = t.translations) == null ? void 0 : C.options) == null ? void 0 : z[t.optionKey]) == null ? void 0 : V.tooltip) ?? ((K = t.controlInfo) == null ? void 0 : K.tooltip), e = H(t), s = typeof ((A = t == null ? void 0 : t.controlInfo) == null ? void 0 : A.percentage) == "function" ? t.controlInfo.percentage(t) : t.controlInfo.percentage, d = typeof ((w = t == null ? void 0 : t.controlInfo) == null ? void 0 : w.reverse) == "function" ? t.controlInfo.reverse(t) : t.controlInfo.reverse, u = typeof ((E = t == null ? void 0 : t.controlInfo) == null ? void 0 : E.noAlphaChannel) == "function" ? t.controlInfo.noAlphaChannel(t) : t.controlInfo.noAlphaChannel, b = typeof ((P = t == null ? void 0 : t.controlInfo) == null ? void 0 : P.editRangeSize) == "function" ? t.controlInfo.editRangeSize(t) : t.controlInfo.editRangeSize, p = typeof ((B = t == null ? void 0 : t.controlInfo) == null ? void 0 : B.minimumRangeSize) == "function" ? t.controlInfo.minimumRangeSize(t) : t.controlInfo.minimumRangeSize, v = typeof ((D = t == null ? void 0 : t.controlInfo) == null ? void 0 : D.negativeInfinityValue) == "function" ? t.controlInfo.negativeInfinityValue(t) : t.controlInfo.negativeInfinityValue, k = typeof ((G = t == null ? void 0 : t.controlInfo) == null ? void 0 : G.noValues) == "function" ? t.controlInfo.noValues(t) : t.controlInfo.noValues, $ = typeof ((W = t == null ? void 0 : t.controlInfo) == null ? void 0 : W.readOnlyColorPicker) == "function" ? t.controlInfo.readOnlyColorPicker(t) : t.controlInfo.readOnlyColorPicker, {
222
- extraLabel: h,
223
- extraLabelTooltip: a,
224
- extraLabelHasClickAction: c,
225
- extraLabelClickAction: r
226
- } = T(t), m = M(t), f = () => {
227
- if (typeof r == "function") {
228
- const { options: U } = r();
229
- return t.changeCallback(U);
210
+ }, F = (t) => {
211
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = $(t, t.optionKey), e = t.size, o = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, l = h(t), s = typeof t?.controlInfo?.percentage == "function" ? t.controlInfo.percentage(t) : t.controlInfo.percentage, c = typeof t?.controlInfo?.reverse == "function" ? t.controlInfo.reverse(t) : t.controlInfo.reverse, a = typeof t?.controlInfo?.noAlphaChannel == "function" ? t.controlInfo.noAlphaChannel(t) : t.controlInfo.noAlphaChannel, r = typeof t?.controlInfo?.editRangeSize == "function" ? t.controlInfo.editRangeSize(t) : t.controlInfo.editRangeSize, p = typeof t?.controlInfo?.minimumRangeSize == "function" ? t.controlInfo.minimumRangeSize(t) : t.controlInfo.minimumRangeSize, f = typeof t?.controlInfo?.negativeInfinityValue == "function" ? t.controlInfo.negativeInfinityValue(t) : t.controlInfo.negativeInfinityValue, m = typeof t?.controlInfo?.noValues == "function" ? t.controlInfo.noValues(t) : t.controlInfo.noValues, d = typeof t?.controlInfo?.readOnlyColorPicker == "function" ? t.controlInfo.readOnlyColorPicker(t) : t.controlInfo.readOnlyColorPicker, {
212
+ extraLabel: L,
213
+ extraLabelTooltip: v,
214
+ extraLabelHasClickAction: V,
215
+ extraLabelClickAction: C
216
+ } = b(t), K = x(t), A = () => {
217
+ if (typeof C == "function") {
218
+ const { options: w } = C();
219
+ return t.changeCallback(w);
230
220
  }
231
221
  };
232
- return O`
222
+ return u`
233
223
  <luzmo-edit-option-color-range
234
- .value=${o ?? e}
224
+ .value=${n ?? l}
235
225
  .label=${i}
236
- .size=${l}
237
- .tooltip=${n}
238
- ?hide-label=${(N = t.controlInfo) == null ? void 0 : N.hideLabel}
239
- .extraLabel=${h}
240
- .extraLabelTooltip=${a}
241
- .extraLabelHasClickAction=${c}
242
- .debounce=${(q = t.controlInfo) == null ? void 0 : q.debounce}
243
- ?reverse=${d}
226
+ .size=${e}
227
+ .tooltip=${o}
228
+ ?hide-label=${t.controlInfo?.hideLabel}
229
+ .extraLabel=${L}
230
+ .extraLabelTooltip=${v}
231
+ .extraLabelHasClickAction=${V}
232
+ .debounce=${t.controlInfo?.debounce}
233
+ ?reverse=${c}
244
234
  ?percentage=${s}
245
- ?no-alpha-channel=${u}
246
- ?edit-range-size=${b}
247
- ?no-values=${k}
248
- ?read-only-color-picker=${$}
235
+ ?no-alpha-channel=${a}
236
+ ?edit-range-size=${r}
237
+ ?no-values=${m}
238
+ ?read-only-color-picker=${d}
249
239
  .minimum-range-size=${p}
250
- ?negative-infinity-value=${v}
251
- @extraLabelClick=${f}
252
- @option-changed=${m}
253
- .parseValue=${(J = t.controlInfo) == null ? void 0 : J.parseValue}
254
- .toValue=${(Q = t.controlInfo) == null ? void 0 : Q.toValue}
240
+ ?negative-infinity-value=${f}
241
+ @extraLabelClick=${A}
242
+ @option-changed=${K}
243
+ .parseValue=${t.controlInfo?.parseValue}
244
+ .toValue=${t.controlInfo?.toValue}
255
245
  ></luzmo-edit-option-color-range>
256
246
  `;
257
- }, pt = (t) => {
258
- var $, h, a, c, r, m, f, x, y, L, I, C, z, V, K;
259
- const i = ((a = (h = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : h[t.optionKey]) == null ? void 0 : a.label) ?? ((c = t.controlInfo) == null ? void 0 : c.label) ?? t.optionKey ?? "", o = _(t, t.optionKey) ?? {}, l = ((f = (m = (r = t.translations) == null ? void 0 : r.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : f.tooltip) ?? ((x = t.controlInfo) == null ? void 0 : x.tooltip), n = t.language ?? "en", e = {};
260
- e[n] = ((I = (L = (y = t.translations) == null ? void 0 : y.options) == null ? void 0 : L[t.optionKey]) == null ? void 0 : I.placeholder) ?? ((C = t.controlInfo) == null ? void 0 : C.placeholder) ?? "";
261
- const s = t.size, d = H(t), {
262
- extraLabel: u,
263
- extraLabelTooltip: b,
247
+ }, B = (t) => {
248
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = $(t, t.optionKey) ?? {}, e = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, o = t.language ?? "en", l = {};
249
+ l[o] = t.translations?.options?.[t.optionKey]?.placeholder ?? t.controlInfo?.placeholder ?? "";
250
+ const s = t.size, c = h(t), {
251
+ extraLabel: a,
252
+ extraLabelTooltip: r,
264
253
  extraLabelHasClickAction: p,
265
- extraLabelClickAction: v
266
- } = T(t), k = M(t);
267
- return O`
254
+ extraLabelClickAction: f
255
+ } = b(t), m = x(t);
256
+ return u`
268
257
  <luzmo-edit-option-multi-language-field
269
258
  .label=${i}
270
- ?hide-label=${(z = t.controlInfo) == null ? void 0 : z.hideLabel}
271
- .placeholder=${e}
272
- .value=${o ?? d}
273
- language=${g(n)}
259
+ ?hide-label=${t.controlInfo?.hideLabel}
260
+ .placeholder=${l}
261
+ .value=${n ?? c}
262
+ language=${_(o)}
274
263
  .size=${s}
275
- .tooltip=${l}
276
- .extraLabel=${u}
277
- .extraLabelTooltip=${b}
264
+ .tooltip=${e}
265
+ .extraLabel=${a}
266
+ .extraLabelTooltip=${r}
278
267
  .extraLabelHasClickAction=${p}
279
- @extraLabelClick=${v}
280
- @option-changed=${k}
281
- .parseValue=${(V = t.controlInfo) == null ? void 0 : V.parseValue}
282
- .toValue=${(K = t.controlInfo) == null ? void 0 : K.toValue}
268
+ @extraLabelClick=${f}
269
+ @option-changed=${m}
270
+ .parseValue=${t.controlInfo?.parseValue}
271
+ .toValue=${t.controlInfo?.toValue}
283
272
  ></luzmo-edit-option-multi-language-field>
284
273
  `;
285
- }, rt = (t) => {
286
- var h, a, c, r, m, f, x, y, L, I, C, z, V, K, A, w, E;
287
- const i = ((c = (a = (h = t.translations) == null ? void 0 : h.options) == null ? void 0 : a[t.optionKey]) == null ? void 0 : c.label) ?? ((r = t.controlInfo) == null ? void 0 : r.label) ?? t.optionKey ?? "", o = (m = t.controlInfo) == null ? void 0 : m.min, l = (f = t.controlInfo) == null ? void 0 : f.max, n = (x = t.controlInfo) == null ? void 0 : x.step, e = _(t, t.optionKey), s = ((I = (L = (y = t.translations) == null ? void 0 : y.options) == null ? void 0 : L[t.optionKey]) == null ? void 0 : I.tooltip) ?? ((C = t.controlInfo) == null ? void 0 : C.tooltip), d = H(t), u = t.size, {
288
- extraLabel: b,
274
+ }, D = (t) => {
275
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = t.controlInfo?.min, e = t.controlInfo?.max, o = t.controlInfo?.step, l = $(t, t.optionKey), s = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, c = h(t), a = t.size, {
276
+ extraLabel: r,
289
277
  extraLabelTooltip: p,
290
- extraLabelHasClickAction: v,
291
- extraLabelClickAction: k
292
- } = T(t), $ = M(t);
293
- return O`
278
+ extraLabelHasClickAction: f,
279
+ extraLabelClickAction: m
280
+ } = b(t), d = x(t);
281
+ return u`
294
282
  <luzmo-edit-option-number-field
295
- .value=${e}
296
- .default=${d}
297
- .min=${o}
298
- .max=${l}
299
- .step=${n}
283
+ .value=${l}
284
+ .default=${c}
285
+ .min=${n}
286
+ .max=${e}
287
+ .step=${o}
300
288
  .label=${i}
301
- ?hide-label=${(z = t.controlInfo) == null ? void 0 : z.hideLabel}
302
- .size=${u}
289
+ ?hide-label=${t.controlInfo?.hideLabel}
290
+ .size=${a}
303
291
  .tooltip=${s}
304
- .placeholder=${(V = t.controlInfo) == null ? void 0 : V.placeholder}
305
- .minWidthInputField=${(K = t.controlInfo) == null ? void 0 : K.minWidthInputField}
306
- .debounce=${(A = t.controlInfo) == null ? void 0 : A.debounce}
307
- .extraLabel=${b}
292
+ .placeholder=${t.controlInfo?.placeholder}
293
+ .minWidthInputField=${t.controlInfo?.minWidthInputField}
294
+ .debounce=${t.controlInfo?.debounce}
295
+ .extraLabel=${r}
308
296
  .extraLabelTooltip=${p}
309
- .extraLabelHasClickAction=${v}
310
- @extraLabelClick=${k}
311
- @option-changed=${$}
312
- .parseValue=${(w = t.controlInfo) == null ? void 0 : w.parseValue}
313
- .toValue=${(E = t.controlInfo) == null ? void 0 : E.toValue}
297
+ .extraLabelHasClickAction=${f}
298
+ @extraLabelClick=${m}
299
+ @option-changed=${d}
300
+ .parseValue=${t.controlInfo?.parseValue}
301
+ .toValue=${t.controlInfo?.toValue}
314
302
  ></luzmo-edit-option-number-field>
315
303
  `;
316
- }, at = (t) => {
317
- var k, $, h, a, c, r, m, f, x, y, L, I;
318
- const i = ((h = ($ = (k = t.translations) == null ? void 0 : k.options) == null ? void 0 : $[t.optionKey]) == null ? void 0 : h.label) ?? ((a = t.controlInfo) == null ? void 0 : a.label) ?? t.optionKey ?? "", o = _(t, t.optionKey), l = ((m = (r = (c = t.translations) == null ? void 0 : c.options) == null ? void 0 : r[t.optionKey]) == null ? void 0 : m.tooltip) ?? ((f = t.controlInfo) == null ? void 0 : f.tooltip), n = (x = t.controlInfo) == null ? void 0 : x.enum.reduce(
319
- (C, z) => {
320
- var V, K, A, w;
321
- return C[z] = ((w = (A = (K = (V = t.translations) == null ? void 0 : V.options) == null ? void 0 : K[t.optionKey]) == null ? void 0 : A.enum) == null ? void 0 : w[z]) ?? z, C;
322
- },
304
+ }, G = (t) => {
305
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = $(t, t.optionKey), e = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, o = t.controlInfo?.enum.reduce(
306
+ (m, d) => (m[d] = t.translations?.options?.[t.optionKey]?.enum?.[d] ?? d, m),
323
307
  {}
324
- ), e = t.size, s = H(t), {
325
- extraLabel: d,
326
- extraLabelTooltip: u,
327
- extraLabelHasClickAction: b,
308
+ ), l = t.size, s = h(t), {
309
+ extraLabel: c,
310
+ extraLabelTooltip: a,
311
+ extraLabelHasClickAction: r,
328
312
  extraLabelClickAction: p
329
- } = T(t), v = M(t);
330
- return O`
313
+ } = b(t), f = x(t);
314
+ return u`
331
315
  <luzmo-edit-option-picker
332
- .value=${o}
316
+ .value=${n}
333
317
  .default=${s}
334
- .values=${n}
318
+ .values=${o}
335
319
  .label=${i}
336
- ?hide-label=${(y = t.controlInfo) == null ? void 0 : y.hideLabel}
337
- .tooltip=${l}
338
- .size=${e}
339
- .extraLabel=${d}
340
- .extraLabelTooltip=${u}
341
- .extraLabelHasClickAction=${b}
320
+ ?hide-label=${t.controlInfo?.hideLabel}
321
+ .tooltip=${e}
322
+ .size=${l}
323
+ .extraLabel=${c}
324
+ .extraLabelTooltip=${a}
325
+ .extraLabelHasClickAction=${r}
342
326
  @extraLabelClick=${p}
343
- @option-changed=${v}
344
- .parseValue=${(L = t.controlInfo) == null ? void 0 : L.parseValue}
345
- .toValue=${(I = t.controlInfo) == null ? void 0 : I.toValue}
327
+ @option-changed=${f}
328
+ .parseValue=${t.controlInfo?.parseValue}
329
+ .toValue=${t.controlInfo?.toValue}
346
330
  ></luzmo-edit-option-picker>
347
331
  `;
348
- }, ct = (t) => {
349
- var k, $, h, a, c, r, m, f, x, y, L, I;
350
- const i = ((h = ($ = (k = t.translations) == null ? void 0 : k.options) == null ? void 0 : $[t.optionKey]) == null ? void 0 : h.label) ?? ((a = t.controlInfo) == null ? void 0 : a.label), o = (c = t.controlInfo) == null ? void 0 : c.positions, l = t.size, n = _(t, t.optionKey), e = ((f = (m = (r = t.translations) == null ? void 0 : r.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : f.tooltip) ?? ((x = t.controlInfo) == null ? void 0 : x.tooltip), s = H(t) ?? "topRight", {
351
- extraLabel: d,
352
- extraLabelTooltip: u,
353
- extraLabelHasClickAction: b,
332
+ }, W = (t) => {
333
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label, n = t.controlInfo?.positions, e = t.size, o = $(t, t.optionKey), l = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, s = h(t) ?? "topRight", {
334
+ extraLabel: c,
335
+ extraLabelTooltip: a,
336
+ extraLabelHasClickAction: r,
354
337
  extraLabelClickAction: p
355
- } = T(t), v = M(t);
356
- return O`
338
+ } = b(t), f = x(t);
339
+ return u`
357
340
  <luzmo-edit-option-position-picker
358
- .value=${(y = t.controlInfo) == null ? void 0 : y.value}
359
- .positions=${o}
341
+ .value=${t.controlInfo?.value}
342
+ .positions=${n}
360
343
  .default=${s}
361
344
  .label=${i}
362
- ?hide-label=${(L = t.controlInfo) == null ? void 0 : L.hideLabel}
363
- .tooltip=${e}
364
- .size=${l}
365
- .value=${n}
366
- .extraLabel=${d}
367
- .extraLabelTooltip=${u}
368
- .extraLabelHasClickAction=${b}
345
+ ?hide-label=${t.controlInfo?.hideLabel}
346
+ .tooltip=${l}
347
+ .size=${e}
348
+ .value=${o}
349
+ .extraLabel=${c}
350
+ .extraLabelTooltip=${a}
351
+ .extraLabelHasClickAction=${r}
369
352
  @extraLabelClick=${p}
370
- @option-changed=${v}
371
- .readonly=${(I = t.controlInfo) == null ? void 0 : I.readonly}
353
+ @option-changed=${f}
354
+ .readonly=${t.controlInfo?.readonly}
372
355
  ></luzmo-edit-option-position-picker>
373
356
  `;
374
- }, mt = (t) => {
375
- var v, k, $, h, a, c, r, m, f, x, y, L, I;
376
- const i = (($ = (k = (v = t.translations) == null ? void 0 : v.options) == null ? void 0 : k[t.optionKey]) == null ? void 0 : $.label) ?? ((h = t.controlInfo) == null ? void 0 : h.label), o = _(t, t.optionKey), l = t.size, n = ((r = (c = (a = t.translations) == null ? void 0 : a.options) == null ? void 0 : c[t.optionKey]) == null ? void 0 : r.tooltip) ?? ((m = t.controlInfo) == null ? void 0 : m.tooltip), e = H(t), {
357
+ }, N = (t) => {
358
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label, n = $(t, t.optionKey), e = t.size, o = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, l = h(t), {
377
359
  extraLabel: s,
378
- extraLabelTooltip: d,
379
- extraLabelHasClickAction: u,
380
- extraLabelClickAction: b
381
- } = T(t), p = M(t);
382
- return O`
360
+ extraLabelTooltip: c,
361
+ extraLabelHasClickAction: a,
362
+ extraLabelClickAction: r
363
+ } = b(t), p = x(t);
364
+ return u`
383
365
  <luzmo-edit-option-positions-number-field
384
- .values=${o ?? e}
385
- .positions=${(f = t.controlInfo) == null ? void 0 : f.positions}
386
- .positionConfiguration=${(x = t.controlInfo) == null ? void 0 : x.positionConfiguration}
366
+ .values=${n ?? l}
367
+ .positions=${t.controlInfo?.positions}
368
+ .positionConfiguration=${t.controlInfo?.positionConfiguration}
387
369
  .label=${i}
388
- ?hide-label=${(y = t.controlInfo) == null ? void 0 : y.hideLabel}
389
- .size=${l}
390
- .tooltip=${n}
370
+ ?hide-label=${t.controlInfo?.hideLabel}
371
+ .size=${e}
372
+ .tooltip=${o}
391
373
  .extraLabel=${s}
392
- .extraLabelTooltip=${d}
393
- .extraLabelHasClickAction=${u}
394
- @extraLabelClick=${b}
374
+ .extraLabelTooltip=${c}
375
+ .extraLabelHasClickAction=${a}
376
+ @extraLabelClick=${r}
395
377
  @option-changed=${p}
396
- .parseValue=${(L = t.controlInfo) == null ? void 0 : L.parseValue}
397
- .toValue=${(I = t.controlInfo) == null ? void 0 : I.toValue}
378
+ .parseValue=${t.controlInfo?.parseValue}
379
+ .toValue=${t.controlInfo?.toValue}
398
380
  ></luzmo-edit-option-positions-number-field>
399
381
  `;
400
- }, ft = (t) => {
401
- var k, $, h, a, c, r, m, f, x, y, L, I;
402
- const i = ((h = ($ = (k = t.translations) == null ? void 0 : k.options) == null ? void 0 : $[t.optionKey]) == null ? void 0 : h.label) ?? ((a = t.controlInfo) == null ? void 0 : a.label) ?? t.optionKey ?? "", o = _(t, t.optionKey), l = H(t), n = (c = t.controlInfo) == null ? void 0 : c.enum.reduce(
403
- (C, z) => {
404
- var V, K, A, w;
405
- return C[z] = ((w = (A = (K = (V = t.translations) == null ? void 0 : V.options) == null ? void 0 : K[t.optionKey]) == null ? void 0 : A.enum) == null ? void 0 : w[z]) ?? z, C;
406
- },
382
+ }, q = (t) => {
383
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = $(t, t.optionKey), e = h(t), o = t.controlInfo?.enum.reduce(
384
+ (m, d) => (m[d] = t.translations?.options?.[t.optionKey]?.enum?.[d] ?? d, m),
407
385
  {}
408
- ), e = t.size, s = ((f = (m = (r = t.translations) == null ? void 0 : r.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : f.tooltip) ?? ((x = t.controlInfo) == null ? void 0 : x.tooltip), {
409
- extraLabel: d,
410
- extraLabelTooltip: u,
411
- extraLabelHasClickAction: b,
386
+ ), l = t.size, s = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, {
387
+ extraLabel: c,
388
+ extraLabelTooltip: a,
389
+ extraLabelHasClickAction: r,
412
390
  extraLabelClickAction: p
413
- } = T(t), v = M(t);
414
- return O`
391
+ } = b(t), f = x(t);
392
+ return u`
415
393
  <luzmo-edit-option-radio-button-group
416
- .value=${o ?? l}
417
- .values=${n}
394
+ .value=${n ?? e}
395
+ .values=${o}
418
396
  .label=${i}
419
- ?hide-label=${(y = t.controlInfo) == null ? void 0 : y.hideLabel}
420
- .size=${e}
397
+ ?hide-label=${t.controlInfo?.hideLabel}
398
+ .size=${l}
421
399
  .tooltip=${s}
422
- .extraLabel=${d}
423
- .extraLabelTooltip=${u}
424
- .extraLabelHasClickAction=${b}
400
+ .extraLabel=${c}
401
+ .extraLabelTooltip=${a}
402
+ .extraLabelHasClickAction=${r}
425
403
  @extraLabelClick=${p}
426
- @option-changed=${v}
427
- .parseValue=${(L = t.controlInfo) == null ? void 0 : L.parseValue}
428
- .toValue=${(I = t.controlInfo) == null ? void 0 : I.toValue}
404
+ @option-changed=${f}
405
+ .parseValue=${t.controlInfo?.parseValue}
406
+ .toValue=${t.controlInfo?.toValue}
429
407
  ></luzmo-edit-option-radio-button-group>
430
408
  `;
431
- }, dt = (t) => {
432
- var a, c, r, m, f, x, y, L, I, C, z, V, K, A;
433
- const i = ((r = (c = (a = t.translations) == null ? void 0 : a.options) == null ? void 0 : c[t.optionKey]) == null ? void 0 : r.label) ?? ((m = t.controlInfo) == null ? void 0 : m.label) ?? t.optionKey ?? "", o = ((y = (x = (f = t.translations) == null ? void 0 : f.options) == null ? void 0 : x[t.optionKey]) == null ? void 0 : y.tooltip) ?? ((L = t.controlInfo) == null ? void 0 : L.tooltip), l = (I = t.controlInfo) == null ? void 0 : I.min, n = (C = t.controlInfo) == null ? void 0 : C.max, e = (z = t.controlInfo) == null ? void 0 : z.step, s = _(t, t.optionKey), d = t.size, u = H(t), {
434
- extraLabel: b,
409
+ }, J = (t) => {
410
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, e = t.controlInfo?.min, o = t.controlInfo?.max, l = t.controlInfo?.step, s = $(t, t.optionKey), c = t.size, a = h(t), {
411
+ extraLabel: r,
435
412
  extraLabelTooltip: p,
436
- extraLabelHasClickAction: v,
437
- extraLabelClickAction: k
438
- } = T(t), $ = M(t), h = () => {
439
- if (typeof k == "function") {
440
- const { options: w } = k();
441
- return t.changeCallback(w);
413
+ extraLabelHasClickAction: f,
414
+ extraLabelClickAction: m
415
+ } = b(t), d = x(t), L = () => {
416
+ if (typeof m == "function") {
417
+ const { options: v } = m();
418
+ return t.changeCallback(v);
442
419
  }
443
420
  };
444
- return O`
421
+ return u`
445
422
  <luzmo-edit-option-slider
446
423
  .value=${s}
447
- .default=${u}
448
- .min=${l}
449
- .max=${n}
450
- .step=${e}
424
+ .default=${a}
425
+ .min=${e}
426
+ .max=${o}
427
+ .step=${l}
451
428
  .label=${i}
452
- ?hide-label=${(V = t.controlInfo) == null ? void 0 : V.hideLabel}
453
- .tooltip=${o}
454
- .size=${d}
455
- .extraLabel=${b}
429
+ ?hide-label=${t.controlInfo?.hideLabel}
430
+ .tooltip=${n}
431
+ .size=${c}
432
+ .extraLabel=${r}
456
433
  .extraLabelTooltip=${p}
457
- .extraLabelHasClickAction=${v}
458
- @extraLabelClick=${h}
459
- @option-changed=${$}
460
- .parseValue=${(K = t.controlInfo) == null ? void 0 : K.parseValue}
461
- .toValue=${(A = t.controlInfo) == null ? void 0 : A.toValue}
434
+ .extraLabelHasClickAction=${f}
435
+ @extraLabelClick=${L}
436
+ @option-changed=${d}
437
+ .parseValue=${t.controlInfo?.parseValue}
438
+ .toValue=${t.controlInfo?.toValue}
462
439
  ></luzmo-edit-option-slider>
463
440
  `;
464
- }, ut = (t) => {
465
- var v, k, $, h, a, c, r, m, f, x, y;
466
- const i = (($ = (k = (v = t.translations) == null ? void 0 : v.options) == null ? void 0 : k[t.optionKey]) == null ? void 0 : $.label) ?? ((h = t.controlInfo) == null ? void 0 : h.label) ?? t.optionKey ?? "", o = _(t, t.optionKey), l = t.size, n = ((r = (c = (a = t.translations) == null ? void 0 : a.options) == null ? void 0 : c[t.optionKey]) == null ? void 0 : r.tooltip) ?? ((m = t.controlInfo) == null ? void 0 : m.tooltip), e = H(t), {
441
+ }, Q = (t) => {
442
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = $(t, t.optionKey), e = t.size, o = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, l = h(t), {
467
443
  extraLabel: s,
468
- extraLabelTooltip: d,
469
- extraLabelHasClickAction: u,
470
- extraLabelClickAction: b
471
- } = T(t), p = M(t);
472
- return O`
444
+ extraLabelTooltip: c,
445
+ extraLabelHasClickAction: a,
446
+ extraLabelClickAction: r
447
+ } = b(t), p = x(t);
448
+ return u`
473
449
  <luzmo-edit-option-switch
474
- .value=${o ?? e ?? !1}
450
+ .value=${n ?? l ?? !1}
475
451
  .label=${i}
476
- ?hide-label=${(f = t.controlInfo) == null ? void 0 : f.hideLabel}
477
- .size=${l}
478
- .tooltip=${n}
452
+ ?hide-label=${t.controlInfo?.hideLabel}
453
+ .size=${e}
454
+ .tooltip=${o}
479
455
  .extraLabel=${s}
480
- .extraLabelTooltip=${d}
481
- .extraLabelHasClickAction=${u}
482
- @extraLabelClick=${b}
456
+ .extraLabelTooltip=${c}
457
+ .extraLabelHasClickAction=${a}
458
+ @extraLabelClick=${r}
483
459
  @option-changed=${p}
484
- .parseValue=${(x = t.controlInfo) == null ? void 0 : x.parseValue}
485
- .toValue=${(y = t.controlInfo) == null ? void 0 : y.toValue}
460
+ .parseValue=${t.controlInfo?.parseValue}
461
+ .toValue=${t.controlInfo?.toValue}
486
462
  ></luzmo-edit-option-switch>
487
463
  `;
488
- }, ht = (t) => {
489
- var $, h, a, c, r, m, f, x, y, L, I, C, z, V, K;
490
- const i = ((a = (h = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : h[t.optionKey]) == null ? void 0 : a.label) ?? ((c = t.controlInfo) == null ? void 0 : c.label) ?? t.optionKey ?? "", o = t.language ?? "en", l = {};
491
- l[o] = ((f = (m = (r = t.translations) == null ? void 0 : r.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : f.placeholder) ?? ((x = t.controlInfo) == null ? void 0 : x.placeholder) ?? "";
492
- const n = _(t, t.optionKey) ?? "", e = t.size, s = ((I = (L = (y = t.translations) == null ? void 0 : y.options) == null ? void 0 : L[t.optionKey]) == null ? void 0 : I.tooltip) ?? ((C = t.controlInfo) == null ? void 0 : C.tooltip), d = H(t), {
493
- extraLabel: u,
494
- extraLabelTooltip: b,
464
+ }, U = (t) => {
465
+ const i = t.translations?.options?.[t.optionKey]?.label ?? t.controlInfo?.label ?? t.optionKey ?? "", n = t.language ?? "en", e = {};
466
+ e[n] = t.translations?.options?.[t.optionKey]?.placeholder ?? t.controlInfo?.placeholder ?? "";
467
+ const o = $(t, t.optionKey) ?? "", l = t.size, s = t.translations?.options?.[t.optionKey]?.tooltip ?? t.controlInfo?.tooltip, c = h(t), {
468
+ extraLabel: a,
469
+ extraLabelTooltip: r,
495
470
  extraLabelHasClickAction: p,
496
- extraLabelClickAction: v
497
- } = T(t), k = M(t);
498
- return O`
471
+ extraLabelClickAction: f
472
+ } = b(t), m = x(t);
473
+ return u`
499
474
  <luzmo-edit-option-text-field
500
475
  .label=${i}
501
- ?hide-label=${(z = t.controlInfo) == null ? void 0 : z.hideLabel}
502
- .placeholder=${l[o]}
503
- .value=${n ?? d}
504
- .size=${e}
476
+ ?hide-label=${t.controlInfo?.hideLabel}
477
+ .placeholder=${e[n]}
478
+ .value=${o ?? c}
479
+ .size=${l}
505
480
  .tooltip=${s}
506
- .extraLabel=${u}
507
- .extraLabelTooltip=${b}
481
+ .extraLabel=${a}
482
+ .extraLabelTooltip=${r}
508
483
  .extraLabelHasClickAction=${p}
509
- @extraLabelClick=${v}
510
- @option-changed=${k}
511
- .parseValue=${(V = t.controlInfo) == null ? void 0 : V.parseValue}
512
- .toValue=${(K = t.controlInfo) == null ? void 0 : K.toValue}
484
+ @extraLabelClick=${f}
485
+ @option-changed=${m}
486
+ .parseValue=${t.controlInfo?.parseValue}
487
+ .toValue=${t.controlInfo?.toValue}
513
488
  ></luzmo-edit-option-text-field>
514
489
  `;
515
- }, bt = (t) => {
490
+ }, X = (t) => {
516
491
  switch (t.controlType) {
517
492
  case "picker":
518
- return at(t);
493
+ return G(t);
519
494
  case "slider":
520
- return dt(t);
495
+ return J(t);
521
496
  case "switch":
522
- return ut(t);
497
+ return Q(t);
523
498
  case "multi-language-field":
524
- return pt(t);
499
+ return B(t);
525
500
  case "text-field":
526
- return ht(t);
501
+ return U(t);
527
502
  case "number-field":
528
- return rt(t);
503
+ return D(t);
529
504
  case "color-range":
530
- return st(t);
505
+ return F(t);
531
506
  case "color-palette-picker":
532
- return et(t);
507
+ return E(t);
533
508
  case "position-picker":
534
- return ct(t);
509
+ return W(t);
535
510
  case "positions-number-field":
536
- return mt(t);
511
+ return N(t);
537
512
  case "radio-button-group":
538
- return ft(t);
513
+ return q(t);
539
514
  case "color-picker":
540
- return lt(t);
515
+ return P(t);
541
516
  case "action-button-group":
542
- return ot(t);
517
+ return j(t);
543
518
  }
544
519
  };
545
- var $t = Object.defineProperty, R = (t, i, o, l) => {
546
- for (var n = void 0, e = t.length - 1, s; e >= 0; e--)
547
- (s = t[e]) && (n = s(i, o, n) || n);
548
- return n && $t(i, o, n), n;
520
+ var Y = Object.defineProperty, I = (t, i, n, e) => {
521
+ for (var o = void 0, l = t.length - 1, s; l >= 0; l--)
522
+ (s = t[l]) && (o = s(i, n, o) || o);
523
+ return o && Y(i, n, o), o;
549
524
  };
550
- const F = class F extends Z {
525
+ const z = class z extends H {
551
526
  constructor() {
552
- super(...arguments), this._loadItemConfig = new X(this, {
527
+ super(...arguments), this._loadItemConfig = new O(this, {
553
528
  task: async ([
554
529
  i,
555
- o,
556
- l,
557
530
  n,
558
- e
531
+ e,
532
+ o,
533
+ l
559
534
  ]) => {
560
535
  let s = !1;
561
- if (i !== this._itemTypeLoaded && !n) {
562
- const b = /* @__PURE__ */ Object.assign({
563
- "../../item-definitions/area-chart/area-chart-options.config.ts": () => import("./area-chart-options.config-_J0sG4NF.js"),
564
- "../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("./bar-chart-options.config-D1mb5TDl.js"),
565
- "../../item-definitions/box-plot/box-plot-options.config.ts": () => import("./box-plot-options.config-xu_i6ms7.js"),
566
- "../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("./bubble-chart-options.config-BacgXkJ_.js"),
567
- "../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("./bullet-chart-options.config-CDPpX1yc.js"),
568
- "../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("./choropleth-map-options.config-B_W9-rhe.js"),
536
+ if (i !== this._itemTypeLoaded && !o) {
537
+ const r = /* @__PURE__ */ Object.assign({
538
+ "../../item-definitions/area-chart/area-chart-options.config.ts": () => import("./area-chart-options.config-u8itidsi.js"),
539
+ "../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("./bar-chart-options.config-DIirbAJ0.js"),
540
+ "../../item-definitions/box-plot/box-plot-options.config.ts": () => import("./box-plot-options.config-BWROiguA.js"),
541
+ "../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("./bubble-chart-options.config-4QD8VPhU.js"),
542
+ "../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("./bullet-chart-options.config-3bH7uekx.js"),
543
+ "../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("./choropleth-map-options.config-CMxx3ORp.js"),
569
544
  "../../item-definitions/circle-pack-chart/circle-pack-chart-options.config.ts": () => import("./circle-pack-chart-options.config-DEYL3DMK.js"),
570
- "../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("./circular-gauge-options.config-DAIjz4Rl.js"),
571
- "../../item-definitions/column-chart/column-chart-options.config.ts": () => import("./column-chart-options.config-B5SjBVdy.js"),
545
+ "../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("./circular-gauge-options.config-DhIKn44k.js"),
546
+ "../../item-definitions/column-chart/column-chart-options.config.ts": () => import("./column-chart-options.config-D5-yR7iq.js"),
572
547
  "../../item-definitions/combination-chart/combination-chart-options.config.ts": () => import("./combination-chart-options.config-CApdgFvv.js"),
573
- "../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("./conditional-number-options.config-BCEpSK9J.js"),
574
- "../../item-definitions/date-comparison-filter/date-comparison-filter-options.config.ts": () => import("./date-comparison-filter-options.config-JA_yYpJa.js"),
575
- "../../item-definitions/date-filter/date-filter-options.config.ts": () => import("./date-filter-options.config-DBRxlTWy.js"),
576
- "../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("./donut-chart-options.config-BulUEiaH.js"),
577
- "../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("./dropdown-filter-options.config-D9dvPypF.js"),
578
- "../../item-definitions/evolution-number/evolution-number-options.config.ts": () => import("./evolution-number-options.config-DzkfeoIN.js"),
579
- "../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("./funnel-chart-options.config-C_VjTOvD.js"),
580
- "../../item-definitions/heat-map/heat-map-options.config.ts": () => import("./heat-map-options.config-BnLWe8jS.js"),
581
- "../../item-definitions/heat-table/heat-table-options.config.ts": () => import("./heat-table-options.config-CUsDdgUr.js"),
582
- "../../item-definitions/hexbin-map/hexbin-map-options.config.ts": () => import("./hexbin-map-options.config-F-7uCqxb.js"),
548
+ "../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("./conditional-number-options.config-DPYsdML5.js"),
549
+ "../../item-definitions/date-comparison-filter/date-comparison-filter-options.config.ts": () => import("./date-comparison-filter-options.config-CSwGyuBg.js"),
550
+ "../../item-definitions/date-filter/date-filter-options.config.ts": () => import("./date-filter-options.config-BTVyHRkp.js"),
551
+ "../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("./donut-chart-options.config-3ZqX8Cbb.js"),
552
+ "../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("./dropdown-filter-options.config-CGJTtgAX.js"),
553
+ "../../item-definitions/evolution-number/evolution-number-options.config.ts": () => import("./evolution-number-options.config-BIPO_4n3.js"),
554
+ "../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("./funnel-chart-options.config-CrJy2U7_.js"),
555
+ "../../item-definitions/heat-map/heat-map-options.config.ts": () => import("./heat-map-options.config-CmL87j1j.js"),
556
+ "../../item-definitions/heat-table/heat-table-options.config.ts": () => import("./heat-table-options.config-BrCYAgYD.js"),
557
+ "../../item-definitions/hexbin-map/hexbin-map-options.config.ts": () => import("./hexbin-map-options.config-BguV1w8q.js"),
583
558
  "../../item-definitions/image/image-options.config.ts": () => import("./image-options.config-CBfeq5Zw.js"),
584
559
  "../../item-definitions/item-options.config.ts": () => import("./item-options-configs.js"),
585
- "../../item-definitions/line-chart/line-chart-options.config.ts": () => import("./line-chart-options.config-DB3IsXXr.js"),
586
- "../../item-definitions/marker-map/marker-map-options.config.ts": () => import("./marker-map-options.config-DPJ955tt.js"),
560
+ "../../item-definitions/line-chart/line-chart-options.config.ts": () => import("./line-chart-options.config-BhirTGqD.js"),
561
+ "../../item-definitions/marker-map/marker-map-options.config.ts": () => import("./marker-map-options.config-Bx17jmiq.js"),
587
562
  "../../item-definitions/ohlc-chart/ohlc-chart-options.config.ts": () => import("./ohlc-chart-options.config-D9npwajt.js"),
588
563
  "../../item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-options.config.ts": () => import("./parallel-coordinates-plot-options.config-DxB4kd58.js"),
589
- "../../item-definitions/pivot-table/pivot-table-options.config.ts": () => import("./pivot-table-options.config-DNK_AIG7.js"),
590
- "../../item-definitions/pyramid-chart/pyramid-chart-options.config.ts": () => import("./pyramid-chart-options.config-CcVMatYx.js"),
591
- "../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("./radar-chart-options.config-CUZn_3Fd.js"),
592
- "../../item-definitions/regular-table/regular-table-options.config.ts": () => import("./regular-table-options.config-BoLZsBry.js"),
593
- "../../item-definitions/route-map/route-map-options.config.ts": () => import("./route-map-options.config-CN86T7c0.js"),
594
- "../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("./sankey-diagram-options.config-tVLKy_Zn.js"),
595
- "../../item-definitions/scatter-plot/scatter-plot-options.config.ts": () => import("./scatter-plot-options.config-Corlzno1.js"),
596
- "../../item-definitions/search-filter/search-filter-options.config.ts": () => import("./search-filter-options.config-BE3JhR-F.js"),
597
- "../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("./slicer-filter-options.config-3JZZcw5C.js"),
598
- "../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("./slider-filter-options.config-DH4SS8wH.js"),
564
+ "../../item-definitions/pivot-table/pivot-table-options.config.ts": () => import("./pivot-table-options.config-CFc7y0IT.js"),
565
+ "../../item-definitions/pyramid-chart/pyramid-chart-options.config.ts": () => import("./pyramid-chart-options.config-2Waxb11l.js"),
566
+ "../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("./radar-chart-options.config-CPN5fOl8.js"),
567
+ "../../item-definitions/regular-table/regular-table-options.config.ts": () => import("./regular-table-options.config-CFKCJQK1.js"),
568
+ "../../item-definitions/route-map/route-map-options.config.ts": () => import("./route-map-options.config-CyolTJfK.js"),
569
+ "../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("./sankey-diagram-options.config-Ldjk84ro.js"),
570
+ "../../item-definitions/scatter-plot/scatter-plot-options.config.ts": () => import("./scatter-plot-options.config-CfxEfkQ1.js"),
571
+ "../../item-definitions/search-filter/search-filter-options.config.ts": () => import("./search-filter-options.config-C0syQmP4.js"),
572
+ "../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("./slicer-filter-options.config-DmOe3440.js"),
573
+ "../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("./slider-filter-options.config-B1M8RcDs.js"),
599
574
  "../../item-definitions/spacer/spacer-options.config.ts": () => import("./spacer-options.config-IpwUxDyU.js"),
600
- "../../item-definitions/speedometer-chart/speedometer-chart-options.config.ts": () => import("./speedometer-chart-options.config-SL581yOa.js"),
601
- "../../item-definitions/spike-map/spike-map-options.config.ts": () => import("./spike-map-options.config-C5KewecZ.js"),
575
+ "../../item-definitions/speedometer-chart/speedometer-chart-options.config.ts": () => import("./speedometer-chart-options.config-CzOmuEF8.js"),
576
+ "../../item-definitions/spike-map/spike-map-options.config.ts": () => import("./spike-map-options.config-Cbt1YUw6.js"),
602
577
  "../../item-definitions/strip-plot/strip-plot-options.config.ts": () => import("./strip-plot-options.config-Bdr8yQJu.js"),
603
- "../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("./sunburst-chart-options.config-CNauGQJv.js"),
604
- "../../item-definitions/symbol-map/symbol-map-options.config.ts": () => import("./symbol-map-options.config-DdDA4aa7.js"),
578
+ "../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("./sunburst-chart-options.config-_dyLQxPJ.js"),
579
+ "../../item-definitions/symbol-map/symbol-map-options.config.ts": () => import("./symbol-map-options.config-BORL1NSU.js"),
605
580
  "../../item-definitions/text/text-options.config.ts": () => import("./text-options.config-BWaJoeG2.js"),
606
- "../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("./treemap-chart-options.config-D5AJaF_u.js"),
581
+ "../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("./treemap-chart-options.config-B9i9qIm_.js"),
607
582
  "../../item-definitions/venn-diagram/venn-diagram-options.config.ts": () => import("./venn-diagram-options.config-CGUMA930.js"),
608
- "../../item-definitions/video/video-options.config.ts": () => import("./video-options.config-Dk36zJ1B.js"),
609
- "../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("./wordcloud-chart-options.config-w2NUIWVA.js")
583
+ "../../item-definitions/video/video-options.config.ts": () => import("./video-options.config-UX-9MDfS.js"),
584
+ "../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("./wordcloud-chart-options.config-BoB_KuhA.js")
610
585
  });
611
- if (b[`../../item-definitions/${i}/${i}-options.config.ts`])
586
+ if (r[`../../item-definitions/${i}/${i}-options.config.ts`])
612
587
  try {
613
- const p = await b[`../../item-definitions/${i}/${i}-options.config.ts`]();
614
- this._optionsConfig = (p == null ? void 0 : p.default) ?? [];
588
+ const p = await r[`../../item-definitions/${i}/${i}-options.config.ts`]();
589
+ this._optionsConfig = p?.default ?? [];
615
590
  } catch {
616
591
  this._optionsConfig = [];
617
592
  }
618
593
  else
619
594
  this._optionsConfig = [];
620
595
  s = !0;
621
- } else n ? (o && i && console.warn(
596
+ } else o ? (n && i && console.warn(
622
597
  "optionKey and itemType are not needed when using custom option configuration"
623
- ), this._optionsConfig = [{ children: [n] }], o = n.key, i = void 0) : this._optionsConfig = [];
624
- if ((l !== this._languageLoaded || s) && !e) {
625
- const b = /* @__PURE__ */ Object.assign({
598
+ ), this._optionsConfig = [{ children: [o] }], n = o.key, i = void 0) : this._optionsConfig = [];
599
+ if ((e !== this._languageLoaded || s) && !l) {
600
+ const r = /* @__PURE__ */ Object.assign({
626
601
  "../../item-definitions/area-chart/i18n/area-chart-options.de.ts": () => import("./area-chart-options.de-FcVE2Ywe.js"),
627
602
  "../../item-definitions/area-chart/i18n/area-chart-options.en.ts": () => import("./area-chart-options.en-Cz5aXeVe.js"),
628
603
  "../../item-definitions/area-chart/i18n/area-chart-options.es.ts": () => import("./area-chart-options.es-o3ABpXnC.js"),
@@ -844,28 +819,28 @@ const F = class F extends Z {
844
819
  "../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.fr.ts": () => import("./wordcloud-chart-options.fr-DNK5Ouc5.js"),
845
820
  "../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.nl.ts": () => import("./wordcloud-chart-options.nl-CcgmqL7I.js")
846
821
  });
847
- if (b[`../../item-definitions/${i}/i18n/${i}-options.${l}.ts`])
822
+ if (r[`../../item-definitions/${i}/i18n/${i}-options.${e}.ts`])
848
823
  try {
849
- const p = await b[`../../item-definitions/${i}/i18n/${i}-options.${l}.ts`]();
850
- this._translations = (p == null ? void 0 : p.default) ?? {};
824
+ const p = await r[`../../item-definitions/${i}/i18n/${i}-options.${e}.ts`]();
825
+ this._translations = p?.default ?? {};
851
826
  } catch (p) {
852
827
  this._translations = {}, console.error(p);
853
828
  }
854
829
  else
855
830
  this._translations = {};
856
- } else e ? this._translations = {
857
- options: { [o ?? ""]: e }
831
+ } else l ? this._translations = {
832
+ options: { [n ?? ""]: l }
858
833
  } : this._translations = {};
859
- const d = tt(o ?? "", this._optionsConfig), u = d == null ? void 0 : d.type;
860
- if (u !== this._controlTypeLoaded) {
861
- const b = /* @__PURE__ */ Object.assign({ "../edit-option-action-button-group/index.ts": () => import("./edit-option-action-button-group/index.js"), "../edit-option-color-palette-picker/index.ts": () => import("./edit-option-color-palette-picker/index.js"), "../edit-option-color-picker/index.ts": () => import("./edit-option-color-picker/index.js"), "../edit-option-color-range/index.ts": () => import("./edit-option-color-range/index.js"), "../edit-option-multi-language-field/index.ts": () => import("./edit-option-multi-language-field/index.js"), "../edit-option-number-field/index.ts": () => import("./edit-option-number-field/index.js"), "../edit-option-picker/index.ts": () => import("./edit-option-picker/index.js"), "../edit-option-position-picker/index.ts": () => import("./edit-option-position-picker/index.js"), "../edit-option-positions-number-field/index.ts": () => import("./edit-option-positions-number-field/index.js"), "../edit-option-radio-button-group/index.ts": () => import("./edit-option-radio-button-group/index.js"), "../edit-option-slider/index.ts": () => import("./edit-option-slider/index.js"), "../edit-option-switch/index.ts": () => import("./edit-option-switch/index.js"), "../edit-option-text-field/index.ts": () => import("./edit-option-text-field/index.js") });
834
+ const c = M(n ?? "", this._optionsConfig), a = c?.type;
835
+ if (a !== this._controlTypeLoaded) {
836
+ const r = /* @__PURE__ */ Object.assign({ "../edit-option-action-button-group/index.ts": () => import("./edit-option-action-button-group/index.js"), "../edit-option-color-palette-picker/index.ts": () => import("./edit-option-color-palette-picker/index.js"), "../edit-option-color-picker/index.ts": () => import("./edit-option-color-picker/index.js"), "../edit-option-color-range/index.ts": () => import("./edit-option-color-range/index.js"), "../edit-option-multi-language-field/index.ts": () => import("./edit-option-multi-language-field/index.js"), "../edit-option-number-field/index.ts": () => import("./edit-option-number-field/index.js"), "../edit-option-picker/index.ts": () => import("./edit-option-picker/index.js"), "../edit-option-position-picker/index.ts": () => import("./edit-option-position-picker/index.js"), "../edit-option-positions-number-field/index.ts": () => import("./edit-option-positions-number-field/index.js"), "../edit-option-radio-button-group/index.ts": () => import("./edit-option-radio-button-group/index.js"), "../edit-option-slider/index.ts": () => import("./edit-option-slider/index.js"), "../edit-option-switch/index.ts": () => import("./edit-option-switch/index.js"), "../edit-option-text-field/index.ts": () => import("./edit-option-text-field/index.js") });
862
837
  try {
863
- b[`../edit-option-${u}/index.ts`] && (await b[`../edit-option-${u}/index.ts`](), this._controlTypeLoaded = u);
838
+ r[`../edit-option-${a}/index.ts`] && (await r[`../edit-option-${a}/index.ts`](), this._controlTypeLoaded = a);
864
839
  } catch (p) {
865
840
  console.error(p);
866
841
  }
867
842
  }
868
- return d;
843
+ return c;
869
844
  },
870
845
  args: () => [
871
846
  this.itemType,
@@ -889,57 +864,54 @@ const F = class F extends Z {
889
864
  }
890
865
  render() {
891
866
  return this._loadItemConfig.render({
892
- pending: () => O`<p>Loading...</p>`,
893
- complete: (i) => {
894
- var o;
895
- return bt({
896
- controlType: i == null ? void 0 : i.type,
897
- optionKey: ((o = this.customOptionConfiguration) == null ? void 0 : o.key) ?? this.optionKey,
898
- controlInfo: i,
899
- options: this.options,
900
- slots: this.slots,
901
- theme: this.theme,
902
- language: this.language,
903
- translations: this._translations,
904
- size: this.size,
905
- changeCallback: this.changedOptions
906
- });
907
- },
908
- error: (i) => (console.error(i), O``)
867
+ pending: () => u`<p>Loading...</p>`,
868
+ complete: (i) => X({
869
+ controlType: i?.type,
870
+ optionKey: this.customOptionConfiguration?.key ?? this.optionKey,
871
+ controlInfo: i,
872
+ options: this.options,
873
+ slots: this.slots,
874
+ theme: this.theme,
875
+ language: this.language,
876
+ translations: this._translations,
877
+ size: this.size,
878
+ changeCallback: this.changedOptions
879
+ }),
880
+ error: (i) => (console.error(i), u``)
909
881
  });
910
882
  }
911
883
  };
912
- F.styles = Y(it);
913
- let S = F;
914
- R([
915
- j({ type: String, reflect: !0 })
916
- ], S.prototype, "language");
917
- R([
918
- j({ type: String, reflect: !0, attribute: "item-type" })
919
- ], S.prototype, "itemType");
920
- R([
921
- j({ type: String, reflect: !0, attribute: "option-key" })
922
- ], S.prototype, "optionKey");
923
- R([
924
- j({ type: Object, reflect: !1 })
925
- ], S.prototype, "customOptionConfiguration");
926
- R([
927
- j({ type: Object, reflect: !1 })
928
- ], S.prototype, "customTranslations");
929
- R([
930
- j({ type: Object })
931
- ], S.prototype, "options");
932
- R([
933
- j({ type: Object })
934
- ], S.prototype, "slots");
935
- R([
936
- j({ type: Object })
937
- ], S.prototype, "theme");
938
- R([
939
- j({ type: String, reflect: !0 })
940
- ], S.prototype, "size");
941
- customElements.get("luzmo-edit-option") || customElements.define("luzmo-edit-option", S);
884
+ z.styles = T(S);
885
+ let y = z;
886
+ I([
887
+ k({ type: String, reflect: !0 })
888
+ ], y.prototype, "language");
889
+ I([
890
+ k({ type: String, reflect: !0, attribute: "item-type" })
891
+ ], y.prototype, "itemType");
892
+ I([
893
+ k({ type: String, reflect: !0, attribute: "option-key" })
894
+ ], y.prototype, "optionKey");
895
+ I([
896
+ k({ type: Object, reflect: !1 })
897
+ ], y.prototype, "customOptionConfiguration");
898
+ I([
899
+ k({ type: Object, reflect: !1 })
900
+ ], y.prototype, "customTranslations");
901
+ I([
902
+ k({ type: Object })
903
+ ], y.prototype, "options");
904
+ I([
905
+ k({ type: Object })
906
+ ], y.prototype, "slots");
907
+ I([
908
+ k({ type: Object })
909
+ ], y.prototype, "theme");
910
+ I([
911
+ k({ type: String, reflect: !0 })
912
+ ], y.prototype, "size");
913
+ customElements.get("luzmo-edit-option") || customElements.define("luzmo-edit-option", y);
942
914
  export {
943
- S as L,
944
- tt as g
915
+ y as L,
916
+ M as g
945
917
  };