@baloise/ds-core 19.8.2 → 19.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (998) hide show
  1. package/components/bal-accordion-details.js +6 -4
  2. package/components/bal-accordion-summary.js +7 -5
  3. package/components/bal-accordion-trigger.js +7 -5
  4. package/components/bal-accordion.js +9 -7
  5. package/components/bal-app.js +12 -8
  6. package/components/bal-badge2.js +6 -4
  7. package/components/bal-button-group2.js +5 -3
  8. package/components/bal-button2.js +5 -3
  9. package/components/bal-card-actions.js +5 -3
  10. package/components/bal-card-button.js +5 -3
  11. package/components/bal-card-content2.js +5 -3
  12. package/components/bal-card-subtitle.js +5 -3
  13. package/components/bal-card-title.js +5 -3
  14. package/components/bal-card2.js +5 -3
  15. package/components/bal-carousel-item.js +6 -4
  16. package/components/bal-carousel.js +21 -22
  17. package/components/bal-check2.js +5 -3
  18. package/components/bal-checkbox-group.js +7 -5
  19. package/components/bal-checkbox2.js +7 -5
  20. package/components/bal-close2.js +8 -6
  21. package/components/bal-content2.js +5 -3
  22. package/components/bal-data-item.js +5 -3
  23. package/components/bal-data-label.js +5 -3
  24. package/components/bal-data-value.js +7 -5
  25. package/components/bal-data.js +5 -3
  26. package/components/bal-date-calendar-cell2.js +5 -3
  27. package/components/bal-date-calendar2.js +21 -34
  28. package/components/bal-date.js +12 -10
  29. package/components/bal-divider.js +5 -3
  30. package/components/bal-dropdown.js +21 -24
  31. package/components/bal-field-control.js +5 -3
  32. package/components/bal-field-hint.js +7 -9
  33. package/components/bal-field-label.js +5 -3
  34. package/components/bal-field-message.js +5 -3
  35. package/components/bal-field.js +9 -7
  36. package/components/bal-file-upload.js +15 -22
  37. package/components/bal-footer.js +9 -7
  38. package/components/bal-form-col.js +7 -5
  39. package/components/bal-form-grid.js +5 -3
  40. package/components/bal-form.js +7 -5
  41. package/components/bal-heading2.js +6 -4
  42. package/components/bal-hint-text2.js +5 -3
  43. package/components/bal-hint-title2.js +5 -3
  44. package/components/bal-hint2.js +10 -8
  45. package/components/bal-icon2.js +6 -4
  46. package/components/bal-input-date2.js +10 -8
  47. package/components/bal-input-group2.js +6 -4
  48. package/components/bal-input-slider.js +11 -9
  49. package/components/bal-input-stepper.js +1027 -1056
  50. package/components/bal-input.js +6 -4
  51. package/components/bal-label2.js +9 -7
  52. package/components/bal-list-item-accordion-body2.js +10 -9
  53. package/components/bal-list-item-accordion-head2.js +10 -8
  54. package/components/bal-list-item-content2.js +5 -3
  55. package/components/bal-list-item-icon2.js +5 -3
  56. package/components/bal-list-item-subtitle2.js +5 -3
  57. package/components/bal-list-item-title2.js +5 -3
  58. package/components/bal-list-item2.js +6 -4
  59. package/components/bal-list2.js +6 -4
  60. package/components/bal-logo2.js +6 -4
  61. package/components/bal-modal-body.js +5 -3
  62. package/components/bal-modal-header.js +6 -4
  63. package/components/bal-modal.js +29 -27
  64. package/components/bal-nav-link-grid-col2.js +5 -3
  65. package/components/bal-nav-link-grid2.js +5 -3
  66. package/components/bal-nav-link-group.js +5 -3
  67. package/components/bal-nav-link2.js +5 -3
  68. package/components/bal-nav-menu-bar2.js +6 -4
  69. package/components/bal-nav-menu-flyout2.js +7 -6
  70. package/components/bal-nav-meta-bar2.js +7 -5
  71. package/components/bal-nav.js +31 -53
  72. package/components/bal-navbar-brand.js +9 -7
  73. package/components/bal-navbar-menu-end.js +5 -3
  74. package/components/bal-navbar-menu-start.js +5 -3
  75. package/components/bal-navbar-menu.js +5 -3
  76. package/components/bal-navbar.js +5 -3
  77. package/components/bal-notices.js +6 -4
  78. package/components/bal-notification.js +5 -3
  79. package/components/bal-number-input.js +8 -6
  80. package/components/bal-option-list.js +9 -7
  81. package/components/bal-option.js +7 -5
  82. package/components/bal-pagination.js +7 -5
  83. package/components/bal-popover-content2.js +7 -5
  84. package/components/bal-popover2.js +7 -5
  85. package/components/bal-popup2.js +8 -6
  86. package/components/bal-progress-bar.js +8 -7
  87. package/components/bal-radio-group.js +7 -5
  88. package/components/bal-radio-icon2.js +5 -3
  89. package/components/bal-radio2.js +6 -4
  90. package/components/bal-segment-item.js +6 -4
  91. package/components/bal-segment.js +11 -11
  92. package/components/bal-select-option2.js +5 -3
  93. package/components/bal-select2.js +13 -11
  94. package/components/bal-shape2.js +9 -7
  95. package/components/bal-sheet.js +5 -3
  96. package/components/bal-snackbar.js +7 -5
  97. package/components/bal-spinner2.js +7 -5
  98. package/components/bal-stack2.js +5 -3
  99. package/components/bal-stage-back-link.js +7 -5
  100. package/components/bal-stage-body.js +6 -4
  101. package/components/bal-stage-foot.js +6 -4
  102. package/components/bal-stage-head.js +6 -4
  103. package/components/bal-stage-image.js +8 -6
  104. package/components/bal-stage.js +5 -3
  105. package/components/bal-step-item.js +7 -5
  106. package/components/bal-steps.js +13 -17
  107. package/components/bal-switch.js +5 -3
  108. package/components/bal-tab-item.js +7 -5
  109. package/components/bal-table.js +6 -4
  110. package/components/bal-tabs2.js +29 -42
  111. package/components/bal-tag-group.js +5 -3
  112. package/components/bal-tag2.js +7 -5
  113. package/components/bal-text.js +5 -3
  114. package/components/bal-textarea.js +6 -4
  115. package/components/bal-time-input.js +8 -6
  116. package/components/bal-toast.js +6 -4
  117. package/components/bal-tooltip.js +7 -5
  118. package/components/breakpoints.subject.js +79 -5
  119. package/components/config.default.js +1 -1
  120. package/components/config.utils.js +1 -1
  121. package/components/focus.decorator.js +1 -1
  122. package/components/form-input.js +1 -1
  123. package/components/helpers.js +2 -2
  124. package/components/index.js +135 -16
  125. package/components/mutation.decorator.js +1 -1
  126. package/components/swiper.util.js +3 -8
  127. package/components/tokens.esm.js +2 -2
  128. package/components/visibility.decorator.js +1 -1
  129. package/components/window-resize.decorator.js +24 -1
  130. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  131. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  132. package/dist/baloise-design-system/index.esm.js +1 -1
  133. package/dist/baloise-design-system/p-01c556671d.system.entry.js +1 -0
  134. package/dist/baloise-design-system/{p-34251be01a.entry.js → p-022a899d9f.entry.js} +1 -1
  135. package/dist/baloise-design-system/p-06ae31c81e.entry.js +1 -0
  136. package/dist/baloise-design-system/p-06d6d65df7.entry.js +1 -0
  137. package/dist/baloise-design-system/p-07cd3d2e40.entry.js +1 -0
  138. package/dist/baloise-design-system/p-08644e325b.entry.js +1 -0
  139. package/dist/baloise-design-system/p-09f86c863d.system.entry.js +1 -0
  140. package/dist/baloise-design-system/p-0b800b55bc.system.entry.js +1 -0
  141. package/dist/baloise-design-system/p-0c10bf8c73.system.entry.js +1 -0
  142. package/dist/baloise-design-system/p-0d487a482f.system.entry.js +1 -0
  143. package/dist/baloise-design-system/p-0ec86b3f93.system.entry.js +1 -0
  144. package/dist/baloise-design-system/p-15c5f87ce0.system.entry.js +1 -0
  145. package/dist/baloise-design-system/p-167806fc44.entry.js +1 -0
  146. package/dist/baloise-design-system/p-17fb47d0d4.entry.js +1 -0
  147. package/dist/baloise-design-system/p-196ff3a00e.entry.js +1 -0
  148. package/dist/baloise-design-system/p-1b1fdadab3.entry.js +1 -0
  149. package/dist/baloise-design-system/p-1b2d849d3f.system.entry.js +1 -0
  150. package/dist/baloise-design-system/{p-aa6b291c05.entry.js → p-1f011724dd.entry.js} +1 -1
  151. package/dist/baloise-design-system/p-2264ba1f28.entry.js +1 -0
  152. package/dist/baloise-design-system/{p-6bb94607cc.entry.js → p-23537928fa.entry.js} +1 -1
  153. package/dist/baloise-design-system/p-2360c337dc.entry.js +1 -0
  154. package/dist/baloise-design-system/p-24d0c0ddcf.entry.js +1 -0
  155. package/dist/baloise-design-system/p-261f0c83c1.entry.js +1 -0
  156. package/dist/baloise-design-system/p-26764b092e.entry.js +1 -0
  157. package/dist/baloise-design-system/p-2c066243bc.entry.js +1 -0
  158. package/dist/baloise-design-system/p-2d57df519d.entry.js +1 -0
  159. package/dist/baloise-design-system/p-2d8dd4be3a.entry.js +1 -0
  160. package/dist/baloise-design-system/{p-5233b94b59.system.entry.js → p-2dbbdfb785.system.entry.js} +1 -1
  161. package/dist/baloise-design-system/p-3717f4438f.system.entry.js +1 -0
  162. package/dist/baloise-design-system/p-3790f8edcd.entry.js +1 -0
  163. package/dist/baloise-design-system/p-393a3d5fb7.entry.js +1 -0
  164. package/dist/baloise-design-system/p-42801b7e0c.system.entry.js +1 -0
  165. package/dist/baloise-design-system/p-43878b51c9.system.entry.js +1 -0
  166. package/dist/baloise-design-system/p-440fb2470e.entry.js +1 -0
  167. package/dist/baloise-design-system/{p-6f8769f0fd.entry.js → p-469503b436.entry.js} +1 -1
  168. package/dist/baloise-design-system/p-4Y53iwfN.system.js +1 -0
  169. package/dist/baloise-design-system/p-4a34919910.system.entry.js +1 -0
  170. package/dist/baloise-design-system/p-4c12fc1e8f.system.entry.js +1 -0
  171. package/dist/baloise-design-system/p-5439c93408.entry.js +1 -0
  172. package/dist/baloise-design-system/p-56535b513e.system.entry.js +1 -0
  173. package/dist/baloise-design-system/p-5c583159db.entry.js +1 -0
  174. package/dist/baloise-design-system/{p-85453d4b0a.system.entry.js → p-5d95c50514.system.entry.js} +1 -1
  175. package/dist/baloise-design-system/p-5e4a2342f3.entry.js +1 -0
  176. package/dist/baloise-design-system/p-5f8ae628c4.system.entry.js +1 -0
  177. package/dist/baloise-design-system/p-63a829988a.system.entry.js +1 -0
  178. package/dist/baloise-design-system/p-63cf9eadee.entry.js +1 -0
  179. package/dist/baloise-design-system/p-6814029ea2.entry.js +1 -0
  180. package/dist/baloise-design-system/p-6d93b1d5cc.entry.js +1 -0
  181. package/dist/baloise-design-system/p-6da83fc08c.system.entry.js +1 -0
  182. package/dist/baloise-design-system/p-6fa6bfd775.entry.js +1 -0
  183. package/dist/baloise-design-system/p-7027eb9c58.entry.js +1 -0
  184. package/dist/baloise-design-system/p-70bdd60500.system.entry.js +1 -0
  185. package/dist/baloise-design-system/p-71ab949cfb.system.entry.js +1 -0
  186. package/dist/baloise-design-system/p-743a8ea6e8.system.entry.js +1 -0
  187. package/dist/baloise-design-system/p-7571dcc8ec.system.entry.js +1 -0
  188. package/dist/baloise-design-system/{p-5437056c7e.system.entry.js → p-76fdd28025.system.entry.js} +1 -1
  189. package/dist/baloise-design-system/p-77045369a5.system.entry.js +1 -0
  190. package/dist/baloise-design-system/p-7e55f97a9b.entry.js +1 -0
  191. package/dist/baloise-design-system/p-7e6c509606.entry.js +1 -0
  192. package/dist/baloise-design-system/p-80cae9282e.system.entry.js +1 -0
  193. package/dist/baloise-design-system/p-84d321b4f8.entry.js +1 -0
  194. package/dist/baloise-design-system/p-84de20be7c.entry.js +1 -0
  195. package/dist/baloise-design-system/p-85428cc869.entry.js +1 -0
  196. package/dist/baloise-design-system/p-8670cb3845.entry.js +1 -0
  197. package/dist/baloise-design-system/p-8cff569252.system.entry.js +1 -0
  198. package/dist/baloise-design-system/{p-85f99546f7.system.entry.js → p-8da6979637.system.entry.js} +1 -1
  199. package/dist/baloise-design-system/p-8ebe2676cf.entry.js +1 -0
  200. package/dist/baloise-design-system/p-90d225c57c.system.entry.js +1 -0
  201. package/dist/baloise-design-system/p-93311a064b.system.entry.js +1 -0
  202. package/dist/baloise-design-system/p-93bba463b3.system.entry.js +1 -0
  203. package/dist/baloise-design-system/{p-60249e3303.system.entry.js → p-967ff349ed.system.entry.js} +1 -1
  204. package/dist/baloise-design-system/p-96bf290c11.system.entry.js +1 -0
  205. package/dist/baloise-design-system/{p-a968e7d20a.entry.js → p-996075a13e.entry.js} +1 -1
  206. package/dist/baloise-design-system/p-B-L34nz8.js +1 -0
  207. package/dist/baloise-design-system/p-B1u-Mq75.js +1 -0
  208. package/dist/baloise-design-system/p-B9BMZmYk.js +1 -0
  209. package/dist/baloise-design-system/p-BCtb7Ny9.system.js +1 -0
  210. package/dist/baloise-design-system/{p-D1VPLQ5z.js → p-BERg8BNc.js} +1 -1
  211. package/dist/baloise-design-system/p-BM_oHMik.system.js +1 -0
  212. package/dist/baloise-design-system/p-BNWt5z9B.system.js +1 -0
  213. package/dist/baloise-design-system/p-B_C7V4Sa.js +1 -0
  214. package/dist/baloise-design-system/p-Ba5qjFjW.js +1 -0
  215. package/dist/baloise-design-system/p-BblIE2Vz.system.js +1 -0
  216. package/dist/baloise-design-system/p-Bc9nHL5Q.system.js +1 -0
  217. package/dist/baloise-design-system/p-BdVwMG9u.js +2 -0
  218. package/dist/baloise-design-system/p-BpMXwP_q.system.js +1 -0
  219. package/dist/baloise-design-system/p-BsL4egMT.js +1 -0
  220. package/dist/baloise-design-system/p-BtgFoKGn.js +1 -0
  221. package/dist/baloise-design-system/p-BwTzTXZG.js +1 -0
  222. package/dist/baloise-design-system/{p-Zfrf1YrK.js → p-C20cwFWy.js} +1 -1
  223. package/dist/baloise-design-system/{p-C8rDagP9.system.js → p-C6x8G3mu.system.js} +1 -1
  224. package/dist/baloise-design-system/p-CBUCh83e.js +1 -0
  225. package/dist/baloise-design-system/{p-DXtc2jog.system.js → p-CCoeJzzY.system.js} +1 -1
  226. package/dist/baloise-design-system/p-CDeyBUqm.system.js +1 -0
  227. package/dist/baloise-design-system/{p-hMjQnp7y.js → p-CFUQlsvN.js} +1 -1
  228. package/dist/baloise-design-system/{p-CzMY8q3l.js → p-CI2FR64u.js} +1 -1
  229. package/dist/baloise-design-system/p-CLDmOIBx.system.js +1 -0
  230. package/dist/baloise-design-system/p-CTuoH3RE.system.js +1 -0
  231. package/dist/baloise-design-system/p-CXAw6SMX.system.js +1 -0
  232. package/dist/baloise-design-system/p-C_0MGoKB.js +1 -0
  233. package/dist/baloise-design-system/{p-lN4h2Pow.js → p-CeIZ5hSt.js} +1 -1
  234. package/dist/baloise-design-system/p-CeRECGC7.js +1 -0
  235. package/dist/baloise-design-system/{p-CzSV5e8r.js → p-CpDHeXfo.js} +1 -1
  236. package/dist/baloise-design-system/{p-4RggM_kM.js → p-Crri2rlL.js} +1 -1
  237. package/dist/baloise-design-system/{p-m9_QZ3Uf.system.js → p-CvHtWfhm.system.js} +1 -1
  238. package/dist/baloise-design-system/p-CwWHLbPB.system.js +1 -0
  239. package/dist/baloise-design-system/p-D1opIX9W.system.js +1 -0
  240. package/dist/baloise-design-system/p-D7M-7v58.js +1 -0
  241. package/dist/baloise-design-system/p-D7_eHNTI.system.js +1 -0
  242. package/dist/baloise-design-system/p-D7ovid3w.js +1 -0
  243. package/dist/baloise-design-system/p-D9FHe08C.system.js +1 -0
  244. package/dist/baloise-design-system/{p-D4gL5qCn.system.js → p-DDPYMMGG.system.js} +1 -1
  245. package/dist/baloise-design-system/{p-CInq3uzG.system.js → p-DI-sUHVD.system.js} +1 -1
  246. package/dist/baloise-design-system/p-DL7tjDqO.system.js +1 -0
  247. package/dist/baloise-design-system/p-DNy7adIE.system.js +1 -0
  248. package/dist/baloise-design-system/{p-CpCwptFO.js → p-DOUIg6bI.js} +1 -1
  249. package/dist/baloise-design-system/p-DST0VloN.system.js +1 -0
  250. package/dist/baloise-design-system/p-DV-2u4Pm.system.js +1 -0
  251. package/dist/baloise-design-system/p-DWgCJRpS.system.js +1 -1
  252. package/dist/baloise-design-system/p-DZ_vvO92.js +1 -0
  253. package/dist/baloise-design-system/{p-C9hJ2TuZ.system.js → p-DdX8FaaK.system.js} +1 -1
  254. package/dist/baloise-design-system/p-Dhp6-MTS.system.js +1 -0
  255. package/dist/baloise-design-system/p-DowF7e07.system.js +1 -0
  256. package/dist/baloise-design-system/{p-B5KM7rHn.js → p-Dp4edqFK.js} +1 -1
  257. package/dist/baloise-design-system/p-DsxGYykr.js +1 -0
  258. package/dist/baloise-design-system/{p-SdtgSPca.system.js → p-DtlqgdI2.system.js} +1 -1
  259. package/dist/baloise-design-system/{p-9kAhgg3Z.js → p-Dvgek0Sb.js} +1 -1
  260. package/dist/baloise-design-system/p-Dz-E2PRm.system.js +1 -1
  261. package/dist/baloise-design-system/p-IZFfLjcz.js +1 -0
  262. package/dist/baloise-design-system/{p-cH5PDB1i.js → p-MBsgW7uz.js} +1 -1
  263. package/dist/baloise-design-system/p-PNu_g_s6.system.js +2 -0
  264. package/dist/baloise-design-system/p-TqRS9XF1.system.js +1 -0
  265. package/dist/baloise-design-system/{p-DXVk9Ina.js → p-ZalPEZLa.js} +1 -1
  266. package/dist/baloise-design-system/p-a17017ddc0.system.entry.js +1 -0
  267. package/dist/baloise-design-system/{p-48180ac5f9.system.entry.js → p-a2abd2bae3.system.entry.js} +1 -1
  268. package/dist/baloise-design-system/{p-27c4c637c1.system.entry.js → p-a494f5de47.system.entry.js} +1 -1
  269. package/dist/baloise-design-system/p-a97c5309f7.entry.js +1 -0
  270. package/dist/baloise-design-system/p-abfdce3ea8.system.entry.js +1 -0
  271. package/dist/baloise-design-system/p-ae2946a498.system.entry.js +1 -0
  272. package/dist/baloise-design-system/p-b03de8e7ba.system.entry.js +1 -0
  273. package/dist/baloise-design-system/p-b0b5fa7a40.entry.js +1 -0
  274. package/dist/baloise-design-system/p-b38b2e9484.system.entry.js +1 -0
  275. package/dist/baloise-design-system/{p-0d618c466b.system.entry.js → p-b4e66c496c.system.entry.js} +1 -1
  276. package/dist/baloise-design-system/p-b603676988.entry.js +1 -0
  277. package/dist/baloise-design-system/{p-b06c400104.entry.js → p-b66021b38c.entry.js} +1 -1
  278. package/dist/baloise-design-system/p-b81b635342.system.entry.js +1 -0
  279. package/dist/baloise-design-system/p-b9be7f4ef6.system.entry.js +1 -0
  280. package/dist/baloise-design-system/p-ba0974ae21.system.entry.js +1 -0
  281. package/dist/baloise-design-system/{p-46048d30b3.system.entry.js → p-bd80a9b297.system.entry.js} +1 -1
  282. package/dist/baloise-design-system/p-bf4f338b08.system.entry.js +1 -0
  283. package/dist/baloise-design-system/p-c291d986ba.entry.js +1 -0
  284. package/dist/baloise-design-system/p-c3af6cc44a.system.entry.js +1 -0
  285. package/dist/baloise-design-system/p-c45c863624.entry.js +1 -0
  286. package/dist/baloise-design-system/p-c78c0dd43a.entry.js +1 -0
  287. package/dist/baloise-design-system/p-c983f0df44.entry.js +1 -0
  288. package/dist/baloise-design-system/p-cbc17a1f06.system.entry.js +1 -0
  289. package/dist/baloise-design-system/p-ccf29475c6.entry.js +1 -0
  290. package/dist/baloise-design-system/p-cf749f385e.entry.js +1 -0
  291. package/dist/baloise-design-system/p-cfae4fef4d.entry.js +1 -0
  292. package/dist/baloise-design-system/{p-09bcea6590.entry.js → p-d04073fca3.entry.js} +1 -1
  293. package/dist/baloise-design-system/{p-f5da815d40.system.entry.js → p-d680dc3dd0.system.entry.js} +1 -1
  294. package/dist/baloise-design-system/p-d846f14080.system.entry.js +1 -0
  295. package/dist/baloise-design-system/p-dbb9b3b5e2.system.entry.js +1 -0
  296. package/dist/baloise-design-system/p-df0264e119.system.entry.js +1 -0
  297. package/dist/baloise-design-system/p-e03203e89d.entry.js +1 -0
  298. package/dist/baloise-design-system/p-e2296eb10b.system.entry.js +1 -0
  299. package/dist/baloise-design-system/p-e4154bb891.system.entry.js +1 -0
  300. package/dist/baloise-design-system/p-ea29fa4382.entry.js +1 -0
  301. package/dist/baloise-design-system/p-eb726f11fd.system.entry.js +1 -0
  302. package/dist/baloise-design-system/p-eb9d8029c6.system.entry.js +1 -0
  303. package/dist/baloise-design-system/p-ef841ce7eb.system.entry.js +1 -0
  304. package/dist/baloise-design-system/p-f12905324e.system.entry.js +1 -0
  305. package/dist/baloise-design-system/p-f2232ea09f.entry.js +1 -0
  306. package/dist/baloise-design-system/p-f348ec6012.entry.js +1 -0
  307. package/dist/baloise-design-system/p-f51b5f779a.entry.js +1 -0
  308. package/dist/baloise-design-system/{p-845bb5b65f.entry.js → p-f7b16f08ab.entry.js} +1 -1
  309. package/dist/baloise-design-system/{p-09dea19d2d.entry.js → p-fdb00a8fdc.entry.js} +1 -1
  310. package/dist/baloise-design-system/p-hcWLO6Gg.js +1 -0
  311. package/dist/baloise-design-system/{p-BUT7svFW.js → p-j851_ZaC.js} +1 -1
  312. package/dist/baloise-design-system/p-jQQqRgMt.system.js +1 -0
  313. package/dist/baloise-design-system/p-wAfnccKA.system.js +1 -0
  314. package/dist/baloise-design-system/{p-D4O83t4p.system.js → p-xlS5vO33.system.js} +1 -1
  315. package/dist/cjs/{animation.decorator-DvBKgd0w.js → animation.decorator-B4NJvcMF.js} +9 -9
  316. package/dist/cjs/app-globals-C_KNnTwa.js +11 -0
  317. package/dist/cjs/bal-accordion_4.cjs.entry.js +24 -19
  318. package/dist/cjs/bal-app.cjs.entry.js +20 -14
  319. package/dist/cjs/bal-badge.cjs.entry.js +2 -2
  320. package/dist/cjs/bal-button_2.cjs.entry.js +5 -2
  321. package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
  322. package/dist/cjs/bal-carousel_2.cjs.entry.js +31 -29
  323. package/dist/cjs/bal-check.cjs.entry.js +1 -1
  324. package/dist/cjs/bal-checkbox_2.cjs.entry.js +16 -12
  325. package/dist/cjs/bal-close.cjs.entry.js +9 -5
  326. package/dist/cjs/bal-content.cjs.entry.js +4 -2
  327. package/dist/cjs/bal-data_4.cjs.entry.js +6 -3
  328. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +5 -2
  329. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +33 -44
  330. package/dist/cjs/bal-date.cjs.entry.js +29 -25
  331. package/dist/cjs/bal-divider.cjs.entry.js +4 -2
  332. package/dist/cjs/{bal-dropdown.cjs.entry.js → bal-dropdown_3.cjs.entry.js} +634 -40
  333. package/dist/cjs/bal-field_5.cjs.entry.js +14 -14
  334. package/dist/cjs/bal-file-upload.cjs.entry.js +16 -21
  335. package/dist/cjs/bal-footer.cjs.entry.js +14 -9
  336. package/dist/cjs/bal-form-col_2.cjs.entry.js +3 -3
  337. package/dist/cjs/bal-form.cjs.entry.js +7 -4
  338. package/dist/cjs/bal-heading_2.cjs.entry.js +4 -3
  339. package/dist/cjs/bal-hint_5.cjs.entry.js +22 -18
  340. package/dist/cjs/bal-icon.cjs.entry.js +7 -3
  341. package/dist/cjs/bal-input-group.cjs.entry.js +2 -2
  342. package/dist/cjs/bal-input-slider.cjs.entry.js +10 -7
  343. package/dist/cjs/bal-input-stepper.cjs.entry.js +1035 -1061
  344. package/dist/cjs/bal-input.cjs.entry.js +9 -5
  345. package/dist/cjs/bal-label.cjs.entry.js +11 -7
  346. package/dist/cjs/bal-list_8.cjs.entry.js +33 -29
  347. package/dist/cjs/bal-logo.cjs.entry.js +13 -9
  348. package/dist/cjs/bal-modal_3.cjs.entry.js +33 -30
  349. package/dist/cjs/bal-nav_8.cjs.entry.js +62 -82
  350. package/dist/cjs/bal-navbar_5.cjs.entry.js +19 -14
  351. package/dist/cjs/bal-notices_3.cjs.entry.js +2 -2
  352. package/dist/cjs/bal-notification.cjs.entry.js +1 -1
  353. package/dist/cjs/bal-number-input.cjs.entry.js +14 -9
  354. package/dist/cjs/bal-pagination.cjs.entry.js +13 -8
  355. package/dist/cjs/bal-popup.cjs.entry.js +17 -13
  356. package/dist/cjs/bal-progress-bar.cjs.entry.js +12 -10
  357. package/dist/cjs/bal-radio-icon.cjs.entry.js +1 -1
  358. package/dist/cjs/bal-radio_2.cjs.entry.js +16 -12
  359. package/dist/cjs/bal-segment_2.cjs.entry.js +24 -21
  360. package/dist/cjs/bal-select_2.cjs.entry.js +20 -16
  361. package/dist/cjs/bal-shape.cjs.entry.js +6 -6
  362. package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
  363. package/dist/cjs/bal-spinner.cjs.entry.js +12 -7
  364. package/dist/cjs/bal-stack.cjs.entry.js +4 -2
  365. package/dist/cjs/bal-stage_6.cjs.entry.js +11 -8
  366. package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
  367. package/dist/cjs/bal-steps.cjs.entry.js +18 -20
  368. package/dist/cjs/bal-switch.cjs.entry.js +1 -1
  369. package/dist/cjs/bal-tab-item_2.cjs.entry.js +55 -65
  370. package/dist/cjs/bal-table.cjs.entry.js +2 -2
  371. package/dist/cjs/bal-tag_2.cjs.entry.js +3 -3
  372. package/dist/cjs/bal-textarea.cjs.entry.js +7 -4
  373. package/dist/cjs/bal-time-input.cjs.entry.js +13 -8
  374. package/dist/cjs/bal-tooltip.cjs.entry.js +11 -7
  375. package/dist/cjs/baloise-design-system.cjs.js +11 -4
  376. package/dist/cjs/{breakpoints.decorator-Bcx5bHdk.js → breakpoints.decorator-DyuVBCe8.js} +1 -1
  377. package/dist/cjs/{breakpoints.subject-DyM7928g.js → breakpoints.subject-dnWvx514.js} +17 -16
  378. package/dist/cjs/browser-BwmkTmm8.js +64 -0
  379. package/dist/cjs/{config.decorator-D_YTqpYj.js → config.decorator-CUe4yCTd.js} +3 -3
  380. package/dist/cjs/config.default-Bkso4_bY.js +50 -0
  381. package/dist/cjs/config.utils-Civnz2jT.js +142 -0
  382. package/dist/cjs/{date-CA-bG6cD.js → date-BPyuc34s.js} +69 -5
  383. package/dist/cjs/{device-CrnZOym8.js → device-CoogBamh.js} +5 -5
  384. package/dist/cjs/{element-states.decorator-0udYH_TL.js → element-states.decorator-BG2oNUsO.js} +13 -12
  385. package/dist/cjs/{floating-ui-T_yqQ0TC.js → floating-ui-DyN44UhF.js} +2 -2
  386. package/dist/cjs/{focus.decorator-Bu4qsoNG.js → focus.decorator-BL2kLsNv.js} +10 -9
  387. package/dist/cjs/{form-input-DBZuEpuy.js → form-input-BwFB4Rej.js} +2 -2
  388. package/dist/cjs/helpers-HuaiWXrB.js +331 -0
  389. package/dist/{esm/index-BgWhYta3.js → cjs/index-feA4skrY.js} +215 -1152
  390. package/dist/cjs/index.cjs.js +60 -56
  391. package/dist/cjs/initialize-CWGvp-PN.js +448 -0
  392. package/dist/cjs/{listener-h1eTpBYL.js → listener-DspXpqzY.js} +2 -2
  393. package/dist/cjs/loader.cjs.js +10 -3
  394. package/dist/cjs/log-CXDMiw7o.js +80 -0
  395. package/dist/cjs/{mutation.decorator-C3JICFwA.js → mutation.decorator-BolUYaKD.js} +5 -5
  396. package/dist/cjs/{number-B6kudt4D.js → number-COdZG-wK.js} +4 -3
  397. package/dist/cjs/{overlays-CkF6MI3c.js → overlays-DQGlu5jj.js} +5 -4
  398. package/dist/cjs/{resize.decorator-Cxv0R8v_.js → resize.decorator-ChuFQ8x3.js} +6 -5
  399. package/dist/cjs/{scroll-DU1EZHWg.js → scroll-B_kvfDui.js} +5 -5
  400. package/dist/cjs/{swiper.util-B4hvYgKv.js → string-CKS6CsMi.js} +28 -32
  401. package/dist/cjs/{swipe.decorator-B69SZ4Jn.js → swipe.decorator-BZYUlkYt.js} +1 -1
  402. package/dist/cjs/{swipe.subject-BbLTKDyB.js → swipe.subject-BaKNugDQ.js} +4 -4
  403. package/dist/cjs/{tokens.esm-yrgVVjY8.js → tokens.esm-CNpvwEnI.js} +1 -1
  404. package/dist/cjs/{visibility.decorator-CC35M6Un.js → visibility.decorator-DTARY-5M.js} +5 -5
  405. package/dist/cjs/window-resize.decorator-Ck1Zfh6H.js +48 -0
  406. package/dist/collection/collection-manifest.json +3 -7
  407. package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +5 -5
  408. package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +7 -7
  409. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +12 -12
  410. package/dist/collection/components/bal-accordion/bal-accordion.js +13 -14
  411. package/dist/collection/components/bal-app/bal-app.js +26 -7
  412. package/dist/collection/components/bal-badge/bal-badge.js +6 -6
  413. package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +3 -3
  414. package/dist/collection/components/bal-button/bal-button.js +31 -31
  415. package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +1 -1
  416. package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +10 -10
  417. package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +3 -3
  418. package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -1
  419. package/dist/collection/components/bal-card/bal-card.js +9 -9
  420. package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +17 -17
  421. package/dist/collection/components/bal-carousel/bal-carousel.js +20 -20
  422. package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +6 -6
  423. package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +13 -15
  424. package/dist/collection/components/bal-checkbox/bal-checkbox.js +20 -20
  425. package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +5 -5
  426. package/dist/collection/components/bal-close/bal-close.js +4 -4
  427. package/dist/collection/components/bal-content/bal-content.js +5 -5
  428. package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +2 -2
  429. package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -1
  430. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +6 -6
  431. package/dist/collection/components/bal-data/bal-data.js +2 -2
  432. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +13 -14
  433. package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +13 -13
  434. package/dist/collection/components/bal-date/bal-date.js +26 -27
  435. package/dist/collection/components/bal-divider/bal-divider.js +4 -4
  436. package/dist/collection/components/bal-dropdown/bal-dropdown.js +21 -22
  437. package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +4 -4
  438. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +4 -4
  439. package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +8 -8
  440. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +6 -6
  441. package/dist/collection/components/bal-field/bal-field.js +11 -11
  442. package/dist/collection/components/bal-file-upload/bal-file-upload.js +25 -27
  443. package/dist/collection/components/bal-footer/bal-footer.js +5 -6
  444. package/dist/collection/components/bal-form/bal-form.js +4 -4
  445. package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +3 -3
  446. package/dist/collection/components/bal-heading/bal-heading.js +14 -14
  447. package/dist/collection/components/bal-hint/bal-hint.css +1 -1
  448. package/dist/collection/components/bal-hint/bal-hint.js +3 -3
  449. package/dist/collection/components/bal-icon/bal-icon.js +16 -16
  450. package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +19 -19
  451. package/dist/collection/components/bal-input/bal-input.js +41 -41
  452. package/dist/collection/components/bal-input-group/bal-input-group.js +4 -4
  453. package/dist/collection/components/bal-input-slider/bal-input-slider.js +19 -19
  454. package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +11 -11
  455. package/dist/collection/components/bal-label/bal-label.js +15 -15
  456. package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +11 -11
  457. package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +7 -7
  458. package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +4 -4
  459. package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
  460. package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +1 -1
  461. package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +3 -3
  462. package/dist/collection/components/bal-list/bal-list.js +7 -7
  463. package/dist/collection/components/bal-logo/bal-logo.js +6 -6
  464. package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
  465. package/dist/collection/components/bal-modal/bal-modal.js +24 -26
  466. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +8 -8
  467. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
  468. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
  469. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +4 -4
  470. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +2 -2
  471. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +8 -8
  472. package/dist/collection/components/bal-nav/bal-nav.js +2 -5
  473. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +14 -14
  474. package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
  475. package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
  476. package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
  477. package/dist/collection/components/bal-navbar/bal-navbar.js +3 -3
  478. package/dist/collection/components/bal-notices/bal-notices.css +1 -1
  479. package/dist/collection/components/bal-notices/bal-notices.js +3 -3
  480. package/dist/collection/components/bal-notification/bal-notification.js +3 -3
  481. package/dist/collection/components/bal-number-input/bal-number-input.js +22 -22
  482. package/dist/collection/components/bal-option/bal-option.js +9 -9
  483. package/dist/collection/components/bal-option-list/bal-option-list.js +11 -11
  484. package/dist/collection/components/bal-pagination/bal-pagination.js +9 -9
  485. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +11 -11
  486. package/dist/collection/components/bal-popover/bal-popover.js +16 -16
  487. package/dist/collection/components/bal-popup/bal-popup.js +15 -15
  488. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +6 -6
  489. package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +15 -16
  490. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +6 -6
  491. package/dist/collection/components/bal-radio/bal-radio.js +19 -19
  492. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +7 -7
  493. package/dist/collection/components/bal-segment/bal-segment.js +9 -9
  494. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +6 -6
  495. package/dist/collection/components/bal-select/bal-select.js +30 -30
  496. package/dist/collection/components/bal-shape/bal-shape.js +7 -7
  497. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
  498. package/dist/collection/components/bal-snackbar/bal-snackbar.js +9 -11
  499. package/dist/collection/components/bal-spinner/bal-spinner.js +9 -10
  500. package/dist/collection/components/bal-stack/bal-stack.js +13 -13
  501. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +8 -8
  502. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  503. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  504. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  505. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +7 -7
  506. package/dist/collection/components/bal-stage/bal-stage.js +8 -8
  507. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +14 -14
  508. package/dist/collection/components/bal-steps/bal-steps.js +10 -11
  509. package/dist/collection/components/bal-table/bal-table.js +2 -2
  510. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +19 -19
  511. package/dist/collection/components/bal-tabs/bal-tabs.js +22 -23
  512. package/dist/collection/components/bal-tag/bal-tag.js +10 -10
  513. package/dist/collection/components/bal-tag/test/bal-tag.a11y.play.js +20 -0
  514. package/dist/collection/components/bal-tag/test/bal-tag.component.play.js +19 -0
  515. package/dist/collection/components/bal-tag/test/bal-tag.visual.play.js +20 -0
  516. package/dist/collection/components/bal-text/bal-text.js +13 -13
  517. package/dist/collection/components/bal-textarea/bal-textarea.js +27 -27
  518. package/dist/collection/components/bal-time-input/bal-time-input.js +9 -9
  519. package/dist/collection/components/bal-toast/bal-toast.js +4 -5
  520. package/dist/collection/components/bal-tooltip/bal-tooltip.js +10 -10
  521. package/dist/collection/utils/constants/version.constant.js +1 -1
  522. package/dist/collection/utils/focus/focus.listener.js +1 -1
  523. package/dist/collection/utils/helpers.js +1 -1
  524. package/dist/collection/utils/swipe/swipe.listener.js +1 -1
  525. package/dist/esm/{animation.decorator-CNK3bJ6X.js → animation.decorator-zbSqKhw6.js} +2 -2
  526. package/dist/esm/app-globals-BRqdW0lU.js +9 -0
  527. package/dist/esm/bal-accordion_4.entry.js +12 -7
  528. package/dist/esm/bal-app.entry.js +10 -4
  529. package/dist/esm/bal-badge.entry.js +2 -2
  530. package/dist/esm/bal-button_2.entry.js +4 -1
  531. package/dist/esm/bal-card_6.entry.js +1 -1
  532. package/dist/esm/bal-carousel_2.entry.js +27 -25
  533. package/dist/esm/bal-check.entry.js +1 -1
  534. package/dist/esm/bal-checkbox_2.entry.js +11 -7
  535. package/dist/esm/bal-close.entry.js +7 -3
  536. package/dist/esm/bal-content.entry.js +3 -1
  537. package/dist/esm/bal-data_4.entry.js +6 -3
  538. package/dist/esm/bal-date-calendar-cell.entry.js +5 -2
  539. package/dist/esm/bal-date-calendar_2.entry.js +25 -36
  540. package/dist/esm/bal-date.entry.js +12 -8
  541. package/dist/esm/bal-divider.entry.js +3 -1
  542. package/dist/esm/{bal-dropdown.entry.js → bal-dropdown_3.entry.js} +612 -20
  543. package/dist/esm/bal-field_5.entry.js +12 -12
  544. package/dist/esm/bal-file-upload.entry.js +15 -20
  545. package/dist/esm/bal-footer.entry.js +7 -2
  546. package/dist/esm/bal-form-col_2.entry.js +3 -3
  547. package/dist/esm/bal-form.entry.js +5 -2
  548. package/dist/esm/bal-heading_2.entry.js +3 -2
  549. package/dist/esm/bal-hint_5.entry.js +17 -13
  550. package/dist/esm/bal-icon.entry.js +6 -2
  551. package/dist/esm/bal-input-group.entry.js +2 -2
  552. package/dist/esm/bal-input-slider.entry.js +9 -6
  553. package/dist/esm/bal-input-stepper.entry.js +1029 -1055
  554. package/dist/esm/bal-input.entry.js +7 -3
  555. package/dist/esm/bal-label.entry.js +8 -4
  556. package/dist/esm/bal-list_8.entry.js +21 -17
  557. package/dist/esm/bal-logo.entry.js +11 -7
  558. package/dist/esm/bal-modal_3.entry.js +28 -25
  559. package/dist/esm/bal-nav_8.entry.js +40 -60
  560. package/dist/esm/bal-navbar_5.entry.js +14 -9
  561. package/dist/esm/bal-notices_3.entry.js +2 -2
  562. package/dist/esm/bal-notification.entry.js +1 -1
  563. package/dist/esm/bal-number-input.entry.js +10 -5
  564. package/dist/esm/bal-pagination.entry.js +12 -7
  565. package/dist/esm/bal-popup.entry.js +9 -5
  566. package/dist/esm/bal-progress-bar.entry.js +11 -9
  567. package/dist/esm/bal-radio-icon.entry.js +1 -1
  568. package/dist/esm/bal-radio_2.entry.js +10 -6
  569. package/dist/esm/bal-segment_2.entry.js +18 -15
  570. package/dist/esm/bal-select_2.entry.js +13 -9
  571. package/dist/esm/bal-shape.entry.js +6 -6
  572. package/dist/esm/bal-sheet.entry.js +1 -1
  573. package/dist/esm/bal-spinner.entry.js +8 -3
  574. package/dist/esm/bal-stack.entry.js +3 -1
  575. package/dist/esm/bal-stage_6.entry.js +10 -7
  576. package/dist/esm/bal-step-item.entry.js +3 -3
  577. package/dist/esm/bal-steps.entry.js +16 -18
  578. package/dist/esm/bal-switch.entry.js +1 -1
  579. package/dist/esm/bal-tab-item_2.entry.js +37 -47
  580. package/dist/esm/bal-table.entry.js +2 -2
  581. package/dist/esm/bal-tag_2.entry.js +3 -3
  582. package/dist/esm/bal-textarea.entry.js +6 -3
  583. package/dist/esm/bal-time-input.entry.js +9 -4
  584. package/dist/esm/bal-tooltip.entry.js +8 -4
  585. package/dist/esm/baloise-design-system.js +11 -4
  586. package/dist/esm/{breakpoints.decorator-CB70vvLx.js → breakpoints.decorator-B1jmHb1D.js} +1 -1
  587. package/dist/esm/{breakpoints.subject-Dpu4Jjc3.js → breakpoints.subject-CLkQ75F0.js} +5 -4
  588. package/dist/esm/browser-B1u-Mq75.js +62 -0
  589. package/dist/esm/{config.decorator-FwS7csea.js → config.decorator-3bfyZ-0Y.js} +1 -1
  590. package/dist/esm/config.default-I6QXKbhg.js +47 -0
  591. package/dist/esm/config.utils-B7jugjyM.js +102 -0
  592. package/dist/esm/{date-wScrQINJ.js → date-W0XtD641.js} +65 -2
  593. package/dist/esm/{device-CWdcsnSc.js → device-TtMibDFL.js} +1 -1
  594. package/dist/esm/{element-states.decorator-BPErBZif.js → element-states.decorator-B68ANq1p.js} +3 -2
  595. package/dist/esm/{floating-ui-CNYJCYYO.js → floating-ui-Bx04QSXP.js} +1 -1
  596. package/dist/esm/{focus.decorator-BBUVspZX.js → focus.decorator-C1s3OoqI.js} +3 -2
  597. package/dist/esm/{form-input-Dv0N9pEu.js → form-input-DYvzaBlM.js} +1 -1
  598. package/dist/esm/helpers-BNj87EbG.js +307 -0
  599. package/dist/{cjs/index-TwNDE7ev.js → esm/index-BdVwMG9u.js} +204 -1207
  600. package/dist/esm/index.js +18 -14
  601. package/dist/esm/initialize-pdWsVO-c.js +441 -0
  602. package/dist/esm/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-BERg8BNc.js} +1 -1
  603. package/dist/esm/{listener-BCxt7kj7.js → listener-CClDIhvK.js} +1 -1
  604. package/dist/esm/loader.js +10 -3
  605. package/dist/esm/log-CwssmmaV.js +77 -0
  606. package/dist/esm/{mutation.decorator-DVnSOGDK.js → mutation.decorator-DhVeNnnY.js} +2 -2
  607. package/dist/esm/{number-oUZz7C1l.js → number-Bwx2aNR0.js} +2 -1
  608. package/dist/esm/{overlays-B9nzshwp.js → overlays-DuvWMrlA.js} +2 -1
  609. package/dist/esm/{resize.decorator-xO0LVkHO.js → resize.decorator-ZKPOJfw5.js} +3 -2
  610. package/dist/esm/{scroll-Dhp_eUkh.js → scroll-X92R_eyZ.js} +1 -1
  611. package/dist/esm/{swiper.util-vb9wIkyd.js → string-Dk4PnSfl.js} +18 -22
  612. package/dist/esm/{swipe.decorator-Bk0DXvq0.js → swipe.decorator-B_Ghrp1o.js} +1 -1
  613. package/dist/esm/{swipe.subject-CCKruupP.js → swipe.subject-T0VStuOK.js} +3 -3
  614. package/dist/esm/{tokens.esm-4RggM_kM.js → tokens.esm-Crri2rlL.js} +2 -2
  615. package/dist/esm/{visibility.decorator-C5quU420.js → visibility.decorator-zTjPC2du.js} +2 -2
  616. package/dist/esm/{window-resize.decorator-tooGxqQM.js → window-resize.decorator-Dm6C96Ro.js} +24 -1
  617. package/dist/esm-es5/animation.decorator-zbSqKhw6.js +1 -0
  618. package/dist/esm-es5/app-globals-BRqdW0lU.js +1 -0
  619. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  620. package/dist/esm-es5/bal-app.entry.js +1 -1
  621. package/dist/esm-es5/bal-badge.entry.js +1 -1
  622. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  623. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  624. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  625. package/dist/esm-es5/bal-check.entry.js +1 -1
  626. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  627. package/dist/esm-es5/bal-close.entry.js +1 -1
  628. package/dist/esm-es5/bal-content.entry.js +1 -1
  629. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  630. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  631. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  632. package/dist/esm-es5/bal-date.entry.js +1 -1
  633. package/dist/esm-es5/bal-divider.entry.js +1 -1
  634. package/dist/esm-es5/bal-dropdown_3.entry.js +1 -0
  635. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  636. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  637. package/dist/esm-es5/bal-footer.entry.js +1 -1
  638. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  639. package/dist/esm-es5/bal-form.entry.js +1 -1
  640. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  641. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  642. package/dist/esm-es5/bal-icon.entry.js +1 -1
  643. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  644. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  645. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  646. package/dist/esm-es5/bal-input.entry.js +1 -1
  647. package/dist/esm-es5/bal-label.entry.js +1 -1
  648. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  649. package/dist/esm-es5/bal-logo.entry.js +1 -1
  650. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  651. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  652. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  653. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  654. package/dist/esm-es5/bal-notification.entry.js +1 -1
  655. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  656. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  657. package/dist/esm-es5/bal-popup.entry.js +1 -1
  658. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  659. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  660. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  661. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  662. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  663. package/dist/esm-es5/bal-shape.entry.js +1 -1
  664. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  665. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  666. package/dist/esm-es5/bal-stack.entry.js +1 -1
  667. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  668. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  669. package/dist/esm-es5/bal-steps.entry.js +1 -1
  670. package/dist/esm-es5/bal-switch.entry.js +1 -1
  671. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  672. package/dist/esm-es5/bal-table.entry.js +1 -1
  673. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  674. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  675. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  676. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  677. package/dist/esm-es5/baloise-design-system.js +1 -1
  678. package/dist/esm-es5/{breakpoints.decorator-CB70vvLx.js → breakpoints.decorator-B1jmHb1D.js} +1 -1
  679. package/dist/esm-es5/breakpoints.subject-CLkQ75F0.js +1 -0
  680. package/dist/esm-es5/browser-B1u-Mq75.js +1 -0
  681. package/dist/esm-es5/config.decorator-3bfyZ-0Y.js +1 -0
  682. package/dist/esm-es5/config.default-I6QXKbhg.js +1 -0
  683. package/dist/esm-es5/config.utils-B7jugjyM.js +1 -0
  684. package/dist/esm-es5/{date-wScrQINJ.js → date-W0XtD641.js} +1 -1
  685. package/dist/esm-es5/device-TtMibDFL.js +1 -0
  686. package/dist/esm-es5/element-states.decorator-B68ANq1p.js +1 -0
  687. package/dist/esm-es5/floating-ui-Bx04QSXP.js +1 -0
  688. package/dist/esm-es5/focus.decorator-C1s3OoqI.js +1 -0
  689. package/dist/esm-es5/form-input-DYvzaBlM.js +1 -0
  690. package/dist/esm-es5/helpers-BNj87EbG.js +1 -0
  691. package/dist/esm-es5/index-BdVwMG9u.js +2 -0
  692. package/dist/esm-es5/index.js +1 -1
  693. package/dist/esm-es5/initialize-pdWsVO-c.js +1 -0
  694. package/dist/esm-es5/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-BERg8BNc.js} +1 -1
  695. package/dist/esm-es5/listener-CClDIhvK.js +1 -0
  696. package/dist/esm-es5/loader.js +1 -1
  697. package/dist/esm-es5/log-CwssmmaV.js +1 -0
  698. package/dist/esm-es5/mutation.decorator-DhVeNnnY.js +1 -0
  699. package/dist/esm-es5/number-Bwx2aNR0.js +1 -0
  700. package/dist/esm-es5/overlays-DuvWMrlA.js +1 -0
  701. package/dist/esm-es5/resize.decorator-ZKPOJfw5.js +1 -0
  702. package/dist/esm-es5/scroll-X92R_eyZ.js +1 -0
  703. package/dist/esm-es5/string-Dk4PnSfl.js +1 -0
  704. package/dist/esm-es5/{swipe.decorator-Bk0DXvq0.js → swipe.decorator-B_Ghrp1o.js} +1 -1
  705. package/dist/esm-es5/swipe.subject-T0VStuOK.js +1 -0
  706. package/dist/esm-es5/{tokens.esm-4RggM_kM.js → tokens.esm-Crri2rlL.js} +1 -1
  707. package/dist/esm-es5/visibility.decorator-zTjPC2du.js +1 -0
  708. package/dist/esm-es5/window-resize.decorator-Dm6C96Ro.js +1 -0
  709. package/dist/html.html-data.json +1 -62
  710. package/dist/types/components/bal-accordion/bal-accordion-details/bal-accordion-details.d.ts +3 -2
  711. package/dist/types/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.d.ts +3 -2
  712. package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +4 -3
  713. package/dist/types/components/bal-accordion/bal-accordion.d.ts +4 -3
  714. package/dist/types/components/bal-app/bal-app.d.ts +7 -1
  715. package/dist/types/components/bal-badge/bal-badge.d.ts +2 -1
  716. package/dist/types/components/bal-button/bal-button.d.ts +2 -1
  717. package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +2 -1
  718. package/dist/types/components/bal-carousel/bal-carousel.d.ts +4 -3
  719. package/dist/types/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.d.ts +2 -1
  720. package/dist/types/components/bal-close/bal-close.d.ts +2 -1
  721. package/dist/types/components/bal-data/bal-data-value/bal-data-value.d.ts +2 -1
  722. package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.d.ts +2 -1
  723. package/dist/types/components/bal-date/bal-date.d.ts +2 -1
  724. package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +2 -1
  725. package/dist/types/components/bal-field/bal-field.d.ts +3 -3
  726. package/dist/types/components/bal-file-upload/bal-file-upload.d.ts +3 -2
  727. package/dist/types/components/bal-form/bal-form.d.ts +2 -1
  728. package/dist/types/components/bal-form-grid/bal-form-col/bal-form-col.d.ts +2 -1
  729. package/dist/types/components/bal-heading/bal-heading.d.ts +2 -1
  730. package/dist/types/components/bal-input/bal-input-date/bal-input-date.d.ts +2 -1
  731. package/dist/types/components/bal-input/bal-input.d.ts +2 -1
  732. package/dist/types/components/bal-input-group/bal-input-group.d.ts +2 -1
  733. package/dist/types/components/bal-input-slider/bal-input-slider.d.ts +2 -1
  734. package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +2 -1
  735. package/dist/types/components/bal-label/bal-label.d.ts +4 -3
  736. package/dist/types/components/bal-list/bal-list-item/bal-list-item.d.ts +2 -1
  737. package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +2 -1
  738. package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +2 -1
  739. package/dist/types/components/bal-list/bal-list.d.ts +2 -1
  740. package/dist/types/components/bal-logo/bal-logo.d.ts +3 -2
  741. package/dist/types/components/bal-modal/bal-modal-header/bal-modal-header.d.ts +2 -1
  742. package/dist/types/components/bal-modal/bal-modal.d.ts +2 -1
  743. package/dist/types/components/bal-modal/bal-modal.type.d.ts +2 -1
  744. package/dist/types/components/bal-nav/bal-nav-focus.util.d.ts +3 -2
  745. package/dist/types/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.d.ts +2 -1
  746. package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +2 -1
  747. package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.d.ts +2 -1
  748. package/dist/types/components/bal-nav/bal-nav.d.ts +2 -1
  749. package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +2 -1
  750. package/dist/types/components/bal-number-input/bal-number-input.d.ts +2 -1
  751. package/dist/types/components/bal-option/bal-option.d.ts +2 -1
  752. package/dist/types/components/bal-option-list/bal-option-list.d.ts +4 -3
  753. package/dist/types/components/bal-popover/bal-popover-content/bal-popover-content.d.ts +2 -1
  754. package/dist/types/components/bal-popover/bal-popover.d.ts +4 -3
  755. package/dist/types/components/bal-popup/bal-popup.d.ts +2 -1
  756. package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +2 -1
  757. package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +2 -1
  758. package/dist/types/components/bal-radio/bal-radio-group/bal-radio-group.d.ts +2 -1
  759. package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +2 -1
  760. package/dist/types/components/bal-segment/bal-segment.d.ts +2 -1
  761. package/dist/types/components/bal-select/bal-select.d.ts +2 -1
  762. package/dist/types/components/bal-select/utils/watch-options.d.ts +2 -1
  763. package/dist/types/components/bal-shape/bal-shape.d.ts +2 -1
  764. package/dist/types/components/bal-spinner/bal-spinner.d.ts +3 -2
  765. package/dist/types/components/bal-stage/bal-stage-back-link/bal-stage-back-link.d.ts +2 -1
  766. package/dist/types/components/bal-stage/bal-stage-body/bal-stage-body.d.ts +2 -1
  767. package/dist/types/components/bal-stage/bal-stage-foot/bal-stage-foot.d.ts +2 -1
  768. package/dist/types/components/bal-stage/bal-stage-head/bal-stage-head.d.ts +2 -1
  769. package/dist/types/components/bal-stage/bal-stage-image/bal-stage-image.d.ts +2 -1
  770. package/dist/types/components/bal-steps/bal-step-item/bal-step-item.d.ts +2 -1
  771. package/dist/types/components/bal-steps/bal-steps.d.ts +5 -4
  772. package/dist/types/components/bal-table/bal-table.d.ts +2 -1
  773. package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +2 -1
  774. package/dist/types/components/bal-tabs/bal-tabs.d.ts +2 -1
  775. package/dist/types/components/bal-tag/bal-tag.d.ts +2 -1
  776. package/dist/types/components/bal-tag/test/bal-tag.a11y.play.d.ts +1 -0
  777. package/dist/types/components/bal-tag/test/bal-tag.component.play.d.ts +1 -0
  778. package/dist/types/components/bal-tag/test/bal-tag.visual.play.d.ts +1 -0
  779. package/dist/types/components/bal-textarea/bal-textarea.d.ts +2 -1
  780. package/dist/types/components/bal-time-input/bal-time-input.d.ts +2 -1
  781. package/dist/types/components/bal-tooltip/bal-tooltip.d.ts +2 -1
  782. package/dist/types/components.d.ts +20 -1
  783. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/index.d.ts +8 -0
  784. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/bal-tag.po.d.ts +8 -0
  785. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +1 -0
  786. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/page-object.d.ts +7 -0
  787. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/extend.d.ts +9 -0
  788. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/functions/a11y.d.ts +2 -0
  789. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/index.d.ts +12 -0
  790. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-first-received-event-detail.d.ts +5 -0
  791. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-nth-received-event-detail.d.ts +5 -0
  792. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event-detail.d.ts +5 -0
  793. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event-times.d.ts +5 -0
  794. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event.d.ts +5 -0
  795. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/event-spy.d.ts +44 -0
  796. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +8 -0
  797. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/index.d.ts +5 -0
  798. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/locator.d.ts +21 -0
  799. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/mount.d.ts +3 -0
  800. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/spy-on-event.d.ts +3 -0
  801. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/wait-for-changes.d.ts +2 -0
  802. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/screenshot.d.ts +1 -0
  803. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/test-expect.d.ts +22 -0
  804. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/types.d.ts +38 -0
  805. package/dist/types/stencil-public-runtime.d.ts +62 -8
  806. package/dist/types/utils/animation/animation.interfaces.d.ts +3 -2
  807. package/dist/types/utils/animation/animation.listener.d.ts +2 -1
  808. package/dist/types/utils/attributes.d.ts +3 -2
  809. package/dist/types/utils/bem.d.ts +2 -2
  810. package/dist/types/utils/dropdown/component.d.ts +2 -1
  811. package/dist/types/utils/dropdown/popup.d.ts +2 -1
  812. package/dist/types/utils/element-states/element-states.interfaces.d.ts +2 -1
  813. package/dist/types/utils/element-states/element-states.listener.d.ts +2 -1
  814. package/dist/types/utils/focus/focus.interfaces.d.ts +2 -1
  815. package/dist/types/utils/focus/focus.listener.d.ts +2 -1
  816. package/dist/types/utils/form-input.d.ts +2 -1
  817. package/dist/types/utils/form.d.ts +2 -1
  818. package/dist/types/utils/helpers.d.ts +6 -5
  819. package/dist/types/utils/mask/component/mask-component-interfaces.d.ts +2 -1
  820. package/dist/types/utils/mutation/mutation.interfaces.d.ts +2 -1
  821. package/dist/types/utils/mutation/mutation.listener.d.ts +2 -1
  822. package/dist/types/utils/overlays/overlays.d.ts +2 -2
  823. package/dist/types/utils/resize/resize.interfaces.d.ts +2 -1
  824. package/dist/types/utils/resize/resize.listener.d.ts +2 -1
  825. package/dist/types/utils/resize/window-resize.interfaces.d.ts +2 -1
  826. package/dist/types/utils/style.d.ts +2 -1
  827. package/dist/types/utils/swipe/swipe.interfaces.d.ts +2 -1
  828. package/dist/types/utils/swipe/swipe.listener.d.ts +2 -1
  829. package/dist/types/utils/swiper/swiper.type.d.ts +3 -2
  830. package/dist/types/utils/types/listener.d.ts +3 -2
  831. package/dist/types/utils/visibility/visibility.interfaces.d.ts +2 -1
  832. package/dist/types/utils/visibility/visibility.listener.d.ts +2 -1
  833. package/package.json +10 -7
  834. package/components/bal-toast.controller.js +0 -127
  835. package/components/window-resize.listener.js +0 -80
  836. package/components/window-resize.subject.js +0 -26
  837. package/dist/baloise-design-system/p-0907fd261f.entry.js +0 -1
  838. package/dist/baloise-design-system/p-09348ab262.system.entry.js +0 -1
  839. package/dist/baloise-design-system/p-0986fe6bd0.system.entry.js +0 -1
  840. package/dist/baloise-design-system/p-0fad8a1e31.entry.js +0 -1
  841. package/dist/baloise-design-system/p-0fe98f59a4.system.entry.js +0 -1
  842. package/dist/baloise-design-system/p-10d754691a.entry.js +0 -1
  843. package/dist/baloise-design-system/p-113691a62f.entry.js +0 -1
  844. package/dist/baloise-design-system/p-1516c91d4e.entry.js +0 -1
  845. package/dist/baloise-design-system/p-1638d00f2d.system.entry.js +0 -1
  846. package/dist/baloise-design-system/p-1744fb223c.entry.js +0 -1
  847. package/dist/baloise-design-system/p-1a1b714236.entry.js +0 -1
  848. package/dist/baloise-design-system/p-1a48f63b91.entry.js +0 -1
  849. package/dist/baloise-design-system/p-1d177e7449.entry.js +0 -1
  850. package/dist/baloise-design-system/p-1d3f76cacc.system.entry.js +0 -1
  851. package/dist/baloise-design-system/p-1edf81b274.entry.js +0 -1
  852. package/dist/baloise-design-system/p-261a40555d.system.entry.js +0 -1
  853. package/dist/baloise-design-system/p-26f33fb309.system.entry.js +0 -1
  854. package/dist/baloise-design-system/p-28f315ce54.system.entry.js +0 -1
  855. package/dist/baloise-design-system/p-29be3c5644.system.entry.js +0 -1
  856. package/dist/baloise-design-system/p-2ad2cd8a77.system.entry.js +0 -1
  857. package/dist/baloise-design-system/p-2bb50edb03.entry.js +0 -1
  858. package/dist/baloise-design-system/p-2d88aa248e.system.entry.js +0 -1
  859. package/dist/baloise-design-system/p-32ed11b23d.entry.js +0 -1
  860. package/dist/baloise-design-system/p-33e4fc1641.entry.js +0 -1
  861. package/dist/baloise-design-system/p-37022683b7.entry.js +0 -1
  862. package/dist/baloise-design-system/p-380c5803d9.entry.js +0 -1
  863. package/dist/baloise-design-system/p-3eb7056b78.entry.js +0 -1
  864. package/dist/baloise-design-system/p-4173b195f5.entry.js +0 -1
  865. package/dist/baloise-design-system/p-429b6209eb.entry.js +0 -1
  866. package/dist/baloise-design-system/p-446235d66d.entry.js +0 -1
  867. package/dist/baloise-design-system/p-4592890c87.system.entry.js +0 -1
  868. package/dist/baloise-design-system/p-46aaffaa70.entry.js +0 -1
  869. package/dist/baloise-design-system/p-4861d5c268.system.entry.js +0 -1
  870. package/dist/baloise-design-system/p-4ab1baaeb2.system.entry.js +0 -1
  871. package/dist/baloise-design-system/p-4cbacb2728.entry.js +0 -1
  872. package/dist/baloise-design-system/p-54252e93ae.system.entry.js +0 -1
  873. package/dist/baloise-design-system/p-57303f4cf0.entry.js +0 -1
  874. package/dist/baloise-design-system/p-577c4fbffa.entry.js +0 -1
  875. package/dist/baloise-design-system/p-61d6ce6346.entry.js +0 -1
  876. package/dist/baloise-design-system/p-63d9b0dc71.system.entry.js +0 -1
  877. package/dist/baloise-design-system/p-6845434665.system.entry.js +0 -1
  878. package/dist/baloise-design-system/p-6JPfxkH9.system.js +0 -2
  879. package/dist/baloise-design-system/p-6a2d541345.entry.js +0 -1
  880. package/dist/baloise-design-system/p-6af4878ee1.system.entry.js +0 -1
  881. package/dist/baloise-design-system/p-6b7cef6b56.system.entry.js +0 -1
  882. package/dist/baloise-design-system/p-6c89fe7777.system.entry.js +0 -1
  883. package/dist/baloise-design-system/p-6d016ad721.entry.js +0 -1
  884. package/dist/baloise-design-system/p-7255ac5e19.system.entry.js +0 -1
  885. package/dist/baloise-design-system/p-7567bed290.system.entry.js +0 -1
  886. package/dist/baloise-design-system/p-77ed6cef4e.entry.js +0 -1
  887. package/dist/baloise-design-system/p-78d48f3d1a.entry.js +0 -1
  888. package/dist/baloise-design-system/p-7f39c04ab4.entry.js +0 -1
  889. package/dist/baloise-design-system/p-85ef72f929.entry.js +0 -1
  890. package/dist/baloise-design-system/p-87e06064a3.entry.js +0 -1
  891. package/dist/baloise-design-system/p-8d7d5197d6.entry.js +0 -1
  892. package/dist/baloise-design-system/p-97dca06bad.system.entry.js +0 -1
  893. package/dist/baloise-design-system/p-98d8c0b274.system.entry.js +0 -1
  894. package/dist/baloise-design-system/p-98fedb26af.system.entry.js +0 -1
  895. package/dist/baloise-design-system/p-9a7614a6da.system.entry.js +0 -1
  896. package/dist/baloise-design-system/p-9ccc9420aa.system.entry.js +0 -1
  897. package/dist/baloise-design-system/p-9ed893d2f1.entry.js +0 -1
  898. package/dist/baloise-design-system/p-9f46f38337.system.entry.js +0 -1
  899. package/dist/baloise-design-system/p-9faad04082.entry.js +0 -1
  900. package/dist/baloise-design-system/p-B97IGjGv.js +0 -1
  901. package/dist/baloise-design-system/p-BDsO8HVR.system.js +0 -1
  902. package/dist/baloise-design-system/p-BdMT8-qh.system.js +0 -1
  903. package/dist/baloise-design-system/p-BgWhYta3.js +0 -2
  904. package/dist/baloise-design-system/p-BiQW-kmH.js +0 -1
  905. package/dist/baloise-design-system/p-Brj9SizC.js +0 -1
  906. package/dist/baloise-design-system/p-BsGRcohK.js +0 -1
  907. package/dist/baloise-design-system/p-BuwrUtcI.js +0 -1
  908. package/dist/baloise-design-system/p-C89aCsha.system.js +0 -1
  909. package/dist/baloise-design-system/p-C9gtg7pC.js +0 -1
  910. package/dist/baloise-design-system/p-CLs4UZCO.js +0 -1
  911. package/dist/baloise-design-system/p-CPvYKxnJ.system.js +0 -1
  912. package/dist/baloise-design-system/p-CdRteRAi.system.js +0 -1
  913. package/dist/baloise-design-system/p-Clusr4_J.system.js +0 -1
  914. package/dist/baloise-design-system/p-Csghe1wj.system.js +0 -1
  915. package/dist/baloise-design-system/p-CvJZJ5PO.system.js +0 -1
  916. package/dist/baloise-design-system/p-DA9xpxCC.system.js +0 -1
  917. package/dist/baloise-design-system/p-DMPBkH8m.js +0 -1
  918. package/dist/baloise-design-system/p-DVQeGKBt.system.js +0 -1
  919. package/dist/baloise-design-system/p-DYGnSrkp.system.js +0 -1
  920. package/dist/baloise-design-system/p-DblLSfCr.js +0 -1
  921. package/dist/baloise-design-system/p-DcxdJ7xo.system.js +0 -1
  922. package/dist/baloise-design-system/p-DkkPrFJ4.js +0 -1
  923. package/dist/baloise-design-system/p-DrYtyUx4.js +0 -1
  924. package/dist/baloise-design-system/p-Dv-qApwY.system.js +0 -1
  925. package/dist/baloise-design-system/p-PJBCHUTX.system.js +0 -1
  926. package/dist/baloise-design-system/p-YxrA2V8G.system.js +0 -1
  927. package/dist/baloise-design-system/p-Z2WXCS2z.system.js +0 -1
  928. package/dist/baloise-design-system/p-ZO510gkN.system.js +0 -1
  929. package/dist/baloise-design-system/p-a24b0f04ac.entry.js +0 -1
  930. package/dist/baloise-design-system/p-a49cbc975f.entry.js +0 -1
  931. package/dist/baloise-design-system/p-ab4f18d946.system.entry.js +0 -1
  932. package/dist/baloise-design-system/p-adf9dc4b6c.system.entry.js +0 -1
  933. package/dist/baloise-design-system/p-af0438175b.system.entry.js +0 -1
  934. package/dist/baloise-design-system/p-af25440706.system.entry.js +0 -1
  935. package/dist/baloise-design-system/p-b2d3c28f7e.entry.js +0 -1
  936. package/dist/baloise-design-system/p-b465562e59.entry.js +0 -1
  937. package/dist/baloise-design-system/p-b6348cd01c.system.entry.js +0 -1
  938. package/dist/baloise-design-system/p-b8e45544f8.system.entry.js +0 -1
  939. package/dist/baloise-design-system/p-bb3c1187e2.entry.js +0 -1
  940. package/dist/baloise-design-system/p-bdeea100d1.system.entry.js +0 -1
  941. package/dist/baloise-design-system/p-c0ec248967.entry.js +0 -1
  942. package/dist/baloise-design-system/p-c46abb4720.system.entry.js +0 -1
  943. package/dist/baloise-design-system/p-c7b4bbf341.system.entry.js +0 -1
  944. package/dist/baloise-design-system/p-c88b2139c4.system.entry.js +0 -1
  945. package/dist/baloise-design-system/p-ce3e28b217.entry.js +0 -1
  946. package/dist/baloise-design-system/p-cec255ddb5.system.entry.js +0 -1
  947. package/dist/baloise-design-system/p-cfbff4d0c5.system.entry.js +0 -1
  948. package/dist/baloise-design-system/p-d292509747.system.entry.js +0 -1
  949. package/dist/baloise-design-system/p-d40c3b818d.system.entry.js +0 -1
  950. package/dist/baloise-design-system/p-d56db02feb.system.entry.js +0 -1
  951. package/dist/baloise-design-system/p-d9f1657d3a.entry.js +0 -1
  952. package/dist/baloise-design-system/p-dcd16c9edf.system.entry.js +0 -1
  953. package/dist/baloise-design-system/p-e2ff5ec460.entry.js +0 -1
  954. package/dist/baloise-design-system/p-e5e10f7330.entry.js +0 -1
  955. package/dist/baloise-design-system/p-eb318eae31.system.entry.js +0 -1
  956. package/dist/baloise-design-system/p-ef2aa99689.entry.js +0 -1
  957. package/dist/baloise-design-system/p-f09b1d15cb.entry.js +0 -1
  958. package/dist/baloise-design-system/p-f701f3341f.entry.js +0 -1
  959. package/dist/baloise-design-system/p-f931d7af5f.system.entry.js +0 -1
  960. package/dist/baloise-design-system/p-fa6414dc04.entry.js +0 -1
  961. package/dist/baloise-design-system/p-fb932a0e2d.system.entry.js +0 -1
  962. package/dist/baloise-design-system/p-fbedfc8307.system.entry.js +0 -1
  963. package/dist/baloise-design-system/p-fc05075fc7.entry.js +0 -1
  964. package/dist/baloise-design-system/p-fe41123fad.entry.js +0 -1
  965. package/dist/baloise-design-system/p-ffdfc86824.system.entry.js +0 -1
  966. package/dist/baloise-design-system/p-irA_rSP3.system.js +0 -1
  967. package/dist/baloise-design-system/p-otQuEMP7.js +0 -1
  968. package/dist/baloise-design-system/p-t17chohV.system.js +0 -1
  969. package/dist/cjs/bal-date.i18n-DJlY99as.js +0 -66
  970. package/dist/cjs/bal-option_2.cjs.entry.js +0 -606
  971. package/dist/cjs/window-resize.decorator-DZPJwKe1.js +0 -25
  972. package/dist/cjs/window-resize.subject-AALAxaW0.js +0 -28
  973. package/dist/esm/bal-date.i18n-CLs4UZCO.js +0 -64
  974. package/dist/esm/bal-option_2.entry.js +0 -603
  975. package/dist/esm/window-resize.subject-BfRcRWok.js +0 -26
  976. package/dist/esm-es5/animation.decorator-CNK3bJ6X.js +0 -1
  977. package/dist/esm-es5/bal-date.i18n-CLs4UZCO.js +0 -1
  978. package/dist/esm-es5/bal-dropdown.entry.js +0 -1
  979. package/dist/esm-es5/bal-option_2.entry.js +0 -1
  980. package/dist/esm-es5/breakpoints.subject-Dpu4Jjc3.js +0 -1
  981. package/dist/esm-es5/config.decorator-FwS7csea.js +0 -1
  982. package/dist/esm-es5/device-CWdcsnSc.js +0 -1
  983. package/dist/esm-es5/element-states.decorator-BPErBZif.js +0 -1
  984. package/dist/esm-es5/floating-ui-CNYJCYYO.js +0 -1
  985. package/dist/esm-es5/focus.decorator-BBUVspZX.js +0 -1
  986. package/dist/esm-es5/form-input-Dv0N9pEu.js +0 -1
  987. package/dist/esm-es5/index-BgWhYta3.js +0 -2
  988. package/dist/esm-es5/listener-BCxt7kj7.js +0 -1
  989. package/dist/esm-es5/mutation.decorator-DVnSOGDK.js +0 -1
  990. package/dist/esm-es5/number-oUZz7C1l.js +0 -1
  991. package/dist/esm-es5/overlays-B9nzshwp.js +0 -1
  992. package/dist/esm-es5/resize.decorator-xO0LVkHO.js +0 -1
  993. package/dist/esm-es5/scroll-Dhp_eUkh.js +0 -1
  994. package/dist/esm-es5/swipe.subject-CCKruupP.js +0 -1
  995. package/dist/esm-es5/swiper.util-vb9wIkyd.js +0 -1
  996. package/dist/esm-es5/visibility.decorator-C5quU420.js +0 -1
  997. package/dist/esm-es5/window-resize.decorator-tooGxqQM.js +0 -1
  998. package/dist/esm-es5/window-resize.subject-BfRcRWok.js +0 -1
