@lmvz-ds/components 0.17.1 → 0.17.3

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 (275) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/assets/.DS_Store +0 -0
  3. package/assets/icons/.DS_Store +0 -0
  4. package/{dist/cjs/Effect-DdYOHaR4.js → cjs/Effect-YVFLBEfy.js} +3 -3
  5. package/{dist/cjs/aria-loader-BRxRUIyi.js → cjs/aria-loader-W9Zvc9e-.js} +1 -1
  6. package/{dist/cjs/assets-OvQ-WUwR.js → cjs/assets-DxYhun-q.js} +2 -2
  7. package/{dist/cjs/icons-EHBLbidD.js → cjs/icons-DgYgcKGK.js} +2 -2
  8. package/{dist/cjs/index-BBqtydE-.js → cjs/index-BNm4PQrX.js} +6881 -6730
  9. package/{dist/cjs/index-CH-YLRgg.js → cjs/index-C2yDXRqP.js} +45 -10
  10. package/{dist/cjs → cjs}/index.cjs.js +5 -5
  11. package/{dist/cjs → cjs}/lmvz-action.cjs.entry.js +2 -2
  12. package/{dist/cjs → cjs}/lmvz-button.cjs.entry.js +4 -4
  13. package/{dist/cjs → cjs}/lmvz-card.cjs.entry.js +3 -3
  14. package/{dist/cjs → cjs}/lmvz-chip.cjs.entry.js +2 -2
  15. package/{dist/cjs → cjs}/lmvz-components.cjs.js +2 -2
  16. package/{dist/cjs → cjs}/lmvz-header_2.cjs.entry.js +4 -4
  17. package/{dist/cjs → cjs}/lmvz-icon.cjs.entry.js +7 -7
  18. package/{dist/cjs → cjs}/lmvz-input.cjs.entry.js +5 -5
  19. package/{dist/cjs → cjs}/lmvz-menuitem.cjs.entry.js +4 -4
  20. package/{dist/cjs → cjs}/lmvz-select.cjs.entry.js +4 -4
  21. package/{dist/cjs → cjs}/loader.cjs.js +1 -1
  22. package/{dist/cjs/reactive-controller-host-vy1TIIXv.js → cjs/reactive-controller-host-B_davRfI.js} +4 -4
  23. package/collection/assets/.DS_Store +0 -0
  24. package/collection/assets/icons/.DS_Store +0 -0
  25. package/{dist/collection → collection}/collection-manifest.json +1 -1
  26. package/{dist/collection → collection}/components/lmvz-action/lmvz-action.js +1 -1
  27. package/{dist/collection → collection}/components/lmvz-button/lmvz-button.js +1 -1
  28. package/{dist/collection → collection}/components/lmvz-card/lmvz-card.js +1 -1
  29. package/{dist/collection → collection}/components/lmvz-chip/lmvz-chip.js +1 -1
  30. package/{dist/collection → collection}/components/lmvz-header/lmvz-header.js +1 -1
  31. package/{dist/collection → collection}/components/lmvz-icon/lmvz-icon.js +1 -1
  32. package/{dist/collection → collection}/components/lmvz-input/lmvz-input.js +2 -2
  33. package/{dist/collection → collection}/components/lmvz-menuitem/lmvz-menuitem.js +1 -1
  34. package/{dist/collection → collection}/components/lmvz-select/lmvz-select.js +1 -1
  35. package/{dist/collection → collection}/integration/header-integration.js +1 -1
  36. package/{dist/collection → collection}/utils/aria/aria-validation-controller.js +2 -2
  37. package/{dist/collection → collection}/utils/http.unit.js +5 -5
  38. package/{dist/components → components}/index.d.ts +9 -9
  39. package/components/index.d.ts.bak +55 -0
  40. package/{dist/components → components}/index.js +1 -1
  41. package/{dist/components → components}/lmvz-action.d.ts +1 -1
  42. package/components/lmvz-action.js +1 -0
  43. package/{dist/components → components}/lmvz-button.d.ts +1 -1
  44. package/{dist/components → components}/lmvz-button.js +1 -1
  45. package/{dist/components → components}/lmvz-card.d.ts +1 -1
  46. package/{dist/components → components}/lmvz-card.js +1 -1
  47. package/{dist/components → components}/lmvz-chip.d.ts +1 -1
  48. package/{dist/components → components}/lmvz-chip.js +1 -1
  49. package/{dist/components → components}/lmvz-header.d.ts +1 -1
  50. package/{dist/components → components}/lmvz-header.js +1 -1
  51. package/{dist/components → components}/lmvz-icon.d.ts +1 -1
  52. package/{dist/components → components}/lmvz-icon.js +1 -1
  53. package/{dist/components → components}/lmvz-input.d.ts +1 -1
  54. package/{dist/components → components}/lmvz-input.js +1 -1
  55. package/{dist/components → components}/lmvz-menuitem.d.ts +1 -1
  56. package/{dist/components → components}/lmvz-menuitem.js +1 -1
  57. package/{dist/components → components}/lmvz-select.d.ts +1 -1
  58. package/{dist/components → components}/lmvz-select.js +1 -1
  59. package/{dist/components/p-BsHYIl56.js → components/p-CYcWxAp5.js} +1 -1
  60. package/components/p-C_bScbrd.js +1 -0
  61. package/components/p-Clo63DJF.js +1 -0
  62. package/{dist/lmvz-components/p-DyO6wO4l.js → components/p-DHtXOUVf.js} +1 -1
  63. package/components/p-VkiNs_yz.js +12 -0
  64. package/{dist/esm/Effect-9SROYpxM.js → esm/Effect-DkwJP3kx.js} +3 -3
  65. package/{dist/esm/aria-loader-JxXwTAe5.js → esm/aria-loader-D9aySMw6.js} +1 -1
  66. package/{dist/esm/assets-CNHv_WMG.js → esm/assets-_WDisN-f.js} +1 -1
  67. package/{dist/esm/icons-B255FOe4.js → esm/icons-Crg18Lio.js} +2 -2
  68. package/{dist/esm/index-BW1YMEA3.js → esm/index-n6jVNpyp.js} +6881 -6730
  69. package/{dist/esm/index-CQb-mBBB.js → esm/index-saW7O-EW.js} +45 -10
  70. package/{dist/esm → esm}/index.js +5 -5
  71. package/{dist/esm → esm}/lmvz-action.entry.js +2 -2
  72. package/{dist/esm → esm}/lmvz-button.entry.js +4 -4
  73. package/{dist/esm → esm}/lmvz-card.entry.js +3 -3
  74. package/{dist/esm → esm}/lmvz-chip.entry.js +2 -2
  75. package/{dist/esm → esm}/lmvz-components.js +3 -3
  76. package/{dist/esm → esm}/lmvz-header_2.entry.js +4 -4
  77. package/{dist/esm → esm}/lmvz-icon.entry.js +7 -7
  78. package/{dist/esm → esm}/lmvz-input.entry.js +5 -5
  79. package/{dist/esm → esm}/lmvz-menuitem.entry.js +4 -4
  80. package/{dist/esm → esm}/lmvz-select.entry.js +4 -4
  81. package/{dist/esm → esm}/loader.js +2 -2
  82. package/{dist/esm/reactive-controller-host-OhKYwMvP.js → esm/reactive-controller-host-ByKmPKq1.js} +4 -4
  83. package/hydrate/index.js +69 -20
  84. package/hydrate/index.mjs +69 -20
  85. package/{dist/lmvz-components → lmvz-components}/index.esm.js +1 -1
  86. package/{dist/lmvz-components → lmvz-components}/lmvz-components.esm.js +1 -1
  87. package/{dist/lmvz-components/p-4530f088.entry.js → lmvz-components/p-121f74d8.entry.js} +1 -1
  88. package/{dist/lmvz-components/p-b9d1953f.entry.js → lmvz-components/p-1bda378c.entry.js} +1 -1
  89. package/{dist/lmvz-components/p-d9c3f542.entry.js → lmvz-components/p-373a9cbf.entry.js} +1 -1
  90. package/lmvz-components/p-43e295ba.entry.js +1 -0
  91. package/lmvz-components/p-5f150890.entry.js +1 -0
  92. package/{dist/lmvz-components/p-22f67eff.entry.js → lmvz-components/p-6d5fa8c4.entry.js} +1 -1
  93. package/{dist/lmvz-components/p-b8926640.entry.js → lmvz-components/p-986acfd0.entry.js} +1 -1
  94. package/lmvz-components/p-BT8PQPMJ.js +1 -0
  95. package/{dist/components/p-CKtksB0G.js → lmvz-components/p-BxiCs9Wn.js} +1 -1
  96. package/{dist/lmvz-components/p-Bx29-tJt.js → lmvz-components/p-CU4XwA2K.js} +1 -1
  97. package/lmvz-components/p-CXQcJLbG.js +12 -0
  98. package/lmvz-components/p-DPHHQR5F.js +1 -0
  99. package/{dist/lmvz-components/p-9SROYpxM.js → lmvz-components/p-DkwJP3kx.js} +1 -1
  100. package/{dist/lmvz-components/p-150ecfb6.entry.js → lmvz-components/p-abbfa6aa.entry.js} +1 -1
  101. package/{dist/lmvz-components/p-47d7ed0e.entry.js → lmvz-components/p-b704eca8.entry.js} +1 -1
  102. package/lmvz-components/p-saW7O-EW.js +2 -0
  103. package/loader/cdn.js +1 -1
  104. package/loader/index.cjs.js +1 -1
  105. package/loader/index.d.ts +1 -1
  106. package/loader/index.es2017.js +1 -1
  107. package/loader/index.js +1 -1
  108. package/{dist/manifest.json → manifest.json} +2 -2
  109. package/package.json +43 -106
  110. package/dist/components/lmvz-action.js +0 -1
  111. package/dist/components/p-CahBdGGN.js +0 -1
  112. package/dist/components/p-GKEnURpp.js +0 -1
  113. package/dist/components/p-vIq2biqy.js +0 -12
  114. package/dist/ext-libs.d.ts +0 -1
  115. package/dist/lmvz-components/p-5c3f1404.entry.js +0 -1
  116. package/dist/lmvz-components/p-8d51e396.entry.js +0 -1
  117. package/dist/lmvz-components/p-CQb-mBBB.js +0 -2
  118. package/dist/lmvz-components/p-Cp76bcGb.js +0 -1
  119. package/dist/lmvz-components/p-Cp7cp10e.js +0 -12
  120. package/dist/lmvz-components/p-i2508Ct1.js +0 -1
  121. package/dist/stencil.config.base.js +0 -44
  122. package/dist/stencil.config.dev.js +0 -21
  123. package/dist/stencil.config.integration.js +0 -26
  124. package/dist/stencil.config.js +0 -15
  125. package/dist/stencil.config.prod.js +0 -29
  126. package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.base.d.ts +0 -2
  127. package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.d.ts +0 -2
  128. package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.dev.d.ts +0 -2
  129. package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.integration.d.ts +0 -2
  130. package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.prod.d.ts +0 -2
  131. /package/{readme.md → README.md} +0 -0
  132. /package/{dist/cjs → cjs}/app-globals-V2Kpy_OQ.js +0 -0
  133. /package/{dist/cjs → cjs}/component-Csg9MtNK.js +0 -0
  134. /package/{dist/cjs → cjs}/element-activation-controller-DC_6T0Rt.js +0 -0
  135. /package/{dist/cjs → cjs}/index-Bp6Dd2i1.js +0 -0
  136. /package/{dist/collection → collection}/api/ds.constants.js +0 -0
  137. /package/{dist/collection → collection}/api/index.js +0 -0
  138. /package/{dist/collection → collection}/assets/LMVZ_logo_175.svg +0 -0
  139. /package/{dist/collection → collection}/assets/card-placeholder.svg +0 -0
  140. /package/{dist/collection → collection}/assets/fonts/Router-Bold.woff +0 -0
  141. /package/{dist/collection → collection}/assets/fonts/Router-Book.woff +0 -0
  142. /package/{dist/collection → collection}/assets/fonts/Router-Medium.woff +0 -0
  143. /package/{dist/collection → collection}/assets/icons/Logo.svg +0 -0
  144. /package/{dist/collection → collection}/assets/icons/actions.svg +0 -0
  145. /package/{dist/collection → collection}/assets/icons/adduser.svg +0 -0
  146. /package/{dist/collection → collection}/assets/icons/alert.svg +0 -0
  147. /package/{dist/collection → collection}/assets/icons/apple.svg +0 -0
  148. /package/{dist/collection → collection}/assets/icons/arrow-down.svg +0 -0
  149. /package/{dist/collection → collection}/assets/icons/arrow-left.svg +0 -0
  150. /package/{dist/collection → collection}/assets/icons/arrow-right.svg +0 -0
  151. /package/{dist/collection → collection}/assets/icons/arrow-up.svg +0 -0
  152. /package/{dist/collection → collection}/assets/icons/book.svg +0 -0
  153. /package/{dist/collection → collection}/assets/icons/bookmark.svg +0 -0
  154. /package/{dist/collection → collection}/assets/icons/checkmark.svg +0 -0
  155. /package/{dist/collection → collection}/assets/icons/chevron-down.svg +0 -0
  156. /package/{dist/collection → collection}/assets/icons/chevron-left.svg +0 -0
  157. /package/{dist/collection → collection}/assets/icons/chevron-right.svg +0 -0
  158. /package/{dist/collection → collection}/assets/icons/chevron-up.svg +0 -0
  159. /package/{dist/collection → collection}/assets/icons/close-l.svg +0 -0
  160. /package/{dist/collection → collection}/assets/icons/close-sm.svg +0 -0
  161. /package/{dist/collection → collection}/assets/icons/cog.svg +0 -0
  162. /package/{dist/collection → collection}/assets/icons/computer.svg +0 -0
  163. /package/{dist/collection → collection}/assets/icons/dashboard.svg +0 -0
  164. /package/{dist/collection → collection}/assets/icons/delete.svg +0 -0
  165. /package/{dist/collection → collection}/assets/icons/download.svg +0 -0
  166. /package/{dist/collection → collection}/assets/icons/edit.svg +0 -0
  167. /package/{dist/collection → collection}/assets/icons/external.svg +0 -0
  168. /package/{dist/collection → collection}/assets/icons/facebook.svg +0 -0
  169. /package/{dist/collection → collection}/assets/icons/favorite.svg +0 -0
  170. /package/{dist/collection → collection}/assets/icons/filter.svg +0 -0
  171. /package/{dist/collection → collection}/assets/icons/group.svg +0 -0
  172. /package/{dist/collection → collection}/assets/icons/hide.svg +0 -0
  173. /package/{dist/collection → collection}/assets/icons/home.svg +0 -0
  174. /package/{dist/collection → collection}/assets/icons/info.svg +0 -0
  175. /package/{dist/collection → collection}/assets/icons/instagram.svg +0 -0
  176. /package/{dist/collection → collection}/assets/icons/letter.svg +0 -0
  177. /package/{dist/collection → collection}/assets/icons/linkedin.svg +0 -0
  178. /package/{dist/collection → collection}/assets/icons/logout.svg +0 -0
  179. /package/{dist/collection → collection}/assets/icons/map.svg +0 -0
  180. /package/{dist/collection → collection}/assets/icons/minus.svg +0 -0
  181. /package/{dist/collection → collection}/assets/icons/navigation.svg +0 -0
  182. /package/{dist/collection → collection}/assets/icons/plus.svg +0 -0
  183. /package/{dist/collection → collection}/assets/icons/qr-scan.svg +0 -0
  184. /package/{dist/collection → collection}/assets/icons/question.svg +0 -0
  185. /package/{dist/collection → collection}/assets/icons/reader.svg +0 -0
  186. /package/{dist/collection → collection}/assets/icons/reset.svg +0 -0
  187. /package/{dist/collection → collection}/assets/icons/school.svg +0 -0
  188. /package/{dist/collection → collection}/assets/icons/search.svg +0 -0
  189. /package/{dist/collection → collection}/assets/icons/send.svg +0 -0
  190. /package/{dist/collection → collection}/assets/icons/settings.svg +0 -0
  191. /package/{dist/collection → collection}/assets/icons/share.svg +0 -0
  192. /package/{dist/collection → collection}/assets/icons/shopping-cart.svg +0 -0
  193. /package/{dist/collection → collection}/assets/icons/show.svg +0 -0
  194. /package/{dist/collection → collection}/assets/icons/snapchat.svg +0 -0
  195. /package/{dist/collection → collection}/assets/icons/sort.svg +0 -0
  196. /package/{dist/collection → collection}/assets/icons/speech-bubble.svg +0 -0
  197. /package/{dist/collection → collection}/assets/icons/star.svg +0 -0
  198. /package/{dist/collection → collection}/assets/icons/student.svg +0 -0
  199. /package/{dist/collection → collection}/assets/icons/upload.svg +0 -0
  200. /package/{dist/collection → collection}/assets/icons/user.svg +0 -0
  201. /package/{dist/collection → collection}/assets/icons/warn-circle.svg +0 -0
  202. /package/{dist/collection → collection}/assets/icons/warn-triangle.svg +0 -0
  203. /package/{dist/collection → collection}/assets/icons/whatsapp.svg +0 -0
  204. /package/{dist/collection → collection}/assets/icons/world.svg +0 -0
  205. /package/{dist/collection → collection}/assets/icons/x.svg +0 -0
  206. /package/{dist/collection → collection}/assets/icons/youtube.svg +0 -0
  207. /package/{dist/collection → collection}/assets/zukunftslinie.svg +0 -0
  208. /package/{dist/collection → collection}/components/lmvz-action/lmvz-action.css +0 -0
  209. /package/{dist/collection → collection}/components/lmvz-button/lmvz-button.css +0 -0
  210. /package/{dist/collection → collection}/components/lmvz-card/lmvz-card.css +0 -0
  211. /package/{dist/collection → collection}/components/lmvz-chip/lmvz-chip.css +0 -0
  212. /package/{dist/collection → collection}/components/lmvz-header/lmvz-header.css +0 -0
  213. /package/{dist/collection → collection}/components/lmvz-icon/icons.js +0 -0
  214. /package/{dist/collection → collection}/components/lmvz-icon/lmvz-icon.css +0 -0
  215. /package/{dist/collection → collection}/components/lmvz-icon/public.js +0 -0
  216. /package/{dist/collection → collection}/components/lmvz-icon/test/icons.unit.js +0 -0
  217. /package/{dist/collection → collection}/components/lmvz-input/lmvz-input.css +0 -0
  218. /package/{dist/collection → collection}/components/lmvz-menuitem/lmvz-menuitem.css +0 -0
  219. /package/{dist/collection → collection}/components/lmvz-select/lmvz-select.css +0 -0
  220. /package/{dist/collection → collection}/index.js +0 -0
  221. /package/{dist/collection → collection}/utils/aria/element-activation-controller.js +0 -0
  222. /package/{dist/collection → collection}/utils/aria/list-keyboard-controller.js +0 -0
  223. /package/{dist/collection → collection}/utils/assets.js +0 -0
  224. /package/{dist/collection → collection}/utils/component.js +0 -0
  225. /package/{dist/collection → collection}/utils/effect.js +0 -0
  226. /package/{dist/collection → collection}/utils/environment.js +0 -0
  227. /package/{dist/collection → collection}/utils/http.js +0 -0
  228. /package/{dist/collection → collection}/utils/public.js +0 -0
  229. /package/{dist/collection → collection}/utils/reactive-controller-host.js +0 -0
  230. /package/{dist/collection → collection}/utils/validation/svg.js +0 -0
  231. /package/{dist/components → components}/p-BfTCfPZ1.js +0 -0
  232. /package/{dist/components → components}/p-CN0JX9-m.js +0 -0
  233. /package/{dist/components → components}/p-DQEkWkMh.js +0 -0
  234. /package/{dist/esm → esm}/app-globals-DQuL1Twl.js +0 -0
  235. /package/{dist/esm → esm}/component-DIrAQ4IB.js +0 -0
  236. /package/{dist/esm → esm}/element-activation-controller-CN0JX9-m.js +0 -0
  237. /package/{dist/esm → esm}/index-BfTCfPZ1.js +0 -0
  238. /package/{dist/index.cjs.js → index.cjs.js} +0 -0
  239. /package/{dist/index.js → index.js} +0 -0
  240. /package/{dist/lmvz-components → lmvz-components}/p-BfTCfPZ1.js +0 -0
  241. /package/{dist/lmvz-components → lmvz-components}/p-CN0JX9-m.js +0 -0
  242. /package/{dist/lmvz-components → lmvz-components}/p-DIrAQ4IB.js +0 -0
  243. /package/{dist/lmvz-components → lmvz-components}/p-DQuL1Twl.js +0 -0
  244. /package/{dist/manifest.d.ts → manifest.d.ts} +0 -0
  245. /package/{dist/types → types}/api/aria-types.d.ts +0 -0
  246. /package/{dist/types → types}/api/ds.constants.d.ts +0 -0
  247. /package/{dist/types → types}/api/ds.types.d.ts +0 -0
  248. /package/{dist/types → types}/api/index.d.ts +0 -0
  249. /package/{dist/types → types}/components/lmvz-action/lmvz-action.d.ts +0 -0
  250. /package/{dist/types → types}/components/lmvz-button/lmvz-button.d.ts +0 -0
  251. /package/{dist/types → types}/components/lmvz-card/lmvz-card.d.ts +0 -0
  252. /package/{dist/types → types}/components/lmvz-chip/lmvz-chip.d.ts +0 -0
  253. /package/{dist/types → types}/components/lmvz-header/lmvz-header.d.ts +0 -0
  254. /package/{dist/types → types}/components/lmvz-icon/icons.d.ts +0 -0
  255. /package/{dist/types → types}/components/lmvz-icon/lmvz-icon.d.ts +0 -0
  256. /package/{dist/types → types}/components/lmvz-icon/public.d.ts +0 -0
  257. /package/{dist/types → types}/components/lmvz-icon/test/icons.unit.d.ts +0 -0
  258. /package/{dist/types → types}/components/lmvz-input/lmvz-input.d.ts +0 -0
  259. /package/{dist/types → types}/components/lmvz-menuitem/lmvz-menuitem.d.ts +0 -0
  260. /package/{dist/types → types}/components/lmvz-select/lmvz-select.d.ts +0 -0
  261. /package/{dist/types → types}/components.d.ts +0 -0
  262. /package/{dist/types → types}/index.d.ts +0 -0
  263. /package/{dist/types → types}/stencil-public-runtime.d.ts +0 -0
  264. /package/{dist/types → types}/utils/aria/aria-validation-controller.d.ts +0 -0
  265. /package/{dist/types → types}/utils/aria/element-activation-controller.d.ts +0 -0
  266. /package/{dist/types → types}/utils/aria/list-keyboard-controller.d.ts +0 -0
  267. /package/{dist/types → types}/utils/assets.d.ts +0 -0
  268. /package/{dist/types → types}/utils/component.d.ts +0 -0
  269. /package/{dist/types → types}/utils/effect.d.ts +0 -0
  270. /package/{dist/types → types}/utils/environment.d.ts +0 -0
  271. /package/{dist/types → types}/utils/http.d.ts +0 -0
  272. /package/{dist/types → types}/utils/http.unit.d.ts +0 -0
  273. /package/{dist/types → types}/utils/public.d.ts +0 -0
  274. /package/{dist/types → types}/utils/reactive-controller-host.d.ts +0 -0
  275. /package/{dist/types → types}/utils/validation/svg.d.ts +0 -0
