@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,1032 +1,8 @@
1
- 'use strict';
2
-
3
1
  const NAMESPACE = 'baloise-design-system';
4
- const BUILD = /* baloise-design-system */ { hydratedSelectorName: "hydrated", lazyLoad: true, slotRelocation: true, updatable: true};
5
-
6
- class BrowserWindow {
7
- /**
8
- * Returns the width of the window
9
- */
10
- get width() {
11
- if (balBrowser.hasWindow) {
12
- return window.innerWidth;
13
- }
14
- return 0;
15
- }
16
- /**
17
- * Returns the height of the window
18
- */
19
- get height() {
20
- if (balBrowser.hasWindow) {
21
- return window.innerHeight;
22
- }
23
- return 0;
24
- }
25
- }
26
- class Browser {
27
- constructor() {
28
- this.window = new BrowserWindow();
29
- }
30
- /**
31
- * Is true when it is a Safari browser
32
- */
33
- get isSafari() {
34
- return /^((?!chrome|android).)*safari/i.test(this.userAgent);
35
- }
36
- /**
37
- * Is true when the window object is defined
38
- */
39
- get hasWindow() {
40
- return typeof window !== 'undefined';
41
- }
42
- /**
43
- * Is true when the navigator object is defined
44
- */
45
- get hasNavigator() {
46
- return typeof navigator !== 'undefined';
47
- }
48
- /**
49
- * Is true when the document object is defined
50
- */
51
- get hasDocument() {
52
- return typeof document !== 'undefined';
53
- }
54
- /**
55
- * Returns a string with the user agents
56
- */
57
- get userAgent() {
58
- var _a;
59
- if (this.hasWindow && this.hasNavigator) {
60
- return (_a = navigator.userAgent) !== null && _a !== void 0 ? _a : '';
61
- }
62
- return '';
63
- }
64
- }
65
- const balBrowser = new Browser();
66
-
67
- const BALOISE_ANIMATION_KEY = 'baloise-animated';
68
-
69
- // generated file
70
- 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>';
71
- 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>';
72
- 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>';
73
- 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>';
74
- 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>';
75
- 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>';
76
- 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>';
77
- 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>';
78
- 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>';
79
- 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>';
80
- 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>';
81
- 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>';
82
- 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>';
83
- 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>';
84
- 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>';
85
- 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>';
86
- 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>';
87
- 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>';
88
- 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>';
89
- 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>';
90
- 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>';
91
- 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>';
92
- 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>';
93
- 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>';
94
- 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>';
95
- 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>';
96
- 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>';
97
- 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>';
98
-
99
- const defaultLoggerConfig = {
100
- components: [],
101
- event: false,
102
- lifecycle: false,
103
- render: false,
104
- custom: false,
105
- };
106
- const getConfig = () => {
107
- let loggerConfig = defaultLoggerConfig;
108
- if (balBrowser.hasWindow &&
109
- window.BaloiseDesignSystem &&
110
- window.BaloiseDesignSystem.config &&
111
- window.BaloiseDesignSystem.config.logger) {
112
- loggerConfig = window.BaloiseDesignSystem.config.logger;
113
- }
114
- return loggerConfig;
115
- };
116
- const buildLogger = (tag) => {
117
- const l = (type, message, ...optionalParams) => {
118
- const config = getConfig();
119
- if (config.components.includes(tag) && config[type]) {
120
- console.log(message, ...optionalParams);
121
- }
122
- };
123
- return {
124
- custom: (message, ...optionalParams) => l('custom', ` ➡️ [${tag}] - ${message}`, ...optionalParams),
125
- lifecycle: (lifecycleName, ...optionalParams) => l('lifecycle', `${lifecycleName === 'connectedCallback'
126
- ? '🟢'
127
- : lifecycleName === 'disconnectedCallback'
128
- ? '🔴'
129
- : lifecycleName === 'componentDidLoad'
130
- ? '🏁'
131
- : ' ➡️'} [${tag}] - (${lifecycleName})`, ...optionalParams),
132
- event: (eventName, ...optionalParams) => l('event', `🔥 [${tag}] - (${eventName})`, ...optionalParams),
133
- render: (...optionalParams) => l('render', `🖌️ [${tag}] - (render)`, ...optionalParams),
134
- };
135
- };
136
- function Logger(tag = 'unknown') {
137
- return function (target, _propertyKey, _descriptor) {
138
- const { connectedCallback, disconnectedCallback, render, componentDidLoad, createLogger } = target;
139
- const log = buildLogger(tag);
140
- target.connectedCallback = function () {
141
- log.lifecycle(`connectedCallback`, this);
142
- const events = Object.keys(this)
143
- .filter(n => n.startsWith('bal'))
144
- .filter(n => typeof this[n] === 'object');
145
- for (let index = 0; index < events.length; index++) {
146
- const event = events[index];
147
- const emitter = this[event];
148
- this[event] = {
149
- emit: (...args) => {
150
- log.event(event, this, ...args);
151
- return emitter.emit.call(this, ...args);
152
- },
153
- };
154
- }
155
- createLogger.call(this, log.custom);
156
- return connectedCallback && connectedCallback.call(this);
157
- };
158
- target.disconnectedCallback = function () {
159
- log.lifecycle(`disconnectedCallback`, this);
160
- return disconnectedCallback && disconnectedCallback.call(this);
161
- };
162
- target.componentDidLoad = function () {
163
- log.lifecycle(`componentDidLoad`, this);
164
- return componentDidLoad && componentDidLoad.call(this);
165
- };
166
- target.render = function () {
167
- log.render(this);
168
- return render.call(this);
169
- };
170
- };
171
- }
172
-
173
- const defaultIcons = {
174
- balIconClock,
175
- balIconClose,
176
- balIconInfoCircle,
177
- balIconPlus,
178
- balIconMinus,
179
- balIconEdit,
180
- balIconTrash,
181
- balIconNavGoLeft,
182
- balIconNavGoRight,
183
- balIconNavGoDown,
184
- balIconNavGoUp,
185
- balIconCheck,
186
- balIconDate,
187
- balIconDocument,
188
- balIconUpload,
189
- balIconMenuBars,
190
- balIconFacebook,
191
- balIconInstagram,
192
- balIconLinkedin,
193
- balIconTwitter,
194
- balIconX,
195
- balIconXing,
196
- balIconYoutube,
197
- balIconWeb,
198
- balIconCaretDown,
199
- balIconCaretLeft,
200
- balIconCaretRight,
201
- balIconCaretUp,
202
- };
203
- const defaultConfig = {
204
- region: 'CH',
205
- language: 'de',
206
- allowedLanguages: ['de', 'fr', 'it', 'en'],
207
- icons: defaultIcons,
208
- fallbackLanguage: 'de',
209
- logger: defaultLoggerConfig,
210
- animated: true,
211
- httpFormSubmit: true,
212
- _generateHydrateForCustomElementsOutput: false,
213
- };
214
- const defaultLocale = `${defaultConfig.language}-${defaultConfig.region}`;
215
-
216
- class Config {
217
- constructor() {
218
- this._componentObservers = [];
219
- this._observers = [];
220
- this._config = defaultConfig;
221
- }
222
- get locale() {
223
- return `${this._config.language}-${this._config.region}`;
224
- }
225
- get region() {
226
- return this._config.region;
227
- }
228
- set region(region) {
229
- if (region !== this._config.region) {
230
- this._config.region = region;
231
- this._notify();
232
- }
233
- }
234
- get language() {
235
- return this._config.language;
236
- }
237
- set language(language) {
238
- if (language !== this._config.language) {
239
- if (this._config.allowedLanguages.includes(language)) {
240
- this._config.language = language;
241
- }
242
- else {
243
- this._config.language = this._config.fallbackLanguage;
244
- }
245
- this._notify();
246
- }
247
- }
248
- get allowedLanguages() {
249
- return this._config.allowedLanguages;
250
- }
251
- set allowedLanguages(allowedLanguages) {
252
- if (allowedLanguages !== this._config.allowedLanguages) {
253
- this._config.allowedLanguages = allowedLanguages;
254
- this._notify();
255
- }
256
- }
257
- get icons() {
258
- return this._config.icons;
259
- }
260
- set icons(icons) {
261
- this._config.icons = Object.assign(Object.assign({}, this._config.icons), icons);
262
- this._notify();
263
- }
264
- get logger() {
265
- return this._config.logger;
266
- }
267
- set logger(logger) {
268
- this._config.logger = Object.assign({}, logger);
269
- this._notify();
270
- }
271
- get animated() {
272
- return this._config.animated;
273
- }
274
- set animated(animated) {
275
- this._config.animated = animated;
276
- this._notify();
277
- }
278
- get httpFormSubmit() {
279
- return this._config.httpFormSubmit;
280
- }
281
- set httpFormSubmit(httpFormSubmit) {
282
- this._config.httpFormSubmit = httpFormSubmit;
283
- this._notify();
284
- }
285
- attach(observer) {
286
- const isExist = this._observers.includes(observer);
287
- if (isExist) {
288
- return console.log('Subject: Observer has been attached already.');
289
- }
290
- this._observers.push(observer);
291
- observer.configChanged(this._config);
292
- }
293
- detach(observer) {
294
- const observerIndex = this._observers.indexOf(observer);
295
- if (observerIndex === -1) {
296
- return console.log('Subject: Nonexistent observer.');
297
- }
298
- this._observers.splice(observerIndex, 1);
299
- }
300
- attachComponent(observer) {
301
- const isExist = this._componentObservers.includes(observer);
302
- if (isExist) {
303
- return console.log('Subject: Observer has been attached already.');
304
- }
305
- this._componentObservers.push(observer);
306
- observer.configChanged(this._config);
307
- }
308
- detachComponent(observer) {
309
- const observerIndex = this._componentObservers.indexOf(observer);
310
- if (observerIndex === -1) {
311
- return console.log('Subject: Nonexistent observer.');
312
- }
313
- this._componentObservers.splice(observerIndex, 1);
314
- }
315
- toString() {
316
- return JSON.stringify(this._config);
317
- }
318
- reset(config) {
319
- this._config = Object.assign(Object.assign(Object.assign({}, this._config), config), { icons: Object.assign(Object.assign({}, this._config.icons), config.icons) });
320
- this._notify(false);
321
- }
322
- _notify(all = true) {
323
- for (const observer of this._componentObservers) {
324
- observer.configChanged(this._config);
325
- }
326
- if (all) {
327
- for (const observer of this._observers) {
328
- observer.configChanged(this._config);
329
- }
330
- }
331
- }
332
- }
333
- const config = /*@__PURE__*/ new Config();
334
- const configFromLocalStorage = (win) => {
335
- try {
336
- const animated = JSON.parse(win.localStorage.getItem(BALOISE_ANIMATION_KEY));
337
- if (animated !== null) {
338
- return {
339
- animated,
340
- };
341
- }
342
- return {};
343
- }
344
- catch (e) {
345
- return {};
346
- }
347
- };
348
-
349
- const setupConfig = (userConfig = {}, win = {}) => {
350
- if (Object.keys(win).length === 0 && balBrowser.hasWindow) {
351
- win = window;
352
- }
353
- win.BaloiseDesignSystem = win.BaloiseDesignSystem || {};
354
- config.reset(Object.assign(Object.assign(Object.assign({}, configFromLocalStorage(win)), userConfig), { icons: Object.assign({}, userConfig.icons) }));
355
- win.BaloiseDesignSystem.config = config;
356
- };
357
-
358
- const onBalConfigChange = (callback) => {
359
- attachToConfig({
360
- configChanged(state) {
361
- callback(state);
362
- },
363
- });
364
- };
365
- const useBalConfig = () => {
366
- if (!balBrowser.hasWindow) {
367
- return;
368
- }
369
- const win = window;
370
- return win && win.BaloiseDesignSystem && win.BaloiseDesignSystem.config;
371
- };
372
- const attachToConfig = (observer) => {
373
- const config = useBalConfig();
374
- if (config) {
375
- config.attach(observer);
376
- }
377
- };
378
- const detachFromConfig = (observer) => {
379
- const config = useBalConfig();
380
- if (config) {
381
- config.detach(observer);
382
- }
383
- };
384
- const attachComponentToConfig = (observer) => {
385
- const config = useBalConfig();
386
- if (config) {
387
- config.attachComponent(observer);
388
- }
389
- };
390
- const detachComponentFromConfig = (observer) => {
391
- const config = useBalConfig();
392
- if (config) {
393
- config.detachComponent(observer);
394
- }
395
- };
396
- const updateBalLanguage = (language) => {
397
- const config = useBalConfig();
398
- if (config) {
399
- config.language = language;
400
- }
401
- };
402
- const updateBalRegion = (region) => {
403
- const config = useBalConfig();
404
- if (config) {
405
- config.region = region;
406
- }
407
- };
408
- const updateBalAllowedLanguages = (allowedLanguages) => {
409
- const config = useBalConfig();
410
- if (config) {
411
- config.allowedLanguages = allowedLanguages;
412
- }
413
- };
414
- const updateBalIcons = (icons) => {
415
- const config = useBalConfig();
416
- if (config) {
417
- config.icons = Object.assign(Object.assign({}, config.icons), icons);
418
- }
419
- };
420
- const updateBalAnimated = (animated) => {
421
- const config = useBalConfig();
422
- if (config) {
423
- config.animated = animated;
424
- }
425
- };
426
-
427
- /**
428
- * Request Largest Contentful Paint (LCP) callback
429
- */
430
- const rLCP = (callback, timeout = 3000) => {
431
- let isLargestContentPatinDone = false;
432
- if (!balBrowser.isSafari && balBrowser.hasWindow && 'PerformanceObserver' in window) {
433
- const observer = new PerformanceObserver(entryList => {
434
- const entries = entryList.getEntries();
435
- const lcpEntry = entries[entries.length - 1]; // Get the last (largest) entry
436
- if (lcpEntry) {
437
- // Disconnect the observer as we only need the LCP
438
- observer.disconnect();
439
- // Load the script after LCP
440
- isLargestContentPatinDone = true;
441
- rIC(() => callback());
442
- }
443
- });
444
- // Start observing for Largest Contentful Paint (LCP) entries
445
- observer.observe({ type: 'largest-contentful-paint', buffered: true });
446
- setTimeout(() => {
447
- if (!isLargestContentPatinDone) {
448
- observer.disconnect();
449
- callback();
450
- }
451
- }, timeout);
452
- }
453
- else {
454
- return setTimeout(callback, 32);
455
- }
456
- };
457
- const rOnLoad = (callback, timeout = 32) => {
458
- let called = false;
459
- const callOnce = () => {
460
- if (!called) {
461
- called = true;
462
- callback();
463
- }
464
- };
465
- if (balBrowser.hasWindow) {
466
- const timer = setTimeout(callOnce, timeout);
467
- window.addEventListener('load', () => {
468
- clearTimeout(timer);
469
- callOnce();
470
- });
471
- }
472
- else {
473
- setTimeout(callOnce, 32);
474
- }
475
- };
476
- const rIC = (callback, timeout = 5000) => {
477
- if (balBrowser.hasWindow && 'requestIdleCallback' in window) {
478
- window.requestIdleCallback(callback, { timeout });
479
- }
480
- else {
481
- setTimeout(callback, 32);
482
- }
483
- };
484
- const wait = (ms = 0) => {
485
- return new Promise(resolve => {
486
- setTimeout(() => resolve(), ms);
487
- });
488
- };
489
- const debounceEvent = (ev, wait) => {
490
- const original = ev._original || ev;
491
- return {
492
- _original: ev,
493
- emit: debounce(original.emit.bind(original), wait),
494
- };
495
- };
496
- const debounce = (func, wait = 0) => {
497
- let timer;
498
- return (...args) => {
499
- clearTimeout(timer);
500
- timer = setTimeout(func, wait, ...args);
501
- };
502
- };
503
- const hasTagName = (element, tag) => {
504
- return element && element.tagName && element.tagName === tag.toUpperCase();
505
- };
506
- const isDescendant = (parent, child) => {
507
- let node = child.parentNode;
508
- while (node != null) {
509
- if (node == parent) {
510
- return true;
511
- }
512
- node = node.parentNode;
513
- }
514
- return false;
515
- };
516
- const hasParent = (parentTag, child) => {
517
- let node = child.parentNode;
518
- while (node != null) {
519
- if (node.tagName === parentTag.toUpperCase()) {
520
- return true;
521
- }
522
- node = node.parentNode;
523
- }
524
- return false;
525
- };
526
- const getAppRoot = (doc) => {
527
- return doc.querySelector('bal-app') || doc.body;
528
- };
529
- /**
530
- * Waits for a component to be ready for
531
- * both custom element and non-custom element builds.
532
- * If non-custom element build, el.componentOnReady
533
- * will be used.
534
- * For custom element builds, we wait a frame
535
- * so that the inner contents of the component
536
- * have a chance to render.
537
- *
538
- * Use this utility rather than calling
539
- * el.componentOnReady yourself.
540
- */
541
- const componentOnReady = (el, callback) => {
542
- if (el.componentOnReady !== null && el.componentOnReady !== undefined) {
543
- el.componentOnReady().then((resolvedEl) => callback(resolvedEl));
544
- }
545
- else {
546
- raf(() => callback(el));
547
- }
548
- };
549
- /**
550
- * Patched version of requestAnimationFrame that avoids ngzone
551
- * Use only when you know ngzone should not run
552
- */
553
- const raf = (h) => {
554
- if (typeof __zone_symbol__requestAnimationFrame === 'function') {
555
- return __zone_symbol__requestAnimationFrame(h);
556
- }
557
- if (typeof requestAnimationFrame === 'function') {
558
- return requestAnimationFrame(h);
559
- }
560
- return setTimeout(h);
561
- };
562
- const transitionEndAsync = (el, expectedDuration = 0) => {
563
- return new Promise(resolve => {
564
- transitionEnd(el, expectedDuration, resolve);
565
- });
566
- };
567
- /**
568
- * Allows developer to wait for a transition
569
- * to finish and fallback to a timer if the
570
- * transition is cancelled or otherwise
571
- * never finishes. Also see transitionEndAsync
572
- * which is an await-able version of this.
573
- */
574
- const transitionEnd = (el, expectedDuration = 0, callback) => {
575
- let unRegTrans;
576
- let animationTimeout;
577
- const opts = { passive: true };
578
- const ANIMATION_FALLBACK_TIMEOUT = 500;
579
- const unregister = () => {
580
- if (unRegTrans) {
581
- unRegTrans();
582
- }
583
- };
584
- const onTransitionEnd = (ev) => {
585
- if (ev === undefined || el === ev.target) {
586
- unregister();
587
- callback(ev);
588
- }
589
- };
590
- if (el) {
591
- el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);
592
- el.addEventListener('transitionend', onTransitionEnd, opts);
593
- animationTimeout = setTimeout(onTransitionEnd, expectedDuration + ANIMATION_FALLBACK_TIMEOUT);
594
- unRegTrans = () => {
595
- if (animationTimeout) {
596
- clearTimeout(animationTimeout);
597
- animationTimeout = undefined;
598
- }
599
- el.removeEventListener('webkitTransitionEnd', onTransitionEnd, opts);
600
- el.removeEventListener('transitionend', onTransitionEnd, opts);
601
- };
602
- }
603
- return unregister;
604
- };
605
- const addEventListener = (el, eventName, callback, opts) => {
606
- if (balBrowser.hasWindow) {
607
- const config = useBalConfig();
608
- if (config) {
609
- const ael = config._ael;
610
- if (ael) {
611
- return ael(el, eventName, callback, opts);
612
- }
613
- else if (config._ael) {
614
- return config._ael(el, eventName, callback, opts);
615
- }
616
- }
617
- }
618
- return el.addEventListener(eventName, callback, opts);
619
- };
620
- const removeEventListener = (el, eventName, callback, opts) => {
621
- if (balBrowser.hasWindow) {
622
- const config = useBalConfig();
623
- if (config) {
624
- const rel = config._rel;
625
- if (rel) {
626
- return rel(el, eventName, callback, opts);
627
- }
628
- else if (config._rel) {
629
- return config._rel(el, eventName, callback, opts);
630
- }
631
- }
632
- }
633
- return el.removeEventListener(eventName, callback, opts);
634
- };
635
- const shallowReady = (el) => {
636
- if (el) {
637
- return new Promise(resolve => componentOnReady(el, resolve));
638
- }
639
- return Promise.resolve();
640
- };
641
- const deepReady = async (el, full = false) => {
642
- const element = el;
643
- if (element) {
644
- if (element.componentOnReady !== null && element.componentOnReady !== undefined) {
645
- const stencilEl = await element.componentOnReady();
646
- if (!full && stencilEl !== null && stencilEl !== undefined) {
647
- return;
648
- }
649
- }
650
- await Promise.all(Array.from(element.children).map(child => deepReady(child, full)));
651
- }
652
- };
653
- const waitForComponent = async (el) => {
654
- await deepReady(el, true);
655
- await waitAfterFramePaint();
656
- await waitAfterIdleCallback();
657
- };
658
- const isChildOfEventTarget = async (ev, el, callback) => {
659
- if (ev && ev.target && el && el !== ev.target) {
660
- let target = ev.target;
661
- // special case for the navbar case
662
- const isNavbarBrand = ev.target.nodeName === 'BAL-NAVBAR-BRAND';
663
- if (isNavbarBrand) {
664
- target = target.closest('bal-navbar');
665
- }
666
- if (target && isDescendant(target, el)) {
667
- callback(target);
668
- }
669
- }
670
- };
671
- const waitForDesignSystem = async (el, _config) => {
672
- const config = Object.assign({ animated: false, icons: {
673
- balIconClose,
674
- balIconInfoCircle,
675
- balIconPlus,
676
- balIconMinus,
677
- balIconEdit,
678
- balIconTrash,
679
- balIconNavGoLeft,
680
- balIconNavGoRight,
681
- balIconNavGoDown,
682
- balIconNavGoUp,
683
- balIconCaretUp,
684
- balIconCaretDown,
685
- balIconCaretLeft,
686
- balIconCaretRight,
687
- balIconCheck,
688
- balIconDate,
689
- balIconDocument,
690
- balIconUpload,
691
- balIconMenuBars,
692
- } }, _config);
693
- const element = el;
694
- if (element !== null && element !== undefined) {
695
- await deepReady(element, true);
696
- const webComponents = Array.prototype.slice
697
- .call(element.querySelectorAll('*'))
698
- .filter(el => el.tagName.match(/^bal/i));
699
- await Promise.all(webComponents.map(c => {
700
- if (c.configChanged !== null && c.configChanged !== undefined) {
701
- return c.configChanged(config);
702
- }
703
- }));
704
- }
705
- await Promise.all([waitAfterFramePaint(), waitAfterLargestContentfulPaintCallback(), waitAfterIdleCallback()]);
706
- };
707
- const waitAfterFramePaint = () => {
708
- return new Promise(resolve => raf(() => runHighPrioritizedTask(resolve)));
709
- };
710
- const waitAfterIdleCallback = () => {
711
- return new Promise(resolve => rIC(() => runHighPrioritizedTask(resolve)));
712
- };
713
- const waitAfterLargestContentfulPaintCallback = () => {
714
- return new Promise(resolve => rLCP(() => runHighPrioritizedTask(resolve)));
715
- };
716
- const waitOnLoadEventCallback = () => {
717
- return new Promise(resolve => rOnLoad(() => runHighPrioritizedTask(resolve)));
718
- };
719
- const runHighPrioritizedTask = (callback) => {
720
- if (balBrowser.hasWindow && 'MessageChannel' in window) {
721
- const messageChannel = new window.MessageChannel();
722
- messageChannel.port1.onmessage = callback;
723
- messageChannel.port2.postMessage(undefined);
724
- }
725
- else {
726
- setTimeout(callback, 32);
727
- }
728
- };
729
-
730
- class BalNoticeController {
731
- constructor(options) {
732
- this.options = options;
733
- this.container = null;
734
- this.queue = [];
735
- this.preQueue = [];
736
- this.queueLimit = 5;
737
- }
738
- create(options) {
739
- if (balBrowser.hasDocument) {
740
- this.setupContainer(options);
741
- const clone = this.findClone(options);
742
- if (clone === undefined) {
743
- const el = document.createElement(this.options.tag);
744
- Object.assign(el, options);
745
- el.addEventListener('balClose', ev => {
746
- this.removeFromQueue(ev.detail);
747
- });
748
- this.preQueue.push(el);
749
- this.updateQueue();
750
- return el;
751
- }
752
- return clone;
753
- }
754
- }
755
- setQueue(queueLimit) {
756
- this.queueLimit = queueLimit;
757
- }
758
- async dismissAll() {
759
- var _a;
760
- const elements = (_a = this.container) === null || _a === void 0 ? void 0 : _a.querySelectorAll(this.options.tag);
761
- if (elements) {
762
- const closingQueue = [];
763
- for (let index = 0; index < elements.length; index++) {
764
- const el = elements[index];
765
- if (el.close) {
766
- closingQueue.push(el.close());
767
- }
768
- }
769
- await Promise.all(closingQueue);
770
- }
771
- }
772
- /**
773
- * @deprecated use dismissAll instead
774
- */
775
- async clearAll() {
776
- console.warn('[DEPRECATED] - use dismissAll() instead');
777
- return this.dismissAll();
778
- }
779
- findClone(options) {
780
- for (let index = 0; index < this.queue.length; index++) {
781
- const el = this.queue[index];
782
- if (el.message === options.message && el.color === options.color) {
783
- return el;
784
- }
785
- }
786
- return undefined;
787
- }
788
- setupContainer(options) {
789
- if (balBrowser.hasDocument) {
790
- const containerId = `${this.options.tag}-container`;
791
- this.container = document.getElementById(containerId);
792
- if (this.container)
793
- return;
794
- if (!this.container) {
795
- this.container = document.createElement('bal-notices');
796
- this.container.setAttribute('interface', this.options.tag.replace('bal-', ''));
797
- this.container.setAttribute('animated', options.animated ? 'true' : 'false');
798
- if (options.container !== undefined) {
799
- this.container.setAttribute('container', options.container === true ? '' : options.container);
800
- }
801
- this.container.id = containerId;
802
- }
803
- document.body.appendChild(this.container);
804
- }
805
- }
806
- async updateQueue() {
807
- var _a;
808
- if (this.queue.length < this.queueLimit) {
809
- const el = this.preQueue.shift();
810
- if (el && this.container) {
811
- await waitForComponent(this.container);
812
- const innerEl = this.container.querySelector('.bal-notices__inner');
813
- if (innerEl) {
814
- this.queue.push(el);
815
- innerEl.insertAdjacentElement('beforeend', el);
816
- }
817
- }
818
- }
819
- if (this.queue.length === 0) {
820
- (_a = this.container) === null || _a === void 0 ? void 0 : _a.remove();
821
- }
822
- }
823
- removeFromQueue(toastId) {
824
- this.queue = this.queue.filter(el => el.id !== toastId);
825
- setTimeout(() => this.updateQueue(), 0);
826
- }
827
- }
828
-
829
- class BalSnackbarController extends BalNoticeController {
830
- constructor() {
831
- super({
832
- tag: 'bal-snackbar',
833
- });
834
- }
835
- create(options) {
836
- return super.create(options);
837
- }
838
- }
839
- const balSnackbarController = new BalSnackbarController();
840
-
841
- class BalToastController extends BalNoticeController {
842
- constructor() {
843
- super({
844
- tag: 'bal-toast',
845
- });
846
- }
847
- create(options) {
848
- return super.create(options);
849
- }
850
- }
851
- const balToastController = new BalToastController();
852
-
853
- const tags = [
854
- "bal-accordion",
855
- "bal-accordion-details",
856
- "bal-accordion-summary",
857
- "bal-accordion-trigger",
858
- "bal-app",
859
- "bal-badge",
860
- "bal-button",
861
- "bal-button-group",
862
- "bal-card",
863
- "bal-card-actions",
864
- "bal-card-button",
865
- "bal-card-content",
866
- "bal-card-subtitle",
867
- "bal-card-title",
868
- "bal-carousel",
869
- "bal-carousel-item",
870
- "bal-check",
871
- "bal-checkbox",
872
- "bal-checkbox-group",
873
- "bal-close",
874
- "bal-content",
875
- "bal-data",
876
- "bal-data-item",
877
- "bal-data-label",
878
- "bal-data-value",
879
- "bal-date",
880
- "bal-date-calendar",
881
- "bal-date-calendar-cell",
882
- "bal-divider",
883
- "bal-dropdown",
884
- "bal-field",
885
- "bal-field-control",
886
- "bal-field-hint",
887
- "bal-field-label",
888
- "bal-field-message",
889
- "bal-file-upload",
890
- "bal-footer",
891
- "bal-form",
892
- "bal-form-col",
893
- "bal-form-grid",
894
- "bal-heading",
895
- "bal-hint",
896
- "bal-hint-text",
897
- "bal-hint-title",
898
- "bal-icon",
899
- "bal-input",
900
- "bal-input-date",
901
- "bal-input-group",
902
- "bal-input-slider",
903
- "bal-input-stepper",
904
- "bal-label",
905
- "bal-list",
906
- "bal-list-item",
907
- "bal-list-item-accordion-body",
908
- "bal-list-item-accordion-head",
909
- "bal-list-item-content",
910
- "bal-list-item-icon",
911
- "bal-list-item-subtitle",
912
- "bal-list-item-title",
913
- "bal-logo",
914
- "bal-modal",
915
- "bal-modal-body",
916
- "bal-modal-header",
917
- "bal-nav",
918
- "bal-nav-link",
919
- "bal-nav-link-grid",
920
- "bal-nav-link-grid-col",
921
- "bal-nav-link-group",
922
- "bal-nav-menu-bar",
923
- "bal-nav-menu-flyout",
924
- "bal-nav-meta-bar",
925
- "bal-navbar",
926
- "bal-navbar-brand",
927
- "bal-navbar-menu",
928
- "bal-navbar-menu-end",
929
- "bal-navbar-menu-start",
930
- "bal-notices",
931
- "bal-notification",
932
- "bal-number-input",
933
- "bal-option",
934
- "bal-option-list",
935
- "bal-pagination",
936
- "bal-popover",
937
- "bal-popover-content",
938
- "bal-popup",
939
- "bal-progress-bar",
940
- "bal-radio",
941
- "bal-radio-group",
942
- "bal-radio-icon",
943
- "bal-segment",
944
- "bal-segment-item",
945
- "bal-select",
946
- "bal-select-option",
947
- "bal-shape",
948
- "bal-sheet",
949
- "bal-snackbar",
950
- "bal-spinner",
951
- "bal-stack",
952
- "bal-stage",
953
- "bal-stage-back-link",
954
- "bal-stage-body",
955
- "bal-stage-foot",
956
- "bal-stage-head",
957
- "bal-stage-image",
958
- "bal-step-item",
959
- "bal-steps",
960
- "bal-switch",
961
- "bal-tab-item",
962
- "bal-table",
963
- "bal-tabs",
964
- "bal-tag",
965
- "bal-tag-group",
966
- "bal-text",
967
- "bal-textarea",
968
- "bal-time-input",
969
- "bal-toast",
970
- "bal-tooltip"
971
- ];
972
-
973
- // generated by .build/version.js
974
- const VERSION = '19.8.2';
975
-
976
- const initializeBaloiseDesignSystem = (userConfig = {}, platformConfig = undefined, win = {}) => {
977
- if (Object.keys(win).length === 0 && balBrowser.hasWindow) {
978
- win = window;
979
- }
980
- win.BaloiseDesignSystem = win.BaloiseDesignSystem || {};
981
- if (platformConfig) {
982
- setPlatformHelpers(platformConfig);
983
- }
984
- setupConfig(Object.assign(Object.assign({}, userConfig), platformConfig), win);
985
- win.BaloiseDesignSystem.toastController = balToastController;
986
- win.BaloiseDesignSystem.snackbarController = balSnackbarController;
987
- win.BaloiseDesignSystem.initialize = () => setupConfig(win.BaloiseDesignSystem.config, win);
988
- win.BaloiseDesignSystem.version = VERSION;
989
- if (userConfig._generateHydrateForCustomElementsOutput) {
990
- generateHydrateForCustomElementsOutput(tags);
991
- }
992
- };
993
- /**
994
- * This function generates the CSS needed for custom elements hydration and inserts it into the document head.
995
- * The CSS rules include styles for slot fallback and the hydrated class.
996
- *
997
- * This is copied from the Stencil core library.
998
- * src/runtime/bootstrap-lazy.ts
999
- */
1000
- const generateHydrateForCustomElementsOutput = (cmpTags = []) => {
1001
- const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
1002
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
1003
- const win = typeof window !== 'undefined' ? window : {};
1004
- if (!win.document) {
1005
- console.warn('Stencil: No document found. Skipping bootstrapping lazy components.');
1006
- return;
1007
- }
1008
- const head = win.document.head;
1009
- const metaCharset = /* @__PURE__ */ head.querySelector('meta[charset]');
1010
- const dataStyles = /* @__PURE__ */ win.document.createElement('style');
1011
- if (cmpTags.length > 0) {
1012
- dataStyles.textContent += SLOT_FB_CSS;
1013
- dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
1014
- if (dataStyles.innerHTML.length) {
1015
- dataStyles.setAttribute('data-styles', '');
1016
- head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1017
- }
1018
- }
1019
- };
1020
-
1021
- function appGlobalScript () {
1022
- initializeBaloiseDesignSystem();
1023
- }
1024
-
1025
- const globalScripts = appGlobalScript;
1026
- const globalStyles = "";
2
+ const BUILD = /* baloise-design-system */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, updatable: true};
1027
3
 