@@ -1,1030 +1,10 @@
1
- const NAMESPACE = 'baloise-design-system';
2
- const BUILD = /* baloise-design-system */ { hydratedSelectorName: "hydrated", lazyLoad: true, slotRelocation: true, updatable: true};
3
-
4
- class BrowserWindow {
5
- /**
6
- * Returns the width of the window
7
- */
8
- get width() {
9
- if (balBrowser.hasWindow) {
10
- return window.innerWidth;
11
- }
12
- return 0;
13
- }
14
- /**
15
- * Returns the height of the window
16
- */
17
- get height() {
18
- if (balBrowser.hasWindow) {
19
- return window.innerHeight;
20
- }
21
- return 0;
22
- }
23
- }
24
- class Browser {
25
- constructor() {
26
- this.window = new BrowserWindow();
27
- }
28
- /**
29
- * Is true when it is a Safari browser
30
- */
31
- get isSafari() {
32
- return /^((?!chrome|android).)*safari/i.test(this.userAgent);
33
- }
34
- /**
35
- * Is true when the window object is defined
36
- */
37
- get hasWindow() {
38
- return typeof window !== 'undefined';
39
- }
40
- /**
41
- * Is true when the navigator object is defined
42
- */
43
- get hasNavigator() {
44
- return typeof navigator !== 'undefined';
45
- }
46
- /**
47
- * Is true when the document object is defined
48
- */
49
- get hasDocument() {
50
- return typeof document !== 'undefined';
51
- }
52
- /**
53
- * Returns a string with the user agents
54
- */
55
- get userAgent() {
56
- var _a;
57
- if (this.hasWindow && this.hasNavigator) {
58
- return (_a = navigator.userAgent) !== null && _a !== void 0 ? _a : '';
59
- }
60
- return '';
61
- }
62
- }
63
- const balBrowser = new Browser();
64
-
65
- const BALOISE_ANIMATION_KEY = 'baloise-animated';
66
-
67
- // generated file
68
- const balIconYoutube = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>';
69
- const balIconXing = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M13.0056 0C13.385 0 13.6262 0.406033 13.4447 0.739215L9.3722 8.21397C9.28942 8.3659 9.29108 8.54984 9.37658 8.70026L11.9644 13.2529C12.1539 13.5862 11.9131 14 11.5297 14H8.88832C8.70848 14 8.5425 13.9034 8.45363 13.7471L5.58749 8.70478C5.50059 8.55191 5.50038 8.36464 5.58694 8.21157L10.0872 0.253872C10.1759 0.0969935 10.3422 0 10.5224 0H13.0056ZM5.60519 5.58358C5.68784 5.73855 5.68312 5.92552 5.59276 6.07613L3.43406 9.67396C3.3437 9.82456 3.18095 9.91671 3.00532 9.91671H0.500779C0.111209 9.91671 -0.128712 9.49091 0.0730986 9.15769L1.97318 6.02035C2.06519 5.86842 2.0697 5.67908 1.98502 5.52295L0.655558 3.07176C0.474862 2.7386 0.716068 2.33337 1.09507 2.33337H3.57175C3.7564 2.33337 3.92603 2.43515 4.01292 2.59808L5.60519 5.58358Z"/></svg>';
70
- const balIconX = '<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';
71
- const balIconWeb = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.04883 0.275541C2.32493 1.06453 0.285118 3.46373 0.0275269 6.375H3.22773C3.41606 4.22626 4.03911 2.14922 5.04883 0.275541ZM3.22773 7.625H0.0275269C0.285118 10.5363 2.32493 12.9355 5.04883 13.7245C4.0391 11.8508 3.41606 9.77374 3.22773 7.625ZM6.6522 13.9915C5.44618 12.0855 4.69968 9.90183 4.48294 7.625H9.51704C9.30031 9.90183 8.5538 12.0855 7.34777 13.9915C7.23256 13.9971 7.11661 14 7.00001 14C6.88338 14 6.76743 13.9971 6.6522 13.9915ZM8.95115 13.7245C11.6751 12.9355 13.7149 10.5363 13.9725 7.625H10.7722C10.5839 9.77375 9.96087 11.8508 8.95115 13.7245ZM10.7722 6.375H13.9725C13.7149 3.46372 11.6751 1.06451 8.95114 0.275533C9.96087 2.14921 10.5839 4.22625 10.7722 6.375ZM6.65221 0.00848953C6.76743 0.00285182 6.88339 0 7.00001 0C7.11661 0 7.23256 0.0028513 7.34777 0.008488C8.5538 1.91446 9.3003 4.09817 9.51704 6.375H4.48294C4.69968 4.09817 5.44618 1.91446 6.65221 0.00848953Z" clip-rule="evenodd"/></svg>';
72
- const balIconUpload = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.99999 4C9.2883 4 9.55108 3.83474 9.67597 3.57489C9.80086 3.31504 9.76575 3.00661 9.58564 2.78148L7.58564 0.281479C7.44331 0.103567 7.22783 0 6.99999 0C6.77215 0 6.55667 0.103567 6.41434 0.281479L4.41434 2.78148C4.23424 3.00661 4.19912 3.31504 4.32401 3.57489C4.4489 3.83474 4.71169 4 4.99999 4H6L6 9.5C6 10.0523 6.44772 10.5 7 10.5C7.55228 10.5 8 10.0523 8 9.5L8 4H8.99999ZM3 12V5.99998C3.55228 5.99998 4 5.55227 4 4.99998C4 4.4477 3.55228 3.99998 3 3.99998H2.5C2.10217 3.99998 1.72064 4.15802 1.43934 4.43932C1.15804 4.72062 1 5.10216 1 5.49998V12.5C1 12.8979 1.15804 13.2794 1.43934 13.5607C1.72065 13.842 2.10218 14 2.5 14L11.5 14.0001C11.8978 14.0001 12.2794 13.842 12.5607 13.5607C12.842 13.2794 13 12.8979 13 12.5001V5.5C13 5.10218 12.842 4.72065 12.5607 4.43934C12.2794 4.15804 11.8978 4 11.5 4H11C10.4477 4 10 4.44772 10 5C10 5.55228 10.4477 6 11 6V12.0001L3 12Z" clip-rule="evenodd"/></svg>';
73
- const balIconTwitter = '<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';
74
- const balIconTrash = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.76256 2.01256C6.09075 1.68437 6.53587 1.5 7 1.5C7.46413 1.5 7.90925 1.68437 8.23744 2.01256C8.4448 2.21993 8.59475 2.47397 8.67705 2.75H5.32295C5.40525 2.47397 5.5552 2.21993 5.76256 2.01256ZM3.78868 2.75C3.89405 2.07321 4.21153 1.44227 4.7019 0.951903C5.3114 0.34241 6.13805 0 7 0C7.86195 0 8.6886 0.34241 9.2981 0.951903C9.78847 1.44227 10.106 2.07321 10.2113 2.75H13C13.4142 2.75 13.75 3.08579 13.75 3.5C13.75 3.91422 13.4142 4.25 13 4.25H12V12.5C12 12.8978 11.842 13.2794 11.5607 13.5607C11.2794 13.842 10.8978 14 10.5 14H3.5C3.10217 14 2.72064 13.842 2.43934 13.5607C2.15804 13.2794 2 12.8978 2 12.5V4.25H1C0.585786 4.25 0.25 3.91422 0.25 3.5C0.25 3.08579 0.585786 2.75 1 2.75H3.78868ZM5 5.87646C5.34518 5.87646 5.625 6.15629 5.625 6.50146V10.503C5.625 10.8481 5.34518 11.128 5 11.128C4.65482 11.128 4.375 10.8481 4.375 10.503V6.50146C4.375 6.15629 4.65482 5.87646 5 5.87646ZM9.625 6.50146C9.625 6.15629 9.34518 5.87646 9 5.87646C8.65482 5.87646 8.375 6.15629 8.375 6.50146V10.503C8.375 10.8481 8.65482 11.128 9 11.128C9.34518 11.128 9.625 10.8481 9.625 10.503V6.50146Z" clip-rule="evenodd"/></svg>';
75
- const balIconPlus = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8 1C8 0.447715 7.55228 0 7 0C6.44772 0 6 0.447715 6 1V6H1C0.447715 6 0 6.44772 0 7C0 7.55228 0.447715 8 1 8H6V13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13V8H13C13.5523 8 14 7.55228 14 7C14 6.44772 13.5523 6 13 6H8V1Z" clip-rule="evenodd"/></svg>';
76
- const balIconNavGoUp = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
77
- const balIconNavGoRight = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
78
- const balIconNavGoLeft = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
79
- const balIconNavGoDown = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
80
- const balIconMinus = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 7C0 6.44772 0.447715 6 1 6H13C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H1C0.447715 8 0 7.55228 0 7Z" clip-rule="evenodd"/></svg>';
81
- const balIconMenuBars = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm0 5a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm1 4a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H1z" clip-rule="evenodd"/></svg>';
82
- const balIconLinkedin = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M3.31334 1.36381C3.31624 1.73602 3.17257 2.09441 2.9134 2.36157C2.65422 2.62872 2.30034 2.78317 1.92822 2.79156C1.55687 2.77793 1.20495 2.62217 0.945182 2.35645C0.685414 2.09073 0.537655 1.73538 0.53244 1.36381C0.548583 1.0018 0.701774 0.659474 0.96096 0.406224C1.22015 0.152974 1.56593 0.00775305 1.92822 0C2.28945 0.00789779 2.63402 0.153479 2.89148 0.40698C3.14894 0.66048 3.29985 1.00275 3.31334 1.36381ZM0.681607 5.3274C0.681607 4.50698 1.20369 4.63484 1.92822 4.63484C2.65275 4.63484 3.16418 4.50698 3.16418 5.3274V13.3185C3.16418 14.1496 2.64209 13.9791 1.92822 13.9791C1.21435 13.9791 0.681607 14.1496 0.681607 13.3185V5.3274Z"/><path d="M5.31647 5.32741C5.31647 4.86926 5.48694 4.69878 5.75331 4.64551C6.01968 4.59223 6.936 4.64551 7.25564 4.64551C7.57528 4.64551 7.70314 5.16759 7.69249 5.56182C7.96591 5.19486 8.32892 4.9042 8.7468 4.71765C9.16467 4.5311 9.62342 4.4549 10.0792 4.49634C10.5267 4.46898 10.975 4.53608 11.3949 4.69327C11.8148 4.85046 12.1969 5.09424 12.5165 5.40876C12.836 5.72328 13.0858 6.1015 13.2496 6.51887C13.4135 6.93623 13.4877 7.38339 13.4674 7.83129V13.2865C13.4674 14.1176 12.956 13.9471 12.2314 13.9471C11.5069 13.9471 10.9955 14.1176 10.9955 13.2865V9.02463C11.0142 8.80528 10.9855 8.58447 10.9114 8.3772C10.8372 8.16992 10.7193 7.98103 10.5657 7.82335C10.412 7.66568 10.2263 7.54291 10.021 7.46339C9.8157 7.38387 9.59571 7.34945 9.37595 7.36248C9.1572 7.35692 8.93978 7.3979 8.73806 7.48268C8.53635 7.56747 8.35494 7.69414 8.20586 7.85431C8.05677 8.01447 7.94341 8.20447 7.87328 8.41174C7.80314 8.61901 7.77784 8.83881 7.79904 9.05659V13.3185C7.79904 14.1496 7.27695 13.9791 6.55242 13.9791C5.8279 13.9791 5.31647 14.1496 5.31647 13.3185V5.32741Z"/></svg>';
83
- const balIconInstagram = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0.786499 3.39046C0.786499 1.95243 1.95225 0.786682 3.39027 0.786682H10.3337C11.7717 0.786682 12.9374 1.95243 12.9374 3.39046V10.3339C12.9374 11.7719 11.7717 12.9376 10.3337 12.9376H3.39027C1.95225 12.9376 0.786499 11.7719 0.786499 10.3339V3.39046ZM6.8621 4.78204C5.71332 4.78204 4.78204 5.71332 4.78204 6.8621C4.78204 8.01088 5.71332 8.94216 6.8621 8.94216C8.01088 8.94216 8.94216 8.01088 8.94216 6.8621C8.94216 5.71332 8.01088 4.78204 6.8621 4.78204ZM3.78204 6.8621C3.78204 5.16103 5.16103 3.78204 6.8621 3.78204C8.56317 3.78204 9.94216 5.16103 9.94216 6.8621C9.94216 8.56317 8.56317 9.94216 6.8621 9.94216C5.16103 9.94216 3.78204 8.56317 3.78204 6.8621ZM10.3349 3.98516C10.6842 3.98516 10.9673 3.70199 10.9673 3.35269C10.9673 3.00338 10.6842 2.72021 10.3349 2.72021C9.98556 2.72021 9.70239 3.00338 9.70239 3.35269C9.70239 3.70199 9.98556 3.98516 10.3349 3.98516Z" clip-rule="evenodd"/></svg>';
84
- const balIconInfoCircle = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM5.5 9.375C5.15482 9.375 4.875 9.65482 4.875 10C4.875 10.3452 5.15482 10.625 5.5 10.625H7H8.5C8.84518 10.625 9.125 10.3452 9.125 10C9.125 9.65482 8.84518 9.375 8.5 9.375H7.625V6.5C7.625 6.15482 7.34518 5.875 7 5.875H6C5.65482 5.875 5.375 6.15482 5.375 6.5C5.375 6.84518 5.65482 7.125 6 7.125H6.375V9.375H5.5ZM8 4C8 4.55228 7.55228 5 7 5C6.44772 5 6 4.55228 6 4C6 3.44772 6.44772 3 7 3C7.55228 3 8 3.44772 8 4Z" clip-rule="evenodd"/></svg>';
85
- const balIconFacebook = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M8.06356 3.75515C8.06356 2.67675 8.60345 2.67675 9.14334 2.67675H9.79121C9.89938 2.6782 10.0067 2.65799 10.107 2.61732C10.2072 2.57664 10.2982 2.51633 10.3747 2.43993C10.4512 2.36353 10.5116 2.2726 10.5523 2.17251C10.5931 2.07242 10.6133 1.96519 10.6118 1.85716V0.84346C10.6119 0.734917 10.5903 0.627453 10.5484 0.527307C10.5064 0.42716 10.445 0.336327 10.3677 0.260078C10.2903 0.18383 10.1986 0.123686 10.0978 0.0831375C9.99696 0.0425893 9.88909 0.0224446 9.78041 0.0238728L8.24712 0.00230466C7.80066 -0.0149417 7.35577 0.0647696 6.94316 0.235937C6.53054 0.407104 6.16003 0.665651 5.8572 0.993733C5.55436 1.32181 5.32641 1.71162 5.18908 2.13624C5.05175 2.56086 5.00831 3.01018 5.06176 3.4532V5.01689H4.20873C3.99108 5.01689 3.78235 5.10324 3.62845 5.25694C3.47455 5.41064 3.38809 5.61911 3.38809 5.83648V6.85018C3.38809 7.06754 3.47455 7.27601 3.62845 7.42971C3.78235 7.58341 3.99108 7.66976 4.20873 7.66976H5.06176V13.4608C5.06176 13.6038 5.11864 13.741 5.21989 13.8421C5.32114 13.9432 5.45846 14 5.60165 14H7.55606C7.69356 13.9917 7.8227 13.9313 7.91705 13.8311C8.01139 13.7308 8.0638 13.5984 8.06356 13.4608V7.66976H9.01377C9.23141 7.66976 9.44014 7.58341 9.59404 7.42971C9.74794 7.27601 9.8344 7.06754 9.8344 6.85018V5.83648C9.8344 5.61911 9.74794 5.41064 9.59404 5.25694C9.44014 5.10324 9.23141 5.01689 9.01377 5.01689H8.06356V3.75515Z"/></svg>';
86
- const balIconEdit = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M10.715 -0.000976562C10.5152 -0.000976562 10.3174 0.0389464 10.1332 0.116448C9.95019 0.193468 9.78428 0.306058 9.64512 0.447676L1.40732 8.64549C1.34616 8.70635 1.30179 8.782 1.27853 8.86508L0.0185299 13.3651C-0.0301752 13.539 0.0187291 13.7257 0.146458 13.8535C0.274188 13.9812 0.46088 14.0301 0.634827 13.9814L5.13483 12.7214C5.21791 12.6981 5.29356 12.6537 5.35442 12.5926L13.5521 4.3549L13.5535 4.35355C13.6934 4.21438 13.8045 4.04896 13.8804 3.86676C13.9566 3.68398 13.9958 3.48792 13.9958 3.2899C13.9958 3.09188 13.9566 2.89582 13.8804 2.71303C13.8045 2.53083 13.6934 2.3654 13.5535 2.22624L13.5521 2.2249L11.7859 0.448721C11.6466 0.306611 11.4803 0.193657 11.2968 0.116448C11.1126 0.0389464 10.9148 -0.000976562 10.715 -0.000976562Z"/></svg>';
87
- const balIconDocument = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.43934 0.43934C1.72064 0.158035 2.10218 0 2.5 0H7.5C7.63261 0 7.75979 0.0526784 7.85355 0.146447L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 12.8978 12.842 13.2794 12.5607 13.5607C12.2794 13.842 11.8978 14 11.5 14H2.5C2.10217 14 1.72064 13.842 1.43934 13.5607C1.15804 13.2794 1 12.8978 1 12.5V1.5C1 1.10218 1.15804 0.720644 1.43934 0.43934ZM4.5 3.875C4.15482 3.875 3.875 4.15482 3.875 4.5C3.875 4.84518 4.15482 5.125 4.5 5.125H6.5C6.84518 5.125 7.125 4.84518 7.125 4.5C7.125 4.15482 6.84518 3.875 6.5 3.875H4.5ZM3.875 7.5C3.875 7.15482 4.15482 6.875 4.5 6.875H9.5C9.84518 6.875 10.125 7.15482 10.125 7.5C10.125 7.84518 9.84518 8.125 9.5 8.125H4.5C4.15482 8.125 3.875 7.84518 3.875 7.5ZM4.5 9.875C4.15482 9.875 3.875 10.1548 3.875 10.5C3.875 10.8452 4.15482 11.125 4.5 11.125H9.5C9.84518 11.125 10.125 10.8452 10.125 10.5C10.125 10.1548 9.84518 9.875 9.5 9.875H4.5Z" clip-rule="evenodd"/></svg>';
88
- const balIconDate = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 0a.75.75 0 0 1 .75.75v.75h1.5c.966 0 1.75.784 1.75 1.75v9A1.75 1.75 0 0 1 12.25 14H1.75A1.75 1.75 0 0 1 0 12.25v-9C0 2.284.784 1.5 1.75 1.5h1.5V.75a.75.75 0 0 1 1.5 0v.75h4.5V.75A.75.75 0 0 1 10 0zM3.25 3v.75a.75.75 0 0 0 1.5 0V3h4.5v.75a.75.75 0 0 0 1.5 0V3h1.5a.25.25 0 0 1 .25.25v2.282a1.002 1.002 0 0 0-.25-.032H1.75c-.086 0-.17.01-.25.032V3.25A.25.25 0 0 1 1.75 3h1.5z" clip-rule="evenodd"/></svg>';
89
- const balIconClose = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z" clip-rule="evenodd"/></svg>';
90
- const balIconClock = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM7.625 4.5C7.625 4.15482 7.34518 3.875 7 3.875C6.65482 3.875 6.375 4.15482 6.375 4.5V7C6.375 7.14621 6.42626 7.28779 6.51986 7.40012L9.01986 10.4001C9.24084 10.6653 9.63494 10.7011 9.90012 10.4801C10.1653 10.2592 10.2011 9.86506 9.98014 9.59988L7.625 6.77372V4.5Z" clip-rule="evenodd"/></svg>';
91
- const balIconCheck = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M13.637 1.19792C14.0627 1.54974 14.1227 2.18006 13.7708 2.60579L5.73084 12.335L5.72842 12.3379C5.54554 12.5575 5.31602 12.7336 5.05655 12.8534C4.79707 12.9731 4.51417 13.0336 4.22842 13.0302L4.22752 13.0302C3.93709 13.0266 3.65125 12.9573 3.39146 12.8274C3.13254 12.6979 2.9062 12.5117 2.72931 12.2826C2.72871 12.2818 2.72812 12.281 2.72752 12.2802L0.210633 9.04426C-0.128437 8.60831 -0.0499029 7.98003 0.386044 7.64096C0.821992 7.30189 1.45027 7.38043 1.78934 7.81638L4.25291 10.9838L12.2291 1.33176C12.5809 0.906034 13.2113 0.846112 13.637 1.19792Z" clip-rule="evenodd"/></svg>';
92
- const balIconCaretUp = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
93
- const balIconCaretRight = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
94
- const balIconCaretLeft = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
95
- const balIconCaretDown = '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
96
-
97
- const defaultLoggerConfig = {
98
- components: [],
99
- event: false,
100
- lifecycle: false,
101
- render: false,
102
- custom: false,
103
- };
104
- const getConfig = () => {
105
- let loggerConfig = defaultLoggerConfig;
106
- if (balBrowser.hasWindow &&
107
- window.BaloiseDesignSystem &&
108
- window.BaloiseDesignSystem.config &&
109
- window.BaloiseDesignSystem.config.logger) {
110
- loggerConfig = window.BaloiseDesignSystem.config.logger;
111
- }
112
- return loggerConfig;
113
- };
114
- const buildLogger = (tag) => {
115
- const l = (type, message, ...optionalParams) => {
116
- const config = getConfig();
117
- if (config.components.includes(tag) && config[type]) {
118
- console.log(message, ...optionalParams);
119
- }
120
- };
121
- return {
122
- custom: (message, ...optionalParams) => l('custom', ` ➡️ [${tag}] - ${message}`, ...optionalParams),
123
- lifecycle: (lifecycleName, ...optionalParams) => l('lifecycle', `${lifecycleName === 'connectedCallback'
124
- ? '🟢'
125
- : lifecycleName === 'disconnectedCallback'
126
- ? '🔴'
127
- : lifecycleName === 'componentDidLoad'
128
- ? '🏁'
129
- : ' ➡️'} [${tag}] - (${lifecycleName})`, ...optionalParams),
130
- event: (eventName, ...optionalParams) => l('event', `🔥 [${tag}] - (${eventName})`, ...optionalParams),
131
- render: (...optionalParams) => l('render', `🖌️ [${tag}] - (render)`, ...optionalParams),
132
- };
133
- };
134
- function Logger(tag = 'unknown') {
135
- return function (target, _propertyKey, _descriptor) {
136
- const { connectedCallback, disconnectedCallback, render, componentDidLoad, createLogger } = target;
137
- const log = buildLogger(tag);
138
- target.connectedCallback = function () {
139
- log.lifecycle(`connectedCallback`, this);
140
- const events = Object.keys(this)
141
- .filter(n => n.startsWith('bal'))
142
- .filter(n => typeof this[n] === 'object');
143
- for (let index = 0; index < events.length; index++) {
144
- const event = events[index];
145
- const emitter = this[event];
146
- this[event] = {
147
- emit: (...args) => {
148
- log.event(event, this, ...args);
149
- return emitter.emit.call(this, ...args);
150
- },
151
- };
152
- }
153
- createLogger.call(this, log.custom);
154
- return connectedCallback && connectedCallback.call(this);
155
- };
156
- target.disconnectedCallback = function () {
157
- log.lifecycle(`disconnectedCallback`, this);
158
- return disconnectedCallback && disconnectedCallback.call(this);
159
- };
160
- target.componentDidLoad = function () {
161
- log.lifecycle(`componentDidLoad`, this);
162
- return componentDidLoad && componentDidLoad.call(this);
163
- };
164
- target.render = function () {
165
- log.render(this);
166
- return render.call(this);
167
- };
168
- };
169
- }
170
-
171
- const defaultIcons = {
172
- balIconClock,
173
- balIconClose,
174
- balIconInfoCircle,
175
- balIconPlus,
176
- balIconMinus,
177
- balIconEdit,
178
- balIconTrash,
179
- balIconNavGoLeft,
180
- balIconNavGoRight,
181
- balIconNavGoDown,
182
- balIconNavGoUp,
183
- balIconCheck,
184
- balIconDate,
185
- balIconDocument,
186
- balIconUpload,
187
- balIconMenuBars,
188
- balIconFacebook,
189
- balIconInstagram,
190
- balIconLinkedin,
191
- balIconTwitter,
192
- balIconX,
193
- balIconXing,
194
- balIconYoutube,
195
- balIconWeb,
196
- balIconCaretDown,
197
- balIconCaretLeft,
198
- balIconCaretRight,
199
- balIconCaretUp,
200
- };
201
- const defaultConfig = {
202
- region: 'CH',
203
- language: 'de',
204
- allowedLanguages: ['de', 'fr', 'it', 'en'],
205
- icons: defaultIcons,
206
- fallbackLanguage: 'de',
207
- logger: defaultLoggerConfig,
208
- animated: true,
209
- httpFormSubmit: true,
210
- _generateHydrateForCustomElementsOutput: false,
211
- };
212
- const defaultLocale = `${defaultConfig.language}-${defaultConfig.region}`;
213
-
214
- class Config {
215
- constructor() {
216
- this._componentObservers = [];
217
- this._observers = [];
218
- this._config = defaultConfig;
219
- }
220
- get locale() {
221
- return `${this._config.language}-${this._config.region}`;
222
- }
223
- get region() {
224
- return this._config.region;
225
- }
226
- set region(region) {
227
- if (region !== this._config.region) {
228
- this._config.region = region;
229
- this._notify();
230
- }
231
- }
232
- get language() {
233
- return this._config.language;
234
- }
235
- set language(language) {
236
- if (language !== this._config.language) {
237
- if (this._config.allowedLanguages.includes(language)) {
238
- this._config.language = language;
239
- }
240
- else {
241
- this._config.language = this._config.fallbackLanguage;
242
- }
243
- this._notify();
244
- }
245
- }
246
- get allowedLanguages() {
247
- return this._config.allowedLanguages;
248
- }
249
- set allowedLanguages(allowedLanguages) {
250
- if (allowedLanguages !== this._config.allowedLanguages) {
251
- this._config.allowedLanguages = allowedLanguages;
252
- this._notify();
253
- }
254
- }
255
- get icons() {
256
- return this._config.icons;
257
- }
258
- set icons(icons) {
259
- this._config.icons = Object.assign(Object.assign({}, this._config.icons), icons);
260
- this._notify();
261
- }
262
- get logger() {
263
- return this._config.logger;
264
- }
265
- set logger(logger) {
266
- this._config.logger = Object.assign({}, logger);
267
- this._notify();
268
- }
269
- get animated() {
270
- return this._config.animated;
271
- }
272
- set animated(animated) {
273
- this._config.animated = animated;
274
- this._notify();
275
- }
276
- get httpFormSubmit() {
277
- return this._config.httpFormSubmit;
278
- }
279
- set httpFormSubmit(httpFormSubmit) {
280
- this._config.httpFormSubmit = httpFormSubmit;
281
- this._notify();
282
- }
283
- attach(observer) {
284
- const isExist = this._observers.includes(observer);
285
- if (isExist) {
286
- return console.log('Subject: Observer has been attached already.');
287
- }
288
- this._observers.push(observer);
289
- observer.configChanged(this._config);
290
- }
291
- detach(observer) {
292
- const observerIndex = this._observers.indexOf(observer);
293
- if (observerIndex === -1) {
294
- return console.log('Subject: Nonexistent observer.');
295
- }
296
- this._observers.splice(observerIndex, 1);
297
- }
298
- attachComponent(observer) {
299
- const isExist = this._componentObservers.includes(observer);
300
- if (isExist) {
301
- return console.log('Subject: Observer has been attached already.');
302
- }
303
- this._componentObservers.push(observer);
304
- observer.configChanged(this._config);
305
- }
306
- detachComponent(observer) {
307
- const observerIndex = this._componentObservers.indexOf(observer);
308
- if (observerIndex === -1) {
309
- return console.log('Subject: Nonexistent observer.');
310
- }
311
- this._componentObservers.splice(observerIndex, 1);
312
- }
313
- toString() {
314
- return JSON.stringify(this._config);
315
- }
316
- reset(config) {
317
- this._config = Object.assign(Object.assign(Object.assign({}, this._config), config), { icons: Object.assign(Object.assign({}, this._config.icons), config.icons) });
318
- this._notify(false);
319
- }
320
- _notify(all = true) {
321
- for (const observer of this._componentObservers) {
322
- observer.configChanged(this._config);
323
- }
324
- if (all) {
325
- for (const observer of this._observers) {
326
- observer.configChanged(this._config);
327
- }
328
- }
329
- }
330
- }
331
- const config = /*@__PURE__*/ new Config();
332
- const configFromLocalStorage = (win) => {
333
- try {
334
- const animated = JSON.parse(win.localStorage.getItem(BALOISE_ANIMATION_KEY));
335
- if (animated !== null) {
336
- return {
337
- animated,
338
- };
339
- }
340
- return {};
341
- }
342
- catch (e) {
343
- return {};
344
- }
345
- };
346
-
347
- const setupConfig = (userConfig = {}, win = {}) => {
348
- if (Object.keys(win).length === 0 && balBrowser.hasWindow) {
349
- win = window;
350
- }
351
- win.BaloiseDesignSystem = win.BaloiseDesignSystem || {};
352
- config.reset(Object.assign(Object.assign(Object.assign({}, configFromLocalStorage(win)), userConfig), { icons: Object.assign({}, userConfig.icons) }));
353
- win.BaloiseDesignSystem.config = config;
354
- };
355
-
356
- const onBalConfigChange = (callback) => {
357
- attachToConfig({
358
- configChanged(state) {
359
- callback(state);
360
- },
361
- });
362
- };
363
- const useBalConfig = () => {
364
- if (!balBrowser.hasWindow) {
365
- return;
366
- }
367
- const win = window;
368
- return win && win.BaloiseDesignSystem && win.BaloiseDesignSystem.config;
369
- };
370
- const attachToConfig = (observer) => {
371
- const config = useBalConfig();
372
- if (config) {
373
- config.attach(observer);
374
- }
375
- };
376
- const detachFromConfig = (observer) => {
377
- const config = useBalConfig();
378
- if (config) {
379
- config.detach(observer);
380
- }
381
- };
382
- const attachComponentToConfig = (observer) => {
383
- const config = useBalConfig();
384
- if (config) {
385
- config.attachComponent(observer);
386
- }
387
- };
388
- const detachComponentFromConfig = (observer) => {
389
- const config = useBalConfig();
390
- if (config) {
391
- config.detachComponent(observer);
392
- }
393
- };
394
- const updateBalLanguage = (language) => {
395
- const config = useBalConfig();
396
- if (config) {
397
- config.language = language;
398
- }
399
- };
400
- const updateBalRegion = (region) => {
401
- const config = useBalConfig();
402
- if (config) {
403
- config.region = region;
404
- }
405
- };
406
- const updateBalAllowedLanguages = (allowedLanguages) => {
407
- const config = useBalConfig();
408
- if (config) {
409
- config.allowedLanguages = allowedLanguages;
410
- }
411
- };
412
- const updateBalIcons = (icons) => {
413
- const config = useBalConfig();
414
- if (config) {
415
- config.icons = Object.assign(Object.assign({}, config.icons), icons);
416
- }
417
- };
418
- const updateBalAnimated = (animated) => {
419
- const config = useBalConfig();
420
- if (config) {
421
- config.animated = animated;
422
- }
423
- };
1
+ 'use strict';
424
2
 