package/hydrate/index.js CHANGED
@@ -136,7 +136,7 @@ const NAMESPACE = 'lmvz-components';
136
136
  const BUILD = /* lmvz-components */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
137
137
 
138
138
  /*
139
- Stencil Hydrate Platform v4.43.3 | MIT Licensed | https://stenciljs.com
139
+ Stencil Hydrate Platform v4.43.4 | MIT Licensed | https://stenciljs.com
140
140
  */
141
141
  var __create = Object.create;
142
142
  var __defProp = Object.defineProperty;
@@ -1664,6 +1664,31 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
1664
1664
  return cssText;
1665
1665
  };
1666
1666
 
1667
+ // src/runtime/normalize-watchers.ts
1668
+ var normalizeWatchers = (raw) => {
1669
+ if (!raw) return void 0;
1670
+ const keys = Object.keys(raw);
1671
+ if (keys.length === 0) return void 0;
1672
+ let hasLegacy = false;
1673
+ for (const propName of keys) {
1674
+ if (hasLegacy) break;
1675
+ for (const h2 of raw[propName]) {
1676
+ if (typeof h2 === "string") {
1677
+ hasLegacy = true;
1678
+ break;
1679
+ }
1680
+ }
1681
+ }
1682
+ if (!hasLegacy) return raw;
1683
+ const out = {};
1684
+ for (const propName of keys) {
1685
+ out[propName] = raw[propName].map(
1686
+ (h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
1687
+ );
1688
+ }
1689
+ return out;
1690
+ };
1691
+
1667
1692
  // src/utils/remote-value.ts
1668
1693
  var RemoteValue = class _RemoteValue {
1669
1694
  /**
@@ -1760,11 +1785,19 @@ var RemoteValue = class _RemoteValue {
1760
1785
  };
1761
1786
 
1762
1787
  // src/utils/serialize.ts
1788
+ function decodeBase64Unicode(base64) {
1789
+ const binary = atob(base64);
1790
+ const bytes = new Uint8Array(binary.length);
1791
+ for (let i2 = 0; i2 < binary.length; i2++) {
1792
+ bytes[i2] = binary.charCodeAt(i2);
1793
+ }
1794
+ return new TextDecoder().decode(bytes);
1795
+ }
1763
1796
  function deserializeProperty(value) {
1764
1797
  if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
1765
1798
  return value;
1766
1799
  }
1767
- return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
1800
+ return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
1768
1801
  }
1769
1802
 
1770
1803
  // src/runtime/parse-property-value.ts
@@ -2833,7 +2866,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2833
2866
  {
2834
2867
  {
2835
2868
  if (Cstr.watchers && !cmpMeta.$watchers$) {
2836
- cmpMeta.$watchers$ = Cstr.watchers;
2869
+ cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
2837
2870
  }
2838
2871
  if (Cstr.deserializers && !cmpMeta.$deserializers$) {
2839
2872
  cmpMeta.$deserializers$ = Cstr.deserializers;
@@ -2922,7 +2955,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2922
2955
  }
2923
2956
  if (!Cstr.isProxied) {
2924
2957
  {
2925
- cmpMeta.$watchers$ = Cstr.watchers;
2958
+ cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
2926
2959
  cmpMeta.$serializers$ = Cstr.serializers;
2927
2960
  cmpMeta.$deserializers$ = Cstr.deserializers;
2928
2961
  }
@@ -5326,7 +5359,7 @@ class LmvzAction {
5326
5359
  this.actionClick.emit(event);
5327
5360
  }
5328
5361
  render() {
5329
- return (hAsync(Host, { key: '00da873d80f00dc57e5a0d60f2b58a6c505e41f1', onClick: this._onClick.bind(this) }, hAsync("slot", { key: '7938b5e172ef2b027180aac801b0d9962cd68fa5' })));
5362
+ return (hAsync(Host, { key: '15c0f20e08cd5019abfd3bb71ec69d175dc5ba48', onClick: this._onClick.bind(this) }, hAsync("slot", { key: 'f71a7853168d1b66b0a50b0f971d140385530ac3' })));
5330
5363
  }
5331
5364
  static get style() { return lmvzActionCss(); }
5332
5365
  static get cmpMeta() { return {
@@ -5529,7 +5562,7 @@ class AriaValidationController {
5529
5562
  this.observeSlot();
5530
5563
  return;
5531
5564
  }
5532
- if (!this.host.validationEl?.checkVisibility() || this.config?.validationTiming !== 'load') {
5565
+ if (!this.host.validationEl?.checkVisibility?.() || this.config?.validationTiming !== 'load') {
5533
5566
  this.observeVisibilityOnce();
5534
5567
  return;
5535
5568
  }
@@ -5576,7 +5609,7 @@ class AriaValidationController {
5576
5609
  return;
5577
5610
  if (!this.config?.reValidateOnPropChanges && (this.elementQueued || this.elementValidated))
5578
5611
  return;
5579
- if (!this.host.validationEl?.checkVisibility())
5612
+ if (!this.host.validationEl?.checkVisibility?.())
5580
5613
  return;
5581
5614
  this.enqueueValidation();
5582
5615
  }
@@ -5895,7 +5928,7 @@ class LmvzButton extends ReactiveControllerHost {
5895
5928
  };
5896
5929
  render() {
5897
5930
  this.renderHiddenButton();
5898
- return (hAsync(Host, { key: '9fb3bb6cc21e7d87fddb0313fd552e7070850881', "aria-disabled": this.disabled ? 'true' : null }, hAsync("button", { key: '906117a1bb57fcc7e66a79be73959331066886be', ref: (e) => (this.validationEl = e), disabled: this.disabled, class: classNames(this.variant, { [this.scale ?? '']: !!this.scale, disabled: this.disabled }), ...this.inheritedAttributes }, hAsync("slot", { key: '7028560eef75c978bea0ba3931100d4a6816ba37' }))));
5931
+ return (hAsync(Host, { key: 'c6f44d3765d579e04ab91272747035d8589e2ff2', "aria-disabled": this.disabled ? 'true' : null }, hAsync("button", { key: '9d48dfc7a6a23df1eda46e9c9035520789a08d4c', ref: (e) => (this.validationEl = e), disabled: this.disabled, class: classNames(this.variant, { [this.scale ?? '']: !!this.scale, disabled: this.disabled }), ...this.inheritedAttributes }, hAsync("slot", { key: '95e9fb932e477c7d6e933d2c00e6a3728e55c256' }))));
5899
5932
  }
5900
5933
  static get delegatesFocus() { return true; }
5901
5934
  static get style() { return lmvzButtonCss(); }
@@ -5961,7 +5994,7 @@ class LmvzCard {
5961
5994
  const imgStyle = {
5962
5995
  backgroundImage: `url(${this.imageUrl ?? this.fallbackImage})`,
5963
5996
  };
5964
- return (hAsync(Host, { key: 'fceb19eb0d7ad6c6aecfa6fbd5bb6425c7c3e312', role: "article" }, hAsync("div", { key: '4cb516b5dee1f2f84f21984fa350f61fd83c771c', class: "top" }, hAsync("div", { key: '713b2a3245d885a9b99f6c7d54a35053699c1be8', class: "image-wrapper", style: imgStyle }, hAsync("div", { key: 'e8ea65e7f5d11a2335cab950d6bf02208d0b18a1', class: "chip-slot" }, hAsync("slot", { key: 'e9a039742107fdf56216186ddcdf367c4432790b', name: "chip" })))), hAsync("div", { key: '9549e46a1872e0edf298b79435d298aa1ae96a37', class: "bottom" }, hAsync("header", { key: '3bbfb72ecec519d16380ae7e00da4b1ccb6f1cf3' }, hAsync("h2", { key: 'f5a33e498893e61b407c10ab36c9a93b7eecf9f1', class: "title" }, this.cardTitle)), hAsync("p", { key: '19709bb100d014369c836a5a7174772f2d095d2e', class: "description" }, this.description), hAsync("div", { key: '06b5acab3c80cc91865f3aa39da32d42f470348e', class: "actions" }, hAsync("button", { key: '4e954452ac9771359c881aa6b43f11e89e38aecf', class: "primary", onClick: this._onPrimaryClick.bind(this), "data-testid": "primary" }, this.primaryActionLabel), hAsync("button", { key: 'b6a682bf95eb26468c450bed494290565288a515', class: "tertiary", "aria-label": "More actions", onClick: this._onOverflowClick }, hAsync("span", { key: '70a526d1fafd8b7051f6e7107b35d6f594e10d68', class: "icon-placeholder" }, "..."))))));
5997
+ return (hAsync(Host, { key: '46c2832b4f90b9eb222749632bc7ad59cd645e10', role: "article" }, hAsync("div", { key: 'cc387fe96cff2dd04c24f75cf838a2bf6f438279', class: "top" }, hAsync("div", { key: 'f9a54a5f81378ef4265e1d74c36c78af002e8874', class: "image-wrapper", style: imgStyle }, hAsync("div", { key: '76daed00408f7ae9ee46977637ddcd3d4f846380', class: "chip-slot" }, hAsync("slot", { key: '6ad522ef7428166b876d0218ef8d801c4ef337f1', name: "chip" })))), hAsync("div", { key: '9c9799668ac199cfecbe10061e271d70d70e2d07', class: "bottom" }, hAsync("header", { key: '1bec743235bea5c7ab163225ffbd7bc6cf11f754' }, hAsync("h2", { key: '06f8e14153328bc5ca920e71e09d9343047c440c', class: "title" }, this.cardTitle)), hAsync("p", { key: '86b95db4e6464ca3236b4a03798013c3580819bf', class: "description" }, this.description), hAsync("div", { key: '553dc998d5318a4730196baa0b9baff3a0a3369f', class: "actions" }, hAsync("button", { key: '7532d01b46769198c23a1b1015c187fdefce146a', class: "primary", onClick: this._onPrimaryClick.bind(this), "data-testid": "primary" }, this.primaryActionLabel), hAsync("button", { key: '633d679ae59b1896aa2a06e04b4564569cf27a7d', class: "tertiary", "aria-label": "More actions", onClick: this._onOverflowClick }, hAsync("span", { key: 'b72c45f93d259502b9d7c5ffb19e292a53c60ec6', class: "icon-placeholder" }, "..."))))));
5965
5998
  }
5966
5999
  static get assetsDirs() { return ["../../assets"]; }
5967
6000
  static get style() { return lmvzCardCss(); }
@@ -5988,7 +6021,7 @@ class LmvzChip {
5988
6021
  }
5989
6022
  text;
5990
6023
  render() {
5991
- return hAsync(Host, { key: '134d510fe3a04b989b0005bf31358149a9661cb2' }, this.text);
6024
+ return hAsync(Host, { key: 'd128e24bb90891ebd13d13a8e27c06782363cace' }, this.text);
5992
6025
  }
5993
6026
  static get style() { return lmvzChipCss(); }
5994
6027
  static get cmpMeta() { return {
@@ -6135,7 +6168,7 @@ class LmvzHeader extends ReactiveControllerHost {
6135
6168
  }
6136
6169
  }
6137
6170
  render() {
6138
- return (hAsync(Host, { key: '3189d1bd21fb5bd8f30b27cbfb6e49648b0e70c4', onFocus: this.delegateFocus.bind(this) }, hAsync("div", { key: '57c27e85c0d6292f0c39a850bad5d59de4cf8743', class: "brand" }, hAsync("slot", { key: '13ea794d470861e25dc249c3174d2a5f2ba25096', name: "brand" }, hAsync("img", { key: '37bea67eea1a2971a7502f6e9a5a2a28d3eec114', id: "fallback-logo-lmvz", src: logoSvg, alt: "Lehrmittelverlag Z\u00FCrich" }))), hAsync("nav", { key: '59b1679357cd4dbef737f90f4b4ff5c80a4efa06', "aria-label": "Hauptnavigation" }, hAsync("div", { key: '51ce71eed0f31ef4dbfbeb72dffed87797462487', role: "menubar", class: "primary-menubar" }, hAsync("slot", { key: 'ac3357828b95a5aa6261c611612fb76f55bf92ee', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), hAsync("div", { key: 'b78f2ad43e03f40d65c69674b94a295e72366c8e', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, hAsync("slot", { key: 'd2cc74ff24cf10f0f958cea986149f3f03054291', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), hAsync("div", { key: 'cc6e0c0a32e51d3fa0d7f1865023f03434458217', class: "actions" }, hAsync("slot", { key: '8504df5d1970ac856a237cbb0dcce5a2707b7cab', name: "actions" }))));
6171
+ return (hAsync(Host, { key: '35883b5d4a92d10b5b010d822fb2233604464f9b', onFocus: this.delegateFocus.bind(this) }, hAsync("div", { key: '6fdec3af75bab2b076651b8cfef4aec8e23326a6', class: "brand" }, hAsync("slot", { key: '3127b4223b8bebfe425efc7ce45626f37fbf76b9', name: "brand" }, hAsync("img", { key: '20b3dd598e320c6950fb08bbd55dd80c47552eaf', id: "fallback-logo-lmvz", src: logoSvg, alt: "Lehrmittelverlag Z\u00FCrich" }))), hAsync("nav", { key: 'c3bf07f78930085c1a7b89421506bcd41d139911', "aria-label": "Hauptnavigation" }, hAsync("div", { key: 'fbc5199080f52da4f10c8c14fbbc0877ecc5f31c', role: "menubar", class: "primary-menubar" }, hAsync("slot", { key: '4210d213dcf7a1a27a73f2a9cf7ff97fec62f0db', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), hAsync("div", { key: '7b91c269f75e1245f75d471ec5bb7eeabfe1094d', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, hAsync("slot", { key: 'e23eb0f222b49d912bb45870df6d9b0d01f43788', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), hAsync("div", { key: '4b19026d5b2e54aa7aed072ce57de4acaa75cb4f', class: "actions" }, hAsync("slot", { key: '8f02d5d178bb60b40604fcd1be74d373d89c911f', name: "actions" }))));
6139
6172
  }
6140
6173
  static get watchers() { return {
6141
6174
  "lmvzActiveNav": [{
@@ -7008,7 +7041,7 @@ const OP_FAILURE = "Failure";
7008
7041
  /** @internal */
7009
7042
  const OP_WITH_RUNTIME = "WithRuntime";
7010
7043
 
7011
- let moduleVersion = "3.21.0";
7044
+ let moduleVersion = "3.21.1";
7012
7045
  const getCurrentVersion = () => moduleVersion;
7013
7046
 
7014
7047
  /** @internal */
@@ -9950,7 +9983,7 @@ class LmvzIcon extends ReactiveControllerHost {
9950
9983
  super.componentDidRender();
9951
9984
  }
9952
9985
  render() {
9953
- return hAsync(Host, { key: '4ce6e3931a1c8bfa1ddd48c780d005d110902b19', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
9986
+ return hAsync(Host, { key: 'f5c2f8025d0e9598d903e72770ebca6cad01961c', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
9954
9987
  }
9955
9988
  waitUntilVisible(callback, rootMargin = 50) {
9956
9989
  {
@@ -10140,9 +10173,9 @@ class LmvzInput extends ReactiveControllerHost {
10140
10173
  render() {
10141
10174
  const hasValue = Boolean(this.value);
10142
10175
  const shouldFloatLabel = hasValue || Boolean(this.placeholder);
10143
- return (hAsync("div", { key: '97674bbf9a17f1533340f19f0643bc8695417da6', class: classNames('input-container', {
10176
+ return (hAsync("div", { key: '195e2c5046d48d01f4912993bde3c8d2b3a73d1d', class: classNames('input-container', {
10144
10177
  'interaction-filled': hasValue,
10145
- }) }, hAsync("div", { key: '51aee84c821a5ad8884981bae3c42d0ed29a1fc5', class: "input-wrapper" }, hAsync("slot", { key: '589b38e7977f74f7037a71b6b530ea98750f3bee', name: "before-input" }), hAsync("div", { key: 'f5856cfc71ceb9093ceaa1b60bb6f4d964dadc7f', class: "label-input-group" }, hAsync("label", { key: 'fbd6bb71131cf7384a79ba6f4f606c430e326bef', htmlFor: this.inputId, class: classNames({ floating: shouldFloatLabel }) }, this.label, this.required && (hAsync("span", { key: 'd479254f9ac11a31278720d41e56db1300c06b15', class: "required-indicator", "aria-hidden": "true" }, ' ', "*"))), hAsync("input", { key: 'bb7b43947207bebb31412aa0e0eb58a9fed98963', id: this.inputId, ref: (el) => (this.nativeInputElement = el), type: this.type, min: this.min, max: this.max, step: this.step, value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, form: this.form, autocomplete: this.autocomplete, inputmode: this.inputmode, autocorrect: this.autocorrect, autocapitalize: this.autocapitalize, spellcheck: this.spellcheck, autofocus: this.autofocus, minlength: this.minlength, maxlength: this.maxlength, pattern: this.pattern, "aria-invalid": this.error ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-describedby": this.describedBy, "aria-errormessage": this.errorId, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur })), hAsync("slot", { key: 'a21d46103f1b0040e67e20b4faf016a2b2fdd4dc', name: "after-input" })), hAsync("div", { key: '53adfecb08ab29d1636052061dc37dffcd697ab2', id: this.helperId, role: "status" }, this.helperText || null), hAsync("div", { key: 'ea3406ebd72ef02a0f293ab01cf4cf9971687b30', id: this.errorId, role: "alert" }, (this.showErrorMessage && this.errorMessage) || null)));
10178
+ }) }, hAsync("div", { key: '66bc3deab063a309eefc0de5ebf7f54331c9190c', class: "input-wrapper" }, hAsync("slot", { key: 'fac318070421d526bb09ba0dd0efdecf8964d952', name: "before-input" }), hAsync("div", { key: '1945152dc010d571c5886f222332b057e89e496c', class: "label-input-group" }, hAsync("label", { key: 'd57392c2c83b1e5f362dd33fa9d060e570417f3f', htmlFor: this.inputId, class: classNames({ floating: shouldFloatLabel }) }, this.label, this.required && (hAsync("span", { key: '507603a50eb08f0f4f5e2b87b2550fe6b657c4d4', class: "required-indicator", "aria-hidden": "true" }, ' ', "*"))), hAsync("input", { key: '0fe916fef48618331806142c0d3500d9e6dec9cb', id: this.inputId, ref: (el) => (this.nativeInputElement = el), type: this.type, min: this.min, max: this.max, step: this.step, value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, form: this.form, autocomplete: this.autocomplete, inputmode: this.inputmode, autocorrect: this.autocorrect, autocapitalize: this.autocapitalize, spellcheck: this.spellcheck, autofocus: this.autofocus, minlength: this.minlength, maxlength: this.maxlength, pattern: this.pattern, "aria-invalid": this.error ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-describedby": this.describedBy, "aria-errormessage": this.errorId, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur })), hAsync("slot", { key: 'b415bedde58862e5bd7621f73a1d77bc478850a3', name: "after-input" })), hAsync("div", { key: 'bc0e07f5243417f4c632eb2f7976dc944fdbf17a', id: this.helperId, role: "status" }, this.helperText || null), hAsync("div", { key: '62e2267453b92edd47077b233cb231a1deecedc4', id: this.errorId, role: "alert" }, (this.showErrorMessage && this.errorMessage) || null)));
10146
10179
  }
10147
10180
  static get formAssociated() { return true; }
10148
10181
  static get watchers() { return {
@@ -10220,7 +10253,7 @@ class LmvzMenuItem extends ReactiveControllerHost {
10220
10253
  this.addController(new ElementActivationController(this));
10221
10254
  }
10222
10255
  render() {
10223
- return (hAsync(Host, { key: '510ac59b18468ce9c65b866ae2767185f1b3da92' }, hAsync("slot", { key: '7e032e0dab83f9bfbaa96ad2b78d8a5a58f978ab', ref: (e) => (this.validationSlot = e) })));
10256
+ return (hAsync(Host, { key: '1a37d2873a29c713cf95c60070c8dcf045c9f8fc' }, hAsync("slot", { key: 'c6578bcfdb9f0cebad095d80f0ed63cf663bf91e', ref: (e) => (this.validationSlot = e) })));
10224
10257
  }
10225
10258
  static get style() { return lmvzMenuitemCss(); }
10226
10259
  static get cmpMeta() { return {
@@ -10290,7 +10323,7 @@ class LmvzSelect extends ReactiveControllerHost {
10290
10323
  render() {
10291
10324
  const hasValue = this.hasValue;
10292
10325
  const shouldShowLabel = hasValue;
10293
- return (hAsync(Host, { key: '7f4650d5971bb93dba48385df734e6b7a0b4f7eb' }, hAsync("div", { key: '79d6234cd15f64c8bff787d715107e7e86145333', class: "select-wrapper" }, hAsync("label", { key: '14d93469c6d309b68427ff7bfc2bd531c8f0ecf6', htmlFor: this.selectId, class: shouldShowLabel ? 'floating-label' : 'assistive-label' }, this.label, this.required && shouldShowLabel && hAsync("span", { key: 'c8be809e09d768d6f73ccccdfbf0bf495869ac72', "aria-hidden": "true" }, " *")), hAsync("div", { key: '1db5d44b44100342a4ca5feff648b61a0bdadb1a', "aria-hidden": "true" }, hAsync("span", { key: '3fdc95aab9997a10f4ba42dabc3758aea0797a22' }, hasValue ? this.selectedLabel : this.label, this.required && !hasValue && hAsync("span", { key: '11aef8194551059130b6be5351587219a1e80f00', "aria-hidden": "true" }, " *")), hAsync("span", { key: '8fc52ff3e46d7b52d8d5069a74ebf7bb0d981081' }, hAsync("img", { key: '129dd4038772eba9313e1e322866c70408f4e2ad', src: chevronDownSvg, alt: "" }))), hAsync("select", { key: '6eb6cf496e60b3c1bd9556e596cbef34d4da5a09', id: this.selectId, ref: (el) => (this.nativeSelectEl = el), name: this.name, disabled: this.disabled, required: this.required, "aria-label": this.label, onChange: this.handleChange }, !hasValue && hAsync("option", { key: '70d660e0bc7e4c127234ce77decf35d6fea7fe8d', value: "", disabled: true, selected: true, hidden: true }), hAsync("slot", { key: 'e6cbc238c9c0cf8e8c31d0347a1f621272a94ca6' }))), this.helperText && hAsync("div", { key: '432d405ee7338da46509ff207599b882a19ea44e', role: "status" }, this.helperText)));
10326
+ return (hAsync(Host, { key: '7d1abb943f79e90451b43c9221801b80a2f61346' }, hAsync("div", { key: 'ded3e45246ab38e89d444c59239cdc63a2c4d4fc', class: "select-wrapper" }, hAsync("label", { key: 'cb68ff79976c2fb55d4cc827f9e90ba2597a8a43', htmlFor: this.selectId, class: shouldShowLabel ? 'floating-label' : 'assistive-label' }, this.label, this.required && shouldShowLabel && hAsync("span", { key: 'ab77eaea1645b95d90f00ffb609bbd7a1704f7bc', "aria-hidden": "true" }, " *")), hAsync("div", { key: '45cee00478a6cc31c10dddf69d8e6687fc8f440d', "aria-hidden": "true" }, hAsync("span", { key: '0c5d425ea8843234aa6abd94a207377e2a675686' }, hasValue ? this.selectedLabel : this.label, this.required && !hasValue && hAsync("span", { key: 'ebef5322371ee0253b50dd801b80cbb6402c067a', "aria-hidden": "true" }, " *")), hAsync("span", { key: 'a12d31dc29563444f728133f181b48914d31705b' }, hAsync("img", { key: 'dd3f175d1ca2b9ccc6c2bfa2075e5da62016a896', src: chevronDownSvg, alt: "" }))), hAsync("select", { key: 'a196f3b824177d1b45971c38341bf6a2939dda82', id: this.selectId, ref: (el) => (this.nativeSelectEl = el), name: this.name, disabled: this.disabled, required: this.required, "aria-label": this.label, onChange: this.handleChange }, !hasValue && hAsync("option", { key: '536cc559def0e9ffa4b2150693ece9a597c238d1', value: "", disabled: true, selected: true, hidden: true }), hAsync("slot", { key: 'ad9fed96b9f8c1d8257511bb1d5ab5ee756973ce' }))), this.helperText && hAsync("div", { key: '4723b44d781c900be5aae7ece2a0be04b6c744b9', role: "status" }, this.helperText)));
10294
10327
  }
10295
10328
  static get watchers() { return {
10296
10329
  "value": [{
@@ -10427,7 +10460,7 @@ var NAMESPACE = (
10427
10460
  );
10428
10461
 
10429
10462
  /*
10430
- Stencil Hydrate Runner v4.43.3 | MIT Licensed | https://stenciljs.com
10463
+ Stencil Hydrate Runner v4.43.4 | MIT Licensed | https://stenciljs.com
10431
10464
  */
10432
10465
  var __create = Object.create;
10433
10466
  var __defProp = Object.defineProperty;
@@ -25305,18 +25338,34 @@ var RemoteValue = class _RemoteValue {
25305
25338
  };
25306
25339
 
25307
25340
  // src/utils/serialize.ts
25341
+ function encodeBase64Unicode(str) {
25342
+ const utf8Bytes = new TextEncoder().encode(str);
25343
+ let binary = "";
25344
+ for (let i = 0; i < utf8Bytes.length; i++) {
25345
+ binary += String.fromCharCode(utf8Bytes[i]);
25346
+ }
25347
+ return btoa(binary);
25348
+ }
25349
+ function decodeBase64Unicode(base64) {
25350
+ const binary = atob(base64);
25351
+ const bytes = new Uint8Array(binary.length);
25352
+ for (let i = 0; i < binary.length; i++) {
25353
+ bytes[i] = binary.charCodeAt(i);
25354
+ }
25355
+ return new TextDecoder().decode(bytes);
25356
+ }
25308
25357
  function serializeProperty(value) {
25309
25358
  if (["string", "boolean", "undefined"].includes(typeof value) || typeof value === "number" && value !== Infinity && value !== -Infinity && !isNaN(value)) {
25310
25359
  return value;
25311
25360
  }
25312
25361
  const arg = LocalValue.getArgument(value);
25313
- return SERIALIZED_PREFIX + btoa(JSON.stringify(arg));
25362
+ return SERIALIZED_PREFIX + encodeBase64Unicode(JSON.stringify(arg));
25314
25363
  }
25315
25364
  function deserializeProperty(value) {
25316
25365
  if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
25317
25366
  return value;
25318
25367
  }
25319
- return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
25368
+ return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
25320
25369
  }
25321
25370
  var CAPTURE_EVENT_SUFFIX = "Capture";
25322
25371
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
package/hydrate/index.mjs CHANGED
@@ -134,7 +134,7 @@ const NAMESPACE = 'lmvz-components';
134
134
  const BUILD = /* lmvz-components */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
135
135
 
136
136
  /*
137
- Stencil Hydrate Platform v4.43.3 | MIT Licensed | https://stenciljs.com
137
+ Stencil Hydrate Platform v4.43.4 | MIT Licensed | https://stenciljs.com
138
138
  */
139
139
  var __create = Object.create;
140
140
  var __defProp = Object.defineProperty;
@@ -1662,6 +1662,31 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
1662
1662
  return cssText;
1663
1663
  };
1664
1664
 
1665
+ // src/runtime/normalize-watchers.ts
1666
+ var normalizeWatchers = (raw) => {
1667
+ if (!raw) return void 0;
1668
+ const keys = Object.keys(raw);
1669
+ if (keys.length === 0) return void 0;
1670
+ let hasLegacy = false;
1671
+ for (const propName of keys) {
1672
+ if (hasLegacy) break;
1673
+ for (const h2 of raw[propName]) {
1674
+ if (typeof h2 === "string") {
1675
+ hasLegacy = true;
1676
+ break;
1677
+ }
1678
+ }
1679
+ }
1680
+ if (!hasLegacy) return raw;
1681
+ const out = {};
1682
+ for (const propName of keys) {
1683
+ out[propName] = raw[propName].map(
1684
+ (h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
1685
+ );
1686
+ }
1687
+ return out;
1688
+ };
1689
+
1665
1690
  // src/utils/remote-value.ts
1666
1691
  var RemoteValue = class _RemoteValue {
1667
1692
  /**
@@ -1758,11 +1783,19 @@ var RemoteValue = class _RemoteValue {
1758
1783
  };
1759
1784
 
1760
1785
  // src/utils/serialize.ts
1786
+ function decodeBase64Unicode(base64) {
1787
+ const binary = atob(base64);
1788
+ const bytes = new Uint8Array(binary.length);
1789
+ for (let i2 = 0; i2 < binary.length; i2++) {
1790
+ bytes[i2] = binary.charCodeAt(i2);
1791
+ }
1792
+ return new TextDecoder().decode(bytes);
1793
+ }
1761
1794
  function deserializeProperty(value) {
1762
1795
  if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
1763
1796
  return value;
1764
1797
  }
1765
- return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
1798
+ return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
1766
1799
  }
1767
1800
 
1768
1801
  // src/runtime/parse-property-value.ts
@@ -2831,7 +2864,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2831
2864
  {
2832
2865
  {
2833
2866
  if (Cstr.watchers && !cmpMeta.$watchers$) {
2834
- cmpMeta.$watchers$ = Cstr.watchers;
2867
+ cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
2835
2868
  }
2836
2869
  if (Cstr.deserializers && !cmpMeta.$deserializers$) {
2837
2870
  cmpMeta.$deserializers$ = Cstr.deserializers;
@@ -2920,7 +2953,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2920
2953
  }
2921
2954
  if (!Cstr.isProxied) {
2922
2955
  {
2923
- cmpMeta.$watchers$ = Cstr.watchers;
2956
+ cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
2924
2957
  cmpMeta.$serializers$ = Cstr.serializers;
2925
2958
  cmpMeta.$deserializers$ = Cstr.deserializers;
2926
2959
  }
@@ -5324,7 +5357,7 @@ class LmvzAction {
5324
5357
  this.actionClick.emit(event);
5325
5358
  }
5326
5359
  render() {
5327
- return (hAsync(Host, { key: '00da873d80f00dc57e5a0d60f2b58a6c505e41f1', onClick: this._onClick.bind(this) }, hAsync("slot", { key: '7938b5e172ef2b027180aac801b0d9962cd68fa5' })));
5360
+ return (hAsync(Host, { key: '15c0f20e08cd5019abfd3bb71ec69d175dc5ba48', onClick: this._onClick.bind(this) }, hAsync("slot", { key: 'f71a7853168d1b66b0a50b0f971d140385530ac3' })));
5328
5361
  }
5329
5362
  static get style() { return lmvzActionCss(); }
5330
5363
  static get cmpMeta() { return {
@@ -5527,7 +5560,7 @@ class AriaValidationController {
5527
5560
  this.observeSlot();
5528
5561
  return;
5529
5562
  }
5530
- if (!this.host.validationEl?.checkVisibility() || this.config?.validationTiming !== 'load') {
5563
+ if (!this.host.validationEl?.checkVisibility?.() || this.config?.validationTiming !== 'load') {
5531
5564
  this.observeVisibilityOnce();
5532
5565
  return;
5533
5566
  }
@@ -5574,7 +5607,7 @@ class AriaValidationController {
5574
5607
  return;
5575
5608
  if (!this.config?.reValidateOnPropChanges && (this.elementQueued || this.elementValidated))
5576
5609
  return;
5577
- if (!this.host.validationEl?.checkVisibility())
5610
+ if (!this.host.validationEl?.checkVisibility?.())
5578
5611
  return;
5579
5612
  this.enqueueValidation();
5580
5613
  }
@@ -5893,7 +5926,7 @@ class LmvzButton extends ReactiveControllerHost {
5893
5926
  };
5894
5927
  render() {
5895
5928
  this.renderHiddenButton();
5896
- return (hAsync(Host, { key: '9fb3bb6cc21e7d87fddb0313fd552e7070850881', "aria-disabled": this.disabled ? 'true' : null }, hAsync("button", { key: '906117a1bb57fcc7e66a79be73959331066886be', ref: (e) => (this.validationEl = e), disabled: this.disabled, class: classNames(this.variant, { [this.scale ?? '']: !!this.scale, disabled: this.disabled }), ...this.inheritedAttributes }, hAsync("slot", { key: '7028560eef75c978bea0ba3931100d4a6816ba37' }))));
5929
+ return (hAsync(Host, { key: 'c6f44d3765d579e04ab91272747035d8589e2ff2', "aria-disabled": this.disabled ? 'true' : null }, hAsync("button", { key: '9d48dfc7a6a23df1eda46e9c9035520789a08d4c', ref: (e) => (this.validationEl = e), disabled: this.disabled, class: classNames(this.variant, { [this.scale ?? '']: !!this.scale, disabled: this.disabled }), ...this.inheritedAttributes }, hAsync("slot", { key: '95e9fb932e477c7d6e933d2c00e6a3728e55c256' }))));
5897
5930
  }
5898
5931
  static get delegatesFocus() { return true; }
5899
5932
  static get style() { return lmvzButtonCss(); }
@@ -5959,7 +5992,7 @@ class LmvzCard {
5959
5992
  const imgStyle = {
5960
5993
  backgroundImage: `url(${this.imageUrl ?? this.fallbackImage})`,
5961
5994
  };
5962
- return (hAsync(Host, { key: 'fceb19eb0d7ad6c6aecfa6fbd5bb6425c7c3e312', role: "article" }, hAsync("div", { key: '4cb516b5dee1f2f84f21984fa350f61fd83c771c', class: "top" }, hAsync("div", { key: '713b2a3245d885a9b99f6c7d54a35053699c1be8', class: "image-wrapper", style: imgStyle }, hAsync("div", { key: 'e8ea65e7f5d11a2335cab950d6bf02208d0b18a1', class: "chip-slot" }, hAsync("slot", { key: 'e9a039742107fdf56216186ddcdf367c4432790b', name: "chip" })))), hAsync("div", { key: '9549e46a1872e0edf298b79435d298aa1ae96a37', class: "bottom" }, hAsync("header", { key: '3bbfb72ecec519d16380ae7e00da4b1ccb6f1cf3' }, hAsync("h2", { key: 'f5a33e498893e61b407c10ab36c9a93b7eecf9f1', class: "title" }, this.cardTitle)), hAsync("p", { key: '19709bb100d014369c836a5a7174772f2d095d2e', class: "description" }, this.description), hAsync("div", { key: '06b5acab3c80cc91865f3aa39da32d42f470348e', class: "actions" }, hAsync("button", { key: '4e954452ac9771359c881aa6b43f11e89e38aecf', class: "primary", onClick: this._onPrimaryClick.bind(this), "data-testid": "primary" }, this.primaryActionLabel), hAsync("button", { key: 'b6a682bf95eb26468c450bed494290565288a515', class: "tertiary", "aria-label": "More actions", onClick: this._onOverflowClick }, hAsync("span", { key: '70a526d1fafd8b7051f6e7107b35d6f594e10d68', class: "icon-placeholder" }, "..."))))));
5995
+ return (hAsync(Host, { key: '46c2832b4f90b9eb222749632bc7ad59cd645e10', role: "article" }, hAsync("div", { key: 'cc387fe96cff2dd04c24f75cf838a2bf6f438279', class: "top" }, hAsync("div", { key: 'f9a54a5f81378ef4265e1d74c36c78af002e8874', class: "image-wrapper", style: imgStyle }, hAsync("div", { key: '76daed00408f7ae9ee46977637ddcd3d4f846380', class: "chip-slot" }, hAsync("slot", { key: '6ad522ef7428166b876d0218ef8d801c4ef337f1', name: "chip" })))), hAsync("div", { key: '9c9799668ac199cfecbe10061e271d70d70e2d07', class: "bottom" }, hAsync("header", { key: '1bec743235bea5c7ab163225ffbd7bc6cf11f754' }, hAsync("h2", { key: '06f8e14153328bc5ca920e71e09d9343047c440c', class: "title" }, this.cardTitle)), hAsync("p", { key: '86b95db4e6464ca3236b4a03798013c3580819bf', class: "description" }, this.description), hAsync("div", { key: '553dc998d5318a4730196baa0b9baff3a0a3369f', class: "actions" }, hAsync("button", { key: '7532d01b46769198c23a1b1015c187fdefce146a', class: "primary", onClick: this._onPrimaryClick.bind(this), "data-testid": "primary" }, this.primaryActionLabel), hAsync("button", { key: '633d679ae59b1896aa2a06e04b4564569cf27a7d', class: "tertiary", "aria-label": "More actions", onClick: this._onOverflowClick }, hAsync("span", { key: 'b72c45f93d259502b9d7c5ffb19e292a53c60ec6', class: "icon-placeholder" }, "..."))))));
5963
5996
  }
5964
5997
  static get assetsDirs() { return ["../../assets"]; }
5965
5998
  static get style() { return lmvzCardCss(); }
@@ -5986,7 +6019,7 @@ class LmvzChip {
5986
6019
  }
5987
6020
  text;
5988
6021
  render() {
5989
- return hAsync(Host, { key: '134d510fe3a04b989b0005bf31358149a9661cb2' }, this.text);
6022
+ return hAsync(Host, { key: 'd128e24bb90891ebd13d13a8e27c06782363cace' }, this.text);
5990
6023
  }
5991
6024
  static get style() { return lmvzChipCss(); }
5992
6025
  static get cmpMeta() { return {
@@ -6133,7 +6166,7 @@ class LmvzHeader extends ReactiveControllerHost {
6133
6166
  }
6134
6167
  }
6135
6168
  render() {
6136
- return (hAsync(Host, { key: '3189d1bd21fb5bd8f30b27cbfb6e49648b0e70c4', onFocus: this.delegateFocus.bind(this) }, hAsync("div", { key: '57c27e85c0d6292f0c39a850bad5d59de4cf8743', class: "brand" }, hAsync("slot", { key: '13ea794d470861e25dc249c3174d2a5f2ba25096', name: "brand" }, hAsync("img", { key: '37bea67eea1a2971a7502f6e9a5a2a28d3eec114', id: "fallback-logo-lmvz", src: logoSvg, alt: "Lehrmittelverlag Z\u00FCrich" }))), hAsync("nav", { key: '59b1679357cd4dbef737f90f4b4ff5c80a4efa06', "aria-label": "Hauptnavigation" }, hAsync("div", { key: '51ce71eed0f31ef4dbfbeb72dffed87797462487', role: "menubar", class: "primary-menubar" }, hAsync("slot", { key: 'ac3357828b95a5aa6261c611612fb76f55bf92ee', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), hAsync("div", { key: 'b78f2ad43e03f40d65c69674b94a295e72366c8e', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, hAsync("slot", { key: 'd2cc74ff24cf10f0f958cea986149f3f03054291', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), hAsync("div", { key: 'cc6e0c0a32e51d3fa0d7f1865023f03434458217', class: "actions" }, hAsync("slot", { key: '8504df5d1970ac856a237cbb0dcce5a2707b7cab', name: "actions" }))));
6169
+ return (hAsync(Host, { key: '35883b5d4a92d10b5b010d822fb2233604464f9b', onFocus: this.delegateFocus.bind(this) }, hAsync("div", { key: '6fdec3af75bab2b076651b8cfef4aec8e23326a6', class: "brand" }, hAsync("slot", { key: '3127b4223b8bebfe425efc7ce45626f37fbf76b9', name: "brand" }, hAsync("img", { key: '20b3dd598e320c6950fb08bbd55dd80c47552eaf', id: "fallback-logo-lmvz", src: logoSvg, alt: "Lehrmittelverlag Z\u00FCrich" }))), hAsync("nav", { key: 'c3bf07f78930085c1a7b89421506bcd41d139911', "aria-label": "Hauptnavigation" }, hAsync("div", { key: 'fbc5199080f52da4f10c8c14fbbc0877ecc5f31c', role: "menubar", class: "primary-menubar" }, hAsync("slot", { key: '4210d213dcf7a1a27a73f2a9cf7ff97fec62f0db', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), hAsync("div", { key: '7b91c269f75e1245f75d471ec5bb7eeabfe1094d', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, hAsync("slot", { key: 'e23eb0f222b49d912bb45870df6d9b0d01f43788', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), hAsync("div", { key: '4b19026d5b2e54aa7aed072ce57de4acaa75cb4f', class: "actions" }, hAsync("slot", { key: '8f02d5d178bb60b40604fcd1be74d373d89c911f', name: "actions" }))));
6137
6170
  }
6138
6171
  static get watchers() { return {
6139
6172
  "lmvzActiveNav": [{
@@ -7006,7 +7039,7 @@ const OP_FAILURE = "Failure";
7006
7039
  /** @internal */
7007
7040
  const OP_WITH_RUNTIME = "WithRuntime";
7008
7041
 
7009
- let moduleVersion = "3.21.0";
7042
+ let moduleVersion = "3.21.1";
7010
7043
  const getCurrentVersion = () => moduleVersion;
7011
7044
 
7012
7045
  /** @internal */
@@ -9948,7 +9981,7 @@ class LmvzIcon extends ReactiveControllerHost {
9948
9981
  super.componentDidRender();
9949
9982
  }
9950
9983
  render() {
9951
- return hAsync(Host, { key: '4ce6e3931a1c8bfa1ddd48c780d005d110902b19', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
9984
+ return hAsync(Host, { key: 'f5c2f8025d0e9598d903e72770ebca6cad01961c', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
9952
9985
  }
9953
9986
  waitUntilVisible(callback, rootMargin = 50) {
9954
9987
  {
@@ -10138,9 +10171,9 @@ class LmvzInput extends ReactiveControllerHost {
10138
10171
  render() {
10139
10172
  const hasValue = Boolean(this.value);
10140
10173
  const shouldFloatLabel = hasValue || Boolean(this.placeholder);
10141
- return (hAsync("div", { key: '97674bbf9a17f1533340f19f0643bc8695417da6', class: classNames('input-container', {
10174
+ return (hAsync("div", { key: '195e2c5046d48d01f4912993bde3c8d2b3a73d1d', class: classNames('input-container', {
10142
10175
  'interaction-filled': hasValue,
10143
- }) }, hAsync("div", { key: '51aee84c821a5ad8884981bae3c42d0ed29a1fc5', class: "input-wrapper" }, hAsync("slot", { key: '589b38e7977f74f7037a71b6b530ea98750f3bee', name: "before-input" }), hAsync("div", { key: 'f5856cfc71ceb9093ceaa1b60bb6f4d964dadc7f', class: "label-input-group" }, hAsync("label", { key: 'fbd6bb71131cf7384a79ba6f4f606c430e326bef', htmlFor: this.inputId, class: classNames({ floating: shouldFloatLabel }) }, this.label, this.required && (hAsync("span", { key: 'd479254f9ac11a31278720d41e56db1300c06b15', class: "required-indicator", "aria-hidden": "true" }, ' ', "*"))), hAsync("input", { key: 'bb7b43947207bebb31412aa0e0eb58a9fed98963', id: this.inputId, ref: (el) => (this.nativeInputElement = el), type: this.type, min: this.min, max: this.max, step: this.step, value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, form: this.form, autocomplete: this.autocomplete, inputmode: this.inputmode, autocorrect: this.autocorrect, autocapitalize: this.autocapitalize, spellcheck: this.spellcheck, autofocus: this.autofocus, minlength: this.minlength, maxlength: this.maxlength, pattern: this.pattern, "aria-invalid": this.error ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-describedby": this.describedBy, "aria-errormessage": this.errorId, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur })), hAsync("slot", { key: 'a21d46103f1b0040e67e20b4faf016a2b2fdd4dc', name: "after-input" })), hAsync("div", { key: '53adfecb08ab29d1636052061dc37dffcd697ab2', id: this.helperId, role: "status" }, this.helperText || null), hAsync("div", { key: 'ea3406ebd72ef02a0f293ab01cf4cf9971687b30', id: this.errorId, role: "alert" }, (this.showErrorMessage && this.errorMessage) || null)));
10176
+ }) }, hAsync("div", { key: '66bc3deab063a309eefc0de5ebf7f54331c9190c', class: "input-wrapper" }, hAsync("slot", { key: 'fac318070421d526bb09ba0dd0efdecf8964d952', name: "before-input" }), hAsync("div", { key: '1945152dc010d571c5886f222332b057e89e496c', class: "label-input-group" }, hAsync("label", { key: 'd57392c2c83b1e5f362dd33fa9d060e570417f3f', htmlFor: this.inputId, class: classNames({ floating: shouldFloatLabel }) }, this.label, this.required && (hAsync("span", { key: '507603a50eb08f0f4f5e2b87b2550fe6b657c4d4', class: "required-indicator", "aria-hidden": "true" }, ' ', "*"))), hAsync("input", { key: '0fe916fef48618331806142c0d3500d9e6dec9cb', id: this.inputId, ref: (el) => (this.nativeInputElement = el), type: this.type, min: this.min, max: this.max, step: this.step, value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, form: this.form, autocomplete: this.autocomplete, inputmode: this.inputmode, autocorrect: this.autocorrect, autocapitalize: this.autocapitalize, spellcheck: this.spellcheck, autofocus: this.autofocus, minlength: this.minlength, maxlength: this.maxlength, pattern: this.pattern, "aria-invalid": this.error ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-describedby": this.describedBy, "aria-errormessage": this.errorId, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur })), hAsync("slot", { key: 'b415bedde58862e5bd7621f73a1d77bc478850a3', name: "after-input" })), hAsync("div", { key: 'bc0e07f5243417f4c632eb2f7976dc944fdbf17a', id: this.helperId, role: "status" }, this.helperText || null), hAsync("div", { key: '62e2267453b92edd47077b233cb231a1deecedc4', id: this.errorId, role: "alert" }, (this.showErrorMessage && this.errorMessage) || null)));
10144
10177
  }
10145
10178
  static get formAssociated() { return true; }
10146
10179
  static get watchers() { return {
@@ -10218,7 +10251,7 @@ class LmvzMenuItem extends ReactiveControllerHost {
10218
10251
  this.addController(new ElementActivationController(this));
10219
10252
  }
10220
10253
  render() {
10221
- return (hAsync(Host, { key: '510ac59b18468ce9c65b866ae2767185f1b3da92' }, hAsync("slot", { key: '7e032e0dab83f9bfbaa96ad2b78d8a5a58f978ab', ref: (e) => (this.validationSlot = e) })));
10254
+ return (hAsync(Host, { key: '1a37d2873a29c713cf95c60070c8dcf045c9f8fc' }, hAsync("slot", { key: 'c6578bcfdb9f0cebad095d80f0ed63cf663bf91e', ref: (e) => (this.validationSlot = e) })));
10222
10255
  }
10223
10256
  static get style() { return lmvzMenuitemCss(); }
10224
10257
  static get cmpMeta() { return {
@@ -10288,7 +10321,7 @@ class LmvzSelect extends ReactiveControllerHost {
10288
10321
  render() {
10289
10322
  const hasValue = this.hasValue;
10290
10323
  const shouldShowLabel = hasValue;
10291
- return (hAsync(Host, { key: '7f4650d5971bb93dba48385df734e6b7a0b4f7eb' }, hAsync("div", { key: '79d6234cd15f64c8bff787d715107e7e86145333', class: "select-wrapper" }, hAsync("label", { key: '14d93469c6d309b68427ff7bfc2bd531c8f0ecf6', htmlFor: this.selectId, class: shouldShowLabel ? 'floating-label' : 'assistive-label' }, this.label, this.required && shouldShowLabel && hAsync("span", { key: 'c8be809e09d768d6f73ccccdfbf0bf495869ac72', "aria-hidden": "true" }, " *")), hAsync("div", { key: '1db5d44b44100342a4ca5feff648b61a0bdadb1a', "aria-hidden": "true" }, hAsync("span", { key: '3fdc95aab9997a10f4ba42dabc3758aea0797a22' }, hasValue ? this.selectedLabel : this.label, this.required && !hasValue && hAsync("span", { key: '11aef8194551059130b6be5351587219a1e80f00', "aria-hidden": "true" }, " *")), hAsync("span", { key: '8fc52ff3e46d7b52d8d5069a74ebf7bb0d981081' }, hAsync("img", { key: '129dd4038772eba9313e1e322866c70408f4e2ad', src: chevronDownSvg, alt: "" }))), hAsync("select", { key: '6eb6cf496e60b3c1bd9556e596cbef34d4da5a09', id: this.selectId, ref: (el) => (this.nativeSelectEl = el), name: this.name, disabled: this.disabled, required: this.required, "aria-label": this.label, onChange: this.handleChange }, !hasValue && hAsync("option", { key: '70d660e0bc7e4c127234ce77decf35d6fea7fe8d', value: "", disabled: true, selected: true, hidden: true }), hAsync("slot", { key: 'e6cbc238c9c0cf8e8c31d0347a1f621272a94ca6' }))), this.helperText && hAsync("div", { key: '432d405ee7338da46509ff207599b882a19ea44e', role: "status" }, this.helperText)));
10324
+ return (hAsync(Host, { key: '7d1abb943f79e90451b43c9221801b80a2f61346' }, hAsync("div", { key: 'ded3e45246ab38e89d444c59239cdc63a2c4d4fc', class: "select-wrapper" }, hAsync("label", { key: 'cb68ff79976c2fb55d4cc827f9e90ba2597a8a43', htmlFor: this.selectId, class: shouldShowLabel ? 'floating-label' : 'assistive-label' }, this.label, this.required && shouldShowLabel && hAsync("span", { key: 'ab77eaea1645b95d90f00ffb609bbd7a1704f7bc', "aria-hidden": "true" }, " *")), hAsync("div", { key: '45cee00478a6cc31c10dddf69d8e6687fc8f440d', "aria-hidden": "true" }, hAsync("span", { key: '0c5d425ea8843234aa6abd94a207377e2a675686' }, hasValue ? this.selectedLabel : this.label, this.required && !hasValue && hAsync("span", { key: 'ebef5322371ee0253b50dd801b80cbb6402c067a', "aria-hidden": "true" }, " *")), hAsync("span", { key: 'a12d31dc29563444f728133f181b48914d31705b' }, hAsync("img", { key: 'dd3f175d1ca2b9ccc6c2bfa2075e5da62016a896', src: chevronDownSvg, alt: "" }))), hAsync("select", { key: 'a196f3b824177d1b45971c38341bf6a2939dda82', id: this.selectId, ref: (el) => (this.nativeSelectEl = el), name: this.name, disabled: this.disabled, required: this.required, "aria-label": this.label, onChange: this.handleChange }, !hasValue && hAsync("option", { key: '536cc559def0e9ffa4b2150693ece9a597c238d1', value: "", disabled: true, selected: true, hidden: true }), hAsync("slot", { key: 'ad9fed96b9f8c1d8257511bb1d5ab5ee756973ce' }))), this.helperText && hAsync("div", { key: '4723b44d781c900be5aae7ece2a0be04b6c744b9', role: "status" }, this.helperText)));
10292
10325
  }
10293
10326
  static get watchers() { return {
10294
10327
  "value": [{
@@ -10425,7 +10458,7 @@ var NAMESPACE = (
10425
10458
  );
10426
10459
 
10427
10460
  /*
10428
- Stencil Hydrate Runner v4.43.3 | MIT Licensed | https://stenciljs.com
10461
+ Stencil Hydrate Runner v4.43.4 | MIT Licensed | https://stenciljs.com
10429
10462
  */
10430
10463
  var __create = Object.create;
10431
10464
  var __defProp = Object.defineProperty;
@@ -25303,18 +25336,34 @@ var RemoteValue = class _RemoteValue {
25303
25336
  };
25304
25337
 
25305
25338
  // src/utils/serialize.ts
25339
+ function encodeBase64Unicode(str) {
25340
+ const utf8Bytes = new TextEncoder().encode(str);
25341
+ let binary = "";
25342
+ for (let i = 0; i < utf8Bytes.length; i++) {
25343
+ binary += String.fromCharCode(utf8Bytes[i]);
25344
+ }
25345
+ return btoa(binary);
25346
+ }
25347
+ function decodeBase64Unicode(base64) {
25348
+ const binary = atob(base64);
25349
+ const bytes = new Uint8Array(binary.length);
25350
+ for (let i = 0; i < binary.length; i++) {
25351
+ bytes[i] = binary.charCodeAt(i);
25352
+ }
25353
+ return new TextDecoder().decode(bytes);
25354
+ }
25306
25355
  function serializeProperty(value) {
25307
25356
  if (["string", "boolean", "undefined"].includes(typeof value) || typeof value === "number" && value !== Infinity && value !== -Infinity && !isNaN(value)) {
25308
25357
  return value;
25309
25358
  }
25310
25359
  const arg = LocalValue.getArgument(value);
25311
- return SERIALIZED_PREFIX + btoa(JSON.stringify(arg));
25360
+ return SERIALIZED_PREFIX + encodeBase64Unicode(JSON.stringify(arg));
25312
25361
  }
25313
25362
  function deserializeProperty(value) {
25314
25363
  if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
25315
25364
  return value;
25316
25365
  }
25317
- return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
25366
+ return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
25318
25367
  }
25319
25368
  var CAPTURE_EVENT_SUFFIX = "Capture";
25320
25369
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
@@ -1 +1 @@
1
- export{A as ARIA_VALIDATION_RUNTIME_CHANGED_EVENT,d as disableAriaValidation,e as enableAriaValidation,i as isAriaValidationEnabled,q as queueValidation,u as useVerboseLogging}from"./p-Bx29-tJt.js";export{c as clearIconCache}from"./p-i2508Ct1.js";import{r}from"./p-9SROYpxM.js";import"./p-DyO6wO4l.js";import"./p-CQb-mBBB.js";const a=["primary","secondary","tertiary"],o=["small","default","large"],t=["xs","sm","md","lg"],s=[...t,"xl"],n=["text","email","password","tel","url","search","number"],l=[...t,"inherit"],p=["thin","medium","bold","filled"],h=["Logo","actions","adduser","alert","apple","arrow-down","arrow-left","arrow-right","arrow-up","book","bookmark","checkmark","chevron-down","chevron-left","chevron-right","chevron-up","close-l","close-sm","cog","computer","dashboard","delete","download","edit","external","facebook","favorite","filter","group","hide","home","info","instagram","letter","linkedin","logout","map","minus","navigation","plus","qr-scan","question","reader","reset","school","search","send","settings","share","shopping-cart","show","snapchat","sort","speech-bubble","star","student","upload","user","warn-circle","warn-triangle","whatsapp","world","x","youtube"];function m(e){return r(e).catch((e=>{console.error("Unhandled error in Effect:",e)}))}export{h as iconNames,l as iconSizes,p as iconWeights,n as inputTypes,m as run,o as scaleValues,t as sizes,s as textSizes,a as variants}
1
+ export{A as ARIA_VALIDATION_RUNTIME_CHANGED_EVENT,d as disableAriaValidation,e as enableAriaValidation,i as isAriaValidationEnabled,q as queueValidation,u as useVerboseLogging}from"./p-CU4XwA2K.js";export{c as clearIconCache}from"./p-BT8PQPMJ.js";import{r}from"./p-DkwJP3kx.js";import"./p-BxiCs9Wn.js";import"./p-saW7O-EW.js";const a=["primary","secondary","tertiary"],o=["small","default","large"],s=["xs","sm","md","lg"],t=[...s,"xl"],n=["text","email","password","tel","url","search","number"],l=[...s,"inherit"],p=["thin","medium","bold","filled"],h=["Logo","actions","adduser","alert","apple","arrow-down","arrow-left","arrow-right","arrow-up","book","bookmark","checkmark","chevron-down","chevron-left","chevron-right","chevron-up","close-l","close-sm","cog","computer","dashboard","delete","download","edit","external","facebook","favorite","filter","group","hide","home","info","instagram","letter","linkedin","logout","map","minus","navigation","plus","qr-scan","question","reader","reset","school","search","send","settings","share","shopping-cart","show","snapchat","sort","speech-bubble","star","student","upload","user","warn-circle","warn-triangle","whatsapp","world","x","youtube"];function m(e){return r(e).catch((e=>{console.error("Unhandled error in Effect:",e)}))}export{h as iconNames,l as iconSizes,p as iconWeights,n as inputTypes,m as run,o as scaleValues,s as sizes,t as textSizes,a as variants}
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-CQb-mBBB.js";export{s as setNonce}from"./p-CQb-mBBB.js";import{g as l}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-b8926640",[[769,"lmvz-header",{role:[2561],lmvzActiveNav:[1,"lmvz-active-nav"]},null,{lmvzActiveNav:[{handleActiveNavChange:0}]}],[774,"lmvz-menuitem",{role:[2561],ti:[2562,"tabindex"]}]]],["p-8d51e396",[[257,"lmvz-action"]]],["p-b9d1953f",[[785,"lmvz-button",{ti:[2562,"tabindex"],scale:[513],variant:[513],disabled:[516],type:[1],form:[1]}]]],["p-d9c3f542",[[774,"lmvz-card",{cardTitle:[1,"card-title"],imageUrl:[1,"image-url"],description:[1],primaryActionLabel:[1,"primary-action-label"]}]]],["p-5c3f1404",[[513,"lmvz-chip",{text:[1]}]]],["p-22f67eff",[[514,"lmvz-icon",{icon:[513],weight:[513],size:[513],ariaLabel:[513,"aria-label"],iconData:[32],visible:[32]},null,{icon:[{loadIconPathData:0}]}]]],["p-4530f088",[[838,"lmvz-input",{value:[1025],label:[1],helperText:[1,"helper-text"],placeholder:[1],disabled:[516],readonly:[516],required:[516],name:[1],type:[1],errorMessage:[1,"error-message"],autocomplete:[1],inputmode:[1],autocorrect:[1],autocapitalize:[1],spellcheck:[4],autofocus:[4],minlength:[2],maxlength:[2],pattern:[1],min:[8],max:[8],step:[8],form:[1],error:[6660],nativeError:[32],setValue:[64],focusInput:[64],blurInput:[64],select:[64],checkValidity:[64],reportValidity:[64],getInputElement:[64]},null,{value:[{handleValueChange:0}],disabled:[{handleDisabledChange:0}]}]]],["p-47d7ed0e",[[774,"lmvz-menuitem",{role:[2561],ti:[2562,"tabindex"]}]]],["p-150ecfb6",[[774,"lmvz-select",{value:[1025],label:[1],helperText:[1,"helper-text"],disabled:[516],required:[516],name:[1],selectedLabel:[32]},null,{value:[{handleValueChange:0}]}]]]],e))));
1
+ import{p as e,b as a}from"./p-saW7O-EW.js";export{s as setNonce}from"./p-saW7O-EW.js";import{g as l}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-986acfd0",[[769,"lmvz-header",{role:[2561],lmvzActiveNav:[1,"lmvz-active-nav"]},null,{lmvzActiveNav:[{handleActiveNavChange:0}]}],[774,"lmvz-menuitem",{role:[2561],ti:[2562,"tabindex"]}]]],["p-43e295ba",[[257,"lmvz-action"]]],["p-1bda378c",[[785,"lmvz-button",{ti:[2562,"tabindex"],scale:[513],variant:[513],disabled:[516],type:[1],form:[1]}]]],["p-373a9cbf",[[774,"lmvz-card",{cardTitle:[1,"card-title"],imageUrl:[1,"image-url"],description:[1],primaryActionLabel:[1,"primary-action-label"]}]]],["p-5f150890",[[513,"lmvz-chip",{text:[1]}]]],["p-6d5fa8c4",[[514,"lmvz-icon",{icon:[513],weight:[513],size:[513],ariaLabel:[513,"aria-label"],iconData:[32],visible:[32]},null,{icon:[{loadIconPathData:0}]}]]],["p-121f74d8",[[838,"lmvz-input",{value:[1025],label:[1],helperText:[1,"helper-text"],placeholder:[1],disabled:[516],readonly:[516],required:[516],name:[1],type:[1],errorMessage:[1,"error-message"],autocomplete:[1],inputmode:[1],autocorrect:[1],autocapitalize:[1],spellcheck:[4],autofocus:[4],minlength:[2],maxlength:[2],pattern:[1],min:[8],max:[8],step:[8],form:[1],error:[6660],nativeError:[32],setValue:[64],focusInput:[64],blurInput:[64],select:[64],checkValidity:[64],reportValidity:[64],getInputElement:[64]},null,{value:[{handleValueChange:0}],disabled:[{handleDisabledChange:0}]}]]],["p-b704eca8",[[774,"lmvz-menuitem",{role:[2561],ti:[2562,"tabindex"]}]]],["p-abbfa6aa",[[774,"lmvz-select",{value:[1025],label:[1],helperText:[1,"helper-text"],disabled:[516],required:[516],name:[1],selectedLabel:[32]},null,{value:[{handleValueChange:0}]}]]]],e))));
@@ -1 +1 @@
1
- import{g as t,r as e,c as r,h as i}from"./p-CQb-mBBB.js";import{c as o}from"./p-BfTCfPZ1.js";import{R as a,A as n}from"./p-Cp76bcGb.js";import{c as s}from"./p-DIrAQ4IB.js";import"./p-Bx29-tJt.js";let l=0;const c=class extends a{get el(){return t(this)}get validationEl(){return this.el}lmvzInput;internals;nativeInputElement;inputId="lmvz-input-"+l++;initialValue="";nativeError=!1;errorFromProp=!1;get helperId(){return this.helperText?`${this.inputId}-helper`:void 0}get showErrorMessage(){return this.error&&Boolean(this.errorMessage)}get errorId(){return`${this.inputId}-error`}get describedBy(){const t=[];return this.helperId&&t.push(this.helperId),this.showErrorMessage&&t.push(this.errorId),t.length>0?t.join(" "):void 0}value;label;helperText;placeholder;disabled=!1;readonly=!1;required=!1;name;type="text";errorMessage;autocomplete;inputmode;autocorrect;autocapitalize;spellcheck;autofocus=!1;minlength;maxlength;pattern;min;max;step;form;get error(){return this.errorFromProp||this.nativeError}set error(t){this.errorFromProp=t}async setValue(t){const e=this.nativeInputElement,r=t??"";e&&(e.value=r),this.value=r,this.internals.setFormValue?.(r),this.lmvzInput.emit(r)}async focusInput(){this.nativeInputElement?.focus()}async blurInput(){this.nativeInputElement?.blur()}async select(){this.nativeInputElement?.select()}async checkValidity(){return this.nativeInputElement?.checkValidity?.()??!1}async reportValidity(){return this.nativeInputElement?.reportValidity?.()??!1}async getInputElement(){return this.nativeInputElement||await new Promise((t=>s(this.el,t))),Promise.resolve(this.nativeInputElement)}constructor(t){super(),e(this,t),this.lmvzInput=r(this,"lmvzInput"),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.addController(new n(this,{reValidateOnPropChanges:!0}))}componentWillLoad(){this.initialValue=this.value??"",super.componentWillLoad()}formAssociatedCallback(t){t&&this.internals.setFormValue?.(this.value??"")}formResetCallback(){this.internals.setValidity({}),this.setValue(this.initialValue)}formStateRestoreCallback(t){this.setValue(t)}handleValueChange(t){this.nativeInputElement&&(this.nativeInputElement.value===t||this.setValue(t))}handleDisabledChange(t){t&&this.nativeInputElement&&this.nativeInputElement.blur()}handleInput=t=>{this.setValue(t.target.value)};handleChange=t=>{this.updateNativeError(t.target??this.nativeInputElement)};handleFocus=()=>{};handleBlur=t=>{const e=t.target;e.reportValidity?.()};updateNativeError(t){const e=t??this.nativeInputElement;e&&(this.nativeError=!(e.checkValidity?.()??1))}render(){const t=Boolean(this.value),e=t||Boolean(this.placeholder);return i("div",{key:"97674bbf9a17f1533340f19f0643bc8695417da6",class:o("input-container",{"interaction-filled":t})},i("div",{key:"51aee84c821a5ad8884981bae3c42d0ed29a1fc5",class:"input-wrapper"},i("slot",{key:"589b38e7977f74f7037a71b6b530ea98750f3bee",name:"before-input"}),i("div",{key:"f5856cfc71ceb9093ceaa1b60bb6f4d964dadc7f",class:"label-input-group"},i("label",{key:"fbd6bb71131cf7384a79ba6f4f606c430e326bef",htmlFor:this.inputId,class:o({floating:e})},this.label,this.required&&i("span",{key:"d479254f9ac11a31278720d41e56db1300c06b15",class:"required-indicator","aria-hidden":"true"}," ","*")),i("input",{key:"bb7b43947207bebb31412aa0e0eb58a9fed98963",id:this.inputId,ref:t=>this.nativeInputElement=t,type:this.type,min:this.min,max:this.max,step:this.step,value:this.value,name:this.name,placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,required:this.required,form:this.form,autocomplete:this.autocomplete,inputmode:this.inputmode,autocorrect:this.autocorrect,autocapitalize:this.autocapitalize,spellcheck:this.spellcheck,autofocus:this.autofocus,minlength:this.minlength,maxlength:this.maxlength,pattern:this.pattern,"aria-invalid":this.error?"true":"false","aria-required":this.required?"true":"false","aria-describedby":this.describedBy,"aria-errormessage":this.errorId,onInput:this.handleInput,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur})),i("slot",{key:"a21d46103f1b0040e67e20b4faf016a2b2fdd4dc",name:"after-input"})),i("div",{key:"53adfecb08ab29d1636052061dc37dffcd697ab2",id:this.helperId,role:"status"},this.helperText||null),i("div",{key:"ea3406ebd72ef02a0f293ab01cf4cf9971687b30",id:this.errorId,role:"alert"},this.showErrorMessage&&this.errorMessage||null))}static get formAssociated(){return!0}static get watchers(){return{value:[{handleValueChange:0}],disabled:[{handleDisabledChange:0}]}}};c.style="@layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.theme { @font-face { font-family: Router; src: local('Router-Book'), url('/assets/fonts/Router-Book.woff') format('woff'), local('Router'); font-weight: 400 normal; } @font-face { font-family: Router; src: local('Router-Medium'), url('/assets/fonts/Router-Medium.woff') format('woff'), local('Router'); font-weight: 500; } @font-face { font-family: Router; src: local('Router-Bold'), url('/assets/fonts/Router-Bold.woff') format('woff'), local('Router'); font-weight: 700 bold; } } .sc-lmvz-input-h { display: block; font-family: var(--lmvz-global-font-family-default, Router); --input-radius: var(--lmvz-component-input-radius-default, 999px); --input-bg: var(--lmvz-semantic-color-surface-input-primary, #ffffff); --input-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0); --input-border-color-hover: var(--lmvz-semantic-color-border-hover, #c7c7c7); --input-border-color-focus: var(--lmvz-semantic-color-status-on-selected, #0e7ab4); --input-border-width: var(--lmvz-semantic-border-width-default, 1px); --input-height: 48px; --input-padding-x: 16px; --label-color: var(--lmvz-semantic-color-on-surface-input-secondary, #7a7a7a); --input-text-color: var(--lmvz-semantic-color-on-surface-input-primary, #000000); --helper-text-color: var(--lmvz-semantic-color-on-surface-input-secondary, #7a7a7a); --error-text-color: var(--lmvz-semantic-color-status-on-danger, #e52a31); --label-floating-scale: 0.85; --label-minimized-top: -6px; --label-minimized-bg: var(--input-bg); --label-minimized-padding-x: 4px; --input-disabled-opacity: var(--lmvz-component-input-disabled-opacity, 40%); } .input-container.sc-lmvz-input { display: flex; flex-direction: column; position: relative; width: 100%; } .input-wrapper.sc-lmvz-input { background-color: var(--input-bg); border: var(--input-border-width) solid var(--input-border-color); border-radius: var(--input-radius); display: flex; align-items: center; height: var(--input-height); padding: 0 var(--input-padding-x); position: relative; transition: border-color 0.2s ease; gap: 8px; } [disabled].sc-lmvz-input-h .input-wrapper.sc-lmvz-input { opacity: var(--input-disabled-opacity); cursor: not-allowed; pointer-events: none; } .input-container.sc-lmvz-input:focus-within .input-wrapper.sc-lmvz-input { border-color: var(--input-border-color-focus); outline: 2px solid var(--input-border-color-focus); outline-offset: 2px; } .input-container.sc-lmvz-input:has(input:focus-visible) .input-wrapper.sc-lmvz-input { box-shadow: 0 0 0 3px rgb(0 86 214 / 20%); } [error].sc-lmvz-input-h .input-wrapper.sc-lmvz-input { border-color: var(--error-text-color); } [error].sc-lmvz-input-h:focus-within .input-wrapper.sc-lmvz-input { border-color: var(--error-text-color); outline-color: var(--error-text-color); } .sc-lmvz-input-h:not([disabled]) .input-wrapper.sc-lmvz-input:hover { border-color: var(--input-border-color-hover); } .label-input-group.sc-lmvz-input { position: relative; flex-grow: 1; display: flex; align-items: center; height: 100%; } label.sc-lmvz-input { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--label-color); font-size: 14px; font-family: Router, sans-serif; font-weight: 400; pointer-events: none; transition: all 0.2s ease-out; background-color: transparent; padding: 0; margin: 0; line-height: normal; white-space: nowrap; } label.floating.sc-lmvz-input { top: 0; transform: translateY(-50%) scale(0.85); transform-origin: left top; background-color: var(--label-minimized-bg); padding: 0 var(--label-minimized-padding-x); left: -2px; color: var(--input-text-color); font-weight: 500; } .required-indicator.sc-lmvz-input { color: var(--error-text-color); margin-left: 2px; } input.sc-lmvz-input { border: none; background: transparent; width: 100%; height: 100%; color: var(--input-text-color); font-family: inherit; font-size: 14px; outline: none; padding: 0; margin: 0; font-weight: 400; } input.sc-lmvz-input::placeholder { color: var(--label-color); } div.sc-lmvz-input:empty { display: none; } [role='status'].sc-lmvz-input { padding-top: 8px; padding-left: 12px; font-size: 12px; color: var(--helper-text-color); font-family: Router, sans-serif; font-weight: 500; } [role='alert'].sc-lmvz-input { padding-top: 8px; padding-left: 12px; font-size: 12px; color: var(--error-text-color); font-family: Router, sans-serif; font-weight: 500; } .sc-lmvz-input-s > lmvz-button { --lmvz-button-padding: 4px; }";export{c as lmvz_input}
1
+ import{g as t,r as e,c as r,h as i}from"./p-saW7O-EW.js";import{c as o}from"./p-BfTCfPZ1.js";import{R as a,A as n}from"./p-DPHHQR5F.js";import{c as s}from"./p-DIrAQ4IB.js";import"./p-CU4XwA2K.js";let l=0;const c=class extends a{get el(){return t(this)}get validationEl(){return this.el}lmvzInput;internals;nativeInputElement;inputId="lmvz-input-"+l++;initialValue="";nativeError=!1;errorFromProp=!1;get helperId(){return this.helperText?`${this.inputId}-helper`:void 0}get showErrorMessage(){return this.error&&Boolean(this.errorMessage)}get errorId(){return`${this.inputId}-error`}get describedBy(){const t=[];return this.helperId&&t.push(this.helperId),this.showErrorMessage&&t.push(this.errorId),t.length>0?t.join(" "):void 0}value;label;helperText;placeholder;disabled=!1;readonly=!1;required=!1;name;type="text";errorMessage;autocomplete;inputmode;autocorrect;autocapitalize;spellcheck;autofocus=!1;minlength;maxlength;pattern;min;max;step;form;get error(){return this.errorFromProp||this.nativeError}set error(t){this.errorFromProp=t}async setValue(t){const e=this.nativeInputElement,r=t??"";e&&(e.value=r),this.value=r,this.internals.setFormValue?.(r),this.lmvzInput.emit(r)}async focusInput(){this.nativeInputElement?.focus()}async blurInput(){this.nativeInputElement?.blur()}async select(){this.nativeInputElement?.select()}async checkValidity(){return this.nativeInputElement?.checkValidity?.()??!1}async reportValidity(){return this.nativeInputElement?.reportValidity?.()??!1}async getInputElement(){return this.nativeInputElement||await new Promise((t=>s(this.el,t))),Promise.resolve(this.nativeInputElement)}constructor(t){super(),e(this,t),this.lmvzInput=r(this,"lmvzInput"),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.addController(new n(this,{reValidateOnPropChanges:!0}))}componentWillLoad(){this.initialValue=this.value??"",super.componentWillLoad()}formAssociatedCallback(t){t&&this.internals.setFormValue?.(this.value??"")}formResetCallback(){this.internals.setValidity({}),this.setValue(this.initialValue)}formStateRestoreCallback(t){this.setValue(t)}handleValueChange(t){this.nativeInputElement&&(this.nativeInputElement.value===t||this.setValue(t))}handleDisabledChange(t){t&&this.nativeInputElement&&this.nativeInputElement.blur()}handleInput=t=>{this.setValue(t.target.value)};handleChange=t=>{this.updateNativeError(t.target??this.nativeInputElement)};handleFocus=()=>{};handleBlur=t=>{const e=t.target;e.reportValidity?.()};updateNativeError(t){const e=t??this.nativeInputElement;e&&(this.nativeError=!(e.checkValidity?.()??1))}render(){const t=Boolean(this.value),e=t||Boolean(this.placeholder);return i("div",{key:"195e2c5046d48d01f4912993bde3c8d2b3a73d1d",class:o("input-container",{"interaction-filled":t})},i("div",{key:"66bc3deab063a309eefc0de5ebf7f54331c9190c",class:"input-wrapper"},i("slot",{key:"fac318070421d526bb09ba0dd0efdecf8964d952",name:"before-input"}),i("div",{key:"1945152dc010d571c5886f222332b057e89e496c",class:"label-input-group"},i("label",{key:"d57392c2c83b1e5f362dd33fa9d060e570417f3f",htmlFor:this.inputId,class:o({floating:e})},this.label,this.required&&i("span",{key:"507603a50eb08f0f4f5e2b87b2550fe6b657c4d4",class:"required-indicator","aria-hidden":"true"}," ","*")),i("input",{key:"0fe916fef48618331806142c0d3500d9e6dec9cb",id:this.inputId,ref:t=>this.nativeInputElement=t,type:this.type,min:this.min,max:this.max,step:this.step,value:this.value,name:this.name,placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,required:this.required,form:this.form,autocomplete:this.autocomplete,inputmode:this.inputmode,autocorrect:this.autocorrect,autocapitalize:this.autocapitalize,spellcheck:this.spellcheck,autofocus:this.autofocus,minlength:this.minlength,maxlength:this.maxlength,pattern:this.pattern,"aria-invalid":this.error?"true":"false","aria-required":this.required?"true":"false","aria-describedby":this.describedBy,"aria-errormessage":this.errorId,onInput:this.handleInput,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur})),i("slot",{key:"b415bedde58862e5bd7621f73a1d77bc478850a3",name:"after-input"})),i("div",{key:"bc0e07f5243417f4c632eb2f7976dc944fdbf17a",id:this.helperId,role:"status"},this.helperText||null),i("div",{key:"62e2267453b92edd47077b233cb231a1deecedc4",id:this.errorId,role:"alert"},this.showErrorMessage&&this.errorMessage||null))}static get formAssociated(){return!0}static get watchers(){return{value:[{handleValueChange:0}],disabled:[{handleDisabledChange:0}]}}};c.style="@layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.theme { @font-face { font-family: Router; src: local('Router-Book'), url('/assets/fonts/Router-Book.woff') format('woff'), local('Router'); font-weight: 400 normal; } @font-face { font-family: Router; src: local('Router-Medium'), url('/assets/fonts/Router-Medium.woff') format('woff'), local('Router'); font-weight: 500; } @font-face { font-family: Router; src: local('Router-Bold'), url('/assets/fonts/Router-Bold.woff') format('woff'), local('Router'); font-weight: 700 bold; } } .sc-lmvz-input-h { display: block; font-family: var(--lmvz-global-font-family-default, Router); --input-radius: var(--lmvz-component-input-radius-default, 999px); --input-bg: var(--lmvz-semantic-color-surface-input-primary, #ffffff); --input-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0); --input-border-color-hover: var(--lmvz-semantic-color-border-hover, #c7c7c7); --input-border-color-focus: var(--lmvz-semantic-color-status-on-selected, #0e7ab4); --input-border-width: var(--lmvz-semantic-border-width-default, 1px); --input-height: 48px; --input-padding-x: 16px; --label-color: var(--lmvz-semantic-color-on-surface-input-secondary, #7a7a7a); --input-text-color: var(--lmvz-semantic-color-on-surface-input-primary, #000000); --helper-text-color: var(--lmvz-semantic-color-on-surface-input-secondary, #7a7a7a); --error-text-color: var(--lmvz-semantic-color-status-on-danger, #e52a31); --label-floating-scale: 0.85; --label-minimized-top: -6px; --label-minimized-bg: var(--input-bg); --label-minimized-padding-x: 4px; --input-disabled-opacity: var(--lmvz-component-input-disabled-opacity, 40%); } .input-container.sc-lmvz-input { display: flex; flex-direction: column; position: relative; width: 100%; } .input-wrapper.sc-lmvz-input { background-color: var(--input-bg); border: var(--input-border-width) solid var(--input-border-color); border-radius: var(--input-radius); display: flex; align-items: center; height: var(--input-height); padding: 0 var(--input-padding-x); position: relative; transition: border-color 0.2s ease; gap: 8px; } [disabled].sc-lmvz-input-h .input-wrapper.sc-lmvz-input { opacity: var(--input-disabled-opacity); cursor: not-allowed; pointer-events: none; } .input-container.sc-lmvz-input:focus-within .input-wrapper.sc-lmvz-input { border-color: var(--input-border-color-focus); outline: 2px solid var(--input-border-color-focus); outline-offset: 2px; } .input-container.sc-lmvz-input:has(input:focus-visible) .input-wrapper.sc-lmvz-input { box-shadow: 0 0 0 3px rgb(0 86 214 / 20%); } [error].sc-lmvz-input-h .input-wrapper.sc-lmvz-input { border-color: var(--error-text-color); } [error].sc-lmvz-input-h:focus-within .input-wrapper.sc-lmvz-input { border-color: var(--error-text-color); outline-color: var(--error-text-color); } .sc-lmvz-input-h:not([disabled]) .input-wrapper.sc-lmvz-input:hover { border-color: var(--input-border-color-hover); } .label-input-group.sc-lmvz-input { position: relative; flex-grow: 1; display: flex; align-items: center; height: 100%; } label.sc-lmvz-input { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--label-color); font-size: 14px; font-family: Router, sans-serif; font-weight: 400; pointer-events: none; transition: all 0.2s ease-out; background-color: transparent; padding: 0; margin: 0; line-height: normal; white-space: nowrap; } label.floating.sc-lmvz-input { top: 0; transform: translateY(-50%) scale(0.85); transform-origin: left top; background-color: var(--label-minimized-bg); padding: 0 var(--label-minimized-padding-x); left: -2px; color: var(--input-text-color); font-weight: 500; } .required-indicator.sc-lmvz-input { color: var(--error-text-color); margin-left: 2px; } input.sc-lmvz-input { border: none; background: transparent; width: 100%; height: 100%; color: var(--input-text-color); font-family: inherit; font-size: 14px; outline: none; padding: 0; margin: 0; font-weight: 400; } input.sc-lmvz-input::placeholder { color: var(--label-color); } div.sc-lmvz-input:empty { display: none; } [role='status'].sc-lmvz-input { padding-top: 8px; padding-left: 12px; font-size: 12px; color: var(--helper-text-color); font-family: Router, sans-serif; font-weight: 500; } [role='alert'].sc-lmvz-input { padding-top: 8px; padding-left: 12px; font-size: 12px; color: var(--error-text-color); font-family: Router, sans-serif; font-weight: 500; } .sc-lmvz-input-s > lmvz-button { --lmvz-button-padding: 4px; }";export{c as lmvz_input}