@baloise/ds-core 16.0.3-nightly.20240417 → 16.1.0

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 (363) hide show
  1. package/components/all.d.ts +6 -2
  2. package/components/all.js +9 -3
  3. package/components/aria.js +3 -0
  4. package/components/bal-app.js +85 -1
  5. package/components/bal-checkbox-button.js +1 -1
  6. package/components/bal-checkbox2.js +3 -2
  7. package/components/bal-close2.js +1 -1
  8. package/components/bal-date-calendar2.js +1 -1
  9. package/components/bal-dropdown.d.ts +11 -0
  10. package/components/bal-dropdown.js +710 -0
  11. package/components/bal-field.js +12 -2
  12. package/components/bal-footer.js +1 -1
  13. package/components/bal-option-list.d.ts +11 -0
  14. package/components/bal-option-list.js +459 -0
  15. package/components/{bal-doc-app.d.ts → bal-option.d.ts} +4 -4
  16. package/components/bal-option.js +171 -0
  17. package/components/bal-popup.js +1 -1
  18. package/components/bal-radio2.js +1 -1
  19. package/components/bal-select2.js +3 -3
  20. package/components/bal-spinner2.js +54 -6
  21. package/components/bal-tag2.js +1 -1
  22. package/components/config.default.js +1 -0
  23. package/components/index.esm.js +1 -1
  24. package/components/index.js +290 -5
  25. package/components/option.js +46 -0
  26. package/components/tokens.esm.js +1 -1
  27. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  28. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  29. package/dist/baloise-design-system/index.esm.js +1 -1
  30. package/dist/baloise-design-system/p-013b4c72.system.js +1 -0
  31. package/dist/baloise-design-system/p-0639833837.system.entry.js +1 -0
  32. package/dist/baloise-design-system/{p-0cd70cd814.system.entry.js → p-06e9a468fc.system.entry.js} +1 -1
  33. package/dist/baloise-design-system/p-0793c0159f.system.entry.js +1 -0
  34. package/dist/baloise-design-system/{p-45de4b9eab.system.entry.js → p-0fed7a5f26.system.entry.js} +1 -1
  35. package/dist/baloise-design-system/{p-f2de9458ad.entry.js → p-10b8686d91.entry.js} +1 -1
  36. package/dist/baloise-design-system/{p-e113196061.system.entry.js → p-126c79c9e9.system.entry.js} +1 -1
  37. package/dist/baloise-design-system/p-12bcc7da.js +1 -0
  38. package/dist/baloise-design-system/{p-3bd244cda7.entry.js → p-135c5759c5.entry.js} +1 -1
  39. package/dist/baloise-design-system/{p-88c086f8.system.js → p-14ae0709.system.js} +1 -1
  40. package/dist/baloise-design-system/{p-3bbf43bb.system.js → p-1509eaa7.system.js} +1 -1
  41. package/dist/baloise-design-system/{p-946e9e784d.system.entry.js → p-1659bb968c.system.entry.js} +1 -1
  42. package/dist/baloise-design-system/p-187f98a1.system.js +1 -0
  43. package/dist/baloise-design-system/{p-a620678fd4.system.entry.js → p-18e2e391e0.system.entry.js} +1 -1
  44. package/dist/baloise-design-system/p-1de6b20b1c.system.entry.js +1 -0
  45. package/dist/baloise-design-system/{p-1c2dee82c4.system.entry.js → p-222bc9b30e.system.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-0af6ae59f5.entry.js → p-22b041a511.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-45fe099fab.entry.js → p-25da216e4f.entry.js} +1 -1
  48. package/dist/baloise-design-system/{p-3f8e5df9c5.system.entry.js → p-25e0d82e89.system.entry.js} +1 -1
  49. package/dist/baloise-design-system/p-2d82b78410.entry.js +1 -0
  50. package/dist/baloise-design-system/{p-a0db085f89.entry.js → p-2d8bd11634.entry.js} +1 -1
  51. package/dist/baloise-design-system/p-2db9030ad9.system.entry.js +1 -0
  52. package/dist/baloise-design-system/{p-7d6318e4f1.system.entry.js → p-3128128969.system.entry.js} +1 -1
  53. package/dist/baloise-design-system/{p-9a5cb17cb9.entry.js → p-39bc49bc3d.entry.js} +1 -1
  54. package/dist/baloise-design-system/p-3bad0907.system.js +1 -0
  55. package/dist/baloise-design-system/{p-0545b101.js → p-3f1c49d0.js} +1 -1
  56. package/dist/baloise-design-system/{p-2e717f00bb.entry.js → p-4aba4c66ee.entry.js} +1 -1
  57. package/dist/baloise-design-system/{p-9e4fcb76.js → p-54f81c32.js} +1 -1
  58. package/dist/baloise-design-system/{p-7c5868cc.system.js → p-55faac1d.system.js} +1 -1
  59. package/dist/baloise-design-system/{p-34ee3721dd.entry.js → p-5b571a9fb1.entry.js} +1 -1
  60. package/dist/baloise-design-system/{p-a8f6447224.entry.js → p-60e94f8144.entry.js} +1 -1
  61. package/dist/baloise-design-system/{p-06e959a11a.entry.js → p-6164f99bb8.entry.js} +1 -1
  62. package/dist/baloise-design-system/{p-6608061443.system.entry.js → p-62ab1f0ae2.system.entry.js} +1 -1
  63. package/dist/baloise-design-system/{p-053d572047.system.entry.js → p-62b792a34b.system.entry.js} +1 -1
  64. package/dist/baloise-design-system/{p-118e15f5f2.system.entry.js → p-74f4b9818b.system.entry.js} +1 -1
  65. package/dist/baloise-design-system/{p-439518e5ed.entry.js → p-77f5e777e6.entry.js} +1 -1
  66. package/dist/baloise-design-system/{p-6ddfa58338.entry.js → p-7c42a363f3.entry.js} +1 -1
  67. package/dist/baloise-design-system/p-7cd815d3e8.entry.js +1 -0
  68. package/dist/baloise-design-system/p-80b45dd4d6.system.entry.js +1 -0
  69. package/dist/baloise-design-system/{p-af5b58ab1c.system.entry.js → p-8870e1f3e0.system.entry.js} +1 -1
  70. package/dist/baloise-design-system/{p-3cb83cf9.system.js → p-8a87b9a8.system.js} +1 -1
  71. package/dist/baloise-design-system/{p-99e5872214.system.entry.js → p-8c209ac52b.system.entry.js} +1 -1
  72. package/dist/baloise-design-system/p-8f77c423ad.entry.js +1 -0
  73. package/dist/baloise-design-system/{p-de726703ce.entry.js → p-8fe94b9e21.entry.js} +1 -1
  74. package/dist/baloise-design-system/{p-1b76afbf.js → p-94efe2aa.js} +1 -1
  75. package/dist/baloise-design-system/{p-0ce86357bd.entry.js → p-9658f4a66f.entry.js} +1 -1
  76. package/dist/baloise-design-system/{p-4112f1cc6e.entry.js → p-9a0640d065.entry.js} +1 -1
  77. package/dist/baloise-design-system/{p-c3bd665a8b.entry.js → p-9e167705ca.entry.js} +1 -1
  78. package/dist/baloise-design-system/{p-e619be36b2.system.entry.js → p-9ecce014c2.system.entry.js} +1 -1
  79. package/dist/baloise-design-system/p-a19d1e1d.js +1 -0
  80. package/dist/baloise-design-system/{p-115c7e47bd.entry.js → p-a8022ee701.entry.js} +1 -1
  81. package/dist/baloise-design-system/{p-9038dd3550.entry.js → p-a97cbb7dda.entry.js} +1 -1
  82. package/dist/baloise-design-system/p-acb5cea0.system.js +1 -0
  83. package/dist/baloise-design-system/p-ae28b86fe5.entry.js +1 -0
  84. package/dist/baloise-design-system/p-b779742f50.entry.js +1 -0
  85. package/dist/baloise-design-system/{p-bda509c8.js → p-b8d99064.js} +1 -1
  86. package/dist/baloise-design-system/p-b8f085f7b5.system.entry.js +1 -0
  87. package/dist/baloise-design-system/{p-7ca7b4dad9.system.entry.js → p-b97d9336a7.system.entry.js} +1 -1
  88. package/dist/baloise-design-system/{p-2b27e981ed.entry.js → p-b9f197815f.entry.js} +1 -1
  89. package/dist/baloise-design-system/{p-afe91abbd5.system.entry.js → p-bb3914c87a.system.entry.js} +1 -1
  90. package/dist/baloise-design-system/p-bb6304d0.system.js +1 -0
  91. package/dist/baloise-design-system/p-bcbb5b59f3.system.entry.js +1 -0
  92. package/dist/baloise-design-system/p-bcca1ed3.system.js +1 -0
  93. package/dist/baloise-design-system/{p-b89bb101d7.entry.js → p-bcebf41b74.entry.js} +1 -1
  94. package/dist/baloise-design-system/p-bd5de78b2c.entry.js +1 -0
  95. package/dist/baloise-design-system/p-c304d5fa9c.entry.js +1 -0
  96. package/dist/baloise-design-system/{p-4e7e0fe4.system.js → p-cc61fac8.system.js} +1 -1
  97. package/dist/baloise-design-system/{p-f9c9ec626c.system.entry.js → p-cd8e72d87f.system.entry.js} +1 -1
  98. package/dist/baloise-design-system/{p-e4f6e3047f.system.entry.js → p-d16557d133.system.entry.js} +1 -1
  99. package/dist/baloise-design-system/p-d7a758b3.js +1 -0
  100. package/dist/baloise-design-system/{p-29f7274983.system.entry.js → p-d919753ed0.system.entry.js} +1 -1
  101. package/dist/baloise-design-system/p-d9b38501.js +1 -0
  102. package/dist/baloise-design-system/p-d9d229a026.entry.js +1 -0
  103. package/dist/baloise-design-system/{p-13227d037a.system.entry.js → p-dbc2d22240.system.entry.js} +1 -1
  104. package/dist/baloise-design-system/{p-a9e5eba8c9.system.entry.js → p-dce3764ee5.system.entry.js} +1 -1
  105. package/dist/baloise-design-system/{p-1eeee9a37e.entry.js → p-ddf9b2a289.entry.js} +1 -1
  106. package/dist/baloise-design-system/{p-03ec11adc1.system.entry.js → p-e4de708de1.system.entry.js} +1 -1
  107. package/dist/baloise-design-system/p-e60c936359.system.entry.js +1 -0
  108. package/dist/baloise-design-system/p-e78a6409.js +1 -0
  109. package/dist/baloise-design-system/{p-f55c50abfa.system.entry.js → p-f076d1ed4f.system.entry.js} +1 -1
  110. package/dist/baloise-design-system/{p-283d037ce7.system.entry.js → p-f0b43f1452.system.entry.js} +1 -1
  111. package/dist/baloise-design-system/{p-d78eeb433a.entry.js → p-f12abda2db.entry.js} +1 -1
  112. package/dist/baloise-design-system/{p-f3ea10dd64.system.entry.js → p-f1b95d78af.system.entry.js} +1 -1
  113. package/dist/baloise-design-system/{p-ef373ed3db.entry.js → p-f56fb1a197.entry.js} +1 -1
  114. package/dist/baloise-design-system/{p-b213175c21.entry.js → p-f8974d743d.entry.js} +1 -1
  115. package/dist/baloise-design-system/p-f8a98657a1.entry.js +1 -0
  116. package/dist/cjs/app-globals-ae3a8623.js +11 -0
  117. package/dist/cjs/aria-c8955a5c.js +5 -0
  118. package/dist/cjs/bal-carousel_2.cjs.entry.js +4 -4
  119. package/dist/cjs/bal-checkbox-button.cjs.entry.js +1 -1
  120. package/dist/cjs/bal-checkbox_2.cjs.entry.js +3 -2
  121. package/dist/cjs/bal-close.cjs.entry.js +2 -2
  122. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +2 -2
  123. package/dist/cjs/bal-date.cjs.entry.js +1 -1
  124. package/dist/cjs/bal-datepicker.cjs.entry.js +4 -4
  125. package/dist/cjs/bal-dropdown.cjs.entry.js +660 -0
  126. package/dist/cjs/bal-field_5.cjs.entry.js +12 -2
  127. package/dist/cjs/bal-footer.cjs.entry.js +1 -1
  128. package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
  129. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  130. package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
  131. package/dist/cjs/bal-label.cjs.entry.js +1 -1
  132. package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
  133. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  134. package/dist/cjs/bal-nav_8.cjs.entry.js +4 -4
  135. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  136. package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
  137. package/dist/cjs/bal-option_2.cjs.entry.js +541 -0
  138. package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
  139. package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
  140. package/dist/cjs/bal-progress-bar.cjs.entry.js +3 -3
  141. package/dist/cjs/bal-radio_2.cjs.entry.js +1 -1
  142. package/dist/cjs/bal-select_2.cjs.entry.js +2 -2
  143. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  144. package/dist/cjs/bal-spinner.cjs.entry.js +49 -4
  145. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  146. package/dist/cjs/bal-tab-item_2.cjs.entry.js +3 -3
  147. package/dist/cjs/bal-tag_2.cjs.entry.js +1 -1
  148. package/dist/cjs/bal-time-input.cjs.entry.js +1 -1
  149. package/dist/cjs/baloise-design-system.cjs.js +4 -5
  150. package/dist/cjs/{breakpoints.decorator-5a45d298.js → breakpoints.decorator-47fd6060.js} +1 -1
  151. package/dist/cjs/{breakpoints.subject-ee6b98cd.js → breakpoints.subject-66093c8f.js} +1 -1
  152. package/dist/cjs/{config.default-32725178.js → config.default-5bdd6e3d.js} +1 -0
  153. package/dist/cjs/index.cjs.js +6 -4
  154. package/dist/cjs/{initialize-e38e7028.js → initialize-2a19d091.js} +9 -2
  155. package/dist/cjs/loader.cjs.js +4 -5
  156. package/dist/cjs/option-c33cf2b8.js +49 -0
  157. package/dist/cjs/{tokens.esm-b37c935b.js → tokens.esm-bb0ef2db.js} +1 -1
  158. package/dist/collection/collection-manifest.json +15 -2
  159. package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.css +1 -1
  160. package/dist/collection/components/bal-checkbox/bal-checkbox.js +2 -1
  161. package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
  162. package/dist/collection/components/bal-close/bal-close.js +1 -1
  163. package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__list.js +1 -1
  164. package/dist/collection/components/bal-dropdown/bal-dropdown.css +1 -0
  165. package/dist/collection/components/bal-dropdown/bal-dropdown.interfaces.js +4 -0
  166. package/dist/collection/components/bal-dropdown/bal-dropdown.js +882 -0
  167. package/dist/collection/components/bal-field/bal-field.js +12 -2
  168. package/dist/collection/components/bal-option/bal-option.css +1 -0
  169. package/dist/collection/components/bal-option/bal-option.interfaces.js +4 -0
  170. package/dist/collection/components/bal-option/bal-option.js +360 -0
  171. package/dist/collection/components/bal-option-list/bal-option-list.css +1 -0
  172. package/dist/collection/components/bal-option-list/bal-option-list.interfaces.js +4 -0
  173. package/dist/collection/components/bal-option-list/bal-option-list.js +939 -0
  174. package/dist/collection/components/bal-select/bal-select.js +3 -3
  175. package/dist/collection/components/bal-spinner/bal-spinner.css +1 -1
  176. package/dist/collection/components/bal-spinner/bal-spinner.interfaces.js +4 -0
  177. package/dist/collection/components/bal-spinner/bal-spinner.js +83 -4
  178. package/dist/collection/components/bal-tag/bal-tag.css +1 -1
  179. package/dist/collection/index.js +1 -0
  180. package/dist/collection/utils/aria.js +1 -0
  181. package/dist/collection/utils/config/config.default.js +1 -0
  182. package/dist/collection/utils/config/config.js +7 -0
  183. package/dist/collection/utils/constants/version.constant.js +1 -1
  184. package/dist/collection/utils/dropdown/auto-fill.js +38 -0
  185. package/dist/collection/utils/dropdown/component.js +1 -0
  186. package/dist/collection/utils/dropdown/dropdown.i18n.js +52 -0
  187. package/dist/collection/utils/dropdown/events.js +43 -0
  188. package/dist/collection/utils/dropdown/filters.js +10 -0
  189. package/dist/collection/utils/dropdown/focus.js +19 -0
  190. package/dist/collection/utils/dropdown/form-submit.js +35 -0
  191. package/dist/collection/utils/dropdown/icon.js +15 -0
  192. package/dist/collection/utils/dropdown/index.js +13 -0
  193. package/dist/collection/utils/dropdown/input.js +12 -0
  194. package/dist/collection/utils/dropdown/option-list.js +8 -0
  195. package/dist/collection/utils/dropdown/option.js +44 -0
  196. package/dist/collection/utils/dropdown/popup.js +45 -0
  197. package/dist/collection/utils/dropdown/value.js +103 -0
  198. package/dist/esm/app-globals-b0dd0fc4.js +9 -0
  199. package/dist/esm/aria-d5877698.js +3 -0
  200. package/dist/esm/bal-carousel_2.entry.js +4 -4
  201. package/dist/esm/bal-checkbox-button.entry.js +1 -1
  202. package/dist/esm/bal-checkbox_2.entry.js +4 -3
  203. package/dist/esm/bal-close.entry.js +2 -2
  204. package/dist/esm/bal-date-calendar_2.entry.js +4 -4
  205. package/dist/esm/bal-date.entry.js +3 -3
  206. package/dist/esm/bal-datepicker.entry.js +5 -5
  207. package/dist/esm/bal-dropdown.entry.js +656 -0
  208. package/dist/esm/bal-field_5.entry.js +12 -2
  209. package/dist/esm/bal-file-upload.entry.js +1 -1
  210. package/dist/esm/bal-footer.entry.js +2 -2
  211. package/dist/esm/bal-hint_3.entry.js +3 -3
  212. package/dist/esm/bal-icon.entry.js +1 -1
  213. package/dist/esm/bal-input-stepper.entry.js +2 -2
  214. package/dist/esm/bal-label.entry.js +1 -1
  215. package/dist/esm/bal-list_8.entry.js +3 -3
  216. package/dist/esm/bal-logo.entry.js +3 -3
  217. package/dist/esm/bal-nav_8.entry.js +4 -4
  218. package/dist/esm/bal-navbar_5.entry.js +3 -3
  219. package/dist/esm/bal-number-input.entry.js +2 -2
  220. package/dist/esm/bal-option_2.entry.js +536 -0
  221. package/dist/esm/bal-pagination.entry.js +4 -4
  222. package/dist/esm/bal-popover_2.entry.js +3 -3
  223. package/dist/esm/bal-popup.entry.js +1 -1
  224. package/dist/esm/bal-progress-bar.entry.js +3 -3
  225. package/dist/esm/bal-radio_2.entry.js +2 -2
  226. package/dist/esm/bal-select_2.entry.js +3 -3
  227. package/dist/esm/bal-shape.entry.js +1 -1
  228. package/dist/esm/bal-spinner.entry.js +50 -5
  229. package/dist/esm/bal-steps.entry.js +4 -4
  230. package/dist/esm/bal-tab-item_2.entry.js +4 -4
  231. package/dist/esm/bal-tag_2.entry.js +1 -1
  232. package/dist/esm/bal-time-input.entry.js +1 -1
  233. package/dist/esm/baloise-design-system.js +4 -5
  234. package/dist/esm/{breakpoints.decorator-1a7b0912.js → breakpoints.decorator-021fbaf0.js} +1 -1
  235. package/dist/esm/{breakpoints.subject-c5f9de1c.js → breakpoints.subject-ef464f89.js} +1 -1
  236. package/dist/esm/{config.default-79f94bf7.js → config.default-7efdc82d.js} +1 -0
  237. package/dist/esm/{date-f02fdb08.js → date-38a0b208.js} +1 -1
  238. package/dist/esm/{index.esm-ec4cba26.js → index.esm-83b1f9c4.js} +1 -1
  239. package/dist/esm/index.js +8 -7
  240. package/dist/esm/{initialize-66615dde.js → initialize-e216cfe4.js} +9 -2
  241. package/dist/esm/loader.js +4 -5
  242. package/dist/esm/option-37cb0282.js +46 -0
  243. package/dist/esm/{tokens.esm-99101350.js → tokens.esm-aab9bd61.js} +1 -1
  244. package/dist/esm-es5/app-globals-b0dd0fc4.js +1 -0
  245. package/dist/esm-es5/aria-d5877698.js +1 -0
  246. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  247. package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
  248. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  249. package/dist/esm-es5/bal-close.entry.js +1 -1
  250. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  251. package/dist/esm-es5/bal-date.entry.js +1 -1
  252. package/dist/esm-es5/bal-datepicker.entry.js +1 -1
  253. package/dist/esm-es5/bal-dropdown.entry.js +1 -0
  254. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  255. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  256. package/dist/esm-es5/bal-footer.entry.js +1 -1
  257. package/dist/esm-es5/bal-hint_3.entry.js +1 -1
  258. package/dist/esm-es5/bal-icon.entry.js +1 -1
  259. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  260. package/dist/esm-es5/bal-label.entry.js +1 -1
  261. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  262. package/dist/esm-es5/bal-logo.entry.js +1 -1
  263. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  264. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  265. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  266. package/dist/esm-es5/bal-option_2.entry.js +1 -0
  267. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  268. package/dist/esm-es5/bal-popover_2.entry.js +1 -1
  269. package/dist/esm-es5/bal-popup.entry.js +1 -1
  270. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  271. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  272. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  273. package/dist/esm-es5/bal-shape.entry.js +1 -1
  274. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  275. package/dist/esm-es5/bal-steps.entry.js +1 -1
  276. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  277. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  278. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  279. package/dist/esm-es5/baloise-design-system.js +1 -1
  280. package/dist/esm-es5/{breakpoints.decorator-1a7b0912.js → breakpoints.decorator-021fbaf0.js} +1 -1
  281. package/dist/esm-es5/{breakpoints.subject-c5f9de1c.js → breakpoints.subject-ef464f89.js} +1 -1
  282. package/dist/esm-es5/{config.default-79f94bf7.js → config.default-7efdc82d.js} +1 -1
  283. package/dist/esm-es5/{date-f02fdb08.js → date-38a0b208.js} +1 -1
  284. package/dist/esm-es5/{index.esm-ec4cba26.js → index.esm-83b1f9c4.js} +1 -1
  285. package/dist/esm-es5/index.js +1 -1
  286. package/dist/esm-es5/{initialize-66615dde.js → initialize-e216cfe4.js} +1 -1
  287. package/dist/esm-es5/loader.js +1 -1
  288. package/dist/esm-es5/option-37cb0282.js +1 -0
  289. package/dist/html.html-data.json +357 -0
  290. package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +187 -0
  291. package/dist/types/components/bal-dropdown/bal-dropdown.interfaces.d.ts +14 -0
  292. package/dist/types/components/bal-field/bal-field.d.ts +1 -0
  293. package/dist/types/components/bal-option/bal-option.d.ts +91 -0
  294. package/dist/types/components/bal-option/bal-option.interfaces.d.ts +19 -0
  295. package/dist/types/components/bal-option-list/bal-option-list.d.ts +168 -0
  296. package/dist/types/components/bal-option-list/bal-option-list.interfaces.d.ts +5 -0
  297. package/dist/types/components/bal-select/bal-select.d.ts +1 -1
  298. package/dist/types/components/bal-spinner/bal-spinner.d.ts +14 -2
  299. package/dist/types/components/bal-spinner/bal-spinner.interfaces.d.ts +6 -0
  300. package/dist/types/components.d.ts +443 -32
  301. package/dist/types/index.d.ts +1 -0
  302. package/dist/types/interfaces.d.ts +4 -0
  303. package/dist/types/utils/aria.d.ts +1 -0
  304. package/dist/types/utils/config/config.d.ts +2 -0
  305. package/dist/types/utils/config/config.types.d.ts +2 -0
  306. package/dist/types/utils/dropdown/auto-fill.d.ts +8 -0
  307. package/dist/types/utils/dropdown/component.d.ts +34 -0
  308. package/dist/types/utils/dropdown/dropdown.i18n.d.ts +8 -0
  309. package/dist/types/utils/dropdown/events.d.ts +13 -0
  310. package/dist/types/utils/dropdown/filters.d.ts +2 -0
  311. package/dist/types/utils/dropdown/focus.d.ts +13 -0
  312. package/dist/types/utils/dropdown/form-submit.d.ts +22 -0
  313. package/dist/types/utils/dropdown/icon.d.ts +13 -0
  314. package/dist/types/utils/dropdown/index.d.ts +13 -0
  315. package/dist/types/utils/dropdown/input.d.ts +27 -0
  316. package/dist/types/utils/dropdown/option-list.d.ts +17 -0
  317. package/dist/types/utils/dropdown/option.d.ts +25 -0
  318. package/dist/types/utils/dropdown/popup.d.ts +9 -0
  319. package/dist/types/utils/dropdown/value.d.ts +28 -0
  320. package/package.json +7 -7
  321. package/components/bal-app2.js +0 -87
  322. package/components/bal-doc-app.js +0 -260
  323. package/components/initialize.js +0 -281
  324. package/dist/baloise-design-system/p-1e0e5892a3.system.entry.js +0 -1
  325. package/dist/baloise-design-system/p-2ae9656e.system.js +0 -1
  326. package/dist/baloise-design-system/p-2dda46c5f8.entry.js +0 -1
  327. package/dist/baloise-design-system/p-320dd651.js +0 -1
  328. package/dist/baloise-design-system/p-4e218ac923.system.entry.js +0 -1
  329. package/dist/baloise-design-system/p-4f4df156.js +0 -1
  330. package/dist/baloise-design-system/p-87067c24.js +0 -1
  331. package/dist/baloise-design-system/p-8ea27b553e.system.entry.js +0 -1
  332. package/dist/baloise-design-system/p-96647117d9.entry.js +0 -1
  333. package/dist/baloise-design-system/p-9d114fae.js +0 -1
  334. package/dist/baloise-design-system/p-9ee6326d8f.entry.js +0 -1
  335. package/dist/baloise-design-system/p-a4d60ac8af.system.entry.js +0 -1
  336. package/dist/baloise-design-system/p-a8d19cb362.system.entry.js +0 -1
  337. package/dist/baloise-design-system/p-b0870e2498.system.entry.js +0 -1
  338. package/dist/baloise-design-system/p-b1c7ddc442.system.entry.js +0 -1
  339. package/dist/baloise-design-system/p-b1e3fc0bc8.entry.js +0 -1
  340. package/dist/baloise-design-system/p-c0a3d422.system.js +0 -1
  341. package/dist/baloise-design-system/p-c34504aa32.entry.js +0 -1
  342. package/dist/baloise-design-system/p-d6fc0dd434.entry.js +0 -1
  343. package/dist/baloise-design-system/p-db3e6b861f.entry.js +0 -1
  344. package/dist/baloise-design-system/p-e960037ef1.entry.js +0 -1
  345. package/dist/baloise-design-system/p-f15be367.system.js +0 -1
  346. package/dist/baloise-design-system/p-f8c2d916.system.js +0 -1
  347. package/dist/baloise-design-system/p-fa8f56c6.system.js +0 -1
  348. package/dist/cjs/app-globals-1a8f18e4.js +0 -7
  349. package/dist/cjs/bal-doc-app.cjs.entry.js +0 -231
  350. package/dist/cjs/global-6ea60588.js +0 -9
  351. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
  352. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -229
  353. package/dist/esm/app-globals-e3e23c19.js +0 -5
  354. package/dist/esm/bal-doc-app.entry.js +0 -227
  355. package/dist/esm/global-d54e7c09.js +0 -7
  356. package/dist/esm-es5/app-globals-e3e23c19.js +0 -1
  357. package/dist/esm-es5/bal-doc-app.entry.js +0 -1
  358. package/dist/esm-es5/global-d54e7c09.js +0 -1
  359. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
  360. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +0 -81
  361. /package/dist/baloise-design-system/{p-8f430e01.system.js → p-03c136e2.system.js} +0 -0
  362. /package/dist/baloise-design-system/{p-2b04a8d8.js → p-7b9c33ba.js} +0 -0
  363. /package/dist/esm-es5/{tokens.esm-99101350.js → tokens.esm-aab9bd61.js} +0 -0