425
- /**
426
- * Request Largest Contentful Paint (LCP) callback
427
- */
428
- const rLCP = (callback, timeout = 3000) => {
429
- let isLargestContentPatinDone = false;
430
- if (!balBrowser.isSafari && balBrowser.hasWindow && 'PerformanceObserver' in window) {
431
- const observer = new PerformanceObserver(entryList => {
432
- const entries = entryList.getEntries();
433
- const lcpEntry = entries[entries.length - 1]; // Get the last (largest) entry
434
- if (lcpEntry) {
435
- // Disconnect the observer as we only need the LCP
436
- observer.disconnect();
437
- // Load the script after LCP
438
- isLargestContentPatinDone = true;
439
- rIC(() => callback());
440
- }
441
- });
442
- // Start observing for Largest Contentful Paint (LCP) entries
443
- observer.observe({ type: 'largest-contentful-paint', buffered: true });
444
- setTimeout(() => {
445
- if (!isLargestContentPatinDone) {
446
- observer.disconnect();
447
- callback();
448
- }
449
- }, timeout);
450
- }
451
- else {
452
- return setTimeout(callback, 32);
453
- }
454
- };
455
- const rOnLoad = (callback, timeout = 32) => {
456
- let called = false;
457
- const callOnce = () => {
458
- if (!called) {
459
- called = true;
460
- callback();
461
- }
462
- };
463
- if (balBrowser.hasWindow) {
464
- const timer = setTimeout(callOnce, timeout);
465
- window.addEventListener('load', () => {
466
- clearTimeout(timer);
467
- callOnce();
468
- });
469
- }
470
- else {
471
- setTimeout(callOnce, 32);
472
- }
473
- };
474
- const rIC = (callback, timeout = 5000) => {
475
- if (balBrowser.hasWindow && 'requestIdleCallback' in window) {
476
- window.requestIdleCallback(callback, { timeout });
477
- }
478
- else {
479
- setTimeout(callback, 32);
480
- }
481
- };
482
- const wait = (ms = 0) => {
483
- return new Promise(resolve => {
484
- setTimeout(() => resolve(), ms);
485
- });
486
- };
487
- const debounceEvent = (ev, wait) => {
488
- const original = ev._original || ev;
489
- return {
490
- _original: ev,
491
- emit: debounce(original.emit.bind(original), wait),
492
- };
493
- };
494
- const debounce = (func, wait = 0) => {
495
- let timer;
496
- return (...args) => {
497
- clearTimeout(timer);
498
- timer = setTimeout(func, wait, ...args);
499
- };
500
- };
501
- const hasTagName = (element, tag) => {
502
- return element && element.tagName && element.tagName === tag.toUpperCase();
503
- };
504
- const isDescendant = (parent, child) => {
505
- let node = child.parentNode;
506
- while (node != null) {
507
- if (node == parent) {
508
- return true;
509
- }
510
- node = node.parentNode;
511
- }
512
- return false;
513
- };
514
- const hasParent = (parentTag, child) => {
515
- let node = child.parentNode;
516
- while (node != null) {
517
- if (node.tagName === parentTag.toUpperCase()) {
518
- return true;
519
- }
520
- node = node.parentNode;
521
- }
522
- return false;
523
- };
524
- const getAppRoot = (doc) => {
525
- return doc.querySelector('bal-app') || doc.body;
526
- };
527
- /**
528
- * Waits for a component to be ready for
529
- * both custom element and non-custom element builds.
530
- * If non-custom element build, el.componentOnReady
531
- * will be used.
532
- * For custom element builds, we wait a frame
533
- * so that the inner contents of the component
534
- * have a chance to render.
535
- *
536
- * Use this utility rather than calling
537
- * el.componentOnReady yourself.
538
- */
539
- const componentOnReady = (el, callback) => {
540
- if (el.componentOnReady !== null && el.componentOnReady !== undefined) {
541
- el.componentOnReady().then((resolvedEl) => callback(resolvedEl));
542
- }
543
- else {
544
- raf(() => callback(el));
545
- }
546
- };
547
- /**
548
- * Patched version of requestAnimationFrame that avoids ngzone
549
- * Use only when you know ngzone should not run
550
- */
551
- const raf = (h) => {
552
- if (typeof __zone_symbol__requestAnimationFrame === 'function') {
553
- return __zone_symbol__requestAnimationFrame(h);
554
- }
555
- if (typeof requestAnimationFrame === 'function') {
556
- return requestAnimationFrame(h);
557
- }
558
- return setTimeout(h);
559
- };
560
- const transitionEndAsync = (el, expectedDuration = 0) => {
561
- return new Promise(resolve => {
562
- transitionEnd(el, expectedDuration, resolve);
563
- });
564
- };
565
- /**
566
- * Allows developer to wait for a transition
567
- * to finish and fallback to a timer if the
568
- * transition is cancelled or otherwise
569
- * never finishes. Also see transitionEndAsync
570
- * which is an await-able version of this.
571
- */
572
- const transitionEnd = (el, expectedDuration = 0, callback) => {
573
- let unRegTrans;
574
- let animationTimeout;
575
- const opts = { passive: true };
576
- const ANIMATION_FALLBACK_TIMEOUT = 500;
577
- const unregister = () => {
578
- if (unRegTrans) {
579
- unRegTrans();
580
- }
581
- };
582
- const onTransitionEnd = (ev) => {
583
- if (ev === undefined || el === ev.target) {
584
- unregister();
585
- callback(ev);
586
- }
587
- };
588
- if (el) {
589
- el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);
590
- el.addEventListener('transitionend', onTransitionEnd, opts);
591
- animationTimeout = setTimeout(onTransitionEnd, expectedDuration + ANIMATION_FALLBACK_TIMEOUT);
592
- unRegTrans = () => {
593
- if (animationTimeout) {
594
- clearTimeout(animationTimeout);
595
- animationTimeout = undefined;
596
- }
597
- el.removeEventListener('webkitTransitionEnd', onTransitionEnd, opts);
598
- el.removeEventListener('transitionend', onTransitionEnd, opts);
599
- };
600
- }
601
- return unregister;
602
- };
603
- const addEventListener = (el, eventName, callback, opts) => {
604
- if (balBrowser.hasWindow) {
605
- const config = useBalConfig();
606
- if (config) {
607
- const ael = config._ael;
608
- if (ael) {
609
- return ael(el, eventName, callback, opts);
610
- }
611
- else if (config._ael) {
612
- return config._ael(el, eventName, callback, opts);
613
- }
614
- }
615
- }
616
- return el.addEventListener(eventName, callback, opts);
617
- };
618
- const removeEventListener = (el, eventName, callback, opts) => {
619
- if (balBrowser.hasWindow) {
620
- const config = useBalConfig();
621
- if (config) {
622
- const rel = config._rel;
623
- if (rel) {
624
- return rel(el, eventName, callback, opts);
625
- }
626
- else if (config._rel) {
627
- return config._rel(el, eventName, callback, opts);
628
- }
629
- }
630
- }
631
- return el.removeEventListener(eventName, callback, opts);
632
- };
633
- const shallowReady = (el) => {
634
- if (el) {
635
- return new Promise(resolve => componentOnReady(el, resolve));
636
- }
637
- return Promise.resolve();
638
- };
639
- const deepReady = async (el, full = false) => {
640
- const element = el;
641
- if (element) {
642
- if (element.componentOnReady !== null && element.componentOnReady !== undefined) {
643
- const stencilEl = await element.componentOnReady();
644
- if (!full && stencilEl !== null && stencilEl !== undefined) {
645
- return;
646
- }
647
- }
648
- await Promise.all(Array.from(element.children).map(child => deepReady(child, full)));
649
- }
650
- };
651
- const waitForComponent = async (el) => {
652
- await deepReady(el, true);
653
- await waitAfterFramePaint();
654
- await waitAfterIdleCallback();
655
- };
656
- const isChildOfEventTarget = async (ev, el, callback) => {
657
- if (ev && ev.target && el && el !== ev.target) {
658
- let target = ev.target;
659
- // special case for the navbar case
660
- const isNavbarBrand = ev.target.nodeName === 'BAL-NAVBAR-BRAND';
661
- if (isNavbarBrand) {
662
- target = target.closest('bal-navbar');
663
- }
664
- if (target && isDescendant(target, el)) {
665
- callback(target);
666
- }
667
- }
668
- };
669
- const waitForDesignSystem = async (el, _config) => {
670
- const config = Object.assign({ animated: false, icons: {
671
- balIconClose,
672
- balIconInfoCircle,
673
- balIconPlus,
674
- balIconMinus,
675
- balIconEdit,
676
- balIconTrash,
677
- balIconNavGoLeft,
678
- balIconNavGoRight,
679
- balIconNavGoDown,
680
- balIconNavGoUp,
681
- balIconCaretUp,
682
- balIconCaretDown,
683
- balIconCaretLeft,
684
- balIconCaretRight,
685
- balIconCheck,
686
- balIconDate,
687
- balIconDocument,
688
- balIconUpload,
689
- balIconMenuBars,
690
- } }, _config);
691
- const element = el;
692
- if (element !== null && element !== undefined) {
693
- await deepReady(element, true);
694
- const webComponents = Array.prototype.slice
695
- .call(element.querySelectorAll('*'))
696
- .filter(el => el.tagName.match(/^bal/i));
697
- await Promise.all(webComponents.map(c => {
698
- if (c.configChanged !== null && c.configChanged !== undefined) {
699
- return c.configChanged(config);
700
- }
701
- }));
702
- }
703
- await Promise.all([waitAfterFramePaint(), waitAfterLargestContentfulPaintCallback(), waitAfterIdleCallback()]);
704
- };
705
- const waitAfterFramePaint = () => {
706
- return new Promise(resolve => raf(() => runHighPrioritizedTask(resolve)));
707
- };
708
- const waitAfterIdleCallback = () => {
709
- return new Promise(resolve => rIC(() => runHighPrioritizedTask(resolve)));
710
- };
711
- const waitAfterLargestContentfulPaintCallback = () => {
712
- return new Promise(resolve => rLCP(() => runHighPrioritizedTask(resolve)));
713
- };
714
- const waitOnLoadEventCallback = () => {
715
- return new Promise(resolve => rOnLoad(() => runHighPrioritizedTask(resolve)));
716
- };
717
- const runHighPrioritizedTask = (callback) => {
718
- if (balBrowser.hasWindow && 'MessageChannel' in window) {
719
- const messageChannel = new window.MessageChannel();
720
- messageChannel.port1.onmessage = callback;
721
- messageChannel.port2.postMessage(undefined);
722
- }
723
- else {
724
- setTimeout(callback, 32);
725
- }
726
- };
727
-
728
- class BalNoticeController {
729
- constructor(options) {
730
- this.options = options;
731
- this.container = null;
732
- this.queue = [];
733
- this.preQueue = [];
734
- this.queueLimit = 5;
735
- }
736
- create(options) {
737
- if (balBrowser.hasDocument) {
738
- this.setupContainer(options);
739
- const clone = this.findClone(options);
740
- if (clone === undefined) {
741
- const el = document.createElement(this.options.tag);
742
- Object.assign(el, options);
743
- el.addEventListener('balClose', ev => {
744
- this.removeFromQueue(ev.detail);
745
- });
746
- this.preQueue.push(el);
747
- this.updateQueue();
748
- return el;
749
- }
750
- return clone;
751
- }
752
- }
753
- setQueue(queueLimit) {
754
- this.queueLimit = queueLimit;
755
- }
756
- async dismissAll() {
757
- var _a;
758
- const elements = (_a = this.container) === null || _a === void 0 ? void 0 : _a.querySelectorAll(this.options.tag);
759
- if (elements) {
760
- const closingQueue = [];
761
- for (let index = 0; index < elements.length; index++) {
762
- const el = elements[index];
763
- if (el.close) {
764
- closingQueue.push(el.close());
765
- }
766
- }
767
- await Promise.all(closingQueue);
768
- }
769
- }
770
- /**
771
- * @deprecated use dismissAll instead
772
- */
773
- async clearAll() {
774
- console.warn('[DEPRECATED] - use dismissAll() instead');
775
- return this.dismissAll();
776
- }
777
- findClone(options) {
778
- for (let index = 0; index < this.queue.length; index++) {
779
- const el = this.queue[index];
780
- if (el.message === options.message && el.color === options.color) {
781
- return el;
782
- }
783
- }
784
- return undefined;
785
- }
786
- setupContainer(options) {
787
- if (balBrowser.hasDocument) {
788
- const containerId = `${this.options.tag}-container`;
789
- this.container = document.getElementById(containerId);
790
- if (this.container)
791
- return;
792
- if (!this.container) {
793
- this.container = document.createElement('bal-notices');
794
- this.container.setAttribute('interface', this.options.tag.replace('bal-', ''));
795
- this.container.setAttribute('animated', options.animated ? 'true' : 'false');
796
- if (options.container !== undefined) {
797
- this.container.setAttribute('container', options.container === true ? '' : options.container);
798
- }
799
- this.container.id = containerId;
800
- }
801
- document.body.appendChild(this.container);
802
- }
803
- }
804
- async updateQueue() {
805
- var _a;
806
- if (this.queue.length < this.queueLimit) {
807
- const el = this.preQueue.shift();
808
- if (el && this.container) {
809
- await waitForComponent(this.container);
810
- const innerEl = this.container.querySelector('.bal-notices__inner');
811
- if (innerEl) {
812
- this.queue.push(el);
813
- innerEl.insertAdjacentElement('beforeend', el);
814
- }
815
- }
816
- }
817
- if (this.queue.length === 0) {
818
- (_a = this.container) === null || _a === void 0 ? void 0 : _a.remove();
819
- }
820
- }
821
- removeFromQueue(toastId) {
822
- this.queue = this.queue.filter(el => el.id !== toastId);
823
- setTimeout(() => this.updateQueue(), 0);
824
- }
825
- }
826
-
827
- class BalSnackbarController extends BalNoticeController {
828
- constructor() {
829
- super({
830
- tag: 'bal-snackbar',
831
- });
832
- }
833
- create(options) {
834
- return super.create(options);
835
- }
836
- }
837
- const balSnackbarController = new BalSnackbarController();
838
-
839
- class BalToastController extends BalNoticeController {
840
- constructor() {
841
- super({
842
- tag: 'bal-toast',
843
- });
844
- }
845
- create(options) {
846
- return super.create(options);
847
- }
848
- }
849
- const balToastController = new BalToastController();
850
-
851
- const tags = [
852
- "bal-accordion",
853
- "bal-accordion-details",
854
- "bal-accordion-summary",
855
- "bal-accordion-trigger",
856
- "bal-app",
857
- "bal-badge",
858
- "bal-button",
859
- "bal-button-group",
860
- "bal-card",
861
- "bal-card-actions",
862
- "bal-card-button",
863
- "bal-card-content",
864
- "bal-card-subtitle",
865
- "bal-card-title",
866
- "bal-carousel",
867
- "bal-carousel-item",
868
- "bal-check",
869
- "bal-checkbox",
870
- "bal-checkbox-group",
871
- "bal-close",
872
- "bal-content",
873
- "bal-data",
874
- "bal-data-item",
875
- "bal-data-label",
876
- "bal-data-value",
877
- "bal-date",
878
- "bal-date-calendar",
879
- "bal-date-calendar-cell",
880
- "bal-divider",
881
- "bal-dropdown",
882
- "bal-field",
883
- "bal-field-control",
884
- "bal-field-hint",
885
- "bal-field-label",
886
- "bal-field-message",
887
- "bal-file-upload",
888
- "bal-footer",
889
- "bal-form",
890
- "bal-form-col",
891
- "bal-form-grid",
892
- "bal-heading",
893
- "bal-hint",
894
- "bal-hint-text",
895
- "bal-hint-title",
896
- "bal-icon",
897
- "bal-input",
898
- "bal-input-date",
899
- "bal-input-group",
900
- "bal-input-slider",
901
- "bal-input-stepper",
902
- "bal-label",
903
- "bal-list",
904
- "bal-list-item",
905
- "bal-list-item-accordion-body",
906
- "bal-list-item-accordion-head",
907
- "bal-list-item-content",
908
- "bal-list-item-icon",
909
- "bal-list-item-subtitle",
910
- "bal-list-item-title",
911
- "bal-logo",
912
- "bal-modal",
913
- "bal-modal-body",
914
- "bal-modal-header",
915
- "bal-nav",
916
- "bal-nav-link",
917
- "bal-nav-link-grid",
918
- "bal-nav-link-grid-col",
919
- "bal-nav-link-group",
920
- "bal-nav-menu-bar",
921
- "bal-nav-menu-flyout",
922
- "bal-nav-meta-bar",
923
- "bal-navbar",
924
- "bal-navbar-brand",
925
- "bal-navbar-menu",
926
- "bal-navbar-menu-end",
927
- "bal-navbar-menu-start",
928
- "bal-notices",
929
- "bal-notification",
930
- "bal-number-input",
931
- "bal-option",
932
- "bal-option-list",
933
- "bal-pagination",
934
- "bal-popover",
935
- "bal-popover-content",
936
- "bal-popup",
937
- "bal-progress-bar",
938
- "bal-radio",
939
- "bal-radio-group",
940
- "bal-radio-icon",
941
- "bal-segment",
942
- "bal-segment-item",
943
- "bal-select",
944
- "bal-select-option",
945
- "bal-shape",
946
- "bal-sheet",
947
- "bal-snackbar",
948
- "bal-spinner",
949
- "bal-stack",
950
- "bal-stage",
951
- "bal-stage-back-link",
952
- "bal-stage-body",
953
- "bal-stage-foot",
954
- "bal-stage-head",
955
- "bal-stage-image",
956
- "bal-step-item",
957
- "bal-steps",
958
- "bal-switch",
959
- "bal-tab-item",
960
- "bal-table",
961
- "bal-tabs",
962
- "bal-tag",
963
- "bal-tag-group",
964
- "bal-text",
965
- "bal-textarea",
966
- "bal-time-input",
967
- "bal-toast",
968
- "bal-tooltip"
969
- ];
970
-
971
- // generated by .build/version.js
972
- const VERSION = '19.8.2';
973
-
974
- const initializeBaloiseDesignSystem = (userConfig = {}, platformConfig = undefined, win = {}) => {
975
- if (Object.keys(win).length === 0 && balBrowser.hasWindow) {
976
- win = window;
977
- }
978
- win.BaloiseDesignSystem = win.BaloiseDesignSystem || {};
979
- if (platformConfig) {
980
- setPlatformHelpers(platformConfig);
981
- }
982
- setupConfig(Object.assign(Object.assign({}, userConfig), platformConfig), win);
983
- win.BaloiseDesignSystem.toastController = balToastController;
984
- win.BaloiseDesignSystem.snackbarController = balSnackbarController;
985
- win.BaloiseDesignSystem.initialize = () => setupConfig(win.BaloiseDesignSystem.config, win);
986
- win.BaloiseDesignSystem.version = VERSION;
987
- if (userConfig._generateHydrateForCustomElementsOutput) {
988
- generateHydrateForCustomElementsOutput(tags);
989
- }
990
- };
991
- /**
992
- * This function generates the CSS needed for custom elements hydration and inserts it into the document head.
993
- * The CSS rules include styles for slot fallback and the hydrated class.
994
- *
995
- * This is copied from the Stencil core library.
996
- * src/runtime/bootstrap-lazy.ts
997
- */
998
- const generateHydrateForCustomElementsOutput = (cmpTags = []) => {
999
- const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
1000
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
1001
- const win = typeof window !== 'undefined' ? window : {};
1002
- if (!win.document) {
1003
- console.warn('Stencil: No document found. Skipping bootstrapping lazy components.');
1004
- return;
1005
- }
1006
- const head = win.document.head;
1007
- const metaCharset = /* @__PURE__ */ head.querySelector('meta[charset]');
1008
- const dataStyles = /* @__PURE__ */ win.document.createElement('style');
1009
- if (cmpTags.length > 0) {
1010
- dataStyles.textContent += SLOT_FB_CSS;
1011
- dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
1012
- if (dataStyles.innerHTML.length) {
1013
- dataStyles.setAttribute('data-styles', '');
1014
- head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1015
- }
1016
- }
1017
- };
1018
-
1019
- function appGlobalScript () {
1020
- initializeBaloiseDesignSystem();
1021
- }
1022
-
1023
- const globalScripts = appGlobalScript;
1024
- const globalStyles = "";
3
+ const NAMESPACE = 'baloise-design-system';
4
+ const BUILD = /* baloise-design-system */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, updatable: true};
1025
5
 
