@baloise/ds-core 19.3.0-nightly.20250704 → 19.3.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 (1113) hide show
  1. package/components/_commonjsHelpers.js +1 -5
  2. package/components/all.d.ts +0 -2
  3. package/components/all.js +0 -3
  4. package/components/animation.decorator.js +1 -1
  5. package/components/array.js +3 -3
  6. package/components/attributes.js +3 -0
  7. package/components/bal-accordion-details.js +5 -16
  8. package/components/bal-accordion-summary.js +6 -17
  9. package/components/bal-accordion-trigger.js +17 -49
  10. package/components/bal-accordion.js +15 -43
  11. package/components/bal-app.js +93 -1
  12. package/components/bal-badge2.js +3 -10
  13. package/components/bal-button-group2.js +0 -10
  14. package/components/bal-button2.js +32 -106
  15. package/components/bal-card-actions.js +0 -3
  16. package/components/bal-card-button.js +1 -19
  17. package/components/bal-card-subtitle.js +8 -13
  18. package/components/bal-card-title.js +0 -3
  19. package/components/bal-card2.js +4 -30
  20. package/components/bal-carousel-item.js +18 -36
  21. package/components/bal-carousel.js +10 -59
  22. package/components/bal-check2.js +2 -23
  23. package/components/bal-checkbox-group.js +21 -61
  24. package/components/bal-checkbox2.js +32 -93
  25. package/components/bal-close2.js +4 -9
  26. package/components/bal-content2.js +2 -24
  27. package/components/bal-data-item.js +0 -6
  28. package/components/bal-data-label.js +0 -3
  29. package/components/bal-data-value.js +5 -14
  30. package/components/bal-data.js +3 -8
  31. package/components/bal-date-calendar-cell2.js +8 -3
  32. package/components/bal-date-calendar2.js +32 -28
  33. package/components/bal-date.js +34 -72
  34. package/components/bal-divider.js +2 -18
  35. package/components/bal-dropdown.js +43 -107
  36. package/components/bal-field-control.js +0 -14
  37. package/components/bal-field-hint.js +0 -9
  38. package/components/bal-field-label.js +0 -32
  39. package/components/bal-field-message.js +0 -15
  40. package/components/bal-field.js +11 -32
  41. package/components/bal-file-upload.js +52 -103
  42. package/components/bal-footer.js +7 -22
  43. package/components/bal-form-grid.js +2 -1
  44. package/components/bal-form.js +3 -11
  45. package/components/bal-heading2.js +6 -25
  46. package/components/bal-hint2.js +12 -13
  47. package/components/bal-icon2.js +906 -965
  48. package/components/bal-input-date2.js +11 -45
  49. package/components/bal-input-group2.js +2 -10
  50. package/components/bal-input-slider.js +19 -57
  51. package/components/bal-input-stepper.js +1081 -1105
  52. package/components/bal-input.js +37 -87
  53. package/components/bal-label2.js +4 -52
  54. package/components/bal-list-item-accordion-body2.js +7 -13
  55. package/components/bal-list-item-accordion-head2.js +7 -17
  56. package/components/bal-list-item-content2.js +1 -0
  57. package/components/bal-list-item-icon2.js +0 -3
  58. package/components/bal-list-item-title2.js +1 -3
  59. package/components/bal-list-item2.js +11 -34
  60. package/components/bal-list2.js +2 -16
  61. package/components/bal-logo.animation.js +2 -2
  62. package/components/bal-logo2.js +3 -15
  63. package/components/bal-modal.js +10 -38
  64. package/components/bal-nav-link-grid-col2.js +2 -8
  65. package/components/bal-nav-link-grid2.js +2 -1
  66. package/components/bal-nav-link-group.js +2 -8
  67. package/components/bal-nav-link2.js +4 -18
  68. package/components/bal-nav-menu-bar2.js +2 -11
  69. package/components/bal-nav-menu-flyout2.js +3 -10
  70. package/components/bal-nav-meta-bar2.js +2 -20
  71. package/components/bal-nav.js +49 -33
  72. package/components/bal-navbar-brand.js +6 -29
  73. package/components/bal-navbar-menu-end.js +0 -6
  74. package/components/bal-navbar-menu-start.js +0 -6
  75. package/components/bal-navbar-menu.js +0 -6
  76. package/components/bal-navbar.js +2 -12
  77. package/components/bal-notices.js +2 -10
  78. package/components/bal-notification.js +2 -11
  79. package/components/bal-number-input.js +150 -66
  80. package/components/bal-option-list.js +7 -27
  81. package/components/bal-option.js +13 -40
  82. package/components/bal-pagination.js +64 -84
  83. package/components/bal-popover-content2.js +1 -28
  84. package/components/bal-popover2.js +13 -50
  85. package/components/bal-popup2.js +26 -58
  86. package/components/bal-progress-bar.js +4 -17
  87. package/components/bal-radio-group.js +21 -57
  88. package/components/bal-radio-icon2.js +2 -23
  89. package/components/bal-radio2.js +29 -78
  90. package/components/bal-segment-item.js +16 -35
  91. package/components/bal-segment.js +21 -42
  92. package/components/bal-select-option2.js +2 -7
  93. package/components/bal-select2.js +50 -107
  94. package/components/bal-shape2.js +5 -13
  95. package/components/bal-sheet.js +2 -4
  96. package/components/bal-snackbar.js +9 -35
  97. package/components/bal-spinner.animation.js +1917 -1927
  98. package/components/bal-spinner2.js +9 -27
  99. package/components/bal-stack2.js +4 -37
  100. package/components/bal-stage-back-link.js +2 -6
  101. package/components/bal-stage-image.js +3 -1
  102. package/components/bal-stage.js +8 -17
  103. package/components/bal-step-item.js +1 -31
  104. package/components/bal-steps.js +12 -30
  105. package/components/bal-switch.js +2 -20
  106. package/components/bal-tab-item.js +6 -48
  107. package/components/bal-table.js +2 -4
  108. package/components/bal-tabs2.js +45 -103
  109. package/components/bal-tag2.js +2 -26
  110. package/components/bal-text.js +1 -136
  111. package/components/bal-text2.js +94 -0
  112. package/components/bal-textarea.js +24 -52
  113. package/components/bal-time-input.js +19 -42
  114. package/components/bal-toast.js +3 -18
  115. package/components/bal-tooltip.js +4 -21
  116. package/components/breakpoints.subject.js +79 -5
  117. package/components/config.default.js +1 -1
  118. package/components/config.utils.js +1 -1
  119. package/components/date.js +3821 -3208
  120. package/components/element-states.decorator.js +1 -1
  121. package/components/floating-ui.js +2 -2
  122. package/components/focus-visible.js +2 -2
  123. package/components/focus.decorator.js +1 -1
  124. package/components/form-input.js +6 -2
  125. package/components/helpers.js +2 -2
  126. package/components/index.esm.js +118 -122
  127. package/components/index.js +322 -16
  128. package/components/index2.js +588 -44
  129. package/components/index3.js +27 -561
  130. package/components/index4.js +1849 -591
  131. package/components/index5.js +506 -1814
  132. package/components/keyboard.helpers.js +1 -1
  133. package/components/lottie_light_html.js +11684 -11694
  134. package/components/mutation.decorator.js +1 -1
  135. package/components/overlays.js +2 -2
  136. package/components/purify.js +1353 -0
  137. package/components/resize.decorator.js +1 -1
  138. package/components/swipe.subject.js +1 -1
  139. package/components/swiper.util.js +2 -2
  140. package/components/tokens.esm.js +2 -3
  141. package/components/tslib.es6.js +0 -2
  142. package/components/utils.js +6 -6
  143. package/components/visibility.decorator.js +1 -1
  144. package/components/window-resize.decorator.js +24 -1
  145. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  146. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  147. package/dist/baloise-design-system/index.esm.js +1 -1
  148. package/dist/baloise-design-system/p-00b37ea2.js +1 -0
  149. package/dist/baloise-design-system/p-00d6cf9a.system.js +1 -0
  150. package/dist/baloise-design-system/{p-bbf0ab0d94.system.entry.js → p-00e75d0c35.system.entry.js} +1 -1
  151. package/dist/baloise-design-system/p-0193364e31.entry.js +1 -0
  152. package/dist/baloise-design-system/p-01cd830b.system.js +1 -0
  153. package/dist/baloise-design-system/p-02509f2aa1.system.entry.js +1 -0
  154. package/dist/baloise-design-system/p-04515987c7.system.entry.js +1 -0
  155. package/dist/baloise-design-system/p-056b22a7.system.js +1 -0
  156. package/dist/baloise-design-system/{p-71f9f1ca2e.entry.js → p-05a5de36af.entry.js} +1 -1
  157. package/dist/baloise-design-system/{p-C4sZQbkT.js → p-063808d7.js} +1 -1
  158. package/dist/baloise-design-system/p-0783dc98dd.system.entry.js +1 -0
  159. package/dist/baloise-design-system/p-0833e523b1.entry.js +1 -0
  160. package/dist/baloise-design-system/p-0aa6f3518b.system.entry.js +1 -0
  161. package/dist/baloise-design-system/p-0ae449ae.system.js +1 -0
  162. package/dist/baloise-design-system/p-0b2b3dbe1b.entry.js +1 -0
  163. package/dist/baloise-design-system/{p-e0161a8c00.system.entry.js → p-0b39e3fc7f.system.entry.js} +1 -1
  164. package/dist/baloise-design-system/p-0c336d76f5.entry.js +1 -0
  165. package/dist/baloise-design-system/p-0c34ba75.system.js +1 -0
  166. package/dist/baloise-design-system/{p-d093a0ccff.entry.js → p-0d07e6caf8.entry.js} +1 -1
  167. package/dist/baloise-design-system/p-11230944ba.system.entry.js +1 -0
  168. package/dist/baloise-design-system/p-1272e3f9c5.system.entry.js +1 -0
  169. package/dist/baloise-design-system/p-12b975fee6.system.entry.js +1 -0
  170. package/dist/baloise-design-system/p-13d44256.system.js +1 -0
  171. package/dist/baloise-design-system/p-14df54b760.entry.js +1 -0
  172. package/dist/baloise-design-system/p-15f86fd2.js +1 -0
  173. package/dist/baloise-design-system/{p-5b4c5cfff6.entry.js → p-160c193287.entry.js} +1 -1
  174. package/dist/baloise-design-system/p-16395ece.system.js +1 -0
  175. package/dist/baloise-design-system/p-166d571e.js +1 -0
  176. package/dist/baloise-design-system/p-16f5c678f5.entry.js +1 -0
  177. package/dist/baloise-design-system/p-1846561401.system.entry.js +1 -0
  178. package/dist/baloise-design-system/p-18675e20.js +1 -0
  179. package/dist/baloise-design-system/p-18c6b14c.system.js +1 -0
  180. package/dist/baloise-design-system/{p-fe8e5a5649.entry.js → p-18cab6ff5b.entry.js} +1 -1
  181. package/dist/baloise-design-system/{p-f32f4ce4d1.system.entry.js → p-1a99fea403.system.entry.js} +1 -1
  182. package/dist/baloise-design-system/{p-BPUKeAhO.system.js → p-1c41de53.system.js} +1 -1
  183. package/dist/baloise-design-system/p-1cfbf3093b.entry.js +1 -0
  184. package/dist/baloise-design-system/{p-2552306487.system.entry.js → p-1e517d518d.system.entry.js} +1 -1
  185. package/dist/baloise-design-system/p-1f7d1eb48e.entry.js +1 -0
  186. package/dist/baloise-design-system/p-1fa4cbaca6.system.entry.js +1 -0
  187. package/dist/baloise-design-system/p-210cd438.system.js +9 -0
  188. package/dist/baloise-design-system/p-211fd73b2d.entry.js +1 -0
  189. package/dist/baloise-design-system/p-21b2d5d33b.system.entry.js +1 -0
  190. package/dist/baloise-design-system/p-23bdd8dc.system.js +1 -0
  191. package/dist/baloise-design-system/{p-059c584e1d.entry.js → p-240e3621c6.entry.js} +1 -1
  192. package/dist/baloise-design-system/p-242625df10.system.entry.js +1 -0
  193. package/dist/baloise-design-system/p-24486c2cd6.entry.js +1 -0
  194. package/dist/baloise-design-system/{p-B-nlYC3C.system.js → p-2509cd53.system.js} +1 -1
  195. package/dist/baloise-design-system/p-2725c79107.system.entry.js +1 -0
  196. package/dist/baloise-design-system/p-27b9d8e173.entry.js +1 -0
  197. package/dist/baloise-design-system/p-2880433e.system.js +1 -0
  198. package/dist/baloise-design-system/p-28d0b9c851.system.entry.js +1 -0
  199. package/dist/baloise-design-system/{p-CkTFeT_v.system.js → p-2908a4b8.system.js} +1 -1
  200. package/dist/baloise-design-system/p-2ccbe55a.js +2 -0
  201. package/dist/baloise-design-system/p-2d3770e7.system.js +1 -0
  202. package/dist/baloise-design-system/p-3131f323.system.js +1 -0
  203. package/dist/baloise-design-system/p-3153f3e507.system.entry.js +1 -0
  204. package/dist/baloise-design-system/p-3156541849.system.entry.js +1 -0
  205. package/dist/baloise-design-system/p-350a85a9.js +1 -0
  206. package/dist/baloise-design-system/p-36c605b7ed.entry.js +1 -0
  207. package/dist/baloise-design-system/p-371f93bd95.system.entry.js +1 -0
  208. package/dist/baloise-design-system/p-39cbb5b4.system.js +1 -0
  209. package/dist/baloise-design-system/p-3b6395d90b.system.entry.js +1 -0
  210. package/dist/baloise-design-system/p-3d3aa421.js +1 -0
  211. package/dist/baloise-design-system/p-3f01fc8b.js +1 -0
  212. package/dist/baloise-design-system/p-3f6fcc1a25.system.entry.js +1 -0
  213. package/dist/baloise-design-system/p-3fcfe14a45.system.entry.js +1 -0
  214. package/dist/baloise-design-system/p-4191bdf0.js +1 -0
  215. package/dist/baloise-design-system/p-41c8319b5f.entry.js +1 -0
  216. package/dist/baloise-design-system/p-422f347380.entry.js +1 -0
  217. package/dist/baloise-design-system/p-42d1374d6f.system.entry.js +1 -0
  218. package/dist/baloise-design-system/p-4573c419.js +1 -0
  219. package/dist/baloise-design-system/p-45d69189d4.system.entry.js +1 -0
  220. package/dist/baloise-design-system/p-472a8efc29.entry.js +1 -0
  221. package/dist/baloise-design-system/p-4743791e3f.entry.js +1 -0
  222. package/dist/baloise-design-system/p-4936cce309.entry.js +1 -0
  223. package/dist/baloise-design-system/{p-B3C_UjgS.js → p-4a0012fa.js} +1 -1
  224. package/dist/baloise-design-system/p-4a1237e8.js +1 -0
  225. package/dist/baloise-design-system/p-4ad57bd1ee.entry.js +1 -0
  226. package/dist/baloise-design-system/p-4af5f1f9.js +1 -0
  227. package/dist/baloise-design-system/p-4ca4dff6.js +1 -0
  228. package/dist/baloise-design-system/p-4d4dd885fc.entry.js +1 -0
  229. package/dist/baloise-design-system/p-4d5477db.js +1 -0
  230. package/dist/baloise-design-system/p-4e8633942b.entry.js +1 -0
  231. package/dist/baloise-design-system/p-4f1232cf16.system.entry.js +1 -0
  232. package/dist/baloise-design-system/{p-DKxvaA1I.js → p-50f3b012.js} +1 -1
  233. package/dist/baloise-design-system/{p-Bd8SDbWy.js → p-537189e0.js} +1 -1
  234. package/dist/baloise-design-system/{p-BHFw3KrT.js → p-53e09ecb.js} +1 -1
  235. package/dist/baloise-design-system/{p-D619YWaH.system.js → p-5420740f.system.js} +1 -1
  236. package/dist/baloise-design-system/p-548ca0b3.js +1 -0
  237. package/dist/baloise-design-system/p-5569e7774f.entry.js +1 -0
  238. package/dist/baloise-design-system/{p-DWG-IuAM.js → p-55ebd30d.js} +1 -1
  239. package/dist/baloise-design-system/p-56f686f295.system.entry.js +1 -0
  240. package/dist/baloise-design-system/p-576fea8fe0.system.entry.js +1 -0
  241. package/dist/baloise-design-system/p-584601ed8d.entry.js +1 -0
  242. package/dist/baloise-design-system/p-599fe1aecd.system.entry.js +1 -0
  243. package/dist/baloise-design-system/{p-pZ7tokLV.js → p-5b163efa.js} +1 -1
  244. package/dist/baloise-design-system/p-5b81a72518.system.entry.js +1 -0
  245. package/dist/baloise-design-system/p-5c391c5415.system.entry.js +1 -0
  246. package/dist/baloise-design-system/p-5d26868b4c.system.entry.js +1 -0
  247. package/dist/baloise-design-system/p-5d94ecd9.system.js +1 -0
  248. package/dist/baloise-design-system/p-5e506fea89.entry.js +1 -0
  249. package/dist/baloise-design-system/p-5e7b2f7fa5.system.entry.js +1 -0
  250. package/dist/baloise-design-system/p-5fbe1e715b.entry.js +1 -0
  251. package/dist/baloise-design-system/{p-48fca0b00b.system.entry.js → p-6077b576a9.system.entry.js} +1 -1
  252. package/dist/baloise-design-system/p-6461e0dc8c.entry.js +1 -0
  253. package/dist/baloise-design-system/p-659270e6.system.js +1 -0
  254. package/dist/baloise-design-system/p-65a3f66bb1.entry.js +1 -0
  255. package/dist/baloise-design-system/p-6780a7ed.system.js +1 -0
  256. package/dist/baloise-design-system/p-68f3a1d5de.entry.js +1 -0
  257. package/dist/baloise-design-system/p-6913b916.system.js +1 -0
  258. package/dist/baloise-design-system/p-694808374d.system.entry.js +1 -0
  259. package/dist/baloise-design-system/{p-DgNrhl33.system.js → p-6c080ebc.system.js} +1 -1
  260. package/dist/baloise-design-system/p-6ca25be56c.entry.js +1 -0
  261. package/dist/baloise-design-system/p-6df2900b29.system.entry.js +1 -0
  262. package/dist/baloise-design-system/p-6e3ed83858.entry.js +1 -0
  263. package/dist/baloise-design-system/p-70a29a3cf9.system.entry.js +1 -0
  264. package/dist/baloise-design-system/p-7187bc892e.system.entry.js +1 -0
  265. package/dist/baloise-design-system/{p-333e7be9dd.system.entry.js → p-7632019f26.system.entry.js} +1 -1
  266. package/dist/baloise-design-system/p-7720b262.system.js +1 -0
  267. package/dist/baloise-design-system/p-77c7a0b0.js +1 -0
  268. package/dist/baloise-design-system/p-7961e095.system.js +2 -0
  269. package/dist/baloise-design-system/p-7ace6bb2b2.system.entry.js +1 -0
  270. package/dist/baloise-design-system/p-7d4fac85.js +1 -0
  271. package/dist/baloise-design-system/p-7ee8e43a78.entry.js +1 -0
  272. package/dist/baloise-design-system/p-835cf9d5.system.js +1 -0
  273. package/dist/baloise-design-system/p-86621bd1a3.system.entry.js +1 -0
  274. package/dist/baloise-design-system/p-8de1cbc123.system.entry.js +1 -0
  275. package/dist/baloise-design-system/{p-DEH0fPxN.system.js → p-924b576e.system.js} +1 -1
  276. package/dist/baloise-design-system/{p-CrVMeGPj.js → p-96216bd1.js} +1 -1
  277. package/dist/baloise-design-system/p-975f69e2.js +1 -0
  278. package/dist/baloise-design-system/p-9a3d9e17.js +1 -0
  279. package/dist/baloise-design-system/p-9bea0924af.entry.js +1 -0
  280. package/dist/baloise-design-system/{p-CaFT5PQ1.system.js → p-9f7a1215.system.js} +1 -1
  281. package/dist/baloise-design-system/p-9fe6f3f427.system.entry.js +1 -0
  282. package/dist/baloise-design-system/{p-e527a619c0.entry.js → p-a06f682955.entry.js} +1 -1
  283. package/dist/baloise-design-system/p-a1449d0827.system.entry.js +1 -0
  284. package/dist/baloise-design-system/p-a1f6e944.system.js +1 -0
  285. package/dist/baloise-design-system/p-a65354df.js +1 -0
  286. package/dist/baloise-design-system/p-a6f19c8102.entry.js +1 -0
  287. package/dist/baloise-design-system/{p-CQIRFXKv.js → p-a7894ace.js} +1 -1
  288. package/dist/baloise-design-system/p-a7f480e29e.entry.js +1 -0
  289. package/dist/baloise-design-system/p-a8161761.js +1 -0
  290. package/dist/baloise-design-system/{p-4c1dd77065.system.entry.js → p-a82d082286.system.entry.js} +1 -1
  291. package/dist/baloise-design-system/p-a8f4c51f7d.entry.js +1 -0
  292. package/dist/baloise-design-system/{p-B_VNoLFI.js → p-aae6003e.js} +1 -1
  293. package/dist/baloise-design-system/p-abaa6b209d.entry.js +1 -0
  294. package/dist/baloise-design-system/{p-N2wlH4Xn.js → p-acf222fd.js} +1 -1
  295. package/dist/baloise-design-system/p-ad848b32cc.entry.js +1 -0
  296. package/dist/baloise-design-system/p-ade92c8b.js +2 -0
  297. package/dist/baloise-design-system/p-b0471793.system.js +1 -0
  298. package/dist/baloise-design-system/p-b0cf4731.js +1 -0
  299. package/dist/baloise-design-system/{p-CbIltJfj.js → p-b2f7e364.js} +1 -1
  300. package/dist/baloise-design-system/p-b31ef16307.system.entry.js +1 -0
  301. package/dist/baloise-design-system/p-b3720a73.system.js +1 -0
  302. package/dist/baloise-design-system/p-b53635762a.entry.js +1 -0
  303. package/dist/baloise-design-system/p-b651c3be06.system.entry.js +1 -0
  304. package/dist/baloise-design-system/p-b77e3348.js +1 -0
  305. package/dist/baloise-design-system/{p-Dou6adza.system.js → p-b79d8942.system.js} +1 -1
  306. package/dist/baloise-design-system/p-ba04f59382.entry.js +1 -0
  307. package/dist/baloise-design-system/p-bb0bea1a12.entry.js +1 -0
  308. package/dist/baloise-design-system/{p-DExQyjsY.js → p-bb3d79e0.js} +1 -1
  309. package/dist/baloise-design-system/p-bdf651c552.system.entry.js +1 -0
  310. package/dist/baloise-design-system/p-be4404d14f.entry.js +1 -0
  311. package/dist/baloise-design-system/p-c018e14208.system.entry.js +1 -0
  312. package/dist/baloise-design-system/{p-BG4j3FEv.js → p-c0c91eb1.js} +1 -1
  313. package/dist/baloise-design-system/p-c1df952485.entry.js +1 -0
  314. package/dist/baloise-design-system/p-c75b737789.system.entry.js +1 -0
  315. package/dist/baloise-design-system/p-c90cd86f85.entry.js +1 -0
  316. package/dist/baloise-design-system/p-c942d04f.system.js +1 -0
  317. package/dist/baloise-design-system/p-caf7e785da.system.entry.js +1 -0
  318. package/dist/baloise-design-system/p-cb9a61cf9f.entry.js +1 -0
  319. package/dist/baloise-design-system/p-ce0bb62f88.system.entry.js +1 -0
  320. package/dist/baloise-design-system/p-ce4f5a6a.js +1 -0
  321. package/dist/baloise-design-system/p-cec9dcd5f0.system.entry.js +1 -0
  322. package/dist/baloise-design-system/{p-Cu1ebAbd.system.js → p-d0537382.system.js} +1 -1
  323. package/dist/baloise-design-system/p-d0cee779.system.js +2 -0
  324. package/dist/baloise-design-system/{p-361a85ce79.system.entry.js → p-d112488f3c.system.entry.js} +1 -1
  325. package/dist/baloise-design-system/p-d41614f898.entry.js +1 -0
  326. package/dist/baloise-design-system/p-d4e5093b.js +1 -0
  327. package/dist/baloise-design-system/p-d96b1ee9.js +1 -0
  328. package/dist/baloise-design-system/{p-BomCpG-1.system.js → p-dac493c4.system.js} +1 -1
  329. package/dist/baloise-design-system/p-dc1f26ed82.entry.js +1 -0
  330. package/dist/baloise-design-system/p-ddfc39d563.system.entry.js +1 -0
  331. package/dist/baloise-design-system/p-de214c5ded.entry.js +1 -0
  332. package/dist/baloise-design-system/{p-c82575cbe6.system.entry.js → p-de8600efe8.system.entry.js} +1 -1
  333. package/dist/baloise-design-system/p-df907af8.system.js +1 -0
  334. package/dist/baloise-design-system/p-e004afb272.entry.js +1 -0
  335. package/dist/baloise-design-system/p-e0248dd3.js +1 -0
  336. package/dist/baloise-design-system/p-e1daa037f5.entry.js +1 -0
  337. package/dist/baloise-design-system/p-e442bfd948.entry.js +1 -0
  338. package/dist/baloise-design-system/p-e53cf246d6.system.entry.js +1 -0
  339. package/dist/baloise-design-system/p-e581de20.js +1 -0
  340. package/dist/baloise-design-system/p-e75452d8.system.js +1 -0
  341. package/dist/baloise-design-system/p-e88286bed3.system.entry.js +1 -0
  342. package/dist/baloise-design-system/p-ea96959c66.system.entry.js +1 -0
  343. package/dist/baloise-design-system/p-ec1863d2.js +1 -0
  344. package/dist/baloise-design-system/{p-SeKJ5o8j.system.js → p-ec9a7cf5.system.js} +1 -1
  345. package/dist/baloise-design-system/p-edb1f50e6a.entry.js +1 -0
  346. package/dist/baloise-design-system/p-eec38fbd.system.js +1 -0
  347. package/dist/baloise-design-system/{p-YF2lEyTF.system.js → p-eecefb0a.system.js} +1 -1
  348. package/dist/baloise-design-system/p-eed5aa27.system.js +1 -0
  349. package/dist/baloise-design-system/p-f19930db.js +1 -0
  350. package/dist/baloise-design-system/p-f8db562aa1.entry.js +1 -0
  351. package/dist/baloise-design-system/p-fa2ea8a4.system.js +1 -0
  352. package/dist/baloise-design-system/p-fa6b5cde.system.js +1 -0
  353. package/dist/baloise-design-system/{p-DxjqC_a1.system.js → p-fbce8119.system.js} +1 -1
  354. package/dist/baloise-design-system/p-fd273f8f1e.entry.js +1 -0
  355. package/dist/baloise-design-system/p-fe2ef334.system.js +1 -0
  356. package/dist/baloise-design-system/p-ff36efab94.entry.js +1 -0
  357. package/dist/cjs/{_commonjsHelpers-BJu3ubxk.js → _commonjsHelpers-68cdf74f.js} +0 -5
  358. package/dist/cjs/{animation.decorator-Ct7aiy8a.js → animation.decorator-40bdfb52.js} +9 -9
  359. package/dist/cjs/app-globals-0d8db19e.js +11 -0
  360. package/dist/cjs/{array-Db63Hhl1.js → array-ae164ca3.js} +3 -3
  361. package/dist/cjs/{attributes-Cp0kpySW.js → attributes-11acd153.js} +3 -0
  362. package/dist/cjs/bal-accordion_4.cjs.entry.js +67 -142
  363. package/dist/cjs/bal-app.cjs.entry.js +24 -23
  364. package/dist/cjs/bal-badge.cjs.entry.js +7 -12
  365. package/dist/cjs/bal-button_2.cjs.entry.js +45 -121
  366. package/dist/cjs/bal-card_6.cjs.entry.js +10 -69
  367. package/dist/cjs/bal-carousel_2.cjs.entry.js +54 -113
  368. package/dist/cjs/bal-check.cjs.entry.js +6 -25
  369. package/dist/cjs/bal-checkbox_2.cjs.entry.js +83 -178
  370. package/dist/cjs/bal-close.cjs.entry.js +15 -14
  371. package/dist/cjs/bal-content.cjs.entry.js +10 -28
  372. package/dist/cjs/bal-data_4.cjs.entry.js +15 -37
  373. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +18 -8
  374. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +67 -90
  375. package/dist/cjs/bal-date.cjs.entry.js +76 -109
  376. package/dist/cjs/bal-divider.cjs.entry.js +10 -22
  377. package/dist/cjs/bal-dropdown.cjs.entry.js +82 -139
  378. package/dist/cjs/bal-field_5.cjs.entry.js +23 -109
  379. package/dist/cjs/bal-file-upload.cjs.entry.js +76 -120
  380. package/dist/cjs/bal-footer.cjs.entry.js +24 -34
  381. package/dist/cjs/bal-form-col_2.cjs.entry.js +5 -2
  382. package/dist/cjs/bal-form.cjs.entry.js +11 -14
  383. package/dist/cjs/bal-heading_2.cjs.entry.js +14 -74
  384. package/dist/cjs/bal-hint_5.cjs.entry.js +50 -110
  385. package/dist/cjs/bal-icon.cjs.entry.js +916 -969
  386. package/dist/cjs/bal-input-group.cjs.entry.js +6 -12
  387. package/dist/cjs/bal-input-slider.cjs.entry.js +34 -68
  388. package/dist/cjs/bal-input-stepper.cjs.entry.js +1089 -1112
  389. package/dist/cjs/bal-input.cjs.entry.js +57 -102
  390. package/dist/cjs/bal-label.cjs.entry.js +17 -59
  391. package/dist/cjs/bal-list_8.cjs.entry.js +59 -109
  392. package/dist/cjs/{bal-logo.animation-q2TTdoP3.js → bal-logo.animation-9704970d.js} +3 -4
  393. package/dist/cjs/bal-logo.cjs.entry.js +20 -26
  394. package/dist/cjs/bal-modal_3.cjs.entry.js +25 -48
  395. package/dist/cjs/bal-nav_8.cjs.entry.js +102 -138
  396. package/dist/cjs/bal-navbar_5.cjs.entry.js +30 -74
  397. package/dist/cjs/bal-notices_3.cjs.entry.js +18 -65
  398. package/dist/cjs/bal-notification.cjs.entry.js +6 -13
  399. package/dist/cjs/bal-number-input.cjs.entry.js +174 -83
  400. package/dist/cjs/bal-option_2.cjs.entry.js +49 -91
  401. package/dist/cjs/bal-pagination.cjs.entry.js +68 -87
  402. package/dist/cjs/bal-popup.cjs.entry.js +46 -72
  403. package/dist/cjs/bal-progress-bar.cjs.entry.js +17 -25
  404. package/dist/cjs/bal-radio-icon.cjs.entry.js +6 -25
  405. package/dist/cjs/bal-radio_2.cjs.entry.js +80 -161
  406. package/dist/cjs/bal-segment_2.cjs.entry.js +65 -98
  407. package/dist/cjs/bal-select_2.cjs.entry.js +81 -137
  408. package/dist/cjs/bal-shape.cjs.entry.js +10 -16
  409. package/dist/cjs/bal-sheet.cjs.entry.js +6 -6
  410. package/dist/cjs/{bal-spinner.animation-BL6PkxOx.js → bal-spinner.animation-a81cf10f.js} +1919 -1929
  411. package/dist/cjs/bal-spinner.cjs.entry.js +23 -34
  412. package/dist/cjs/bal-stack.cjs.entry.js +12 -41
  413. package/dist/cjs/bal-stage_6.cjs.entry.js +21 -27
  414. package/dist/cjs/bal-step-item.cjs.entry.js +6 -34
  415. package/dist/cjs/bal-steps.cjs.entry.js +33 -45
  416. package/dist/cjs/bal-switch.cjs.entry.js +6 -22
  417. package/dist/cjs/bal-tab-item_2.cjs.entry.js +90 -183
  418. package/dist/cjs/bal-table.cjs.entry.js +6 -6
  419. package/dist/cjs/bal-tag_2.cjs.entry.js +9 -31
  420. package/dist/cjs/bal-textarea.cjs.entry.js +40 -63
  421. package/dist/cjs/bal-time-input.cjs.entry.js +41 -58
  422. package/dist/cjs/bal-tooltip.cjs.entry.js +20 -31
  423. package/dist/cjs/baloise-design-system.cjs.js +14 -7
  424. package/dist/cjs/{breakpoints.decorator-D9rKeaiV.js → breakpoints.decorator-881dd92d.js} +1 -1
  425. package/dist/cjs/{breakpoints.subject-BdO-YsQm.js → breakpoints.subject-485cf660.js} +17 -16
  426. package/dist/cjs/browser-1d542d0f.js +64 -0
  427. package/dist/cjs/{config.decorator-D_FjiIar.js → config.decorator-de244188.js} +3 -3
  428. package/dist/cjs/config.default-7e96eb95.js +48 -0
  429. package/dist/cjs/config.utils-df30e424.js +140 -0
  430. package/dist/cjs/{date-TPRfNe4M.js → date-ce9c7f3f.js} +3826 -3213
  431. package/dist/cjs/{device-PwXgHi--.js → device-9f97a845.js} +5 -5
  432. package/dist/cjs/{element-states.decorator-B-8GoxSa.js → element-states.decorator-aa5126e2.js} +13 -12
  433. package/dist/cjs/{floating-ui-l3NjU516.js → floating-ui-4a4a1aed.js} +3 -3
  434. package/dist/cjs/{focus-visible-DFZa8IIA.js → focus-visible-a434c91f.js} +2 -2
  435. package/dist/cjs/{focus.decorator-C6zfsYu-.js → focus.decorator-14a4a576.js} +10 -9
  436. package/dist/cjs/{form-input-B660-bjw.js → form-input-e9974433.js} +7 -2
  437. package/dist/cjs/helpers-debb881a.js +331 -0
  438. package/dist/cjs/index-24d802b4.js +594 -0
  439. package/dist/cjs/index-3b7f8988.js +1860 -0
  440. package/dist/cjs/index-758765f7.js +560 -0
  441. package/dist/cjs/index-84f42282.js +1810 -0
  442. package/dist/cjs/index-e6a233be.js +37 -0
  443. package/dist/cjs/index.cjs.js +74 -65
  444. package/dist/cjs/index.esm-a38eebac.js +212 -0
  445. package/dist/cjs/initialize-2e8978a4.js +319 -0
  446. package/dist/cjs/{listener-B7XPbb55.js → listener-52d2e5fd.js} +2 -2
  447. package/dist/cjs/loader.cjs.js +12 -3
  448. package/dist/cjs/log-33398c2a.js +80 -0
  449. package/dist/cjs/lottie_light_html-cbfdf82e.js +11694 -0
  450. package/dist/cjs/{mutation.decorator-CugZMhs4.js → mutation.decorator-485e250e.js} +5 -5
  451. package/dist/cjs/{number-hhFX3aKU.js → number-24bf265b.js} +4 -3
  452. package/dist/cjs/{overlays-D69-iSa6.js → overlays-94ebb271.js} +6 -5
  453. package/dist/cjs/purify-b01229e2.js +1355 -0
  454. package/dist/cjs/{resize.decorator-D7f4FbeF.js → resize.decorator-e4a92322.js} +6 -5
  455. package/dist/cjs/{scroll-D7ot6_a-.js → scroll-dc37ea84.js} +5 -5
  456. package/dist/cjs/{swipe.decorator-aP7AIbLE.js → swipe.decorator-9c105f90.js} +1 -1
  457. package/dist/cjs/{swipe.subject-BhMYr3OO.js → swipe.subject-191f7d8a.js} +5 -5
  458. package/dist/cjs/{swiper.util-Dh50nc_s.js → swiper.util-d23b8eb0.js} +16 -15
  459. package/dist/cjs/{tokens.esm-cUm8Yiyt.js → tokens.esm-e14cedac.js} +1 -2
  460. package/dist/cjs/{tslib.es6-DrfCPgT9.js → tslib.es6-a680968e.js} +0 -2
  461. package/dist/cjs/{utils-Bl0u6rg1.js → utils-9ea175af.js} +6 -6
  462. package/dist/cjs/{visibility.decorator-kwm3v9pQ.js → visibility.decorator-a218aab9.js} +5 -5
  463. package/dist/cjs/window-resize.decorator-56853e4c.js +48 -0
  464. package/dist/collection/collection-manifest.json +2 -3
  465. package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +6 -18
  466. package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +7 -19
  467. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +24 -57
  468. package/dist/collection/components/bal-accordion/bal-accordion.js +18 -47
  469. package/dist/collection/components/bal-app/bal-app.js +4 -10
  470. package/dist/collection/components/bal-badge/bal-badge.js +5 -13
  471. package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +3 -13
  472. package/dist/collection/components/bal-button/bal-button.js +63 -192
  473. package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +1 -4
  474. package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +8 -26
  475. package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +5 -16
  476. package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -4
  477. package/dist/collection/components/bal-card/bal-card.css +1 -1
  478. package/dist/collection/components/bal-card/bal-card.js +9 -36
  479. package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +27 -45
  480. package/dist/collection/components/bal-carousel/bal-carousel.js +15 -64
  481. package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +6 -28
  482. package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +29 -72
  483. package/dist/collection/components/bal-checkbox/bal-checkbox.js +47 -109
  484. package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +5 -24
  485. package/dist/collection/components/bal-close/bal-close.js +2 -8
  486. package/dist/collection/components/bal-content/bal-content.js +5 -28
  487. package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +2 -8
  488. package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -4
  489. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +6 -15
  490. package/dist/collection/components/bal-data/bal-data.js +3 -9
  491. package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +26 -24
  492. package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +16 -11
  493. package/dist/collection/components/bal-date/bal-date.js +45 -85
  494. package/dist/collection/components/bal-divider/bal-divider.js +4 -21
  495. package/dist/collection/components/bal-dropdown/bal-dropdown.js +52 -118
  496. package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +4 -18
  497. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +3 -12
  498. package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +8 -40
  499. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +5 -20
  500. package/dist/collection/components/bal-field/bal-field.js +14 -36
  501. package/dist/collection/components/bal-file-upload/bal-file-upload.js +33 -67
  502. package/dist/collection/components/bal-footer/bal-footer.js +3 -20
  503. package/dist/collection/components/bal-form/bal-form.js +3 -12
  504. package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +1 -1
  505. package/dist/collection/components/bal-heading/bal-heading.js +13 -33
  506. package/dist/collection/components/bal-hint/bal-hint.css +1 -1
  507. package/dist/collection/components/bal-hint/bal-hint.js +7 -9
  508. package/dist/collection/components/bal-icon/bal-icon.js +36 -82
  509. package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +19 -54
  510. package/dist/collection/components/bal-input/bal-input.js +60 -111
  511. package/dist/collection/components/bal-input-group/bal-input-group.js +3 -12
  512. package/dist/collection/components/bal-input-slider/bal-input-slider.js +27 -66
  513. package/dist/collection/components/bal-input-stepper/bal-input-stepper.css +1 -1
  514. package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +40 -62
  515. package/dist/collection/components/bal-label/bal-label.js +13 -62
  516. package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +19 -42
  517. package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +7 -12
  518. package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +6 -16
  519. package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +4 -1
  520. package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +1 -4
  521. package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +3 -5
  522. package/dist/collection/components/bal-list/bal-list.js +5 -20
  523. package/dist/collection/components/bal-logo/bal-logo.js +3 -16
  524. package/dist/collection/components/bal-modal/bal-modal.js +17 -48
  525. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +8 -23
  526. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -8
  527. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -8
  528. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +2 -12
  529. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -8
  530. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +5 -24
  531. package/dist/collection/components/bal-nav/bal-nav.js +12 -18
  532. package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
  533. package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +25 -7
  534. package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +2 -2
  535. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +13 -36
  536. package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -7
  537. package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -7
  538. package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -7
  539. package/dist/collection/components/bal-navbar/bal-navbar.js +3 -14
  540. package/dist/collection/components/bal-notices/bal-notices.js +3 -12
  541. package/dist/collection/components/bal-notification/bal-notification.js +3 -13
  542. package/dist/collection/components/bal-number-input/bal-number-input.js +36 -65
  543. package/dist/collection/components/bal-option/bal-option.js +18 -46
  544. package/dist/collection/components/bal-option-list/bal-option-list.js +8 -29
  545. package/dist/collection/components/bal-pagination/bal-pagination.css +1 -1
  546. package/dist/collection/components/bal-pagination/bal-pagination.js +15 -42
  547. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +9 -36
  548. package/dist/collection/components/bal-popover/bal-popover.js +12 -52
  549. package/dist/collection/components/bal-popup/bal-popup.js +31 -64
  550. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +3 -16
  551. package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +30 -68
  552. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +6 -28
  553. package/dist/collection/components/bal-radio/bal-radio.js +43 -93
  554. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +19 -39
  555. package/dist/collection/components/bal-segment/bal-segment.js +20 -40
  556. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +6 -11
  557. package/dist/collection/components/bal-select/bal-select.js +51 -109
  558. package/dist/collection/components/bal-shape/bal-shape.js +6 -15
  559. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -4
  560. package/dist/collection/components/bal-snackbar/bal-snackbar.js +13 -42
  561. package/dist/collection/components/bal-spinner/bal-spinner.js +11 -30
  562. package/dist/collection/components/bal-stack/bal-stack.js +13 -47
  563. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +6 -10
  564. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +4 -2
  565. package/dist/collection/components/bal-stage/bal-stage.js +12 -22
  566. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +12 -42
  567. package/dist/collection/components/bal-steps/bal-steps.js +11 -31
  568. package/dist/collection/components/bal-table/bal-table.js +1 -4
  569. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +30 -69
  570. package/dist/collection/components/bal-tabs/bal-tabs.js +52 -111
  571. package/dist/collection/components/bal-tag/bal-tag.js +8 -33
  572. package/dist/collection/components/bal-text/bal-text.js +13 -58
  573. package/dist/collection/components/bal-textarea/bal-textarea.js +40 -69
  574. package/dist/collection/components/bal-time-input/bal-time-input.js +20 -44
  575. package/dist/collection/components/bal-toast/bal-toast.js +4 -21
  576. package/dist/collection/components/bal-tooltip/bal-tooltip.js +6 -24
  577. package/dist/collection/utils/constants/version.constant.js +1 -1
  578. package/dist/esm/_commonjsHelpers-1c8beb5f.js +3 -0
  579. package/dist/esm/{animation.decorator-BRrK54mN.js → animation.decorator-7fca988f.js} +2 -2
  580. package/dist/esm/app-globals-07bd529a.js +9 -0
  581. package/dist/esm/{array-CDfSqLEo.js → array-4c09dfe3.js} +3 -3
  582. package/dist/esm/{attributes-C4sZQbkT.js → attributes-a3e70948.js} +3 -0
  583. package/dist/esm/bal-accordion_4.entry.js +53 -130
  584. package/dist/esm/bal-app.entry.js +12 -13
  585. package/dist/esm/bal-badge.entry.js +5 -12
  586. package/dist/esm/bal-button_2.entry.js +42 -120
  587. package/dist/esm/bal-card_6.entry.js +8 -69
  588. package/dist/esm/bal-carousel_2.entry.js +49 -110
  589. package/dist/esm/bal-check.entry.js +4 -25
  590. package/dist/esm/bal-checkbox_2.entry.js +75 -172
  591. package/dist/esm/bal-close.entry.js +11 -12
  592. package/dist/esm/bal-content.entry.js +7 -27
  593. package/dist/esm/bal-data_4.entry.js +13 -37
  594. package/dist/esm/bal-date-calendar-cell.entry.js +16 -8
  595. package/dist/esm/bal-date-calendar_2.entry.js +61 -86
  596. package/dist/esm/bal-date.entry.js +57 -92
  597. package/dist/esm/bal-divider.entry.js +7 -21
  598. package/dist/esm/bal-dropdown.entry.js +61 -120
  599. package/dist/esm/bal-field_5.entry.js +19 -107
  600. package/dist/esm/bal-file-upload.entry.js +73 -119
  601. package/dist/esm/bal-footer.entry.js +15 -27
  602. package/dist/esm/bal-form-col_2.entry.js +3 -2
  603. package/dist/esm/bal-form.entry.js +7 -12
  604. package/dist/esm/bal-heading_2.entry.js +11 -73
  605. package/dist/esm/bal-hint_5.entry.js +43 -105
  606. package/dist/esm/bal-icon.entry.js +914 -969
  607. package/dist/esm/bal-input-group.entry.js +4 -12
  608. package/dist/esm/bal-input-slider.entry.js +31 -67
  609. package/dist/esm/bal-input-stepper.entry.js +1083 -1108
  610. package/dist/esm/bal-input.entry.js +53 -100
  611. package/dist/esm/bal-label.entry.js +12 -56
  612. package/dist/esm/bal-list_8.entry.js +45 -97
  613. package/dist/esm/{bal-logo.animation-Bm-_mal3.js → bal-logo.animation-560601c6.js} +3 -4
  614. package/dist/esm/bal-logo.entry.js +16 -24
  615. package/dist/esm/bal-modal_3.entry.js +18 -43
  616. package/dist/esm/bal-nav_8.entry.js +79 -117
  617. package/dist/esm/bal-navbar_5.entry.js +23 -69
  618. package/dist/esm/bal-notices_3.entry.js +16 -65
  619. package/dist/esm/bal-notification.entry.js +4 -13
  620. package/dist/esm/bal-number-input.entry.js +167 -78
  621. package/dist/esm/bal-option_2.entry.js +33 -77
  622. package/dist/esm/bal-pagination.entry.js +66 -87
  623. package/dist/esm/bal-popup.entry.js +36 -64
  624. package/dist/esm/bal-progress-bar.entry.js +14 -24
  625. package/dist/esm/bal-radio-icon.entry.js +4 -25
  626. package/dist/esm/bal-radio_2.entry.js +72 -155
  627. package/dist/esm/bal-segment_2.entry.js +56 -91
  628. package/dist/esm/bal-select_2.entry.js +72 -130
  629. package/dist/esm/bal-shape.entry.js +8 -16
  630. package/dist/esm/bal-sheet.entry.js +4 -6
  631. package/dist/esm/{bal-spinner.animation-Bv2Ow6xu.js → bal-spinner.animation-81d4326e.js} +1919 -1929
  632. package/dist/esm/bal-spinner.entry.js +18 -31
  633. package/dist/esm/bal-stack.entry.js +9 -40
  634. package/dist/esm/bal-stage_6.entry.js +18 -26
  635. package/dist/esm/bal-step-item.entry.js +4 -34
  636. package/dist/esm/bal-steps.entry.js +29 -43
  637. package/dist/esm/bal-switch.entry.js +4 -22
  638. package/dist/esm/bal-tab-item_2.entry.js +75 -170
  639. package/dist/esm/bal-table.entry.js +4 -6
  640. package/dist/esm/bal-tag_2.entry.js +7 -31
  641. package/dist/esm/bal-textarea.entry.js +37 -62
  642. package/dist/esm/bal-time-input.entry.js +37 -56
  643. package/dist/esm/bal-tooltip.entry.js +15 -28
  644. package/dist/esm/baloise-design-system.js +11 -5
  645. package/dist/esm/{breakpoints.decorator-B9fGMzyI.js → breakpoints.decorator-4de4315f.js} +1 -1
  646. package/dist/esm/{breakpoints.subject-D2jditew.js → breakpoints.subject-2f68e834.js} +5 -4
  647. package/dist/esm/browser-a8073d92.js +62 -0
  648. package/dist/esm/{config.decorator-g255X8DE.js → config.decorator-6795d1fe.js} +1 -1
  649. package/dist/esm/config.default-53a04699.js +45 -0
  650. package/dist/esm/config.utils-f3793464.js +101 -0
  651. package/dist/esm/{date-CzITO5fO.js → date-87bdb1d1.js} +3822 -3209
  652. package/dist/esm/{device-dF5vUTps.js → device-8c6d2881.js} +1 -1
  653. package/dist/esm/{element-states.decorator-Dk8OIOdm.js → element-states.decorator-d99dc83c.js} +3 -2
  654. package/dist/esm/{floating-ui-ITd61PST.js → floating-ui-8ffbc979.js} +2 -2
  655. package/dist/esm/{focus-visible-DqCbGYzv.js → focus-visible-c1d6b5b8.js} +2 -2
  656. package/dist/esm/{focus.decorator-MIxVqnNR.js → focus.decorator-988245d7.js} +3 -2
  657. package/dist/esm/{form-input-DyU_I7Nf.js → form-input-1ebdb905.js} +6 -2
  658. package/dist/esm/helpers-51d51cc5.js +307 -0
  659. package/dist/esm/index-82aff103.js +35 -0
  660. package/dist/esm/index-8d2a7ce7.js +1779 -0
  661. package/dist/esm/index-95ee0c4b.js +1858 -0
  662. package/dist/esm/index-bba06972.js +558 -0
  663. package/dist/esm/index-db06fb0e.js +592 -0
  664. package/dist/esm/index.esm-9079680d.js +206 -0
  665. package/dist/esm/index.js +30 -24
  666. package/{components/initialize.js → dist/esm/initialize-c00194b2.js} +5 -5
  667. package/dist/esm/{listener-BRXdr5Mk.js → listener-04842ae9.js} +1 -1
  668. package/dist/esm/loader.js +10 -3
  669. package/dist/esm/log-dfd1c19f.js +77 -0
  670. package/dist/esm/lottie_light_html-ab90e4a2.js +11692 -0
  671. package/dist/esm/{mutation.decorator-CFRV3n5T.js → mutation.decorator-6a69cedb.js} +2 -2
  672. package/dist/esm/{number-DI8U2zZ7.js → number-ccf3fbd0.js} +2 -1
  673. package/dist/esm/{overlays-BE8fsAF4.js → overlays-cee3838b.js} +3 -2
  674. package/dist/esm/purify-8cb49f16.js +1353 -0
  675. package/dist/esm/{resize.decorator-CdfVlqf4.js → resize.decorator-3c8e5ee2.js} +3 -2
  676. package/dist/esm/{scroll-ytafAebU.js → scroll-521224a9.js} +1 -1
  677. package/dist/esm/{swipe.decorator-LAK4VYA0.js → swipe.decorator-3d3585e7.js} +1 -1
  678. package/dist/esm/{swipe.subject-2eHkUcpg.js → swipe.subject-26a9e5a5.js} +4 -4
  679. package/dist/esm/{swiper.util-Dy8CWRH7.js → swiper.util-8e17b8c4.js} +5 -4
  680. package/dist/esm/{tokens.esm-B0bmgb-_.js → tokens.esm-4409ffbb.js} +2 -3
  681. package/dist/esm/{tslib.es6-dfXERft2.js → tslib.es6-654e2c24.js} +0 -2
  682. package/dist/esm/{utils-C_qktPg7.js → utils-9fbab1d3.js} +6 -6
  683. package/dist/esm/{visibility.decorator-B1BbAwZf.js → visibility.decorator-5db91610.js} +2 -2
  684. package/dist/esm/{window-resize.decorator-B1fuKglH.js → window-resize.decorator-03b1ed50.js} +24 -1
  685. package/dist/esm-es5/_commonjsHelpers-1c8beb5f.js +1 -0
  686. package/dist/esm-es5/animation.decorator-7fca988f.js +1 -0
  687. package/dist/esm-es5/app-globals-07bd529a.js +1 -0
  688. package/dist/esm-es5/array-4c09dfe3.js +1 -0
  689. package/dist/esm-es5/{attributes-C4sZQbkT.js → attributes-a3e70948.js} +1 -1
  690. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  691. package/dist/esm-es5/bal-app.entry.js +1 -1
  692. package/dist/esm-es5/bal-badge.entry.js +1 -1
  693. package/dist/esm-es5/bal-button_2.entry.js +1 -1
  694. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  695. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  696. package/dist/esm-es5/bal-check.entry.js +1 -1
  697. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  698. package/dist/esm-es5/bal-close.entry.js +1 -1
  699. package/dist/esm-es5/bal-content.entry.js +1 -1
  700. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  701. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  702. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  703. package/dist/esm-es5/bal-date.entry.js +1 -1
  704. package/dist/esm-es5/bal-divider.entry.js +1 -1
  705. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  706. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  707. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  708. package/dist/esm-es5/bal-footer.entry.js +1 -1
  709. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  710. package/dist/esm-es5/bal-form.entry.js +1 -1
  711. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  712. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  713. package/dist/esm-es5/bal-icon.entry.js +1 -1
  714. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  715. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  716. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  717. package/dist/esm-es5/bal-input.entry.js +1 -1
  718. package/dist/esm-es5/bal-label.entry.js +1 -1
  719. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  720. package/dist/esm-es5/bal-logo.animation-560601c6.js +1 -0
  721. package/dist/esm-es5/bal-logo.entry.js +1 -1
  722. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  723. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  724. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  725. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  726. package/dist/esm-es5/bal-notification.entry.js +1 -1
  727. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  728. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  729. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  730. package/dist/esm-es5/bal-popup.entry.js +1 -1
  731. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  732. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  733. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  734. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  735. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  736. package/dist/esm-es5/bal-shape.entry.js +1 -1
  737. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  738. package/dist/esm-es5/{bal-spinner.animation-Bv2Ow6xu.js → bal-spinner.animation-81d4326e.js} +1 -1
  739. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  740. package/dist/esm-es5/bal-stack.entry.js +1 -1
  741. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  742. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  743. package/dist/esm-es5/bal-steps.entry.js +1 -1
  744. package/dist/esm-es5/bal-switch.entry.js +1 -1
  745. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  746. package/dist/esm-es5/bal-table.entry.js +1 -1
  747. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  748. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  749. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  750. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  751. package/dist/esm-es5/baloise-design-system.js +1 -1
  752. package/dist/esm-es5/breakpoints.decorator-4de4315f.js +1 -0
  753. package/dist/esm-es5/breakpoints.subject-2f68e834.js +1 -0
  754. package/dist/esm-es5/browser-a8073d92.js +1 -0
  755. package/dist/esm-es5/config.decorator-6795d1fe.js +1 -0
  756. package/dist/esm-es5/config.default-53a04699.js +1 -0
  757. package/dist/esm-es5/config.utils-f3793464.js +1 -0
  758. package/dist/esm-es5/date-87bdb1d1.js +1 -0
  759. package/dist/esm-es5/device-8c6d2881.js +1 -0
  760. package/dist/esm-es5/element-states.decorator-d99dc83c.js +1 -0
  761. package/dist/esm-es5/floating-ui-8ffbc979.js +1 -0
  762. package/dist/esm-es5/focus-visible-c1d6b5b8.js +1 -0
  763. package/dist/esm-es5/focus.decorator-988245d7.js +1 -0
  764. package/dist/esm-es5/form-input-1ebdb905.js +1 -0
  765. package/dist/esm-es5/helpers-51d51cc5.js +1 -0
  766. package/dist/esm-es5/index-82aff103.js +1 -0
  767. package/dist/esm-es5/index-8d2a7ce7.js +2 -0
  768. package/dist/esm-es5/index-95ee0c4b.js +1 -0
  769. package/dist/esm-es5/index-bba06972.js +1 -0
  770. package/dist/esm-es5/index-db06fb0e.js +1 -0
  771. package/dist/esm-es5/index.esm-9079680d.js +1 -0
  772. package/dist/esm-es5/index.js +1 -1
  773. package/dist/esm-es5/initialize-c00194b2.js +1 -0
  774. package/dist/esm-es5/listener-04842ae9.js +1 -0
  775. package/dist/esm-es5/loader.js +1 -1
  776. package/dist/esm-es5/log-dfd1c19f.js +1 -0
  777. package/dist/esm-es5/lottie_light_html-ab90e4a2.js +9 -0
  778. package/dist/esm-es5/mutation.decorator-6a69cedb.js +1 -0
  779. package/dist/esm-es5/number-ccf3fbd0.js +1 -0
  780. package/dist/esm-es5/overlays-cee3838b.js +1 -0
  781. package/dist/esm-es5/purify-8cb49f16.js +2 -0
  782. package/dist/esm-es5/resize.decorator-3c8e5ee2.js +1 -0
  783. package/dist/esm-es5/scroll-521224a9.js +1 -0
  784. package/dist/esm-es5/{swipe.decorator-LAK4VYA0.js → swipe.decorator-3d3585e7.js} +1 -1
  785. package/dist/esm-es5/swipe.subject-26a9e5a5.js +1 -0
  786. package/dist/esm-es5/swiper.util-8e17b8c4.js +1 -0
  787. package/dist/esm-es5/{tokens.esm-B0bmgb-_.js → tokens.esm-4409ffbb.js} +1 -1
  788. package/dist/esm-es5/utils-9fbab1d3.js +1 -0
  789. package/dist/esm-es5/visibility.decorator-5db91610.js +1 -0
  790. package/dist/esm-es5/window-resize.decorator-03b1ed50.js +1 -0
  791. package/dist/html.html-data.json +1 -82
  792. package/dist/types/components/bal-button/bal-button.d.ts +1 -13
  793. package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +1 -1
  794. package/dist/types/components/bal-nav/models/bal-nav-meta-button.d.ts +1 -1
  795. package/dist/types/components/bal-pagination/bal-pagination.d.ts +1 -1
  796. package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +3 -3
  797. package/dist/types/components.d.ts +10 -1519
  798. package/dist/types/stencil-public-runtime.d.ts +1 -23
  799. package/loader/package.json +11 -0
  800. package/package.json +7 -7
  801. package/components/bal-app2.js +0 -100
  802. package/components/bal-doc-app.d.ts +0 -11
  803. package/components/bal-doc-app.js +0 -262
  804. package/components/index6.js +0 -125
  805. package/components/purify.es.js +0 -1328
  806. package/components/window-resize.listener.js +0 -80
  807. package/components/window-resize.subject.js +0 -26
  808. package/dist/baloise-design-system/p--k0G90SD.system.js +0 -1
  809. package/dist/baloise-design-system/p-01d073573f.system.entry.js +0 -1
  810. package/dist/baloise-design-system/p-02b8352ee5.system.entry.js +0 -1
  811. package/dist/baloise-design-system/p-061510057f.entry.js +0 -1
  812. package/dist/baloise-design-system/p-07c4c0a34a.entry.js +0 -1
  813. package/dist/baloise-design-system/p-0c68f0d2a7.system.entry.js +0 -1
  814. package/dist/baloise-design-system/p-0d6922d234.entry.js +0 -1
  815. package/dist/baloise-design-system/p-11c78979ba.entry.js +0 -1
  816. package/dist/baloise-design-system/p-140c45adf9.entry.js +0 -1
  817. package/dist/baloise-design-system/p-17be27154f.system.entry.js +0 -1
  818. package/dist/baloise-design-system/p-189a96c522.entry.js +0 -1
  819. package/dist/baloise-design-system/p-1bd65d3478.entry.js +0 -1
  820. package/dist/baloise-design-system/p-1e314f5765.entry.js +0 -1
  821. package/dist/baloise-design-system/p-200de22241.system.entry.js +0 -1
  822. package/dist/baloise-design-system/p-21e94d929c.entry.js +0 -1
  823. package/dist/baloise-design-system/p-21f00c06f7.system.entry.js +0 -1
  824. package/dist/baloise-design-system/p-220bd32622.entry.js +0 -1
  825. package/dist/baloise-design-system/p-26d97d1341.entry.js +0 -1
  826. package/dist/baloise-design-system/p-2bedf5525c.entry.js +0 -1
  827. package/dist/baloise-design-system/p-2e7fc3dd31.entry.js +0 -1
  828. package/dist/baloise-design-system/p-31d57d6b98.system.entry.js +0 -1
  829. package/dist/baloise-design-system/p-32aa95a155.entry.js +0 -1
  830. package/dist/baloise-design-system/p-3758b52b14.system.entry.js +0 -1
  831. package/dist/baloise-design-system/p-37d5ef6005.system.entry.js +0 -1
  832. package/dist/baloise-design-system/p-3a7b577d1e.entry.js +0 -1
  833. package/dist/baloise-design-system/p-43d9277d12.system.entry.js +0 -1
  834. package/dist/baloise-design-system/p-45df3e8f55.system.entry.js +0 -1
  835. package/dist/baloise-design-system/p-46ebaa5408.entry.js +0 -1
  836. package/dist/baloise-design-system/p-47e172daa0.entry.js +0 -1
  837. package/dist/baloise-design-system/p-4e3b3039e7.entry.js +0 -1
  838. package/dist/baloise-design-system/p-4ea67d4f4e.system.entry.js +0 -1
  839. package/dist/baloise-design-system/p-520794370e.entry.js +0 -1
  840. package/dist/baloise-design-system/p-5355439141.system.entry.js +0 -1
  841. package/dist/baloise-design-system/p-565686db22.entry.js +0 -1
  842. package/dist/baloise-design-system/p-57fb8b5eb2.system.entry.js +0 -1
  843. package/dist/baloise-design-system/p-5b0182d52f.entry.js +0 -1
  844. package/dist/baloise-design-system/p-61cb6b71ac.system.entry.js +0 -1
  845. package/dist/baloise-design-system/p-6396d3b495.system.entry.js +0 -1
  846. package/dist/baloise-design-system/p-64ddc16b67.system.entry.js +0 -1
  847. package/dist/baloise-design-system/p-6588e93372.entry.js +0 -1
  848. package/dist/baloise-design-system/p-6653708bd4.system.entry.js +0 -1
  849. package/dist/baloise-design-system/p-6ba67cb715.entry.js +0 -1
  850. package/dist/baloise-design-system/p-6e52cbd8c5.entry.js +0 -1
  851. package/dist/baloise-design-system/p-6lvI43hh.js +0 -1
  852. package/dist/baloise-design-system/p-72eadd5113.entry.js +0 -1
  853. package/dist/baloise-design-system/p-756c6d31b2.system.entry.js +0 -1
  854. package/dist/baloise-design-system/p-758ffe7e03.entry.js +0 -1
  855. package/dist/baloise-design-system/p-77d927595c.entry.js +0 -1
  856. package/dist/baloise-design-system/p-79a2093f09.entry.js +0 -1
  857. package/dist/baloise-design-system/p-7b5cdd7059.system.entry.js +0 -1
  858. package/dist/baloise-design-system/p-7de6dfad79.entry.js +0 -1
  859. package/dist/baloise-design-system/p-7e25c45a92.system.entry.js +0 -1
  860. package/dist/baloise-design-system/p-8143d673eb.system.entry.js +0 -1
  861. package/dist/baloise-design-system/p-8195485035.entry.js +0 -1
  862. package/dist/baloise-design-system/p-83e5034e65.entry.js +0 -1
  863. package/dist/baloise-design-system/p-8416fd07c5.system.entry.js +0 -1
  864. package/dist/baloise-design-system/p-85beb9b3d5.system.entry.js +0 -1
  865. package/dist/baloise-design-system/p-89eb53ffa3.system.entry.js +0 -1
  866. package/dist/baloise-design-system/p-8b9e2d1b0b.entry.js +0 -1
  867. package/dist/baloise-design-system/p-8ba1580831.system.entry.js +0 -1
  868. package/dist/baloise-design-system/p-8caeac83b7.entry.js +0 -1
  869. package/dist/baloise-design-system/p-8eb2cfd0a5.system.entry.js +0 -1
  870. package/dist/baloise-design-system/p-8f57e7854a.system.entry.js +0 -1
  871. package/dist/baloise-design-system/p-93c234f5f9.system.entry.js +0 -1
  872. package/dist/baloise-design-system/p-979f0a41e7.system.entry.js +0 -1
  873. package/dist/baloise-design-system/p-98c3550261.system.entry.js +0 -1
  874. package/dist/baloise-design-system/p-B0bmgb-_.js +0 -1
  875. package/dist/baloise-design-system/p-B1a79Kak.system.js +0 -1
  876. package/dist/baloise-design-system/p-B33S9saU.system.js +0 -1
  877. package/dist/baloise-design-system/p-B3Q-Lii3.js +0 -2
  878. package/dist/baloise-design-system/p-BAaDJIzy.js +0 -1
  879. package/dist/baloise-design-system/p-BC9JH89x.js +0 -1
  880. package/dist/baloise-design-system/p-BFTU3MAI.js +0 -1
  881. package/dist/baloise-design-system/p-BfslJCJ1.system.js +0 -1
  882. package/dist/baloise-design-system/p-Bl6JuZha.js +0 -1
  883. package/dist/baloise-design-system/p-BnVL_HEz.js +0 -1
  884. package/dist/baloise-design-system/p-Bo7bt-QO.system.js +0 -1
  885. package/dist/baloise-design-system/p-BpPN4QPC.system.js +0 -1
  886. package/dist/baloise-design-system/p-Bzy18UgU.system.js +0 -1
  887. package/dist/baloise-design-system/p-C78VTo3I.js +0 -1
  888. package/dist/baloise-design-system/p-CEOTg0oT.system.js +0 -1
  889. package/dist/baloise-design-system/p-CHdm2a6D.js +0 -1
  890. package/dist/baloise-design-system/p-CTtLY-pQ.system.js +0 -1
  891. package/dist/baloise-design-system/p-CbvOgU0G.js +0 -1
  892. package/dist/baloise-design-system/p-Cj6DXhmQ.js +0 -1
  893. package/dist/baloise-design-system/p-Ckgicaeo.js +0 -1
  894. package/dist/baloise-design-system/p-CpWDVANq.system.js +0 -1
  895. package/dist/baloise-design-system/p-CwvovJM0.system.js +0 -3
  896. package/dist/baloise-design-system/p-CzKsK_-N.js +0 -1
  897. package/dist/baloise-design-system/p-Czl2AFQD.system.js +0 -1
  898. package/dist/baloise-design-system/p-D-yL3ygS.system.js +0 -1
  899. package/dist/baloise-design-system/p-D2IpojJH.js +0 -1
  900. package/dist/baloise-design-system/p-D3fFHb3d.system.js +0 -1
  901. package/dist/baloise-design-system/p-DObNWWwI.js +0 -1
  902. package/dist/baloise-design-system/p-DXglhVgP.js +0 -1
  903. package/dist/baloise-design-system/p-DgPiq0y0.js +0 -2
  904. package/dist/baloise-design-system/p-DieY27e8.js +0 -1
  905. package/dist/baloise-design-system/p-DpQhsHDk.system.js +0 -9
  906. package/dist/baloise-design-system/p-DpZ1EJms.system.js +0 -1
  907. package/dist/baloise-design-system/p-DqCbGYzv.js +0 -1
  908. package/dist/baloise-design-system/p-DvpDuwcR.system.js +0 -1
  909. package/dist/baloise-design-system/p-Dxz8zGB7.system.js +0 -1
  910. package/dist/baloise-design-system/p-HNsXrTcK.system.js +0 -1
  911. package/dist/baloise-design-system/p-NtpXzgnf.system.js +0 -1
  912. package/dist/baloise-design-system/p-RLU0CN2t.system.js +0 -1
  913. package/dist/baloise-design-system/p-RpbX6ZuY.system.js +0 -1
  914. package/dist/baloise-design-system/p-RzJv7e7Y.system.js +0 -1
  915. package/dist/baloise-design-system/p-S5-HQnxq.js +0 -1
  916. package/dist/baloise-design-system/p-UHSJaF1l.system.js +0 -2
  917. package/dist/baloise-design-system/p-a026dea6ff.system.entry.js +0 -1
  918. package/dist/baloise-design-system/p-a296f4d228.system.entry.js +0 -1
  919. package/dist/baloise-design-system/p-a3fc7283ce.system.entry.js +0 -1
  920. package/dist/baloise-design-system/p-a490a7c071.entry.js +0 -1
  921. package/dist/baloise-design-system/p-a7f243b3fe.system.entry.js +0 -1
  922. package/dist/baloise-design-system/p-a9bbd841f4.entry.js +0 -1
  923. package/dist/baloise-design-system/p-aa419a2a08.entry.js +0 -1
  924. package/dist/baloise-design-system/p-b219f3a83c.system.entry.js +0 -1
  925. package/dist/baloise-design-system/p-b5bc57a5cc.entry.js +0 -1
  926. package/dist/baloise-design-system/p-b5fa8d0dfd.entry.js +0 -1
  927. package/dist/baloise-design-system/p-b673357398.system.entry.js +0 -1
  928. package/dist/baloise-design-system/p-b782a8351d.system.entry.js +0 -1
  929. package/dist/baloise-design-system/p-b798847724.entry.js +0 -1
  930. package/dist/baloise-design-system/p-b8c2106c2f.entry.js +0 -1
  931. package/dist/baloise-design-system/p-bb62fc0b8b.system.entry.js +0 -1
  932. package/dist/baloise-design-system/p-c26e50d86b.system.entry.js +0 -1
  933. package/dist/baloise-design-system/p-c5kwQsXB.system.js +0 -1
  934. package/dist/baloise-design-system/p-c6965794d7.entry.js +0 -1
  935. package/dist/baloise-design-system/p-c7370c3bcd.system.entry.js +0 -1
  936. package/dist/baloise-design-system/p-ca2c7c3b2b.entry.js +0 -1
  937. package/dist/baloise-design-system/p-cc45f0d261.system.entry.js +0 -1
  938. package/dist/baloise-design-system/p-ccafad087a.entry.js +0 -1
  939. package/dist/baloise-design-system/p-d99135bfae.system.entry.js +0 -1
  940. package/dist/baloise-design-system/p-dace8501ae.system.entry.js +0 -1
  941. package/dist/baloise-design-system/p-db401e5eca.system.entry.js +0 -1
  942. package/dist/baloise-design-system/p-dccc8331de.entry.js +0 -1
  943. package/dist/baloise-design-system/p-e1a35bc526.entry.js +0 -1
  944. package/dist/baloise-design-system/p-e264cbf7ab.entry.js +0 -1
  945. package/dist/baloise-design-system/p-e49d5935c0.system.entry.js +0 -1
  946. package/dist/baloise-design-system/p-e84e95c471.entry.js +0 -1
  947. package/dist/baloise-design-system/p-e871d48caf.entry.js +0 -1
  948. package/dist/baloise-design-system/p-e8c3c1829a.entry.js +0 -1
  949. package/dist/baloise-design-system/p-eba28c44f3.entry.js +0 -1
  950. package/dist/baloise-design-system/p-eba878531c.system.entry.js +0 -1
  951. package/dist/baloise-design-system/p-ebacacaadb.system.entry.js +0 -1
  952. package/dist/baloise-design-system/p-f01e31c121.entry.js +0 -1
  953. package/dist/baloise-design-system/p-f1f4340a3d.entry.js +0 -1
  954. package/dist/baloise-design-system/p-f2e7b54fd6.system.entry.js +0 -1
  955. package/dist/baloise-design-system/p-f3a820890f.entry.js +0 -1
  956. package/dist/baloise-design-system/p-fa1e4a4d20.system.entry.js +0 -1
  957. package/dist/baloise-design-system/p-fa5c522e5d.entry.js +0 -1
  958. package/dist/baloise-design-system/p-fe3f059990.system.entry.js +0 -1
  959. package/dist/baloise-design-system/p-jv0tWyso.js +0 -1
  960. package/dist/baloise-design-system/p-lFDHYLJ4.system.js +0 -1
  961. package/dist/baloise-design-system/p-m5GX4h3i.system.js +0 -1
  962. package/dist/baloise-design-system/p-ns9Aprb9.js +0 -1
  963. package/dist/baloise-design-system/p-sUDAxNV7.js +0 -1
  964. package/dist/baloise-design-system/p-v8tPBXUI.js +0 -1
  965. package/dist/baloise-design-system/p-vPrRXkWt.system.js +0 -1
  966. package/dist/baloise-design-system/p-xbSOW78W.js +0 -1
  967. package/dist/cjs/bal-doc-app.cjs.entry.js +0 -224
  968. package/dist/cjs/index-BZ67Dcnb.js +0 -50
  969. package/dist/cjs/index-BobQkZjn.js +0 -1868
  970. package/dist/cjs/index-C413E-IK.js +0 -571
  971. package/dist/cjs/index-CuY5w2n4.js +0 -602
  972. package/dist/cjs/index-D4vG8k57.js +0 -2885
  973. package/dist/cjs/index-ifu9fMyU.js +0 -127
  974. package/dist/cjs/index.esm-CKDqUwIC.js +0 -216
  975. package/dist/cjs/lottie_light_html-OP40Exqq.js +0 -11704
  976. package/dist/cjs/purify.es-CJTp6uKN.js +0 -1330
  977. package/dist/cjs/window-resize.decorator-CVTXganH.js +0 -25
  978. package/dist/cjs/window-resize.subject-BAEG_21X.js +0 -28
  979. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
  980. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -248
  981. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
  982. package/dist/esm/bal-doc-app.entry.js +0 -222
  983. package/dist/esm/index-B4k_dH6V.js +0 -1866
  984. package/dist/esm/index-BU7FUSdu.js +0 -569
  985. package/dist/esm/index-D6JOtC1P.js +0 -125
  986. package/dist/esm/index-DgPiq0y0.js +0 -2829
  987. package/dist/esm/index-dYcsHLfj.js +0 -600
  988. package/dist/esm/index-zWZxKBfo.js +0 -48
  989. package/dist/esm/index.esm-Btc0yydR.js +0 -210
  990. package/dist/esm/lottie_light_html-DuyI5RA6.js +0 -11702
  991. package/dist/esm/purify.es-B3Q-Lii3.js +0 -1328
  992. package/dist/esm/window-resize.subject-Dl0mHA8u.js +0 -26
  993. package/dist/esm-es5/_commonjsHelpers-BFTU3MAI.js +0 -1
  994. package/dist/esm-es5/animation.decorator-BRrK54mN.js +0 -1
  995. package/dist/esm-es5/array-CDfSqLEo.js +0 -1
  996. package/dist/esm-es5/bal-doc-app.entry.js +0 -1
  997. package/dist/esm-es5/bal-logo.animation-Bm-_mal3.js +0 -1
  998. package/dist/esm-es5/breakpoints.decorator-B9fGMzyI.js +0 -1
  999. package/dist/esm-es5/breakpoints.subject-D2jditew.js +0 -1
  1000. package/dist/esm-es5/config.decorator-g255X8DE.js +0 -1
  1001. package/dist/esm-es5/date-CzITO5fO.js +0 -1
  1002. package/dist/esm-es5/device-dF5vUTps.js +0 -1
  1003. package/dist/esm-es5/element-states.decorator-Dk8OIOdm.js +0 -1
  1004. package/dist/esm-es5/floating-ui-ITd61PST.js +0 -1
  1005. package/dist/esm-es5/focus-visible-DqCbGYzv.js +0 -1
  1006. package/dist/esm-es5/focus.decorator-MIxVqnNR.js +0 -1
  1007. package/dist/esm-es5/form-input-DyU_I7Nf.js +0 -1
  1008. package/dist/esm-es5/index-B4k_dH6V.js +0 -1
  1009. package/dist/esm-es5/index-BU7FUSdu.js +0 -1
  1010. package/dist/esm-es5/index-D6JOtC1P.js +0 -1
  1011. package/dist/esm-es5/index-DgPiq0y0.js +0 -2
  1012. package/dist/esm-es5/index-dYcsHLfj.js +0 -1
  1013. package/dist/esm-es5/index-zWZxKBfo.js +0 -1
  1014. package/dist/esm-es5/index.esm-Btc0yydR.js +0 -1
  1015. package/dist/esm-es5/listener-BRXdr5Mk.js +0 -1
  1016. package/dist/esm-es5/lottie_light_html-DuyI5RA6.js +0 -9
  1017. package/dist/esm-es5/mutation.decorator-CFRV3n5T.js +0 -1
  1018. package/dist/esm-es5/number-DI8U2zZ7.js +0 -1
  1019. package/dist/esm-es5/overlays-BE8fsAF4.js +0 -1
  1020. package/dist/esm-es5/purify.es-B3Q-Lii3.js +0 -2
  1021. package/dist/esm-es5/resize.decorator-CdfVlqf4.js +0 -1
  1022. package/dist/esm-es5/scroll-ytafAebU.js +0 -1
  1023. package/dist/esm-es5/swipe.subject-2eHkUcpg.js +0 -1
  1024. package/dist/esm-es5/swiper.util-Dy8CWRH7.js +0 -1
  1025. package/dist/esm-es5/utils-C_qktPg7.js +0 -1
  1026. package/dist/esm-es5/visibility.decorator-B1BbAwZf.js +0 -1
  1027. package/dist/esm-es5/window-resize.decorator-B1fuKglH.js +0 -1
  1028. package/dist/esm-es5/window-resize.subject-Dl0mHA8u.js +0 -1
  1029. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
  1030. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +0 -82
  1031. /package/components/{floating-ui.dom.js → floating-ui.dom.esm.js} +0 -0
  1032. /package/dist/baloise-design-system/{p-DIC_sxLd.js → p-06ecf846.js} +0 -0
  1033. /package/dist/baloise-design-system/{p-JHAE10yr.js → p-09ab29d6.js} +0 -0
  1034. /package/dist/baloise-design-system/{p-BkEdlCZJ.js → p-11f970ba.js} +0 -0
  1035. /package/dist/baloise-design-system/{p-DPYRyPTD.system.js → p-14d0c5f3.system.js} +0 -0
  1036. /package/dist/baloise-design-system/{p-DuObDTix.js → p-1a158488.js} +0 -0
  1037. /package/dist/baloise-design-system/{p-DWgCJRpS.system.js → p-278aed95.system.js} +0 -0
  1038. /package/dist/baloise-design-system/{p-DKjTFqnu.system.js → p-2da669b4.system.js} +0 -0
  1039. /package/dist/baloise-design-system/{p-CDt5sRVY.system.js → p-3ecc7d9a.system.js} +0 -0
  1040. /package/dist/baloise-design-system/{p-dfXERft2.js → p-43c9f5e9.js} +0 -0
  1041. /package/dist/baloise-design-system/{p-BktTDSq4.system.js → p-4c0bad70.system.js} +0 -0
  1042. /package/dist/baloise-design-system/{p-SdtgSPca.system.js → p-4e642b63.system.js} +0 -0
  1043. /package/dist/baloise-design-system/{p-Dz-E2PRm.system.js → p-59d9918c.system.js} +0 -0
  1044. /package/dist/baloise-design-system/{p-FCLKfv6B.js → p-5eb3fbb9.js} +0 -0
  1045. /package/dist/baloise-design-system/{p-BLp4ll3i.js → p-5ed239cc.js} +0 -0
  1046. /package/dist/baloise-design-system/{p-CGJ8YYiA.system.js → p-5f26e92f.system.js} +0 -0
  1047. /package/dist/baloise-design-system/{p-DAOAbG5Y.system.js → p-6b45db53.system.js} +0 -0
  1048. /package/dist/baloise-design-system/{p-Cjiw70Dk.system.js → p-6dbef894.system.js} +0 -0
  1049. /package/dist/baloise-design-system/{p-CTl0uAFp.system.js → p-8a2bab70.system.js} +0 -0
  1050. /package/dist/baloise-design-system/{p-B4aDEwd8.js → p-8dc7ee30.js} +0 -0
  1051. /package/dist/baloise-design-system/{p-DBsOHTWj.js → p-8f2e9a7f.js} +0 -0
  1052. /package/dist/baloise-design-system/{p-CLfE_o7e.system.js → p-907368ff.system.js} +0 -0
  1053. /package/dist/baloise-design-system/{p-wTePExHL.system.js → p-99cfab9c.system.js} +0 -0
  1054. /package/dist/baloise-design-system/{p-Ct27z6g9.js → p-a0fe8d65.js} +0 -0
  1055. /package/dist/baloise-design-system/{p-rBUN7c88.js → p-a65bc5e2.js} +0 -0
  1056. /package/dist/baloise-design-system/{p-DEb5iNGc.js → p-ad81b8ea.js} +0 -0
  1057. /package/dist/baloise-design-system/{p-ByiN-QjD.js → p-ae86d0a0.js} +0 -0
  1058. /package/dist/baloise-design-system/{p-Dd7xQwRJ.system.js → p-ba579059.system.js} +0 -0
  1059. /package/dist/baloise-design-system/{p-BbAtjg9Y.system.js → p-db0895e2.system.js} +0 -0
  1060. /package/dist/baloise-design-system/{p-D1VPLQ5z.js → p-dc98854c.js} +0 -0
  1061. /package/dist/baloise-design-system/{p-D5Gy6WbU.system.js → p-e7d72d7c.system.js} +0 -0
  1062. /package/dist/baloise-design-system/{p-xVPGsAdF.js → p-ec1efe3d.js} +0 -0
  1063. /package/dist/baloise-design-system/{p-BmVI6cLw.js → p-f3f5ce4f.js} +0 -0
  1064. /package/dist/baloise-design-system/{p-DkfWaTsH.system.js → p-fe76780d.system.js} +0 -0
  1065. /package/dist/cjs/{aria-BzkqcV7W.js → aria-7672033f.js} +0 -0
  1066. /package/dist/cjs/{bal-close.i18n-B3X5xlkl.js → bal-close.i18n-56dddd35.js} +0 -0
  1067. /package/dist/cjs/{bal-file-upload.type-BzNkF3YQ.js → bal-file-upload.type-616d69d9.js} +0 -0
  1068. /package/dist/cjs/{bal-input-stepper.i18n-D57DHpYR.js → bal-input-stepper.i18n-dbcd32ab.js} +0 -0
  1069. /package/dist/cjs/{bal-label.i18n-BcNNm9Es.js → bal-label.i18n-a25878af.js} +0 -0
  1070. /package/dist/cjs/{bal-step.util-DQcaqybX.js → bal-step.util-3c009db9.js} +0 -0
  1071. /package/dist/cjs/{bal-tab.util-DFGwGbfr.js → bal-tab.util-d0785ef4.js} +0 -0
  1072. /package/dist/cjs/{bal-time-input.i18n-Bfr3EMVD.js → bal-time-input.i18n-b2bb9182.js} +0 -0
  1073. /package/dist/cjs/{bem-p0PWVN8n.js → bem-81bc6a2d.js} +0 -0
  1074. /package/dist/cjs/{contact-qHJM5IBh.js → contact-61b41246.js} +0 -0
  1075. /package/dist/cjs/{floating-ui.dom-BPU3HWKX.js → floating-ui.dom.esm-13e3f667.js} +0 -0
  1076. /package/dist/cjs/{form-BSlIiqcR.js → form-17c98ac2.js} +0 -0
  1077. /package/dist/cjs/{keyboard.helpers-BkZpVT-9.js → keyboard.helpers-2093e793.js} +0 -0
  1078. /package/dist/cjs/{keys.constant-LnwxHAZo.js → keys.constant-b53da545.js} +0 -0
  1079. /package/dist/cjs/{mask-util-B8hrxmqO.js → mask-util-19c28b4a.js} +0 -0
  1080. /package/dist/cjs/{option-kGk4eTdA.js → option-85af0921.js} +0 -0
  1081. /package/dist/esm/{aria-DBsOHTWj.js → aria-ea150568.js} +0 -0
  1082. /package/dist/esm/{bal-close.i18n-Ct27z6g9.js → bal-close.i18n-f2daa707.js} +0 -0
  1083. /package/dist/esm/{bal-file-upload.type-rBUN7c88.js → bal-file-upload.type-2a70f4ec.js} +0 -0
  1084. /package/dist/esm/{bal-input-stepper.i18n-DEb5iNGc.js → bal-input-stepper.i18n-aaa4a009.js} +0 -0
  1085. /package/dist/esm/{bal-label.i18n-JHAE10yr.js → bal-label.i18n-4212be56.js} +0 -0
  1086. /package/dist/esm/{bal-step.util-DIC_sxLd.js → bal-step.util-3905ad56.js} +0 -0
  1087. /package/dist/esm/{bal-tab.util-BmVI6cLw.js → bal-tab.util-933315fe.js} +0 -0
  1088. /package/dist/esm/{bal-time-input.i18n-B4aDEwd8.js → bal-time-input.i18n-157c7092.js} +0 -0
  1089. /package/dist/esm/{bem-ByiN-QjD.js → bem-8c7d2eb0.js} +0 -0
  1090. /package/dist/esm/{contact-BkEdlCZJ.js → contact-91a44c8c.js} +0 -0
  1091. /package/dist/esm/{floating-ui.dom-DKxvaA1I.js → floating-ui.dom.esm-efb93616.js} +0 -0
  1092. /package/dist/esm/{form-FCLKfv6B.js → form-841232ff.js} +0 -0
  1093. /package/dist/esm/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-159e517d.js} +0 -0
  1094. /package/dist/esm/{keys.constant-xVPGsAdF.js → keys.constant-0eb059e0.js} +0 -0
  1095. /package/dist/esm/{mask-util-DuObDTix.js → mask-util-71edc2b8.js} +0 -0
  1096. /package/dist/esm/{option-BLp4ll3i.js → option-367a5341.js} +0 -0
  1097. /package/dist/esm-es5/{aria-DBsOHTWj.js → aria-ea150568.js} +0 -0
  1098. /package/dist/esm-es5/{bal-close.i18n-Ct27z6g9.js → bal-close.i18n-f2daa707.js} +0 -0
  1099. /package/dist/esm-es5/{bal-file-upload.type-rBUN7c88.js → bal-file-upload.type-2a70f4ec.js} +0 -0
  1100. /package/dist/esm-es5/{bal-input-stepper.i18n-DEb5iNGc.js → bal-input-stepper.i18n-aaa4a009.js} +0 -0
  1101. /package/dist/esm-es5/{bal-label.i18n-JHAE10yr.js → bal-label.i18n-4212be56.js} +0 -0
  1102. /package/dist/esm-es5/{bal-step.util-DIC_sxLd.js → bal-step.util-3905ad56.js} +0 -0
  1103. /package/dist/esm-es5/{bal-tab.util-BmVI6cLw.js → bal-tab.util-933315fe.js} +0 -0
  1104. /package/dist/esm-es5/{bal-time-input.i18n-B4aDEwd8.js → bal-time-input.i18n-157c7092.js} +0 -0
  1105. /package/dist/esm-es5/{bem-ByiN-QjD.js → bem-8c7d2eb0.js} +0 -0
  1106. /package/dist/esm-es5/{contact-BkEdlCZJ.js → contact-91a44c8c.js} +0 -0
  1107. /package/dist/esm-es5/{floating-ui.dom-DKxvaA1I.js → floating-ui.dom.esm-efb93616.js} +0 -0
  1108. /package/dist/esm-es5/{form-FCLKfv6B.js → form-841232ff.js} +0 -0
  1109. /package/dist/esm-es5/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-159e517d.js} +0 -0
  1110. /package/dist/esm-es5/{keys.constant-xVPGsAdF.js → keys.constant-0eb059e0.js} +0 -0
  1111. /package/dist/esm-es5/{mask-util-DuObDTix.js → mask-util-71edc2b8.js} +0 -0
  1112. /package/dist/esm-es5/{option-BLp4ll3i.js → option-367a5341.js} +0 -0
  1113. /package/dist/esm-es5/{tslib.es6-dfXERft2.js → tslib.es6-654e2c24.js} +0 -0