@@ -1,281 +0,0 @@
1
- import { setPlatformHelpers } from '@stencil/core/internal/client';
2
- import { b as balBrowser } from './browser.js';
3
- import { d as defaultConfig } from './config.default.js';
4
-
5
- const BALOISE_SESSION_KEY = 'baloise-persist-config';
6
-
7
- class Config {
8
- constructor() {
9
- this._componentObservers = [];
10
- this._observers = [];
11
- this._config = defaultConfig;
12
- }
13
- get locale() {
14
- return `${this._config.language}-${this._config.region}`;
15
- }
16
- get region() {
17
- return this._config.region;
18
- }
19
- set region(region) {
20
- if (region !== this._config.region) {
21
- this._config.region = region;
22
- this._notify();
23
- }
24
- }
25
- get language() {
26
- return this._config.language;
27
- }
28
- set language(language) {
29
- if (language !== this._config.language) {
30
- if (this._config.allowedLanguages.includes(language)) {
31
- this._config.language = language;
32
- }
33
- else {
34
- this._config.language = this._config.fallbackLanguage;
35
- }
36
- this._notify();
37
- }
38
- }
39
- get allowedLanguages() {
40
- return this._config.allowedLanguages;
41
- }
42
- set allowedLanguages(allowedLanguages) {
43
- if (allowedLanguages !== this._config.allowedLanguages) {
44
- this._config.allowedLanguages = allowedLanguages;
45
- this._notify();
46
- }
47
- }
48
- get icons() {
49
- return this._config.icons;
50
- }
51
- set icons(icons) {
52
- this._config.icons = Object.assign(Object.assign({}, this._config.icons), icons);
53
- this._notify();
54
- }
55
- get logger() {
56
- return this._config.logger;
57
- }
58
- set logger(logger) {
59
- this._config.logger = Object.assign({}, logger);
60
- this._notify();
61
- }
62
- get animated() {
63
- return this._config.animated;
64
- }
65
- set animated(animated) {
66
- this._config.animated = animated;
67
- this._notify();
68
- }
69
- attach(observer) {
70
- const isExist = this._observers.includes(observer);
71
- if (isExist) {
72
- return console.log('Subject: Observer has been attached already.');
73
- }
74
- this._observers.push(observer);
75
- observer.configChanged(this._config);
76
- }
77
- detach(observer) {
78
- const observerIndex = this._observers.indexOf(observer);
79
- if (observerIndex === -1) {
80
- return console.log('Subject: Nonexistent observer.');
81
- }
82
- this._observers.splice(observerIndex, 1);
83
- }
84
- attachComponent(observer) {
85
- const isExist = this._componentObservers.includes(observer);
86
- if (isExist) {
87
- return console.log('Subject: Observer has been attached already.');
88
- }
89
- this._componentObservers.push(observer);
90
- observer.configChanged(this._config);
91
- }
92
- detachComponent(observer) {
93
- const observerIndex = this._componentObservers.indexOf(observer);
94
- if (observerIndex === -1) {
95
- return console.log('Subject: Nonexistent observer.');
96
- }
97
- this._componentObservers.splice(observerIndex, 1);
98
- }
99
- toString() {
100
- return JSON.stringify(this._config);
101
- }
102
- reset(config) {
103
- this._config = Object.assign(Object.assign(Object.assign({}, this._config), config), { icons: Object.assign(Object.assign({}, this._config.icons), config.icons) });
104
- this._notify(false);
105
- }
106
- _notify(all = true) {
107
- for (const observer of this._componentObservers) {
108
- observer.configChanged(this._config);
109
- }
110
- if (all) {
111
- for (const observer of this._observers) {
112
- observer.configChanged(this._config);
113
- }
114
- }
115
- if (balBrowser.hasWindow) {
116
- saveConfig(window, this._config);
117
- }
118
- }
119
- }
120
- const config = /*@__PURE__*/ new Config();
121
- const configFromSession = (win) => {
122
- try {
123
- const configStr = win.sessionStorage.getItem(BALOISE_SESSION_KEY);
124
- return configStr !== null ? JSON.parse(configStr) : {};
125
- }
126
- catch (e) {
127
- return {};
128
- }
129
- };
130
- const saveConfig = (win, c) => {
131
- try {
132
- win.sessionStorage.setItem(BALOISE_SESSION_KEY, JSON.stringify(c));
133
- }
134
- catch (e) {
135
- return;
136
- }
137
- };
138
-
139
- const setupConfig = (userConfig = {}, win = {}) => {
140
- if (Object.keys(win).length === 0 && balBrowser.hasWindow) {
141
- win = window;
142
- }
143
- win.BaloiseDesignSystem = win.BaloiseDesignSystem || {};
144
- config.reset(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), userConfig), { icons: Object.assign(Object.assign({}, configFromSession(win).icons), userConfig.icons) }));
145
- win.BaloiseDesignSystem.config = config;
146
- };
147
-
148
- class BalNoticeController {
149
- constructor(options) {
150
- this.options = options;
151
- this.container = null;
152
- this.queue = [];
153
- this.preQueue = [];
154
- this.queueLimit = 5;
155
- }
156
- create(options) {
157
- if (balBrowser.hasDocument) {
158
- this.setupContainer();
159
- const clone = this.findClone(options);
160
- if (clone === undefined) {
161
- const el = document.createElement(this.options.tag);
162
- Object.assign(el, options);
163
- el.addEventListener('balClose', ev => {
164
- this.removeFromQueue(ev.detail);
165
- });
166
- this.preQueue.push(el);
167
- this.updateQueue();
168
- return el;
169
- }
170
- return clone;
171
- }
172
- }
173
- setQueue(queueLimit) {
174
- this.queueLimit = queueLimit;
175
- }
176
- async dismissAll() {
177
- var _a;
178
- const elements = (_a = this.container) === null || _a === void 0 ? void 0 : _a.querySelectorAll(this.options.tag);
179
- if (elements) {
180
- const closingQueue = [];
181
- for (let index = 0; index < elements.length; index++) {
182
- const el = elements[index];
183
- if (el.close) {
184
- closingQueue.push(el.close());
185
- }
186
- }
187
- await Promise.all(closingQueue);
188
- }
189
- }
190
- /**
191
- * @deprecated use dismissAll instead
192
- */
193
- async clearAll() {
194
- console.warn('[DEPRECATED] - use dismissAll() instead');
195
- return this.dismissAll();
196
- }
197
- findClone(options) {
198
- for (let index = 0; index < this.queue.length; index++) {
199
- const el = this.queue[index];
200
- if (el.message === options.message && el.color === options.color) {
201
- return el;
202
- }
203
- }
204
- return undefined;
205
- }
206
- setupContainer() {
207
- if (balBrowser.hasDocument) {
208
- const containerId = `${this.options.tag}-container`;
209
- this.container = document.getElementById(containerId);
210
- if (this.container)
211
- return;
212
- if (!this.container) {
213
- this.container = document.createElement('bal-notices');
214
- this.container.setAttribute('interface', this.options.tag.replace('bal-', ''));
215
- this.container.id = containerId;
216
- }
217
- document.body.appendChild(this.container);
218
- }
219
- }
220
- updateQueue() {
221
- var _a;
222
- if (this.queue.length < this.queueLimit) {
223
- const el = this.preQueue.shift();
224
- if (el && this.container) {
225
- this.queue.push(el);
226
- this.container.insertAdjacentElement('beforeend', el);
227
- }
228
- }
229
- if (this.queue.length === 0) {
230
- (_a = this.container) === null || _a === void 0 ? void 0 : _a.remove();
231
- }
232
- }
233
- removeFromQueue(toastId) {
234
- this.queue = this.queue.filter(el => el.id !== toastId);
235
- setTimeout(() => this.updateQueue(), 0);
236
- }
237
- }
238
-
239
- class BalToastController extends BalNoticeController {
240
- constructor() {
241
- super({
242
- tag: 'bal-toast',
243
- });
244
- }
245
- create(options) {
246
- return super.create(options);
247
- }
248
- }
249
- const balToastController = new BalToastController();
250
-
251
- class BalSnackbarController extends BalNoticeController {
252
- constructor() {
253
- super({
254
- tag: 'bal-snackbar',
255
- });
256
- }
257
- create(options) {
258
- return super.create(options);
259
- }
260
- }
261
- const balSnackbarController = new BalSnackbarController();
262
-
263
- // generated by .build/version.js
264
- const VERSION = '16.0.3-nightly.20240417';
265
-
266
- const initializeBaloiseDesignSystem = (userConfig = {}, platformConfig = undefined, win = {}) => {
267
- if (Object.keys(win).length === 0 && balBrowser.hasWindow) {
268
- win = window;
269
- }
270
- win.BaloiseDesignSystem = win.BaloiseDesignSystem || {};
271
- if (platformConfig) {
272
- setPlatformHelpers(platformConfig);
273
- }
274
- setupConfig(Object.assign(Object.assign({}, userConfig), platformConfig), win);
275
- win.BaloiseDesignSystem.toastController = balToastController;
276
- win.BaloiseDesignSystem.snackbarController = balSnackbarController;
277
- win.BaloiseDesignSystem.initialize = () => setupConfig(win.BaloiseDesignSystem.config, win);
278
- win.BaloiseDesignSystem.version = VERSION;
279
- };
280
-
281
- export { BalToastController as B, BalSnackbarController as a, balToastController as b, balSnackbarController as c, initializeBaloiseDesignSystem as i, setupConfig as s };
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(o,e,a,r){function c(o){return o instanceof a?o:new a((function(e){e(o)}))}return new(a||(a=Promise))((function(a,b){function l(o){try{n(r.next(o))}catch(o){b(o)}}function t(o){try{n(r["throw"](o))}catch(o){b(o)}}function n(o){o.done?a(o.value):c(o.value).then(l,t)}n((r=r.apply(o,e||[])).next())}))};var __generator=this&&this.__generator||function(o,e){var a={label:0,sent:function(){if(b[0]&1)throw b[1];return b[1]},trys:[],ops:[]},r,c,b,l;return l={next:t(0),throw:t(1),return:t(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function t(o){return function(e){return n([o,e])}}function n(t){if(r)throw new TypeError("Generator is already executing.");while(l&&(l=0,t[0]&&(a=0)),a)try{if(r=1,c&&(b=t[0]&2?c["return"]:t[0]?c["throw"]||((b=c["return"])&&b.call(c),0):c.next)&&!(b=b.call(c,t[1])).done)return b;if(c=0,b)t=[t[0]&2,b.value];switch(t[0]){case 0:case 1:b=t;break;case 4:a.label++;return{value:t[1],done:false};case 5:a.label++;c=t[1];t=[0];continue;case 7:t=a.ops.pop();a.trys.pop();continue;default:if(!(b=a.trys,b=b.length>0&&b[b.length-1])&&(t[0]===6||t[0]===2)){a=0;continue}if(t[0]===3&&(!b||t[1]>b[0]&&t[1]<b[3])){a.label=t[1];break}if(t[0]===6&&a.label<b[1]){a.label=b[1];b=t;break}if(b&&a.label<b[2]){a.label=b[2];a.ops.push(t);break}if(b[2])a.ops.pop();a.trys.pop();continue}t=e.call(o,a)}catch(o){t=[6,o];c=0}finally{r=b=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:true}}};System.register(["./p-456fc561.system.js","./p-6dbef894.system.js","./p-db0895e2.system.js","./p-d2ee9b0a.system.js","./p-23bdd8dc.system.js","./p-b52ad8d5.system.js","./p-8954495d.system.js","./p-baf64616.system.js","./p-a1f6e944.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js","./p-eecefb0a.system.js"],(function(o){"use strict";var e,a,r,c,b,l,t,n,i,d,h,u,s,v;return{setters:[function(o){e=o.r;a=o.c;r=o.h;c=o.H;b=o.g},function(o){l=o._;t=o.a},function(o){n=o.B},function(o){i=o.s},function(o){d=o.L},function(o){h=o.F},function(o){u=o.i},function(o){s=o.B;v=o.L},function(){},function(){},function(){},function(){}],execute:function(){var k="@media (hover: hover)and (pointer: fine){.bal-checkbox-button__native.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}.bal-checkbox-button{display:block;position:relative;-ms-flex:0 0 100%;flex:0 0 100%}@media screen and (min-width: 769px),print{.bal-checkbox-button--column-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-checkbox-button--column-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-checkbox-button--column-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (max-width: 768px){.bal-checkbox-button--column-mobile-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-checkbox-button--column-mobile-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-checkbox-button--column-mobile-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (min-width: 769px),print{.bal-checkbox-button--column-tablet-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-checkbox-button--column-tablet-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-checkbox-button--column-tablet-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (min-width: 1024px){.bal-checkbox-button--column-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-checkbox-button--column-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-checkbox-button--column-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}.bal-checkbox-button__native{display:block;width:100%;height:100%;background:var(--bal-radio-checkbox-button-background);border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-width:var(--bal-form-field-control-border-width);border-color:var(--bal-radio-checkbox-button-border-color);padding:var(--bal-text-size-medium);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bal-checkbox-button__native--checked{border-color:var(--bal-radio-checkbox-button-border-color-checked)}.bal-checkbox-button__native--checked.bal-checkbox-button__native--color-green{background:var(--bal-radio-checkbox-button-background-checked-green)}.bal-checkbox-button__native--checked.bal-checkbox-button__native--color-purple{background:var(--bal-radio-checkbox-button-background-checked-purple)}.bal-checkbox-button__native--checked.bal-checkbox-button__native--color-red{background:var(--bal-radio-checkbox-button-background-checked-red)}.bal-checkbox-button__native--checked.bal-checkbox-button__native--color-yellow{background:var(--bal-radio-checkbox-button-background-checked-yellow)}.bal-checkbox-button__native:disabled,.bal-checkbox-button__native--disabled{background:var(--bal-radio-checkbox-button-background-disabled);border-color:var(--bal-radio-checkbox-button-border-color-disabled);cursor:default}.bal-checkbox-button__native--invalid{border-color:var(--bal-radio-checkbox-button-border-color-invalid)}@media (hover: hover)and (pointer: fine){.bal-checkbox-button__native:hover:not(:disabled):not(.bal-checkbox-button__native--colored){background:var(--bal-radio-checkbox-button-background-hover);border-color:var(--bal-radio-checkbox-button-border-color-hover)}}.bal-checkbox-button__native:active:not(:disabled){border-color:var(--bal-radio-checkbox-button-border-color-active)}@media (hover: hover)and (pointer: fine){.bal-checkbox-button__native--invalid:hover:not(:disabled){border-color:var(--bal-radio-checkbox-button-border-color-invalid-hover)}.bal-checkbox-button__native--invalid:active:not(:disabled){border-color:var(--bal-radio-checkbox-button-border-color-invalid-active)}}";var f=k;var x=o("bal_checkbox_button",function(){function o(o){var r=this;e(this,o);this.balFocus=a(this,"balFocus",7);this.balBlur=a(this,"balBlur",7);this.balFormControlDidLoad=a(this,"balFormControlDidLoad",7);this.keyboardMode=true;this.onClick=function(o){if(r.disabled||r.readonly){return i(o)}var e=o.target;if(e&&e.href){return}var a=r.el.querySelector("bal-checkbox");var c=o.target;if(a&&c){var b=c===a||u(a,c);if(!b){i(o);a.click()}}};this.onFocus=function(o){var e;if(r.disabled||r.readonly){return i(o)}var a=r.el.querySelector("bal-checkbox");var c=o.target;if(r.keyboardMode){r.focused=true}if(a&&c){var b=c===a||u(a,c);if(b){i(o);(e=a.querySelector("input"))===null||e===void 0?void 0:e.focus()}}else{r.balFocus.emit()}};this.onBlur=function(o){var e;if(r.disabled||r.readonly){return i(o)}var a=r.el.querySelector("bal-checkbox");var c=o.target;r.focused=false;if(a&&c){var b=c===a||u(a,c);if(b){i(o);(e=a.querySelector("input"))===null||e===void 0?void 0:e.blur()}}else{r.balBlur.emit()}};this.onPointerDown=function(){return r.keyboardMode=false};this.onKeydown=function(o){return r.keyboardMode=h.includes(o.key)};this.interactionState=s.DefaultState;this.checked=false;this.focused=false;this.invalid=undefined;this.disabled=undefined;this.readonly=undefined;this.color=undefined;this.colSize=1;this.colSizeTablet=1;this.colSizeMobile=1}o.prototype.createLogger=function(o){this.log=o};o.prototype.invalidHandler=function(){this.updateProps("invalid",["bal-checkbox","bal-icon","bal-label","bal-text"])};o.prototype.disabledHandler=function(){this.updateProps("disabled",["bal-checkbox","bal-icon","bal-label","bal-text"])};o.prototype.readonlyHandler=function(){this.updateProps("readonly",["bal-checkbox","bal-icon","bal-label","bal-text"])};o.prototype.connectedCallback=function(){this.triggerAllHandlers();this.el.addEventListener("keydown",this.onKeydown);this.el.addEventListener("touchstart",this.onPointerDown);this.el.addEventListener("mousedown",this.onPointerDown)};o.prototype.componentWillLoad=function(){this.triggerAllHandlers()};o.prototype.componentDidLoad=function(){this.balFormControlDidLoad.emit(this.el)};o.prototype.disconnectedCallback=function(){this.el.removeEventListener("keydown",this.onKeydown);this.el.removeEventListener("touchstart",this.onPointerDown);this.el.removeEventListener("mousedown",this.onPointerDown)};o.prototype.elementStateListener=function(o){this.interactionChildElements.forEach((function(e){e.hovered=o.hovered;e.pressed=o.pressed}))};o.prototype.setChecked=function(o){if(o===void 0){o=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.checked=o;return[2]}))}))};Object.defineProperty(o.prototype,"interactionChildElements",{get:function(){return Array.from(this.el.querySelectorAll("bal-label, bal-text, bal-icon, bal-checkbox"))},enumerable:false,configurable:true});o.prototype.triggerAllHandlers=function(){this.disabledHandler();this.readonlyHandler();this.invalidHandler()};o.prototype.updateProps=function(o,e){var a=this[o];if(a!==undefined){this.notifyComponents(e,(function(e){return e[o]=a}))}};o.prototype.notifyComponents=function(o,e){var a=this.el.querySelectorAll(o.join(", "));a.forEach((function(o){return e(o)}))};o.prototype.render=function(){var o=n.block("checkbox-button");var e=!!this.disabled||!!this.readonly;var a=!!this.invalid;var b=!!this.color;var l=this.checked&&b;return r(c,{class:Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier("column-".concat(this.colSize)).class(this.colSize>1)),o.modifier("column-tablet-".concat(this.colSizeTablet)).class(this.colSizeTablet>1)),o.modifier("column-mobile-".concat(this.colSizeMobile)).class(this.colSizeMobile>1)),onClick:this.onClick},r("button",{role:"checkbox",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o.element("native").class()),o.element("native").modifier("disabled").class(e)),o.element("native").modifier("invalid").class(a)),o.element("native").modifier("checked").class(this.checked)),o.element("native").modifier("colored").class(l)),o.element("native").modifier("color-".concat(this.color)).class(b)),{"bal-focusable":!this.disabled}),disabled:e,onFocus:this.onFocus,onBlur:this.onBlur},r("slot",null)))};Object.defineProperty(o.prototype,"el",{get:function(){return b(this)},enumerable:false,configurable:true});Object.defineProperty(o,"watchers",{get:function(){return{invalid:["invalidHandler"],disabled:["disabledHandler"],readonly:["readonlyHandler"]}},enumerable:false,configurable:true});return o}());l([d("bal-checkbox-button"),t("design:type",Function),t("design:paramtypes",[Function]),t("design:returntype",void 0)],x.prototype,"createLogger",null);l([v(),t("design:type",Function),t("design:paramtypes",[Object]),t("design:returntype",void 0)],x.prototype,"elementStateListener",null);x.style=f}}}));
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}}();var __awaiter=this&&this.__awaiter||function(n,t,e,i){function o(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,r){function a(n){try{u(i.next(n))}catch(n){r(n)}}function s(n){try{u(i["throw"](n))}catch(n){r(n)}}function u(n){n.done?e(n.value):o(n.value).then(a,s)}u((i=i.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(n){return function(t){return u([n,t])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(i=1,o&&(r=s[0]&2?o["return"]:s[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;if(o=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;o=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){e.label=s[1];break}if(s[0]===6&&e.label<r[1]){e.label=r[1];r=s;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(s);break}if(r[2])e.ops.pop();e.trys.pop();continue}s=t.call(n,e)}catch(n){s=[6,n];o=0}finally{i=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-99cfab9c.system.js","./p-7c5868cc.system.js","./p-6b45db53.system.js","./p-a7fc2da7.system.js","./p-14d0c5f3.system.js","./p-4c0bad70.system.js","./p-fe76780d.system.js","./p-3bbf43bb.system.js","./p-8a2bab70.system.js","./p-3ecc7d9a.system.js","./p-8954495d.system.js","./p-6e5745c8.system.js","./p-f233fe25.system.js","./p-a1f6e944.system.js","./p-ec9a7cf5.system.js","./p-ae9b85f1.system.js","./p-88c086f8.system.js","./p-145d5c4e.system.js","./p-c0a3d422.system.js","./p-eecefb0a.system.js","./p-333ef156.system.js","./p-3cb83cf9.system.js","./p-6913b916.system.js","./p-2880433e.system.js","./p-456fc561.system.js","./p-b3f2c626.system.js","./p-8f430e01.system.js","./p-23bdd8dc.system.js"],(function(n){"use strict";var t,e,i,o,r,a,s,u,f;return{setters:[function(t){n("FileUploadRejectionReason",t.F)},function(t){var e={};e.BalDate=t.B;e.i18nBalDate=t.i;n(e)},function(t){n("i18nBalClose",t.i)},function(t){n("i18nBalDatepicker",t.i)},function(t){n("i18nBalTimeInput",t.i)},function(t){n("i18nBalInputStepper",t.i)},function(t){n("i18nBalLabel",t.i)},function(t){var e={};e.BalSnackbarController=t.a;e.BalToastController=t.B;e.balSnackbarController=t.c;e.balToastController=t.b;e.initialize=t.i;e.initializeBaloiseDesignSystem=t.i;e.setupConfig=t.s;n(e)},function(t){n("newBalStepOption",t.n)},function(t){n("newBalTabOption",t.n)},function(i){t=i.g;e=i.c;var o={};o.componentOnReady=i.c;o.deepReady=i.e;o.getAppRoot=i.g;o.isDescendant=i.i;o.shallowReady=i.s;o.wait=i.f;o.waitAfterFramePaint=i.b;o.waitAfterIdleCallback=i.d;o.waitForComponent=i.w;o.waitForDesignSystem=i.a;n(o)},function(t){n("scrollToFirstInvalidField",t.s)},function(t){n("BalScrollHandler",t.B)},function(t){i=t.b;n("balBrowser",t.b)},function(t){o=t.b;var e={};e.BalDevice=t.B;e.balDevice=t.b;n(e)},function(n){r=n.g;a=n.a},function(t){s=t.B;u=t.b;var e={};e.BalBreakpointSubject=t.c;e.BalBreakpointsUtil=t.d;e.balBreakpointSubject=t.a;e.balBreakpoints=t.b;n(e)},function(t){var e={};e.attachToConfig=t.a;e.detachFromConfig=t.d;e.onBalConfigChange=t.o;e.updateBalAllowedLanguages=t.u;e.updateBalAnimated=t.b;e.updateBalIcons=t.c;e.updateBalLanguage=t.e;e.updateBalRegion=t.f;e.useBalConfig=t.g;n(e)},function(t){n("defaultConfig",t.d)},function(n){f=n.S},function(t){n("BalSwipeSubject",t.B)},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var c=n("i18nBalFieldLabel",{de:{optional:" (optional)"},en:{optional:" (optional)"},fr:{optional:" (optionnel)"},it:{optional:" (opzionale)"},nl:{optional:" (optioneel)"},es:{optional:" (opcional)"},pl:{optional:" (opcjonalnie)"},pt:{optional:" (opcional)"},sv:{optional:" (frivillig)"},fi:{optional:" (valinnainen)"}});var l=n("newBalCheckboxOption",(function(n){return Object.assign(Object.assign({interface:"checkbox",labelHidden:false,flat:false,disabled:false,readonly:false,required:false,nonSubmit:false,invalid:false,checked:false},n),{label:"",html:n.label})}));var p=n("newBalRadioOption",(function(n){return Object.assign(Object.assign({interface:"radio",labelHidden:false,flat:false,disabled:false,readonly:false,required:false,nonSubmit:false,invisible:false,invalid:false},n),{label:"",html:n.label})}));var d=n("newBalOptionValue",(function(n,t,e,i){if(e===void 0){e=false}return{value:n,label:t,disabled:e,data:i}}));var b=n("newBalSingleOptionValue",(function(n,t,e){if(t===void 0){t=false}return d(n,n,t,e)}));var m=function(n){__extends(t,n);function t(){var t=n.call(this,(function(n){return n.orientationListener(t.state)}))||this;t.listener=new s;t.state=o.orientation.toObject();t.listener.connect();t.listener.add((function(){var n=o.orientation.toObject();if(!t.isEqual(n)){t.state=n;t.notify(undefined)}}));return t}t.prototype.attach=function(t){n.prototype.attach.call(this,t);t.orientationListener(this.state)};t.prototype.isEqual=function(n){return n.landscape===this.state.landscape&&n.portrait===this.state.portrait};return t}(f);n("BalOrientationSubject",m);var v=n("balOrientationSubject",new m);var y=function(){function n(){this.tag="bal-modal"}n.prototype.create=function(n){var o=this;if(typeof customElements!=="undefined"&&i.hasDocument){return customElements.whenDefined(this.tag).then((function(){var i=document.createElement(o.tag);Object.assign(i,n);t(document).appendChild(i);return new Promise((function(n){return e(i,n)}))}))}return Promise.resolve()};n.prototype.dismissAll=function(n,t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){switch(o.label){case 0:if(!i.hasDocument)return[3,2];e=r(document,this.tag);return[4,Promise.all(e.map((function(e){return e.dismiss(n,t)})))];case 1:o.sent();o.label=2;case 2:return[2]}}))}))};n.prototype.dismiss=function(n,t,e){if(i.hasDocument){var o=a(document,this.tag,e);if(!o){return Promise.reject("overlay does not exist")}return o.dismiss(n,t)}return Promise.resolve(false)};n.prototype.getTop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(i.hasDocument){return[2,a(document,this.tag)]}return[2]}))}))};return n}();n("BalModalController",y);var h=n("balModalController",new y);var j=n("hasTouchSupport",(function(){return o.hasTouchScreen}));var w=n("isBrowser",(function(n){if(n==="Safari"){return i.isSafari}return false}));var B=n("getPlatforms",(function(n){return u.detect()}));var _=n("isPlatform",(function(n,t){if(typeof n==="string"){t=n}if(t){return u.detect().includes(t)}return false}));var O=n("NewBalOptionValue",d);var S=n("NewBalSingleOptionValue",b)}}}));
@@ -1 +0,0 @@
1
- import{r as o,c as a,h as e,H as r,g as c}from"./p-d7c752c6.js";import{_ as b,a as l}from"./p-43c9f5e9.js";import{B as t}from"./p-ae86d0a0.js";import{s as i}from"./p-ad9a7657.js";import{L as d}from"./p-b77e3348.js";import{F as n}from"./p-ca119357.js";import{i as h}from"./p-88f18fbc.js";import{B as s,L as v}from"./p-1920d4af.js";import"./p-a65354df.js";import"./p-2229e98e.js";import"./p-aafb6696.js";import"./p-acf222fd.js";const k=class{constructor(e){o(this,e),this.balFocus=a(this,"balFocus",7),this.balBlur=a(this,"balBlur",7),this.balFormControlDidLoad=a(this,"balFormControlDidLoad",7),this.keyboardMode=!0,this.onClick=o=>{if(this.disabled||this.readonly)return i(o);const a=o.target;if(a&&a.href)return;const e=this.el.querySelector("bal-checkbox"),r=o.target;e&&r&&(r===e||h(e,r)||(i(o),e.click()))},this.onFocus=o=>{var a;if(this.disabled||this.readonly)return i(o);const e=this.el.querySelector("bal-checkbox"),r=o.target;this.keyboardMode&&(this.focused=!0),e&&r?(r===e||h(e,r))&&(i(o),null===(a=e.querySelector("input"))||void 0===a||a.focus()):this.balFocus.emit()},this.onBlur=o=>{var a;if(this.disabled||this.readonly)return i(o);const e=this.el.querySelector("bal-checkbox"),r=o.target;this.focused=!1,e&&r?(r===e||h(e,r))&&(i(o),null===(a=e.querySelector("input"))||void 0===a||a.blur()):this.balBlur.emit()},this.onPointerDown=()=>this.keyboardMode=!1,this.onKeydown=o=>this.keyboardMode=n.includes(o.key),this.interactionState=s.DefaultState,this.checked=!1,this.focused=!1,this.invalid=void 0,this.disabled=void 0,this.readonly=void 0,this.color=void 0,this.colSize=1,this.colSizeTablet=1,this.colSizeMobile=1}createLogger(o){this.log=o}invalidHandler(){this.updateProps("invalid",["bal-checkbox","bal-icon","bal-label","bal-text"])}disabledHandler(){this.updateProps("disabled",["bal-checkbox","bal-icon","bal-label","bal-text"])}readonlyHandler(){this.updateProps("readonly",["bal-checkbox","bal-icon","bal-label","bal-text"])}connectedCallback(){this.triggerAllHandlers(),this.el.addEventListener("keydown",this.onKeydown),this.el.addEventListener("touchstart",this.onPointerDown),this.el.addEventListener("mousedown",this.onPointerDown)}componentWillLoad(){this.triggerAllHandlers()}componentDidLoad(){this.balFormControlDidLoad.emit(this.el)}disconnectedCallback(){this.el.removeEventListener("keydown",this.onKeydown),this.el.removeEventListener("touchstart",this.onPointerDown),this.el.removeEventListener("mousedown",this.onPointerDown)}elementStateListener(o){this.interactionChildElements.forEach((a=>{a.hovered=o.hovered,a.pressed=o.pressed}))}async setChecked(o=!0){this.checked=o}get interactionChildElements(){return Array.from(this.el.querySelectorAll("bal-label, bal-text, bal-icon, bal-checkbox"))}triggerAllHandlers(){this.disabledHandler(),this.readonlyHandler(),this.invalidHandler()}updateProps(o,a){const e=this[o];void 0!==e&&this.notifyComponents(a,(a=>a[o]=e))}notifyComponents(o,a){this.el.querySelectorAll(o.join(", ")).forEach((o=>a(o)))}render(){const o=t.block("checkbox-button"),a=!!this.disabled||!!this.readonly,c=!!this.invalid,b=!!this.color,l=this.checked&&b;return e(r,{class:Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier(`column-${this.colSize}`).class(this.colSize>1)),o.modifier(`column-tablet-${this.colSizeTablet}`).class(this.colSizeTablet>1)),o.modifier(`column-mobile-${this.colSizeMobile}`).class(this.colSizeMobile>1)),onClick:this.onClick},e("button",{role:"checkbox",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o.element("native").class()),o.element("native").modifier("disabled").class(a)),o.element("native").modifier("invalid").class(c)),o.element("native").modifier("checked").class(this.checked)),o.element("native").modifier("colored").class(l)),o.element("native").modifier(`color-${this.color}`).class(b)),{"bal-focusable":!this.disabled}),disabled:a,onFocus:this.onFocus,onBlur:this.onBlur},e("slot",null)))}get el(){return c(this)}static get watchers(){return{invalid:["invalidHandler"],disabled:["disabledHandler"],readonly:["readonlyHandler"]}}};b([d("bal-checkbox-button"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],k.prototype,"createLogger",null),b([v(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],k.prototype,"elementStateListener",null),k.style="@media (hover: hover)and (pointer: fine){.bal-checkbox-button__native.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}.bal-checkbox-button{display:block;position:relative;-ms-flex:0 0 100%;flex:0 0 100%}@media screen and (min-width: 769px),print{.bal-checkbox-button--column-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-checkbox-button--column-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-checkbox-button--column-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (max-width: 768px){.bal-checkbox-button--column-mobile-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-checkbox-button--column-mobile-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-checkbox-button--column-mobile-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (min-width: 769px),print{.bal-checkbox-button--column-tablet-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-checkbox-button--column-tablet-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-checkbox-button--column-tablet-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (min-width: 1024px){.bal-checkbox-button--column-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-checkbox-button--column-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-checkbox-button--column-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}.bal-checkbox-button__native{display:block;width:100%;height:100%;background:var(--bal-radio-checkbox-button-background);border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-width:var(--bal-form-field-control-border-width);border-color:var(--bal-radio-checkbox-button-border-color);padding:var(--bal-text-size-medium);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bal-checkbox-button__native--checked{border-color:var(--bal-radio-checkbox-button-border-color-checked)}.bal-checkbox-button__native--checked.bal-checkbox-button__native--color-green{background:var(--bal-radio-checkbox-button-background-checked-green)}.bal-checkbox-button__native--checked.bal-checkbox-button__native--color-purple{background:var(--bal-radio-checkbox-button-background-checked-purple)}.bal-checkbox-button__native--checked.bal-checkbox-button__native--color-red{background:var(--bal-radio-checkbox-button-background-checked-red)}.bal-checkbox-button__native--checked.bal-checkbox-button__native--color-yellow{background:var(--bal-radio-checkbox-button-background-checked-yellow)}.bal-checkbox-button__native:disabled,.bal-checkbox-button__native--disabled{background:var(--bal-radio-checkbox-button-background-disabled);border-color:var(--bal-radio-checkbox-button-border-color-disabled);cursor:default}.bal-checkbox-button__native--invalid{border-color:var(--bal-radio-checkbox-button-border-color-invalid)}@media (hover: hover)and (pointer: fine){.bal-checkbox-button__native:hover:not(:disabled):not(.bal-checkbox-button__native--colored){background:var(--bal-radio-checkbox-button-background-hover);border-color:var(--bal-radio-checkbox-button-border-color-hover)}}.bal-checkbox-button__native:active:not(:disabled){border-color:var(--bal-radio-checkbox-button-border-color-active)}@media (hover: hover)and (pointer: fine){.bal-checkbox-button__native--invalid:hover:not(:disabled){border-color:var(--bal-radio-checkbox-button-border-color-invalid-hover)}.bal-checkbox-button__native--invalid:active:not(:disabled){border-color:var(--bal-radio-checkbox-button-border-color-invalid-active)}}";export{k as bal_checkbox_button}
@@ -1 +0,0 @@
1
- import{h as t,j as s,r as i}from"./p-88f18fbc.js";import{b as e}from"./p-a65354df.js";import{b as h}from"./p-96216bd1.js";import{L as r,S as n}from"./p-acf222fd.js";import{b as o,a,c,d as u,e as l}from"./p-2b04a8d8.js";class d{constructor(t={}){this.previousWidth=e.window.width,this.previousHeight=e.window.height,this.previousIsLandscape=this.isLandscape,this.options={onlyListenToWidthChanges:!1},this.options=Object.assign(Object.assign({},this.options),t)}async hasResized(){if(h.hasTouchScreen){if(!this.sameWidth||this.previousIsLandscape!==this.isLandscape)return this.resetPreviousValues(),!0}else if(this.options.onlyListenToWidthChanges){if(!this.sameWidth)return this.resetPreviousValues(),!0}else if(!this.sameWidth||!this.sameHeight)return this.resetPreviousValues(),!0;return!1}get isLandscape(){return e.window.width>e.window.height}get sameWidth(){return this.previousWidth===e.window.width}get sameHeight(){return this.previousHeight===e.window.height}resetPreviousValues(){this.previousWidth=e.window.width,this.previousHeight=e.window.height,this.previousIsLandscape=this.isLandscape}}class f extends r{constructor(){super(...arguments),this.resizeHandler=new d({onlyListenToWidthChanges:!0}),this.debouncedNotify=t((()=>this.notify()),10),this.notify=async()=>{await this.resizeHandler.hasResized()&&super.notify(void 0)}}connect(){super.connect(),this.el&&s(this.el,"resize",this.debouncedNotify,{passive:!0})}disconnect(){super.disconnect(),this.el&&i(this.el,"resize",this.debouncedNotify)}}const p=t=>parseInt(t.slice(0,-2),10),b=p(l),g=p(o),m=p(a),w=p(c),j=p(u),D=t=>t.innerWidth<b,k=t=>{const s=t.innerWidth;return s>=b&&s<g},v=t=>D(t)||k(t),O={mobile:D,tablet:k,touch:v,desktop:t=>!v(t),highDefinition:t=>{const s=t.innerWidth;return s>=m&&s<w},widescreen:t=>{const s=t.innerWidth;return s>=w&&s<j},fullhd:t=>t.innerWidth>=j};class y{constructor(){this.breakpoints=[],e.hasWindow&&(this.win=window,this.win.BaloiseDesignSystem=this.win.BaloiseDesignSystem||{},this.detect())}get isMobile(){return this.includes("mobile")}get isTablet(){return this.includes("tablet")}get isTouch(){return this.includes("touch")}get isDesktop(){return this.includes("desktop")}get isHighDefinition(){return this.includes("highDefinition")}get isWidescreen(){return this.includes("widescreen")}get isFullHD(){return this.includes("fullhd")}includes(t){var s;return this.detect(),!!(null===(s=this.breakpoints)||void 0===s?void 0:s.includes(t))}detect(){return this.win&&(this.breakpoints=Object.keys(O).filter((t=>O[t](this.win))),this.win.BaloiseDesignSystem.breakpoints=this.breakpoints,this.win.BaloiseDesignSystem.platforms=this.breakpoints),this.breakpoints}toObject(){return{mobile:this.breakpoints.includes("mobile"),tablet:this.breakpoints.includes("tablet"),touch:this.breakpoints.includes("touch"),desktop:this.breakpoints.includes("desktop"),highDefinition:this.breakpoints.includes("highDefinition"),widescreen:this.breakpoints.includes("widescreen"),fullhd:this.breakpoints.includes("fullhd")}}}const L=new y,T={mobile:!1,tablet:!1,touch:!1,desktop:!1,highDefinition:!1,widescreen:!1,fullhd:!1};class W extends n{constructor(){super((t=>t.breakpointListener(this.state))),this.state=T,this.listener=new f,this.debouncedNotify=t((()=>this.notify()),50),this.listener.connect(),this.listener.add((()=>{L.detect();const t=L.toObject();this.isEqual(t)||(this.state=t,this.debouncedNotify())}))}attach(t){super.attach(t),L.detect();const s=L.toObject();this.isEqual(s)||(this.state=s,this.debouncedNotify())}isEqual(t){return JSON.stringify(this.state)===JSON.stringify(t)}}const x=new W;export{f as B,x as a,L as b,W as c,y as d}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,i,t,l){function n(e){return e instanceof t?e:new t((function(i){i(e)}))}return new(t||(t=Promise))((function(t,a){function r(e){try{o(l.next(e))}catch(e){a(e)}}function s(e){try{o(l["throw"](e))}catch(e){a(e)}}function o(e){e.done?t(e.value):n(e.value).then(r,s)}o((l=l.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},l,n,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(i){return o([e,i])}}function o(s){if(l)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(t=0)),t)try{if(l=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;n=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){t.label=s[1];break}if(s[0]===6&&t.label<a[1]){t.label=a[1];a=s;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(s);break}if(a[2])t.ops.pop();t.trys.pop();continue}s=i.call(e,t)}catch(e){s=[6,e];n=0}finally{l=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,i,t){if(t||arguments.length===2)for(var l=0,n=i.length,a;l<n;l++){if(a||!(l in i)){if(!a)a=Array.prototype.slice.call(i,0,l);a[l]=i[l]}}return e.concat(a||Array.prototype.slice.call(i))};System.register(["./p-456fc561.system.js","./p-6dbef894.system.js","./p-8954495d.system.js","./p-6e5745c8.system.js","./p-a4dacc2d.system.js","./p-db0895e2.system.js","./p-a1f6e944.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js","./p-eecefb0a.system.js"],(function(e){"use strict";var i,t,l,n,a,r,s,o,f,d,u,c;return{setters:[function(e){i=e.r;t=e.c;l=e.h;n=e.H;a=e.g},function(e){r=e._;s=e.a},function(e){o=e.e;f=e.b},function(e){d=e.d},function(e){u=e.L},function(e){c=e.B},function(){},function(){},function(){},function(){}],execute:function(){var b=":root{--bal-field-label-horizontal-width:33.3333%;--bal-field-label-column-gap:.5rem}.bal-field,.bal-field-label,.bal-field-control,.bal-field-message,.bal-field-hint{display:block;position:relative;font-family:var(--bal-font-family-text)}.bal-field-label{display:inline}.bal-field-label~.bal-field-control{margin-top:.25rem}.bal-field-hint{display:inline-block;margin-left:.25rem;height:1rem;width:1rem}.bal-field-hint__hint{position:absolute;top:2px;left:0}.bal-field-message{line-height:var(--bal-line-height-normal)}.bal-field-hidden{display:none !important;visibility:hidden !important}.bal-field-control{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;gap:.5rem}.bal-field-control .bal-input{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-field-control--expanded-on-mobile{-ms-flex-direction:column;flex-direction:column}.bal-field-control--expanded-on-mobile .bal-button,.bal-field-control--expanded-on-mobile .bal-button .button{width:100%}}.bal-field-control{padding-bottom:1.375rem}.bal-field-control+.bal-field-message{margin-top:-1.5rem !important}.bal-field--horizontal{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-column-gap:var(--bal-field-label-column-gap);-moz-column-gap:var(--bal-field-label-column-gap);column-gap:var(--bal-field-label-column-gap);-ms-flex-align:center;align-items:center}.bal-field--horizontal .bal-field-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-width:var(--bal-field-label-horizontal-width);max-width:var(--bal-field-label-horizontal-width);-ms-flex-pack:end;justify-content:flex-end;text-align:right;margin-bottom:0}.bal-field--horizontal .bal-field-control{-ms-flex:1;flex:1;padding-bottom:0;-ms-flex-item-align:end;align-self:flex-end}.bal-field--horizontal .bal-field-message{-ms-flex-preferred-size:100%;flex-basis:100%;margin-top:0 !important;margin-left:calc(var(--bal-field-label-horizontal-width) + var(--bal-field-label-column-gap))}.bal-field--horizontal .bal-field-hint{margin-left:0}.bal-field--horizontal .bal-field-hint .bal-hint{top:0}.bal-field--horizontal .bal-field-hint~.bal-field-message{margin-left:calc(var(--bal-field-label-horizontal-width) + var(--bal-field-label-column-gap)*2 + 1.125rem)}.bal-field--horizontal .bal-field-label~.bal-field-control{margin-top:0}";var h=b;var m=e("bal_field",function(){function e(e){var l=this;i(this,e);this.balFormControlDidLoad=t(this,"balFormControlDidLoad",7);this.fieldId="bal-field-".concat(p++);this.formControlElement=["bal-field-control"];this.inputElements=["bal-input","bal-number-input","bal-textarea","bal-select","bal-datepicker","bal-checkbox","bal-radio","bal-input-group","bal-date","bal-input-date","bal-input-stepper","bal-input-slider","bal-file-upload"];this.formElements=__spreadArray(__spreadArray([],this.formControlElement,true),["bal-field-label","bal-field-message"],false);this.isDirectChild=function(e){if(!e){return false}var i=e.parentElement;if(!i){return false}if(i.nodeName.toLowerCase()==="bal-field"&&i!==l.el){return false}if(i===l.el){return true}return l.isDirectChild(i)};this.findDirectChild=function(e){var i=l.el.querySelector(e);var t=l.isDirectChild(i);if(t){return i}return undefined};this.findDirectChildren=function(e){return e.map((function(e){return Array.from(l.el.querySelectorAll(e)).filter(l.isDirectChild)})).flat()};this.mutationObserverActive=true;this.required=undefined;this.horizontal=false;this.invalid=undefined;this.valid=false;this.disabled=undefined;this.readonly=undefined;this.loading=undefined}e.prototype.requiredHandler=function(){this.updateProps(__spreadArray(__spreadArray([],this.inputElements,true),["bal-field-label"],false),"required")};e.prototype.invalidHandler=function(){this.updateProps(__spreadArray(__spreadArray([],this.inputElements,true),this.formElements,true),"invalid")};e.prototype.validHandler=function(){this.updateProps(__spreadArray(__spreadArray([],this.inputElements,true),this.formElements,true),"valid")};e.prototype.disabledHandler=function(){this.updateProps(__spreadArray(__spreadArray([],this.inputElements,true),this.formElements,true),"disabled")};e.prototype.readonlyHandler=function(){this.updateProps(__spreadArray(__spreadArray([],this.inputElements,true),this.formElements,true),"readonly")};e.prototype.loadingHandler=function(){this.updateProps(__spreadArray(__spreadArray([],this.inputElements,true),this.formControlElement,true),"loading")};e.prototype.connectedCallback=function(){this.triggerAllHandlers()};e.prototype.componentWillLoad=function(){this.triggerAllHandlers()};e.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.syncAriaAttributes()];case 1:e.sent();return[2]}}))}))};e.prototype.syncAriaAttributes=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,t,l,n,a;return __generator(this,(function(r){switch(r.label){case 0:return[4,o(this.el)];case 1:r.sent();return[4,f()];case 2:r.sent();e=this.findDirectChild("bal-field-label bal-label");i=this.findDirectChild("bal-field-message");t=this.findDirectChildren(["bal-field-control bal-input","bal-field-control bal-select","bal-field-control bal-input-date","bal-field-control bal-checkbox","bal-field-control bal-radio","bal-field-control bal-checkbox-group","bal-field-control bal-radio-group","bal-field-control bal-number-input","bal-field-control bal-time-input","bal-field-control bal-datepicker","bal-field-control bal-input-slider","bal-field-control bal-input-stepper","bal-field-control bal-textarea","bal-field-control bal-file-upload"]);l=d;if(e){l.labelId="".concat(this.fieldId,"-lbl")}if(i){l.messageId="".concat(this.fieldId,"-msg")}n=0;r.label=3;case 3:if(!(n<t.length))return[3,10];a=t[n];if(!(n===0))return[3,7];l.controlId="".concat(this.fieldId,"-ctrl");return[4,e===null||e===void 0?void 0:e.setAriaForm(l)];case 4:r.sent();return[4,i===null||i===void 0?void 0:i.setAriaForm(l)];case 5:r.sent();return[4,a===null||a===void 0?void 0:a.setAriaForm(l)];case 6:r.sent();return[3,9];case 7:l.controlId="".concat(this.fieldId,"-ctrl-").concat(n);return[4,a===null||a===void 0?void 0:a.setAriaForm(l)];case 8:r.sent();r.label=9;case 9:n++;return[3,3];case 10:return[2]}}))}))};e.prototype.mutationListener=function(){this.triggerAllHandlers();this.syncAriaAttributes()};e.prototype.triggerAllHandlers=function(){this.requiredHandler();this.invalidHandler();this.validHandler();this.readonlyHandler();this.disabledHandler();this.loadingHandler()};e.prototype.updateProps=function(e,i){var t=this[i];if(t!==undefined){this.notifyComponents(e,(function(e){return e[i]=t}))}};e.prototype.notifyComponents=function(e,i){var t=this.el.querySelectorAll(e.join(", "));t.forEach((function(e){return i(e)}))};e.prototype.render=function(){return l(n,{id:this.fieldId,class:{"bal-field":true,field:true,"bal-field--invalid":this.invalid===true,"bal-field--horizontal":this.horizontal===true}},l("slot",null),l("span",{class:"bal-field-hidden"}))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{required:["requiredHandler"],invalid:["invalidHandler"],valid:["validHandler"],disabled:["disabledHandler"],readonly:["readonlyHandler"],loading:["loadingHandler"]}},enumerable:false,configurable:true});return e}());r([u({subtree:false,waitAfterFramePrint:true}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],m.prototype,"mutationListener",null);var p=0;m.style=h;var g=e("bal_field_control",function(){function e(e){i(this,e);this.iconRight="";this.iconLeft="";this.expandedOnMobile=undefined;this.loading=false}Object.defineProperty(e.prototype,"buildIconLeftTemplate",{get:function(){if(this.iconLeft){return l("bal-icon",{name:this.iconLeft,color:"info",class:"is-left",size:"small"})}return""},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"buildIconRightTemplate",{get:function(){if(this.iconRight){return l("bal-icon",{name:this.iconRight,color:"info",class:"is-right",size:"small"})}return""},enumerable:false,configurable:true});e.prototype.render=function(){return l(n,{class:{"bal-field-control":true,control:true,"has-icons-left":!!this.iconLeft,"has-icons-right":!!this.iconRight,"is-loading":this.loading,"bal-field-control--expanded-on-mobile":!!this.expandedOnMobile}},l("slot",null),this.buildIconLeftTemplate,this.buildIconRightTemplate)};return e}());var v=e("bal_field_hint",function(){function e(e){i(this,e);this.subject="";this.closeLabel="Close";this.small=false}e.prototype.render=function(){var e=c.block("field-hint");return l(n,{class:Object.assign({},e.class())},l("bal-hint",{class:Object.assign({},e.element("hint").class()),"data-testid":"bal-field-hint",closeLabel:this.closeLabel,small:this.small},this.subject?l("bal-hint-title",null,this.subject):"",l("bal-hint-text",null,l("slot",null))))};return e}());var y=e("bal_field_label",function(){function e(e){i(this,e);this.htmlFor=undefined;this.required=true;this.valid=undefined;this.invalid=undefined;this.disabled=undefined;this.readonly=undefined;this.size="small";this.weight="bold"}e.prototype.componentDidLoad=function(){if(this.element){this.parentBalFieldElement=this.element.closest("bal-field");if(this.parentBalFieldElement){this.parentBalFieldElement.classList.add("has-label")}}};e.prototype.disconnectedCallback=function(){if(this.parentBalFieldElement){this.parentBalFieldElement.classList.remove("has-label")}};e.prototype.render=function(){return l(n,{class:"bal-field-label"},l("bal-label",{multiline:true,size:this.size,htmlFor:this.htmlFor,required:this.required,valid:this.valid,invalid:this.invalid,disabled:this.disabled,readonly:this.readonly,weight:this.weight},l("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());var _=e("bal_field_message",function(){function e(e){i(this,e);this.ariaForm=d;this.color="";this.invalid=false;this.valid=false;this.disabled=false;this.readonly=false}e.prototype.setAriaForm=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.ariaForm=Object.assign({},e);return[2]}))}))};e.prototype.render=function(){var e;return l(n,{id:this.ariaForm.messageId,class:(e={"bal-field-message":true,help:true,"is-danger":this.invalid,"is-success":this.valid,"is-disabled":this.disabled||this.readonly},e["is-".concat(this.color)]=!!this.color,e)},l("slot",null))};return e}())}}}));
@@ -1 +0,0 @@
1
- import{d as a}from"./p-b77e3348.js";import{b as o,a as n,c as s,d as l,e as c,f as b,g as e,h as I,i as t,j as r,k as i,l as g,m as d,n as u,o as p,p as f,q as m,r as C,s as h,t as k,u as v,v as w,w as L,x as D,y as G,z as N,A as j}from"./p-2229e98e.js";const U={region:"CH",language:"de",allowedLanguages:["de","fr","it","en"],icons:{balIconClose:o,balIconInfoCircle:n,balIconPlus:s,balIconMinus:l,balIconEdit:c,balIconTrash:b,balIconNavGoLeft:e,balIconNavGoRight:I,balIconNavGoDown:t,balIconNavGoUp:r,balIconCheck:i,balIconDate:g,balIconDocument:d,balIconUpload:u,balIconMenuBars:p,balIconFacebook:f,balIconInstagram:m,balIconLinkedin:C,balIconTwitter:h,balIconX:k,balIconXing:v,balIconYoutube:w,balIconWeb:L,balIconCaretDown:D,balIconCaretLeft:G,balIconCaretRight:N,balIconCaretUp:j},fallbackLanguage:"de",logger:a,animated:!0},x=`${U.language}-${U.region}`;export{x as a,U as d}
@@ -1 +0,0 @@
1
- import{i as o}from"./p-9e4fcb76.js";function f(){o()}export{f as g}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,e,i){function r(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{o(i.next(t))}catch(t){s(t)}}function f(t){try{o(i["throw"](t))}catch(t){s(t)}}function o(t){t.done?e(t.value):r(t.value).then(u,f)}o((i=i.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},i,r,s,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(t){return function(n){return o([t,n])}}function o(f){if(i)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(e=0)),e)try{if(i=1,r&&(s=f[0]&2?r["return"]:f[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,f[1])).done)return s;if(r=0,s)f=[f[0]&2,s.value];switch(f[0]){case 0:case 1:s=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;r=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){e.label=f[1];break}if(f[0]===6&&e.label<s[1]){e.label=s[1];s=f;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(f);break}if(s[2])e.ops.pop();e.trys.pop();continue}f=n.call(t,e)}catch(t){f=[6,t];r=0}finally{i=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};System.register(["./p-456fc561.system.js","./p-6dbef894.system.js","./p-8954495d.system.js","./p-23bdd8dc.system.js","./p-a1f6e944.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js"],(function(t,n){"use strict";var e,i,r,s,u,f,o,c,a;return{setters:[function(t){e=t.r;i=t.h;r=t.g;s=t.H},function(t){u=t._;f=t.a},function(t){o=t.l;c=t.k},function(t){a=t.L},function(){},function(){},function(){}],execute:function(){var h="bal-spinner,.bal-spinner{text-align:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center}bal-spinner svg,.bal-spinner svg{-webkit-transform:unset !important;transform:unset !important}";var l=h;var d=t("bal_spinner",function(){function t(t){var i=this;e(this,t);this.animate=function(){return __awaiter(i,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.load()];case 1:n.sent();if(this.currentRaf!==undefined){cancelAnimationFrame(this.currentRaf)}if(this.shouldAnimate()){this.destroy();this.currentRaf=o((function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){if(this.animationFunction){this.animationFunction(this.el,this.getColor())}return[2]}))}))}))}return[2]}}))}))};this.destroy=function(){if(i.animationItem&&i.animationItem.destroy){i.animationItem.destroy()}i.el.innerHTML=""};this.shouldAnimate=function(){if(typeof window==="undefined"){return false}if(i.animationFunction===undefined){return false}return!i.deactivated};this.load=function(){return __awaiter(i,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){return[2,new Promise((function(e,i){if(t.animationFunction){return e()}else{c((function(){return __awaiter(t,void 0,void 0,(function(){var t=this;return __generator(this,(function(r){n.import("./p-d0537382.system.js").then((function(n){t.animationFunction=n.animate;e()})).catch(i);return[2]}))}))}))}}))]}))}))};this.inverted=false;this.deactivated=false;this.color="blue";this.small=false}t.prototype.createLogger=function(t){this.log=t};t.prototype.deactivatedWatcher=function(t,n){if(t!==n){if(this.deactivated){this.destroy()}else{this.animate()}}};t.prototype.componentDidLoad=function(){this.animate()};t.prototype.disconnectedCallback=function(){if(this.el&&!this.el.isConnected){this.destroy()}};t.prototype.getColor=function(){return this.inverted||this.color==="white"?"#ffffff":"#151f6d"};t.prototype.render=function(){return i(s,{role:"progressbar","aria-hidden":"true",style:{width:this.small?"32px":"64px"}})};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{deactivated:["deactivatedWatcher"]}},enumerable:false,configurable:true});return t}());u([a("bal-spinner"),f("design:type",Function),f("design:paramtypes",[Function]),f("design:returntype",void 0)],d.prototype,"createLogger",null);d.style=l}}}));
@@ -1 +0,0 @@
1
- import{r as a,c as e,h as o,H as c,g as b}from"./p-d7c752c6.js";import{_ as l,a as r}from"./p-43c9f5e9.js";import{s as i,c as d,d as h}from"./p-ad9a7657.js";import{i as t,p as k}from"./p-88f18fbc.js";import{i as x}from"./p-dd5e13d1.js";import{B as s}from"./p-ae86d0a0.js";import{e as n,o as _}from"./p-1b76afbf.js";import{L as v}from"./p-b77e3348.js";import{F as u}from"./p-ca119357.js";import{d as g}from"./p-f385e205.js";import{L as f}from"./p-49fe011f.js";import{L as w}from"./p-3231863d.js";import"./p-a65354df.js";import"./p-2229e98e.js";import"./p-aafb6696.js";import"./p-9a3d9e17.js";import"./p-4573c419.js";import"./p-acf222fd.js";const p=class{constructor(o){a(this,o),this.balFocus=e(this,"balFocus",7),this.balBlur=e(this,"balBlur",7),this.balChange=e(this,"balChange",7),this.inputId="bal-cb-"+m++,this.inheritedAttributes={},this.keyboardMode=!0,this.initialValue=!1,this.onKeypress=a=>{if(n(a)){const e=a.target;if(e.href)return;"INPUT"!==e.nodeName||this.disabled||this.readonly?i(a):(this.toggleChecked(),a.preventDefault())}},this.onClick=a=>{var e;const o=a.target;o.href||("INPUT"===o.nodeName||this.disabled||this.readonly?i(a):(this.toggleChecked(),null===(e=this.nativeInput)||void 0===e||e.focus(),a.preventDefault()))},this.onFocus=a=>{if(this.disabled||this.readonly)return this.focused=!1,i(a);this.balFocus.emit(a),this.keyboardMode&&(this.focused=!0)},this.onBlur=a=>{if(this.disabled||this.readonly)return i(a);this.balBlur.emit(a),this.focused=!1},this.onPointerDown=()=>this.keyboardMode=!1,this.onKeydown=a=>this.keyboardMode=u.includes(a.key),this.hasLabel=!0,this.focused=!1,this.buttonTabindex=void 0,this.ariaForm=g,this.name=this.inputId,this.label="",this.invisible=!1,this.labelHidden=!1,this.flat=!1,this.inline=!1,this.interface="checkbox",this.value="on",this.checked=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.autoInvalidOff=!1,this.nonSubmit=!1,this.invalid=!1,this.hovered=!1,this.pressed=!1}createLogger(a){this.log=a}connectedCallback(){const a=this.group;(this.checkboxButton||a)&&this.updateState(),a&&a.addEventListener("balChange",(()=>this.updateState())),this.initialValue=this.checked,this.el.addEventListener("keydown",this.onKeydown),this.el.addEventListener("touchstart",this.onPointerDown),this.el.addEventListener("mousedown",this.onPointerDown)}componentWillLoad(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])}disconnectedCallback(){this.group&&this.group.removeEventListener("balChange",(()=>this.updateState())),this.el.removeEventListener("keydown",this.onKeydown),this.el.removeEventListener("touchstart",this.onPointerDown),this.el.removeEventListener("mousedown",this.onPointerDown)}listenOnClick(a){(this.disabled||this.readonly)&&a.target&&(a.target===this.el||t(this.el,a.target))&&i(a)}resetHandler(a){const e=a.target;(null==e?void 0:e.contains(this.el))&&(this.checked=this.initialValue)}async setFocus(){d(this)}async setBlur(){h(this)}getInputElement(){return Promise.resolve(this.nativeInput)}async getOption(){return this.option}async setButtonTabindex(a){this.buttonTabindex=this.checkboxButton?-1:a}async updateState(){if(this.group&&this.group.control&&Array.isArray(this.group.value)){const a=this.group.value.includes(this.value);a!==this.checked&&(this.checked=a)}this.checkboxButton&&(this.buttonTabindex=-1,this.checkboxButton.setChecked&&this.checkboxButton.setChecked(this.checked))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}get option(){return{name:this.name,value:this.value,checked:this.checked,label:this.label,labelHidden:this.labelHidden,flat:this.flat,interface:this.interface,disabled:this.disabled,readonly:this.readonly,required:this.required,nonSubmit:this.nonSubmit,invisible:this.invisible,invalid:this.invalid}}get group(){return this.el.closest("bal-checkbox-group")}get checkboxButton(){return this.el.closest("bal-checkbox-button")}toggleChecked(){this.checked=!this.checked,this.balChange.emit(this.checked)}render(){const a=s.block("radio-checkbox"),e=a.element("input"),b=a.element("label"),l=b.element("text"),r=this.focused&&-1!==this.buttonTabindex,i=this.inheritedAttributes;void 0!==this.buttonTabindex&&(i.tabIndex=this.buttonTabindex);const d=this.ariaForm.controlId||this.inputId;let h=this.ariaForm.labelId||null;const t=this.labelHidden?"span":"label",k={};return this.labelHidden||(h=`${h||""} ${d}-lbl`.trim(),k.id=`${d}-lbl`,k.htmlFor=d),o(c,{"aria-checked":`${this.checked}`,"aria-disabled":this.disabled?"true":null,"aria-hidden":this.disabled?"true":null,"aria-focused":r?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":r},a.class()),a.modifier("checkbox").class()),a.modifier("select-button").class("select-button"===this.interface)),a.modifier("switch").class("switch"===this.interface)),a.modifier("focused").class(this.focused)),a.modifier("invalid").class(this.invalid)),a.modifier("checked").class(this.checked)),a.modifier("invisible").class(this.invisible)),a.modifier("flat").class(this.flat)),a.modifier("disabled").class(this.disabled||this.readonly)),a.modifier("hovered").class(this.hovered)),a.modifier("pressed").class(this.pressed)),a.modifier("inline").class(this.inline)),onKeypress:this.onKeypress,onClick:this.onClick},o("input",Object.assign({class:Object.assign(Object.assign({},e.class()),e.modifier("select-button").class("select-button"===this.interface)),"data-testid":"bal-checkbox-input",type:"checkbox",id:d,"aria-labelledby":h,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":this.disabled?"true":null,"aria-checked":`${this.checked}`,name:this.name,value:this.value,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:a=>this.nativeInput=a},i)),this.invisible?"":o(t,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},b.class()),b.modifier("checkbox").class()),b.modifier("checked").class(this.checked)),b.modifier("hidden").class(this.labelHidden)),b.modifier("flat").class(this.flat)),b.modifier("switch").class("switch"===this.interface))},k,{"data-testid":"bal-checkbox-label"}),o("span",{class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat)),"data-testid":"bal-checkbox-text"},this.label,o("slot",null))))}get el(){return b(this)}};l([v("bal-checkbox"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],p.prototype,"createLogger",null);let m=0;p.style='@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before,.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}bal-radio .bal-radio-checkbox__label::before,bal-radio .bal-radio-checkbox__label::after{margin-top:0px !important}.bal-radio-checkbox-group{display:inline-block;position:relative;width:100%}.bal-radio-checkbox-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-checkbox-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{width:100%}}.bal-radio-checkbox-group__inner--select-button.bal-radio-checkbox-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-checkbox-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}.bal-radio-checkbox{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:1.5rem;min-height:3rem}.bal-radio-checkbox--flat:not(.bal-radio-checkbox--select-button){min-height:1.5rem}.bal-radio-checkbox__input{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox--invisible{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox:not(.bal-radio-checkbox--disabled),.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label>span{cursor:pointer}.bal-radio-checkbox__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;line-height:1.5rem;contain:layout style;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:left;min-height:1.5rem;font-family:var(--bal-font-family-text)}.bal-radio-checkbox__label__text{padding-left:2rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox__label__text--hidden{padding-left:0;display:none}.bal-radio-checkbox__label__text--flat{padding-top:0;padding-bottom:0}.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::before,.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::after{top:0px !important}.bal-radio-checkbox__label--hidden::before,.bal-radio-checkbox__label--hidden::after{top:0px !important}.bal-radio-checkbox__label::before,.bal-radio-checkbox__label::after{display:inline-block;position:absolute;left:0;top:.25rem;height:1.5rem;width:1.5rem;background-color:rgba(0,0,0,0);background-position:center;background-repeat:no-repeat;background-size:1.5rem 1.5rem}.bal-radio-checkbox__label::before{content:"";border-style:var(--bal-form-field-control-border-style);border-width:2px}.bal-radio-checkbox__label::after{content:none}.bal-radio-checkbox__label--checked::after{content:""}.bal-radio-checkbox__label--radio::before,.bal-radio-checkbox__label--radio::after{border-radius:50%}.bal-radio-checkbox__label--radio::after{left:0;-webkit-transform:scale(0.25);transform:scale(0.25)}.bal-radio-checkbox__label--checkbox::before{border-radius:var(--bal-form-field-control-radius)}.bal-radio-checkbox__label--checkbox::after{border-top:0;border-right-style:var(--bal-form-field-control-border-style);border-right-width:2px;border-bottom-style:var(--bal-form-field-control-border-style);border-bottom-width:2px;border-left:0;border-radius:1px;width:calc(.5rem - 1px);height:calc(.875rem - 1px);left:calc(.5rem + 1px);margin-top:.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-primary);background:var(--bal-color-transparent)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-light-blue-5);background:var(--bal-color-grey-2)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-blue-6);background:var(--bal-color-grey-2)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-danger);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-5);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-6);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-grey-dark);background:var(--bal-color-grey-2)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-text-grey)}.bal-radio-checkbox--inline{display:inline}.bal-radio-checkbox--select-button{padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-checkbox-select-button-border-color)}.bal-radio-checkbox--select-button:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-hover);background:var(--bal-radio-checkbox-select-button-background-hover)}.bal-radio-checkbox--select-button:active{border-color:var(--bal-radio-checkbox-select-button-border-color-active);background:var(--bal-radio-checkbox-select-button-background-active)}.bal-radio-checkbox--select-button label::before{top:unset}.bal-radio-checkbox--select-button label::after{top:unset;margin-top:-3px}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::before{top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::after{margin-top:-3px;top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat .bal-radio-checkbox__label__text--flat{padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked{background:var(--bal-radio-checkbox-select-button-background-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-radio-checkbox-select-button-link-text-color-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover{background:var(--bal-radio-checkbox-select-button-background-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active{background:var(--bal-radio-checkbox-select-button-background-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid);background:var(--bal-radio-checkbox-select-button-background-invalid)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-danger-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-active);background:var(--bal-radio-checkbox-select-button-background-invalid-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked);background:var(--bal-radio-checkbox-select-button-background-invalid-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-active);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-disabled-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-checked-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--switch{min-width:2.5rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label{padding-left:1rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{border-radius:1.5rem;position:absolute;display:block;top:0;left:0;width:2.5rem;height:1.5rem;border:1.6px solid rgba(0,0,0,0);content:"";-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;margin-top:.25rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{border:none;margin:0;border-radius:50%;display:block;position:absolute;top:.25rem !important;left:.25rem;width:1rem;height:1rem;margin-top:.25rem;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;content:""}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-before)}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-after)}.bal-radio-checkbox--switch:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-hover-after)}.bal-radio-checkbox--switch:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{left:1.25rem;background:var(--bal-radio-checkbox-switch-label-background-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-hover-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after)}';const y=class{constructor(o){a(this,o),this.balChange=e(this,"balChange",7),this.balFocus=e(this,"balFocus",7),this.balBlur=e(this,"balBlur",7),this.inputId="bal-cg-"+j++,this.inheritedAttributes={},this.hasFocus=!1,this.mutationObserverActive=!0,this.onClick=a=>{if(!this.control)return;if(a.target.href)return;a.preventDefault();const e=a.target&&a.target.closest("bal-checkbox");if(e&&(e.disabled||e.readonly))return a.stopPropagation();const o=[];this.getCheckboxes().forEach((a=>{a.checked&&o.push(a.value)})),_(this.value,o)||(this.value=[...o],this.balChange.emit(this.value))},this.onOptionChange=async()=>{this.sync()},this.ariaForm=g,this.options=void 0,this.interface=void 0,this.control=!1,this.name=this.inputId,this.vertical=!1,this.verticalOnMobile=!1,this.expanded=!1,this.invalid=void 0,this.disabled=void 0,this.readonly=void 0,this.value=[],this.columns=1,this.columnsTablet=1,this.columnsMobile=1,this.autoInvalidOff=!1}createLogger(a){this.log=a}async optionChanged(){this.control&&(this.onOptionChange(),this.mutationObserverActive=void 0===this.options)}invalidChanged(a){this.control&&void 0!==a&&(this.getCheckboxes().forEach((e=>{e.invalid=a})),this.getCheckboxButtons().forEach((e=>{e.invalid=a})))}disabledChanged(a){this.control&&void 0!==a&&(this.getCheckboxes().forEach((e=>{e.disabled=a})),this.getCheckboxButtons().forEach((e=>{e.disabled=a})))}readonlyChanged(a){this.control&&void 0!==a&&(this.getCheckboxes().forEach((e=>{e.readonly=a})),this.getCheckboxButtons().forEach((e=>{e.readonly=a})))}valueChanged(a,e){this.control&&_(this.value,e)||this.onOptionChange()}columnsChanged(a){this.getCheckboxButtons().forEach((e=>e.colSize=a))}columnsTabletChanged(a){this.getCheckboxButtons().forEach((e=>e.colSizeTablet=a))}columnsMobileChanged(a){this.getCheckboxButtons().forEach((e=>e.colSizeMobile=a))}connectedCallback(){this.control&&(this.mutationObserverActive=void 0===this.options)}componentWillLoad(){this.control&&(this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"]),this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly)),this.columnsChanged(this.columns),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange()}focusInListener(a){this.balFocus.emit(a)}focusOutListener(a){this.balBlur.emit(a)}mutationListener(){this.control&&(this.disabledChanged(this.disabled),this.readonlyChanged(this.readonly)),this.columnsChanged(this.columns),this.columnsTabletChanged(this.columnsTablet),this.columnsMobileChanged(this.columnsMobile),this.onOptionChange()}listenOnClick(a){this.control&&t(this.el,a.target)&&i(a)}resetHandler(a){const e=a.target;(null==e?void 0:e.contains(this.el))&&(this.control&&(this.value=[]),this.onOptionChange())}checkboxFocusListener(a){const{target:e}=a;e&&t(this.el,e)&&k(e,"bal-checkbox")&&i(a)}checkboxBlurListener(a){const{target:e}=a;e&&t(this.el,e)&&k(e,"bal-checkbox")&&i(a)}async setValue(a){this.control&&(this.value=a)}async getOptionByValue(a){const e=this.options;if(e)return e.find((e=>e.value===a))}async setAriaForm(a){this.ariaForm=Object.assign({},a)}sync(){if(this.control){const a=a=>{for(let e=0;e<this.value.length;e++){const o=this.value[e];if(void 0!==o&&o.toString()===a.value.toString())return!0}return!1};this.getCheckboxes().forEach((e=>{e.checked=a(e)}))}this.getCheckboxes().forEach((a=>{this.interface&&(a.interface=this.interface)}))}getCheckboxes(){return Array.from(this.el.querySelectorAll("bal-checkbox"))}getCheckboxButtons(){return Array.from(this.el.querySelectorAll("bal-checkbox-button"))}render(){const a=s.block("radio-checkbox-group"),e=a.element("inner"),b=(this.options||[]).map((a=>"function"==typeof a.html?Object.assign(Object.assign({},a),{html:a.html()}):a));return o(c,Object.assign({class:Object.assign({},a.class()),role:"group","aria-disabled":this.disabled?"true":null,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,onClick:this.onClick},this.inheritedAttributes),o("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e.class()),e.modifier("vertical-mobile").class(this.verticalOnMobile)),e.modifier("vertical").class(this.vertical)),e.modifier("expanded").class(this.expanded)),e.modifier("select-button").class("select-button"===this.interface))},o("slot",null),b.map((a=>o("bal-checkbox",{key:a.value,name:a.name,value:a.value,labelHidden:a.labelHidden,flat:a.flat,interface:a.interface,disabled:a.disabled,readonly:a.readonly,required:a.required,nonSubmit:!!a.nonSubmit,invalid:a.invalid,innerHTML:a.html})))))}get el(){return b(this)}static get watchers(){return{options:["optionChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],value:["valueChanged"],columns:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}}};l([v("bal-checkbox-group"),r("design:type",Function),r("design:paramtypes",[Function]),r("design:returntype",void 0)],y.prototype,"createLogger",null),l([f(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],y.prototype,"focusInListener",null),l([f(),r("design:type",Function),r("design:paramtypes",[FocusEvent]),r("design:returntype",void 0)],y.prototype,"focusOutListener",null),l([w({tags:["bal-checkbox-group","bal-checkbox"],attributes:!1,characterData:!1}),r("design:type",Function),r("design:paramtypes",[]),r("design:returntype",void 0)],y.prototype,"mutationListener",null);let j=0;export{p as bal_checkbox,y as bal_checkbox_group}
@@ -1 +0,0 @@
1
- import{g as o}from"./p-87067c24.js";const s=o;export{s as g}