1026
6
  /*
1027
- Stencil Client Platform v4.35.1 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.38.2 | MIT Licensed | https://stenciljs.com
1028
8
  */
1029
9
  var __defProp = Object.defineProperty;
1030
10
  var __export = (target, all) => {
@@ -1044,6 +24,7 @@ var getHostRef = (ref) => {
1044
24
  return void 0;
1045
25
  };
1046
26
  var registerInstance = (lazyInstance, hostRef) => {
27
+ if (!hostRef) return;
1047
28
  lazyInstance.__stencil__getHostRef = () => hostRef;
1048
29
  hostRef.$lazyInstance$ = lazyInstance;
1049
30
  };
@@ -1052,7 +33,8 @@ var registerHost = (hostElement, cmpMeta) => {
1052
33
  $flags$: 0,
1053
34
  $hostElement$: hostElement,
1054
35
  $cmpMeta$: cmpMeta,
1055
- $instanceValues$: /* @__PURE__ */ new Map()
36
+ $instanceValues$: /* @__PURE__ */ new Map(),
37
+ $serializerValues$: /* @__PURE__ */ new Map()
1056
38
  };
1057
39
  {
1058
40
  hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
@@ -1062,6 +44,9 @@ var registerHost = (hostElement, cmpMeta) => {
1062
44
  hostElement["s-p"] = [];
1063
45
  hostElement["s-rc"] = [];
1064
46
  }
47
+ {
48
+ hostRef.$fetchedCbList$ = [];
49
+ }
1065
50
  const ref = hostRef;
1066
51
  hostElement.__stencil__getHostRef = () => ref;
1067
52
  return ref;
@@ -1145,6 +130,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
1145
130
  }
1146
131
  return false;
1147
132
  })() ;