1028
4
  /*
1029
- Stencil Client Platform v4.35.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.38.2 | MIT Licensed | https://stenciljs.com
1030
6
  */
1031
7
  var __defProp = Object.defineProperty;
1032
8
  var __export = (target, all) => {
@@ -1046,6 +22,7 @@ var getHostRef = (ref) => {
1046
22
  return void 0;
1047
23
  };
1048
24
  var registerInstance = (lazyInstance, hostRef) => {
25
+ if (!hostRef) return;
1049
26
  lazyInstance.__stencil__getHostRef = () => hostRef;
1050
27
  hostRef.$lazyInstance$ = lazyInstance;
1051
28
  };
@@ -1054,7 +31,8 @@ var registerHost = (hostElement, cmpMeta) => {
1054
31
  $flags$: 0,
1055
32
  $hostElement$: hostElement,
1056
33
  $cmpMeta$: cmpMeta,
1057
- $instanceValues$: /* @__PURE__ */ new Map()
34
+ $instanceValues$: /* @__PURE__ */ new Map(),
35
+ $serializerValues$: /* @__PURE__ */ new Map()
1058
36
  };
1059
37
  {
1060
38
  hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
@@ -1064,6 +42,9 @@ var registerHost = (hostElement, cmpMeta) => {
1064
42
  hostElement["s-p"] = [];
1065
43
  hostElement["s-rc"] = [];
1066
44
  }
45
+ {
46
+ hostRef.$fetchedCbList$ = [];
47
+ }
1067
48
  const ref = hostRef;
1068
49
  hostElement.__stencil__getHostRef = () => ref;
1069
50
  return ref;
@@ -1147,6 +128,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
1147
128
  }
1148
129
  return false;
1149
130
  })() ;