@@ -1,18 +1,25 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D4vG8k57.js');
4
- var tslib_es6 = require('./tslib.es6-DrfCPgT9.js');
5
- var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
6
- var aria = require('./aria-BzkqcV7W.js');
7
- var attributes = require('./attributes-Cp0kpySW.js');
8
- var bem = require('./bem-p0PWVN8n.js');
9
- var config_decorator = require('./config.decorator-D_FjiIar.js');
10
- var form = require('./form-BSlIiqcR.js');
11
- var formInput = require('./form-input-B660-bjw.js');
12
- var number = require('./number-hhFX3aKU.js');
13
- var balInputStepper_i18n = require('./bal-input-stepper.i18n-D57DHpYR.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
14
4
 
15
- var big$1 = {exports: {}};
5
+ const index = require('./index-84f42282.js');
6
+ const tslib_es6 = require('./tslib.es6-a680968e.js');
7
+ const _commonjsHelpers = require('./_commonjsHelpers-68cdf74f.js');
8
+ const number = require('./number-24bf265b.js');
9
+ const helpers = require('./helpers-debb881a.js');
10
+ const attributes = require('./attributes-11acd153.js');
11
+ const formInput = require('./form-input-e9974433.js');
12
+ const bem = require('./bem-81bc6a2d.js');
13
+ const form = require('./form-17c98ac2.js');
14
+ const balInputStepper_i18n = require('./bal-input-stepper.i18n-dbcd32ab.js');
15
+ const log = require('./log-33398c2a.js');
16
+ const aria = require('./aria-7672033f.js');
17
+ const config_default = require('./config.default-7e96eb95.js');
18
+ const config_decorator = require('./config.decorator-de244188.js');
19
+ require('./config.utils-df30e424.js');
20
+ require('./browser-1d542d0f.js');
21
+
22
+ var big = {exports: {}};
16
23
 
17
24
  /*
18
25
  * big.js v6.2.1
@@ -20,1113 +27,1061 @@ var big$1 = {exports: {}};
20
27
  * Copyright (c) 2022 Michael Mclaughlin
21
28
  * https://github.com/MikeMcl/big.js/LICENCE.md
22
29
  */
23
- var big = big$1.exports;
24
-
25
- var hasRequiredBig;
26
30
 
27
- function requireBig () {
28
- if (hasRequiredBig) return big$1.exports;
29
- hasRequiredBig = 1;
30
- (function (module) {
31
+ (function (module) {
31
32
  (function (GLOBAL) {
32
- var Big,
33
-
34
-
35
- /************************************** EDITABLE DEFAULTS *****************************************/
36
-
37
-
38
- // The default values below must be integers within the stated ranges.
39
-
40
- /*
41
- * The maximum number of decimal places (DP) of the results of operations involving division:
42
- * div and sqrt, and pow with negative exponents.
43
- */
44
- DP = 20, // 0 to MAX_DP
45
-
46
- /*
47
- * The rounding mode (RM) used when rounding to the above decimal places.
48
- *
49
- * 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
50
- * 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
51
- * 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
52
- * 3 Away from zero. (ROUND_UP)
53
- */
54
- RM = 1, // 0, 1, 2 or 3
55
-
56
- // The maximum value of DP and Big.DP.
57
- MAX_DP = 1E6, // 0 to 1000000
58
-
59
- // The maximum magnitude of the exponent argument to the pow method.
60
- MAX_POWER = 1E6, // 1 to 1000000
61
-
62
- /*
63
- * The negative exponent (NE) at and beneath which toString returns exponential notation.
64
- * (JavaScript numbers: -7)
65
- * -1000000 is the minimum recommended exponent value of a Big.
66
- */
67
- NE = -7, // 0 to -1000000
68
-
69
- /*
70
- * The positive exponent (PE) at and above which toString returns exponential notation.
71
- * (JavaScript numbers: 21)
72
- * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
73
- */
74
- PE = 21, // 0 to 1000000
75
-
76
- /*
77
- * When true, an error will be thrown if a primitive number is passed to the Big constructor,
78
- * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
79
- * primitive number without a loss of precision.
80
- */
81
- STRICT = false, // true or false
82
-
83
-
84
- /**************************************************************************************************/
85
-
86
-
87
- // Error messages.
88
- NAME = '[big.js] ',
89
- INVALID = NAME + 'Invalid ',
90
- INVALID_DP = INVALID + 'decimal places',
91
- INVALID_RM = INVALID + 'rounding mode',
92
- DIV_BY_ZERO = NAME + 'Division by zero',
93
-
94
- // The shared prototype object.
95
- P = {},
96
- UNDEFINED = void 0,
97
- NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
98
-
99
-
100
- /*
101
- * Create and return a Big constructor.
102
- */
103
- function _Big_() {
104
-
105
- /*
106
- * The Big constructor and exported function.
107
- * Create and return a new instance of a Big number object.
108
- *
109
- * n {number|string|Big} A numeric value.
110
- */
111
- function Big(n) {
112
- var x = this;
113
-
114
- // Enable constructor usage without new.
115
- if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
116
-
117
- // Duplicate.
118
- if (n instanceof Big) {
119
- x.s = n.s;
120
- x.e = n.e;
121
- x.c = n.c.slice();
122
- } else {
123
- if (typeof n !== 'string') {
124
- if (Big.strict === true && typeof n !== 'bigint') {
125
- throw TypeError(INVALID + 'value');
126
- }
127
-
128
- // Minus zero?
129
- n = n === 0 && 1 / n < 0 ? '-0' : String(n);
130
- }
131
-
132
- parse(x, n);
133
- }
134
-
135
- // Retain a reference to this Big constructor.
136
- // Shadow Big.prototype.constructor which points to Object.
137
- x.constructor = Big;
138
- }
139
-
140
- Big.prototype = P;
141
- Big.DP = DP;
142
- Big.RM = RM;
143
- Big.NE = NE;
144
- Big.PE = PE;
145
- Big.strict = STRICT;
146
- Big.roundDown = 0;
147
- Big.roundHalfUp = 1;
148
- Big.roundHalfEven = 2;
149
- Big.roundUp = 3;
150
-
151
- return Big;
152
- }
153
-
154
-
155
- /*
156
- * Parse the number or string value passed to a Big constructor.
157
- *
158
- * x {Big} A Big number instance.
159
- * n {number|string} A numeric value.
160
- */
161
- function parse(x, n) {
162
- var e, i, nl;
163
-
164
- if (!NUMERIC.test(n)) {
165
- throw Error(INVALID + 'number');
166
- }
167
-
168
- // Determine sign.
169
- x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
170
-
171
- // Decimal point?
172
- if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
173
-
174
- // Exponential form?
175
- if ((i = n.search(/e/i)) > 0) {
176
-
177
- // Determine exponent.
178
- if (e < 0) e = i;
179
- e += +n.slice(i + 1);
180
- n = n.substring(0, i);
181
- } else if (e < 0) {
182
-
183
- // Integer.
184
- e = n.length;
185
- }
186
-
187
- nl = n.length;
188
-
189
- // Determine leading zeros.
190
- for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
191
-
192
- if (i == nl) {
193
-
194
- // Zero.
195
- x.c = [x.e = 0];
196
- } else {
197
-
198
- // Determine trailing zeros.
199
- for (; nl > 0 && n.charAt(--nl) == '0';);
200
- x.e = e - i - 1;
201
- x.c = [];
202
-
203
- // Convert string to array of digits without leading/trailing zeros.
204
- for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
205
- }
206
-
207
- return x;
208
- }
209
-
210
-
211
- /*
212
- * Round Big x to a maximum of sd significant digits using rounding mode rm.
213
- *
214
- * x {Big} The Big to round.
215
- * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
216
- * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
217
- * [more] {boolean} Whether the result of division was truncated.
218
- */
219
- function round(x, sd, rm, more) {
220
- var xc = x.c;
221
-
222
- if (rm === UNDEFINED) rm = x.constructor.RM;
223
- if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
224
- throw Error(INVALID_RM);
225
- }
226
-
227
- if (sd < 1) {
228
- more =
229
- rm === 3 && (more || !!xc[0]) || sd === 0 && (
230
- rm === 1 && xc[0] >= 5 ||
231
- rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
232
- );
233
-
234
- xc.length = 1;
235
-
236
- if (more) {
237
-
238
- // 1, 0.1, 0.01, 0.001, 0.0001 etc.
239
- x.e = x.e - sd + 1;
240
- xc[0] = 1;
241
- } else {
242
-
243
- // Zero.
244
- xc[0] = x.e = 0;
245
- }
246
- } else if (sd < xc.length) {
247
-
248
- // xc[sd] is the digit after the digit that may be rounded up.
249
- more =
250
- rm === 1 && xc[sd] >= 5 ||
251
- rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
252
- (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
253
- rm === 3 && (more || !!xc[0]);
254
-
255
- // Remove any digits after the required precision.
256
- xc.length = sd;
257
-
258
- // Round up?
259
- if (more) {
260
-
261
- // Rounding up may mean the previous digit has to be rounded up.
262
- for (; ++xc[--sd] > 9;) {
263
- xc[sd] = 0;
264
- if (sd === 0) {
265
- ++x.e;
266
- xc.unshift(1);
267
- break;
268
- }
269
- }
270
- }
271
-
272
- // Remove trailing zeros.
273
- for (sd = xc.length; !xc[--sd];) xc.pop();
274
- }
275
-
276
- return x;
277
- }
278
-
279
-
280
- /*
281
- * Return a string representing the value of Big x in normal or exponential notation.
282
- * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
283
- */
284
- function stringify(x, doExponential, isNonzero) {
285
- var e = x.e,
286
- s = x.c.join(''),
287
- n = s.length;
288
-
289
- // Exponential notation?
290
- if (doExponential) {
291
- s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
292
-
293
- // Normal notation.
294
- } else if (e < 0) {
295
- for (; ++e;) s = '0' + s;
296
- s = '0.' + s;
297
- } else if (e > 0) {
298
- if (++e > n) {
299
- for (e -= n; e--;) s += '0';
300
- } else if (e < n) {
301
- s = s.slice(0, e) + '.' + s.slice(e);
302
- }
303
- } else if (n > 1) {
304
- s = s.charAt(0) + '.' + s.slice(1);
305
- }
306
-
307
- return x.s < 0 && isNonzero ? '-' + s : s;
308
- }
309
-
310
-
311
- // Prototype/instance methods
312
-
313
-
314
- /*
315
- * Return a new Big whose value is the absolute value of this Big.
316
- */
317
- P.abs = function () {
318
- var x = new this.constructor(this);
319
- x.s = 1;
320
- return x;
321
- };
322
-
323
-
324
- /*
325
- * Return 1 if the value of this Big is greater than the value of Big y,
326
- * -1 if the value of this Big is less than the value of Big y, or
327
- * 0 if they have the same value.
328
- */
329
- P.cmp = function (y) {
330
- var isneg,
331
- x = this,
332
- xc = x.c,
333
- yc = (y = new x.constructor(y)).c,
334
- i = x.s,
335
- j = y.s,
336
- k = x.e,
337
- l = y.e;
338
-
339
- // Either zero?
340
- if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
341
-
342
- // Signs differ?
343
- if (i != j) return i;
344
-
345
- isneg = i < 0;
346
-
347
- // Compare exponents.
348
- if (k != l) return k > l ^ isneg ? 1 : -1;
349
-
350
- j = (k = xc.length) < (l = yc.length) ? k : l;
351
-
352
- // Compare digit by digit.
353
- for (i = -1; ++i < j;) {
354
- if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
355
- }
356
-
357
- // Compare lengths.
358
- return k == l ? 0 : k > l ^ isneg ? 1 : -1;
359
- };
360
-
361
-
362
- /*
363
- * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
364
- * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
365
- */
366
- P.div = function (y) {
367
- var x = this,
368
- Big = x.constructor,
369
- a = x.c, // dividend
370
- b = (y = new Big(y)).c, // divisor
371
- k = x.s == y.s ? 1 : -1,
372
- dp = Big.DP;
373
-
374
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
375
- throw Error(INVALID_DP);
376
- }
377
-
378
- // Divisor is zero?
379
- if (!b[0]) {
380
- throw Error(DIV_BY_ZERO);
381
- }
382
-
383
- // Dividend is 0? Return +-0.
384
- if (!a[0]) {
385
- y.s = k;
386
- y.c = [y.e = 0];
387
- return y;
388
- }
389
-
390
- var bl, bt, n, cmp, ri,
391
- bz = b.slice(),
392
- ai = bl = b.length,
393
- al = a.length,
394
- r = a.slice(0, bl), // remainder
395
- rl = r.length,
396
- q = y, // quotient
397
- qc = q.c = [],
398
- qi = 0,
399
- p = dp + (q.e = x.e - y.e) + 1; // precision of the result
400
-
401
- q.s = k;
402
- k = p < 0 ? 0 : p;
403
-
404
- // Create version of divisor with leading zero.
405
- bz.unshift(0);
406
-
407
- // Add zeros to make remainder as long as divisor.
408
- for (; rl++ < bl;) r.push(0);
409
-
410
- do {
411
-
412
- // n is how many times the divisor goes into current remainder.
413
- for (n = 0; n < 10; n++) {
414
-
415
- // Compare divisor and remainder.
416
- if (bl != (rl = r.length)) {
417
- cmp = bl > rl ? 1 : -1;
418
- } else {
419
- for (ri = -1, cmp = 0; ++ri < bl;) {
420
- if (b[ri] != r[ri]) {
421
- cmp = b[ri] > r[ri] ? 1 : -1;
422
- break;
423
- }
424
- }
425
- }
426
-
427
- // If divisor < remainder, subtract divisor from remainder.
428
- if (cmp < 0) {
429
-
430
- // Remainder can't be more than 1 digit longer than divisor.
431
- // Equalise lengths using divisor with extra leading zero?
432
- for (bt = rl == bl ? b : bz; rl;) {
433
- if (r[--rl] < bt[rl]) {
434
- ri = rl;
435
- for (; ri && !r[--ri];) r[ri] = 9;
436
- --r[ri];
437
- r[rl] += 10;
438
- }
439
- r[rl] -= bt[rl];
440
- }
441
-
442
- for (; !r[0];) r.shift();
443
- } else {
444
- break;
445
- }
446
- }
447
-
448
- // Add the digit n to the result array.
449
- qc[qi++] = cmp ? n : ++n;
450
-
451
- // Update the remainder.
452
- if (r[0] && cmp) r[rl] = a[ai] || 0;
453
- else r = [a[ai]];
454
-
455
- } while ((ai++ < al || r[0] !== UNDEFINED) && k--);
456
-
457
- // Leading zero? Do not remove if result is simply zero (qi == 1).
458
- if (!qc[0] && qi != 1) {
459
-
460
- // There can't be more than one zero.
461
- qc.shift();
462
- q.e--;
463
- p--;
464
- }
465
-
466
- // Round?
467
- if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
468
-
469
- return q;
470
- };
471
-
472
-
473
- /*
474
- * Return true if the value of this Big is equal to the value of Big y, otherwise return false.
475
- */
476
- P.eq = function (y) {
477
- return this.cmp(y) === 0;
478
- };
479
-
480
-
481
- /*
482
- * Return true if the value of this Big is greater than the value of Big y, otherwise return
483
- * false.
484
- */
485
- P.gt = function (y) {
486
- return this.cmp(y) > 0;
487
- };
488
-
489
-
490
- /*
491
- * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
492
- * return false.
493
- */
494
- P.gte = function (y) {
495
- return this.cmp(y) > -1;
496
- };
497
-
498
-
499
- /*
500
- * Return true if the value of this Big is less than the value of Big y, otherwise return false.
501
- */
502
- P.lt = function (y) {
503
- return this.cmp(y) < 0;
504
- };
505
-
506
-
507
- /*
508
- * Return true if the value of this Big is less than or equal to the value of Big y, otherwise
509
- * return false.
510
- */
511
- P.lte = function (y) {
512
- return this.cmp(y) < 1;
513
- };
514
-
515
-
516
- /*
517
- * Return a new Big whose value is the value of this Big minus the value of Big y.
518
- */
519
- P.minus = P.sub = function (y) {
520
- var i, j, t, xlty,
521
- x = this,
522
- Big = x.constructor,
523
- a = x.s,
524
- b = (y = new Big(y)).s;
525
-
526
- // Signs differ?
527
- if (a != b) {
528
- y.s = -b;
529
- return x.plus(y);
530
- }
531
-
532
- var xc = x.c.slice(),
533
- xe = x.e,
534
- yc = y.c,
535
- ye = y.e;
536
-
537
- // Either zero?
538
- if (!xc[0] || !yc[0]) {
539
- if (yc[0]) {
540
- y.s = -b;
541
- } else if (xc[0]) {
542
- y = new Big(x);
543
- } else {
544
- y.s = 1;
545
- }
546
- return y;
547
- }
548
-
549
- // Determine which is the bigger number. Prepend zeros to equalise exponents.
550
- if (a = xe - ye) {
551
-
552
- if (xlty = a < 0) {
553
- a = -a;
554
- t = xc;
555
- } else {
556
- ye = xe;
557
- t = yc;
558
- }
559
-
560
- t.reverse();
561
- for (b = a; b--;) t.push(0);
562
- t.reverse();
563
- } else {
564
-
565
- // Exponents equal. Check digit by digit.
566
- j = ((xlty = xc.length < yc.length) ? xc : yc).length;
567
-
568
- for (a = b = 0; b < j; b++) {
569
- if (xc[b] != yc[b]) {
570
- xlty = xc[b] < yc[b];
571
- break;
572
- }
573
- }
574
- }
575
-
576
- // x < y? Point xc to the array of the bigger number.
577
- if (xlty) {
578
- t = xc;
579
- xc = yc;
580
- yc = t;
581
- y.s = -y.s;
582
- }
583
-
584
- /*
585
- * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
586
- * needs to start at yc.length.
587
- */
588
- if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
589
-
590
- // Subtract yc from xc.
591
- for (b = i; j > a;) {
592
- if (xc[--j] < yc[j]) {
593
- for (i = j; i && !xc[--i];) xc[i] = 9;
594
- --xc[i];
595
- xc[j] += 10;
596
- }
597
-
598
- xc[j] -= yc[j];
599
- }
600
-
601
- // Remove trailing zeros.
602
- for (; xc[--b] === 0;) xc.pop();
603
-
604
- // Remove leading zeros and adjust exponent accordingly.
605
- for (; xc[0] === 0;) {
606
- xc.shift();
607
- --ye;
608
- }
609
-
610
- if (!xc[0]) {
611
-
612
- // n - n = +0
613
- y.s = 1;
614
-
615
- // Result must be zero.
616
- xc = [ye = 0];
617
- }
618
-
619
- y.c = xc;
620
- y.e = ye;
621
-
622
- return y;
623
- };
624
-
625
-
626
- /*
627
- * Return a new Big whose value is the value of this Big modulo the value of Big y.
628
- */
629
- P.mod = function (y) {
630
- var ygtx,
631
- x = this,
632
- Big = x.constructor,
633
- a = x.s,
634
- b = (y = new Big(y)).s;
635
-
636
- if (!y.c[0]) {
637
- throw Error(DIV_BY_ZERO);
638
- }
639
-
640
- x.s = y.s = 1;
641
- ygtx = y.cmp(x) == 1;
642
- x.s = a;
643
- y.s = b;
644
-
645
- if (ygtx) return new Big(x);
646
-
647
- a = Big.DP;
648
- b = Big.RM;
649
- Big.DP = Big.RM = 0;
650
- x = x.div(y);
651
- Big.DP = a;
652
- Big.RM = b;
653
-
654
- return this.minus(x.times(y));
655
- };
656
-
657
-
658
- /*
659
- * Return a new Big whose value is the value of this Big negated.
660
- */
661
- P.neg = function () {
662
- var x = new this.constructor(this);
663
- x.s = -x.s;
664
- return x;
665
- };
666
-
667
-
668
- /*
669
- * Return a new Big whose value is the value of this Big plus the value of Big y.
670
- */
671
- P.plus = P.add = function (y) {
672
- var e, k, t,
673
- x = this,
674
- Big = x.constructor;
675
-
676
- y = new Big(y);
677
-
678
- // Signs differ?
679
- if (x.s != y.s) {
680
- y.s = -y.s;
681
- return x.minus(y);
682
- }
683
-
684
- var xe = x.e,
685
- xc = x.c,
686
- ye = y.e,
687
- yc = y.c;
688
-
689
- // Either zero?
690
- if (!xc[0] || !yc[0]) {
691
- if (!yc[0]) {
692
- if (xc[0]) {
693
- y = new Big(x);
694
- } else {
695
- y.s = x.s;
696
- }
697
- }
698
- return y;
699
- }
700
-
701
- xc = xc.slice();
702
-
703
- // Prepend zeros to equalise exponents.
704
- // Note: reverse faster than unshifts.
705
- if (e = xe - ye) {
706
- if (e > 0) {
707
- ye = xe;
708
- t = yc;
709
- } else {
710
- e = -e;
711
- t = xc;
712
- }
713
-
714
- t.reverse();
715
- for (; e--;) t.push(0);
716
- t.reverse();
717
- }
718
-
719
- // Point xc to the longer array.
720
- if (xc.length - yc.length < 0) {
721
- t = yc;
722
- yc = xc;
723
- xc = t;
724
- }
725
-
726
- e = yc.length;
727
-
728
- // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
729
- for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
730
-
731
- // No need to check for zero, as +x + +y != 0 && -x + -y != 0
732
-
733
- if (k) {
734
- xc.unshift(k);
735
- ++ye;
736
- }
737
-
738
- // Remove trailing zeros.
739
- for (e = xc.length; xc[--e] === 0;) xc.pop();
740
-
741
- y.c = xc;
742
- y.e = ye;
743
-
744
- return y;
745
- };
746
-
747
-
748
- /*
749
- * Return a Big whose value is the value of this Big raised to the power n.
750
- * If n is negative, round to a maximum of Big.DP decimal places using rounding
751
- * mode Big.RM.
752
- *
753
- * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
754
- */
755
- P.pow = function (n) {
756
- var x = this,
757
- one = new x.constructor('1'),
758
- y = one,
759
- isneg = n < 0;
760
-
761
- if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
762
- throw Error(INVALID + 'exponent');
763
- }
764
-
765
- if (isneg) n = -n;
766
-
767
- for (;;) {
768
- if (n & 1) y = y.times(x);
769
- n >>= 1;
770
- if (!n) break;
771
- x = x.times(x);
772
- }
773
-
774
- return isneg ? one.div(y) : y;
775
- };
776
-
777
-
778
- /*
779
- * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
780
- * significant digits using rounding mode rm, or Big.RM if rm is not specified.
781
- *
782
- * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
783
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
784
- */
785
- P.prec = function (sd, rm) {
786
- if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
787
- throw Error(INVALID + 'precision');
788
- }
789
- return round(new this.constructor(this), sd, rm);
790
- };
791
-
792
-
793
- /*
794
- * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
795
- * using rounding mode rm, or Big.RM if rm is not specified.
796
- * If dp is negative, round to an integer which is a multiple of 10**-dp.
797
- * If dp is not specified, round to 0 decimal places.
798
- *
799
- * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
800
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
801
- */
802
- P.round = function (dp, rm) {
803
- if (dp === UNDEFINED) dp = 0;
804
- else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
805
- throw Error(INVALID_DP);
806
- }
807
- return round(new this.constructor(this), dp + this.e + 1, rm);
808
- };
809
-
810
-
811
- /*
812
- * Return a new Big whose value is the square root of the value of this Big, rounded, if
813
- * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
814
- */
815
- P.sqrt = function () {
816
- var r, c, t,
817
- x = this,
818
- Big = x.constructor,
819
- s = x.s,
820
- e = x.e,
821
- half = new Big('0.5');
822
-
823
- // Zero?
824
- if (!x.c[0]) return new Big(x);
825
-
826
- // Negative?
827
- if (s < 0) {
828
- throw Error(NAME + 'No square root');
829
- }
830
-
831
- // Estimate.
832
- s = Math.sqrt(x + '');
833
-
834
- // Math.sqrt underflow/overflow?
835
- // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
836
- if (s === 0 || s === 1 / 0) {
837
- c = x.c.join('');
838
- if (!(c.length + e & 1)) c += '0';
839
- s = Math.sqrt(c);
840
- e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
841
- r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
842
- } else {
843
- r = new Big(s + '');
844
- }
845
-
846
- e = r.e + (Big.DP += 4);
847
-
848
- // Newton-Raphson iteration.
849
- do {
850
- t = r;
851
- r = half.times(t.plus(x.div(t)));
852
- } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
853
-
854
- return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
855
- };
856
-
857
-
858
- /*
859
- * Return a new Big whose value is the value of this Big times the value of Big y.
860
- */
861
- P.times = P.mul = function (y) {
862
- var c,
863
- x = this,
864
- Big = x.constructor,
865
- xc = x.c,
866
- yc = (y = new Big(y)).c,
867
- a = xc.length,
868
- b = yc.length,
869
- i = x.e,
870
- j = y.e;
871
-
872
- // Determine sign of result.
873
- y.s = x.s == y.s ? 1 : -1;
874
-
875
- // Return signed 0 if either 0.
876
- if (!xc[0] || !yc[0]) {
877
- y.c = [y.e = 0];
878
- return y;
879
- }
880
-
881
- // Initialise exponent of result as x.e + y.e.
882
- y.e = i + j;
883
-
884
- // If array xc has fewer digits than yc, swap xc and yc, and lengths.
885
- if (a < b) {
886
- c = xc;
887
- xc = yc;
888
- yc = c;
889
- j = a;
890
- a = b;
891
- b = j;
892
- }
893
-
894
- // Initialise coefficient array of result with zeros.
895
- for (c = new Array(j = a + b); j--;) c[j] = 0;
896
-
897
- // Multiply.
898
-
899
- // i is initially xc.length.
900
- for (i = b; i--;) {
901
- b = 0;
902
-
903
- // a is yc.length.
904
- for (j = a + i; j > i;) {
905
-
906
- // Current sum of products at this digit position, plus carry.
907
- b = c[j] + yc[i] * xc[j - i - 1] + b;
908
- c[j--] = b % 10;
909
-
910
- // carry
911
- b = b / 10 | 0;
912
- }
913
-
914
- c[j] = b;
915
- }
916
-
917
- // Increment result exponent if there is a final carry, otherwise remove leading zero.
918
- if (b) ++y.e;
919
- else c.shift();
920
-
921
- // Remove trailing zeros.
922
- for (i = c.length; !c[--i];) c.pop();
923
- y.c = c;
924
-
925
- return y;
926
- };
927
-
928
-
929
- /*
930
- * Return a string representing the value of this Big in exponential notation rounded to dp fixed
931
- * decimal places using rounding mode rm, or Big.RM if rm is not specified.
932
- *
933
- * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
934
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
935
- */
936
- P.toExponential = function (dp, rm) {
937
- var x = this,
938
- n = x.c[0];
939
-
940
- if (dp !== UNDEFINED) {
941
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
942
- throw Error(INVALID_DP);
943
- }
944
- x = round(new x.constructor(x), ++dp, rm);
945
- for (; x.c.length < dp;) x.c.push(0);
946
- }
947
-
948
- return stringify(x, true, !!n);
949
- };
950
-
951
-
952
- /*
953
- * Return a string representing the value of this Big in normal notation rounded to dp fixed
954
- * decimal places using rounding mode rm, or Big.RM if rm is not specified.
955
- *
956
- * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
957
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
958
- *
959
- * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
960
- * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
961
- */
962
- P.toFixed = function (dp, rm) {
963
- var x = this,
964
- n = x.c[0];
965
-
966
- if (dp !== UNDEFINED) {
967
- if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
968
- throw Error(INVALID_DP);
969
- }
970
- x = round(new x.constructor(x), dp + x.e + 1, rm);
971
-
972
- // x.e may have changed if the value is rounded up.
973
- for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
974
- }
975
-
976
- return stringify(x, false, !!n);
977
- };
978
-
979
-
980
- /*
981
- * Return a string representing the value of this Big.
982
- * Return exponential notation if this Big has a positive exponent equal to or greater than
983
- * Big.PE, or a negative exponent equal to or less than Big.NE.
984
- * Omit the sign for negative zero.
985
- */
986
- P.toJSON = P.toString = function () {
987
- var x = this,
988
- Big = x.constructor;
989
- return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
990
- };
991
-
992
-
993
- /*
994
- * Return the value of this Big as a primitve number.
995
- */
996
- P.toNumber = function () {
997
- var n = Number(stringify(this, true, true));
998
- if (this.constructor.strict === true && !this.eq(n.toString())) {
999
- throw Error(NAME + 'Imprecise conversion');
1000
- }
1001
- return n;
1002
- };
1003
-
1004
-
1005
- /*
1006
- * Return a string representing the value of this Big rounded to sd significant digits using
1007
- * rounding mode rm, or Big.RM if rm is not specified.
1008
- * Use exponential notation if sd is less than the number of digits necessary to represent
1009
- * the integer part of the value in normal notation.
1010
- *
1011
- * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
1012
- * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
1013
- */
1014
- P.toPrecision = function (sd, rm) {
1015
- var x = this,
1016
- Big = x.constructor,
1017
- n = x.c[0];
1018
-
1019
- if (sd !== UNDEFINED) {
1020
- if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
1021
- throw Error(INVALID + 'precision');
1022
- }
1023
- x = round(new Big(x), sd, rm);
1024
- for (; x.c.length < sd;) x.c.push(0);
1025
- }
1026
-
1027
- return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
1028
- };
1029
-
1030
-
1031
- /*
1032
- * Return a string representing the value of this Big.
1033
- * Return exponential notation if this Big has a positive exponent equal to or greater than
1034
- * Big.PE, or a negative exponent equal to or less than Big.NE.
1035
- * Include the sign for negative zero.
1036
- */
1037
- P.valueOf = function () {
1038
- var x = this,
1039
- Big = x.constructor;
1040
- if (Big.strict === true) {
1041
- throw Error(NAME + 'valueOf disallowed');
1042
- }
1043
- return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
1044
- };
1045
-
1046
-
1047
- // Export
1048
-
1049
-
1050
- Big = _Big_();
1051
-
1052
- Big['default'] = Big.Big = Big;
1053
-
1054
- //AMD.
1055
- if (module.exports) {
1056
- module.exports = Big;
1057
-
1058
- //Browser.
1059
- } else {
1060
- GLOBAL.Big = Big;
1061
- }
1062
- })(big);
1063
- } (big$1));
1064
- return big$1.exports;
1065
- }
33
+ var Big,
34
+
35
+
36
+ /************************************** EDITABLE DEFAULTS *****************************************/
37
+
38
+
39
+ // The default values below must be integers within the stated ranges.
40
+
41
+ /*
42
+ * The maximum number of decimal places (DP) of the results of operations involving division:
43
+ * div and sqrt, and pow with negative exponents.
44
+ */
45
+ DP = 20, // 0 to MAX_DP
46
+
47
+ /*
48
+ * The rounding mode (RM) used when rounding to the above decimal places.
49
+ *
50
+ * 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
51
+ * 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
52
+ * 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
53
+ * 3 Away from zero. (ROUND_UP)
54
+ */
55
+ RM = 1, // 0, 1, 2 or 3
56
+
57
+ // The maximum value of DP and Big.DP.
58
+ MAX_DP = 1E6, // 0 to 1000000
59
+
60
+ // The maximum magnitude of the exponent argument to the pow method.
61
+ MAX_POWER = 1E6, // 1 to 1000000
62
+
63
+ /*
64
+ * The negative exponent (NE) at and beneath which toString returns exponential notation.
65
+ * (JavaScript numbers: -7)
66
+ * -1000000 is the minimum recommended exponent value of a Big.
67
+ */
68
+ NE = -7, // 0 to -1000000
69
+
70
+ /*
71
+ * The positive exponent (PE) at and above which toString returns exponential notation.
72
+ * (JavaScript numbers: 21)
73
+ * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
74
+ */
75
+ PE = 21, // 0 to 1000000
76
+
77
+ /*
78
+ * When true, an error will be thrown if a primitive number is passed to the Big constructor,
79
+ * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
80
+ * primitive number without a loss of precision.
81
+ */
82
+ STRICT = false, // true or false
83
+
84
+
85
+ /**************************************************************************************************/
86
+
87
+
88
+ // Error messages.
89
+ NAME = '[big.js] ',
90
+ INVALID = NAME + 'Invalid ',
91
+ INVALID_DP = INVALID + 'decimal places',
92
+ INVALID_RM = INVALID + 'rounding mode',
93
+ DIV_BY_ZERO = NAME + 'Division by zero',
94
+
95
+ // The shared prototype object.
96
+ P = {},
97
+ UNDEFINED = void 0,
98
+ NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
99
+
100
+
101
+ /*
102
+ * Create and return a Big constructor.
103
+ */
104
+ function _Big_() {
105
+
106
+ /*
107
+ * The Big constructor and exported function.
108
+ * Create and return a new instance of a Big number object.
109
+ *
110
+ * n {number|string|Big} A numeric value.
111
+ */
112
+ function Big(n) {
113
+ var x = this;
114
+
115
+ // Enable constructor usage without new.
116
+ if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
117
+
118
+ // Duplicate.
119
+ if (n instanceof Big) {
120
+ x.s = n.s;
121
+ x.e = n.e;
122
+ x.c = n.c.slice();
123
+ } else {
124
+ if (typeof n !== 'string') {
125
+ if (Big.strict === true && typeof n !== 'bigint') {
126
+ throw TypeError(INVALID + 'value');
127
+ }
128
+
129
+ // Minus zero?
130
+ n = n === 0 && 1 / n < 0 ? '-0' : String(n);
131
+ }
132
+
133
+ parse(x, n);
134
+ }
135
+
136
+ // Retain a reference to this Big constructor.
137
+ // Shadow Big.prototype.constructor which points to Object.
138
+ x.constructor = Big;
139
+ }
140
+
141
+ Big.prototype = P;
142
+ Big.DP = DP;
143
+ Big.RM = RM;
144
+ Big.NE = NE;
145
+ Big.PE = PE;
146
+ Big.strict = STRICT;
147
+ Big.roundDown = 0;
148
+ Big.roundHalfUp = 1;
149
+ Big.roundHalfEven = 2;
150
+ Big.roundUp = 3;
151
+
152
+ return Big;
153
+ }
154
+
155
+
156
+ /*
157
+ * Parse the number or string value passed to a Big constructor.
158
+ *
159
+ * x {Big} A Big number instance.
160
+ * n {number|string} A numeric value.
161
+ */
162
+ function parse(x, n) {
163
+ var e, i, nl;
164
+
165
+ if (!NUMERIC.test(n)) {
166
+ throw Error(INVALID + 'number');
167
+ }
168
+
169
+ // Determine sign.
170
+ x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
171
+
172
+ // Decimal point?
173
+ if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
174
+
175
+ // Exponential form?
176
+ if ((i = n.search(/e/i)) > 0) {
177
+
178
+ // Determine exponent.
179
+ if (e < 0) e = i;
180
+ e += +n.slice(i + 1);
181
+ n = n.substring(0, i);
182
+ } else if (e < 0) {
183
+
184
+ // Integer.
185
+ e = n.length;
186
+ }
187
+
188
+ nl = n.length;
189
+
190
+ // Determine leading zeros.
191
+ for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
192
+
193
+ if (i == nl) {
194
+
195
+ // Zero.
196
+ x.c = [x.e = 0];
197
+ } else {
198
+
199
+ // Determine trailing zeros.
200
+ for (; nl > 0 && n.charAt(--nl) == '0';);
201
+ x.e = e - i - 1;
202
+ x.c = [];
203
+
204
+ // Convert string to array of digits without leading/trailing zeros.
205
+ for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
206
+ }
207
+
208
+ return x;
209
+ }
210
+
211
+
212
+ /*
213
+ * Round Big x to a maximum of sd significant digits using rounding mode rm.
214
+ *
215
+ * x {Big} The Big to round.
216
+ * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
217
+ * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
218
+ * [more] {boolean} Whether the result of division was truncated.
219
+ */
220
+ function round(x, sd, rm, more) {
221
+ var xc = x.c;
222
+
223
+ if (rm === UNDEFINED) rm = x.constructor.RM;
224
+ if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
225
+ throw Error(INVALID_RM);
226
+ }
227
+
228
+ if (sd < 1) {
229
+ more =
230
+ rm === 3 && (more || !!xc[0]) || sd === 0 && (
231
+ rm === 1 && xc[0] >= 5 ||
232
+ rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
233
+ );
234
+
235
+ xc.length = 1;
236
+
237
+ if (more) {
238
+
239
+ // 1, 0.1, 0.01, 0.001, 0.0001 etc.
240
+ x.e = x.e - sd + 1;
241
+ xc[0] = 1;
242
+ } else {
243
+
244
+ // Zero.
245
+ xc[0] = x.e = 0;
246
+ }
247
+ } else if (sd < xc.length) {
248
+
249
+ // xc[sd] is the digit after the digit that may be rounded up.
250
+ more =
251
+ rm === 1 && xc[sd] >= 5 ||
252
+ rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
253
+ (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
254
+ rm === 3 && (more || !!xc[0]);
255
+
256
+ // Remove any digits after the required precision.
257
+ xc.length = sd;
258
+
259
+ // Round up?
260
+ if (more) {
261
+
262
+ // Rounding up may mean the previous digit has to be rounded up.
263
+ for (; ++xc[--sd] > 9;) {
264
+ xc[sd] = 0;
265
+ if (sd === 0) {
266
+ ++x.e;
267
+ xc.unshift(1);
268
+ break;
269
+ }
270
+ }
271
+ }
272
+
273
+ // Remove trailing zeros.
274
+ for (sd = xc.length; !xc[--sd];) xc.pop();
275
+ }
276
+
277
+ return x;
278
+ }
279
+
280
+
281
+ /*
282
+ * Return a string representing the value of Big x in normal or exponential notation.
283
+ * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
284
+ */
285
+ function stringify(x, doExponential, isNonzero) {
286
+ var e = x.e,
287
+ s = x.c.join(''),
288
+ n = s.length;
289
+
290
+ // Exponential notation?
291
+ if (doExponential) {
292
+ s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
293
+
294
+ // Normal notation.
295
+ } else if (e < 0) {
296
+ for (; ++e;) s = '0' + s;
297
+ s = '0.' + s;
298
+ } else if (e > 0) {
299
+ if (++e > n) {
300
+ for (e -= n; e--;) s += '0';
301
+ } else if (e < n) {
302
+ s = s.slice(0, e) + '.' + s.slice(e);
303
+ }
304
+ } else if (n > 1) {
305
+ s = s.charAt(0) + '.' + s.slice(1);
306
+ }
307
+
308
+ return x.s < 0 && isNonzero ? '-' + s : s;
309
+ }
310
+
311
+
312
+ // Prototype/instance methods
313
+
314
+
315
+ /*
316
+ * Return a new Big whose value is the absolute value of this Big.
317
+ */
318
+ P.abs = function () {
319
+ var x = new this.constructor(this);
320
+ x.s = 1;
321
+ return x;
322
+ };
323
+
324
+
325
+ /*
326
+ * Return 1 if the value of this Big is greater than the value of Big y,
327
+ * -1 if the value of this Big is less than the value of Big y, or
328
+ * 0 if they have the same value.
329
+ */
330
+ P.cmp = function (y) {
331
+ var isneg,
332
+ x = this,
333
+ xc = x.c,
334
+ yc = (y = new x.constructor(y)).c,
335
+ i = x.s,
336
+ j = y.s,
337
+ k = x.e,
338
+ l = y.e;
339
+
340
+ // Either zero?
341
+ if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
342
+
343
+ // Signs differ?
344
+ if (i != j) return i;
345
+
346
+ isneg = i < 0;
347
+
348
+ // Compare exponents.
349
+ if (k != l) return k > l ^ isneg ? 1 : -1;
350
+
351
+ j = (k = xc.length) < (l = yc.length) ? k : l;
352
+
353
+ // Compare digit by digit.
354
+ for (i = -1; ++i < j;) {
355
+ if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
356
+ }
357
+
358
+ // Compare lengths.
359
+ return k == l ? 0 : k > l ^ isneg ? 1 : -1;
360
+ };
361
+
362
+
363
+ /*
364
+ * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
365
+ * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
366
+ */
367
+ P.div = function (y) {
368
+ var x = this,
369
+ Big = x.constructor,
370
+ a = x.c, // dividend
371
+ b = (y = new Big(y)).c, // divisor
372
+ k = x.s == y.s ? 1 : -1,
373
+ dp = Big.DP;
374
+
375
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
376
+ throw Error(INVALID_DP);
377
+ }
378
+
379
+ // Divisor is zero?
380
+ if (!b[0]) {
381
+ throw Error(DIV_BY_ZERO);
382
+ }
383
+
384
+ // Dividend is 0? Return +-0.
385
+ if (!a[0]) {
386
+ y.s = k;
387
+ y.c = [y.e = 0];
388
+ return y;
389
+ }
390
+
391
+ var bl, bt, n, cmp, ri,
392
+ bz = b.slice(),
393
+ ai = bl = b.length,
394
+ al = a.length,
395
+ r = a.slice(0, bl), // remainder
396
+ rl = r.length,
397
+ q = y, // quotient
398
+ qc = q.c = [],
399
+ qi = 0,
400
+ p = dp + (q.e = x.e - y.e) + 1; // precision of the result
401
+
402
+ q.s = k;
403
+ k = p < 0 ? 0 : p;
404
+
405
+ // Create version of divisor with leading zero.
406
+ bz.unshift(0);
407
+
408
+ // Add zeros to make remainder as long as divisor.
409
+ for (; rl++ < bl;) r.push(0);
410
+
411
+ do {
412
+
413
+ // n is how many times the divisor goes into current remainder.
414
+ for (n = 0; n < 10; n++) {
415
+
416
+ // Compare divisor and remainder.
417
+ if (bl != (rl = r.length)) {
418
+ cmp = bl > rl ? 1 : -1;
419
+ } else {
420
+ for (ri = -1, cmp = 0; ++ri < bl;) {
421
+ if (b[ri] != r[ri]) {
422
+ cmp = b[ri] > r[ri] ? 1 : -1;
423
+ break;
424
+ }
425
+ }
426
+ }
427
+
428
+ // If divisor < remainder, subtract divisor from remainder.
429
+ if (cmp < 0) {
430
+
431
+ // Remainder can't be more than 1 digit longer than divisor.
432
+ // Equalise lengths using divisor with extra leading zero?
433
+ for (bt = rl == bl ? b : bz; rl;) {
434
+ if (r[--rl] < bt[rl]) {
435
+ ri = rl;
436
+ for (; ri && !r[--ri];) r[ri] = 9;
437
+ --r[ri];
438
+ r[rl] += 10;
439
+ }
440
+ r[rl] -= bt[rl];
441
+ }
442
+
443
+ for (; !r[0];) r.shift();
444
+ } else {
445
+ break;
446
+ }
447
+ }
448
+
449
+ // Add the digit n to the result array.
450
+ qc[qi++] = cmp ? n : ++n;
451
+
452
+ // Update the remainder.
453
+ if (r[0] && cmp) r[rl] = a[ai] || 0;
454
+ else r = [a[ai]];
455
+
456
+ } while ((ai++ < al || r[0] !== UNDEFINED) && k--);
457
+
458
+ // Leading zero? Do not remove if result is simply zero (qi == 1).
459
+ if (!qc[0] && qi != 1) {
460
+
461
+ // There can't be more than one zero.
462
+ qc.shift();
463
+ q.e--;
464
+ p--;
465
+ }
466
+
467
+ // Round?
468
+ if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
469
+
470
+ return q;
471
+ };
472
+
473
+
474
+ /*
475
+ * Return true if the value of this Big is equal to the value of Big y, otherwise return false.
476
+ */
477
+ P.eq = function (y) {
478
+ return this.cmp(y) === 0;
479
+ };
480
+
481
+
482
+ /*
483
+ * Return true if the value of this Big is greater than the value of Big y, otherwise return
484
+ * false.
485
+ */
486
+ P.gt = function (y) {
487
+ return this.cmp(y) > 0;
488
+ };
489
+
490
+
491
+ /*
492
+ * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
493
+ * return false.
494
+ */
495
+ P.gte = function (y) {
496
+ return this.cmp(y) > -1;
497
+ };
498
+
499
+
500
+ /*
501
+ * Return true if the value of this Big is less than the value of Big y, otherwise return false.
502
+ */
503
+ P.lt = function (y) {
504
+ return this.cmp(y) < 0;
505
+ };
506
+
507
+
508
+ /*
509
+ * Return true if the value of this Big is less than or equal to the value of Big y, otherwise
510
+ * return false.
511
+ */
512
+ P.lte = function (y) {
513
+ return this.cmp(y) < 1;
514
+ };
515
+
516
+
517
+ /*
518
+ * Return a new Big whose value is the value of this Big minus the value of Big y.
519
+ */
520
+ P.minus = P.sub = function (y) {
521
+ var i, j, t, xlty,
522
+ x = this,
523
+ Big = x.constructor,
524
+ a = x.s,
525
+ b = (y = new Big(y)).s;
526
+
527
+ // Signs differ?
528
+ if (a != b) {
529
+ y.s = -b;
530
+ return x.plus(y);
531
+ }
532
+
533
+ var xc = x.c.slice(),
534
+ xe = x.e,
535
+ yc = y.c,
536
+ ye = y.e;
537
+
538
+ // Either zero?
539
+ if (!xc[0] || !yc[0]) {
540
+ if (yc[0]) {
541
+ y.s = -b;
542
+ } else if (xc[0]) {
543
+ y = new Big(x);
544
+ } else {
545
+ y.s = 1;
546
+ }
547
+ return y;
548
+ }
549
+
550
+ // Determine which is the bigger number. Prepend zeros to equalise exponents.
551
+ if (a = xe - ye) {
552
+
553
+ if (xlty = a < 0) {
554
+ a = -a;
555
+ t = xc;
556
+ } else {
557
+ ye = xe;
558
+ t = yc;
559
+ }
560
+
561
+ t.reverse();
562
+ for (b = a; b--;) t.push(0);
563
+ t.reverse();
564
+ } else {
565
+
566
+ // Exponents equal. Check digit by digit.
567
+ j = ((xlty = xc.length < yc.length) ? xc : yc).length;
568
+
569
+ for (a = b = 0; b < j; b++) {
570
+ if (xc[b] != yc[b]) {
571
+ xlty = xc[b] < yc[b];
572
+ break;
573
+ }
574
+ }
575
+ }
576
+
577
+ // x < y? Point xc to the array of the bigger number.
578
+ if (xlty) {
579
+ t = xc;
580
+ xc = yc;
581
+ yc = t;
582
+ y.s = -y.s;
583
+ }
584
+
585
+ /*
586
+ * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
587
+ * needs to start at yc.length.
588
+ */
589
+ if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
590
+
591
+ // Subtract yc from xc.
592
+ for (b = i; j > a;) {
593
+ if (xc[--j] < yc[j]) {
594
+ for (i = j; i && !xc[--i];) xc[i] = 9;
595
+ --xc[i];
596
+ xc[j] += 10;
597
+ }
598
+
599
+ xc[j] -= yc[j];
600
+ }
601
+
602
+ // Remove trailing zeros.
603
+ for (; xc[--b] === 0;) xc.pop();
604
+
605
+ // Remove leading zeros and adjust exponent accordingly.
606
+ for (; xc[0] === 0;) {
607
+ xc.shift();
608
+ --ye;
609
+ }
610
+
611
+ if (!xc[0]) {
612
+
613
+ // n - n = +0
614
+ y.s = 1;
615
+
616
+ // Result must be zero.
617
+ xc = [ye = 0];
618
+ }
619
+
620
+ y.c = xc;
621
+ y.e = ye;
622
+
623
+ return y;
624
+ };
625
+
626
+
627
+ /*
628
+ * Return a new Big whose value is the value of this Big modulo the value of Big y.
629
+ */
630
+ P.mod = function (y) {
631
+ var ygtx,
632
+ x = this,
633
+ Big = x.constructor,
634
+ a = x.s,
635
+ b = (y = new Big(y)).s;
636
+
637
+ if (!y.c[0]) {
638
+ throw Error(DIV_BY_ZERO);
639
+ }
640
+
641
+ x.s = y.s = 1;
642
+ ygtx = y.cmp(x) == 1;
643
+ x.s = a;
644
+ y.s = b;
645
+
646
+ if (ygtx) return new Big(x);
647
+
648
+ a = Big.DP;
649
+ b = Big.RM;
650
+ Big.DP = Big.RM = 0;
651
+ x = x.div(y);
652
+ Big.DP = a;
653
+ Big.RM = b;
654
+
655
+ return this.minus(x.times(y));
656
+ };
657
+
658
+
659
+ /*
660
+ * Return a new Big whose value is the value of this Big negated.
661
+ */
662
+ P.neg = function () {
663
+ var x = new this.constructor(this);
664
+ x.s = -x.s;
665
+ return x;
666
+ };
667
+
668
+
669
+ /*
670
+ * Return a new Big whose value is the value of this Big plus the value of Big y.
671
+ */
672
+ P.plus = P.add = function (y) {
673
+ var e, k, t,
674
+ x = this,
675
+ Big = x.constructor;
676
+
677
+ y = new Big(y);
678
+
679
+ // Signs differ?
680
+ if (x.s != y.s) {
681
+ y.s = -y.s;
682
+ return x.minus(y);
683
+ }
684
+
685
+ var xe = x.e,
686
+ xc = x.c,
687
+ ye = y.e,
688
+ yc = y.c;
689
+
690
+ // Either zero?
691
+ if (!xc[0] || !yc[0]) {
692
+ if (!yc[0]) {
693
+ if (xc[0]) {
694
+ y = new Big(x);
695
+ } else {
696
+ y.s = x.s;
697
+ }
698
+ }
699
+ return y;
700
+ }
701
+
702
+ xc = xc.slice();
703
+
704
+ // Prepend zeros to equalise exponents.
705
+ // Note: reverse faster than unshifts.
706
+ if (e = xe - ye) {
707
+ if (e > 0) {
708
+ ye = xe;
709
+ t = yc;
710
+ } else {
711
+ e = -e;
712
+ t = xc;
713
+ }
714
+
715
+ t.reverse();
716
+ for (; e--;) t.push(0);
717
+ t.reverse();
718
+ }
719
+
720
+ // Point xc to the longer array.
721
+ if (xc.length - yc.length < 0) {
722
+ t = yc;
723
+ yc = xc;
724
+ xc = t;
725
+ }
726
+
727
+ e = yc.length;
728
+
729
+ // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
730
+ for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
731
+
732
+ // No need to check for zero, as +x + +y != 0 && -x + -y != 0
733
+
734
+ if (k) {
735
+ xc.unshift(k);
736
+ ++ye;
737
+ }
738
+
739
+ // Remove trailing zeros.
740
+ for (e = xc.length; xc[--e] === 0;) xc.pop();
741
+
742
+ y.c = xc;
743
+ y.e = ye;
744
+
745
+ return y;
746
+ };
747
+
748
+
749
+ /*
750
+ * Return a Big whose value is the value of this Big raised to the power n.
751
+ * If n is negative, round to a maximum of Big.DP decimal places using rounding
752
+ * mode Big.RM.
753
+ *
754
+ * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
755
+ */
756
+ P.pow = function (n) {
757
+ var x = this,
758
+ one = new x.constructor('1'),
759
+ y = one,
760
+ isneg = n < 0;
761
+
762
+ if (n !== ~~n || n < -MAX_POWER || n > MAX_POWER) {
763
+ throw Error(INVALID + 'exponent');
764
+ }
765
+
766
+ if (isneg) n = -n;
767
+
768
+ for (;;) {
769
+ if (n & 1) y = y.times(x);
770
+ n >>= 1;
771
+ if (!n) break;
772
+ x = x.times(x);
773
+ }
774
+
775
+ return isneg ? one.div(y) : y;
776
+ };
777
+
778
+
779
+ /*
780
+ * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
781
+ * significant digits using rounding mode rm, or Big.RM if rm is not specified.
782
+ *
783
+ * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
784
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
785
+ */
786
+ P.prec = function (sd, rm) {
787
+ if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
788
+ throw Error(INVALID + 'precision');
789
+ }
790
+ return round(new this.constructor(this), sd, rm);
791
+ };
792
+
793
+
794
+ /*
795
+ * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
796
+ * using rounding mode rm, or Big.RM if rm is not specified.
797
+ * If dp is negative, round to an integer which is a multiple of 10**-dp.
798
+ * If dp is not specified, round to 0 decimal places.
799
+ *
800
+ * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
801
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
802
+ */
803
+ P.round = function (dp, rm) {
804
+ if (dp === UNDEFINED) dp = 0;
805
+ else if (dp !== ~~dp || dp < -MAX_DP || dp > MAX_DP) {
806
+ throw Error(INVALID_DP);
807
+ }
808
+ return round(new this.constructor(this), dp + this.e + 1, rm);
809
+ };
810
+
811
+
812
+ /*
813
+ * Return a new Big whose value is the square root of the value of this Big, rounded, if
814
+ * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
815
+ */
816
+ P.sqrt = function () {
817
+ var r, c, t,
818
+ x = this,
819
+ Big = x.constructor,
820
+ s = x.s,
821
+ e = x.e,
822
+ half = new Big('0.5');
823
+
824
+ // Zero?
825
+ if (!x.c[0]) return new Big(x);
826
+
827
+ // Negative?
828
+ if (s < 0) {
829
+ throw Error(NAME + 'No square root');
830
+ }
831
+
832
+ // Estimate.
833
+ s = Math.sqrt(x + '');
834
+
835
+ // Math.sqrt underflow/overflow?
836
+ // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
837
+ if (s === 0 || s === 1 / 0) {
838
+ c = x.c.join('');
839
+ if (!(c.length + e & 1)) c += '0';
840
+ s = Math.sqrt(c);
841
+ e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
842
+ r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
843
+ } else {
844
+ r = new Big(s + '');
845
+ }
846
+
847
+ e = r.e + (Big.DP += 4);
848
+
849
+ // Newton-Raphson iteration.
850
+ do {
851
+ t = r;
852
+ r = half.times(t.plus(x.div(t)));
853
+ } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
854
+
855
+ return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
856
+ };
857
+
858
+
859
+ /*
860
+ * Return a new Big whose value is the value of this Big times the value of Big y.
861
+ */
862
+ P.times = P.mul = function (y) {
863
+ var c,
864
+ x = this,
865
+ Big = x.constructor,
866
+ xc = x.c,
867
+ yc = (y = new Big(y)).c,
868
+ a = xc.length,
869
+ b = yc.length,
870
+ i = x.e,
871
+ j = y.e;
872
+
873
+ // Determine sign of result.
874
+ y.s = x.s == y.s ? 1 : -1;
875
+
876
+ // Return signed 0 if either 0.
877
+ if (!xc[0] || !yc[0]) {
878
+ y.c = [y.e = 0];
879
+ return y;
880
+ }
881
+
882
+ // Initialise exponent of result as x.e + y.e.
883
+ y.e = i + j;
884
+
885
+ // If array xc has fewer digits than yc, swap xc and yc, and lengths.
886
+ if (a < b) {
887
+ c = xc;
888
+ xc = yc;
889
+ yc = c;
890
+ j = a;
891
+ a = b;
892
+ b = j;
893
+ }
894
+
895
+ // Initialise coefficient array of result with zeros.
896
+ for (c = new Array(j = a + b); j--;) c[j] = 0;
897
+
898
+ // Multiply.
899
+
900
+ // i is initially xc.length.
901
+ for (i = b; i--;) {
902
+ b = 0;
903
+
904
+ // a is yc.length.
905
+ for (j = a + i; j > i;) {
906
+
907
+ // Current sum of products at this digit position, plus carry.
908
+ b = c[j] + yc[i] * xc[j - i - 1] + b;
909
+ c[j--] = b % 10;
910
+
911
+ // carry
912
+ b = b / 10 | 0;
913
+ }
914
+
915
+ c[j] = b;
916
+ }
917
+
918
+ // Increment result exponent if there is a final carry, otherwise remove leading zero.
919
+ if (b) ++y.e;
920
+ else c.shift();
921
+
922
+ // Remove trailing zeros.
923
+ for (i = c.length; !c[--i];) c.pop();
924
+ y.c = c;
925
+
926
+ return y;
927
+ };
928
+
929
+
930
+ /*
931
+ * Return a string representing the value of this Big in exponential notation rounded to dp fixed
932
+ * decimal places using rounding mode rm, or Big.RM if rm is not specified.
933
+ *
934
+ * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
935
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
936
+ */
937
+ P.toExponential = function (dp, rm) {
938
+ var x = this,
939
+ n = x.c[0];
940
+
941
+ if (dp !== UNDEFINED) {
942
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
943
+ throw Error(INVALID_DP);
944
+ }
945
+ x = round(new x.constructor(x), ++dp, rm);
946
+ for (; x.c.length < dp;) x.c.push(0);
947
+ }
948
+
949
+ return stringify(x, true, !!n);
950
+ };
951
+
952
+
953
+ /*
954
+ * Return a string representing the value of this Big in normal notation rounded to dp fixed
955
+ * decimal places using rounding mode rm, or Big.RM if rm is not specified.
956
+ *
957
+ * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
958
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
959
+ *
960
+ * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
961
+ * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
962
+ */
963
+ P.toFixed = function (dp, rm) {
964
+ var x = this,
965
+ n = x.c[0];
966
+
967
+ if (dp !== UNDEFINED) {
968
+ if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
969
+ throw Error(INVALID_DP);
970
+ }
971
+ x = round(new x.constructor(x), dp + x.e + 1, rm);
972
+
973
+ // x.e may have changed if the value is rounded up.
974
+ for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
975
+ }
976
+
977
+ return stringify(x, false, !!n);
978
+ };
979
+
980
+
981
+ /*
982
+ * Return a string representing the value of this Big.
983
+ * Return exponential notation if this Big has a positive exponent equal to or greater than
984
+ * Big.PE, or a negative exponent equal to or less than Big.NE.
985
+ * Omit the sign for negative zero.
986
+ */
987
+ P.toJSON = P.toString = function () {
988
+ var x = this,
989
+ Big = x.constructor;
990
+ return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
991
+ };
992
+
993
+
994
+ /*
995
+ * Return the value of this Big as a primitve number.
996
+ */
997
+ P.toNumber = function () {
998
+ var n = Number(stringify(this, true, true));
999
+ if (this.constructor.strict === true && !this.eq(n.toString())) {
1000
+ throw Error(NAME + 'Imprecise conversion');
1001
+ }
1002
+ return n;
1003
+ };
1004
+
1005
+
1006
+ /*
1007
+ * Return a string representing the value of this Big rounded to sd significant digits using
1008
+ * rounding mode rm, or Big.RM if rm is not specified.
1009
+ * Use exponential notation if sd is less than the number of digits necessary to represent
1010
+ * the integer part of the value in normal notation.
1011
+ *
1012
+ * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
1013
+ * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
1014
+ */
1015
+ P.toPrecision = function (sd, rm) {
1016
+ var x = this,
1017
+ Big = x.constructor,
1018
+ n = x.c[0];
1019
+
1020
+ if (sd !== UNDEFINED) {
1021
+ if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
1022
+ throw Error(INVALID + 'precision');
1023
+ }
1024
+ x = round(new Big(x), sd, rm);
1025
+ for (; x.c.length < sd;) x.c.push(0);
1026
+ }
1027
+
1028
+ return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
1029
+ };
1030
+
1031
+
1032
+ /*
1033
+ * Return a string representing the value of this Big.
1034
+ * Return exponential notation if this Big has a positive exponent equal to or greater than
1035
+ * Big.PE, or a negative exponent equal to or less than Big.NE.
1036
+ * Include the sign for negative zero.
1037
+ */
1038
+ P.valueOf = function () {
1039
+ var x = this,
1040
+ Big = x.constructor;
1041
+ if (Big.strict === true) {
1042
+ throw Error(NAME + 'valueOf disallowed');
1043
+ }
1044
+ return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
1045
+ };
1046
+
1047
+
1048
+ // Export
1049
+
1050
+
1051
+ Big = _Big_();
1052
+
1053
+ Big['default'] = Big.Big = Big;
1054
+
1055
+ //AMD.
1056
+ if (module.exports) {
1057
+ module.exports = Big;
1058
+
1059
+ //Browser.
1060
+ } else {
1061
+ GLOBAL.Big = Big;
1062
+ }
1063
+ })(_commonjsHelpers.commonjsGlobal);
1064
+ }(big));
1066
1065
 