133
+ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
1148
134
  var queuePending = false;
1149
135
  var queueDomReads = [];
1150
136
  var queueDomWrites = [];
@@ -1247,12 +233,24 @@ var unwrapErr = (result) => {
1247
233
  throw result.value;
1248
234
  }
1249
235
  };
236
+
237
+ // src/utils/style.ts
238
+ function createStyleSheetIfNeededAndSupported(styles2) {
239
+ return void 0;
240
+ }
241
+
242
+ // src/utils/shadow-root.ts
243
+ var globalStyleSheet;
1250
244
  function createShadowRoot(cmpMeta) {
245
+ var _a;
1251
246
  const shadowRoot = this.attachShadow({ mode: "open" });
1252
- if (supportsConstructableStylesheets) {
1253
- const sheet = new CSSStyleSheet();
1254
- sheet.replaceSync(globalStyles);
1255
- shadowRoot.adoptedStyleSheets.push(sheet);
247
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
248
+ if (globalStyleSheet) {
249
+ if (supportsMutableAdoptedStyleSheets) {
250
+ shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
251
+ } else {
252
+ shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
253
+ }
1256
254
  }
1257
255
  }
1258
256
  var updateFallbackSlotVisibility = (elm) => {
@@ -1375,6 +373,110 @@ var uniqueTime = (key, measureText) => {
1375
373
  };
1376
374
  }
1377
375
  };