131
+ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
1150
132
  var queuePending = false;
1151
133
  var queueDomReads = [];
1152
134
  var queueDomWrites = [];
@@ -1249,12 +231,24 @@ var unwrapErr = (result) => {
1249
231
  throw result.value;
1250
232
  }
1251
233
  };
234
+
235
+ // src/utils/style.ts
236
+ function createStyleSheetIfNeededAndSupported(styles2) {
237
+ return void 0;
238
+ }
239
+
240
+ // src/utils/shadow-root.ts
241
+ var globalStyleSheet;
1252
242
  function createShadowRoot(cmpMeta) {
243
+ var _a;
1253
244
  const shadowRoot = this.attachShadow({ mode: "open" });
1254
- if (supportsConstructableStylesheets) {
1255
- const sheet = new CSSStyleSheet();
1256
- sheet.replaceSync(globalStyles);
1257
- shadowRoot.adoptedStyleSheets.push(sheet);
245
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
246
+ if (globalStyleSheet) {
247
+ if (supportsMutableAdoptedStyleSheets) {
248
+ shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
249
+ } else {
250
+ shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
251
+ }
1258
252
  }
1259
253
  }
1260
254
  var updateFallbackSlotVisibility = (elm) => {
@@ -1377,6 +371,110 @@ var uniqueTime = (key, measureText) => {
1377
371
  };
1378
372
  }
1379
373
  };
