@lmvz-ds/components 0.16.0 → 0.17.1

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 (248) hide show
  1. package/dist/cjs/{icons-BOM23oli.js → Effect-DdYOHaR4.js} +153 -889
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -3
  3. package/dist/cjs/aria-loader-BRxRUIyi.js +121 -0
  4. package/dist/cjs/{assets-XY-cBmal.js → assets-OvQ-WUwR.js} +2 -5
  5. package/dist/cjs/component-Csg9MtNK.js +140 -0
  6. package/dist/cjs/element-activation-controller-DC_6T0Rt.js +31 -0
  7. package/dist/cjs/icons-EHBLbidD.js +653 -0
  8. package/dist/cjs/{index-ww_DCXU7.js → index-BBqtydE-.js} +426 -431
  9. package/dist/cjs/index-Bp6Dd2i1.js +94 -0
  10. package/dist/cjs/{index-B1Puzu82.js → index-CH-YLRgg.js} +650 -10
  11. package/dist/cjs/index.cjs.js +12 -13
  12. package/dist/cjs/lmvz-action.cjs.entry.js +2 -5
  13. package/dist/cjs/lmvz-button.cjs.entry.js +73 -0
  14. package/dist/cjs/lmvz-card.cjs.entry.js +3 -6
  15. package/dist/cjs/lmvz-chip.cjs.entry.js +2 -5
  16. package/dist/cjs/lmvz-components.cjs.js +2 -5
  17. package/dist/cjs/lmvz-header_2.cjs.entry.js +153 -0
  18. package/dist/cjs/lmvz-icon.cjs.entry.js +87 -0
  19. package/dist/cjs/lmvz-input.cjs.entry.js +183 -0
  20. package/dist/cjs/lmvz-menuitem.cjs.entry.js +36 -0
  21. package/dist/cjs/lmvz-select.cjs.entry.js +71 -0
  22. package/dist/cjs/loader.cjs.js +2 -5
  23. package/dist/cjs/reactive-controller-host-vy1TIIXv.js +189 -0
  24. package/dist/collection/api/ds.constants.js +0 -1
  25. package/dist/collection/api/index.js +0 -1
  26. package/dist/collection/collection-manifest.json +13 -1
  27. package/dist/collection/components/lmvz-action/lmvz-action.js +1 -2
  28. package/dist/collection/components/lmvz-button/lmvz-button.css +2 -24
  29. package/dist/collection/components/lmvz-button/lmvz-button.js +1 -2
  30. package/dist/collection/components/lmvz-card/lmvz-card.css +2 -24
  31. package/dist/collection/components/lmvz-card/lmvz-card.js +1 -2
  32. package/dist/collection/components/lmvz-chip/lmvz-chip.js +1 -2
  33. package/dist/collection/components/lmvz-header/lmvz-header.js +1 -2
  34. package/dist/collection/components/lmvz-icon/icons.js +0 -1
  35. package/dist/collection/components/lmvz-icon/lmvz-icon.js +1 -2
  36. package/dist/collection/components/lmvz-icon/public.js +0 -1
  37. package/dist/collection/components/lmvz-icon/test/icons.unit.js +0 -1
  38. package/dist/collection/components/lmvz-input/lmvz-input.css +2 -24
  39. package/dist/collection/components/lmvz-input/lmvz-input.js +2 -3
  40. package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.css +2 -24
  41. package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.js +1 -2
  42. package/dist/collection/components/lmvz-select/lmvz-select.css +2 -24
  43. package/dist/collection/components/lmvz-select/lmvz-select.js +1 -2
  44. package/dist/collection/index.js +0 -1
  45. package/dist/collection/integration/header-integration.js +1 -2
  46. package/dist/collection/utils/aria/aria-validation-controller.js +0 -1
  47. package/dist/collection/utils/aria/element-activation-controller.js +0 -1
  48. package/dist/collection/utils/aria/list-keyboard-controller.js +0 -1
  49. package/dist/collection/utils/assets.js +0 -1
  50. package/dist/collection/utils/component.js +0 -1
  51. package/dist/collection/utils/effect.js +0 -1
  52. package/dist/collection/utils/environment.js +0 -1
  53. package/dist/collection/utils/http.js +0 -1
  54. package/dist/collection/utils/http.unit.js +0 -1
  55. package/dist/collection/utils/public.js +0 -1
  56. package/dist/collection/utils/reactive-controller-host.js +0 -1
  57. package/dist/collection/utils/validation/svg.js +0 -1
  58. package/dist/components/index.d.ts +0 -2
  59. package/dist/components/index.js +1 -2
  60. package/dist/components/lmvz-action.js +1 -2
  61. package/dist/components/lmvz-button.js +1 -2
  62. package/dist/components/lmvz-card.js +1 -2
  63. package/dist/components/lmvz-chip.js +1 -2
  64. package/dist/components/lmvz-header.js +1 -2
  65. package/dist/components/lmvz-icon.js +1 -2
  66. package/dist/components/lmvz-input.js +1 -2
  67. package/dist/components/lmvz-menuitem.js +1 -2
  68. package/dist/components/lmvz-select.js +1 -2
  69. package/dist/components/p-BfTCfPZ1.js +2 -3
  70. package/dist/components/p-BsHYIl56.js +1 -2
  71. package/dist/components/p-CKtksB0G.js +1 -0
  72. package/dist/components/p-CN0JX9-m.js +1 -2
  73. package/dist/components/p-CahBdGGN.js +1 -0
  74. package/dist/components/p-DQEkWkMh.js +1 -2
  75. package/dist/components/p-GKEnURpp.js +1 -0
  76. package/dist/components/p-vIq2biqy.js +2 -3
  77. package/dist/esm/{icons-D1lxdRXP.js → Effect-9SROYpxM.js} +91 -854
  78. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  79. package/dist/esm/aria-loader-JxXwTAe5.js +114 -0
  80. package/dist/esm/{assets-BD98wsl7.js → assets-CNHv_WMG.js} +1 -4
  81. package/dist/esm/component-DIrAQ4IB.js +134 -0
  82. package/dist/esm/element-activation-controller-CN0JX9-m.js +29 -0
  83. package/dist/esm/icons-B255FOe4.js +649 -0
  84. package/dist/esm/{index-DoNkkDv1.js → index-BW1YMEA3.js} +1 -6
  85. package/dist/esm/index-BfTCfPZ1.js +92 -0
  86. package/dist/esm/{index-WeqgWisK.js → index-CQb-mBBB.js} +650 -10
  87. package/dist/esm/index.js +5 -7
  88. package/dist/esm/lmvz-action.entry.js +2 -5
  89. package/dist/esm/lmvz-button.entry.js +71 -0
  90. package/dist/esm/lmvz-card.entry.js +3 -6
  91. package/dist/esm/lmvz-chip.entry.js +2 -5
  92. package/dist/esm/lmvz-components.js +3 -6
  93. package/dist/esm/lmvz-header_2.entry.js +150 -0
  94. package/dist/esm/lmvz-icon.entry.js +85 -0
  95. package/dist/esm/lmvz-input.entry.js +181 -0
  96. package/dist/esm/lmvz-menuitem.entry.js +34 -0
  97. package/dist/esm/lmvz-select.entry.js +69 -0
  98. package/dist/esm/loader.js +3 -6
  99. package/dist/esm/reactive-controller-host-OhKYwMvP.js +186 -0
  100. package/dist/lmvz-components/index.esm.js +1 -2
  101. package/dist/lmvz-components/lmvz-components.esm.js +1 -2
  102. package/dist/lmvz-components/p-150ecfb6.entry.js +1 -0
  103. package/dist/lmvz-components/p-22f67eff.entry.js +1 -0
  104. package/dist/lmvz-components/p-4530f088.entry.js +1 -0
  105. package/dist/lmvz-components/p-47d7ed0e.entry.js +1 -0
  106. package/dist/lmvz-components/p-5c3f1404.entry.js +1 -0
  107. package/dist/lmvz-components/p-8d51e396.entry.js +1 -0
  108. package/dist/lmvz-components/p-9SROYpxM.js +1 -0
  109. package/dist/lmvz-components/p-BfTCfPZ1.js +6 -0
  110. package/dist/lmvz-components/p-Bx29-tJt.js +1 -0
  111. package/dist/lmvz-components/p-CN0JX9-m.js +1 -0
  112. package/dist/lmvz-components/p-CQb-mBBB.js +2 -0
  113. package/dist/lmvz-components/p-Cp76bcGb.js +1 -0
  114. package/dist/lmvz-components/p-Cp7cp10e.js +12 -0
  115. package/dist/lmvz-components/p-DIrAQ4IB.js +1 -0
  116. package/dist/lmvz-components/p-DQuL1Twl.js +1 -2
  117. package/dist/lmvz-components/p-DyO6wO4l.js +1 -0
  118. package/dist/lmvz-components/p-b8926640.entry.js +1 -0
  119. package/dist/lmvz-components/p-b9d1953f.entry.js +1 -0
  120. package/dist/lmvz-components/p-d9c3f542.entry.js +1 -0
  121. package/dist/lmvz-components/p-i2508Ct1.js +1 -0
  122. package/dist/manifest.json +11 -47
  123. package/dist/stencil.config.base.js +0 -1
  124. package/dist/stencil.config.dev.js +0 -1
  125. package/dist/stencil.config.integration.js +0 -1
  126. package/dist/stencil.config.js +0 -1
  127. package/dist/stencil.config.prod.js +0 -1
  128. package/dist/types/components.d.ts +0 -18
  129. package/hydrate/index.js +11 -11
  130. package/hydrate/index.mjs +11 -11
  131. package/package.json +4 -4
  132. package/readme.md +1 -1
  133. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  134. package/dist/cjs/assets-XY-cBmal.js.map +0 -1
  135. package/dist/cjs/header-integration_7.cjs.entry.js +0 -1024
  136. package/dist/cjs/header-integration_7.cjs.entry.js.map +0 -1
  137. package/dist/cjs/icons-BOM23oli.js.map +0 -1
  138. package/dist/cjs/index-B1Puzu82.js.map +0 -1
  139. package/dist/cjs/index-ww_DCXU7.js.map +0 -1
  140. package/dist/cjs/index.cjs.js.map +0 -1
  141. package/dist/cjs/lmvz-action.cjs.entry.js.map +0 -1
  142. package/dist/cjs/lmvz-card.cjs.entry.js.map +0 -1
  143. package/dist/cjs/lmvz-chip.cjs.entry.js.map +0 -1
  144. package/dist/cjs/lmvz-components.cjs.js.map +0 -1
  145. package/dist/cjs/loader.cjs.js.map +0 -1
  146. package/dist/collection/api/ds.constants.js.map +0 -1
  147. package/dist/collection/api/index.js.map +0 -1
  148. package/dist/collection/components/lmvz-action/lmvz-action.js.map +0 -1
  149. package/dist/collection/components/lmvz-button/lmvz-button.js.map +0 -1
  150. package/dist/collection/components/lmvz-card/lmvz-card.js.map +0 -1
  151. package/dist/collection/components/lmvz-chip/lmvz-chip.js.map +0 -1
  152. package/dist/collection/components/lmvz-header/lmvz-header.js.map +0 -1
  153. package/dist/collection/components/lmvz-icon/icons.js.map +0 -1
  154. package/dist/collection/components/lmvz-icon/lmvz-icon.js.map +0 -1
  155. package/dist/collection/components/lmvz-icon/public.js.map +0 -1
  156. package/dist/collection/components/lmvz-icon/test/icons.unit.js.map +0 -1
  157. package/dist/collection/components/lmvz-input/lmvz-input.js.map +0 -1
  158. package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.js.map +0 -1
  159. package/dist/collection/components/lmvz-select/lmvz-select.js.map +0 -1
  160. package/dist/collection/index.js.map +0 -1
  161. package/dist/collection/integration/header-integration.js.map +0 -1
  162. package/dist/collection/utils/aria/aria-validation-controller.js.map +0 -1
  163. package/dist/collection/utils/aria/element-activation-controller.js.map +0 -1
  164. package/dist/collection/utils/aria/list-keyboard-controller.js.map +0 -1
  165. package/dist/collection/utils/assets.js.map +0 -1
  166. package/dist/collection/utils/component.js.map +0 -1
  167. package/dist/collection/utils/effect.js.map +0 -1
  168. package/dist/collection/utils/environment.js.map +0 -1
  169. package/dist/collection/utils/http.js.map +0 -1
  170. package/dist/collection/utils/http.unit.js.map +0 -1
  171. package/dist/collection/utils/public.js.map +0 -1
  172. package/dist/collection/utils/reactive-controller-host.js.map +0 -1
  173. package/dist/collection/utils/validation/svg.js.map +0 -1
  174. package/dist/components/header-integration.d.ts +0 -11
  175. package/dist/components/header-integration.js +0 -2
  176. package/dist/components/header-integration.js.map +0 -1
  177. package/dist/components/index.js.map +0 -1
  178. package/dist/components/lmvz-action.js.map +0 -1
  179. package/dist/components/lmvz-button.js.map +0 -1
  180. package/dist/components/lmvz-card.js.map +0 -1
  181. package/dist/components/lmvz-chip.js.map +0 -1
  182. package/dist/components/lmvz-header.js.map +0 -1
  183. package/dist/components/lmvz-icon.js.map +0 -1
  184. package/dist/components/lmvz-input.js.map +0 -1
  185. package/dist/components/lmvz-menuitem.js.map +0 -1
  186. package/dist/components/lmvz-select.js.map +0 -1
  187. package/dist/components/p-B2g3aN-E.js +0 -2
  188. package/dist/components/p-B2g3aN-E.js.map +0 -1
  189. package/dist/components/p-BXdOuZTp.js +0 -2
  190. package/dist/components/p-BXdOuZTp.js.map +0 -1
  191. package/dist/components/p-BfTCfPZ1.js.map +0 -1
  192. package/dist/components/p-BpCjj39Z.js +0 -2
  193. package/dist/components/p-BpCjj39Z.js.map +0 -1
  194. package/dist/components/p-BsHYIl56.js.map +0 -1
  195. package/dist/components/p-C5rqq3bf.js +0 -2
  196. package/dist/components/p-C5rqq3bf.js.map +0 -1
  197. package/dist/components/p-CI0tffvo.js +0 -2
  198. package/dist/components/p-CI0tffvo.js.map +0 -1
  199. package/dist/components/p-CN0JX9-m.js.map +0 -1
  200. package/dist/components/p-ClmDNIy4.js +0 -2
  201. package/dist/components/p-ClmDNIy4.js.map +0 -1
  202. package/dist/components/p-DQEkWkMh.js.map +0 -1
  203. package/dist/components/p-X5fEFT9T.js +0 -2
  204. package/dist/components/p-X5fEFT9T.js.map +0 -1
  205. package/dist/components/p-vIq2biqy.js.map +0 -1
  206. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  207. package/dist/esm/assets-BD98wsl7.js.map +0 -1
  208. package/dist/esm/header-integration_7.entry.js +0 -1016
  209. package/dist/esm/header-integration_7.entry.js.map +0 -1
  210. package/dist/esm/icons-D1lxdRXP.js.map +0 -1
  211. package/dist/esm/index-DoNkkDv1.js.map +0 -1
  212. package/dist/esm/index-WeqgWisK.js.map +0 -1
  213. package/dist/esm/index.js.map +0 -1
  214. package/dist/esm/lmvz-action.entry.js.map +0 -1
  215. package/dist/esm/lmvz-card.entry.js.map +0 -1
  216. package/dist/esm/lmvz-chip.entry.js.map +0 -1
  217. package/dist/esm/lmvz-components.js.map +0 -1
  218. package/dist/esm/loader.js.map +0 -1
  219. package/dist/lmvz-components/index.esm.js.map +0 -1
  220. package/dist/lmvz-components/lmvz-components.esm.js.map +0 -1
  221. package/dist/lmvz-components/p-33485219.entry.js +0 -2
  222. package/dist/lmvz-components/p-33485219.entry.js.map +0 -1
  223. package/dist/lmvz-components/p-76032c32.entry.js +0 -2
  224. package/dist/lmvz-components/p-76032c32.entry.js.map +0 -1
  225. package/dist/lmvz-components/p-7aeec9a8.entry.js +0 -7
  226. package/dist/lmvz-components/p-7aeec9a8.entry.js.map +0 -1
  227. package/dist/lmvz-components/p-84e0a9dd.entry.js +0 -2
  228. package/dist/lmvz-components/p-84e0a9dd.entry.js.map +0 -1
  229. package/dist/lmvz-components/p-CkJb8WVZ.js +0 -2
  230. package/dist/lmvz-components/p-CkJb8WVZ.js.map +0 -1
  231. package/dist/lmvz-components/p-DQuL1Twl.js.map +0 -1
  232. package/dist/lmvz-components/p-WeqgWisK.js +0 -3
  233. package/dist/lmvz-components/p-WeqgWisK.js.map +0 -1
  234. package/dist/lmvz-components/p-Z9X0_ik0.js +0 -2
  235. package/dist/lmvz-components/p-Z9X0_ik0.js.map +0 -1
  236. package/dist/lmvz-components/p-eP0oxQ44.js +0 -13
  237. package/dist/lmvz-components/p-eP0oxQ44.js.map +0 -1
  238. package/dist/stencil.config.base.js.map +0 -1
  239. package/dist/stencil.config.dev.js.map +0 -1
  240. package/dist/stencil.config.integration.js.map +0 -1
  241. package/dist/stencil.config.js.map +0 -1
  242. package/dist/stencil.config.prod.js.map +0 -1
  243. package/dist/types/integration/header-integration.d.ts +0 -5
  244. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.base.d.ts +0 -0
  245. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.d.ts +0 -0
  246. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.dev.d.ts +0 -0
  247. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.integration.d.ts +0 -0
  248. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