376
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
377
+ var registerStyle = (scopeId2, cssText, allowCS) => {
378
+ let style = styles.get(scopeId2);
379
+ if (supportsConstructableStylesheets && allowCS) {
380
+ style = style || new CSSStyleSheet();
381
+ if (typeof style === "string") {
382
+ style = cssText;
383
+ } else {
384
+ style.replaceSync(cssText);
385
+ }
386
+ } else {
387
+ style = cssText;
388
+ }
389
+ styles.set(scopeId2, style);
390
+ };
391
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
392
+ var _a;
393
+ const scopeId2 = getScopeId(cmpMeta);
394
+ const style = styles.get(scopeId2);
395
+ if (!win.document) {
396
+ return scopeId2;
397
+ }
398
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
399
+ if (style) {
400
+ if (typeof style === "string") {
401
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
402
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
403
+ let styleElm;
404
+ if (!appliedStyles) {
405
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
406
+ }
407
+ if (!appliedStyles.has(scopeId2)) {
408
+ {
409
+ styleElm = win.document.createElement("style");
410
+ styleElm.innerHTML = style;
411
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
412
+ if (nonce != null) {
413
+ styleElm.setAttribute("nonce", nonce);
414
+ }
415
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
416
+ if (styleContainerNode.nodeName === "HEAD") {
417
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
418
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
419
+ styleContainerNode.insertBefore(
420
+ styleElm,
421
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
422
+ );
423
+ } else if ("host" in styleContainerNode) {
424
+ if (supportsConstructableStylesheets) {
425
+ const stylesheet = new CSSStyleSheet();
426
+ stylesheet.replaceSync(style);
427
+ if (supportsMutableAdoptedStyleSheets) {
428
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
429
+ } else {
430
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
431
+ }
432
+ } else {
433
+ const existingStyleContainer = styleContainerNode.querySelector("style");
434
+ if (existingStyleContainer) {
435
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
436
+ } else {
437
+ styleContainerNode.prepend(styleElm);
438
+ }
439
+ }
440
+ } else {
441
+ styleContainerNode.append(styleElm);
442
+ }
443
+ }
444
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
445
+ styleContainerNode.insertBefore(styleElm, null);
446
+ }
447
+ }
448
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
449
+ styleElm.innerHTML += SLOT_FB_CSS;
450
+ }
451
+ if (appliedStyles) {
452
+ appliedStyles.add(scopeId2);
453
+ }
454
+ }
455
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
456
+ if (supportsMutableAdoptedStyleSheets) {
457
+ styleContainerNode.adoptedStyleSheets.push(style);
458
+ } else {
459
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
460
+ }
461
+ }
462
+ }
463
+ return scopeId2;
464
+ };
465
+ var attachStyles = (hostRef) => {
466
+ const cmpMeta = hostRef.$cmpMeta$;
467
+ const elm = hostRef.$hostElement$;
468
+ const flags = cmpMeta.$flags$;
469
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
470
+ const scopeId2 = addStyle(
471
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
472
+ cmpMeta);
473
+ if (flags & 10 /* needsScopedEncapsulation */) {
474
+ elm["s-sc"] = scopeId2;
475
+ elm.classList.add(scopeId2 + "-h");
476
+ }
477
+ endAttachStyles();
478
+ };
479
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
1378
480
  var h = (nodeName, vnodeData, ...children) => {
1379
481
  let child = null;
1380
482
  let key = null;
@@ -1515,7 +617,10 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1515
617
  }