374
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
375
+ var registerStyle = (scopeId2, cssText, allowCS) => {
376
+ let style = styles.get(scopeId2);
377
+ if (supportsConstructableStylesheets && allowCS) {
378
+ style = style || new CSSStyleSheet();
379
+ if (typeof style === "string") {
380
+ style = cssText;
381
+ } else {
382
+ style.replaceSync(cssText);
383
+ }
384
+ } else {
385
+ style = cssText;
386
+ }
387
+ styles.set(scopeId2, style);
388
+ };
389
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
390
+ var _a;
391
+ const scopeId2 = getScopeId(cmpMeta);
392
+ const style = styles.get(scopeId2);
393
+ if (!win.document) {
394
+ return scopeId2;
395
+ }
396
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
397
+ if (style) {
398
+ if (typeof style === "string") {
399
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
400
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
401
+ let styleElm;
402
+ if (!appliedStyles) {
403
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
404
+ }
405
+ if (!appliedStyles.has(scopeId2)) {
406
+ {
407
+ styleElm = win.document.createElement("style");
408
+ styleElm.innerHTML = style;
409
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
410
+ if (nonce != null) {
411
+ styleElm.setAttribute("nonce", nonce);
412
+ }
413
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
414
+ if (styleContainerNode.nodeName === "HEAD") {
415
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
416
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
417
+ styleContainerNode.insertBefore(
418
+ styleElm,
419
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
420
+ );
421
+ } else if ("host" in styleContainerNode) {
422
+ if (supportsConstructableStylesheets) {
423
+ const stylesheet = new CSSStyleSheet();
424
+ stylesheet.replaceSync(style);
425
+ if (supportsMutableAdoptedStyleSheets) {
426
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
427
+ } else {
428
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
429
+ }
430
+ } else {
431
+ const existingStyleContainer = styleContainerNode.querySelector("style");
432
+ if (existingStyleContainer) {
433
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
434
+ } else {
435
+ styleContainerNode.prepend(styleElm);
436
+ }
437
+ }
438
+ } else {
439
+ styleContainerNode.append(styleElm);
440
+ }
441
+ }
442
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
443
+ styleContainerNode.insertBefore(styleElm, null);
444
+ }
445
+ }
446
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
447
+ styleElm.innerHTML += SLOT_FB_CSS;
448
+ }
449
+ if (appliedStyles) {
450
+ appliedStyles.add(scopeId2);
451
+ }
452
+ }
453
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
454
+ if (supportsMutableAdoptedStyleSheets) {
455
+ styleContainerNode.adoptedStyleSheets.push(style);
456
+ } else {
457
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
458
+ }
459
+ }
460
+ }
461
+ return scopeId2;
462
+ };
463
+ var attachStyles = (hostRef) => {
464
+ const cmpMeta = hostRef.$cmpMeta$;
465
+ const elm = hostRef.$hostElement$;
466
+ const flags = cmpMeta.$flags$;
467
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
468
+ const scopeId2 = addStyle(
469
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
470
+ cmpMeta);
471
+ if (flags & 10 /* needsScopedEncapsulation */) {
472
+ elm["s-sc"] = scopeId2;
473
+ elm.classList.add(scopeId2 + "-h");
474
+ }
475
+ endAttachStyles();
476
+ };
477
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
1380
478
  var h = (nodeName, vnodeData, ...children) => {
1381
479
  let child = null;
1382
480
  let key = null;
@@ -1517,7 +615,10 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1517
615
  }