@@ -19,7 +19,7 @@ export class LmvzCard {
19
19
  const imgStyle = {
20
20
  backgroundImage: `url(${this.imageUrl ?? this.fallbackImage})`,
21
21
  };
22
- return (h(Host, { key: '46c2832b4f90b9eb222749632bc7ad59cd645e10', role: "article" }, h("div", { key: 'cc387fe96cff2dd04c24f75cf838a2bf6f438279', class: "top" }, h("div", { key: 'f9a54a5f81378ef4265e1d74c36c78af002e8874', class: "image-wrapper", style: imgStyle }, h("div", { key: '76daed00408f7ae9ee46977637ddcd3d4f846380', class: "chip-slot" }, h("slot", { key: '6ad522ef7428166b876d0218ef8d801c4ef337f1', name: "chip" })))), h("div", { key: '9c9799668ac199cfecbe10061e271d70d70e2d07', class: "bottom" }, h("header", { key: '1bec743235bea5c7ab163225ffbd7bc6cf11f754' }, h("h2", { key: '06f8e14153328bc5ca920e71e09d9343047c440c', class: "title" }, this.cardTitle)), h("p", { key: '86b95db4e6464ca3236b4a03798013c3580819bf', class: "description" }, this.description), h("div", { key: '553dc998d5318a4730196baa0b9baff3a0a3369f', class: "actions" }, h("button", { key: '7532d01b46769198c23a1b1015c187fdefce146a', class: "primary", onClick: this._onPrimaryClick.bind(this), "data-testid": "primary" }, this.primaryActionLabel), h("button", { key: '633d679ae59b1896aa2a06e04b4564569cf27a7d', class: "tertiary", "aria-label": "More actions", onClick: this._onOverflowClick }, h("span", { key: 'b72c45f93d259502b9d7c5ffb19e292a53c60ec6', class: "icon-placeholder" }, "..."))))));
22
+ return (h(Host, { key: 'fceb19eb0d7ad6c6aecfa6fbd5bb6425c7c3e312', role: "article" }, h("div", { key: '4cb516b5dee1f2f84f21984fa350f61fd83c771c', class: "top" }, h("div", { key: '713b2a3245d885a9b99f6c7d54a35053699c1be8', class: "image-wrapper", style: imgStyle }, h("div", { key: 'e8ea65e7f5d11a2335cab950d6bf02208d0b18a1', class: "chip-slot" }, h("slot", { key: 'e9a039742107fdf56216186ddcdf367c4432790b', name: "chip" })))), h("div", { key: '9549e46a1872e0edf298b79435d298aa1ae96a37', class: "bottom" }, h("header", { key: '3bbfb72ecec519d16380ae7e00da4b1ccb6f1cf3' }, h("h2", { key: 'f5a33e498893e61b407c10ab36c9a93b7eecf9f1', class: "title" }, this.cardTitle)), h("p", { key: '19709bb100d014369c836a5a7174772f2d095d2e', class: "description" }, this.description), h("div", { key: '06b5acab3c80cc91865f3aa39da32d42f470348e', class: "actions" }, h("button", { key: '4e954452ac9771359c881aa6b43f11e89e38aecf', class: "primary", onClick: this._onPrimaryClick.bind(this), "data-testid": "primary" }, this.primaryActionLabel), h("button", { key: 'b6a682bf95eb26468c450bed494290565288a515', class: "tertiary", "aria-label": "More actions", onClick: this._onOverflowClick }, h("span", { key: '70a526d1fafd8b7051f6e7107b35d6f594e10d68', class: "icon-placeholder" }, "..."))))));
23
23
  }
24
24
  static get is() { return "lmvz-card"; }
25
25
  static get encapsulation() { return "scoped"; }
@@ -139,4 +139,3 @@ export class LmvzCard {
139
139
  }];
140
140
  }
141
141
  }
142
- //# sourceMappingURL=lmvz-card.js.map
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  export class LmvzChip {
3
3
  text;
4
4
  render() {
5
- return h(Host, { key: 'd128e24bb90891ebd13d13a8e27c06782363cace' }, this.text);
5
+ return h(Host, { key: '134d510fe3a04b989b0005bf31358149a9661cb2' }, this.text);
6
6
  }
7
7
  static get is() { return "lmvz-chip"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -40,4 +40,3 @@ export class LmvzChip {
40
40
  };
41
41
  }
42
42
  }
43
- //# sourceMappingURL=lmvz-chip.js.map
@@ -84,7 +84,7 @@ export class LmvzHeader extends ReactiveControllerHost {
84
84
  }
85
85
  }