1516
618
  return propValue;
1517
619
  };
1518
- var getElement = (ref) => getHostRef(ref).$hostElement$ ;
620
+ var getElement = (ref) => {
621
+ var _a;
622
+ return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
623
+ };
1519
624
 
1520
625
  // src/runtime/event-emitter.ts
1521
626
  var createEvent = (ref, name, flags) => {
@@ -1536,102 +641,6 @@ var emitEvent = (elm, name, opts) => {
1536
641
  elm.dispatchEvent(ev);
1537
642
  return ev;
1538
643
  };
1539
- var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1540
- var registerStyle = (scopeId2, cssText, allowCS) => {
1541
- let style = styles.get(scopeId2);
1542
- if (supportsConstructableStylesheets && allowCS) {
1543
- style = style || new CSSStyleSheet();
1544
- if (typeof style === "string") {
1545
- style = cssText;
1546
- } else {
1547
- style.replaceSync(cssText);
1548
- }
1549
- } else {
1550
- style = cssText;
1551
- }
1552
- styles.set(scopeId2, style);
1553
- };
1554
- var addStyle = (styleContainerNode, cmpMeta, mode) => {
1555
- var _a;
1556
- const scopeId2 = getScopeId(cmpMeta);
1557
- const style = styles.get(scopeId2);
1558
- if (!win.document) {
1559
- return scopeId2;
1560
- }
1561
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1562
- if (style) {
1563
- if (typeof style === "string") {
1564
- styleContainerNode = styleContainerNode.head || styleContainerNode;
1565
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1566
- let styleElm;
1567
- if (!appliedStyles) {
1568
- rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1569
- }
1570
- if (!appliedStyles.has(scopeId2)) {
1571
- {
1572
- styleElm = win.document.createElement("style");
1573
- styleElm.innerHTML = style;
1574
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1575
- if (nonce != null) {
1576
- styleElm.setAttribute("nonce", nonce);
1577
- }
1578
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1579
- if (styleContainerNode.nodeName === "HEAD") {
1580
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1581
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1582
- styleContainerNode.insertBefore(
1583
- styleElm,
1584
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
1585
- );
1586
- } else if ("host" in styleContainerNode) {
1587
- if (supportsConstructableStylesheets) {
1588
- const stylesheet = new CSSStyleSheet();
1589
- stylesheet.replaceSync(style);
1590
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
1591
- } else {
1592
- const existingStyleContainer = styleContainerNode.querySelector("style");
1593
- if (existingStyleContainer) {
1594
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
1595
- } else {
1596
- styleContainerNode.prepend(styleElm);
1597
- }
1598
- }
1599
- } else {
1600
- styleContainerNode.append(styleElm);
1601
- }
1602
- }
1603
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1604
- styleContainerNode.insertBefore(styleElm, null);
1605
- }
1606
- }
1607
- if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1608
- styleElm.innerHTML += SLOT_FB_CSS;
1609
- }
1610
- if (appliedStyles) {
1611
- appliedStyles.add(scopeId2);
1612
- }
1613
- }
1614
- } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
1615
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
1616
- }
1617
- }
1618
- return scopeId2;
1619
- };
1620
- var attachStyles = (hostRef) => {
1621
- const cmpMeta = hostRef.$cmpMeta$;
1622
- const elm = hostRef.$hostElement$;
1623
- const flags = cmpMeta.$flags$;
1624
- const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1625
- const scopeId2 = addStyle(
1626
- elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1627
- cmpMeta);
1628
- if (flags & 10 /* needsScopedEncapsulation */) {
1629
- elm["s-sc"] = scopeId2;
1630
- elm.classList.add(scopeId2 + "-h");
1631
- }
1632
- endAttachStyles();
1633
- };
1634
- var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
1635
644
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
1636
645
  if (oldValue === newValue) {
1637
646
  return;
@@ -2072,7 +1081,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
2072
1081
  !isInitialRender && BUILD.updatable && oldChildren !== null
2073
1082
  ) {
2074
1083
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
2075
- }
1084
+ } else ;
2076
1085
  if (isSvgMode && tag === "svg") {
2077
1086
  isSvgMode = false;
2078
1087
  }