1518
616
  return propValue;
1519
617
  };
1520
- var getElement = (ref) => getHostRef(ref).$hostElement$ ;
618
+ var getElement = (ref) => {
619
+ var _a;
620
+ return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
621
+ };
1521
622
 
1522
623
  // src/runtime/event-emitter.ts
1523
624
  var createEvent = (ref, name, flags) => {
@@ -1538,102 +639,6 @@ var emitEvent = (elm, name, opts) => {
1538
639
  elm.dispatchEvent(ev);
1539
640
  return ev;
1540
641
  };
1541
- var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1542
- var registerStyle = (scopeId2, cssText, allowCS) => {
1543
- let style = styles.get(scopeId2);
1544
- if (supportsConstructableStylesheets && allowCS) {
1545
- style = style || new CSSStyleSheet();
1546
- if (typeof style === "string") {
1547
- style = cssText;
1548
- } else {
1549
- style.replaceSync(cssText);
1550
- }
1551
- } else {
1552
- style = cssText;
1553
- }
1554
- styles.set(scopeId2, style);
1555
- };
1556
- var addStyle = (styleContainerNode, cmpMeta, mode) => {
1557
- var _a;
1558
- const scopeId2 = getScopeId(cmpMeta);
1559
- const style = styles.get(scopeId2);
1560
- if (!win.document) {
1561
- return scopeId2;
1562
- }
1563
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1564
- if (style) {
1565
- if (typeof style === "string") {
1566
- styleContainerNode = styleContainerNode.head || styleContainerNode;
1567
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1568
- let styleElm;
1569
- if (!appliedStyles) {
1570
- rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1571
- }
1572
- if (!appliedStyles.has(scopeId2)) {
1573
- {
1574
- styleElm = win.document.createElement("style");
1575
- styleElm.innerHTML = style;
1576
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1577
- if (nonce != null) {
1578
- styleElm.setAttribute("nonce", nonce);
1579
- }
1580
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1581
- if (styleContainerNode.nodeName === "HEAD") {
1582
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1583
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1584
- styleContainerNode.insertBefore(
1585
- styleElm,
1586
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
1587
- );
1588
- } else if ("host" in styleContainerNode) {
1589
- if (supportsConstructableStylesheets) {
1590
- const stylesheet = new CSSStyleSheet();
1591
- stylesheet.replaceSync(style);
1592
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
1593
- } else {
1594
- const existingStyleContainer = styleContainerNode.querySelector("style");
1595
- if (existingStyleContainer) {
1596
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
1597
- } else {
1598
- styleContainerNode.prepend(styleElm);
1599
- }
1600
- }
1601
- } else {
1602
- styleContainerNode.append(styleElm);
1603
- }
1604
- }
1605
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1606
- styleContainerNode.insertBefore(styleElm, null);
1607
- }
1608
- }
1609
- if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1610
- styleElm.innerHTML += SLOT_FB_CSS;
1611
- }
1612
- if (appliedStyles) {
1613
- appliedStyles.add(scopeId2);
1614
- }
1615
- }
1616
- } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
1617
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
1618
- }
1619
- }
1620
- return scopeId2;
1621
- };
1622
- var attachStyles = (hostRef) => {
1623
- const cmpMeta = hostRef.$cmpMeta$;
1624
- const elm = hostRef.$hostElement$;
1625
- const flags = cmpMeta.$flags$;
1626
- const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1627
- const scopeId2 = addStyle(
1628
- elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1629
- cmpMeta);
1630
- if (flags & 10 /* needsScopedEncapsulation */) {
1631
- elm["s-sc"] = scopeId2;
1632
- elm.classList.add(scopeId2 + "-h");
1633
- }
1634
- endAttachStyles();
1635
- };
1636
- var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
1637
642
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
1638
643
  if (oldValue === newValue) {
1639
644
  return;
@@ -2074,7 +1079,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
2074
1079
  !isInitialRender && BUILD.updatable && oldChildren !== null
2075
1080
  ) {
2076
1081
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
2077
- }
1082
+ } else ;
2078
1083
  if (isSvgMode && tag === "svg") {
2079
1084
  isSvgMode = false;
2080
1085
  }
