@luzmo/analytics-components-kit 1.0.1-alpha.10 → 1.0.1-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/components/area-chart.config-Ba68ZiSX.js +198 -0
  2. package/components/area-chart.config-Vo0u3UK8.cjs +20 -0
  3. package/components/{column-chart.config-C9hP0kX7.js → bar-chart.config-CF1i1Imw.js} +67 -39
  4. package/components/bar-chart.config-YLP38HOE.cjs +20 -0
  5. package/components/{bar-chart.en-FwT00qdU.js → bar-chart.en-Crc8tYUJ.js} +17 -0
  6. package/components/{donut-chart.en-Blb9oSdU.cjs → bar-chart.en-D1UfGsS3.cjs} +1 -1
  7. package/components/bar-chart.fr-BwiGRlQf.js +86 -0
  8. package/components/bar-chart.fr-CP7DTrlk.cjs +20 -0
  9. package/components/bar-chart.nl-C9EOP2kE.js +86 -0
  10. package/components/bar-chart.nl-Cxq8ID8c.cjs +20 -0
  11. package/components/{bar-chart.nl-ahX1ARpH.js → box-plot-slots.config-BRhnF2FE.js} +25 -21
  12. package/components/box-plot-slots.config-DZxyy3sS.cjs +20 -0
  13. package/components/{textobject.config-C8opcGG4.js → bubble-chart-slots.config-Bbh94VgZ.js} +18 -24
  14. package/components/bubble-chart-slots.config-BwSwgleO.cjs +20 -0
  15. package/components/bubble-chart.config-1MrC55Nb.js +142 -0
  16. package/components/bubble-chart.config-bQBq1s3C.cjs +20 -0
  17. package/components/bullet-chart-slots.config-Ccv_dX0s.js +45 -0
  18. package/components/bullet-chart-slots.config-CiYsxviC.cjs +20 -0
  19. package/components/choropleth-map-slots.config-B-uJTj4q.js +47 -0
  20. package/components/{bar-chart.nl-BYzVExsz.cjs → choropleth-map-slots.config-PNwSR0XY.cjs} +1 -1
  21. package/components/{donut-chart.nl-D9YGbOce.cjs → circle-pack-chart-slots.config-C-_ganmv.cjs} +1 -1
  22. package/components/circle-pack-chart-slots.config-xwVdRiwS.js +40 -0
  23. package/components/circle-pack-chart.config-BOlrxRJA.cjs +20 -0
  24. package/components/circle-pack-chart.config-Bbm2bTgy.js +110 -0
  25. package/components/{donut-chart.fr-BeTVa2wh.cjs → circular-gauge-slots.config-Cd-nkNPm.cjs} +1 -1
  26. package/components/circular-gauge-slots.config-DA-ZAc5d.js +39 -0
  27. package/components/column-chart-slots.config-C7MhpoR8.cjs +20 -0
  28. package/components/column-chart-slots.config-DAdAk17k.js +47 -0
  29. package/components/{bar-chart.config-CQ6HAvs2.js → column-chart.config-BT1QH4BI.js} +64 -37
  30. package/components/column-chart.config-CppyNukh.cjs +20 -0
  31. package/components/column-chart.en-Crc8tYUJ.js +86 -0
  32. package/components/{bar-chart.en-BqYbiHO3.cjs → column-chart.en-D1UfGsS3.cjs} +1 -1
  33. package/components/column-chart.fr-BwiGRlQf.js +86 -0
  34. package/components/column-chart.fr-CP7DTrlk.cjs +20 -0
  35. package/components/column-chart.nl-C9EOP2kE.js +86 -0
  36. package/components/column-chart.nl-Cxq8ID8c.cjs +20 -0
  37. package/components/combination-chart-slots.config-CqKLFKCZ.js +45 -0
  38. package/components/combination-chart-slots.config-crMO01EO.cjs +20 -0
  39. package/components/conditional-number-slots.config-CD5ZwXuY.cjs +20 -0
  40. package/components/conditional-number-slots.config-L3t5pb1-.js +39 -0
  41. package/components/date-filter-slots.config-Cb1LcT9W.cjs +20 -0
  42. package/components/date-filter-slots.config-CxB8IF5B.js +33 -0
  43. package/components/display-settings-datetime/index.cjs +209 -1
  44. package/components/display-settings-datetime/index.js +518 -6
  45. package/components/donut-chart.config-B_38UAqp.cjs +20 -0
  46. package/components/{donut-chart.config-3DhKiSSM.js → donut-chart.config-DuJFyp4z.js} +4 -2
  47. package/components/{donut-chart.en-CzjT4-XN.js → donut-chart.en-CrUf4CJ9.js} +14 -0
  48. package/components/donut-chart.en-DHCYs2el.cjs +20 -0
  49. package/components/donut-chart.fr-C33dLw52.cjs +20 -0
  50. package/components/donut-chart.fr-DVfZwZny.js +99 -0
  51. package/components/donut-chart.nl-B13jr7SK.js +99 -0
  52. package/components/donut-chart.nl-CHAnU1xZ.cjs +20 -0
  53. package/components/draggable-data-item-level/index.cjs +1 -1
  54. package/components/draggable-data-item-level/index.js +1 -1
  55. package/components/dropdown-filter-slots.config-B8J6ftCh.js +46 -0
  56. package/components/dropdown-filter-slots.config-I2n4b_6V.cjs +20 -0
  57. package/components/dropdown-filter.config-BPBxTuLQ.cjs +20 -0
  58. package/components/dropdown-filter.config-Drv-A4zw.js +163 -0
  59. package/components/droppable-slot/index.cjs +12 -12
  60. package/components/droppable-slot/index.js +126 -85
  61. package/components/droppable-slot/item-slots-configs/box-plot-slots.config.d.ts +26 -0
  62. package/components/droppable-slot/item-slots-configs/bubble-chart-slots.config.d.ts +30 -0
  63. package/components/droppable-slot/item-slots-configs/bullet-chart-slots.config.d.ts +18 -0
  64. package/components/droppable-slot/item-slots-configs/choropleth-map-slots.config.d.ts +29 -0
  65. package/components/droppable-slot/item-slots-configs/circle-pack-chart-slots.config.d.ts +22 -0
  66. package/components/droppable-slot/item-slots-configs/circular-gauge-slots.config.d.ts +16 -0
  67. package/components/droppable-slot/item-slots-configs/column-chart-slots.config.d.ts +24 -0
  68. package/components/droppable-slot/item-slots-configs/combination-chart-slots.config.d.ts +30 -0
  69. package/components/droppable-slot/item-slots-configs/conditional-number-slots.config.d.ts +16 -0
  70. package/components/droppable-slot/item-slots-configs/date-filter-slots.config.d.ts +10 -0
  71. package/components/droppable-slot/item-slots-configs/dropdown-filter-slots.config.d.ts +23 -0
  72. package/components/droppable-slot/item-slots-configs/evolution-number-slots.config.d.ts +18 -0
  73. package/components/droppable-slot/item-slots-configs/funnel-chart-slots.config.d.ts +22 -0
  74. package/components/droppable-slot/item-slots-configs/heat-map-slots.config.d.ts +18 -0
  75. package/components/droppable-slot/item-slots-configs/heat-table-slots.config.d.ts +20 -0
  76. package/components/droppable-slot/item-slots-configs/hexbin-map-slots.config.d.ts +18 -0
  77. package/components/droppable-slot/item-slots-configs/image-slots.config.d.ts +2 -0
  78. package/components/droppable-slot/item-slots-configs/index.d.ts +44 -0
  79. package/components/droppable-slot/item-slots-configs/line-chart-slots.config.d.ts +44 -0
  80. package/components/droppable-slot/item-slots-configs/marker-map-slots.config.d.ts +18 -0
  81. package/components/droppable-slot/item-slots-configs/ohlc-chart-slots.config.d.ts +21 -0
  82. package/components/droppable-slot/item-slots-configs/parallel-coordinates-plot-slots.config.d.ts +23 -0
  83. package/components/droppable-slot/item-slots-configs/pivot-table-slots.config.d.ts +21 -0
  84. package/components/droppable-slot/item-slots-configs/pyramid-chart-slots.config.d.ts +33 -0
  85. package/components/droppable-slot/item-slots-configs/radar-chart-slots.config.d.ts +33 -0
  86. package/components/droppable-slot/item-slots-configs/regular-table-slots.config.d.ts +13 -0
  87. package/components/droppable-slot/item-slots-configs/route-map-slots.config.d.ts +28 -0
  88. package/components/droppable-slot/item-slots-configs/sankey-diagram-slots.config.d.ts +33 -0
  89. package/components/droppable-slot/item-slots-configs/scatter-plot-slots.config.d.ts +50 -0
  90. package/components/droppable-slot/item-slots-configs/search-filter-slots.config.d.ts +24 -0
  91. package/components/droppable-slot/item-slots-configs/slicer-filter-slots.config.d.ts +23 -0
  92. package/components/droppable-slot/item-slots-configs/slider-filter-slots.config.d.ts +13 -0
  93. package/components/droppable-slot/item-slots-configs/speedometer-chart-slots.config.d.ts +16 -0
  94. package/components/droppable-slot/item-slots-configs/spike-map-slots.config.d.ts +31 -0
  95. package/components/droppable-slot/item-slots-configs/strip-plot-slots.config.d.ts +22 -0
  96. package/components/droppable-slot/item-slots-configs/sunburst-chart-slots.config.d.ts +22 -0
  97. package/components/droppable-slot/item-slots-configs/symbol-map-slots.config.d.ts +31 -0
  98. package/components/droppable-slot/item-slots-configs/text-slots.config.d.ts +2 -0
  99. package/components/droppable-slot/item-slots-configs/treemap-chart-slots.config.d.ts +30 -0
  100. package/components/droppable-slot/item-slots-configs/venn-diagram-slots.config.d.ts +18 -0
  101. package/components/droppable-slot/item-slots-configs/video-slots.config.d.ts +2 -0
  102. package/components/droppable-slot/item-slots-configs/wordcloud-chart-slots.config.d.ts +23 -0
  103. package/components/edit-item/index.cjs +16 -18
  104. package/components/edit-item/index.js +195 -164
  105. package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
  106. package/components/edit-option/index.cjs +135 -116
  107. package/components/edit-option/index.js +352 -280
  108. package/components/edit-option/item-configs/area-chart.config.d.ts +146 -0
  109. package/components/edit-option/item-configs/bar-chart.config.d.ts +23 -2
  110. package/components/edit-option/item-configs/bubble-chart.config.d.ts +90 -0
  111. package/components/edit-option/item-configs/circle-pack-chart.config.d.ts +35 -0
  112. package/components/edit-option/item-configs/column-chart.config.d.ts +17 -2
  113. package/components/edit-option/item-configs/donut-chart.config.d.ts +4 -0
  114. package/components/edit-option/item-configs/dropdown-filter.config.d.ts +74 -0
  115. package/components/edit-option/item-configs/imageobject.config.d.ts +1 -3
  116. package/components/edit-option/item-configs/line-chart.config.d.ts +52 -2
  117. package/components/edit-option/item-configs/ohlc-chart.config.d.ts +37 -0
  118. package/components/edit-option/item-configs/radar-chart.config.d.ts +122 -0
  119. package/components/edit-option/item-configs/sankey-diagram.config.d.ts +46 -0
  120. package/components/edit-option/item-configs/search-filter.config.d.ts +40 -0
  121. package/components/edit-option/item-configs/slicer-filter.config.d.ts +136 -0
  122. package/components/edit-option/item-configs/slider-filter.config.d.ts +45 -0
  123. package/components/edit-option/item-configs/spacer.config.d.ts +2 -0
  124. package/components/edit-option/item-configs/sunburst-chart.config.d.ts +51 -0
  125. package/components/edit-option/item-configs/textobject.config.d.ts +34 -2
  126. package/components/edit-option/item-configs/treemap-chart.config.d.ts +103 -0
  127. package/components/edit-option/item-configs/videoobject.config.d.ts +90 -0
  128. package/components/edit-option/item-configs/wordcloud-chart.config.d.ts +46 -0
  129. package/components/edit-option/item-translations/bar-chart.en.d.ts +17 -0
  130. package/components/edit-option/item-translations/bar-chart.fr.d.ts +47 -5
  131. package/components/edit-option/item-translations/bar-chart.nl.d.ts +47 -5
  132. package/components/edit-option/item-translations/column-chart.en.d.ts +65 -0
  133. package/components/edit-option/item-translations/column-chart.fr.d.ts +65 -0
  134. package/components/edit-option/item-translations/column-chart.nl.d.ts +65 -0
  135. package/components/edit-option/item-translations/donut-chart.en.d.ts +14 -0
  136. package/components/edit-option/item-translations/donut-chart.fr.d.ts +62 -2
  137. package/components/edit-option/item-translations/donut-chart.nl.d.ts +62 -2
  138. package/components/edit-option/item-translations/imageobject.en.d.ts +71 -0
  139. package/components/edit-option/item-translations/imageobject.fr.d.ts +71 -0
  140. package/components/edit-option/item-translations/imageobject.nl.d.ts +71 -0
  141. package/components/edit-option/item-translations/textobject.en.d.ts +17 -0
  142. package/components/edit-option/item-translations/textobject.fr.d.ts +17 -0
  143. package/components/edit-option/item-translations/textobject.nl.d.ts +17 -0
  144. package/components/edit-option-action-button-group/index.cjs +12 -5
  145. package/components/edit-option-action-button-group/index.js +26 -19
  146. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +2 -0
  147. package/components/edit-option-multi-language-field/index.cjs +3 -3
  148. package/components/edit-option-multi-language-field/index.js +32 -22
  149. package/components/edit-option-position-picker/edit-option-position-picker.d.ts +13 -0
  150. package/components/edit-option-position-picker/index.cjs +25 -0
  151. package/components/edit-option-position-picker/index.d.ts +7 -0
  152. package/components/edit-option-position-picker/index.js +110 -0
  153. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +11 -9
  154. package/components/edit-option-positions-number-field/index.cjs +12 -12
  155. package/components/edit-option-positions-number-field/index.js +84 -75
  156. package/components/{en-GB-DX5un7Gr.js → en-GB-BtLbN8o_.js} +1 -1
  157. package/components/en-GB-Dd11ROdW.cjs +20 -0
  158. package/components/evolution-number-slots.config-BI-sFIug.cjs +20 -0
  159. package/components/evolution-number-slots.config-CW21b2ua.js +39 -0
  160. package/components/formatter-CQDms6fU.js +1478 -0
  161. package/components/formatter-DiJYkB6b.cjs +20 -0
  162. package/components/funnel-chart-slots.config-BBhMS2qi.js +40 -0
  163. package/components/funnel-chart-slots.config-WrokHS7f.cjs +20 -0
  164. package/components/heat-map-slots.config-CSxSsQwX.cjs +20 -0
  165. package/components/heat-map-slots.config-cdD8XTmI.js +39 -0
  166. package/components/heat-table-slots.config-DJkP72oT.js +48 -0
  167. package/components/heat-table-slots.config-GGX3BCh1.cjs +20 -0
  168. package/components/hexbin-map-slots.config-CSxSsQwX.cjs +20 -0
  169. package/components/hexbin-map-slots.config-cdD8XTmI.js +39 -0
  170. package/components/image-slots.config-IpwUxDyU.js +23 -0
  171. package/components/{en-GB-Bz4u7Uqv.cjs → image-slots.config-mPXMR1CE.cjs} +1 -1
  172. package/components/{imageobject.config-DZLp9Elq.js → imageobject.config-CBfeq5Zw.js} +2 -2
  173. package/components/{imageobject.config-B7ld9bj3.cjs → imageobject.config-Dqhc2c3b.cjs} +1 -1
  174. package/components/imageobject.en-BMmV-4O-.js +92 -0
  175. package/components/imageobject.en-DflcU_2H.cjs +20 -0
  176. package/components/imageobject.fr-DRE3zImB.js +92 -0
  177. package/components/imageobject.fr-ycH7UoX5.cjs +20 -0
  178. package/components/imageobject.nl-D20hki6i.js +92 -0
  179. package/components/imageobject.nl-DQL45o0j.cjs +20 -0
  180. package/components/index-DXyAeBh6.cjs +20 -0
  181. package/components/index-Di00QW2f.js +113 -0
  182. package/components/index.cjs +1 -1
  183. package/components/index.js +35 -25
  184. package/components/item-list.cjs +20 -0
  185. package/components/item-list.js +423 -0
  186. package/components/item-menu/item-list/item-list.d.ts +35 -0
  187. package/components/item-slots-configs.cjs +20 -0
  188. package/components/item-slots-configs.js +109 -0
  189. package/components/line-chart-slots.config-CIfDfftd.cjs +20 -0
  190. package/components/line-chart-slots.config-P7xa-pHi.js +52 -0
  191. package/components/line-chart.config-BB_thZtA.js +179 -0
  192. package/components/line-chart.config-i2233s5F.cjs +20 -0
  193. package/components/{localize-B6AsX_Zv.js → localize-BX7q0S0M.js} +16 -16
  194. package/components/localize-r7ALOUy_.cjs +20 -0
  195. package/components/marker-map-slots.config-CSxSsQwX.cjs +20 -0
  196. package/components/marker-map-slots.config-cdD8XTmI.js +39 -0
  197. package/components/ohlc-chart-slots.config-Cvy5n1xv.js +64 -0
  198. package/components/ohlc-chart-slots.config-DMomcHMV.cjs +20 -0
  199. package/components/ohlc-chart.config-BLlRV_bs.cjs +20 -0
  200. package/components/ohlc-chart.config-D9npwajt.js +75 -0
  201. package/components/parallel-coordinates-plot-slots.config-BRXA5nUl.cjs +20 -0
  202. package/components/parallel-coordinates-plot-slots.config-CQW2CJW6.js +44 -0
  203. package/components/pivot-table-slots.config-BH5fOJre.js +48 -0
  204. package/components/pivot-table-slots.config-DzGWM3Ez.cjs +20 -0
  205. package/components/pyramid-chart-slots.config-Cm9bQsXT.js +47 -0
  206. package/components/pyramid-chart-slots.config-DeWrVApy.cjs +20 -0
  207. package/components/radar-chart-slots.config-Dpmytmc3.js +47 -0
  208. package/components/radar-chart-slots.config-Dxx5fKnS.cjs +20 -0
  209. package/components/radar-chart.config-DPPlIptA.cjs +20 -0
  210. package/components/radar-chart.config-DfID1TZ-.js +164 -0
  211. package/components/regular-table-slots.config-ChrvnRDb.cjs +20 -0
  212. package/components/regular-table-slots.config-EUS-V9lL.js +33 -0
  213. package/components/route-map-slots.config-BfbIWCr0.cjs +20 -0
  214. package/components/route-map-slots.config-DYCcaQZi.js +53 -0
  215. package/components/sankey-diagram-slots.config-B7Q-ZfUP.cjs +20 -0
  216. package/components/sankey-diagram-slots.config-BSTBEZDe.js +55 -0
  217. package/components/sankey-diagram.config-BVjCEw5M.js +138 -0
  218. package/components/sankey-diagram.config-CG5S1OI3.cjs +20 -0
  219. package/components/scatter-plot-slots.config-BuWYqDWK.js +70 -0
  220. package/components/scatter-plot-slots.config-wlX_PVu8.cjs +20 -0
  221. package/components/search-filter-slots.config-DOlr8VaD.cjs +20 -0
  222. package/components/search-filter-slots.config-DmiVXOva.js +47 -0
  223. package/components/search-filter.config-C9CoGS9f.cjs +20 -0
  224. package/components/search-filter.config-baX2Vdul.js +111 -0
  225. package/components/{bar-chart.fr-DbxKiM0j.js → slicer-filter-slots.config-CHQ0ZXga.js} +21 -20
  226. package/components/slicer-filter-slots.config-Dyte3aGp.cjs +20 -0
  227. package/components/slicer-filter.config-A3YK_KZn.js +211 -0
  228. package/components/slicer-filter.config-DQunaj8q.cjs +20 -0
  229. package/components/slider-filter-slots.config-BN3K1rnl.js +33 -0
  230. package/components/slider-filter-slots.config-Cr5oXbok.cjs +20 -0
  231. package/components/slider-filter.config-C-zvfTNl.js +98 -0
  232. package/components/slider-filter.config-DF_sAElS.cjs +20 -0
  233. package/components/slot-menu/index.cjs +1 -1
  234. package/components/slot-menu/index.js +1 -1
  235. package/components/slot-menu-list/index.cjs +1 -1
  236. package/components/slot-menu-list/index.js +1 -1
  237. package/components/spacer.config-Br2Dm5Uv.js +23 -0
  238. package/components/spacer.config-mPXMR1CE.cjs +20 -0
  239. package/components/speedometer-chart-slots.config-Cd-nkNPm.cjs +20 -0
  240. package/components/speedometer-chart-slots.config-DA-ZAc5d.js +39 -0
  241. package/components/spike-map-slots.config-CuqpgkvN.js +46 -0
  242. package/components/spike-map-slots.config-Drga6_j0.cjs +20 -0
  243. package/components/strip-plot-slots.config-Co8ghEv8.js +40 -0
  244. package/components/strip-plot-slots.config-JvkKY5Ga.cjs +20 -0
  245. package/components/sunburst-chart-slots.config-C-_ganmv.cjs +20 -0
  246. package/components/sunburst-chart-slots.config-xwVdRiwS.js +40 -0
  247. package/components/sunburst-chart.config-CEfAd1RQ.cjs +20 -0
  248. package/components/sunburst-chart.config-VZqDthcz.js +139 -0
  249. package/components/symbol-map-slots.config-C5CKaVED.js +47 -0
  250. package/components/{bar-chart.fr-DGx9smEh.cjs → symbol-map-slots.config-DtW-3xkd.cjs} +1 -1
  251. package/components/text-slots.config-BMBEkf0O.cjs +20 -0
  252. package/components/text-slots.config-Hy5yNIAX.js +23 -0
  253. package/components/{textobject.config-DbAajFz8.cjs → textobject.config-BFB3rEmt.cjs} +1 -1
  254. package/components/textobject.config-DTDqt0ci.js +73 -0
  255. package/components/textobject.en-BQqHFc7M.js +38 -0
  256. package/components/textobject.en-LfsMtwo6.cjs +20 -0
  257. package/components/textobject.fr-B8x29grG.cjs +20 -0
  258. package/components/{donut-chart.nl-NMatXfhK.js → textobject.fr-VPJ3bDOM.js} +11 -12
  259. package/components/textobject.nl-DzglrI3i.cjs +20 -0
  260. package/components/{donut-chart.fr-DftPrKbG.js → textobject.nl-V03mmGmH.js} +11 -12
  261. package/components/treemap-chart-slots.config-C3bnHCyy.cjs +20 -0
  262. package/components/treemap-chart-slots.config-xLD22K9V.js +46 -0
  263. package/components/treemap-chart.config-BalwwrhW.js +214 -0
  264. package/components/treemap-chart.config-D6H5Hf2B.cjs +20 -0
  265. package/components/utils.cjs +1 -1
  266. package/components/utils.js +71 -1
  267. package/components/venn-diagram-slots.config-CpOPbUjs.cjs +20 -0
  268. package/components/venn-diagram-slots.config-DPmj71cR.js +48 -0
  269. package/components/video-slots.config-IpwUxDyU.js +23 -0
  270. package/components/video-slots.config-mPXMR1CE.cjs +20 -0
  271. package/components/videoobject.config-BBDHSf6_.cjs +20 -0
  272. package/components/videoobject.config-CbtNZAEK.js +135 -0
  273. package/components/wordcloud-chart-slots.config-BS4sOOHt.js +44 -0
  274. package/components/wordcloud-chart-slots.config-D7CiYopX.cjs +20 -0
  275. package/components/wordcloud-chart.config-BLvcDvxT.cjs +20 -0
  276. package/components/wordcloud-chart.config-CQs8YFfd.js +89 -0
  277. package/custom-elements.json +3426 -1767
  278. package/index.d.ts +2 -0
  279. package/package.json +16 -1
  280. package/utils/index.d.ts +4 -1
  281. package/utils/switch-item/index.d.ts +18 -0
  282. package/components/bar-chart.config-B57geUzJ.cjs +0 -20
  283. package/components/column-chart.config-B57geUzJ.cjs +0 -20
  284. package/components/donut-chart.config-DLWJUlHx.cjs +0 -20
  285. package/components/en-BByOeNuP.js +0 -1989
  286. package/components/en-BFGuvaVG.cjs +0 -228
  287. package/components/line-chart.config-BZcvfO2c.cjs +0 -20
  288. package/components/line-chart.config-CIVN6uLI.js +0 -115
  289. package/components/localize-DbobqcKs.cjs +0 -20
  290. package/generated/locales/de.d.ts +0 -82
  291. package/generated/locales/es.d.ts +0 -82
  292. package/generated/locales/fr.d.ts +0 -82
  293. package/generated/locales/nl.d.ts +0 -82
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=[{name:"measure",rotate:!1,label:"Measures",type:"numeric",options:{isCumulativeSumEnabled:!0},canAcceptMultipleColumns:!0,canAcceptFormula:!0},{name:"x-axis",rotate:!1,label:"X axis",type:"mixed",options:{isAggregationDisabled:!0,isBinningDisabled:!0,areDatetimeOptionsEnabled:!0},isRequired:!0}];exports.default=e;
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=[{name:"measure",rotate:!1,label:"Measure",type:"numeric",isRequired:!0,canAcceptFormula:!0},{name:"target",rotate:!1,label:"Target",type:"numeric",canAcceptFormula:!0}];exports.default=e;
@@ -0,0 +1,39 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e = [
21
+ {
22
+ name: "measure",
23
+ rotate: !1,
24
+ label: "Measure",
25
+ type: "numeric",
26
+ isRequired: !0,
27
+ canAcceptFormula: !0
28
+ },
29
+ {
30
+ name: "target",
31
+ rotate: !1,
32
+ label: "Target",
33
+ type: "numeric",
34
+ canAcceptFormula: !0
35
+ }
36
+ ];
37
+ export {
38
+ e as default
39
+ };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=[{name:"time",rotate:!1,type:"categorical",label:"Datetime",isRequired:!0,canAcceptMultipleColumns:!0,acceptableColumnTypes:["datetime"]}];exports.default=e;
@@ -0,0 +1,33 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e = [
21
+ {
22
+ name: "time",
23
+ rotate: !1,
24
+ type: "categorical",
25
+ label: "Datetime",
26
+ isRequired: !0,
27
+ canAcceptMultipleColumns: !0,
28
+ acceptableColumnTypes: ["datetime"]
29
+ }
30
+ ];
31
+ export {
32
+ e as default
33
+ };
@@ -17,4 +17,212 @@
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 e=require("../en-BFGuvaVG.cjs");Object.defineProperty(exports,"LuzmoDisplaySettingsDatetime",{enumerable:!0,get:()=>e.LuzmoDisplaySettingsDatetime});
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../task-B8yMzxui.cjs");require("../index-zuArOtOt.cjs");require("../index-DUO13KGl.cjs");require("../index-Bt5nP_6w.cjs");require("../index-h9T5DPIm.cjs");require("../index-iYpAy-Kg.cjs");require("../index-BrEDK88k.cjs");require("../index-i8GaIN7i.cjs");const s=require("../property-0L4eB11h.cjs"),p=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),i=require("../set-locale-ByIApH40.cjs"),d=require("../luzmo-icons-XsFsTAl3.cjs"),m=require("../formatter-DiJYkB6b.cjs"),h=require("../periods.const-CDIkC5CK.cjs"),l=require("../query-D5qWDopr.cjs"),c={"~":()=>i.msg("Auto",{desc:"Automatic setting of the option"}),"/":()=>"/","-":()=>"-",".":()=>"."},f=":host{font-family:var(--luzmo-display-settings-datetime-font-family, var(--luzmo-font-family))}:host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap, var(--display-settings-datetime-gap))}:host .example-container{line-height:var(--luzmo-display-settings-datetime-example-height, var(--display-settings-datetime-example-height));font-size:var(--luzmo-display-settings-datetime-example-font-size, var(--display-settings-datetime-example-font-size));color:var(--luzmo-display-settings-datetime-example-color, var(--display-settings-datetime-example-color))}:host .example-container .example-label{font-weight:var(--luzmo-display-settings-datetime-example-label-font-weight, var(--display-settings-datetime-example-label-font-weight));color:var(--luzmo-display-settings-datetime-example-label-color, var(--display-settings-datetime-example-label-color))}:host .example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-datetime-example-language-color, var(--display-settings-datetime-example-language-color))}:host{--display-settings-datetime-example-font-size: var(--luzmo-font-size);--display-settings-datetime-example-color: var(--luzmo-font-color);--display-settings-datetime-example-label-font-weight: bold;--display-settings-datetime-example-label-color: var(--luzmo-primary);--display-settings-datetime-example-language-color: var(--luzmo-primary)}:host{--display-settings-datetime-gap: var(--luzmo-spacing-3);--display-settings-datetime-example-height: var(--luzmo-component-height);--display-settings-datetime-example-font-size: var(--luzmo-font-size-s)}:host([size=s]){--display-settings-datetime-gap: var(--luzmo-spacing-3);--display-settings-datetime-example-height: var(--luzmo-component-height-s);--display-settings-datetime-example-font-size: var(--luzmo-font-size-s)}:host([size=l]){--display-settings-datetime-gap: var(--luzmo-spacing-4);--display-settings-datetime-example-height: var(--luzmo-component-height-l);--display-settings-datetime-example-font-size: var(--luzmo-font-size)}:host([size=xl]){--display-settings-datetime-gap: var(--luzmo-spacing-5);--display-settings-datetime-example-height: var(--luzmo-component-height-xl);--display-settings-datetime-example-font-size: var(--luzmo-font-size-l)}";var y=Object.defineProperty,v=Object.getOwnPropertyDescriptor,r=(u,e,t,o)=>{for(var a=o>1?void 0:o?v(e,t):e,n=u.length-1,_;n>=0;n--)(_=u[n])&&(a=(o?_(e,t,a):_(a))||a);return o&&a&&y(e,t,a),a};exports.LuzmoDisplaySettingsDatetime=class extends p.m(s.kt,{validSizes:Object.values(p.d)}){constructor(){super(...arguments),this._loadLocaleFormatsConfig=new g.h(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){const t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>Promise.resolve().then(()=>require("../cs-I9E81keK.cjs")),"../../utils/formatter/formats/da.ts":()=>Promise.resolve().then(()=>require("../da-QkdvupDg.cjs")),"../../utils/formatter/formats/de.ts":()=>Promise.resolve().then(()=>require("../de-Dn5mUzha.cjs")),"../../utils/formatter/formats/en-GB.ts":()=>Promise.resolve().then(()=>require("../en-GB-Dd11ROdW.cjs")),"../../utils/formatter/formats/en-US.ts":()=>Promise.resolve().then(()=>z),"../../utils/formatter/formats/en.ts":()=>Promise.resolve().then(()=>S),"../../utils/formatter/formats/es.ts":()=>Promise.resolve().then(()=>require("../es-CwyPlN5d.cjs")),"../../utils/formatter/formats/fi.ts":()=>Promise.resolve().then(()=>require("../fi-rijeZE5V.cjs")),"../../utils/formatter/formats/fr.ts":()=>Promise.resolve().then(()=>require("../fr-BcgE-6S_.cjs")),"../../utils/formatter/formats/he.ts":()=>Promise.resolve().then(()=>require("../he-O6Ih8Bqh.cjs")),"../../utils/formatter/formats/hu.ts":()=>Promise.resolve().then(()=>require("../hu-BnZ8y3xQ.cjs")),"../../utils/formatter/formats/it.ts":()=>Promise.resolve().then(()=>require("../it-PshtLMkq.cjs")),"../../utils/formatter/formats/ja.ts":()=>Promise.resolve().then(()=>require("../ja-KIS2HdaG.cjs")),"../../utils/formatter/formats/ko.ts":()=>Promise.resolve().then(()=>require("../ko--l4qmjLV.cjs")),"../../utils/formatter/formats/mk.ts":()=>Promise.resolve().then(()=>require("../mk-DZlj-edb.cjs")),"../../utils/formatter/formats/nl.ts":()=>Promise.resolve().then(()=>require("../nl-BKlDqOXb.cjs")),"../../utils/formatter/formats/no.ts":()=>Promise.resolve().then(()=>require("../no-D_SzxhTu.cjs")),"../../utils/formatter/formats/pl.ts":()=>Promise.resolve().then(()=>require("../pl-PIK23rK_.cjs")),"../../utils/formatter/formats/pt.ts":()=>Promise.resolve().then(()=>require("../pt-Dqlu4MS5.cjs")),"../../utils/formatter/formats/ru.ts":()=>Promise.resolve().then(()=>require("../ru-zyNDTB04.cjs")),"../../utils/formatter/formats/sv.ts":()=>Promise.resolve().then(()=>require("../sv-1DPTltNQ.cjs")),"../../utils/formatter/formats/tr.ts":()=>Promise.resolve().then(()=>require("../tr-BkmWvOG2.cjs")),"../../utils/formatter/formats/zh-CN.ts":()=>Promise.resolve().then(()=>require("../zh-CN-DTZ4OmdP.cjs")),"../../utils/formatter/formats/zh-TW.ts":()=>Promise.resolve().then(()=>require("../zh-TW-DTZ4OmdP.cjs"))});if(t[`../../utils/formatter/formats/${e}.ts`]){const o=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=(o==null?void 0:o.default)??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.language="en",this.contentLanguage="en",this.size="m",this.slotContent={},this._dateLevel=5,this._displayAs="default",this._weekStart="monday",this._weekDayAndMonthInYearFormat="long",this._dateFormat="auto",this._dateSeparator="~",this._sendEvent=()=>{this._calculateSlotContent(),this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[s.r$1(f)]}_parseSlotContent(){var e,t;this._dateLevel=this.slotContent.level??((e=this.slotContent)==null?void 0:e.lowestLevel)??5,this._displayAs=((t=this.slotContent)==null?void 0:t.datetimeDisplayMode)??"default",this._displayAs==="weekday_number"&&(this._displayAs="day_in_week",this._weekDayAndMonthInYearFormat="number"),this._displayAs==="weekday_name"&&(this._displayAs="day_in_week"),this._displayAs==="month_number"&&(this._displayAs="month_in_year",this._weekDayAndMonthInYearFormat="number"),this._displayAs==="month_name"&&(this._displayAs="month_in_year")}_calculateFormat(){var o;let e;const t=((o=this._localeFormats)==null?void 0:o.smartDateFormats)??m.SMART_DATE_FORMATS;this._monthName?(e=t.filter(a=>a.monthType==="name"&&a.longText===(this._monthNameFormat==="long")&&a.weekday===this._weekDay),e.length>0?this._format=e[0].key:(this._weekDayAndMonthInYearFormat="short",this._weekDay=!0,this._format="%a %e %B %Y")):(e=this._dateLevel&&this._dateLevel===4?t.filter(a=>a.monthType==="number"&&a.mmdd===(this._weekFormat==="mmdd"?!0:this._weekFormat==="ddmm"?!1:null)&&a.separator===this._dateSeparator):t.filter(a=>a.monthType==="number"&&a.mmdd===(this._dateFormat==="mmdd"?!0:this._dateFormat==="ddmm"?!1:null)&&a.separator===this._dateSeparator),this._dateFormat==="auto"&&this._dateLevel&&this._dateLevel!==4?this._format="%amd"+this._dateSeparator+"%Y":e.length>0?this._format=e[0].key:(this._dateFormat="ddmm",this._dateSeparator="/",this._format="%d/%m/%Y")),this._dateLevel&&this._dateLevel>5&&(this._format+=this._24hFormat?" %H:%M:%S.%L":" %I:%M:%S.%L %p")}_setWeekStartsOn(){this._weekStart=this._weekStartElement.value,this._sendEvent(),this.requestUpdate()}_setDisplayAs(){this._displayAs=this._displayAsElement.value,this._sendEvent(),this.requestUpdate()}_setWeekdayAndMonthInYearFormat(){var e;this._weekDayAndMonthInYearFormat=((e=this._weekDayAndMonthInYearFormatElement.selected)==null?void 0:e[0])??"long",this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){var e;this._monthNameFormat=(e=this._monthNameFormatElement.selected)==null?void 0:e[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){var e;this._weekFormat=(e=this._weekFormatElement.selected)==null?void 0:e[0],this._sendEvent(),this.requestUpdate()}_setDateFormat(){this._dateFormat=this._dateFormatElement.value,this._sendEvent(),this.requestUpdate()}_setDateSeparator(){this._dateSeparator=this._dateSeparatorElement.value,this._sendEvent(),this.requestUpdate()}_set24hFormat(){this._24hFormat=this._format24hElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekday(){this._weekDay=this._weekDayElement.selected,this._sendEvent(),this.requestUpdate()}_calculateSlotContent(){this._currentSlotContent={...this.slotContent},this._calculateFormat(),this._currentSlotContent.format=this._format,this._displayAs==="default"?delete this._currentSlotContent.datetimeDisplayMode:(this._currentSlotContent.datetimeDisplayMode=this._displayAs,this._displayAs==="week_in_year"?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"week_number":"week_name":this._displayAs==="month_in_year"?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"month_number":"month_name":this._displayAs==="day_in_week"&&(this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"weekday_number":"weekday_name",this._currentSlotContent.weekStart=this._weekStart),this._weekDayAndMonthInYearFormat&&(this._dateLevel===3?this._currentSlotContent.monthNameFormat=this._weekDayAndMonthInYearFormat:this._dateLevel===5&&(this._currentSlotContent.weekDayNameFormat=this._weekDayAndMonthInYearFormat)))}willUpdate(e){e.has("slotContent")&&(this._parseSlotContent(),this._calculateSlotContent()),e.has("language")&&([...i.targetLocales].includes(this.language)||this.language==="en")&&(i.setLocale(this.language),this.requestUpdate())}_renderDisplaySettings(){var t,o;const e=(o=(t=h.DATETIME_AS_STRING_FORMATS_PER_LEVEL)==null?void 0:t[`level${this._dateLevel??0}`])==null?void 0:o.map(a=>s.x`<luzmo-menu-item value=${a.key}>
21
+ ${a.i18n()}
22
+ </luzmo-menu-item>`);return s.x`<div class="setting">
23
+ <luzmo-field-label for="display-as"
24
+ >${i.msg("Display",{desc:"Label for display setting"})}</luzmo-field-label
25
+ >
26
+ <luzmo-picker
27
+ id="display-as"
28
+ size=${this.size}
29
+ variant="highlight"
30
+ value=${this._displayAs??"default"}
31
+ @change=${this._setDisplayAs}
32
+ >
33
+ ${e}
34
+ </luzmo-picker>
35
+ </div>`}_renderWeekDayAndMonthNameFormatSettings(){const e=Object.keys(h.DATETIME_WEEKDAY_AND_MONTH_STRING_FORMATS).map(t=>s.x`<luzmo-action-button value=${t}>
36
+ ${h.DATETIME_WEEKDAY_AND_MONTH_STRING_FORMATS[t]()}
37
+ </luzmo-action-button>`);return s.x` <div class="setting">
38
+ <luzmo-field-label for="weekday-and-month-in-year-format"
39
+ >${i.msg("Format",{desc:"Label for format setting"})}</luzmo-field-label
40
+ >
41
+ <luzmo-action-group
42
+ emphasized
43
+ id="weekday-and-month-in-year-format"
44
+ size=${this.size}
45
+ compact
46
+ .selected=${[this._weekDayAndMonthInYearFormat??"short"]}
47
+ selects="single"
48
+ @change=${this._setWeekdayAndMonthInYearFormat}
49
+ >
50
+ ${e}
51
+ </luzmo-action-group>
52
+ </div>`}_renderMonthNameFormatSettings(){return s.x` <div class="setting">
53
+ <luzmo-field-label for="month-name-format"
54
+ >${i.msg("Format",{desc:"Label for format setting"})}</luzmo-field-label
55
+ >
56
+ <luzmo-action-group
57
+ emphasized
58
+ id="month-name-format"
59
+ size=${this.size}
60
+ compact
61
+ .selected=${[this._monthNameFormat??"long"]}
62
+ selects="single"
63
+ @change=${this._setMonthNameFormat}
64
+ >
65
+ <luzmo-action-button value="short">
66
+ ${i.msg("Short",{desc:"Short format option"})}
67
+ </luzmo-action-button>
68
+ <luzmo-action-button value="long">
69
+ ${i.msg("Long",{desc:"Long format option"})}
70
+ </luzmo-action-button>
71
+ </luzmo-action-group>
72
+ </div>`}_renderWeekFormatSettings(){var a;const e=((a=this._localeFormats)==null?void 0:a.smartDateFormats)??m.SMART_DATE_FORMATS,t=e.find(n=>n.mmdd===!0&&n.separator===this._dateSeparator&&n.monthType==="number"),o=e.find(n=>n.mmdd===!1&&n.separator===this._dateSeparator&&n.monthType==="number");return s.x` <div class="setting">
73
+ <luzmo-field-label for="week-format"
74
+ >${i.msg("Format",{desc:"Label for format setting"})}</luzmo-field-label
75
+ >
76
+ <luzmo-action-group
77
+ emphasized
78
+ id="week-format"
79
+ size=${this.size}
80
+ compact
81
+ .selected=${[this._weekFormat??"ddmm"]}
82
+ selects="single"
83
+ @change=${this._setWeekFormat}
84
+ >
85
+ <luzmo-action-button value="ddmm">
86
+ ${m.formatter({...this._currentSlotContent,type:"datetime",format:o==null?void 0:o.key},{localFormats:this._localeFormats,level:this._dateLevel})(new Date)}
87
+ </luzmo-action-button>
88
+ <luzmo-action-button value="mmdd"
89
+ >${m.formatter({...this._currentSlotContent,type:"datetime",format:t==null?void 0:t.key},{localFormats:this._localeFormats,level:this._dateLevel})(new Date)}</luzmo-action-button
90
+ >
91
+ </luzmo-action-group>
92
+ </div>`}_renderWeekStartsOnSettings(){const e=Object.keys(h.WEEK_STARTS_ON).map(t=>s.x`<luzmo-menu-item value=${t}>
93
+ ${h.WEEK_STARTS_ON[t]()}
94
+ </luzmo-menu-item>`);return s.x`<div class="setting">
95
+ <luzmo-field-label for="week-start"
96
+ >${i.msg("Week starts on",{desc:"Label for week start setting"})}</luzmo-field-label
97
+ >
98
+ <luzmo-picker
99
+ id="week-start"
100
+ size=${this.size}
101
+ variant="highlight"
102
+ value=${this._weekStart??"Auto"}
103
+ @change=${this._setWeekStartsOn}
104
+ >
105
+ ${e}
106
+ </luzmo-picker>
107
+ </div>`}_renderMonthNameSettings(){return s.x`<div class="settings-">
108
+ <luzmo-field-label for="month-name"
109
+ >${i.msg("Month",{desc:"Month format setting"})}</luzmo-field-label
110
+ >
111
+ <luzmo-action-button
112
+ id="month-name"
113
+ emphasized
114
+ toggles
115
+ .size=${this.size}
116
+ ?selected=${this._monthName}
117
+ @change=${this._setMonthName}
118
+ >
119
+ <luzmo-icon
120
+ slot="icon"
121
+ .size=${this.size}
122
+ .icon=${this._monthName?d.C0:d.h0}
123
+ ></luzmo-icon>
124
+ ${i.msg("Name")}
125
+ </luzmo-action-button>
126
+ </div>`}_renderDateFormatSettings(){const e=this._dateSeparator==="~"?"/":this._dateSeparator;return s.x`<div class="setting">
127
+ <luzmo-field-label for="date-format"
128
+ >${i.msg("Format",{desc:"Label for format setting"})}</luzmo-field-label
129
+ >
130
+ <luzmo-picker
131
+ id="date-format"
132
+ size=${this.size}
133
+ variant="highlight"
134
+ value=${this._dateFormat??"Auto"}
135
+ @change=${this._setDateFormat}
136
+ >
137
+ <luzmo-menu-item value="auto">
138
+ ${i.msg("Auto",{desc:"Automatic setting of the option"})}
139
+ </luzmo-menu-item>
140
+ <luzmo-menu-item value="mmdd">12${e}31</luzmo-menu-item>
141
+ <luzmo-menu-item value="ddmm">31${e}12</luzmo-menu-item>
142
+ </luzmo-picker>
143
+ </div>`}_renderSeparatorSettings(){const e=Object.keys(c).map(t=>s.x`<luzmo-menu-item value=${t}>
144
+ ${c[t]()}
145
+ </luzmo-menu-item>`);return s.x`<div class="setting">
146
+ <luzmo-field-label for="date-separator"
147
+ >${i.msg("Separator",{desc:"Label for date separator setting"})}</luzmo-field-label
148
+ >
149
+ <luzmo-picker
150
+ id="date-separator"
151
+ size=${this.size}
152
+ variant="highlight"
153
+ value=${this._dateSeparator??"~"}
154
+ @change=${this._setDateSeparator}
155
+ >
156
+ ${e}
157
+ </luzmo-picker>
158
+ </div>`}_render24hFormatSettings(){return s.x`<div class="settings-">
159
+ <luzmo-field-label for="format-24h"
160
+ >${i.msg("24h",{desc:"Label for 24h format setting"})}</luzmo-field-label
161
+ >
162
+ <luzmo-action-button
163
+ id="format-24h"
164
+ emphasized
165
+ toggles
166
+ .size=${this.size}
167
+ ?selected=${this._24hFormat}
168
+ @change=${this._set24hFormat}
169
+ >
170
+ <luzmo-icon
171
+ slot="icon"
172
+ .size=${this.size}
173
+ .icon=${this._24hFormat?d.C0:d.h0}
174
+ ></luzmo-icon>
175
+ </luzmo-action-button>
176
+ </div>`}_renderWeekdaySettings(){return s.x`<div class="settings-">
177
+ <luzmo-field-label for="weekday"
178
+ >${i.msg("Weekday",{desc:"Label for weekday setting"})}</luzmo-field-label
179
+ >
180
+ <luzmo-action-button
181
+ id="weekday"
182
+ emphasized
183
+ toggles
184
+ .size=${this.size}
185
+ ?selected=${this._weekDay}
186
+ @change=${this._setWeekday}
187
+ >
188
+ <luzmo-icon
189
+ slot="icon"
190
+ .size=${this.size}
191
+ .icon=${this._weekDay?d.C0:d.h0}
192
+ ></luzmo-icon>
193
+ ${i.msg("Show")}
194
+ </luzmo-action-button>
195
+ </div>`}_renderExampleFormat(){return s.x`<span class="example">
196
+ ${m.formatter({...this._currentSlotContent,type:"datetime"},{localFormats:this._localeFormats,level:this._dateLevel})(!this._displayAs||this._displayAs==="default"?new Date:1)}
197
+ </span>
198
+ ${(this._dateSeparator==="~"||this._dateFormat==="auto")&&!this._monthName?s.x`<span class="example-language">
199
+ (${this.contentLanguage})
200
+ </span>`:""}`}_renderAllSettings(){return s.x`<div class="settings-container">
201
+ ${this._dateLevel&&![1,9].includes(this._dateLevel)?s.x` <div class="settings-row">
202
+ ${this._renderDisplaySettings()}
203
+ ${this._dateLevel&&this._dateLevel>=5&&this._displayAs==="day_in_week"?this._renderWeekStartsOnSettings():""}
204
+ </div>`:""}
205
+ ${["month_in_year","day_in_week"].includes(this._displayAs??"")?s.x` <div class="settings-row">
206
+ ${this._renderWeekDayAndMonthNameFormatSettings()}
207
+ </div>`:""}
208
+ ${this._dateLevel&&this._dateLevel>1&&this._displayAs==="default"?s.x` <div class="settings-row">
209
+ ${this._dateLevel&&this._dateLevel!==4&&this._dateLevel!==2?this._renderMonthNameSettings():""}
210
+ ${this._dateLevel&&this._dateLevel!==4&&this._dateLevel>2&&this._monthName?this._renderMonthNameFormatSettings():""}
211
+ ${this._dateLevel&&this._dateLevel===4&&!this._monthName?this._renderWeekFormatSettings():""}
212
+ ${this._dateLevel&&this._dateLevel>=5&&!this._monthName?this._renderDateFormatSettings():""}
213
+ ${this._dateLevel&&this._dateLevel>1&&!this._monthName?this._renderSeparatorSettings():""}
214
+ ${this._dateLevel&&this._dateLevel>=5&&this._monthName?this._renderWeekdaySettings():""}
215
+ ${this._dateLevel&&this._dateLevel>5?this._render24hFormatSettings():""}
216
+ </div>`:""}
217
+ <div class="settings-row">
218
+ <div class="example-container">
219
+ <span class="example-label"
220
+ >${i.msg("Example:",{desc:"Label for example format"})}</span
221
+ >
222
+ ${this._renderExampleFormat()}
223
+ </div>
224
+ </div>
225
+ </div>`}render(){return this._loadLocaleFormatsConfig.render({pending:()=>s.x`<luzmo-progress-circle
226
+ indeterminate
227
+ .size=${this.size}
228
+ ></luzmo-progress-circle>`,complete:()=>this._renderAllSettings(),error:()=>this._renderAllSettings()})}};r([s.n({type:String})],exports.LuzmoDisplaySettingsDatetime.prototype,"language",2);r([s.n({type:String})],exports.LuzmoDisplaySettingsDatetime.prototype,"contentLanguage",2);r([s.n({type:String})],exports.LuzmoDisplaySettingsDatetime.prototype,"size",2);r([s.n({type:Object,reflect:!1})],exports.LuzmoDisplaySettingsDatetime.prototype,"slotContent",2);r([l.e("#display-as")],exports.LuzmoDisplaySettingsDatetime.prototype,"_displayAsElement",2);r([l.e("#week-start")],exports.LuzmoDisplaySettingsDatetime.prototype,"_weekStartElement",2);r([l.e("#weekday-and-month-in-year-format")],exports.LuzmoDisplaySettingsDatetime.prototype,"_weekDayAndMonthInYearFormatElement",2);r([l.e("#month-name-format")],exports.LuzmoDisplaySettingsDatetime.prototype,"_monthNameFormatElement",2);r([l.e("#month-name")],exports.LuzmoDisplaySettingsDatetime.prototype,"_monthNameElement",2);r([l.e("#week-format")],exports.LuzmoDisplaySettingsDatetime.prototype,"_weekFormatElement",2);r([l.e("#date-format")],exports.LuzmoDisplaySettingsDatetime.prototype,"_dateFormatElement",2);r([l.e("#date-separator")],exports.LuzmoDisplaySettingsDatetime.prototype,"_dateSeparatorElement",2);r([l.e("#weekday")],exports.LuzmoDisplaySettingsDatetime.prototype,"_weekDayElement",2);r([l.e("#format-24h")],exports.LuzmoDisplaySettingsDatetime.prototype,"_format24hElement",2);exports.LuzmoDisplaySettingsDatetime=r([i.localized()],exports.LuzmoDisplaySettingsDatetime);customElements.get("luzmo-display-settings-datetime")||customElements.define("luzmo-display-settings-datetime",exports.LuzmoDisplaySettingsDatetime);const z=Object.freeze(Object.defineProperty({__proto__:null,default:m.DEFAULT_LOCAL_FORMATS},Symbol.toStringTag,{value:"Module"})),S=Object.freeze(Object.defineProperty({__proto__:null,default:m.DEFAULT_LOCAL_FORMATS},Symbol.toStringTag,{value:"Module"}));