@@ -2177,9 +1186,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
2177
1186
  hostTagName = hostElm.tagName;
2178
1187
  if (cmpMeta.$attrsToReflect$) {
2179
1188
  rootVnode.$attrs$ = rootVnode.$attrs$ || {};
2180
- cmpMeta.$attrsToReflect$.map(
2181
- ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
2182
- );
1189
+ cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
1190
+ {
1191
+ rootVnode.$attrs$[attribute] = hostElm[propName];
1192
+ }
1193
+ });
2183
1194
  }
2184
1195
  if (isInitialLoad && rootVnode.$attrs$) {
2185
1196
  for (const key of Object.keys(rootVnode.$attrs$)) {
@@ -2292,6 +1303,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
2292
1303
  }
2293
1304
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
2294
1305
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1306
+ if (isInitialLoad) {
1307
+ queueMicrotask(() => {
1308
+ dispatch();
1309
+ });
1310
+ return;
1311
+ }
2295
1312
  return writeTask(dispatch) ;
2296
1313
  };
2297
1314
  var dispatchHooks = (hostRef, isInitialLoad) => {
@@ -2306,10 +1323,15 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
2306
1323
  let maybePromise;
2307
1324
  if (isInitialLoad) {
2308
1325
  {
2309
- hostRef.$flags$ |= 256 /* isListenReady */;
2310
- if (hostRef.$queuedListeners$) {
2311
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
2312
- hostRef.$queuedListeners$ = void 0;
1326
+ {
1327
+ hostRef.$flags$ |= 256 /* isListenReady */;
1328
+ if (hostRef.$queuedListeners$) {
1329
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
1330
+ hostRef.$queuedListeners$ = void 0;
1331
+ }
1332
+ }
1333
+ if (hostRef.$fetchedCbList$.length) {
1334
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
2313
1335
  }
2314
1336
  }
2315
1337
  maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
@@ -2436,6 +1458,9 @@ var addHydratedFlag = (elm) => {
2436
1458
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
2437
1459
  var setValue = (ref, propName, newVal, cmpMeta) => {
2438
1460
  const hostRef = getHostRef(ref);
1461
+ if (!hostRef) {
1462
+ return;
1463
+ }
2439
1464
  if (!hostRef) {
2440
1465
  throw new Error(
2441
1466
  `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
@@ -2481,9 +1506,17 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
2481
1506
  var proxyComponent = (Cstr, cmpMeta, flags) => {
2482
1507
  var _a, _b;
2483
1508
  const prototype = Cstr.prototype;
2484
- if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
2485
- if (Cstr.watchers && !cmpMeta.$watchers$) {
2486
- cmpMeta.$watchers$ = Cstr.watchers;
1509
+ if (cmpMeta.$members$ || BUILD.propChangeCallback) {
1510
+ {
1511
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1512
+ cmpMeta.$watchers$ = Cstr.watchers;
1513
+ }
1514
+ if (Cstr.deserializers && !cmpMeta.$deserializers$) {
1515
+ cmpMeta.$deserializers$ = Cstr.deserializers;
1516
+ }
1517
+ if (Cstr.serializers && !cmpMeta.$serializers$) {
1518
+ cmpMeta.$serializers$ = Cstr.serializers;
1519
+ }
2487
1520
  }
2488
1521
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
2489
1522
  members.map(([memberName, [memberFlags]]) => {
@@ -2511,12 +1544,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2511
1544
  Object.defineProperty(prototype, memberName, {
2512
1545
  set(newValue) {
2513
1546
  const ref = getHostRef(this);
1547
+ if (!ref) {
1548
+ return;
1549
+ }
2514
1550
  if (origSetter) {
2515
1551
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2516
1552
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
2517
1553
  newValue = ref.$instanceValues$.get(memberName);
2518
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
2519
- ref.$instanceValues$.set(memberName, currentValue);
2520
1554
  }
2521
1555
  origSetter.apply(this, [
2522
1556
  parsePropertyValue(
@@ -2531,7 +1565,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2531
1565
  if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
2532
1566
  setValue(this, memberName, newValue, cmpMeta);
2533
1567
  if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
2534
- ref.$onReadyPromise$.then(() => {
1568
+ ref.$fetchedCbList$.push(() => {
2535
1569
  if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
2536
1570
  ref.$lazyInstance$[memberName] = newValue;
2537
1571
  }
@@ -2552,7 +1586,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2552
1586
  if (ref.$lazyInstance$) {
2553
1587
  setterSetVal();
2554
1588
  } else {
2555
- ref.$onReadyPromise$.then(() => setterSetVal());
1589
+ ref.$fetchedCbList$.push(() => {
1590
+ setterSetVal();
1591
+ });
2556
1592
  }
2557
1593
  }
2558
1594
  }
@@ -2576,16 +1612,17 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2576
1612
  plt.jmp(() => {
2577
1613
  var _a2;
2578
1614
  const propName = attrNameToPropName.get(attrName);
1615
+ const hostRef = getHostRef(this);
2579
1616
  if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
2580
1617
  newValue = this[propName];
2581
1618
  delete this[propName];
2582
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1619
+ }
1620
+ if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
2583
1621
  this[propName] == newValue) {
2584
1622
  return;
2585
1623
  } else if (propName == null) {
2586
- const hostRef = getHostRef(this);
2587
1624
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
2588
- if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1625
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
2589
1626
  const instance = hostRef.$lazyInstance$ ;
2590
1627
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
2591
1628
  entry == null ? void 0 : entry.forEach((callbackName) => {
@@ -2596,9 +1633,12 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2596
1633
  }
2597
1634
  return;
2598
1635
  }
1636
+ const propFlags = members.find(([m]) => m === propName);
1637
+ if (propFlags && propFlags[1][0] & 4 /* Boolean */) {
1638
+ newValue = newValue === null || newValue === "false" ? false : true;
1639
+ }
2599
1640
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
2600
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
2601
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1641
+ if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
2602
1642
  this[propName] = newValue;
2603
1643
  }
2604
1644
  });
@@ -2606,7 +1646,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2606
1646
  Cstr.observedAttributes = Array.from(
2607
1647
  /* @__PURE__ */ new Set([
2608
1648
  ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
2609
- ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1649
+ ...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
2610
1650
  var _a2;
2611
1651
  const attrName = m[1] || propName;
2612
1652
  attrNameToPropName.set(attrName, propName);
@@ -2643,6 +1683,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2643
1683
  if (!Cstr.isProxied) {
2644
1684
  {
2645
1685
  cmpMeta.$watchers$ = Cstr.watchers;
1686
+ cmpMeta.$serializers$ = Cstr.serializers;
1687
+ cmpMeta.$deserializers$ = Cstr.deserializers;
2646
1688
  }
2647
1689
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
2648
1690
  Cstr.isProxied = true;
@@ -2700,6 +1742,9 @@ var fireConnectedCallback = (instance, elm) => {
2700
1742
  var connectedCallback = (elm) => {
2701
1743
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
2702
1744
  const hostRef = getHostRef(elm);
1745
+ if (!hostRef) {
1746
+ return;
1747
+ }
2703
1748
  const cmpMeta = hostRef.$cmpMeta$;
2704
1749
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
2705
1750
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
@@ -2721,7 +1766,7 @@ var connectedCallback = (elm) => {
2721
1766
  }
2722
1767
  if (cmpMeta.$members$) {
2723
1768
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
2724
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1769
+ if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
2725
1770
  const value = elm[memberName];
2726
1771
  delete elm[memberName];
2727
1772
  elm[memberName] = value;
@@ -2761,7 +1806,7 @@ var disconnectedCallback = async (elm) => {
2761
1806
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
2762
1807
  const hostRef = getHostRef(elm);
2763
1808
  {
2764
- if (hostRef.$rmListeners$) {
1809
+ if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
2765
1810
  hostRef.$rmListeners$.map((rmListener) => rmListener());
2766
1811
  hostRef.$rmListeners$ = void 0;
2767
1812
  }
@@ -2802,7 +1847,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2802
1847
  let hasSlotRelocation = false;
2803
1848
  lazyBundles.map((lazyBundle) => {
2804
1849
  lazyBundle[1].map((compactMeta) => {
2805
- var _a2;
1850
+ var _a2, _b, _c;
2806
1851
  const cmpMeta = {
2807
1852
  $flags$: compactMeta[0],
2808
1853
  $tagName$: compactMeta[1],
@@ -2823,6 +1868,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2823
1868
  }
2824
1869
  {
2825
1870
  cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
1871
+ cmpMeta.$serializers$ = (_b = compactMeta[5]) != null ? _b : {};
1872
+ cmpMeta.$deserializers$ = (_c = compactMeta[6]) != null ? _c : {};
2826
1873
  }
2827
1874
  const tagName = cmpMeta.$tagName$;
2828
1875
  const HostElement = class extends HTMLElement {
@@ -2848,6 +1895,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2848
1895
  }
2849
1896
  connectedCallback() {
2850
1897
  const hostRef = getHostRef(this);
1898
+ if (!hostRef) {
1899
+ return;
1900
+ }
2851
1901
  if (!this.hasRegisteredEventListeners) {
2852
1902
  this.hasRegisteredEventListeners = true;
2853
1903
  addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
@@ -2867,6 +1917,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2867
1917
  plt.raf(() => {
2868
1918
  var _a3;
2869
1919
  const hostRef = getHostRef(this);
1920
+ if (!hostRef) {
1921
+ return;
1922
+ }
2870
1923
  const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
2871
1924
  if (i2 > -1) {
2872
1925
  deferredConnectedCallbacks.splice(i2, 1);
@@ -2877,7 +1930,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2877
1930
  });
2878
1931
  }
2879
1932
  componentOnReady() {
2880
- return getHostRef(this).$onReadyPromise$;
1933
+ var _a3;
1934
+ return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
2881
1935
  }
2882
1936
  };
2883
1937
  cmpMeta.$lazyBundleId$ = lazyBundle[0];
@@ -2958,4 +2012,13 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2958
2012
  // src/runtime/nonce.ts
2959
2013
  var setNonce = (nonce) => plt.$nonce$ = nonce;
2960
2014
 
2961
- export { detachComponentFromConfig as $, waitForComponent as A, waitForDesignSystem as B, waitOnLoadEventCallback as C, BalSnackbarController as D, balSnackbarController as E, BalToastController as F, balToastController as G, registerInstance as H, debounce as I, rIC as J, rOnLoad as K, Logger as L, h as M, Host as N, getElement as O, createEvent as P, raf as Q, addEventListener as R, removeEventListener as S, debounceEvent as T, defaultLocale as U, writeTask as V, transitionEndAsync as W, hasParent as X, isChildOfEventTarget as Y, hasTagName as Z, attachComponentToConfig as _, balBrowser as a, bootstrapLazy as b, getAppRoot as c, componentOnReady as d, attachToConfig as e, defaultConfig as f, globalScripts as g, detachFromConfig as h, setupConfig as i, updateBalAnimated as j, updateBalIcons as k, updateBalLanguage as l, updateBalRegion as m, useBalConfig as n, onBalConfigChange as o, promiseResolve as p, initializeBaloiseDesignSystem as q, deepReady as r, setNonce as s, isDescendant as t, updateBalAllowedLanguages as u, shallowReady as v, wait as w, waitAfterFramePaint as x, waitAfterIdleCallback as y, waitAfterLargestContentfulPaintCallback as z };
2015
+ exports.Host = Host;
2016
+ exports.bootstrapLazy = bootstrapLazy;
2017
+ exports.createEvent = createEvent;
2018
+ exports.getElement = getElement;
2019
+ exports.h = h;
2020
+ exports.promiseResolve = promiseResolve;
2021
+ exports.registerInstance = registerInstance;
2022
+ exports.setNonce = setNonce;
2023
+ exports.setPlatformHelpers = setPlatformHelpers;
2024
+ exports.writeTask = writeTask;