86
86
  render() {
87
- return (h(Host, { key: '35883b5d4a92d10b5b010d822fb2233604464f9b', onFocus: this.delegateFocus.bind(this) }, h("div", { key: '6fdec3af75bab2b076651b8cfef4aec8e23326a6', class: "brand" }, h("slot", { key: '3127b4223b8bebfe425efc7ce45626f37fbf76b9', name: "brand" }, h("img", { key: '20b3dd598e320c6950fb08bbd55dd80c47552eaf', id: "fallback-logo-lmvz", src: logo, alt: "Lehrmittelverlag Z\u00FCrich" }))), h("nav", { key: 'c3bf07f78930085c1a7b89421506bcd41d139911', "aria-label": "Hauptnavigation" }, h("div", { key: 'fbc5199080f52da4f10c8c14fbbc0877ecc5f31c', role: "menubar", class: "primary-menubar" }, h("slot", { key: '4210d213dcf7a1a27a73f2a9cf7ff97fec62f0db', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), h("div", { key: '7b91c269f75e1245f75d471ec5bb7eeabfe1094d', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, h("slot", { key: 'e23eb0f222b49d912bb45870df6d9b0d01f43788', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), h("div", { key: '4b19026d5b2e54aa7aed072ce57de4acaa75cb4f', class: "actions" }, h("slot", { key: '8f02d5d178bb60b40604fcd1be74d373d89c911f', name: "actions" }))));
87
+ return (h(Host, { key: '3189d1bd21fb5bd8f30b27cbfb6e49648b0e70c4', onFocus: this.delegateFocus.bind(this) }, h("div", { key: '57c27e85c0d6292f0c39a850bad5d59de4cf8743', class: "brand" }, h("slot", { key: '13ea794d470861e25dc249c3174d2a5f2ba25096', name: "brand" }, h("img", { key: '37bea67eea1a2971a7502f6e9a5a2a28d3eec114', id: "fallback-logo-lmvz", src: logo, alt: "Lehrmittelverlag Z\u00FCrich" }))), h("nav", { key: '59b1679357cd4dbef737f90f4b4ff5c80a4efa06', "aria-label": "Hauptnavigation" }, h("div", { key: '51ce71eed0f31ef4dbfbeb72dffed87797462487', role: "menubar", class: "primary-menubar" }, h("slot", { key: 'ac3357828b95a5aa6261c611612fb76f55bf92ee', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), h("div", { key: 'b78f2ad43e03f40d65c69674b94a295e72366c8e', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, h("slot", { key: 'd2cc74ff24cf10f0f958cea986149f3f03054291', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), h("div", { key: 'cc6e0c0a32e51d3fa0d7f1865023f03434458217', class: "actions" }, h("slot", { key: '8504df5d1970ac856a237cbb0dcce5a2707b7cab', name: "actions" }))));
88
88
  }
89
89
  static get is() { return "lmvz-header"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -149,4 +149,3 @@ export class LmvzHeader extends ReactiveControllerHost {
149
149
  }];
150
150
  }
151
151
  }
152
- //# sourceMappingURL=lmvz-header.js.map
@@ -34,4 +34,3 @@ export function clearIconCache() {
34
34
  }
35
35
  });
36
36
  }
37
- //# sourceMappingURL=icons.js.map
@@ -48,7 +48,7 @@ export class LmvzIcon extends ReactiveControllerHost {
48
48
  super.componentDidRender();
49
49
  }
50
50
  render() {
51
- return h(Host, { key: 'f5c2f8025d0e9598d903e72770ebca6cad01961c', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
51
+ return h(Host, { key: '4ce6e3931a1c8bfa1ddd48c780d005d110902b19', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
52
52
  }
53
53
  waitUntilVisible(callback, rootMargin = 50) {
54
54
  if (!Build.isBrowser || typeof window === 'undefined' || !window.IntersectionObserver) {
@@ -198,4 +198,3 @@ export class LmvzIcon extends ReactiveControllerHost {
198
198
  }];
199
199
  }
200
200
  }
201
- //# sourceMappingURL=lmvz-icon.js.map
@@ -1,2 +1 @@
1
1
  export { clearIconCache } from './icons';
2
- //# sourceMappingURL=public.js.map
@@ -96,4 +96,3 @@ describe('icon utils:', () => {
96
96
  expect(fetchMock).toHaveBeenCalledTimes(1);
97
97
  });
98
98
  });
99
- //# sourceMappingURL=icons.unit.js.map
@@ -1,29 +1,7 @@
1
1
 
2
- @layer /** */
3
- /**
4
- * reset: CSS resets for browser defaults or expectedly problematic 3rd party libraries
5
- */
6
- lmvz-ds.reset,
7
-
8
- /**
9
- * theme: tokens, typography, etc.
10
- */
11
- lmvz-ds.theme,
12
-
13
- /**
14
- * components: overrides for UI components and CSS-only component implementation
15
- * Design System components should append their styles into this layer at definition!
16
- */
17
- lmvz-ds.components,
18
-
19
- /**
20
- * overrides: utility classes, helpers, product- or application-specific styles.
21
- * Usually, you do not want to add DS util styles to a layer directly.
22
- * Only place those styles here, that are being exported as part of a theme.
23
- */
24
- lmvz-ds.overrides;
2
+ @layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides;
25
3
  /**
26
- * This defines the order of our lmvz-ds' CSS layers.
4
+ * This defines the order of our lmvz-ds' CSS layers. See readme.md for details.
27
5
  * Important: Always import this file _before_ layering your own styles!
28
6
  */
29
7
  @layer lmvz-ds.theme {
@@ -150,9 +150,9 @@ export class LmvzInput extends ReactiveControllerHost {
150
150
  render() {
151
151
  const hasValue = Boolean(this.value);
152
152
  const shouldFloatLabel = hasValue || Boolean(this.placeholder);
153
- return (h("div", { key: '195e2c5046d48d01f4912993bde3c8d2b3a73d1d', class: classNames('input-container', {
153
+ return (h("div", { key: '97674bbf9a17f1533340f19f0643bc8695417da6', class: classNames('input-container', {
154
154
  'interaction-filled': hasValue,
155
- }) }, h("div", { key: '66bc3deab063a309eefc0de5ebf7f54331c9190c', class: "input-wrapper" }, h("slot", { key: 'fac318070421d526bb09ba0dd0efdecf8964d952', name: "before-input" }), h("div", { key: '1945152dc010d571c5886f222332b057e89e496c', class: "label-input-group" }, h("label", { key: 'd57392c2c83b1e5f362dd33fa9d060e570417f3f', htmlFor: this.inputId, class: classNames({ floating: shouldFloatLabel }) }, this.label, this.required && (h("span", { key: '507603a50eb08f0f4f5e2b87b2550fe6b657c4d4', class: "required-indicator", "aria-hidden": "true" }, ' ', "*"))), h("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 })), h("slot", { key: 'b415bedde58862e5bd7621f73a1d77bc478850a3', name: "after-input" })), h("div", { key: 'bc0e07f5243417f4c632eb2f7976dc944fdbf17a', id: this.helperId, role: "status" }, this.helperText || null), h("div", { key: '62e2267453b92edd47077b233cb231a1deecedc4', id: this.errorId, role: "alert" }, (this.showErrorMessage && this.errorMessage) || null)));
155
+ }) }, h("div", { key: '51aee84c821a5ad8884981bae3c42d0ed29a1fc5', class: "input-wrapper" }, h("slot", { key: '589b38e7977f74f7037a71b6b530ea98750f3bee', name: "before-input" }), h("div", { key: 'f5856cfc71ceb9093ceaa1b60bb6f4d964dadc7f', class: "label-input-group" }, h("label", { key: 'fbd6bb71131cf7384a79ba6f4f606c430e326bef', htmlFor: this.inputId, class: classNames({ floating: shouldFloatLabel }) }, this.label, this.required && (h("span", { key: 'd479254f9ac11a31278720d41e56db1300c06b15', class: "required-indicator", "aria-hidden": "true" }, ' ', "*"))), h("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 })), h("slot", { key: 'a21d46103f1b0040e67e20b4faf016a2b2fdd4dc', name: "after-input" })), h("div", { key: '53adfecb08ab29d1636052061dc37dffcd697ab2', id: this.helperId, role: "status" }, this.helperText || null), h("div", { key: 'ea3406ebd72ef02a0f293ab01cf4cf9971687b30', id: this.errorId, role: "alert" }, (this.showErrorMessage && this.errorMessage) || null)));
156
156
  }
157
157
  static get is() { return "lmvz-input"; }
158
158
  static get encapsulation() { return "scoped"; }
@@ -853,4 +853,3 @@ export class LmvzInput extends ReactiveControllerHost {
853
853
  }
854
854
  static get attachInternalsMemberName() { return "internals"; }
855
855
  }
856
- //# sourceMappingURL=lmvz-input.js.map
@@ -1,29 +1,7 @@
1
1
 
2
- @layer /** */
3
- /**
4
- * reset: CSS resets for browser defaults or expectedly problematic 3rd party libraries
5
- */
6
- lmvz-ds.reset,
7
-
8
- /**
9
- * theme: tokens, typography, etc.
10
- */
11
- lmvz-ds.theme,
12
-
13
- /**
14
- * components: overrides for UI components and CSS-only component implementation
15
- * Design System components should append their styles into this layer at definition!
16
- */
17
- lmvz-ds.components,
18
-
19
- /**
20
- * overrides: utility classes, helpers, product- or application-specific styles.
21
- * Usually, you do not want to add DS util styles to a layer directly.
22
- * Only place those styles here, that are being exported as part of a theme.
23
- */
24
- lmvz-ds.overrides;
2
+ @layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides;
25
3
  /**
26
- * This defines the order of our lmvz-ds' CSS layers.
4
+ * This defines the order of our lmvz-ds' CSS layers. See readme.md for details.
27
5
  * Important: Always import this file _before_ layering your own styles!
28
6
  */
29
7
  @layer lmvz-ds.theme {
@@ -21,7 +21,7 @@ export class LmvzMenuItem extends ReactiveControllerHost {
21
21
  this.addController(new ElementActivationController(this));
22
22
  }
23
23
  render() {
24
- return (h(Host, { key: '1a37d2873a29c713cf95c60070c8dcf045c9f8fc' }, h("slot", { key: 'c6578bcfdb9f0cebad095d80f0ed63cf663bf91e', ref: (e) => (this.validationSlot = e) })));
24
+ return (h(Host, { key: '510ac59b18468ce9c65b866ae2767185f1b3da92' }, h("slot", { key: '7e032e0dab83f9bfbaa96ad2b78d8a5a58f978ab', ref: (e) => (this.validationSlot = e) })));
25
25
  }
26
26
  static get is() { return "lmvz-menuitem"; }
27
27
  static get encapsulation() { return "scoped"; }
@@ -99,4 +99,3 @@ export class LmvzMenuItem extends ReactiveControllerHost {
99
99
  }
100
100
  static get elementRef() { return "el"; }
101
101
  }
102
- //# sourceMappingURL=lmvz-menuitem.js.map
@@ -1,29 +1,7 @@
1
1
 
2
- @layer /** */
3
- /**
4
- * reset: CSS resets for browser defaults or expectedly problematic 3rd party libraries
5
- */
6
- lmvz-ds.reset,
7
-
8
- /**
9
- * theme: tokens, typography, etc.
10
- */
11
- lmvz-ds.theme,
12
-
13
- /**
14
- * components: overrides for UI components and CSS-only component implementation
15
- * Design System components should append their styles into this layer at definition!
16
- */
17
- lmvz-ds.components,
18
-
19
- /**
20
- * overrides: utility classes, helpers, product- or application-specific styles.
21
- * Usually, you do not want to add DS util styles to a layer directly.
22
- * Only place those styles here, that are being exported as part of a theme.
23
- */
24
- lmvz-ds.overrides;
2
+ @layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides;
25
3
  /**
26
- * This defines the order of our lmvz-ds' CSS layers.
4
+ * This defines the order of our lmvz-ds' CSS layers. See readme.md for details.
27
5
  * Important: Always import this file _before_ layering your own styles!
28
6
  */
29
7
  @layer lmvz-ds.theme {
@@ -50,7 +50,7 @@ export class LmvzSelect extends ReactiveControllerHost {
50
50
  render() {
51
51
  const hasValue = this.hasValue;
52
52
  const shouldShowLabel = hasValue;
53
- return (h(Host, { key: '7d1abb943f79e90451b43c9221801b80a2f61346' }, h("div", { key: 'ded3e45246ab38e89d444c59239cdc63a2c4d4fc', class: "select-wrapper" }, h("label", { key: 'cb68ff79976c2fb55d4cc827f9e90ba2597a8a43', htmlFor: this.selectId, class: shouldShowLabel ? 'floating-label' : 'assistive-label' }, this.label, this.required && shouldShowLabel && h("span", { key: 'ab77eaea1645b95d90f00ffb609bbd7a1704f7bc', "aria-hidden": "true" }, " *")), h("div", { key: '45cee00478a6cc31c10dddf69d8e6687fc8f440d', "aria-hidden": "true" }, h("span", { key: '0c5d425ea8843234aa6abd94a207377e2a675686' }, hasValue ? this.selectedLabel : this.label, this.required && !hasValue && h("span", { key: 'ebef5322371ee0253b50dd801b80cbb6402c067a', "aria-hidden": "true" }, " *")), h("span", { key: 'a12d31dc29563444f728133f181b48914d31705b' }, h("img", { key: 'dd3f175d1ca2b9ccc6c2bfa2075e5da62016a896', src: chevronDownSvg, alt: "" }))), h("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 && h("option", { key: '536cc559def0e9ffa4b2150693ece9a597c238d1', value: "", disabled: true, selected: true, hidden: true }), h("slot", { key: 'ad9fed96b9f8c1d8257511bb1d5ab5ee756973ce' }))), this.helperText && h("div", { key: '4723b44d781c900be5aae7ece2a0be04b6c744b9', role: "status" }, this.helperText)));
53
+ return (h(Host, { key: '7f4650d5971bb93dba48385df734e6b7a0b4f7eb' }, h("div", { key: '79d6234cd15f64c8bff787d715107e7e86145333', class: "select-wrapper" }, h("label", { key: '14d93469c6d309b68427ff7bfc2bd531c8f0ecf6', htmlFor: this.selectId, class: shouldShowLabel ? 'floating-label' : 'assistive-label' }, this.label, this.required && shouldShowLabel && h("span", { key: 'c8be809e09d768d6f73ccccdfbf0bf495869ac72', "aria-hidden": "true" }, " *")), h("div", { key: '1db5d44b44100342a4ca5feff648b61a0bdadb1a', "aria-hidden": "true" }, h("span", { key: '3fdc95aab9997a10f4ba42dabc3758aea0797a22' }, hasValue ? this.selectedLabel : this.label, this.required && !hasValue && h("span", { key: '11aef8194551059130b6be5351587219a1e80f00', "aria-hidden": "true" }, " *")), h("span", { key: '8fc52ff3e46d7b52d8d5069a74ebf7bb0d981081' }, h("img", { key: '129dd4038772eba9313e1e322866c70408f4e2ad', src: chevronDownSvg, alt: "" }))), h("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 && h("option", { key: '70d660e0bc7e4c127234ce77decf35d6fea7fe8d', value: "", disabled: true, selected: true, hidden: true }), h("slot", { key: 'e6cbc238c9c0cf8e8c31d0347a1f621272a94ca6' }))), this.helperText && h("div", { key: '432d405ee7338da46509ff207599b882a19ea44e', role: "status" }, this.helperText)));
54
54
  }
55
55
  static get is() { return "lmvz-select"; }
56
56
  static get encapsulation() { return "scoped"; }
@@ -221,4 +221,3 @@ export class LmvzSelect extends ReactiveControllerHost {
221
221
  }];
222
222
  }
223
223
  }
224
- //# sourceMappingURL=lmvz-select.js.map
@@ -2,4 +2,3 @@ export * from '@lmvz-ds/aria-validation';
2
2
  export * from './api';
3
3
  export * from './components/lmvz-icon/public';
4
4
  export * from './utils/public';
5
- //# sourceMappingURL=index.js.map
@@ -15,7 +15,7 @@ export class HeaderIntegration {
15
15
  this.activeNav = navId;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'c70b22cccc010b6a18ec6003e31b9fb905cd669e' }, h("lmvz-header", { key: 'bf4f3a9c603dcfeee519dc1e78d8e9cd6e836f98', lmvzActiveNav: this.activeNav }, h("lmvz-menuitem", { key: '64f3b9e2a6d5bb7feab15169d0de61e64a4002f1', slot: "nav-primary", id: "lehrmittel", onLmvzActivation: this.activate.bind(this) }, h("a", { key: '2af5799904621d8b48640694a16f3858b0a5ccf9', href: "#" }, "Lehrmittel")), h("lmvz-menuitem", { key: '54ed8090f68463bea9a18b290b1a1e707259119f', slot: "nav-primary", id: "verwaltung", onLmvzActivation: this.activate.bind(this) }, h("a", { key: '98b8d121e0fca6b0630bc664cbfeb9307ce5b7e5', href: "#" }, "Verwaltung")), h("lmvz-menuitem", { key: 'c656b1a95940f1e14cf905a20c4679e92ca456ee', slot: "connect-nav-lehrmittel" }, h("lmvz-icon", { key: 'd9d16fe6d1d0ac183724881f7f1b41ce04f3c607', icon: "book" }), "Deutsch 7"), h("lmvz-menuitem", { key: '7aaf7887accf7fc388fe425718bdf2f703686f98', slot: "connect-nav-lehrmittel" }, h("lmvz-icon", { key: 'e2791405657a2de9527057f6c6767260cd9d21af', icon: "book" }), "Mathe 2"), h("lmvz-menuitem", { key: 'c99fd516f891ae6bd6a76c92e504cf17ec3c0820', slot: "connect-nav-verwaltung" }, h("lmvz-icon", { key: '78d9563d8c9a78f6b7bee0ad79ac0c51d8575790', icon: "cog" }), "iwas mit Verwaltung"), h("lmvz-menuitem", { key: '225f8207ee869d5e37bb9d6dbd7881a6fe636637', slot: "connect-nav-verwaltung", "aria-label": "Einstellungen" }, h("lmvz-icon", { key: '0d89fcb8bfbb3918ff14d783cfc087c658df151a', icon: "cog" })), h("lmvz-button", { key: '2637addd2ee7158087d6ab50808e6f900acabbf2', slot: "actions", "aria-label": "Benutzerkonto" }, h("lmvz-icon", { key: 'c927e171d6f29474f18e2c222fff50c4947a0b3b', icon: "user" })))));
18
+ return (h(Host, { key: '49a11965353d51e7bf1daa8c6618a41a84deb31e' }, h("lmvz-header", { key: 'f7e9c080e72b2248531d4ac713088dafc6002077', lmvzActiveNav: this.activeNav }, h("lmvz-menuitem", { key: 'aaa95896eedfe3976a1fbb706302812472524af9', slot: "nav-primary", id: "lehrmittel", onLmvzActivation: this.activate.bind(this) }, h("a", { key: '35c6edf7e3d711cbede8bdfd662e936fc2435446', href: "#" }, "Lehrmittel")), h("lmvz-menuitem", { key: 'd08c42441aab3d9a9215f3e7d96268fc5b10cca1', slot: "nav-primary", id: "verwaltung", onLmvzActivation: this.activate.bind(this) }, h("a", { key: 'b943b95457b7300a62dc6dde15a0ffb9f97773ee', href: "#" }, "Verwaltung")), h("lmvz-menuitem", { key: 'c23b2fd3b4bdf1a646d70ee3ce3f627ec7fe483c', slot: "connect-nav-lehrmittel" }, h("lmvz-icon", { key: '603726f06b0ba849644eb2494c2c34bb738be447', icon: "book" }), "Deutsch 7"), h("lmvz-menuitem", { key: '2a454236e5e73b862519ffda68208e42e33502cf', slot: "connect-nav-lehrmittel" }, h("lmvz-icon", { key: 'cb0b31a944e145439f516c8524de22afce796de4', icon: "book" }), "Mathe 2"), h("lmvz-menuitem", { key: '5de7982c6fb9f47fd6b93e4b38f5899eb856e91f', slot: "connect-nav-verwaltung" }, h("lmvz-icon", { key: 'f226b81bbd3f3cbd1af5225c6699a455a68a8b98', icon: "cog" }), "iwas mit Verwaltung"), h("lmvz-menuitem", { key: 'd54b8c63988c2e7e778911a11aada85d2ccddb26', slot: "connect-nav-verwaltung", "aria-label": "Einstellungen" }, h("lmvz-icon", { key: 'd12d9ec1c50d04716e7adde43ab015349bc7a1a8', icon: "cog" })), h("lmvz-button", { key: '8fa8ae71865c778c4985d4b374358042942a8711', slot: "actions", "aria-label": "Benutzerkonto" }, h("lmvz-icon", { key: '699b6c6122b66ee53d60600b5ac9c15f414802cd', icon: "user" })))));
19
19
  }
20
20
  static get is() { return "header-integration"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -44,4 +44,3 @@ export class HeaderIntegration {
44
44
  };
45
45
  }
46
46
  }
47
- //# sourceMappingURL=header-integration.js.map
@@ -144,4 +144,3 @@ export class AriaValidationController {
144
144
  this.visibilityObserver = undefined;
145
145
  }
146
146
  }
147
- //# sourceMappingURL=aria-validation-controller.js.map
@@ -25,4 +25,3 @@ export class ElementActivationController {
25
25
  }
26
26
  };
27
27
  }
28
- //# sourceMappingURL=element-activation-controller.js.map
@@ -44,4 +44,3 @@ export class ListKeyboardNavigationController {
44
44
  return candidate;
45
45
  }
46
46
  }
47
- //# sourceMappingURL=list-keyboard-controller.js.map
@@ -15,4 +15,3 @@ export const createAssetUrlSafely = (file, pathFromAssetRoot) => {
15
15
  function joinPath(...parts) {
16
16
  return parts.filter(Boolean).join('/').replace('//', '/').replace('/./', '/');
17
17
  }
18
- //# sourceMappingURL=assets.js.map
@@ -268,4 +268,3 @@ export function findFormByRef(form, el) {
268
268
  }
269
269
  return el.closest('form');
270
270
  }
271
- //# sourceMappingURL=component.js.map
@@ -4,4 +4,3 @@ export function run(effect) {
4
4
  console.error('Unhandled error in Effect:', error);
5
5
  });
6
6
  }
7
- //# sourceMappingURL=effect.js.map
@@ -1,4 +1,3 @@
1
1
  export function getLocationBase() {
2
2
  return import.meta?.url ?? window?.location?.origin ?? '';
3
3
  }
4
- //# sourceMappingURL=environment.js.map
@@ -22,4 +22,3 @@ export const responseAsText = (res) => Effect.tryPromise({
22
22
  try: () => res.text(),
23
23
  catch: error => new ResponseTextError(error),
24
24
  });
25
- //# sourceMappingURL=http.js.map
@@ -45,4 +45,3 @@ describe('Http Utils', () => {
45
45
  });
46
46
  });
47
47
  });
48
- //# sourceMappingURL=http.unit.js.map
@@ -1,2 +1 @@
1
1
  export { run } from './effect';
2
- //# sourceMappingURL=public.js.map
@@ -37,4 +37,3 @@ export class ReactiveControllerHost {
37
37
  this.activeControllers.forEach(controller => controller.hostDidUpdate?.());
38
38
  }
39
39
  }
40
- //# sourceMappingURL=reactive-controller-host.js.map
@@ -22,4 +22,3 @@ function isValidSVG(svg) {
22
22
  return false;
23
23
  }
24
24
  }
25
- //# sourceMappingURL=svg.js.map
@@ -1,6 +1,4 @@
1
1
  /* LmvzComponents custom elements */
2
- export { HeaderIntegration as HeaderIntegration } from '../types/integration/header-integration';
3
- export { defineCustomElement as defineCustomElementHeaderIntegration } from './header-integration';
4
2
  export { LmvzAction as LmvzAction } from '../types/components/lmvz-action/lmvz-action';
5
3
  export { defineCustomElement as defineCustomElementLmvzAction } from './lmvz-action';
6
4
  export { LmvzButton as LmvzButton } from '../types/components/lmvz-button/lmvz-button';
@@ -1,2 +1 @@
1
- export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-C5rqq3bf.js";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-CI0tffvo.js";export{c as clearIconCache}from"./p-B2g3aN-E.js";import{r as t}from"./p-BsHYIl56.js";export{HeaderIntegration,defineCustomElement as defineCustomElementHeaderIntegration}from"./header-integration.js";export{LmvzAction,defineCustomElement as defineCustomElementLmvzAction}from"./lmvz-action.js";export{LmvzButton,defineCustomElement as defineCustomElementLmvzButton}from"./lmvz-button.js";export{LmvzCard,defineCustomElement as defineCustomElementLmvzCard}from"./lmvz-card.js";export{LmvzChip,defineCustomElement as defineCustomElementLmvzChip}from"./lmvz-chip.js";export{LmvzHeader,defineCustomElement as defineCustomElementLmvzHeader}from"./lmvz-header.js";export{LmvzIcon,defineCustomElement as defineCustomElementLmvzIcon}from"./lmvz-icon.js";export{LmvzInput,defineCustomElement as defineCustomElementLmvzInput}from"./lmvz-input.js";export{LmvzMenuitem,defineCustomElement as defineCustomElementLmvzMenuitem}from"./lmvz-menuitem.js";export{LmvzSelect,defineCustomElement as defineCustomElementLmvzSelect}from"./lmvz-select.js";const o=["primary","secondary","tertiary"];const n=["small","default","large"];const m=["xs","sm","md","lg"];const l=[...m,"xl"];const f=["text","email","password","tel","url","search","number"];const p=[...m,"inherit"];const v=["thin","medium","bold","filled"];const 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 C(e){return t(e).catch((e=>{console.error("Unhandled error in Effect:",e)}))}export{h as iconNames,p as iconSizes,v as iconWeights,f as inputTypes,C as run,n as scaleValues,m as sizes,l as textSizes,o as variants};
2
- //# sourceMappingURL=index.js.map
1
+ export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-CahBdGGN.js";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-GKEnURpp.js";export{LmvzIcon,c as clearIconCache,defineCustomElement as defineCustomElementLmvzIcon}from"./lmvz-icon.js";import{r as t}from"./p-BsHYIl56.js";export{LmvzAction,defineCustomElement as defineCustomElementLmvzAction}from"./lmvz-action.js";export{LmvzButton,defineCustomElement as defineCustomElementLmvzButton}from"./lmvz-button.js";export{LmvzCard,defineCustomElement as defineCustomElementLmvzCard}from"./lmvz-card.js";export{LmvzChip,defineCustomElement as defineCustomElementLmvzChip}from"./lmvz-chip.js";export{LmvzHeader,defineCustomElement as defineCustomElementLmvzHeader}from"./lmvz-header.js";export{LmvzInput,defineCustomElement as defineCustomElementLmvzInput}from"./lmvz-input.js";export{LmvzMenuitem,defineCustomElement as defineCustomElementLmvzMenuitem}from"./lmvz-menuitem.js";export{LmvzSelect,defineCustomElement as defineCustomElementLmvzSelect}from"./lmvz-select.js";const o=["primary","secondary","tertiary"],n=["small","default","large"],m=["xs","sm","md","lg"],l=[...m,"xl"],f=["text","email","password","tel","url","search","number"],p=[...m,"inherit"],v=["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 z(e){return t(e).catch((e=>{console.error("Unhandled error in Effect:",e)}))}export{h as iconNames,p as iconSizes,v as iconWeights,f as inputTypes,z as run,n as scaleValues,m as sizes,l as textSizes,o as variants}
@@ -1,2 +1 @@
1
- import{p as t,H as s,d as c,h as e,c as i,t as n}from"./p-C5rqq3bf.js";const o=()=>`:host{display:block}`;const a=t(class t extends s{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.actionClick=c(this,"actionClick")}actionClick;_onClick(t){this.actionClick.emit(t)}render(){return e(i,{key:"15c0f20e08cd5019abfd3bb71ec69d175dc5ba48",onClick:this._onClick.bind(this)},e("slot",{key:"f71a7853168d1b66b0a50b0f971d140385530ac3"}))}static get style(){return o()}},[257,"lmvz-action"]);function l(){if(typeof customElements==="undefined"){return}const t=["lmvz-action"];t.forEach((t=>{switch(t){case"lmvz-action":if(!customElements.get(n(t))){customElements.define(n(t),a)}break}}))}const r=a;const f=l;export{r as LmvzAction,f as defineCustomElement};
2
- //# sourceMappingURL=lmvz-action.js.map
1
+ import{p as t,H as s,c as e,h as c,d as i,t as o}from"./p-CahBdGGN.js";const n=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.actionClick=e(this,"actionClick")}actionClick;_onClick(t){this.actionClick.emit(t)}render(){return c(i,{key:"00da873d80f00dc57e5a0d60f2b58a6c505e41f1",onClick:this._onClick.bind(this)},c("slot",{key:"7938b5e172ef2b027180aac801b0d9962cd68fa5"}))}static get style(){return":host{display:block}"}},[257,"lmvz-action"]),a=n,l=function(){"undefined"!=typeof customElements&&["lmvz-action"].forEach((t=>{"lmvz-action"===t&&(customElements.get(o(t))||customElements.define(o(t),n))}))};export{a as LmvzAction,l as defineCustomElement}
@@ -1,2 +1 @@
1
- import{L as o,d as s}from"./p-BpCjj39Z.js";const p=o;const t=s;export{p as LmvzButton,t as defineCustomElement};
2
- //# sourceMappingURL=lmvz-button.js.map
1
+ import{p as t,c as o,h as e,d as r,t as n}from"./p-CahBdGGN.js";import{c as a}from"./p-BfTCfPZ1.js";import{R as l,a as m}from"./p-GKEnURpp.js";import{E as i}from"./p-CN0JX9-m.js";import{i as s,f as d}from"./p-DQEkWkMh.js";const c=t(class extends l{get el(){return this}validationEl;inheritedAttributes={};formEl=null;formButtonEl=null;lmvzActivation;get ti(){return 0}scale="default";variant="secondary";disabled=!1;type="button";form;constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.lmvzActivation=o(this,"lmvzActivation"),this.addController(new m(this)),this.addController(new i(this,{localHandler:this.handleClick.bind(this),keys:["Enter"]}))}connectedCallback(){this.inheritedAttributes=s(this.el),super.connectedCallback()}renderHiddenButton(){const t=this.formEl=d(this.form,this.el);if(!t)return;const{formButtonEl:o}=this;if(null!==o&&t.contains(o))return;const e=this.formButtonEl=document.createElement("button");e.type="submit",e.style.display="none",e.disabled=this.disabled,t.appendChild(e)}submitForm(t){this.formEl&&this.formButtonEl&&(t.preventDefault(),this.formButtonEl.click())}handleClick=t=>{"submit"===this.type&&this.submitForm(t)};render(){return this.renderHiddenButton(),e(r,{key:"9fb3bb6cc21e7d87fddb0313fd552e7070850881","aria-disabled":this.disabled?"true":null},e("button",{key:"906117a1bb57fcc7e66a79be73959331066886be",ref:t=>this.validationEl=t,disabled:this.disabled,class:a(this.variant,{[this.scale??""]:!!this.scale,disabled:this.disabled}),...this.inheritedAttributes},e("slot",{key:"7028560eef75c978bea0ba3931100d4a6816ba37"})))}static get delegatesFocus(){return!0}static get style(){return" @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; } } @layer lmvz-ds.reset { body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin: 0; } } :host { button { --lmvz-button-color: var(--lmvz-component-color, var(--lmvz-semantic-color-int-on-primary, #ffffff)); --lmvz-button-padding-inline: var(--lmvz-button-padding, var(--lmvz-component-input-md-padding-x, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-padding-block: var(--lmvz-button-padding, var(--lmvz-component-input-md-padding-y, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.4 Router); --lmvz-button-radius: var(--lmvz-component-input-radius-default, 999px); --lmvz-button-border-width: 0; --lmvz-button-border-color: transparent; --lmvz-button-background: var(--lmvz-semantic-color-int-primary, #000000); display: inline-flex; align-items: center; justify-content: center; gap: var(--lmvz-button-gap); padding-block: var(--lmvz-button-padding-block); padding-inline: var(--lmvz-button-padding-inline); border-radius: var(--lmvz-button-radius); border: var(--lmvz-button-border-width) solid var(--lmvz-button-border-color); background-color: var(--lmvz-button-background); color: var(--lmvz-button-color); cursor: pointer; font: var(--lmvz-button-font); text-align: center; text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; } button > * { font: inherit; color: inherit; } button:focus-visible { outline: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-status-selected, #f1f9fe); outline-offset: var(--lmvz-component-input-sm-padding-x, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); } button:is([disabled], .disabled) { cursor: not-allowed; pointer-events: none; opacity: var(--lmvz-component-input-disabled-opacity, 40%); } button:not([disabled]):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-primary-hover, #2e2e2e); } button:not([disabled]):active { --lmvz-button-background: var(--lmvz-semantic-color-int-primary-active, #545454); } button.secondary { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary, #f0f0f0); --lmvz-button-color: var(--lmvz-semantic-color-int-on-secondary, #000000); --lmvz-button-border-width: var(--lmvz-semantic-border-width-default, 1px); --lmvz-button-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0); } button.secondary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary-hover, #e0e0e0); --lmvz-button-border-color: var(--lmvz-semantic-color-border-hover, #c7c7c7); } button.secondary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary-active, #d4d4d4); --lmvz-button-border-color: var(--lmvz-semantic-color-border-active, #d4d4d4); } button.tertiary { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary, #ffffff); --lmvz-button-color: var(--lmvz-semantic-color-int-on-tertiary, #545454); } button.tertiary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary-hover, #f0f0f0); } button.tertiary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary-active, #e0e0e0); } button.small { --lmvz-button-padding-inline: var(--lmvz-component-input-sm-padding-x, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --lmvz-button-padding-block: var(--lmvz-component-input-sm-padding-y, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --lmvz-button-gap: var(--lmvz-component-input-sm-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.4 Router); } button.large { --lmvz-button-padding-inline: var(--lmvz-component-input-lg-padding-x, clamp(0.88rem, 0.78rem + 0.39vw, 1.25rem)); --lmvz-button-padding-block: var(--lmvz-component-input-lg-padding-y, clamp(0.88rem, 0.78rem + 0.39vw, 1.25rem)); --lmvz-button-gap: var(--lmvz-component-input-lg-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.4 Router); } display: contents; } ::slotted(*) { --lmvz-component-color: var(--lmvz-button-color); } "}},[785,"lmvz-button",{ti:[2562,"tabindex"],scale:[513],variant:[513],disabled:[516],type:[1],form:[1]}]),v=c,u=function(){"undefined"!=typeof customElements&&["lmvz-button"].forEach((t=>{"lmvz-button"===t&&(customElements.get(n(t))||customElements.define(n(t),c))}))};export{v as LmvzButton,u as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as e,H as r,d as t,h as o,c as a,t as n}from"./p-C5rqq3bf.js";import{c as m}from"./p-ClmDNIy4.js";const l=()=>`@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; } } @layer lmvz-ds.reset { body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin: 0; } } .sc-lmvz-card-h { button { --lmvz-button-color: var(--lmvz-component-color, var(--lmvz-semantic-color-int-on-primary, #ffffff)); --lmvz-button-padding-inline: var(--lmvz-button-padding, var(--lmvz-component-input-md-padding-x, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-padding-block: var(--lmvz-button-padding, var(--lmvz-component-input-md-padding-y, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.4 Router); --lmvz-button-radius: var(--lmvz-component-input-radius-default, 999px); --lmvz-button-border-width: 0; --lmvz-button-border-color: transparent; --lmvz-button-background: var(--lmvz-semantic-color-int-primary, #000000); display: inline-flex; align-items: center; justify-content: center; gap: var(--lmvz-button-gap); padding-block: var(--lmvz-button-padding-block); padding-inline: var(--lmvz-button-padding-inline); border-radius: var(--lmvz-button-radius); border: var(--lmvz-button-border-width) solid var(--lmvz-button-border-color); background-color: var(--lmvz-button-background); color: var(--lmvz-button-color); cursor: pointer; font: var(--lmvz-button-font); text-align: center; text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; } button > * { font: inherit; color: inherit; } button:focus-visible { outline: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-status-selected, #f1f9fe); outline-offset: var(--lmvz-component-input-sm-padding-x, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); } button:is([disabled], .disabled) { cursor: not-allowed; pointer-events: none; opacity: var(--lmvz-component-input-disabled-opacity, 40%); } button:not([disabled]):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-primary-hover, #2e2e2e); } button:not([disabled]):active { --lmvz-button-background: var(--lmvz-semantic-color-int-primary-active, #545454); } button.secondary { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary, #f0f0f0); --lmvz-button-color: var(--lmvz-semantic-color-int-on-secondary, #000000); --lmvz-button-border-width: var(--lmvz-semantic-border-width-default, 1px); --lmvz-button-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0); } button.secondary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary-hover, #e0e0e0); --lmvz-button-border-color: var(--lmvz-semantic-color-border-hover, #c7c7c7); } button.secondary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary-active, #d4d4d4); --lmvz-button-border-color: var(--lmvz-semantic-color-border-active, #d4d4d4); } button.tertiary { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary, #ffffff); --lmvz-button-color: var(--lmvz-semantic-color-int-on-tertiary, #545454); } button.tertiary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary-hover, #f0f0f0); } button.tertiary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary-active, #e0e0e0); } button.small { --lmvz-button-padding-inline: var(--lmvz-component-input-sm-padding-x, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --lmvz-button-padding-block: var(--lmvz-component-input-sm-padding-y, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --lmvz-button-gap: var(--lmvz-component-input-sm-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.4 Router); } button.large { --lmvz-button-padding-inline: var(--lmvz-component-input-lg-padding-x, clamp(0.88rem, 0.78rem + 0.39vw, 1.25rem)); --lmvz-button-padding-block: var(--lmvz-component-input-lg-padding-y, clamp(0.88rem, 0.78rem + 0.39vw, 1.25rem)); --lmvz-button-gap: var(--lmvz-component-input-lg-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.4 Router); } display: flex; min-width: var(--lmvz-other-component-card-minwidth, 20.4375rem); max-width: var(--lmvz-other-component-card-maxwidth, 21.6875rem); flex-direction: column; align-items: flex-start; border-radius: var(--lmvz-semantic-border-radius-lg, 14px); border: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-default, #e0e0e0); background: var(--lmvz-semantic-color-surface-primary, #ffffff); } *.sc-lmvz-card { color: var(--lmvz-semantic-color-on-surface-primary, #000000); font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.4 Router); } .top.sc-lmvz-card { display: flex; padding: var(--lmvz-dimension-8-12, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); flex-direction: column; justify-content: center; align-items: center; align-self: stretch; } .bottom.sc-lmvz-card { display: flex; min-width: 150px; padding: var(--lmvz-dimension-4-6, clamp(0.25rem, 0.22rem + 0.13vw, 0.38rem)) var(--lmvz-dimension-10-14, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)) var(--lmvz-dimension-10-14, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)) var(--lmvz-dimension-10-14, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)); flex-direction: column; align-items: flex-start; align-self: stretch; } .title.sc-lmvz-card { margin: 0; display: flex; justify-content: center; align-items: center; align-self: stretch; padding-bottom: var(--lmvz-global-s4, 4px); overflow-wrap: break-word; font: var(--lmvz-typography-heading-2xl, 500 clamp(2rem, 1.94rem + 0.26vw, 2.25rem) / 1.2 Router); } .description.sc-lmvz-card { display: flex; margin: 0; padding-bottom: var(--lmvz-component-body-sm-padding-bottom, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); align-items: flex-start; align-self: stretch; white-space: pre-line; font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.4 Router); } .image-wrapper.sc-lmvz-card { aspect-ratio: 4 / 3; width: 100%; background-size: cover; background-position: center; flex: 1 0 0; align-self: stretch; border-radius: var(--lmvz-semantic-border-radius-md, 6px); } .actions.sc-lmvz-card { margin-top: var(--lmvz-component-form-wrapper-gap-y, clamp(1.13rem, 0.97rem + 0.65vw, 1.75rem)); display: flex; align-items: center; gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); align-self: stretch; } button.primary.sc-lmvz-card, lmvz-button.primary.sc-lmvz-card { display: flex; justify-content: center; align-items: center; gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); flex: 1 0 0; }`;const c=e(class e extends r{constructor(e){super();if(e!==false){this.__registerHost()}this.primaryAction=t(this,"primaryAction")}cardTitle;imageUrl;description;primaryActionLabel="";primaryAction;get fallbackImage(){return m("card-placeholder.svg")}_onPrimaryClick(){this.primaryAction.emit()}_onOverflowClick(e){console.log(e)}render(){const e={backgroundImage:`url(${this.imageUrl??this.fallbackImage})`};return o(a,{key:"46c2832b4f90b9eb222749632bc7ad59cd645e10",role:"article"},o("div",{key:"cc387fe96cff2dd04c24f75cf838a2bf6f438279",class:"top"},o("div",{key:"f9a54a5f81378ef4265e1d74c36c78af002e8874",class:"image-wrapper",style:e},o("div",{key:"76daed00408f7ae9ee46977637ddcd3d4f846380",class:"chip-slot"},o("slot",{key:"6ad522ef7428166b876d0218ef8d801c4ef337f1",name:"chip"})))),o("div",{key:"9c9799668ac199cfecbe10061e271d70d70e2d07",class:"bottom"},o("header",{key:"1bec743235bea5c7ab163225ffbd7bc6cf11f754"},o("h2",{key:"06f8e14153328bc5ca920e71e09d9343047c440c",class:"title"},this.cardTitle)),o("p",{key:"86b95db4e6464ca3236b4a03798013c3580819bf",class:"description"},this.description),o("div",{key:"553dc998d5318a4730196baa0b9baff3a0a3369f",class:"actions"},o("button",{key:"7532d01b46769198c23a1b1015c187fdefce146a",class:"primary",onClick:this._onPrimaryClick.bind(this),"data-testid":"primary"},this.primaryActionLabel),o("button",{key:"633d679ae59b1896aa2a06e04b4564569cf27a7d",class:"tertiary","aria-label":"More actions",onClick:this._onOverflowClick},o("span",{key:"b72c45f93d259502b9d7c5ffb19e292a53c60ec6",class:"icon-placeholder"},"...")))))}static get assetsDirs(){return["../../assets"]}static get style(){return l()}},[774,"lmvz-card",{cardTitle:[1,"card-title"],imageUrl:[1,"image-url"],description:[1],primaryActionLabel:[1,"primary-action-label"]}]);function i(){if(typeof customElements==="undefined"){return}const e=["lmvz-card"];e.forEach((e=>{switch(e){case"lmvz-card":if(!customElements.get(n(e))){customElements.define(n(e),c)}break}}))}const d=c;const s=i;export{d as LmvzCard,s as defineCustomElement};
2
- //# sourceMappingURL=lmvz-card.js.map
1
+ import{p as e,H as r,c as t,h as a,d as o,t as m}from"./p-CahBdGGN.js";import{c as n}from"./p-CKtksB0G.js";const l=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.primaryAction=t(this,"primaryAction")}cardTitle;imageUrl;description;primaryActionLabel="";primaryAction;get fallbackImage(){return n("card-placeholder.svg")}_onPrimaryClick(){this.primaryAction.emit()}_onOverflowClick(e){console.log(e)}render(){return a(o,{key:"fceb19eb0d7ad6c6aecfa6fbd5bb6425c7c3e312",role:"article"},a("div",{key:"4cb516b5dee1f2f84f21984fa350f61fd83c771c",class:"top"},a("div",{key:"713b2a3245d885a9b99f6c7d54a35053699c1be8",class:"image-wrapper",style:{backgroundImage:`url(${this.imageUrl??this.fallbackImage})`}},a("div",{key:"e8ea65e7f5d11a2335cab950d6bf02208d0b18a1",class:"chip-slot"},a("slot",{key:"e9a039742107fdf56216186ddcdf367c4432790b",name:"chip"})))),a("div",{key:"9549e46a1872e0edf298b79435d298aa1ae96a37",class:"bottom"},a("header",{key:"3bbfb72ecec519d16380ae7e00da4b1ccb6f1cf3"},a("h2",{key:"f5a33e498893e61b407c10ab36c9a93b7eecf9f1",class:"title"},this.cardTitle)),a("p",{key:"19709bb100d014369c836a5a7174772f2d095d2e",class:"description"},this.description),a("div",{key:"06b5acab3c80cc91865f3aa39da32d42f470348e",class:"actions"},a("button",{key:"4e954452ac9771359c881aa6b43f11e89e38aecf",class:"primary",onClick:this._onPrimaryClick.bind(this),"data-testid":"primary"},this.primaryActionLabel),a("button",{key:"b6a682bf95eb26468c450bed494290565288a515",class:"tertiary","aria-label":"More actions",onClick:this._onOverflowClick},a("span",{key:"70a526d1fafd8b7051f6e7107b35d6f594e10d68",class:"icon-placeholder"},"...")))))}static get assetsDirs(){return["../../assets"]}static get style(){return"@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; } } @layer lmvz-ds.reset { body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin: 0; } } .sc-lmvz-card-h { button { --lmvz-button-color: var(--lmvz-component-color, var(--lmvz-semantic-color-int-on-primary, #ffffff)); --lmvz-button-padding-inline: var(--lmvz-button-padding, var(--lmvz-component-input-md-padding-x, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-padding-block: var(--lmvz-button-padding, var(--lmvz-component-input-md-padding-y, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.4 Router); --lmvz-button-radius: var(--lmvz-component-input-radius-default, 999px); --lmvz-button-border-width: 0; --lmvz-button-border-color: transparent; --lmvz-button-background: var(--lmvz-semantic-color-int-primary, #000000); display: inline-flex; align-items: center; justify-content: center; gap: var(--lmvz-button-gap); padding-block: var(--lmvz-button-padding-block); padding-inline: var(--lmvz-button-padding-inline); border-radius: var(--lmvz-button-radius); border: var(--lmvz-button-border-width) solid var(--lmvz-button-border-color); background-color: var(--lmvz-button-background); color: var(--lmvz-button-color); cursor: pointer; font: var(--lmvz-button-font); text-align: center; text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; } button > * { font: inherit; color: inherit; } button:focus-visible { outline: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-status-selected, #f1f9fe); outline-offset: var(--lmvz-component-input-sm-padding-x, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); } button:is([disabled], .disabled) { cursor: not-allowed; pointer-events: none; opacity: var(--lmvz-component-input-disabled-opacity, 40%); } button:not([disabled]):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-primary-hover, #2e2e2e); } button:not([disabled]):active { --lmvz-button-background: var(--lmvz-semantic-color-int-primary-active, #545454); } button.secondary { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary, #f0f0f0); --lmvz-button-color: var(--lmvz-semantic-color-int-on-secondary, #000000); --lmvz-button-border-width: var(--lmvz-semantic-border-width-default, 1px); --lmvz-button-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0); } button.secondary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary-hover, #e0e0e0); --lmvz-button-border-color: var(--lmvz-semantic-color-border-hover, #c7c7c7); } button.secondary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-semantic-color-int-secondary-active, #d4d4d4); --lmvz-button-border-color: var(--lmvz-semantic-color-border-active, #d4d4d4); } button.tertiary { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary, #ffffff); --lmvz-button-color: var(--lmvz-semantic-color-int-on-tertiary, #545454); } button.tertiary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary-hover, #f0f0f0); } button.tertiary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-semantic-color-int-tertiary-active, #e0e0e0); } button.small { --lmvz-button-padding-inline: var(--lmvz-component-input-sm-padding-x, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --lmvz-button-padding-block: var(--lmvz-component-input-sm-padding-y, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --lmvz-button-gap: var(--lmvz-component-input-sm-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.4 Router); } button.large { --lmvz-button-padding-inline: var(--lmvz-component-input-lg-padding-x, clamp(0.88rem, 0.78rem + 0.39vw, 1.25rem)); --lmvz-button-padding-block: var(--lmvz-component-input-lg-padding-y, clamp(0.88rem, 0.78rem + 0.39vw, 1.25rem)); --lmvz-button-gap: var(--lmvz-component-input-lg-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); --lmvz-button-font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.4 Router); } display: flex; min-width: var(--lmvz-other-component-card-minwidth, 20.4375rem); max-width: var(--lmvz-other-component-card-maxwidth, 21.6875rem); flex-direction: column; align-items: flex-start; border-radius: var(--lmvz-semantic-border-radius-lg, 14px); border: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-default, #e0e0e0); background: var(--lmvz-semantic-color-surface-primary, #ffffff); } *.sc-lmvz-card { color: var(--lmvz-semantic-color-on-surface-primary, #000000); font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.4 Router); } .top.sc-lmvz-card { display: flex; padding: var(--lmvz-dimension-8-12, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); flex-direction: column; justify-content: center; align-items: center; align-self: stretch; } .bottom.sc-lmvz-card { display: flex; min-width: 150px; padding: var(--lmvz-dimension-4-6, clamp(0.25rem, 0.22rem + 0.13vw, 0.38rem)) var(--lmvz-dimension-10-14, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)) var(--lmvz-dimension-10-14, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)) var(--lmvz-dimension-10-14, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)); flex-direction: column; align-items: flex-start; align-self: stretch; } .title.sc-lmvz-card { margin: 0; display: flex; justify-content: center; align-items: center; align-self: stretch; padding-bottom: var(--lmvz-global-s4, 4px); overflow-wrap: break-word; font: var(--lmvz-typography-heading-2xl, 500 clamp(2rem, 1.94rem + 0.26vw, 2.25rem) / 1.2 Router); } .description.sc-lmvz-card { display: flex; margin: 0; padding-bottom: var(--lmvz-component-body-sm-padding-bottom, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); align-items: flex-start; align-self: stretch; white-space: pre-line; font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.4 Router); } .image-wrapper.sc-lmvz-card { aspect-ratio: 4 / 3; width: 100%; background-size: cover; background-position: center; flex: 1 0 0; align-self: stretch; border-radius: var(--lmvz-semantic-border-radius-md, 6px); } .actions.sc-lmvz-card { margin-top: var(--lmvz-component-form-wrapper-gap-y, clamp(1.13rem, 0.97rem + 0.65vw, 1.75rem)); display: flex; align-items: center; gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); align-self: stretch; } button.primary.sc-lmvz-card, lmvz-button.primary.sc-lmvz-card { display: flex; justify-content: center; align-items: center; gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); flex: 1 0 0; }"}},[774,"lmvz-card",{cardTitle:[1,"card-title"],imageUrl:[1,"image-url"],description:[1],primaryActionLabel:[1,"primary-action-label"]}]),i=l,c=function(){"undefined"!=typeof customElements&&["lmvz-card"].forEach((e=>{"lmvz-card"===e&&(customElements.get(m(e))||customElements.define(m(e),l))}))};export{i as LmvzCard,c as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,H as e,h as s,c,t as n}from"./p-C5rqq3bf.js";const o=()=>`:host{display:block}`;const r=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow()}text;render(){return s(c,{key:"d128e24bb90891ebd13d13a8e27c06782363cace"},this.text)}static get style(){return o()}},[513,"lmvz-chip",{text:[1]}]);function i(){if(typeof customElements==="undefined"){return}const t=["lmvz-chip"];t.forEach((t=>{switch(t){case"lmvz-chip":if(!customElements.get(n(t))){customElements.define(n(t),r)}break}}))}const a=r;const l=i;export{a as LmvzChip,l as defineCustomElement};
2
- //# sourceMappingURL=lmvz-chip.js.map
1
+ import{p as t,H as e,h as s,d as c,t as n}from"./p-CahBdGGN.js";const o=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}text;render(){return s(c,{key:"134d510fe3a04b989b0005bf31358149a9661cb2"},this.text)}static get style(){return":host{display:block}"}},[513,"lmvz-chip",{text:[1]}]),r=o,i=function(){"undefined"!=typeof customElements&&["lmvz-chip"].forEach((t=>{"lmvz-chip"===t&&(customElements.get(n(t))||customElements.define(n(t),o))}))};export{r as LmvzChip,i as defineCustomElement}
@@ -1,2 +1 @@
1
- import{L as o,d as s}from"./p-BXdOuZTp.js";const p=o;const t=s;export{p as LmvzHeader,t as defineCustomElement};
2
- //# sourceMappingURL=lmvz-header.js.map
1
+ import{p as M,h as N,d as e,t as I}from"./p-CahBdGGN.js";import{R as j,a as D}from"./p-GKEnURpp.js";import{g,c as a}from"./p-DQEkWkMh.js";class i{host;elements=[];constructor(M){this.host=M}hostDidRender(){this.host.el.addEventListener("keydown",this.handleKeydown)}updateElements(M){this.elements=M}handleKeydown=M=>{const{key:N}=M;if(!["ArrowDown","ArrowRight","ArrowUp","ArrowLeft"].includes(N))return;const e=g(document),I=this.getNextFocusableElement(e,["ArrowDown","ArrowRight"].includes(N)?"down":"up");I&&(M.preventDefault(),I.focus?.())};getNextFocusableElement(M,N){if(!M)return;const{elements:e}=this,I=e.indexOf(M);if(-1===I)return;let j;if("down"===N?j=(I+1)%e.length:"up"===N&&(j=(I-1+e.length)%e.length),null==j)return;const D=e[j];return a(D)?D:this.getNextFocusableElement(D,N)}}const u=M(class extends j{get el(){return this}get validationEl(){return this.el}primarySlot;secondarySlot;secondaryNav;keyboardNavigationController=new i(this);get primaryMenuitems(){return this.primarySlot?.assignedElements({flatten:!1})||[]}get secondaryMenuitems(){return this.secondarySlot?.assignedElements({flatten:!0})||[]}get role(){return"banner"}lmvzActiveNav;get secondarySlotName(){return"connect-nav-"+this.lmvzActiveNav}constructor(M){super(!1),!1!==M&&this.__registerHost(),this.__attachShadow(),this.addController(new D(this,{reValidateOnPropChanges:!0})),this.addController(this.keyboardNavigationController)}handleActiveNavChange(){this.updateElementsActive()}componentDidLoad(){this.primarySlot?.addEventListener("slotchange",this.handlePrimaryNavItemsChange.bind(this)),this.handlePrimaryNavItemsChange(),this.secondarySlot?.addEventListener("slotchange",this.handleSecondaryNavItemsChange.bind(this)),super.componentDidLoad()}handlePrimaryNavItemsChange(){const M=this.primaryMenuitems;M.length?(M.forEach((M=>{M.setAttribute("aria-haspopup","true"),M.setAttribute("aria-controls","nav-secondary")})),this.updateElementsActive(),this.updateKeyboardNavSubjects()):console.warn("Primary slot has no assigned elements. Please add navigation items to the primary slot.")}handleSecondaryNavItemsChange(){this.secondaryMenuitems.length&&this.updateKeyboardNavSubjects()}updateKeyboardNavSubjects(){this.keyboardNavigationController.updateElements([...this.primaryMenuitems,...this.secondaryMenuitems])}updateElementsActive(){const M=this.primaryMenuitems;if(!M.length)return;let N="";M.forEach((M=>{const e=M.id===this.lmvzActiveNav;e&&(N=M.textContent||M.id),M.setAttribute("aria-expanded",e?"true":"false")})),N&&this.secondaryNav?.setAttribute("aria-label","Untermenü für "+N)}delegateFocus(){const M=this.primaryMenuitems[0];M&&M.focus()}render(){return N(e,{key:"3189d1bd21fb5bd8f30b27cbfb6e49648b0e70c4",onFocus:this.delegateFocus.bind(this)},N("div",{key:"57c27e85c0d6292f0c39a850bad5d59de4cf8743",class:"brand"},N("slot",{key:"13ea794d470861e25dc249c3174d2a5f2ba25096",name:"brand"},N("img",{key:"37bea67eea1a2971a7502f6e9a5a2a28d3eec114",id:"fallback-logo-lmvz",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iNzIiIHZpZXdCb3g9IjAgMCA0NiA3MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzI3Ml80MDUpIj4KPHBhdGggZD0iTTEyLjUgMjAuNjVDMTMuMSAyMC42NSAxNC4yIDIwLjM1IDE0LjcgMjAuMzVDMTYuMSAyMC4zNSAxNy4yIDIxLjQ1IDE3LjIgMjIuODVDMTcuMiAyNC4yNSAxNi4xIDI1LjM1IDE0LjcgMjUuMzVIMi44QzEuMiAyNS4zNSAwIDI0LjE1IDAgMjIuNTVDMCAyMS45NSAwLjIgMjAuNjUgMC4yIDIwLjA1VjUuODQ5OTlDMC4yIDUuMTQ5OTkgMCAzLjk0OTk5IDAgMy4zNDk5OUMwIDEuNzQ5OTkgMS4yIDAuNTQ5OTg4IDIuOCAwLjU0OTk4OEM0LjMgMC41NDk5ODggNS42IDEuNzQ5OTkgNS42IDMuMzQ5OTlDNS42IDMuOTQ5OTkgNS40IDUuMTQ5OTkgNS40IDUuODQ5OTlWMjAuNTVIMTIuNVYyMC42NVpNMjIuMSAyMi43NUMyMi4xIDIyLjE1IDIyLjMgMjAuOTUgMjIuMyAyMC4yNVY1Ljg0OTk5QzIyLjMgNS4xNDk5OSAyMi4xIDMuOTQ5OTkgMjIuMSAzLjQ0OTk5QzIyLjEgMS45NDk5OSAyMy4yIDAuNzQ5OTg4IDI0LjYgMC43NDk5ODhIMjUuMkMyNi40IDAuNzQ5OTg4IDI3LjIgMS41NDk5OSAyNy42IDIuNjQ5OTlMMjggMy40NDk5OUwzMi45IDE0LjA1QzMzLjMgMTQuOTUgMzMuNyAxNi4wNSAzNCAxNi43NUMzNC4zIDE2LjA1IDM0LjcgMTQuOTUgMzUuMSAxNC4wNUw0MCAzLjU0OTk5TDQwLjMgMi41NDk5OUM0MC43IDEuNTQ5OTkgNDEuNSAwLjY0OTk4OCA0Mi42IDAuNjQ5OTg4SDQzLjJDNDQuNyAwLjY0OTk4OCA0NS43IDEuODQ5OTkgNDUuNyAzLjM0OTk5QzQ1LjcgMy45NDk5OSA0NS41IDUuMTQ5OTkgNDUuNSA1Ljc0OTk5VjIwLjE1QzQ1LjUgMjAuODUgNDUuNyAyMi4wNSA0NS43IDIyLjY1QzQ1LjcgMjQuMjUgNDQuNSAyNS40NSA0MyAyNS40NUM0MS40IDI1LjQ1IDQwLjMgMjQuMjUgNDAuMyAyMi42NUM0MC4zIDIxLjk1IDQwLjQgMjAuNzUgNDAuNCAyMC4xNUw0MC42IDE0LjA1QzQwLjYgMTMuMTUgNDAuNyAxMS43NSA0MC43IDEwLjY1TDM3IDE5LjA1QzM2LjcgMTkuNzUgMzYuNiAxOS45NSAzNi40IDIwLjM1QzM2IDIxLjI1IDM1LjMgMjEuODUgMzMuOSAyMS44NUMzMi41IDIxLjg1IDMxLjggMjEuMjUgMzEuNCAyMC40NUMzMS4yIDIwLjA1IDMxLjIgMTkuNzUgMzAuOCAxOS4wNUwyNyAxMC43NUMyNyAxMC43NSAyNy4xIDEzLjE1IDI3LjIgMTQuMDVMMjcuNCAyMC4xNUMyNy40IDIwLjg1IDI3LjUgMjEuOTUgMjcuNSAyMi42NUMyNy41IDI0LjI1IDI2LjQgMjUuNDUgMjQuOCAyNS40NUMyMy4zIDI1LjU1IDIyLjEgMjQuMjUgMjIuMSAyMi43NVpNMjguNyAzMi45NUMyOS4xIDMyLjk1IDMwLjIgMzMuMTUgMzAuNyAzMy4xNUg0MS44QzQyLjMgMzMuMTUgNDMuMiAzMi45NSA0My43IDMyLjk1QzQ0LjkgMzIuOTUgNDUuOCAzMy44NSA0NS44IDM1LjA1QzQ1LjggMzYuMTUgNDQuOSAzNy4xNSA0My43IDM3LjE1QzQzLjMgMzcuMTUgNDIuMyAzNi45NSA0MS44IDM2Ljk1SDMwLjhDMzAuMyAzNi45NSAyOS4yIDM3LjE1IDI4LjggMzcuMTVDMjcuNiAzNy4xNSAyNi43IDM2LjI1IDI2LjcgMzUuMDVDMjYuNiAzMy45NSAyNy41IDMyLjk1IDI4LjcgMzIuOTVaTTIuMSA2Ny4yNUMyLjUgNjcuMjUgMy42IDY3LjQ1IDQuMSA2Ny40NUgxOC41QzE5IDY3LjQ1IDE5LjkgNjcuMjUgMjAuNCA2Ny4yNUMyMS42IDY3LjI1IDIyLjUgNjguMTUgMjIuNSA2OS4zNUMyMi41IDcwLjQ1IDIxLjYgNzEuNDUgMjAuNCA3MS40NUMyMCA3MS40NSAxOSA3MS4yNSAxOC41IDcxLjI1SDQuMUMzLjYgNzEuMjUgMi41IDcxLjQ1IDIuMSA3MS40NUMwLjkgNzEuNDUgMCA3MC41NSAwIDY5LjM1QzAgNjguMjUgMC45IDY3LjI1IDIuMSA2Ny4yNVpNMjEuOSAzNS42NUMyMS45IDM1Ljk1IDIxLjggMzYuMzUgMjEuNiAzNi43NUMyMS4zIDM3LjQ1IDIwLjkgMzguMzUgMjAuNyAzOC44NUwxNC43IDU0LjY1QzE0LjUgNTUuMDUgMTQuNCA1NS41NSAxNC4yIDU2LjM1QzEzLjggNTcuNjUgMTIuNiA1OC4yNSAxMS4yIDU4LjI1SDEwLjhDOS40IDU4LjI1IDguMiA1Ny43NSA3LjggNTYuMzVDNy42IDU1LjU1IDcuNCA1NS4xNSA3LjIgNTQuNjVMMS4yIDM4Ljg1QzEgMzguMzUgMC42IDM3LjU1IDAuMiAzNi44NUMwLjEgMzYuNDUgMCAzNS45NSAwIDM1LjY1QzAgMzQuMTUgMS4yIDMyLjg1IDIuOCAzMi44NUMzLjkgMzIuODUgNSAzMy41NSA1LjMgMzQuNzVDNS41IDM1LjU1IDUuNSAzNi4xNSA2IDM3LjU1TDEwLjIgNDkuNDVDMTAuNSA1MC4zNSAxMC45IDUxLjQ1IDExLjEgNTIuMzVDMTEuMyA1MS40NSAxMS42IDUwLjQ1IDExLjkgNDkuNTVMMTYgMzcuNTVDMTYuNSAzNi4wNSAxNi40IDM1LjY1IDE2LjcgMzQuODVDMTcuMSAzMy42NSAxOC4xIDMyLjg1IDE5LjMgMzIuODVDMjAuOSAzMi44NSAyMS45IDM0LjE1IDIxLjkgMzUuNjVaTTI5LjcgNzEuNDVDMjguMiA3MS40NSAyNy4yIDcwLjQ1IDI3LjIgNjkuMTVDMjcuMiA2OC43NSAyNy4yIDY4LjI1IDI3LjggNjcuNDVMMzcuNCA1My40NUMzNy45IDUyLjc1IDM4LjUgNTIuMDUgMzkuMSA1MS4zNUgzMi4yQzMxLjUgNTEuMzUgMzAuNyA1MS42NSAzMC4xIDUxLjY1QzI4LjcgNTEuNjUgMjcuNiA1MC43NSAyNy42IDQ5LjM1QzI3LjYgNDcuOTUgMjguNyA0Ni45NSAzMC4xIDQ2Ljk1SDQyLjdDNDQuMiA0Ni45NSA0NS4yIDQ3Ljg1IDQ1LjIgNDkuMjVDNDUuMiA0OS42NSA0NSA1MC4zNSA0NC41IDUxLjA1TDM1LjIgNjQuODVDMzQuNyA2NS42NSAzNC4xIDY2LjQ1IDMzLjUgNjcuMDVINDEuMUM0MS45IDY3LjA1IDQyLjcgNjYuNzUgNDMuMyA2Ni43NUM0NC43IDY2Ljc1IDQ1LjcgNjcuNzUgNDUuNyA2OS4wNUM0NS43IDcwLjU1IDQ0LjUgNzEuNTUgNDMuMiA3MS41NUgyOS43VjcxLjQ1WiIgZmlsbD0iYmxhY2siLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yNzJfNDA1Ij4KPHJlY3Qgd2lkdGg9IjQ2IiBoZWlnaHQ9IjcyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"Lehrmittelverlag Zürich"}))),N("nav",{key:"59b1679357cd4dbef737f90f4b4ff5c80a4efa06","aria-label":"Hauptnavigation"},N("div",{key:"51ce71eed0f31ef4dbfbeb72dffed87797462487",role:"menubar",class:"primary-menubar"},N("slot",{key:"ac3357828b95a5aa6261c611612fb76f55bf92ee",name:"nav-primary",ref:M=>this.primarySlot=M}),N("div",{key:"b78f2ad43e03f40d65c69674b94a295e72366c8e",role:"menu",id:"nav-secondary",class:"secondary-menubar",hidden:!this.lmvzActiveNav,ref:M=>this.secondaryNav=M},N("slot",{key:"d2cc74ff24cf10f0f958cea986149f3f03054291",name:this.secondarySlotName,ref:M=>this.secondarySlot=M})))),N("div",{key:"cc6e0c0a32e51d3fa0d7f1865023f03434458217",class:"actions"},N("slot",{key:"8504df5d1970ac856a237cbb0dcce5a2707b7cab",name:"actions"})))}static get watchers(){return{lmvzActiveNav:[{handleActiveNavChange:0}]}}static get style(){return":host{display:flex;width:100vw;flex-direction:row;align-items:center;box-sizing:border-box;background-color:var(--lmvz-semantic-color-surface-primary, #ffffff);--lmvz-header-x-spacing-level-1:var(--lmvz-dimension-8-28, clamp(0.5rem, 0.2rem + 1.29vw, 1.75rem));--lmvz-header-x-spacing-level-2:var(--lmvz-component-buttongroup-wrapper-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem));padding:var(--lmvz-dimension-8-16, clamp(0.5rem, 0.38rem + 0.52vw, 1rem)) var(--lmvz-header-x-spacing-level-1);gap:var(--lmvz-header-x-spacing-level-1);.brand{display:inline-flex;justify-content:center;align-items:center}#fallback-logo-lmvz{height:34px;width:auto}nav{flex-grow:1}.primary-menubar{display:flex;flex-direction:row;align-items:center}.secondary-menubar{display:flex;flex-direction:row;align-items:center;margin-left:var(--lmvz-header-x-spacing-level-2);padding-left:var(--lmvz-header-x-spacing-level-2);border-left:1px solid var(--lmvz-semantic-color-border-default, #e0e0e0)}}"}},[769,"lmvz-header",{role:[2561],lmvzActiveNav:[1,"lmvz-active-nav"]},void 0,{lmvzActiveNav:[{handleActiveNavChange:0}]}]),t=u,A=function(){"undefined"!=typeof customElements&&["lmvz-header"].forEach((M=>{"lmvz-header"===M&&(customElements.get(I(M))||customElements.define(I(M),u))}))};export{t as LmvzHeader,A as defineCustomElement}
@@ -1,2 +1 @@
1
- import{L as o,d as s}from"./p-B2g3aN-E.js";const t=o;const a=s;export{t as LmvzIcon,a as defineCustomElement};
2
- //# sourceMappingURL=lmvz-icon.js.map
1
+ import{p as t,h as s,d as e,t as i}from"./p-CahBdGGN.js";import{g as r,a as n,l as o,i as a,b as c,c as h,m as l,d as m,e as d,f as u,h as v,j as p,k as g,s as f,n as w,o as z,p as y,q as b,t as k,u as x,v as S,w as E,x as C,y as O,z as _,A as D,B as R,C as V,D as B,E as M,F as P,G as j,H as L,I as N,J as G,K as I,L as T,M as K,N as A,O as H,P as F,Q as U,R as $,S as J,T as W,U as Y,_ as q,V as Q,W as X,X as Z,Y as tt,Z as st,$ as et,a0 as it,a1 as rt,a2 as nt,a3 as ot,a4 as at,a5 as ct,a6 as ht,a7 as lt,a8 as mt,a9 as dt,aa as ut,r as vt,ab as pt,ac as gt,ad as ft,ae as wt}from"./p-BsHYIl56.js";import{R as zt,a as yt}from"./p-GKEnURpp.js";import{c as bt}from"./p-CKtksB0G.js";const kt=Symbol.for("effect/Brand/Refined"),xt=(t,s,e,i)=>D({_tag:"Complete",key:t,exit:s,entryStats:e,timeToLiveMillis:i}),St=(t,s)=>D({_tag:"Pending",key:t,deferred:s}),Et=Symbol.for("effect/Cache/MapKey");class Ct{current;[Et]=Et;previous=void 0;next=void 0;constructor(t){this.current=t}[K](){return A(U(this.current),F(U(this.previous)),F(U(this.next)),H(this))}[$](t){return this===t||_t(t)&&W(this.current,t.current)&&W(this.previous,t.previous)&&W(this.next,t.next)}}const Ot=t=>new Ct(t),_t=t=>J(t,Et);class Dt{head=void 0;tail=void 0;add(t){if(t!==this.tail)if(void 0===this.tail)this.head=t,this.tail=t;else{const s=t.previous,e=t.next;void 0!==e&&(t.next=void 0,void 0!==s?(s.next=e,e.previous=s):(this.head=e,this.head.previous=void 0)),this.tail.next=t,t.previous=this.tail,this.tail=t}}remove(){const t=this.head;if(void 0!==t){const s=t.next;void 0!==s?(t.next=void 0,this.head=s,this.head.previous=void 0):(this.head=void 0,this.tail=void 0)}return t}}const Rt=Symbol.for("effect/Cache"),Vt={_Key:t=>t,_Error:t=>t,_Value:t=>t},Bt=Symbol.for("effect/ConsumerCache"),Mt={_Key:t=>t,_Error:t=>t,_Value:t=>t},Pt=t=>({loadedMillis:t});class jt{capacity;context;fiberId;lookup;timeToLive;[Rt]=Vt;[Bt]=Mt;cacheState;constructor(t,s,e,i,r){this.capacity=t,this.context=s,this.fiberId=e,this.lookup=i,this.timeToLive=r,this.cacheState={map:B(),keys:new Dt,accesses:T(),updating:I(!1),hits:0,misses:0}}get(t){return d(this.getEither(t),g)}get cacheStats(){return f((()=>({hits:this.cacheState.hits,misses:this.cacheState.misses,size:w(this.cacheState.map)})))}getOption(t){return z((()=>l(y(this.cacheState.map,t),{onNone:()=>{const s=Ot(t);return this.trackAccess(s),this.trackMiss(),b(k())},onSome:t=>this.resolveMapValue(t)})))}getOptionComplete(t){return z((()=>l(y(this.cacheState.map,t),{onNone:()=>{const s=Ot(t);return this.trackAccess(s),this.trackMiss(),b(k())},onSome:t=>this.resolveMapValue(t,!0)})))}contains(t){return f((()=>x(this.cacheState.map,t)))}entryStats(t){return f((()=>{const s=y(this.cacheState.map,t);if(S(s))switch(s.value._tag){case"Complete":return E(Pt(s.value.entryStats.loadedMillis));case"Pending":return k();case"Refreshing":return E(Pt(s.value.complete.entryStats.loadedMillis))}return k()}))}getEither(t){return z((()=>{const s=t;let e,i,r=C(y(this.cacheState.map,s));return void 0===r&&(i=O(this.fiberId),e=Ot(s),x(this.cacheState.map,s)?r=C(y(this.cacheState.map,s)):_(this.cacheState.map,s,St(e,i))),void 0===r?(this.trackAccess(e),this.trackMiss(),d(this.lookupValueOf(t,i),n)):R(this.resolveMapValue(r),l({onNone:()=>this.getEither(t),onSome:t=>b(o(t))}))}))}invalidate(t){return f((()=>{V(this.cacheState.map,t)}))}invalidateWhen(t,s){return f((()=>{const e=y(this.cacheState.map,t);S(e)&&"Complete"===e.value._tag&&"Success"===e.value.exit._tag&&s(e.value.exit.value)&&V(this.cacheState.map,t)}))}get invalidateAll(){return f((()=>{this.cacheState.map=B()}))}refresh(t){return M((s=>z((()=>{const e=t,i=O(this.fiberId);let r=C(y(this.cacheState.map,e));if(void 0===r&&(x(this.cacheState.map,e)?r=C(y(this.cacheState.map,e)):_(this.cacheState.map,e,St(Ot(e),i))),void 0===r)return Y(this.lookupValueOf(t,i));switch(r._tag){case"Complete":if(this.hasExpired(s,r.timeToLiveMillis)){const s=C(y(this.cacheState.map,e));return W(s,r)&&V(this.cacheState.map,e),Y(this.get(t))}return A(this.lookupValueOf(t,i),Q((()=>{const t=C(y(this.cacheState.map,e));if(W(t,r)){const t=((t,s)=>D({_tag:"Refreshing",deferred:t,complete:s}))(i,r);return _(this.cacheState.map,e,t),!0}return!1})),Y);case"Pending":case"Refreshing":return q(r.deferred)}}))))}set(t,s){return M((e=>f((()=>{const i=e.unsafeCurrentTimeMillis(),r=t,n=X(s),o=xt(Ot(r),n,Pt(i),i+Z(m(this.timeToLive(n))));_(this.cacheState.map,r,o)}))))}get size(){return f((()=>w(this.cacheState.map)))}get values(){return f((()=>{const t=[];for(const s of this.cacheState.map)"Complete"===s[1]._tag&&"Success"===s[1].exit._tag&&t.push(s[1].exit.value);return t}))}get entries(){return f((()=>{const t=[];for(const s of this.cacheState.map)"Complete"===s[1]._tag&&"Success"===s[1].exit._tag&&t.push([s[0],s[1].exit.value]);return t}))}get keys(){return f((()=>{const t=[];for(const s of this.cacheState.map)"Complete"===s[1]._tag&&"Success"===s[1].exit._tag&&t.push(s[0]);return t}))}resolveMapValue(t,s=!1){return M((e=>{switch(t._tag){case"Complete":return this.trackAccess(t.key),this.hasExpired(e,t.timeToLiveMillis)?(V(this.cacheState.map,t.key.current),b(k())):(this.trackHit(),d(t.exit,E));case"Pending":return this.trackAccess(t.key),this.trackHit(),s?b(k()):d(q(t.deferred),E);case"Refreshing":return this.trackAccess(t.complete.key),this.trackHit(),this.hasExpired(e,t.complete.timeToLiveMillis)?s?b(k()):d(q(t.deferred),E):d(t.complete.exit,E)}}))}trackHit(){this.cacheState.hits=this.cacheState.hits+1}trackMiss(){this.cacheState.misses=this.cacheState.misses+1}trackAccess(t){if(P(this.cacheState.accesses,t),j(this.cacheState.updating,!1,!0)){let t=!0;for(;t;){const s=L(this.cacheState.accesses,N);s===N?t=!1:this.cacheState.keys.add(s)}let s=w(this.cacheState.map);for(t=s>this.capacity;t;){const e=this.cacheState.keys.remove();void 0!==e?x(this.cacheState.map,e.current)&&(V(this.cacheState.map,e.current),s-=1,t=s>this.capacity):t=!1}G(this.cacheState.updating,!1)}}hasExpired(t,s){return t.unsafeCurrentTimeMillis()>s}lookupValueOf(t,s){return M((e=>z((()=>{const i=t;return A(this.lookup(t),nt(this.context),rt,R((t=>{const r=e.unsafeCurrentTimeMillis(),n=Pt(r),o=xt(Ot(i),t,n,r+Z(m(this.timeToLive(t))));return _(this.cacheState.map,i,o),st(it(s,t),t)})),tt((()=>st(et(s),f((()=>{V(this.cacheState.map,i)}))))))}))))}}const Lt=t=>{const s=m(t.timeToLive);return(t=>d(u([v(),p]),(([s,e])=>new jt(t.capacity,s,e,t.lookup,(s=>m(t.timeToLive(s)))))))({capacity:t.capacity,lookup:t.lookup,timeToLive:()=>s})},Nt=function(){const t=Symbol.for("effect/Data/Error/plainArgs");return class extends ot{constructor(s){super(s?.message,s?.cause?{cause:s.cause}:void 0),s&&(Object.assign(this,s),Object.defineProperty(this,t,{value:s,enumerable:!1}))}toJSON(){return{...this[t],...this}}}}(),Gt=t=>{const s={BaseEffectError:class extends Nt{_tag=t}};return s.BaseEffectError.prototype.name=t,s.BaseEffectError};class It extends(Gt("FetchError")){}class Tt extends(Gt("NotFoundError")){}class Kt extends(Gt("ResponseTextError")){constructor(t){super(Error("Failed to read response text",{cause:t}))}}const At=function(...t){const s=2===t.length?s=>t[0](s)?n(s):o(t[1](s)):s=>l(t[0](s),{onNone:()=>n(s),onSome:o});return Object.assign((t=>r(s(t),a)),{[kt]:kt,option:t=>h(s(t)),either:s,is:t=>c(s(t))})}((function(t){if("string"!=typeof t)return!1;try{return"svg"===(new DOMParser).parseFromString(t,"image/svg+xml").documentElement.nodeName}catch{return!1}}),(()=>[{message:"SVG data is malformed",meta:void 0}]));class Ht extends(Gt("BrandValidationError")){constructor(t,s){super(Error(`Brand validation failed for type ${s}.`,{cause:t}))}}let Ft=null;function Ut(){return mt((function*(){Ft?yield*Ft.invalidateAll:dt("Attempted to clear icon cache before it was initialized")}))}const $t=t(class extends zt{intersectionObserver;ariaValidationController=new yt(this);get el(){return this}validationEl;icon;weight="medium";size="md";iconData;visible=!1;ariaLabel;get ariaHidden(){return!this.ariaLabel}constructor(t){super(!1),!1!==t&&this.__registerHost(),this.addController(this.ariaValidationController)}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()})),super.connectedCallback()}disconnectedCallback(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),super.disconnectedCallback()}async loadIconPathData(){const{icon:t,visible:s}=this;t&&s&&(this.iconData=await vt(function(t){const s=t;return mt((function*(){return Ft||(Ft=yield*Lt({capacity:200,timeToLive:ut,lookup:t=>mt((function*(){const s=bt(t+".svg","icons"),e=yield*(t=>at((function*(){const s=yield*ct({try:()=>fetch(t,void 0),catch:t=>new It({cause:t})});return 404===s.status?yield*ht(new Tt({url:s.url})):s})))(s),i=yield*(t=>ct({try:()=>t.text(),catch:t=>new Kt(t)}))(e);return yield*(t=>lt({try:()=>At(t),catch:t=>new Ht(t,"SVGString")}))(i)}))})),yield*Ft.get(s)}))}(this.icon).pipe(pt((s=>gt(`Error loading icon "${t}":`,s.message,s.cause,s.stack))),ft((()=>wt(At('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>')))))))}componentDidRender(){this.validationEl=this.el.querySelector("svg"),this.ariaValidationController.revalidateAria(),super.componentDidRender()}render(){return s(e,{key:"4ce6e3931a1c8bfa1ddd48c780d005d110902b19",role:"img","aria-hidden":""+this.ariaHidden,innerHTML:this.iconData})}waitUntilVisible(t,s=50){"undefined"!=typeof window&&window.IntersectionObserver?(this.intersectionObserver=new IntersectionObserver((s=>{s.some((s=>!!s.isIntersecting&&(this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0,t(),!0)))}),{rootMargin:s+"px"}),this.intersectionObserver.observe(this.el)):t()}static get assetsDirs(){return["../../assets/icons"]}static get watchers(){return{icon:[{loadIconPathData:0}]}}static get style(){return".sc-lmvz-icon-h{--lmvz-icon-color:var(--lmvz-component-color, var(--lmvz-semantic-color-on-surface-input-primary, #000000));display:inline-block;line-height:0;svg{display:block}svg>path{stroke:var(--lmvz-icon-color);fill:none}}[size='xs'].sc-lmvz-icon-h{svg{width:var(--lmvz-component-icon-size-xs, clamp(0.75rem, 0.69rem + 0.26vw, 1rem));height:var(--lmvz-component-icon-size-xs, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))}}[size='sm'].sc-lmvz-icon-h{svg{width:var(--lmvz-component-icon-size-sm, clamp(0.88rem, 0.81rem + 0.26vw, 1.13rem));height:var(--lmvz-component-icon-size-sm, clamp(0.88rem, 0.81rem + 0.26vw, 1.13rem))}}[size='md'].sc-lmvz-icon-h{svg{width:var(--lmvz-component-icon-size-md, clamp(1rem, 0.88rem + 0.52vw, 1.5rem));height:var(--lmvz-component-icon-size-md, clamp(1rem, 0.88rem + 0.52vw, 1.5rem))}}[size='lg'].sc-lmvz-icon-h{svg{width:var(--lmvz-component-icon-size-lg, clamp(1.5rem, 1.38rem + 0.52vw, 2rem));height:var(--lmvz-component-icon-size-lg, clamp(1.5rem, 1.38rem + 0.52vw, 2rem))}}[size='inherit'].sc-lmvz-icon-h{svg{width:inherit;height:inherit}}[weight='light'].sc-lmvz-icon-h{svg>path{stroke-width:1}}[weight='medium'].sc-lmvz-icon-h{svg>path{stroke-width:1.5}}[weight='bold'].sc-lmvz-icon-h{svg>path{stroke-width:2}}[weight='filled'].sc-lmvz-icon-h{svg>path{stroke-width:2;fill:var(--lmvz-icon-color)}}"}},[514,"lmvz-icon",{icon:[513],weight:[513],size:[513],ariaLabel:[513,"aria-label"],iconData:[32],visible:[32]},void 0,{icon:[{loadIconPathData:0}]}]),Jt=$t,Wt=function(){"undefined"!=typeof customElements&&["lmvz-icon"].forEach((t=>{"lmvz-icon"===t&&(customElements.get(i(t))||customElements.define(i(t),$t))}))};export{Jt as LmvzIcon,Ut as c,Wt as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,d as e,h as r,t as i}from"./p-C5rqq3bf.js";import{c as o}from"./p-BfTCfPZ1.js";import{R as a,a as n}from"./p-CI0tffvo.js";import{a as s}from"./p-DQEkWkMh.js";const l=()=>`@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; }`;let c=0;const u=t(class t extends a{get el(){return this}get validationEl(){return this.el}lmvzInput;internals;nativeInputElement;inputId=`lmvz-input-${c++}`;initialValue="";nativeError=false;errorFromProp=false;get helperId(){return this.helperText?`${this.inputId}-helper`:undefined}get showErrorMessage(){return this.error&&Boolean(this.errorMessage)}get errorId(){return`${this.inputId}-error`}get describedBy(){const t=[];if(this.helperId)t.push(this.helperId);if(this.showErrorMessage)t.push(this.errorId);return t.length>0?t.join(" "):undefined}value;label;helperText;placeholder;disabled=false;readonly=false;required=false;name;type="text";errorMessage;autocomplete;inputmode;autocorrect;autocapitalize;spellcheck;autofocus=false;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;const r=t??"";if(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?.()??false}async reportValidity(){return this.nativeInputElement?.reportValidity?.()??false}async getInputElement(){if(!this.nativeInputElement){await new Promise((t=>s(this.el,t)))}return Promise.resolve(this.nativeInputElement)}constructor(t){super(false);if(t!==false){this.__registerHost()}this.lmvzInput=e(this,"lmvzInput");this.internals=this.attachInternals();this.addController(new n(this,{reValidateOnPropChanges:true}))}componentWillLoad(){this.initialValue=this.value??"";super.componentWillLoad()}formAssociatedCallback(t){if(!t)return;this.internals.setFormValue?.(this.value??"")}formResetCallback(){this.internals.setValidity({});this.setValue(this.initialValue)}formStateRestoreCallback(t){this.setValue(t)}handleValueChange(t){if(!this.nativeInputElement)return;const e=this.nativeInputElement.value===t;if(e)return;this.setValue(t)}handleDisabledChange(t){if(t&&this.nativeInputElement){this.nativeInputElement.blur()}}handleInput=t=>{const e=t.target;this.setValue(e.value)};handleChange=t=>{const e=t.target??this.nativeInputElement;this.updateNativeError(e)};handleFocus=()=>{};handleBlur=t=>{const e=t.target;e.reportValidity?.()};updateNativeError(t){const e=t??this.nativeInputElement;if(!e)return;this.nativeError=!(e.checkValidity?.()??true)}render(){const t=Boolean(this.value);const e=t||Boolean(this.placeholder);return r("div",{key:"195e2c5046d48d01f4912993bde3c8d2b3a73d1d",class:o("input-container",{"interaction-filled":t})},r("div",{key:"66bc3deab063a309eefc0de5ebf7f54331c9190c",class:"input-wrapper"},r("slot",{key:"fac318070421d526bb09ba0dd0efdecf8964d952",name:"before-input"}),r("div",{key:"1945152dc010d571c5886f222332b057e89e496c",class:"label-input-group"},r("label",{key:"d57392c2c83b1e5f362dd33fa9d060e570417f3f",htmlFor:this.inputId,class:o({floating:e})},this.label,this.required&&r("span",{key:"507603a50eb08f0f4f5e2b87b2550fe6b657c4d4",class:"required-indicator","aria-hidden":"true"}," ","*")),r("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})),r("slot",{key:"b415bedde58862e5bd7621f73a1d77bc478850a3",name:"after-input"})),r("div",{key:"bc0e07f5243417f4c632eb2f7976dc944fdbf17a",id:this.helperId,role:"status"},this.helperText||null),r("div",{key:"62e2267453b92edd47077b233cb231a1deecedc4",id:this.errorId,role:"alert"},this.showErrorMessage&&this.errorMessage||null))}static get formAssociated(){return true}static get watchers(){return{value:[{handleValueChange:0}],disabled:[{handleDisabledChange:0}]}}static get style(){return l()}},[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]},undefined,{value:[{handleValueChange:0}],disabled:[{handleDisabledChange:0}]}]);function p(){if(typeof customElements==="undefined"){return}const t=["lmvz-input"];t.forEach((t=>{switch(t){case"lmvz-input":if(!customElements.get(i(t))){customElements.define(i(t),u)}break}}))}const d=u;const h=p;export{d as LmvzInput,h as defineCustomElement};
2
- //# sourceMappingURL=lmvz-input.js.map
1
+ import{p as t,c as e,h as r,t as i}from"./p-CahBdGGN.js";import{c as o}from"./p-BfTCfPZ1.js";import{R as a,a as n}from"./p-GKEnURpp.js";import{a as l}from"./p-DQEkWkMh.js";let s=0;const p=t(class extends a{get el(){return this}get validationEl(){return this.el}lmvzInput;internals;nativeInputElement;inputId="lmvz-input-"+s++;initialValue="";nativeError=!1;errorFromProp=!1;get helperId(){return this.helperText?this.inputId+"-helper":void 0}get showErrorMessage(){return this.error&&!!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=>l(this.el,t))),Promise.resolve(this.nativeInputElement)}constructor(t){super(!1),!1!==t&&this.__registerHost(),this.lmvzInput=e(this,"lmvzInput"),this.internals=this.attachInternals(),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=!!this.value,e=t||!!this.placeholder;return r("div",{key:"97674bbf9a17f1533340f19f0643bc8695417da6",class:o("input-container",{"interaction-filled":t})},r("div",{key:"51aee84c821a5ad8884981bae3c42d0ed29a1fc5",class:"input-wrapper"},r("slot",{key:"589b38e7977f74f7037a71b6b530ea98750f3bee",name:"before-input"}),r("div",{key:"f5856cfc71ceb9093ceaa1b60bb6f4d964dadc7f",class:"label-input-group"},r("label",{key:"fbd6bb71131cf7384a79ba6f4f606c430e326bef",htmlFor:this.inputId,class:o({floating:e})},this.label,this.required&&r("span",{key:"d479254f9ac11a31278720d41e56db1300c06b15",class:"required-indicator","aria-hidden":"true"}," ","*")),r("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})),r("slot",{key:"a21d46103f1b0040e67e20b4faf016a2b2fdd4dc",name:"after-input"})),r("div",{key:"53adfecb08ab29d1636052061dc37dffcd697ab2",id:this.helperId,role:"status"},this.helperText||null),r("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}]}}static get style(){return"@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; }"}},[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]},void 0,{value:[{handleValueChange:0}],disabled:[{handleDisabledChange:0}]}]),c=p,u=function(){"undefined"!=typeof customElements&&["lmvz-input"].forEach((t=>{"lmvz-input"===t&&(customElements.get(i(t))||customElements.define(i(t),p))}))};export{c as LmvzInput,u as defineCustomElement}