1067
- var bigExports = requireBig();
1068
- var Big = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(bigExports);
1066
+ const Big = big.exports;
1069
1067
 
1070
- const balInputStepperCss = ".bal-input-stepper{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:static;display:inline-block}.bal-input-stepper__inner{display:-ms-flexbox;display:flex;gap:.25rem;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-input-stepper__inner__text{min-width:3rem;text-align:center;font-weight:700}.bal-input-stepper__inner__text--invalid{color:var(--bal-color-text-danger)}.bal-input-stepper__inner__text--disabled{color:var(--bal-color-text-grey)}.bal-input-stepper__input{position:absolute;width:0;height:0;left:0;top:0;margin:0;padding:0;opacity:0;outline:0}";
1068
+ const balInputStepperCss = ".bal-input-stepper{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:static;display:inline-block}.bal-input-stepper__inner{display:-ms-flexbox;display:flex;gap:.25rem;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-input-stepper__inner__text{min-width:3rem;text-align:center}.bal-input-stepper__input{position:absolute;width:0;height:0;left:0;top:0;margin:0;padding:0;opacity:0;outline:0}";
1069
+ const BalInputStepperStyle0 = balInputStepperCss;
1071
1070
 
1072
1071
  const InputStepper = class {
1073
1072
  constructor(hostRef) {
1074
1073
  index.registerInstance(this, hostRef);
1075
- this.balChange = index.createEvent(this, "balChange");
1076
- this.balInput = index.createEvent(this, "balInput");
1077
- this.balIncrease = index.createEvent(this, "balIncrease");
1078
- this.balDecrease = index.createEvent(this, "balDecrease");
1079
- this.balFocus = index.createEvent(this, "balFocus");
1080
- this.balBlur = index.createEvent(this, "balBlur");
1074
+ this.balChange = index.createEvent(this, "balChange", 7);
1075
+ this.balInput = index.createEvent(this, "balInput", 7);
1076
+ this.balIncrease = index.createEvent(this, "balIncrease", 7);
1077
+ this.balDecrease = index.createEvent(this, "balDecrease", 7);
1078
+ this.balFocus = index.createEvent(this, "balFocus", 7);
1079
+ this.balBlur = index.createEvent(this, "balBlur", 7);
1081
1080
  this.inputId = `bal-input-stepper-${InputStepperIds++}`;
1082
1081
  this.inheritedAttributes = {};
1083
1082
  this.decreaseHasFocus = false;
1084
1083
  this.increaseHasFocus = false;
1085
- this.focused = false;
1086
- this.language = index.defaultConfig.language;
1087
- this.region = index.defaultConfig.region;
1088
- this.ariaForm = form.defaultBalAriaForm;
1089
- /**
1090
- * The name of the control, which is submitted with the form data.
1091
- */
1092
- this.name = this.inputId;
1093
- /**
1094
- * The min value the input can have
1095
- */
1096
- this.min = 0;
1097
- /**
1098
- * The max value the input can have
1099
- */
1100
- this.max = 10;
1101
- /**
1102
- * The steps in which the input increases or decreases
1103
- */
1104
- this.steps = 1;
1105
- /**
1106
- * If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants.
1107
- */
1108
- this.disabled = false;
1109
- /**
1110
- * If `true` the element can not mutated, meaning the user can not edit the control.
1111
- */
1112
- this.readonly = false;
1113
- /**
1114
- * If `true` the input is shown as invalid
1115
- */
1116
- this.invalid = false;
1117
- /**
1118
- * Set the amount of time, in milliseconds, to wait to trigger the `balChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`.
1119
- */
1120
- this.debounce = 0;
1121
- /**
1122
- * The value of the input. Only allows values in the range of the min max attribute.
1123
- */
1124
- this.value = 0;
1125
1084
  this.initialValue = 0;
1126
- /**
1127
- * If `true`, in Angular reactive forms the control will not be set invalid
1128
- */
1129
- this.autoInvalidOff = false;
1130
1085
  this.onFocusDecrease = (ev) => {
1131
1086
  this.decreaseHasFocus = true;
1132
1087
  this.onFocus(ev);
@@ -1142,24 +1097,38 @@ const InputStepper = class {
1142
1097
  this.onBlurDecrease = (ev) => {
1143
1098
  formInput.stopEventBubbling(ev);
1144
1099
  this.decreaseHasFocus = false;
1145
- index.rIC(() => this.onBlur(ev.detail));
1100
+ helpers.rIC(() => this.onBlur(ev.detail));
1146
1101
  };
1147
1102
  this.onBlurIncrease = (ev) => {
1148
1103
  formInput.stopEventBubbling(ev);
1149
1104
  this.increaseHasFocus = false;
1150
- index.rIC(() => this.onBlur(ev.detail));
1105
+ helpers.rIC(() => this.onBlur(ev.detail));
1151
1106
  };
1152
1107
  this.onBlur = (ev) => {
1153
1108
  if (!(this.decreaseHasFocus || this.increaseHasFocus)) {
1154
1109
  this.balBlur.emit(ev);
1155
1110
  }
1156
1111
  };
1112
+ this.focused = false;
1113
+ this.language = config_default.defaultConfig.language;
1114
+ this.region = config_default.defaultConfig.region;
1115
+ this.ariaForm = form.defaultBalAriaForm;
1116
+ this.name = this.inputId;
1117
+ this.min = 0;
1118
+ this.max = 10;
1119
+ this.steps = 1;
1120
+ this.disabled = false;
1121
+ this.readonly = false;
1122
+ this.invalid = false;
1123
+ this.debounce = 0;
1124
+ this.value = 0;
1125
+ this.autoInvalidOff = false;
1157
1126
  }
1158
1127
  createLogger(log) {
1159
1128
  this.log = log;
1160
1129
  }
1161
1130
  debounceChanged() {
1162
- this.balChange = index.debounceEvent(this.balChange, this.debounce);
1131
+ this.balChange = helpers.debounceEvent(this.balChange, this.debounce);
1163
1132
  }
1164
1133
  listenOnClick(ev) {
1165
1134
  formInput.inputListenOnClick(this, ev);
@@ -1225,7 +1194,15 @@ const InputStepper = class {
1225
1194
  const elText = elInner.element('text');
1226
1195
  const increaseLabel = balInputStepper_i18n.i18nBalInputStepper[this.language].increase;
1227
1196
  const decreaseLabel = balInputStepper_i18n.i18nBalInputStepper[this.language].decrease;
1228
- return (index.h(index.Host, { key: 'cfa84687c890114f02d591a21a46a07661469a48', "aria-disabled": aria.ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, index.h("div", { key: '5335fcef9736cd54bc837ec55ab8431aac73ad49', class: Object.assign({}, elInner.class()) }, index.h("bal-button", { key: 'a55658ae806919db98ad1b388f0bf7314c7a744f', a11yTitle: decreaseLabel, a11yLabel: decreaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", square: true, "data-testid": "bal-input-stepper-decrease", outlined: !this.invalid, icon: "minus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value <= this.min, onClick: _ => this.decrease(), onBalFocus: ev => this.onFocusDecrease(ev), onBalBlur: ev => this.onBlurDecrease(ev) }), index.h("span", { key: '0a30ea1ba1435fe86b090d9aff393cb7520939aa', "data-testid": "bal-input-stepper-text", class: Object.assign(Object.assign(Object.assign({}, elText.class()), elText.modifier('invalid').class(this.invalid)), elText.modifier('disabled').class(this.disabled || this.readonly)) }, number.formatLocaleNumber(this.value)), index.h("bal-button", { key: '06004c24961ea016ef35fd0e1d029d08588b12e8', a11yTitle: increaseLabel, a11yLabel: increaseLabel, a11yControls: this.ariaForm.controlId || this.inputId, size: "small", "data-testid": "bal-input-stepper-increase", square: true, outlined: !this.invalid, icon: "plus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value >= this.max, onClick: _ => this.increase(), onBalFocus: ev => this.onFocusIncrease(ev), onBalBlur: ev => this.onBlurIncrease(ev) })), index.h("input", Object.assign({ key: '4b6c8ec2e19eb957d080fa79aef07667dc79a2ad', class: Object.assign({}, elInput.class()), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": aria.ariaBooleanToString(this.disabled), "data-testid": "bal-input-stepper", type: "text", value: this.value, name: this.name, tabindex: "-1", ref: inputEl => (this.nativeInput = inputEl), readonly: this.readonly, disabled: this.disabled }, this.inheritedAttributes))));
1197
+ return (index.h(index.Host, { key: 'cfa84687c890114f02d591a21a46a07661469a48', "aria-disabled": aria.ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, index.h("div", { key: '5335fcef9736cd54bc837ec55ab8431aac73ad49', class: Object.assign({}, elInner.class()) }, index.h("bal-button", { key: 'd38eb81f66d7c5ddda78c46fd4f7a761c1b118b9', aria: {
1198
+ title: decreaseLabel,
1199
+ label: decreaseLabel,
1200
+ controls: this.ariaForm.controlId || this.inputId,
1201
+ }, size: "small", square: true, "data-testid": "bal-input-stepper-decrease", outlined: !this.invalid, icon: "minus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value <= this.min, onClick: _ => this.decrease(), onBalFocus: ev => this.onFocusDecrease(ev), onBalBlur: ev => this.onBlurDecrease(ev) }), index.h("bal-text", { key: 'b04e1e5118df414fe27ad18b27c63f9d1f8296c4', space: "none", color: this.disabled || this.readonly ? 'grey' : this.invalid ? 'danger' : '', bold: true, class: Object.assign({}, elText.class()), "data-testid": "bal-input-stepper-text" }, number.formatLocaleNumber(this.value)), index.h("bal-button", { key: '72d30a316782c5a7b2a3b024ae6b1d0b2dddf218', aria: {
1202
+ title: increaseLabel,
1203
+ label: increaseLabel,
1204
+ controls: this.ariaForm.controlId || this.inputId,
1205
+ }, size: "small", "data-testid": "bal-input-stepper-increase", square: true, outlined: !this.invalid, icon: "plus", color: this.invalid ? 'danger' : 'info', disabled: this.disabled || this.readonly || this.value >= this.max, onClick: _ => this.increase(), onBalFocus: ev => this.onFocusIncrease(ev), onBalBlur: ev => this.onBlurIncrease(ev) })), index.h("input", Object.assign({ key: 'fc24fd180574bc350584e3375682a079278362ec', class: Object.assign({}, elInput.class()), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": aria.ariaBooleanToString(this.disabled), "data-testid": "bal-input-stepper", type: "text", value: this.value, name: this.name, tabindex: "-1", ref: inputEl => (this.nativeInput = inputEl), readonly: this.readonly, disabled: this.disabled }, this.inheritedAttributes))));
1229
1206
  }
1230
1207
  get el() { return index.getElement(this); }
1231
1208
  static get watchers() { return {
@@ -1233,7 +1210,7 @@ const InputStepper = class {
1233
1210
  }; }
1234
1211
  };
1235
1212
  tslib_es6.__decorate([
1236
- index.Logger('bal-input-stepper'),
1213
+ log.Logger('bal-input-stepper'),
1237
1214
  tslib_es6.__metadata("design:type", Function),
1238
1215
  tslib_es6.__metadata("design:paramtypes", [Function]),
1239
1216
  tslib_es6.__metadata("design:returntype", void 0)
@@ -1245,6 +1222,6 @@ tslib_es6.__decorate([
1245
1222
  tslib_es6.__metadata("design:returntype", Promise)
1246
1223
  ], InputStepper.prototype, "configChanged", null);
1247
1224
  let InputStepperIds = 0;
1248
- InputStepper.style = balInputStepperCss;
1225
+ InputStepper.style = BalInputStepperStyle0;
1249
1226
 
1250
1227
  exports.bal_input_stepper = InputStepper;