@luzmo/analytics-components-kit 1.0.1-alpha.30 → 1.0.1-alpha.32

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 (217) hide show
  1. package/components/{async-directive-C_bp5UcZ-B5_19oN_.js → async-directive-BfcqVjDp-BCT-lA4F.js} +8 -8
  2. package/components/{async-directive-C_bp5UcZ-mUPcBvyn.cjs → async-directive-BfcqVjDp-C8C45jl6.cjs} +3 -3
  3. package/components/{base-D76d76ww-D0dTUBua.js → base-D76d76ww-BGkuhs54.js} +59 -47
  4. package/components/{base-D76d76ww-BEIhYtgV.cjs → base-D76d76ww-tT6yr8eb.cjs} +9 -9
  5. package/components/{button-base-WsJSnMie-B1TLbPwk.cjs → button-base-DbkDzb71-CY6MJGqE.cjs} +2 -2
  6. package/components/{button-base-WsJSnMie-CyGPs7kd.js → button-base-DbkDzb71-R8oqSqlY.js} +4 -4
  7. package/components/calculate-data-item-icon-BtUWtDx3.cjs +20 -0
  8. package/components/calculate-data-item-icon-DauSiV8c.js +97 -0
  9. package/components/{checkbox-mixin-CmeCReJh-wY0R8cuc.cjs → checkbox-mixin-Do7EgtpQ-D3m-dMTI.cjs} +3 -3
  10. package/components/{checkbox-mixin-CmeCReJh-C94-rm4F.js → checkbox-mixin-Do7EgtpQ-hne79zc-.js} +2 -2
  11. package/components/{de-BaTUIQk1.js → de-CCq00pbq.js} +55 -1
  12. package/components/de-DcZysUyZ.cjs +20 -0
  13. package/components/{directive-helpers-Bx_ey3Gk-BxvL9t9F.cjs → directive-helpers-Cm6gitnu-BeggOiwf.cjs} +4 -4
  14. package/components/{directive-helpers-Bx_ey3Gk-Csi4AxXe.js → directive-helpers-Cm6gitnu-CeYtlPO9.js} +53 -19
  15. package/components/display-settings/index.cjs +1 -1
  16. package/components/display-settings/index.js +18 -17
  17. package/components/display-settings-binning/display-settings-binning.d.ts +0 -1
  18. package/components/display-settings-binning/index.cjs +3 -2
  19. package/components/display-settings-binning/index.js +21 -21
  20. package/components/display-settings-datetime/index.cjs +2 -2
  21. package/components/display-settings-datetime/index.js +37 -35
  22. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +0 -1
  23. package/components/display-settings-grand-totals/index.cjs +4 -3
  24. package/components/display-settings-grand-totals/index.js +21 -21
  25. package/components/display-settings-numeric/index.cjs +14 -14
  26. package/components/display-settings-numeric/index.js +32 -30
  27. package/components/display-settings-period-over-period/index.cjs +6 -6
  28. package/components/display-settings-period-over-period/index.js +36 -34
  29. package/components/draggable-data-item/index.cjs +3 -3
  30. package/components/draggable-data-item/index.js +15 -13
  31. package/components/draggable-data-item-level/index.cjs +9 -9
  32. package/components/draggable-data-item-level/index.js +96 -167
  33. package/components/droppable-slot/index.cjs +7 -7
  34. package/components/droppable-slot/index.js +32 -30
  35. package/components/edit-item/index.cjs +11 -11
  36. package/components/edit-item/index.js +13 -12
  37. package/components/edit-option/index.cjs +1 -1
  38. package/components/edit-option/index.js +1 -1
  39. package/components/edit-option-action-button-group/index.cjs +2 -1
  40. package/components/edit-option-action-button-group/index.js +44 -43
  41. package/components/edit-option-base-CSJNbo2E.cjs +53 -0
  42. package/components/{edit-option-base-DOezOLDd.js → edit-option-base-DeQjGX4i.js} +5 -4
  43. package/components/edit-option-color-picker/index.cjs +23 -23
  44. package/components/edit-option-color-picker/index.js +50 -50
  45. package/components/edit-option-multi-language-field/index.cjs +1 -1
  46. package/components/edit-option-multi-language-field/index.js +3 -3
  47. package/components/edit-option-number-field/index.cjs +2 -2
  48. package/components/edit-option-number-field/index.js +3 -3
  49. package/components/edit-option-picker/index.cjs +2 -2
  50. package/components/edit-option-picker/index.js +4 -4
  51. package/components/edit-option-position-picker/index.cjs +1 -1
  52. package/components/edit-option-position-picker/index.js +3 -3
  53. package/components/edit-option-positions-number-field/index.cjs +1 -1
  54. package/components/edit-option-positions-number-field/index.js +7 -7
  55. package/components/edit-option-radio-button-group/index.cjs +4 -4
  56. package/components/edit-option-radio-button-group/index.js +4 -4
  57. package/components/edit-option-slider/index.cjs +2 -2
  58. package/components/edit-option-slider/index.js +27 -27
  59. package/components/edit-option-switch/index.cjs +3 -3
  60. package/components/edit-option-switch/index.js +5 -5
  61. package/components/edit-option-text-field/index.cjs +2 -2
  62. package/components/edit-option-text-field/index.js +3 -3
  63. package/components/es-CGiBfBKJ.cjs +20 -0
  64. package/components/{es-D37mTCZB.js → es-DBmbFw-L.js} +55 -1
  65. package/components/filter-data-item-picker/filter-data-item-picker.d.ts +88 -0
  66. package/components/filter-data-item-picker/index.cjs +47 -0
  67. package/components/filter-data-item-picker/index.d.ts +7 -0
  68. package/components/filter-data-item-picker/index.js +193 -0
  69. package/components/filter-expression-picker/filter-expression-picker.d.ts +74 -0
  70. package/components/filter-expression-picker/index.cjs +20 -0
  71. package/components/filter-expression-picker/index.d.ts +7 -0
  72. package/components/filter-expression-picker/index.js +30 -0
  73. package/components/filter-group/filter-group.d.ts +26 -0
  74. package/components/filter-group/index.d.ts +7 -0
  75. package/components/filter-item/filter-item.d.ts +76 -0
  76. package/components/filter-item/index.cjs +52 -0
  77. package/components/filter-item/index.d.ts +7 -0
  78. package/components/filter-item/index.js +271 -0
  79. package/components/filter-parameter-picker/filter-parameter-picker.d.ts +25 -0
  80. package/components/filter-parameter-picker/index.d.ts +7 -0
  81. package/components/filter-value-picker/filter-value-picker.d.ts +65 -0
  82. package/components/filter-value-picker/index.cjs +51 -0
  83. package/components/filter-value-picker/index.d.ts +7 -0
  84. package/components/filter-value-picker/index.js +149 -0
  85. package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +43 -0
  86. package/components/filter-value-picker-datetime/index.cjs +288 -0
  87. package/components/filter-value-picker-datetime/index.d.ts +7 -0
  88. package/components/filter-value-picker-datetime/index.js +2820 -0
  89. package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +82 -0
  90. package/components/filter-value-picker-hierarchy/index.cjs +46 -0
  91. package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
  92. package/components/filter-value-picker-hierarchy/index.js +278 -0
  93. package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +83 -0
  94. package/components/filter-value-picker-numeric/index.cjs +46 -0
  95. package/components/filter-value-picker-numeric/index.d.ts +7 -0
  96. package/components/filter-value-picker-numeric/index.js +274 -0
  97. package/components/flow-D-0MTYCm-BOBCoA5Z.js +546 -0
  98. package/components/flow-D-0MTYCm-BW5krWol.cjs +48 -0
  99. package/components/{focusable-BNESohBR-DbTLvYXr.cjs → focusable-BxtpnzWp-CkK9AeMt.cjs} +2 -2
  100. package/components/{focusable-BNESohBR-DYvAZYXL.js → focusable-BxtpnzWp-DJQkL8Zv.js} +1 -1
  101. package/components/focusable-DB6Uhr-C.js +275 -0
  102. package/components/focusable-_wp5pWO-.cjs +20 -0
  103. package/components/{fr-BWJHvkss.js → fr-BOwMikLT.js} +55 -1
  104. package/components/fr-DZbYwMlh.cjs +20 -0
  105. package/components/{get-css-variable-Bhbr-Kr1.js → get-css-variable-YlLiVgo8.js} +2 -2
  106. package/components/{if-defined-DbhS35z5.js → if-defined-B4gwZxx6.js} +1 -1
  107. package/components/{if-defined-D-1p2bLN-Bn-33APC.js → if-defined-DOaE2coe-CNT45Xcl.js} +1 -1
  108. package/components/{if-defined-D-1p2bLN-0_AoRnT2.cjs → if-defined-DOaE2coe-Cvlu5s9n.cjs} +1 -1
  109. package/components/{if-defined-CF8baNdl.cjs → if-defined-DqthfJme.cjs} +2 -2
  110. package/components/{index-Dwp251OJ.js → index-5mZhN-HJ.js} +7 -6
  111. package/components/{index-B3jkBlKY.js → index-BC1LV3vH.js} +3 -3
  112. package/components/{index-BXMPi13W.js → index-BCBLJ-ei.js} +82 -82
  113. package/components/{index-B9dQtvu7.js → index-BHJH1eGn.js} +3 -3
  114. package/components/index-BHXq1-M1.cjs +195 -0
  115. package/components/{index-C2-2RrwB.cjs → index-BKwbYw6x.cjs} +3 -3
  116. package/components/index-BOqSYlku.cjs +38 -0
  117. package/components/{index-D5rT-qy9.cjs → index-Bafc5poK.cjs} +12 -28
  118. package/components/{index-CqFCIIIl.js → index-BbuNpVBr.js} +3 -3
  119. package/components/{index-CRx2nPkq.js → index-Bmpw4rGV.js} +3 -3
  120. package/components/{index-D8Na-686.cjs → index-BoXbQm2o.cjs} +1 -1
  121. package/components/{index-uRWe553S.cjs → index-BtIWR_s6.cjs} +4 -4
  122. package/components/index-BwsEWpIS.js +494 -0
  123. package/components/{index-CF84gqsb.cjs → index-C2PPSv8E.cjs} +4 -4
  124. package/components/{index-CbeVu32V.js → index-C3N6qTxJ.js} +3 -3
  125. package/components/index-C5m9vRp5.js +598 -0
  126. package/components/{index-bZQXFqxv.cjs → index-CBOAQ3-E.cjs} +10 -10
  127. package/components/{index-_McOOiwL.cjs → index-CSm0I7Gz.cjs} +4 -4
  128. package/components/index-CTHlwZ9E.cjs +274 -0
  129. package/components/{index-Brg_sVUg.js → index-CTVNGPeT.js} +1 -1
  130. package/components/{index-Rjoe8cIs.js → index-Cb5l6iK_.js} +110 -173
  131. package/components/{index-BkCJwWm3.cjs → index-CeENkpNK.cjs} +3 -3
  132. package/components/{index-BnbhRpm9.js → index-CnRQGFHT.js} +3 -3
  133. package/components/{index-BKcvEgWr.cjs → index-CnpJUw_z.cjs} +3 -3
  134. package/components/{index-DJik7S7b.js → index-CsDgk_sj.js} +2 -2
  135. package/components/{index-fl13NYnO.js → index-CskV_bXp.js} +2 -2
  136. package/components/index-CyWwLYEO.js +1789 -0
  137. package/components/index-D9yzIoGv.js +1666 -0
  138. package/components/{index-Bwxvaqxq.cjs → index-DF-s3cEL.cjs} +11 -11
  139. package/components/{index-CVuJ-LUO.cjs → index-DSQyBS9Z.cjs} +2 -2
  140. package/components/{index-Bb8vxGZY.js → index-Desl7GJ0.js} +19 -15
  141. package/components/{index-0HUnZcem.cjs → index-DtohCwyO.cjs} +2 -2
  142. package/components/index-TQG9Xdxu.cjs +20 -0
  143. package/components/index-c2uKLWDt.cjs +157 -0
  144. package/components/{index-C9-QEfA9.cjs → index-j8UKjHqY.cjs} +4 -4
  145. package/components/{index-DZZMSlYS.js → index-rQxtPaJl.js} +6 -6
  146. package/components/index.cjs +1 -1
  147. package/components/index.js +41 -27
  148. package/components/localized-decorator-ClAOFk8M.cjs +28 -0
  149. package/components/localized-decorator-DGnMToFa.js +48 -0
  150. package/components/{luzmo-icons-U09GB75o.js → luzmo-icons-CPucBq6e.js} +89 -89
  151. package/components/luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs +47 -0
  152. package/components/{luzmo-icons-BLN3xVgr-Tz5XXgbL.js → luzmo-icons-DbwDQtuO-QG0fLECn.js} +67 -25
  153. package/components/luzmo-icons-Nyf1P71v.cjs +31 -0
  154. package/components/nl-0V96M02q.cjs +20 -0
  155. package/components/nl-CY0iO3Ch.js +158 -0
  156. package/components/observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs +36 -0
  157. package/components/observe-slot-presence-CmVi0zTc-DCFuXW7v.js +87 -0
  158. package/components/{observe-slot-text-CVKLDesL-BB2RmFgc.cjs → observe-slot-text-BPfIQQtz-DHOh38Ve.cjs} +4 -4
  159. package/components/{observe-slot-text-CVKLDesL-CXUeCmXW.js → observe-slot-text-BPfIQQtz-v6B-1BYh.js} +5 -5
  160. package/components/pending-state-DTX7ggyF-BQGaWUEI.cjs +80 -0
  161. package/components/pending-state-DTX7ggyF-KolnwUB7.js +321 -0
  162. package/components/{periods.const-CDIkC5CK.cjs → periods.const-BbgInj9J.cjs} +1 -1
  163. package/components/{periods.const-GHh5bPfs.js → periods.const-D2cMP5hH.js} +1 -1
  164. package/components/{popover-DRyjN9y_-w1zh4tvw.js → popover-DjX0aAnY-B_ujTfos.js} +2 -2
  165. package/components/{popover-DRyjN9y_-7mF_fAOh.cjs → popover-DjX0aAnY-CSUMV_Ay.cjs} +3 -3
  166. package/components/property-CxtZroGf.js +600 -0
  167. package/components/property-Dlf9S6Jz.cjs +42 -0
  168. package/components/{query-assigned-nodes-C76XVPWY-k1jDPyUQ.cjs → query-assigned-nodes-C76XVPWY-BW2w3V7-.cjs} +1 -1
  169. package/components/{query-assigned-nodes-C76XVPWY-BWouxGZs.js → query-assigned-nodes-C76XVPWY-DxNwGHfW.js} +1 -1
  170. package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
  171. package/components/{scatter-plot-options.config-lrkd9qj4.js → scatter-plot-options.config-Corlzno1.js} +78 -48
  172. package/components/set-locale-5FFfQpVQ.cjs +52 -0
  173. package/components/set-locale-DAGnJZD8.js +188 -0
  174. package/components/{sized-mixin-DMuOVsw0.js → sized-mixin-C7R5uRbF.js} +1 -1
  175. package/components/sized-mixin-ZTphZKLm.cjs +20 -0
  176. package/components/slot-menu/index.cjs +1 -1
  177. package/components/slot-menu/index.js +12 -11
  178. package/components/slot-menu-list/index.cjs +3 -3
  179. package/components/slot-menu-list/index.js +15 -14
  180. package/components/{state-e2n-fyrr.js → state-BVYsk_HZ.js} +1 -1
  181. package/components/{state-QgHgNZLe.cjs → state-CrfOw8Zp.cjs} +2 -2
  182. package/components/{streaming-listener-C8Ctj0Q6-lanbGKR9.js → streaming-listener-CP-JE6Fa-9MH0gENR.js} +3 -3
  183. package/components/{streaming-listener-C8Ctj0Q6-BhMxS69F.cjs → streaming-listener-CP-JE6Fa-DMzr1X1m.cjs} +3 -3
  184. package/components/{task-fQFUVV8e.cjs → task-CdvrMX8r.cjs} +2 -2
  185. package/components/{task-gE27tBDv.js → task-DH8UFyxP.js} +1 -1
  186. package/components/{text-field-C0pFjPG1-BCVbGXp7.cjs → text-field-BIADXoLC-B8w9TVmS.cjs} +8 -8
  187. package/components/{text-field-C0pFjPG1-B4TRivuD.js → text-field-BIADXoLC-B9oE05VF.js} +11 -10
  188. package/custom-elements.json +1891 -34
  189. package/index.d.ts +7 -0
  190. package/item-definitions/scatter-plot/scatter-plot-options.config.d.ts +3 -0
  191. package/package.json +46 -1
  192. package/utils/data-broker/index.d.ts +179 -0
  193. package/utils/data-item-types/calculate-data-item-icon.d.ts +3 -0
  194. package/utils/filters/expressions.d.ts +15 -0
  195. package/utils/filters/index.d.ts +1 -0
  196. package/utils/localize/set-locale.d.ts +4 -2
  197. package/utils/types/column.types.d.ts +1 -1
  198. package/components/de-DgHoh7KS.cjs +0 -20
  199. package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +0 -2
  200. package/components/edit-option-base-jkkFevzT.cjs +0 -53
  201. package/components/es-ByW01bzN.cjs +0 -20
  202. package/components/focusable-Cu_m_GTh.cjs +0 -42
  203. package/components/focusable-Dw_pMNQL.js +0 -852
  204. package/components/fr-DnFUAglm.cjs +0 -20
  205. package/components/index-CqynTbW1.cjs +0 -217
  206. package/components/index-DFnzlbHX.js +0 -779
  207. package/components/index-hogChFy0.cjs +0 -195
  208. package/components/luzmo-icons-BDClm1AE.cjs +0 -31
  209. package/components/luzmo-icons-BLN3xVgr-Cr3OrsqW.cjs +0 -47
  210. package/components/nl-CWxJcTNT.js +0 -104
  211. package/components/nl-CpfDNK5c.cjs +0 -20
  212. package/components/scatter-plot-options.config-DkJLutNb.cjs +0 -20
  213. package/components/set-locale-ByIApH40.cjs +0 -60
  214. package/components/set-locale-DJYT4V7U.js +0 -212
  215. package/components/sized-mixin-Cqlxwicw.cjs +0 -20
  216. /package/components/{divider.module-DwOuLGU3-B19eHVg2.js → divider.module-DoQWQEIJ-B19eHVg2.js} +0 -0
  217. /package/components/{divider.module-DwOuLGU3-Bg8RrFkc.cjs → divider.module-DoQWQEIJ-Bg8RrFkc.cjs} +0 -0
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 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={s00decbd8fed4f501:"Maximum",s079a052719914d71:"Categorie",s099b18e1bd8a1154:"Uren",s09c2b609dff29061:"Cumulatieve som",s0acece4c687177a9:"Kwartaalnummers",s0bb151c9319a6813:"X-as",s1125d159f7e64df5:"Weergave",s11326fd2590f4e5e:"Standaard",s146475c4daa430ed:"Decimalen",s184501a399a815dc:"Kwartalen",s18498398aeb37b07:"Week begint op",s1cdb6b07fe827486:"Weeknummer",s1f0916624a87d415:"Dag in jaar",s2454d1f117573457:"Nauwkeurigheid",s247d110f13a3a288:"Dag in week",s2695506122ffd614:"Seconde in minuut",s2798d16f4e04857e:"Minuut in uur",s281f1d977ddc0ebe:"Maandnummer",s2ea38ce3da088075:"Perioden",s2fb2a49481123d6a:"Weken",s3c6455b19fb1c3e4:"Absolute verandering",s3dcf7b255596a2c3:"Standaarddeviatie",s441accd1cd3484c9:"Minuut",s467b030b9a34b3c8:"Gemiddelde",s48e186fb300e5464:"Tijd",s496c60f73bdf5725:"Aggregatie",s4b58c01e2578f5e4:"Legend",s4efbcab48a433013:"Lang",s602805b1eb3106c6:"Y-as",s6031881827829901:"24u",s60b34c3c17dc35bd:"Jaren",s66722bc2ea775e05:"Uitgeschakeld",s669b18c6d2d9c95b:"Geen",s66dcbbc0355c2759:"Zondag",s680f01021b5e339d:"Week",s6b0bffd88024372f:"Uur",s716a6024e3fe999c:"Tonen",s71a5c9f4b68ef4d4:"Aantal",s740d7e8b131e9e97:"Gewogen gemiddelde",s7632fc9aa12bf382:"Maanden",s8665d029b5cb8b24:"Eindtotaal",s8d0259032729869d:"Seconde",s965c503c3e42fdfe:"Actief",s981f232bd33ec927:"Verhouding",s987abe19fac8d108:"Som",s98c337186f2d57c6:"Bin breedte",s9b9009d4a5004fb8:"Indeling",sa3c9339de23c1752:"Formaat",sa6ab5184d6315895:"Van",sa6f2645578b2d2bc:"Jaar",sac94bb71f7737997:"Mediaan",sacae74732f544fca:"Dagen",sb1f654608a3eea75:"Weekdag",sb47daaf9e1c4a905:"Maand",sb5b295e3a7500b9c:"Duur niveaus",sb6513caf69971fb5:"Kort",sbbb97b1c63507dc0:"Nummer",sc1bf67624fa6d498:"% verandering",sc27dc998602cdc61:"Voorbeeld:",sc4842e5b8b90466a:"Seconden",sc6e49f3d37e54030:"Uur in dag",scf2bb2b0de9cdb8a:"Milliseconde",sd237be440de38cc7:"Kwartaal",sd28141a332dc31fa:"Dag in maand",sd7ebafacf602c9bd:"Letter",sdb73788b3c975f16:"Standaard",se0955919920ee87d:"Dag",se211e3d21bbf3bff:"Meetwaarde",se2b7530e30fa607d:"Perioden vergelijken",se415bbea6c976fb1:"Groepen",se715be190539325a:"geleden",se8e9d799a9e267ce:"Unieke telling",se9ff6e9a514d8cf9:"Maandag",seb4eae68d45315b7:"Minimum",see0ec27fb03d880e:"Minuten",sef49aec68fd1dc66:"Naam",sf6cda8263b3170af:"Gebruik periode-tot-datum voor onvolledige perioden",sf9c10516a62a23db:"Weergeven als",sfad9ed343e97551c:"Vorige waarde",sfbac36245480ddbc:"Scheidingsteken"};exports.templates=e;
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 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 t=require("./helpers-DXQwEH1P.cjs"),r=({slots:e})=>{var l,i;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((i=(l=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="color"))==null?void 0:l.content)==null?void 0:i.length)>0:!1},o=({slots:e})=>{var l,i;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((i=(l=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="color"))==null?void 0:l.content)==null?void 0:i.length)===0:!0},c=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0},visibleIf:r},{key:"color",control:{type:"color-picker",label:"Color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"color")},visibleIf:o}]},{key:"axes",type:"group",open:!1,children:[{key:"axis.x.color",control:{type:"color-picker",label:"X-axis color",default:({theme:e})=>t.getThemeAxisColor(e),extraLabel:({options:e,theme:l})=>t.getThemeAxisColorResetLabel(e,l,"axis.x.color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeAxisColorExtraLabelHasClickAction(e,l,"axis.x.color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeAxisColorExtraLabelClickAction(e,l,"axis.x.color")}},{key:"xAxisLabels",type:"group",label:"X-axis label",collapsible:!0,open:!0,children:[{key:"axislabels.x.enabled",control:{type:"switch",label:"Enabled",default:!1}},{key:"axislabels.x.position",control:{type:"picker",label:"Position",default:"center",enum:["left","center","right"]},visibleIf:({options:e})=>{var l,i;return((i=(l=e==null?void 0:e.axislabels)==null?void 0:l.x)==null?void 0:i.enabled)===!0}}]},{key:"xAxisTicks",type:"group",label:"X-axis ticks",collapsible:!0,open:!0,children:[{key:"axis.x.ticksMode",control:{type:"picker",label:"Display mode",default:"ticks",enum:["ticks","hide"]}},{key:"grid.x.style",control:{type:"picker",label:"Gridline style",default:"solid",enum:["solid","dotted","dashed"]},visibleIf:({options:e})=>{var l,i;return((i=(l=e==null?void 0:e.axis)==null?void 0:l.x)==null?void 0:i.ticksMode)==="gridlines"}},{key:"grid.x.opacity",control:{type:"slider",label:"Gridline opacity",default:.3,min:.1,max:1,step:.1},visibleIf:({options:e})=>{var l,i;return((i=(l=e==null?void 0:e.axis)==null?void 0:l.x)==null?void 0:i.ticksMode)==="gridlines"}}]},{type:"divider"},{key:"axis.y.color",control:{type:"color-picker",label:"Y-axis color",default:({theme:e})=>t.getThemeAxisColor(e),extraLabel:({options:e,theme:l})=>t.getThemeAxisColorResetLabel(e,l,"axis.y.color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeAxisColorExtraLabelHasClickAction(e,l,"axis.y.color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeBorderColorExtraLabelClickAction(e,l,"axis.y.color")}},{key:"yAxisLabels",type:"group",label:"Y-axis label",collapsible:!0,open:!0,children:[{key:"axislabels.y.enabled",control:{type:"switch",label:"Enabled",default:!1}},{key:"axislabels.y.position",control:{type:"picker",label:"Position",default:"middle",enum:["top","middle","bottom"]},visibleIf:({options:e})=>{var l,i;return((i=(l=e==null?void 0:e.axislabels)==null?void 0:l.y)==null?void 0:i.enabled)===!0}}]},{key:"yAxisTicks",type:"group",label:"Y-axis ticks",collapsible:!0,open:!0,children:[{key:"axis.y.ticksMode",control:{type:"picker",label:"Display mode",default:"ticks",enum:["ticks","hide"]}},{key:"grid.y.style",control:{type:"picker",label:"Gridline style",default:"solid",enum:["solid","dotted","dashed"]},visibleIf:({options:e})=>{var l,i;return((i=(l=e==null?void 0:e.axis)==null?void 0:l.y)==null?void 0:i.ticksMode)==="gridlines"}},{key:"grid.y.opacity",control:{type:"slider",label:"Gridline opacity",default:.3,min:.1,max:1,step:.1},visibleIf:({options:e})=>{var l,i;return((i=(l=e==null?void 0:e.axis)==null?void 0:l.y)==null?void 0:i.ticksMode)==="gridlines"}}]}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"topRight",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:r}];exports.default=c;
@@ -1,60 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 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";/**
21
- * @license
22
- * Copyright 2021 Google LLC
23
- * SPDX-License-Identifier: BSD-3-Clause
24
- */const _="lit-localize-status";/**
25
- * @license
26
- * Copyright 2021 Google LLC
27
- * SPDX-License-Identifier: BSD-3-Clause
28
- */const q=e=>typeof e!="string"&&"strTag"in e,I=(e,t,s)=>{let n=e[0];for(let r=1;r<e.length;r++)n+=t[s?s[r-1]:r-1],n+=e[r];return n};/**
29
- * @license
30
- * Copyright 2021 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */const p=e=>q(e)?I(e.strings,e.values):e;exports.msg=p;let E=!1;function z(e){if(E)throw new Error("lit-localize can only be configured once");exports.msg=e,E=!0}/**
33
- * @license
34
- * Copyright 2021 Google LLC
35
- * SPDX-License-Identifier: BSD-3-Clause
36
- */class C{constructor(t){this.__litLocalizeEventHandler=s=>{s.detail.status==="ready"&&this.host.requestUpdate()},this.host=t}hostConnected(){window.addEventListener(_,this.__litLocalizeEventHandler)}hostDisconnected(){window.removeEventListener(_,this.__litLocalizeEventHandler)}}const b=e=>e.addController(new C(e)),j=b;/**
37
- * @license
38
- * Copyright 2021 Google LLC
39
- * SPDX-License-Identifier: BSD-3-Clause
40
- */const x=()=>(e,t)=>(e.addInitializer(j),e);/**
41
- * @license
42
- * Copyright 2020 Google LLC
43
- * SPDX-License-Identifier: BSD-3-Clause
44
- */class P{constructor(){this.settled=!1,this.promise=new Promise((t,s)=>{this._resolve=t,this._reject=s})}resolve(t){this.settled=!0,this._resolve(t)}reject(t){this.settled=!0,this._reject(t)}}/**
45
- * @license
46
- * Copyright 2014 Travis Webb
47
- * SPDX-License-Identifier: MIT
48
- */const i=[];for(let e=0;e<256;e++)i[e]=(e>>4&15).toString(16)+(e&15).toString(16);function H(e){let t=0,s=8997,n=0,r=33826,o=0,a=40164,g=0,c=52210;for(let h=0;h<e.length;h++)s^=e.charCodeAt(h),t=s*435,n=r*435,o=a*435,g=c*435,o+=s<<8,g+=r<<8,n+=t>>>16,s=t&65535,o+=n>>>16,r=n&65535,c=g+(o>>>16)&65535,a=o&65535;return i[c>>8]+i[c&255]+i[a>>8]+i[a&255]+i[r>>8]+i[r&255]+i[s>>8]+i[s&255]}/**
49
- * @license
50
- * Copyright 2020 Google LLC
51
- * SPDX-License-Identifier: BSD-3-Clause
52
- */const R="",A="h",k="s";function D(e,t){return(t?A:k)+H(typeof e=="string"?e:e.join(R))}/**
53
- * @license
54
- * Copyright 2021 Google LLC
55
- * SPDX-License-Identifier: BSD-3-Clause
56
- */const w=new WeakMap,y=new Map;function N(e,t,s){if(e){const n=(s==null?void 0:s.id)??U(t),r=e[n];if(r){if(typeof r=="string")return r;if("strTag"in r)return I(r.strings,t.values,r.values);{let o=w.get(r);return o===void 0&&(o=r.values,w.set(r,o)),{...r,values:o.map(a=>t.values[a])}}}}return p(t)}function U(e){const t=typeof e=="string"?e:e.strings;let s=y.get(t);return s===void 0&&(s=D(t,typeof e!="string"&&!("strTag"in e)),y.set(t,s)),s}/**
57
- * @license
58
- * Copyright 2021 Google LLC
59
- * SPDX-License-Identifier: BSD-3-Clause
60
- */function v(e){window.dispatchEvent(new CustomEvent(_,{detail:e}))}let u="",L,M,f,m,S,l=new P;l.resolve();let d=0;const W=e=>(z((t,s)=>N(S,t,s)),u=M=e.sourceLocale,f=new Set(e.targetLocales),f.add(e.sourceLocale),m=e.loadLocale,{getLocale:$,setLocale:F}),$=()=>u,F=e=>{if(e===(L??u))return l.promise;if(!f||!m)throw new Error("Internal error");if(!f.has(e))throw new Error("Invalid locale code");d++;const t=d;return L=e,l.settled&&(l=new P),v({status:"loading",loadingLocale:e}),(e===M?Promise.resolve({templates:void 0}):m(e)).then(n=>{d===t&&(u=e,L=void 0,S=n.templates,v({status:"ready",readyLocale:e}),l.resolve())},n=>{d===t&&(v({status:"error",errorLocale:e,errorMessage:n.toString()}),l.reject(n))}),l.promise},O=(e,t,s)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==s?". Note that variables only represent file names one level deep.":""))))})},V="en",T=["de","es","fr","nl"],{setLocale:X}=W({sourceLocale:V,targetLocales:T,loadLocale:e=>O(Object.assign({"../../generated/locales/de.ts":()=>Promise.resolve().then(()=>require("./de-DgHoh7KS.cjs")),"../../generated/locales/es.ts":()=>Promise.resolve().then(()=>require("./es-ByW01bzN.cjs")),"../../generated/locales/fr.ts":()=>Promise.resolve().then(()=>require("./fr-DnFUAglm.cjs")),"../../generated/locales/nl.ts":()=>Promise.resolve().then(()=>require("./nl-CpfDNK5c.cjs"))}),`../../generated/locales/${e}.ts`,5)});exports.localized=x;exports.setLocale=X;exports.targetLocales=T;
@@ -1,212 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 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
- /**
21
- * @license
22
- * Copyright 2021 Google LLC
23
- * SPDX-License-Identifier: BSD-3-Clause
24
- */
25
- const _ = "lit-localize-status";
26
- /**
27
- * @license
28
- * Copyright 2021 Google LLC
29
- * SPDX-License-Identifier: BSD-3-Clause
30
- */
31
- const C = (e) => typeof e != "string" && "strTag" in e, y = (e, t, s) => {
32
- let r = e[0];
33
- for (let n = 1; n < e.length; n++)
34
- r += t[s ? s[n - 1] : n - 1], r += e[n];
35
- return r;
36
- };
37
- /**
38
- * @license
39
- * Copyright 2021 Google LLC
40
- * SPDX-License-Identifier: BSD-3-Clause
41
- */
42
- const I = (e) => C(e) ? y(e.strings, e.values) : e;
43
- let x = I, E = !1;
44
- function z(e) {
45
- if (E)
46
- throw new Error("lit-localize can only be configured once");
47
- x = e, E = !0;
48
- }
49
- /**
50
- * @license
51
- * Copyright 2021 Google LLC
52
- * SPDX-License-Identifier: BSD-3-Clause
53
- */
54
- class P {
55
- constructor(t) {
56
- this.__litLocalizeEventHandler = (s) => {
57
- s.detail.status === "ready" && this.host.requestUpdate();
58
- }, this.host = t;
59
- }
60
- hostConnected() {
61
- window.addEventListener(_, this.__litLocalizeEventHandler);
62
- }
63
- hostDisconnected() {
64
- window.removeEventListener(_, this.__litLocalizeEventHandler);
65
- }
66
- }
67
- const b = (e) => e.addController(new P(e)), j = b;
68
- /**
69
- * @license
70
- * Copyright 2021 Google LLC
71
- * SPDX-License-Identifier: BSD-3-Clause
72
- */
73
- const X = () => (e, t) => (e.addInitializer(j), e);
74
- /**
75
- * @license
76
- * Copyright 2020 Google LLC
77
- * SPDX-License-Identifier: BSD-3-Clause
78
- */
79
- class M {
80
- constructor() {
81
- this.settled = !1, this.promise = new Promise((t, s) => {
82
- this._resolve = t, this._reject = s;
83
- });
84
- }
85
- resolve(t) {
86
- this.settled = !0, this._resolve(t);
87
- }
88
- reject(t) {
89
- this.settled = !0, this._reject(t);
90
- }
91
- }
92
- /**
93
- * @license
94
- * Copyright 2014 Travis Webb
95
- * SPDX-License-Identifier: MIT
96
- */
97
- const i = [];
98
- for (let e = 0; e < 256; e++)
99
- i[e] = (e >> 4 & 15).toString(16) + (e & 15).toString(16);
100
- function H(e) {
101
- let t = 0, s = 8997, r = 0, n = 33826, o = 0, a = 40164, g = 0, c = 52210;
102
- for (let h = 0; h < e.length; h++)
103
- s ^= e.charCodeAt(h), t = s * 435, r = n * 435, o = a * 435, g = c * 435, o += s << 8, g += n << 8, r += t >>> 16, s = t & 65535, o += r >>> 16, n = r & 65535, c = g + (o >>> 16) & 65535, a = o & 65535;
104
- return i[c >> 8] + i[c & 255] + i[a >> 8] + i[a & 255] + i[n >> 8] + i[n & 255] + i[s >> 8] + i[s & 255];
105
- }
106
- /**
107
- * @license
108
- * Copyright 2020 Google LLC
109
- * SPDX-License-Identifier: BSD-3-Clause
110
- */
111
- const R = "", q = "h", A = "s";
112
- function k(e, t) {
113
- return (t ? q : A) + H(typeof e == "string" ? e : e.join(R));
114
- }
115
- /**
116
- * @license
117
- * Copyright 2021 Google LLC
118
- * SPDX-License-Identifier: BSD-3-Clause
119
- */
120
- const p = /* @__PURE__ */ new WeakMap(), w = /* @__PURE__ */ new Map();
121
- function D(e, t, s) {
122
- if (e) {
123
- const r = (s == null ? void 0 : s.id) ?? N(t), n = e[r];
124
- if (n) {
125
- if (typeof n == "string")
126
- return n;
127
- if ("strTag" in n)
128
- return y(
129
- n.strings,
130
- // Cast `template` because its type wasn't automatically narrowed (but
131
- // we know it must be the same type as `localized`).
132
- t.values,
133
- n.values
134
- );
135
- {
136
- let o = p.get(n);
137
- return o === void 0 && (o = n.values, p.set(n, o)), {
138
- ...n,
139
- values: o.map((a) => t.values[a])
140
- };
141
- }
142
- }
143
- }
144
- return I(t);
145
- }
146
- function N(e) {
147
- const t = typeof e == "string" ? e : e.strings;
148
- let s = w.get(t);
149
- return s === void 0 && (s = k(t, typeof e != "string" && !("strTag" in e)), w.set(t, s)), s;
150
- }
151
- /**
152
- * @license
153
- * Copyright 2021 Google LLC
154
- * SPDX-License-Identifier: BSD-3-Clause
155
- */
156
- function v(e) {
157
- window.dispatchEvent(new CustomEvent(_, { detail: e }));
158
- }
159
- let u = "", L, S, f, m, T, l = new M();
160
- l.resolve();
161
- let d = 0;
162
- const U = (e) => (z((t, s) => D(T, t, s)), u = S = e.sourceLocale, f = new Set(e.targetLocales), f.add(e.sourceLocale), m = e.loadLocale, { getLocale: W, setLocale: $ }), W = () => u, $ = (e) => {
163
- if (e === (L ?? u))
164
- return l.promise;
165
- if (!f || !m)
166
- throw new Error("Internal error");
167
- if (!f.has(e))
168
- throw new Error("Invalid locale code");
169
- d++;
170
- const t = d;
171
- return L = e, l.settled && (l = new M()), v({ status: "loading", loadingLocale: e }), (e === S ? (
172
- // We could switch to the source locale synchronously, but we prefer to
173
- // queue it on a microtask so that switching locales is consistently
174
- // asynchronous.
175
- Promise.resolve({ templates: void 0 })
176
- ) : m(e)).then((r) => {
177
- d === t && (u = e, L = void 0, T = r.templates, v({ status: "ready", readyLocale: e }), l.resolve());
178
- }, (r) => {
179
- d === t && (v({
180
- status: "error",
181
- errorLocale: e,
182
- errorMessage: r.toString()
183
- }), l.reject(r));
184
- }), l.promise;
185
- }, F = (e, t, s) => {
186
- const r = e[t];
187
- return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((n, o) => {
188
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
189
- o.bind(
190
- null,
191
- new Error(
192
- "Unknown variable dynamic import: " + t + (t.split("/").length !== s ? ". Note that variables only represent file names one level deep." : "")
193
- )
194
- )
195
- );
196
- });
197
- }, O = "en", V = [
198
- "de",
199
- "es",
200
- "fr",
201
- "nl"
202
- ], { setLocale: G } = U({
203
- sourceLocale: O,
204
- targetLocales: V,
205
- loadLocale: (e) => F(/* @__PURE__ */ Object.assign({ "../../generated/locales/de.ts": () => import("./de-BaTUIQk1.js"), "../../generated/locales/es.ts": () => import("./es-D37mTCZB.js"), "../../generated/locales/fr.ts": () => import("./fr-BWJHvkss.js"), "../../generated/locales/nl.ts": () => import("./nl-CWxJcTNT.js") }), `../../generated/locales/${e}.ts`, 5)
206
- });
207
- export {
208
- X as l,
209
- x as m,
210
- G as s,
211
- V as t
212
- };
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 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";const x=require("./focusable-Cu_m_GTh.cjs");var p=Object.defineProperty,h=Object.getOwnPropertyDescriptor,_=(r,i,t,n)=>{for(var e=h(i,t),l=r.length-1,s;l>=0;l--)(s=r[l])&&(e=s(i,t,e)||e);return e&&p(i,t,e),e};const a={xxs:"xxs",xs:"xs",s:"s",m:"m",l:"l",xl:"xl",xxl:"xxl"};function d(r,{validSizes:i=["s","m","l","xl"],noDefaultSize:t,defaultSize:n="m"}={}){class e extends r{constructor(){super(...arguments),this._size=n}get size(){return this._size||n}set size(s){const o=t?null:n,c=s&&s.toLocaleLowerCase(),z=i.includes(c)?c:o;if(z&&this.setAttribute("size",z),this._size===z)return;const u=this._size;this._size=z,this.requestUpdate("size",u)}update(s){!this.hasAttribute("size")&&!t&&this.setAttribute("size",this.size),super.update(s)}}return _([x.n({type:String})],e.prototype,"size"),e}exports.ElementSizes=a;exports.SizedMixin=d;