@@ -2179,9 +1184,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
2179
1184
  hostTagName = hostElm.tagName;
2180
1185
  if (cmpMeta.$attrsToReflect$) {
2181
1186
  rootVnode.$attrs$ = rootVnode.$attrs$ || {};
2182
- cmpMeta.$attrsToReflect$.map(
2183
- ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
2184
- );
1187
+ cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
1188
+ {
1189
+ rootVnode.$attrs$[attribute] = hostElm[propName];
1190
+ }
1191
+ });
2185
1192
  }
2186
1193
  if (isInitialLoad && rootVnode.$attrs$) {
2187
1194
  for (const key of Object.keys(rootVnode.$attrs$)) {
@@ -2294,6 +1301,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
2294
1301
  }
2295
1302
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
2296
1303
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1304
+ if (isInitialLoad) {
1305
+ queueMicrotask(() => {
1306
+ dispatch();
1307
+ });
1308
+ return;
1309
+ }
2297
1310
  return writeTask(dispatch) ;
2298
1311
  };
2299
1312
  var dispatchHooks = (hostRef, isInitialLoad) => {
@@ -2308,10 +1321,15 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
2308
1321
  let maybePromise;
2309
1322
  if (isInitialLoad) {
2310
1323
  {
2311
- hostRef.$flags$ |= 256 /* isListenReady */;
2312
- if (hostRef.$queuedListeners$) {
2313
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
2314
- hostRef.$queuedListeners$ = void 0;
1324
+ {
1325
+ hostRef.$flags$ |= 256 /* isListenReady */;
1326
+ if (hostRef.$queuedListeners$) {
1327
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
1328
+ hostRef.$queuedListeners$ = void 0;
1329
+ }
1330
+ }
1331
+ if (hostRef.$fetchedCbList$.length) {
1332
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
2315
1333
  }
2316
1334
  }
2317
1335
  maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
@@ -2438,6 +1456,9 @@ var addHydratedFlag = (elm) => {
2438
1456
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
2439
1457
  var setValue = (ref, propName, newVal, cmpMeta) => {
2440
1458
  const hostRef = getHostRef(ref);
1459
+ if (!hostRef) {
1460
+ return;
1461
+ }
2441
1462
  if (!hostRef) {
2442
1463
  throw new Error(
2443
1464
  `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).`
@@ -2483,9 +1504,17 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
2483
1504
  var proxyComponent = (Cstr, cmpMeta, flags) => {
2484
1505
  var _a, _b;
2485
1506
  const prototype = Cstr.prototype;
2486
- if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
2487
- if (Cstr.watchers && !cmpMeta.$watchers$) {
2488
- cmpMeta.$watchers$ = Cstr.watchers;
1507
+ if (cmpMeta.$members$ || BUILD.propChangeCallback) {
1508
+ {
1509
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1510
+ cmpMeta.$watchers$ = Cstr.watchers;
1511
+ }
1512
+ if (Cstr.deserializers && !cmpMeta.$deserializers$) {
1513
+ cmpMeta.$deserializers$ = Cstr.deserializers;
1514
+ }
1515
+ if (Cstr.serializers && !cmpMeta.$serializers$) {
1516
+ cmpMeta.$serializers$ = Cstr.serializers;
1517
+ }
2489
1518
  }
2490
1519
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
2491
1520
  members.map(([memberName, [memberFlags]]) => {
@@ -2513,12 +1542,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2513
1542
  Object.defineProperty(prototype, memberName, {
2514
1543
  set(newValue) {
2515
1544
  const ref = getHostRef(this);
1545
+ if (!ref) {
1546
+ return;
1547
+ }
2516
1548
  if (origSetter) {
2517
1549
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2518
1550
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
2519
1551
  newValue = ref.$instanceValues$.get(memberName);
2520
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
2521
- ref.$instanceValues$.set(memberName, currentValue);
2522
1552
  }
2523
1553
  origSetter.apply(this, [
2524
1554
  parsePropertyValue(
@@ -2533,7 +1563,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2533
1563
  if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
2534
1564
  setValue(this, memberName, newValue, cmpMeta);
2535
1565
  if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
2536
- ref.$onReadyPromise$.then(() => {
1566
+ ref.$fetchedCbList$.push(() => {
2537
1567
  if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
2538
1568
  ref.$lazyInstance$[memberName] = newValue;
2539
1569
  }
@@ -2554,7 +1584,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2554
1584
  if (ref.$lazyInstance$) {
2555
1585
  setterSetVal();
2556
1586
  } else {
2557
- ref.$onReadyPromise$.then(() => setterSetVal());
1587
+ ref.$fetchedCbList$.push(() => {
1588
+ setterSetVal();
1589
+ });
2558
1590
  }
2559
1591
  }
2560
1592
  }
@@ -2578,16 +1610,17 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2578
1610
  plt.jmp(() => {
2579
1611
  var _a2;
2580
1612
  const propName = attrNameToPropName.get(attrName);
1613
+ const hostRef = getHostRef(this);
2581
1614
  if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
2582
1615
  newValue = this[propName];
2583
1616
  delete this[propName];
2584
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1617
+ }
1618
+ if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
2585
1619
  this[propName] == newValue) {
2586
1620
  return;
2587
1621
  } else if (propName == null) {
2588
- const hostRef = getHostRef(this);
2589
1622
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
2590
- if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1623
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
2591
1624
  const instance = hostRef.$lazyInstance$ ;
2592
1625
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
2593
1626
  entry == null ? void 0 : entry.forEach((callbackName) => {
@@ -2598,9 +1631,12 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2598
1631
  }
2599
1632
  return;
2600
1633
  }
1634
+ const propFlags = members.find(([m]) => m === propName);
1635
+ if (propFlags && propFlags[1][0] & 4 /* Boolean */) {
1636
+ newValue = newValue === null || newValue === "false" ? false : true;
1637
+ }
2601
1638
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
2602
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
2603
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1639
+ if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
2604
1640
  this[propName] = newValue;
2605
1641
  }
2606
1642
  });
@@ -2608,7 +1644,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2608
1644
  Cstr.observedAttributes = Array.from(
2609
1645
  /* @__PURE__ */ new Set([
2610
1646
  ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
2611
- ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1647
+ ...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
2612
1648
  var _a2;
2613
1649
  const attrName = m[1] || propName;
2614
1650
  attrNameToPropName.set(attrName, propName);
@@ -2645,6 +1681,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2645
1681
  if (!Cstr.isProxied) {
2646
1682
  {
2647
1683
  cmpMeta.$watchers$ = Cstr.watchers;
1684
+ cmpMeta.$serializers$ = Cstr.serializers;
1685
+ cmpMeta.$deserializers$ = Cstr.deserializers;
2648
1686
  }
2649
1687
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
2650
1688
  Cstr.isProxied = true;
@@ -2702,6 +1740,9 @@ var fireConnectedCallback = (instance, elm) => {
2702
1740
  var connectedCallback = (elm) => {
2703
1741
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
2704
1742
  const hostRef = getHostRef(elm);
1743
+ if (!hostRef) {
1744
+ return;
1745
+ }
2705
1746
  const cmpMeta = hostRef.$cmpMeta$;
2706
1747
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
2707
1748
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
@@ -2723,7 +1764,7 @@ var connectedCallback = (elm) => {
2723
1764
  }
2724
1765
  if (cmpMeta.$members$) {
2725
1766
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
2726
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1767
+ if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
2727
1768
  const value = elm[memberName];
2728
1769
  delete elm[memberName];
2729
1770
  elm[memberName] = value;
@@ -2763,7 +1804,7 @@ var disconnectedCallback = async (elm) => {
2763
1804
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
2764
1805
  const hostRef = getHostRef(elm);
2765
1806
  {
2766
- if (hostRef.$rmListeners$) {
1807
+ if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
2767
1808
  hostRef.$rmListeners$.map((rmListener) => rmListener());
2768
1809
  hostRef.$rmListeners$ = void 0;
2769
1810
  }
@@ -2804,7 +1845,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2804
1845
  let hasSlotRelocation = false;
2805
1846
  lazyBundles.map((lazyBundle) => {
2806
1847
  lazyBundle[1].map((compactMeta) => {
2807
- var _a2;
1848
+ var _a2, _b, _c;
2808
1849
  const cmpMeta = {
2809
1850
  $flags$: compactMeta[0],
2810
1851
  $tagName$: compactMeta[1],
@@ -2825,6 +1866,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2825
1866
  }
2826
1867
  {
2827
1868
  cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
1869
+ cmpMeta.$serializers$ = (_b = compactMeta[5]) != null ? _b : {};
1870
+ cmpMeta.$deserializers$ = (_c = compactMeta[6]) != null ? _c : {};
2828
1871
  }
2829
1872
  const tagName = cmpMeta.$tagName$;
2830
1873
  const HostElement = class extends HTMLElement {
@@ -2850,6 +1893,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2850
1893
  }
2851
1894
  connectedCallback() {
2852
1895
  const hostRef = getHostRef(this);
1896
+ if (!hostRef) {
1897
+ return;
1898
+ }
2853
1899
  if (!this.hasRegisteredEventListeners) {
2854
1900
  this.hasRegisteredEventListeners = true;
2855
1901
  addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
@@ -2869,6 +1915,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2869
1915
  plt.raf(() => {
2870
1916
  var _a3;
2871
1917
  const hostRef = getHostRef(this);
1918
+ if (!hostRef) {
1919
+ return;
1920
+ }
2872
1921
  const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
2873
1922
  if (i2 > -1) {
2874
1923
  deferredConnectedCallbacks.splice(i2, 1);
@@ -2879,7 +1928,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2879
1928
  });
2880
1929
  }
2881
1930
  componentOnReady() {
2882
- return getHostRef(this).$onReadyPromise$;
1931
+ var _a3;
1932
+ return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
2883
1933
  }
2884
1934
  };
2885
1935
  cmpMeta.$lazyBundleId$ = lazyBundle[0];
@@ -2960,57 +2010,4 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2960
2010
  // src/runtime/nonce.ts
2961
2011
  var setNonce = (nonce) => plt.$nonce$ = nonce;
2962
2012
 
2963
- exports.BalSnackbarController = BalSnackbarController;
2964
- exports.BalToastController = BalToastController;
2965
- exports.Host = Host;
2966
- exports.Logger = Logger;
2967
- exports.addEventListener = addEventListener;
2968
- exports.attachComponentToConfig = attachComponentToConfig;
2969
- exports.attachToConfig = attachToConfig;
2970
- exports.balBrowser = balBrowser;
2971
- exports.balSnackbarController = balSnackbarController;
2972
- exports.balToastController = balToastController;
2973
- exports.bootstrapLazy = bootstrapLazy;
2974
- exports.componentOnReady = componentOnReady;
2975
- exports.createEvent = createEvent;
2976
- exports.debounce = debounce;
2977
- exports.debounceEvent = debounceEvent;
2978
- exports.deepReady = deepReady;
2979
- exports.defaultConfig = defaultConfig;
2980
- exports.defaultLocale = defaultLocale;
2981
- exports.detachComponentFromConfig = detachComponentFromConfig;
2982
- exports.detachFromConfig = detachFromConfig;
2983
- exports.getAppRoot = getAppRoot;
2984
- exports.getElement = getElement;
2985
- exports.globalScripts = globalScripts;
2986
- exports.h = h;
2987
- exports.hasParent = hasParent;
2988
- exports.hasTagName = hasTagName;
2989
- exports.initializeBaloiseDesignSystem = initializeBaloiseDesignSystem;
2990
- exports.isChildOfEventTarget = isChildOfEventTarget;
2991
- exports.isDescendant = isDescendant;
2992
- exports.onBalConfigChange = onBalConfigChange;
2993
- exports.promiseResolve = promiseResolve;
2994
- exports.rIC = rIC;
2995
- exports.rOnLoad = rOnLoad;
2996
- exports.raf = raf;
2997
- exports.registerInstance = registerInstance;
2998
- exports.removeEventListener = removeEventListener;
2999
- exports.setNonce = setNonce;
3000
- exports.setupConfig = setupConfig;
3001
- exports.shallowReady = shallowReady;
3002
- exports.transitionEndAsync = transitionEndAsync;
3003
- exports.updateBalAllowedLanguages = updateBalAllowedLanguages;
3004
- exports.updateBalAnimated = updateBalAnimated;
3005
- exports.updateBalIcons = updateBalIcons;
3006
- exports.updateBalLanguage = updateBalLanguage;
3007
- exports.updateBalRegion = updateBalRegion;
3008
- exports.useBalConfig = useBalConfig;
3009
- exports.wait = wait;
3010
- exports.waitAfterFramePaint = waitAfterFramePaint;
3011
- exports.waitAfterIdleCallback = waitAfterIdleCallback;
3012
- exports.waitAfterLargestContentfulPaintCallback = waitAfterLargestContentfulPaintCallback;
3013
- exports.waitForComponent = waitForComponent;
3014
- exports.waitForDesignSystem = waitForDesignSystem;
3015
- exports.waitOnLoadEventCallback = waitOnLoadEventCallback;
3016
- exports.writeTask = writeTask;
2013
+ export { Host as H, setPlatformHelpers as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s, writeTask as w };