@baloise/ds-core 19.3.0 → 19.4.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.
- package/components/_commonjsHelpers.js +5 -1
- package/components/animation.decorator.js +1 -1
- package/components/array.js +3 -3
- package/components/attributes.js +0 -3
- package/components/bal-accordion-details.js +16 -5
- package/components/bal-accordion-summary.js +17 -6
- package/components/bal-accordion-trigger.js +49 -17
- package/components/bal-accordion.js +43 -15
- package/components/bal-app.js +11 -6
- package/components/bal-badge2.js +10 -3
- package/components/bal-button-group2.js +10 -0
- package/components/bal-button2.js +106 -32
- package/components/bal-card-actions.js +3 -0
- package/components/bal-card-button.js +19 -1
- package/components/bal-card-subtitle.js +13 -8
- package/components/bal-card-title.js +3 -0
- package/components/bal-card2.js +30 -4
- package/components/bal-carousel-item.js +36 -18
- package/components/bal-carousel.js +59 -10
- package/components/bal-check2.js +23 -2
- package/components/bal-checkbox-group.js +61 -21
- package/components/bal-checkbox2.js +93 -32
- package/components/bal-close2.js +9 -4
- package/components/bal-content2.js +24 -2
- package/components/bal-data-item.js +6 -0
- package/components/bal-data-label.js +3 -0
- package/components/bal-data-value.js +14 -5
- package/components/bal-data.js +8 -3
- package/components/bal-date-calendar-cell2.js +3 -8
- package/components/bal-date-calendar2.js +27 -31
- package/components/bal-date.js +72 -34
- package/components/bal-divider.js +18 -2
- package/components/bal-dropdown.js +107 -43
- package/components/bal-field-control.js +14 -0
- package/components/bal-field-hint.js +9 -0
- package/components/bal-field-label.js +32 -0
- package/components/bal-field-message.js +15 -0
- package/components/bal-field.js +31 -10
- package/components/bal-file-upload.js +103 -52
- package/components/bal-footer.js +22 -7
- package/components/bal-form-grid.js +1 -2
- package/components/bal-form.js +10 -2
- package/components/bal-heading2.js +25 -6
- package/components/bal-hint2.js +13 -12
- package/components/bal-icon2.js +965 -906
- package/components/bal-input-date2.js +45 -11
- package/components/bal-input-group2.js +10 -2
- package/components/bal-input-slider.js +57 -19
- package/components/bal-input-stepper.js +1105 -1081
- package/components/bal-input.js +135 -42
- package/components/bal-label2.js +52 -4
- package/components/bal-list-item-accordion-body2.js +13 -7
- package/components/bal-list-item-accordion-head2.js +17 -7
- package/components/bal-list-item-content2.js +0 -1
- package/components/bal-list-item-icon2.js +3 -0
- package/components/bal-list-item-title2.js +3 -1
- package/components/bal-list-item2.js +34 -11
- package/components/bal-list2.js +16 -2
- package/components/bal-logo.animation.js +2 -2
- package/components/bal-logo2.js +15 -3
- package/components/bal-modal.js +37 -9
- package/components/bal-nav-link-grid-col2.js +8 -2
- package/components/bal-nav-link-grid2.js +1 -2
- package/components/bal-nav-link-group.js +8 -2
- package/components/bal-nav-link2.js +18 -4
- package/components/bal-nav-menu-bar2.js +11 -2
- package/components/bal-nav-menu-flyout2.js +10 -3
- package/components/bal-nav-meta-bar2.js +20 -2
- package/components/bal-nav.js +33 -49
- package/components/bal-navbar-brand.js +28 -5
- package/components/bal-navbar-menu-end.js +6 -0
- package/components/bal-navbar-menu-start.js +6 -0
- package/components/bal-navbar-menu.js +6 -0
- package/components/bal-navbar.js +12 -2
- package/components/bal-notices.js +10 -2
- package/components/bal-notification.js +11 -2
- package/components/bal-number-input.js +66 -150
- package/components/bal-option-list.js +27 -7
- package/components/bal-option.js +40 -13
- package/components/bal-pagination.js +84 -64
- package/components/bal-popover-content2.js +28 -1
- package/components/bal-popover2.js +50 -13
- package/components/bal-popup2.js +58 -26
- package/components/bal-progress-bar.js +17 -4
- package/components/bal-radio-group.js +57 -21
- package/components/bal-radio-icon2.js +23 -2
- package/components/bal-radio2.js +78 -29
- package/components/bal-segment-item.js +35 -16
- package/components/bal-segment.js +42 -21
- package/components/bal-select-option2.js +7 -2
- package/components/bal-select2.js +107 -50
- package/components/bal-shape2.js +13 -5
- package/components/bal-sheet.js +4 -2
- package/components/bal-snackbar.js +35 -9
- package/components/bal-spinner.animation.js +1927 -1917
- package/components/bal-spinner2.js +27 -9
- package/components/bal-stack2.js +37 -4
- package/components/bal-stage-back-link.js +6 -2
- package/components/bal-stage-image.js +1 -3
- package/components/bal-stage.js +17 -8
- package/components/bal-step-item.js +31 -1
- package/components/bal-steps.js +30 -12
- package/components/bal-switch.js +20 -2
- package/components/bal-tab-item.js +48 -6
- package/components/bal-table.js +4 -2
- package/components/bal-tabs2.js +103 -45
- package/components/bal-tag2.js +26 -2
- package/components/bal-text.js +136 -1
- package/components/bal-textarea.js +52 -24
- package/components/bal-time-input.js +42 -19
- package/components/bal-toast.js +18 -3
- package/components/bal-tooltip.js +21 -4
- package/components/breakpoints.subject.js +5 -79
- package/components/config.default.js +2 -1
- package/components/config.utils.js +1 -1
- package/components/date.js +3212 -3825
- package/components/element-states.decorator.js +1 -1
- package/components/floating-ui.js +2 -2
- package/components/focus-visible.js +2 -2
- package/components/focus.decorator.js +1 -1
- package/components/form-input.js +1 -5
- package/components/helpers.js +2 -2
- package/components/index.esm.js +122 -118
- package/components/index.js +171 -21
- package/components/index2.js +44 -588
- package/components/index3.js +561 -27
- package/components/index4.js +591 -1849
- package/components/index5.js +1814 -506
- package/components/index6.js +125 -0
- package/components/keyboard.helpers.js +1 -1
- package/components/lottie_light_html.js +11694 -11684
- package/components/mutation.decorator.js +1 -1
- package/components/overlays.js +2 -2
- package/components/purify.es.js +1328 -0
- package/components/resize.decorator.js +1 -1
- package/components/swipe.subject.js +1 -1
- package/components/swiper.util.js +2 -2
- package/components/tokens.esm.js +3 -2
- package/components/tslib.es6.js +2 -0
- package/components/utils.js +6 -6
- package/components/visibility.decorator.js +1 -1
- package/components/window-resize.decorator.js +1 -24
- package/components/window-resize.listener.js +80 -0
- package/components/window-resize.subject.js +26 -0
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/p-017e7f7adf.entry.js +1 -0
- package/dist/baloise-design-system/{p-00e75d0c35.system.entry.js → p-040a6174c7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6077b576a9.system.entry.js → p-05e8130a9a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-08bc0ab24d.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0b9e84e4dd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0da4fe3026.entry.js +1 -0
- package/dist/baloise-design-system/p-0f679514b0.entry.js +1 -0
- package/dist/baloise-design-system/p-1112428fc6.entry.js +1 -0
- package/dist/baloise-design-system/p-152e669d59.system.entry.js +1 -0
- package/dist/baloise-design-system/p-166fa22c35.entry.js +1 -0
- package/dist/baloise-design-system/p-1799d59644.entry.js +1 -0
- package/dist/baloise-design-system/{p-1a99fea403.system.entry.js → p-19eda34a35.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-1a101b475e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1c13d69ca1.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1ecb79b6b5.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-de8600efe8.system.entry.js → p-1f7d71e0f6.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-22026f3f57.system.entry.js +1 -0
- package/dist/baloise-design-system/p-2384eefce1.entry.js +1 -0
- package/dist/baloise-design-system/p-247b0b800a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-2690f97b41.system.entry.js +1 -0
- package/dist/baloise-design-system/p-29cae69b8c.entry.js +1 -0
- package/dist/baloise-design-system/p-2f62e8007d.entry.js +1 -0
- package/dist/baloise-design-system/p-3125929936.entry.js +1 -0
- package/dist/baloise-design-system/p-3b5c4a42c4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-417b6e0a0b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-426a8d1128.entry.js +1 -0
- package/dist/baloise-design-system/p-4360835610.entry.js +1 -0
- package/dist/baloise-design-system/p-448a8ba385.entry.js +1 -0
- package/dist/baloise-design-system/p-46092a4585.entry.js +1 -0
- package/dist/baloise-design-system/{p-1e517d518d.system.entry.js → p-469d7c593e.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-4856c78a64.entry.js +1 -0
- package/dist/baloise-design-system/p-4b3fd230c6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-503b4ce7d0.entry.js +1 -0
- package/dist/baloise-design-system/p-52fa3d7015.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-05a5de36af.entry.js → p-5391a66037.entry.js} +1 -1
- package/dist/baloise-design-system/p-558adf45a6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-56951b4bb7.system.entry.js +1 -0
- package/dist/baloise-design-system/p-571b32fead.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5792932f82.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5aa8ca5691.entry.js +1 -0
- package/dist/baloise-design-system/p-5bc0576341.entry.js +1 -0
- package/dist/baloise-design-system/p-5da1420f1a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5ea15c8fda.entry.js +1 -0
- package/dist/baloise-design-system/{p-240e3621c6.entry.js → p-5ea5a9b3fa.entry.js} +1 -1
- package/dist/baloise-design-system/p-605048a7e8.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-d112488f3c.system.entry.js → p-605b22e87a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-619670d086.system.entry.js +1 -0
- package/dist/baloise-design-system/p-61d215dcc5.entry.js +1 -0
- package/dist/baloise-design-system/p-653f4e4238.entry.js +1 -0
- package/dist/baloise-design-system/p-6542d12863.entry.js +1 -0
- package/dist/baloise-design-system/p-680fe70c1a.entry.js +1 -0
- package/dist/baloise-design-system/p-68162ab75a.entry.js +1 -0
- package/dist/baloise-design-system/p-6d511d8e8e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-6d5bbdc67a.entry.js +1 -0
- package/dist/baloise-design-system/p-6d716224a8.entry.js +1 -0
- package/dist/baloise-design-system/p-6e463dc74b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-7632019f26.system.entry.js → p-6eeb094b9d.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-6efb9d0430.system.entry.js +1 -0
- package/dist/baloise-design-system/p-6f40242a5d.entry.js +1 -0
- package/dist/baloise-design-system/p-74dd1a8023.entry.js +1 -0
- package/dist/baloise-design-system/p-750daedf10.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7778560b6f.entry.js +1 -0
- package/dist/baloise-design-system/p-7b1dff4795.entry.js +1 -0
- package/dist/baloise-design-system/p-7cb21d670b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7e5c62d014.entry.js +1 -0
- package/dist/baloise-design-system/p-7e88d10258.system.entry.js +1 -0
- package/dist/baloise-design-system/p-833e1e02aa.entry.js +1 -0
- package/dist/baloise-design-system/p-83a6310bc0.entry.js +1 -0
- package/dist/baloise-design-system/{p-160c193287.entry.js → p-84f3cdac9b.entry.js} +1 -1
- package/dist/baloise-design-system/p-8c5aac149f.entry.js +1 -0
- package/dist/baloise-design-system/p-8f8bef4656.system.entry.js +1 -0
- package/dist/baloise-design-system/p-909bc3558a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-925b31dca9.entry.js +1 -0
- package/dist/baloise-design-system/p-9276e4e5ca.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-0d07e6caf8.entry.js → p-9417181fc3.entry.js} +1 -1
- package/dist/baloise-design-system/p-96fbe5e737.entry.js +1 -0
- package/dist/baloise-design-system/p-99d1051abd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-9bed353090.system.entry.js +1 -0
- package/dist/baloise-design-system/p-9f221cd147.system.entry.js +1 -0
- package/dist/baloise-design-system/p-B1TzZiNl.js +1 -0
- package/dist/baloise-design-system/p-B1a79Kak.system.js +1 -0
- package/dist/baloise-design-system/p-B23n0-TV.js +1 -0
- package/dist/baloise-design-system/p-B3Q-Lii3.js +2 -0
- package/dist/baloise-design-system/p-B4Kne3kP.system.js +1 -0
- package/dist/baloise-design-system/p-B71F7E77.js +1 -0
- package/dist/baloise-design-system/p-B7wsjSwt.system.js +1 -0
- package/dist/baloise-design-system/p-BANVEd3P.js +1 -0
- package/dist/baloise-design-system/p-BAaDJIzy.js +1 -0
- package/dist/baloise-design-system/p-BC9JH89x.js +1 -0
- package/dist/baloise-design-system/p-BFTU3MAI.js +1 -0
- package/dist/baloise-design-system/{p-c0c91eb1.js → p-BG4j3FEv.js} +1 -1
- package/dist/baloise-design-system/{p-53e09ecb.js → p-BHFw3KrT.js} +1 -1
- package/dist/baloise-design-system/{p-acf222fd.js → p-BHYxMhaq.js} +1 -1
- package/dist/baloise-design-system/p-BJQK_KjT.js +1 -0
- package/dist/baloise-design-system/{p-bb3d79e0.js → p-BLUHPuPg.js} +1 -1
- package/dist/baloise-design-system/{p-1c41de53.system.js → p-BPUKeAhO.system.js} +1 -1
- package/dist/baloise-design-system/{p-ec9a7cf5.system.js → p-BQvgbY93.system.js} +1 -1
- package/dist/baloise-design-system/p-BnVL_HEz.js +1 -0
- package/dist/baloise-design-system/{p-6c080ebc.system.js → p-Bnn4iNSc.system.js} +1 -1
- package/dist/baloise-design-system/{p-55ebd30d.js → p-Bp0dpjer.js} +1 -1
- package/dist/baloise-design-system/{p-5b163efa.js → p-BsGkq7do.js} +1 -1
- package/dist/baloise-design-system/p-BvmIi0Pf.js +1 -0
- package/dist/baloise-design-system/p-BzYBOtnf.js +1 -0
- package/dist/baloise-design-system/p-Bzy18UgU.system.js +1 -0
- package/dist/baloise-design-system/p-C2YKdNW7.system.js +1 -0
- package/dist/baloise-design-system/{p-924b576e.system.js → p-C4hsvc4v.system.js} +1 -1
- package/dist/baloise-design-system/{p-063808d7.js → p-C4sZQbkT.js} +1 -1
- package/dist/baloise-design-system/p-C78VTo3I.js +1 -0
- package/dist/baloise-design-system/p-C8S5XlJl.js +1 -0
- package/dist/baloise-design-system/p-CEOTg0oT.system.js +1 -0
- package/dist/baloise-design-system/p-CFSqydrN.system.js +1 -0
- package/dist/baloise-design-system/p-CKLuFkEh.js +1 -0
- package/dist/baloise-design-system/p-CbvOgU0G.js +1 -0
- package/dist/baloise-design-system/p-Ch5Ar_Aw.system.js +1 -0
- package/dist/baloise-design-system/p-CiWErrXI.system.js +1 -0
- package/dist/baloise-design-system/p-Cj6DXhmQ.js +1 -0
- package/dist/baloise-design-system/{p-96216bd1.js → p-Ck3aT69N.js} +1 -1
- package/dist/baloise-design-system/p-Clmofeob.js +1 -0
- package/dist/baloise-design-system/{p-fbce8119.system.js → p-Cm94K4OH.system.js} +1 -1
- package/dist/baloise-design-system/p-CoTulE_f.js +1 -0
- package/dist/baloise-design-system/p-CpWDVANq.system.js +1 -0
- package/dist/baloise-design-system/{p-d0537382.system.js → p-Cu1ebAbd.system.js} +1 -1
- package/dist/baloise-design-system/{p-b2f7e364.js → p-Cwb5cm_s.js} +1 -1
- package/dist/baloise-design-system/p-CwvovJM0.system.js +3 -0
- package/dist/baloise-design-system/{p-2509cd53.system.js → p-CyfydXgM.system.js} +1 -1
- package/dist/baloise-design-system/p-Czl2AFQD.system.js +1 -0
- package/dist/baloise-design-system/p-D-yL3ygS.system.js +1 -0
- package/dist/baloise-design-system/p-D0Jo39A5.system.js +1 -0
- package/dist/baloise-design-system/p-DA4RmE59.system.js +1 -0
- package/dist/baloise-design-system/{p-2908a4b8.system.js → p-DJopuiVl.system.js} +1 -1
- package/dist/baloise-design-system/{p-50f3b012.js → p-DKxvaA1I.js} +1 -1
- package/dist/baloise-design-system/p-DMUz15_s.system.js +1 -0
- package/dist/baloise-design-system/p-DPBQ5EN8.system.js +1 -0
- package/dist/baloise-design-system/p-DTDY1hlV.js +1 -0
- package/dist/baloise-design-system/p-DV-El3D9.js +1 -0
- package/dist/baloise-design-system/p-DWQYzEm7.system.js +1 -0
- package/dist/baloise-design-system/p-DY72UdN1.system.js +1 -0
- package/dist/baloise-design-system/p-DfEhX0m_.system.js +1 -0
- package/dist/baloise-design-system/p-DhSS4q-R.system.js +1 -0
- package/dist/baloise-design-system/{p-9f7a1215.system.js → p-DndeZqk_.system.js} +1 -1
- package/dist/baloise-design-system/{p-aae6003e.js → p-Do4k83YR.js} +1 -1
- package/dist/baloise-design-system/{p-b79d8942.system.js → p-Dou6adza.system.js} +1 -1
- package/dist/baloise-design-system/p-DpQhsHDk.system.js +9 -0
- package/dist/baloise-design-system/p-DqCbGYzv.js +1 -0
- package/dist/baloise-design-system/p-Dxz8zGB7.system.js +1 -0
- package/dist/baloise-design-system/p-MVgFPFA5.js +1 -0
- package/dist/baloise-design-system/p-RzJv7e7Y.system.js +1 -0
- package/dist/baloise-design-system/p-S5-HQnxq.js +1 -0
- package/dist/baloise-design-system/p-WkcLp-K_.system.js +1 -0
- package/dist/baloise-design-system/p-WmWy2rJ-.system.js +2 -0
- package/dist/baloise-design-system/{p-4a0012fa.js → p-XiJ1YYc9.js} +1 -1
- package/dist/baloise-design-system/p-a34dc82fd9.system.entry.js +1 -0
- package/dist/baloise-design-system/p-a5802e97d8.system.entry.js +1 -0
- package/dist/baloise-design-system/p-a913a946ea.entry.js +1 -0
- package/dist/baloise-design-system/p-aa9f1d22cd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-aac9ec6687.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ab6db026de.entry.js +1 -0
- package/dist/baloise-design-system/p-adcdd7eb63.entry.js +1 -0
- package/dist/baloise-design-system/p-b050e8a82d.entry.js +1 -0
- package/dist/baloise-design-system/p-b0d0cb1167.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b0d2fd44ef.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b5712e673a.entry.js +1 -0
- package/dist/baloise-design-system/p-be07e385c5.entry.js +1 -0
- package/dist/baloise-design-system/p-bf46f70999.entry.js +1 -0
- package/dist/baloise-design-system/p-c2a5d480b6.entry.js +1 -0
- package/dist/baloise-design-system/p-c4239a6ebb.entry.js +1 -0
- package/dist/baloise-design-system/{p-a06f682955.entry.js → p-c6a6f41844.entry.js} +1 -1
- package/dist/baloise-design-system/p-c819c5feef.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c92ac7c2e0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-cca697bd26.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-5420740f.system.js → p-cfEgJ3Y7.system.js} +1 -1
- package/dist/baloise-design-system/p-d4c44cc24e.entry.js +1 -0
- package/dist/baloise-design-system/{p-0b39e3fc7f.system.entry.js → p-d575fb9113.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d5b648b0fc.system.entry.js +1 -0
- package/dist/baloise-design-system/p-d78505b4e8.entry.js +1 -0
- package/dist/baloise-design-system/p-d7a09b758f.entry.js +1 -0
- package/dist/baloise-design-system/p-dbcb876d25.entry.js +1 -0
- package/dist/baloise-design-system/p-dc3a6cd2e6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-dd5aae489e.entry.js +1 -0
- package/dist/baloise-design-system/{p-eecefb0a.system.js → p-drmuT566.system.js} +1 -1
- package/dist/baloise-design-system/p-e016efc91a.entry.js +1 -0
- package/dist/baloise-design-system/p-e0c4414dd8.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e15a90b22c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e57bc8a630.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e92ad3fae1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-a82d082286.system.entry.js → p-eb68793baa.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ee43ce93b7.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ee5156fb85.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ee604e4bcc.system.entry.js +1 -0
- package/dist/baloise-design-system/p-f0957640f5.entry.js +1 -0
- package/dist/baloise-design-system/p-fa3aa15442.entry.js +1 -0
- package/dist/baloise-design-system/p-fd73720dcb.entry.js +1 -0
- package/dist/baloise-design-system/p-ft8ZtF1G.system.js +1 -0
- package/dist/baloise-design-system/{p-a7894ace.js → p-gnUWqxps.js} +1 -1
- package/dist/baloise-design-system/p-jv0tWyso.js +1 -0
- package/dist/baloise-design-system/p-lFDHYLJ4.system.js +1 -0
- package/dist/baloise-design-system/p-m5GX4h3i.system.js +1 -0
- package/dist/baloise-design-system/p-pkPHUz5e.js +2 -0
- package/dist/baloise-design-system/p-xbSOW78W.js +1 -0
- package/dist/cjs/{_commonjsHelpers-68cdf74f.js → _commonjsHelpers-BJu3ubxk.js} +5 -0
- package/dist/cjs/{animation.decorator-40bdfb52.js → animation.decorator-BeUy1FNI.js} +9 -9
- package/dist/cjs/{array-ae164ca3.js → array-Db63Hhl1.js} +3 -3
- package/dist/cjs/{attributes-11acd153.js → attributes-Cp0kpySW.js} +0 -3
- package/dist/cjs/bal-accordion_4.cjs.entry.js +142 -67
- package/dist/cjs/bal-app.cjs.entry.js +23 -24
- package/dist/cjs/bal-badge.cjs.entry.js +12 -7
- package/dist/cjs/bal-button_2.cjs.entry.js +121 -45
- package/dist/cjs/bal-card_6.cjs.entry.js +69 -10
- package/dist/cjs/bal-carousel_2.cjs.entry.js +113 -54
- package/dist/cjs/bal-check.cjs.entry.js +25 -6
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +178 -83
- package/dist/cjs/bal-close.cjs.entry.js +14 -15
- package/dist/cjs/bal-content.cjs.entry.js +28 -10
- package/dist/cjs/bal-data_4.cjs.entry.js +37 -15
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +8 -18
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +90 -67
- package/dist/cjs/bal-date.cjs.entry.js +109 -76
- package/dist/cjs/bal-divider.cjs.entry.js +22 -10
- package/dist/cjs/bal-dropdown.cjs.entry.js +139 -82
- package/dist/cjs/bal-field_5.cjs.entry.js +109 -23
- package/dist/cjs/bal-file-upload.cjs.entry.js +120 -76
- package/dist/cjs/bal-footer.cjs.entry.js +34 -24
- package/dist/cjs/bal-form-col_2.cjs.entry.js +2 -5
- package/dist/cjs/bal-form.cjs.entry.js +14 -11
- package/dist/cjs/bal-heading_2.cjs.entry.js +74 -14
- package/dist/cjs/bal-hint_5.cjs.entry.js +110 -50
- package/dist/cjs/bal-icon.cjs.entry.js +969 -916
- package/dist/cjs/bal-input-group.cjs.entry.js +12 -6
- package/dist/cjs/bal-input-slider.cjs.entry.js +68 -34
- package/dist/cjs/bal-input-stepper.cjs.entry.js +1112 -1089
- package/dist/cjs/bal-input.cjs.entry.js +146 -58
- package/dist/cjs/bal-label.cjs.entry.js +59 -17
- package/dist/cjs/bal-list_8.cjs.entry.js +109 -59
- package/dist/cjs/{bal-logo.animation-9704970d.js → bal-logo.animation-q2TTdoP3.js} +4 -3
- package/dist/cjs/bal-logo.cjs.entry.js +26 -20
- package/dist/cjs/bal-modal_3.cjs.entry.js +48 -25
- package/dist/cjs/bal-nav_8.cjs.entry.js +138 -102
- package/dist/cjs/bal-navbar_5.cjs.entry.js +74 -30
- package/dist/cjs/bal-notices_3.cjs.entry.js +65 -18
- package/dist/cjs/bal-notification.cjs.entry.js +13 -6
- package/dist/cjs/bal-number-input.cjs.entry.js +83 -174
- package/dist/cjs/bal-option_2.cjs.entry.js +91 -49
- package/dist/cjs/bal-pagination.cjs.entry.js +87 -68
- package/dist/cjs/bal-popup.cjs.entry.js +72 -46
- package/dist/cjs/bal-progress-bar.cjs.entry.js +25 -17
- package/dist/cjs/bal-radio-icon.cjs.entry.js +25 -6
- package/dist/cjs/bal-radio_2.cjs.entry.js +161 -80
- package/dist/cjs/bal-segment_2.cjs.entry.js +98 -65
- package/dist/cjs/bal-select_2.cjs.entry.js +137 -81
- package/dist/cjs/bal-shape.cjs.entry.js +16 -10
- package/dist/cjs/bal-sheet.cjs.entry.js +6 -6
- package/dist/cjs/{bal-spinner.animation-a81cf10f.js → bal-spinner.animation-BL6PkxOx.js} +1929 -1919
- package/dist/cjs/bal-spinner.cjs.entry.js +34 -23
- package/dist/cjs/bal-stack.cjs.entry.js +41 -12
- package/dist/cjs/bal-stage_6.cjs.entry.js +27 -21
- package/dist/cjs/bal-step-item.cjs.entry.js +34 -6
- package/dist/cjs/bal-steps.cjs.entry.js +45 -33
- package/dist/cjs/bal-switch.cjs.entry.js +22 -6
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +183 -90
- package/dist/cjs/bal-table.cjs.entry.js +6 -6
- package/dist/cjs/bal-tag_2.cjs.entry.js +31 -9
- package/dist/cjs/bal-textarea.cjs.entry.js +63 -40
- package/dist/cjs/bal-time-input.cjs.entry.js +58 -41
- package/dist/cjs/bal-tooltip.cjs.entry.js +31 -20
- package/dist/cjs/baloise-design-system.cjs.js +7 -14
- package/dist/cjs/{breakpoints.decorator-881dd92d.js → breakpoints.decorator-DLXGwQpP.js} +1 -1
- package/dist/cjs/{breakpoints.subject-485cf660.js → breakpoints.subject-CidQD5zH.js} +16 -17
- package/dist/cjs/{config.decorator-de244188.js → config.decorator-CDkNZ1Fo.js} +3 -3
- package/dist/cjs/{date-ce9c7f3f.js → date-C9_0qSTi.js} +3217 -3830
- package/dist/cjs/{device-9f97a845.js → device-CoI0V6AY.js} +5 -5
- package/dist/cjs/{element-states.decorator-aa5126e2.js → element-states.decorator-DGQNhvD6.js} +12 -13
- package/dist/cjs/{floating-ui-4a4a1aed.js → floating-ui-BEMfzblh.js} +3 -3
- package/dist/cjs/{focus-visible-a434c91f.js → focus-visible-DFZa8IIA.js} +2 -2
- package/dist/cjs/{focus.decorator-14a4a576.js → focus.decorator-DFy3pFaT.js} +9 -10
- package/dist/cjs/{form-input-e9974433.js → form-input-BUGd2Bkz.js} +2 -7
- package/dist/cjs/index-BZ67Dcnb.js +50 -0
- package/dist/cjs/index-BobQkZjn.js +1868 -0
- package/dist/cjs/index-C413E-IK.js +571 -0
- package/dist/cjs/index-COfbtsc7.js +3035 -0
- package/dist/cjs/index-CuY5w2n4.js +602 -0
- package/dist/cjs/index-ifu9fMyU.js +127 -0
- package/dist/cjs/index.cjs.js +65 -74
- package/dist/cjs/index.esm-CKDqUwIC.js +216 -0
- package/dist/cjs/{listener-52d2e5fd.js → listener-t3ifJtK5.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/lottie_light_html-OP40Exqq.js +11704 -0
- package/dist/cjs/{mutation.decorator-485e250e.js → mutation.decorator-DyFafPfX.js} +5 -5
- package/dist/cjs/{number-24bf265b.js → number-CYeUjdPM.js} +3 -4
- package/dist/cjs/{overlays-94ebb271.js → overlays-CZHV6VH9.js} +5 -6
- package/dist/cjs/purify.es-CJTp6uKN.js +1330 -0
- package/dist/cjs/{resize.decorator-e4a92322.js → resize.decorator-B_NiBCMZ.js} +5 -6
- package/dist/cjs/{scroll-dc37ea84.js → scroll-DY4kxt0j.js} +5 -5
- package/dist/cjs/{swipe.decorator-9c105f90.js → swipe.decorator-CNDcaR9i.js} +1 -1
- package/dist/cjs/{swipe.subject-191f7d8a.js → swipe.subject-DtAxEK8t.js} +5 -5
- package/dist/cjs/{swiper.util-d23b8eb0.js → swiper.util-nyFqwHcs.js} +15 -16
- package/dist/cjs/{tokens.esm-e14cedac.js → tokens.esm-DU04pfsc.js} +2 -1
- package/dist/cjs/{tslib.es6-a680968e.js → tslib.es6-DrfCPgT9.js} +2 -0
- package/dist/cjs/{utils-9ea175af.js → utils-Bl0u6rg1.js} +6 -6
- package/dist/cjs/{visibility.decorator-a218aab9.js → visibility.decorator-C7uDX3Z3.js} +5 -5
- package/dist/cjs/window-resize.decorator-4PWq713L.js +25 -0
- package/dist/cjs/window-resize.subject-GSXXkOcC.js +28 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +18 -6
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +19 -7
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +57 -24
- package/dist/collection/components/bal-accordion/bal-accordion.js +47 -18
- package/dist/collection/components/bal-app/bal-app.js +10 -4
- package/dist/collection/components/bal-badge/bal-badge.js +13 -5
- package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +13 -3
- package/dist/collection/components/bal-button/bal-button.js +192 -63
- package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +4 -1
- package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +26 -8
- package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +16 -5
- package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +4 -1
- package/dist/collection/components/bal-card/bal-card.css +1 -1
- package/dist/collection/components/bal-card/bal-card.js +36 -9
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +45 -27
- package/dist/collection/components/bal-carousel/bal-carousel.js +64 -15
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +28 -6
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +72 -29
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +109 -47
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +24 -5
- package/dist/collection/components/bal-close/bal-close.js +8 -2
- package/dist/collection/components/bal-content/bal-content.js +28 -5
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +8 -2
- package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +4 -1
- package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +15 -6
- package/dist/collection/components/bal-data/bal-data.js +9 -3
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +24 -26
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +11 -16
- package/dist/collection/components/bal-date/bal-date.js +85 -45
- package/dist/collection/components/bal-divider/bal-divider.js +21 -4
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +118 -52
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +18 -4
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +12 -3
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +40 -8
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +20 -5
- package/dist/collection/components/bal-field/bal-field.js +36 -14
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +67 -33
- package/dist/collection/components/bal-footer/bal-footer.js +20 -3
- package/dist/collection/components/bal-form/bal-form.js +12 -3
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +1 -1
- package/dist/collection/components/bal-heading/bal-heading.js +33 -13
- package/dist/collection/components/bal-hint/bal-hint.css +1 -1
- package/dist/collection/components/bal-hint/bal-hint.js +9 -7
- package/dist/collection/components/bal-icon/bal-icon.js +82 -36
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +54 -19
- package/dist/collection/components/bal-input/bal-input-util.js +29 -0
- package/dist/collection/components/bal-input/bal-input.js +134 -69
- package/dist/collection/components/bal-input-group/bal-input-group.js +12 -3
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +66 -27
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.css +1 -1
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +62 -40
- package/dist/collection/components/bal-label/bal-label.js +62 -13
- package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +42 -19
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +12 -7
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +16 -6
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +1 -4
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +4 -1
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +5 -3
- package/dist/collection/components/bal-list/bal-list.js +20 -5
- package/dist/collection/components/bal-logo/bal-logo.js +16 -3
- package/dist/collection/components/bal-modal/bal-modal.js +48 -17
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +23 -8
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +8 -1
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +8 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +12 -2
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +8 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +24 -5
- package/dist/collection/components/bal-nav/bal-nav.js +18 -12
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +7 -25
- package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +2 -2
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +36 -13
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +7 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +7 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +7 -1
- package/dist/collection/components/bal-navbar/bal-navbar.js +14 -3
- package/dist/collection/components/bal-notices/bal-notices.js +12 -3
- package/dist/collection/components/bal-notification/bal-notification.js +13 -3
- package/dist/collection/components/bal-number-input/bal-number-input.js +65 -36
- package/dist/collection/components/bal-option/bal-option.js +46 -18
- package/dist/collection/components/bal-option-list/bal-option-list.js +29 -8
- package/dist/collection/components/bal-pagination/bal-pagination.css +1 -1
- package/dist/collection/components/bal-pagination/bal-pagination.js +42 -15
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +36 -9
- package/dist/collection/components/bal-popover/bal-popover.js +52 -12
- package/dist/collection/components/bal-popup/bal-popup.js +64 -31
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +16 -3
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +68 -30
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +28 -6
- package/dist/collection/components/bal-radio/bal-radio.js +93 -43
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +39 -19
- package/dist/collection/components/bal-segment/bal-segment.js +40 -20
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +11 -6
- package/dist/collection/components/bal-select/bal-select.js +109 -51
- package/dist/collection/components/bal-shape/bal-shape.js +15 -6
- package/dist/collection/components/bal-sheet/bal-sheet.js +4 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +42 -13
- package/dist/collection/components/bal-spinner/bal-spinner.js +30 -11
- package/dist/collection/components/bal-stack/bal-stack.js +47 -13
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +10 -6
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +2 -4
- package/dist/collection/components/bal-stage/bal-stage.js +22 -12
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +42 -12
- package/dist/collection/components/bal-steps/bal-steps.js +31 -11
- package/dist/collection/components/bal-table/bal-table.js +4 -1
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +69 -30
- package/dist/collection/components/bal-tabs/bal-tabs.js +111 -52
- package/dist/collection/components/bal-tag/bal-tag.js +33 -8
- package/dist/collection/components/bal-text/bal-text.js +58 -13
- package/dist/collection/components/bal-textarea/bal-textarea.js +69 -40
- package/dist/collection/components/bal-time-input/bal-time-input.js +44 -20
- package/dist/collection/components/bal-toast/bal-toast.js +21 -4
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +24 -6
- package/dist/collection/index.js +0 -4
- package/dist/collection/initialize.js +33 -2
- package/dist/collection/tags-all.js +119 -0
- package/dist/collection/utils/config/config.default.js +1 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/{animation.decorator-7fca988f.js → animation.decorator-DtxbEYY8.js} +2 -2
- package/dist/esm/{array-4c09dfe3.js → array-CDfSqLEo.js} +3 -3
- package/dist/esm/{attributes-a3e70948.js → attributes-C4sZQbkT.js} +0 -3
- package/dist/esm/bal-accordion_4.entry.js +130 -53
- package/dist/esm/bal-app.entry.js +13 -12
- package/dist/esm/bal-badge.entry.js +12 -5
- package/dist/esm/bal-button_2.entry.js +120 -42
- package/dist/esm/bal-card_6.entry.js +69 -8
- package/dist/esm/bal-carousel_2.entry.js +110 -49
- package/dist/esm/bal-check.entry.js +25 -4
- package/dist/esm/bal-checkbox_2.entry.js +172 -75
- package/dist/esm/bal-close.entry.js +12 -11
- package/dist/esm/bal-content.entry.js +27 -7
- package/dist/esm/bal-data_4.entry.js +37 -13
- package/dist/esm/bal-date-calendar-cell.entry.js +8 -16
- package/dist/esm/bal-date-calendar_2.entry.js +86 -61
- package/dist/esm/bal-date.entry.js +92 -57
- package/dist/esm/bal-divider.entry.js +21 -7
- package/dist/esm/bal-dropdown.entry.js +120 -61
- package/dist/esm/bal-field_5.entry.js +107 -19
- package/dist/esm/bal-file-upload.entry.js +119 -73
- package/dist/esm/bal-footer.entry.js +27 -15
- package/dist/esm/bal-form-col_2.entry.js +2 -3
- package/dist/esm/bal-form.entry.js +12 -7
- package/dist/esm/bal-heading_2.entry.js +73 -11
- package/dist/esm/bal-hint_5.entry.js +105 -43
- package/dist/esm/bal-icon.entry.js +969 -914
- package/dist/esm/bal-input-group.entry.js +12 -4
- package/dist/esm/bal-input-slider.entry.js +67 -31
- package/dist/esm/bal-input-stepper.entry.js +1108 -1083
- package/dist/esm/bal-input.entry.js +144 -54
- package/dist/esm/bal-label.entry.js +56 -12
- package/dist/esm/bal-list_8.entry.js +97 -45
- package/dist/esm/{bal-logo.animation-560601c6.js → bal-logo.animation-Bm-_mal3.js} +4 -3
- package/dist/esm/bal-logo.entry.js +24 -16
- package/dist/esm/bal-modal_3.entry.js +43 -18
- package/dist/esm/bal-nav_8.entry.js +117 -79
- package/dist/esm/bal-navbar_5.entry.js +69 -23
- package/dist/esm/bal-notices_3.entry.js +65 -16
- package/dist/esm/bal-notification.entry.js +13 -4
- package/dist/esm/bal-number-input.entry.js +78 -167
- package/dist/esm/bal-option_2.entry.js +77 -33
- package/dist/esm/bal-pagination.entry.js +87 -66
- package/dist/esm/bal-popup.entry.js +64 -36
- package/dist/esm/bal-progress-bar.entry.js +24 -14
- package/dist/esm/bal-radio-icon.entry.js +25 -4
- package/dist/esm/bal-radio_2.entry.js +155 -72
- package/dist/esm/bal-segment_2.entry.js +91 -56
- package/dist/esm/bal-select_2.entry.js +130 -72
- package/dist/esm/bal-shape.entry.js +16 -8
- package/dist/esm/bal-sheet.entry.js +6 -4
- package/dist/esm/{bal-spinner.animation-81d4326e.js → bal-spinner.animation-Bv2Ow6xu.js} +1929 -1919
- package/dist/esm/bal-spinner.entry.js +31 -18
- package/dist/esm/bal-stack.entry.js +40 -9
- package/dist/esm/bal-stage_6.entry.js +26 -18
- package/dist/esm/bal-step-item.entry.js +34 -4
- package/dist/esm/bal-steps.entry.js +43 -29
- package/dist/esm/bal-switch.entry.js +22 -4
- package/dist/esm/bal-tab-item_2.entry.js +170 -75
- package/dist/esm/bal-table.entry.js +6 -4
- package/dist/esm/bal-tag_2.entry.js +31 -7
- package/dist/esm/bal-textarea.entry.js +62 -37
- package/dist/esm/bal-time-input.entry.js +56 -37
- package/dist/esm/bal-tooltip.entry.js +28 -15
- package/dist/esm/baloise-design-system.js +5 -11
- package/dist/esm/{breakpoints.decorator-4de4315f.js → breakpoints.decorator-SHkWCW_Y.js} +1 -1
- package/dist/esm/{breakpoints.subject-2f68e834.js → breakpoints.subject-C7fjILif.js} +4 -5
- package/dist/esm/{config.decorator-6795d1fe.js → config.decorator-T4wBa62Z.js} +1 -1
- package/dist/esm/{date-87bdb1d1.js → date-B9gcRx4E.js} +3213 -3826
- package/dist/esm/{device-8c6d2881.js → device-ClkcmLoi.js} +1 -1
- package/dist/esm/{element-states.decorator-d99dc83c.js → element-states.decorator-DH5waKVu.js} +2 -3
- package/dist/esm/{floating-ui-8ffbc979.js → floating-ui-CTp1F0dK.js} +2 -2
- package/dist/esm/{focus-visible-c1d6b5b8.js → focus-visible-DqCbGYzv.js} +2 -2
- package/dist/esm/{focus.decorator-988245d7.js → focus.decorator-DQpbKYaT.js} +2 -3
- package/dist/esm/{form-input-1ebdb905.js → form-input-CGW38ndP.js} +2 -6
- package/dist/esm/index-B4k_dH6V.js +1866 -0
- package/dist/esm/index-BU7FUSdu.js +569 -0
- package/dist/esm/index-D6JOtC1P.js +125 -0
- package/dist/esm/index-dYcsHLfj.js +600 -0
- package/dist/esm/index-pkPHUz5e.js +2980 -0
- package/dist/esm/index-zWZxKBfo.js +48 -0
- package/dist/esm/index.esm-Btc0yydR.js +210 -0
- package/dist/esm/index.js +24 -30
- package/dist/esm/{listener-04842ae9.js → listener-tzACU3qe.js} +1 -1
- package/dist/esm/loader.js +3 -10
- package/dist/esm/lottie_light_html-DuyI5RA6.js +11702 -0
- package/dist/esm/{mutation.decorator-6a69cedb.js → mutation.decorator-x6OeVGO1.js} +2 -2
- package/dist/esm/{number-ccf3fbd0.js → number-DZNVPmrJ.js} +1 -2
- package/dist/esm/{overlays-cee3838b.js → overlays-HStjSmzT.js} +2 -3
- package/dist/esm/purify.es-B3Q-Lii3.js +1328 -0
- package/dist/esm/{resize.decorator-3c8e5ee2.js → resize.decorator-D8jUH-n3.js} +2 -3
- package/dist/esm/{scroll-521224a9.js → scroll-CGUsHi6i.js} +1 -1
- package/dist/esm/{swipe.decorator-3d3585e7.js → swipe.decorator-CLIW6A6V.js} +1 -1
- package/dist/esm/{swipe.subject-26a9e5a5.js → swipe.subject-CgHMG_X7.js} +4 -4
- package/dist/esm/{swiper.util-8e17b8c4.js → swiper.util-lTWgy2NS.js} +4 -5
- package/dist/esm/{tokens.esm-4409ffbb.js → tokens.esm-BvmIi0Pf.js} +3 -2
- package/dist/esm/{tslib.es6-654e2c24.js → tslib.es6-dfXERft2.js} +2 -0
- package/dist/esm/{utils-9fbab1d3.js → utils-C_qktPg7.js} +6 -6
- package/dist/esm/{visibility.decorator-5db91610.js → visibility.decorator-DOE3Mnqt.js} +2 -2
- package/dist/esm/{window-resize.decorator-03b1ed50.js → window-resize.decorator-C4aZFmLU.js} +1 -24
- package/dist/esm/window-resize.subject-DTS_9rk_.js +26 -0
- package/dist/esm-es5/_commonjsHelpers-BFTU3MAI.js +1 -0
- package/dist/esm-es5/animation.decorator-DtxbEYY8.js +1 -0
- package/dist/esm-es5/array-CDfSqLEo.js +1 -0
- package/dist/esm-es5/{attributes-a3e70948.js → attributes-C4sZQbkT.js} +1 -1
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-app.entry.js +1 -1
- package/dist/esm-es5/bal-badge.entry.js +1 -1
- package/dist/esm-es5/bal-button_2.entry.js +1 -1
- package/dist/esm-es5/bal-card_6.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-check.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-content.entry.js +1 -1
- package/dist/esm-es5/bal-data_4.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-divider.entry.js +1 -1
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
- package/dist/esm-es5/bal-form.entry.js +1 -1
- package/dist/esm-es5/bal-heading_2.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-group.entry.js +1 -1
- package/dist/esm-es5/bal-input-slider.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
- package/dist/esm-es5/bal-input.entry.js +1 -1
- package/dist/esm-es5/bal-label.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.animation-Bm-_mal3.js +1 -0
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-modal_3.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-notices_3.entry.js +1 -1
- package/dist/esm-es5/bal-notification.entry.js +1 -1
- package/dist/esm-es5/bal-number-input.entry.js +1 -1
- package/dist/esm-es5/bal-option_2.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popup.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
- package/dist/esm-es5/bal-radio_2.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-select_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-sheet.entry.js +1 -1
- package/dist/esm-es5/{bal-spinner.animation-81d4326e.js → bal-spinner.animation-Bv2Ow6xu.js} +1 -1
- package/dist/esm-es5/bal-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stack.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.entry.js +1 -1
- package/dist/esm-es5/bal-step-item.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-switch.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/bal-table.entry.js +1 -1
- package/dist/esm-es5/bal-tag_2.entry.js +1 -1
- package/dist/esm-es5/bal-textarea.entry.js +1 -1
- package/dist/esm-es5/bal-time-input.entry.js +1 -1
- package/dist/esm-es5/bal-tooltip.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-SHkWCW_Y.js +1 -0
- package/dist/esm-es5/breakpoints.subject-C7fjILif.js +1 -0
- package/dist/esm-es5/config.decorator-T4wBa62Z.js +1 -0
- package/dist/esm-es5/date-B9gcRx4E.js +1 -0
- package/dist/esm-es5/device-ClkcmLoi.js +1 -0
- package/dist/esm-es5/element-states.decorator-DH5waKVu.js +1 -0
- package/dist/esm-es5/floating-ui-CTp1F0dK.js +1 -0
- package/dist/esm-es5/focus-visible-DqCbGYzv.js +1 -0
- package/dist/esm-es5/focus.decorator-DQpbKYaT.js +1 -0
- package/dist/esm-es5/form-input-CGW38ndP.js +1 -0
- package/dist/esm-es5/index-B4k_dH6V.js +1 -0
- package/dist/esm-es5/index-BU7FUSdu.js +1 -0
- package/dist/esm-es5/index-D6JOtC1P.js +1 -0
- package/dist/esm-es5/index-dYcsHLfj.js +1 -0
- package/dist/esm-es5/index-pkPHUz5e.js +2 -0
- package/dist/esm-es5/index-zWZxKBfo.js +1 -0
- package/dist/esm-es5/index.esm-Btc0yydR.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/listener-tzACU3qe.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/lottie_light_html-DuyI5RA6.js +9 -0
- package/dist/esm-es5/mutation.decorator-x6OeVGO1.js +1 -0
- package/dist/esm-es5/number-DZNVPmrJ.js +1 -0
- package/dist/esm-es5/overlays-HStjSmzT.js +1 -0
- package/dist/esm-es5/purify.es-B3Q-Lii3.js +2 -0
- package/dist/esm-es5/resize.decorator-D8jUH-n3.js +1 -0
- package/dist/esm-es5/scroll-CGUsHi6i.js +1 -0
- package/dist/esm-es5/{swipe.decorator-3d3585e7.js → swipe.decorator-CLIW6A6V.js} +1 -1
- package/dist/esm-es5/swipe.subject-CgHMG_X7.js +1 -0
- package/dist/esm-es5/swiper.util-lTWgy2NS.js +1 -0
- package/dist/esm-es5/{tokens.esm-4409ffbb.js → tokens.esm-BvmIi0Pf.js} +1 -1
- package/dist/esm-es5/utils-C_qktPg7.js +1 -0
- package/dist/esm-es5/visibility.decorator-DOE3Mnqt.js +1 -0
- package/dist/esm-es5/window-resize.decorator-C4aZFmLU.js +1 -0
- package/dist/esm-es5/window-resize.subject-DTS_9rk_.js +1 -0
- package/dist/html.html-data.json +85 -1
- package/dist/types/components/bal-button/bal-button.d.ts +13 -1
- package/dist/types/components/bal-input/bal-input-util.d.ts +8 -0
- package/dist/types/components/bal-input/bal-input.d.ts +1 -1
- package/dist/types/components/bal-input/bal-input.interfaces.d.ts +1 -1
- package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +1 -1
- package/dist/types/components/bal-nav/models/bal-nav-meta-button.d.ts +1 -1
- package/dist/types/components/bal-pagination/bal-pagination.d.ts +1 -1
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +3 -3
- package/dist/types/components.d.ts +1444 -10
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +23 -1
- package/dist/types/tags-all.d.ts +1 -0
- package/dist/types/utils/config/config.types.d.ts +2 -0
- package/package.json +7 -7
- package/components/bal-text2.js +0 -94
- package/components/purify.js +0 -1353
- package/dist/baloise-design-system/p-00b37ea2.js +0 -1
- package/dist/baloise-design-system/p-00d6cf9a.system.js +0 -1
- package/dist/baloise-design-system/p-0193364e31.entry.js +0 -1
- package/dist/baloise-design-system/p-01cd830b.system.js +0 -1
- package/dist/baloise-design-system/p-02509f2aa1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-04515987c7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-056b22a7.system.js +0 -1
- package/dist/baloise-design-system/p-0783dc98dd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0833e523b1.entry.js +0 -1
- package/dist/baloise-design-system/p-0aa6f3518b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0ae449ae.system.js +0 -1
- package/dist/baloise-design-system/p-0b2b3dbe1b.entry.js +0 -1
- package/dist/baloise-design-system/p-0c336d76f5.entry.js +0 -1
- package/dist/baloise-design-system/p-0c34ba75.system.js +0 -1
- package/dist/baloise-design-system/p-11230944ba.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1272e3f9c5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-12b975fee6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-13d44256.system.js +0 -1
- package/dist/baloise-design-system/p-14df54b760.entry.js +0 -1
- package/dist/baloise-design-system/p-15f86fd2.js +0 -1
- package/dist/baloise-design-system/p-16395ece.system.js +0 -1
- package/dist/baloise-design-system/p-166d571e.js +0 -1
- package/dist/baloise-design-system/p-16f5c678f5.entry.js +0 -1
- package/dist/baloise-design-system/p-1846561401.system.entry.js +0 -1
- package/dist/baloise-design-system/p-18675e20.js +0 -1
- package/dist/baloise-design-system/p-18c6b14c.system.js +0 -1
- package/dist/baloise-design-system/p-18cab6ff5b.entry.js +0 -1
- package/dist/baloise-design-system/p-1cfbf3093b.entry.js +0 -1
- package/dist/baloise-design-system/p-1f7d1eb48e.entry.js +0 -1
- package/dist/baloise-design-system/p-1fa4cbaca6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-210cd438.system.js +0 -9
- package/dist/baloise-design-system/p-211fd73b2d.entry.js +0 -1
- package/dist/baloise-design-system/p-21b2d5d33b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-23bdd8dc.system.js +0 -1
- package/dist/baloise-design-system/p-242625df10.system.entry.js +0 -1
- package/dist/baloise-design-system/p-24486c2cd6.entry.js +0 -1
- package/dist/baloise-design-system/p-2725c79107.system.entry.js +0 -1
- package/dist/baloise-design-system/p-27b9d8e173.entry.js +0 -1
- package/dist/baloise-design-system/p-2880433e.system.js +0 -1
- package/dist/baloise-design-system/p-28d0b9c851.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2ccbe55a.js +0 -2
- package/dist/baloise-design-system/p-2d3770e7.system.js +0 -1
- package/dist/baloise-design-system/p-3131f323.system.js +0 -1
- package/dist/baloise-design-system/p-3153f3e507.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3156541849.system.entry.js +0 -1
- package/dist/baloise-design-system/p-350a85a9.js +0 -1
- package/dist/baloise-design-system/p-36c605b7ed.entry.js +0 -1
- package/dist/baloise-design-system/p-371f93bd95.system.entry.js +0 -1
- package/dist/baloise-design-system/p-39cbb5b4.system.js +0 -1
- package/dist/baloise-design-system/p-3b6395d90b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3d3aa421.js +0 -1
- package/dist/baloise-design-system/p-3f01fc8b.js +0 -1
- package/dist/baloise-design-system/p-3f6fcc1a25.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3fcfe14a45.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4191bdf0.js +0 -1
- package/dist/baloise-design-system/p-41c8319b5f.entry.js +0 -1
- package/dist/baloise-design-system/p-422f347380.entry.js +0 -1
- package/dist/baloise-design-system/p-42d1374d6f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4573c419.js +0 -1
- package/dist/baloise-design-system/p-45d69189d4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-472a8efc29.entry.js +0 -1
- package/dist/baloise-design-system/p-4743791e3f.entry.js +0 -1
- package/dist/baloise-design-system/p-4936cce309.entry.js +0 -1
- package/dist/baloise-design-system/p-4a1237e8.js +0 -1
- package/dist/baloise-design-system/p-4ad57bd1ee.entry.js +0 -1
- package/dist/baloise-design-system/p-4af5f1f9.js +0 -1
- package/dist/baloise-design-system/p-4ca4dff6.js +0 -1
- package/dist/baloise-design-system/p-4d4dd885fc.entry.js +0 -1
- package/dist/baloise-design-system/p-4d5477db.js +0 -1
- package/dist/baloise-design-system/p-4e8633942b.entry.js +0 -1
- package/dist/baloise-design-system/p-4f1232cf16.system.entry.js +0 -1
- package/dist/baloise-design-system/p-537189e0.js +0 -1
- package/dist/baloise-design-system/p-548ca0b3.js +0 -1
- package/dist/baloise-design-system/p-5569e7774f.entry.js +0 -1
- package/dist/baloise-design-system/p-56f686f295.system.entry.js +0 -1
- package/dist/baloise-design-system/p-576fea8fe0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-584601ed8d.entry.js +0 -1
- package/dist/baloise-design-system/p-599fe1aecd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5b81a72518.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5c391c5415.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5d26868b4c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5d94ecd9.system.js +0 -1
- package/dist/baloise-design-system/p-5e506fea89.entry.js +0 -1
- package/dist/baloise-design-system/p-5e7b2f7fa5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5fbe1e715b.entry.js +0 -1
- package/dist/baloise-design-system/p-6461e0dc8c.entry.js +0 -1
- package/dist/baloise-design-system/p-659270e6.system.js +0 -1
- package/dist/baloise-design-system/p-65a3f66bb1.entry.js +0 -1
- package/dist/baloise-design-system/p-6780a7ed.system.js +0 -1
- package/dist/baloise-design-system/p-68f3a1d5de.entry.js +0 -1
- package/dist/baloise-design-system/p-6913b916.system.js +0 -1
- package/dist/baloise-design-system/p-694808374d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6ca25be56c.entry.js +0 -1
- package/dist/baloise-design-system/p-6df2900b29.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6e3ed83858.entry.js +0 -1
- package/dist/baloise-design-system/p-70a29a3cf9.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7187bc892e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7720b262.system.js +0 -1
- package/dist/baloise-design-system/p-77c7a0b0.js +0 -1
- package/dist/baloise-design-system/p-7961e095.system.js +0 -2
- package/dist/baloise-design-system/p-7ace6bb2b2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7d4fac85.js +0 -1
- package/dist/baloise-design-system/p-7ee8e43a78.entry.js +0 -1
- package/dist/baloise-design-system/p-835cf9d5.system.js +0 -1
- package/dist/baloise-design-system/p-86621bd1a3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8de1cbc123.system.entry.js +0 -1
- package/dist/baloise-design-system/p-975f69e2.js +0 -1
- package/dist/baloise-design-system/p-9a3d9e17.js +0 -1
- package/dist/baloise-design-system/p-9bea0924af.entry.js +0 -1
- package/dist/baloise-design-system/p-9fe6f3f427.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a1449d0827.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a1f6e944.system.js +0 -1
- package/dist/baloise-design-system/p-a65354df.js +0 -1
- package/dist/baloise-design-system/p-a6f19c8102.entry.js +0 -1
- package/dist/baloise-design-system/p-a7f480e29e.entry.js +0 -1
- package/dist/baloise-design-system/p-a8161761.js +0 -1
- package/dist/baloise-design-system/p-a8f4c51f7d.entry.js +0 -1
- package/dist/baloise-design-system/p-abaa6b209d.entry.js +0 -1
- package/dist/baloise-design-system/p-ad848b32cc.entry.js +0 -1
- package/dist/baloise-design-system/p-ade92c8b.js +0 -2
- package/dist/baloise-design-system/p-b0471793.system.js +0 -1
- package/dist/baloise-design-system/p-b0cf4731.js +0 -1
- package/dist/baloise-design-system/p-b31ef16307.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b3720a73.system.js +0 -1
- package/dist/baloise-design-system/p-b53635762a.entry.js +0 -1
- package/dist/baloise-design-system/p-b651c3be06.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b77e3348.js +0 -1
- package/dist/baloise-design-system/p-ba04f59382.entry.js +0 -1
- package/dist/baloise-design-system/p-bb0bea1a12.entry.js +0 -1
- package/dist/baloise-design-system/p-bdf651c552.system.entry.js +0 -1
- package/dist/baloise-design-system/p-be4404d14f.entry.js +0 -1
- package/dist/baloise-design-system/p-c018e14208.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c1df952485.entry.js +0 -1
- package/dist/baloise-design-system/p-c75b737789.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c90cd86f85.entry.js +0 -1
- package/dist/baloise-design-system/p-c942d04f.system.js +0 -1
- package/dist/baloise-design-system/p-caf7e785da.system.entry.js +0 -1
- package/dist/baloise-design-system/p-cb9a61cf9f.entry.js +0 -1
- package/dist/baloise-design-system/p-ce0bb62f88.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ce4f5a6a.js +0 -1
- package/dist/baloise-design-system/p-cec9dcd5f0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d0cee779.system.js +0 -2
- package/dist/baloise-design-system/p-d41614f898.entry.js +0 -1
- package/dist/baloise-design-system/p-d4e5093b.js +0 -1
- package/dist/baloise-design-system/p-d96b1ee9.js +0 -1
- package/dist/baloise-design-system/p-dac493c4.system.js +0 -1
- package/dist/baloise-design-system/p-dc1f26ed82.entry.js +0 -1
- package/dist/baloise-design-system/p-ddfc39d563.system.entry.js +0 -1
- package/dist/baloise-design-system/p-de214c5ded.entry.js +0 -1
- package/dist/baloise-design-system/p-df907af8.system.js +0 -1
- package/dist/baloise-design-system/p-e004afb272.entry.js +0 -1
- package/dist/baloise-design-system/p-e0248dd3.js +0 -1
- package/dist/baloise-design-system/p-e1daa037f5.entry.js +0 -1
- package/dist/baloise-design-system/p-e442bfd948.entry.js +0 -1
- package/dist/baloise-design-system/p-e53cf246d6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e581de20.js +0 -1
- package/dist/baloise-design-system/p-e75452d8.system.js +0 -1
- package/dist/baloise-design-system/p-e88286bed3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ea96959c66.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ec1863d2.js +0 -1
- package/dist/baloise-design-system/p-edb1f50e6a.entry.js +0 -1
- package/dist/baloise-design-system/p-eec38fbd.system.js +0 -1
- package/dist/baloise-design-system/p-eed5aa27.system.js +0 -1
- package/dist/baloise-design-system/p-f19930db.js +0 -1
- package/dist/baloise-design-system/p-f8db562aa1.entry.js +0 -1
- package/dist/baloise-design-system/p-fa2ea8a4.system.js +0 -1
- package/dist/baloise-design-system/p-fa6b5cde.system.js +0 -1
- package/dist/baloise-design-system/p-fd273f8f1e.entry.js +0 -1
- package/dist/baloise-design-system/p-fe2ef334.system.js +0 -1
- package/dist/baloise-design-system/p-ff36efab94.entry.js +0 -1
- package/dist/cjs/app-globals-0d8db19e.js +0 -11
- package/dist/cjs/browser-1d542d0f.js +0 -64
- package/dist/cjs/config.default-7e96eb95.js +0 -48
- package/dist/cjs/config.utils-df30e424.js +0 -140
- package/dist/cjs/helpers-debb881a.js +0 -331
- package/dist/cjs/index-24d802b4.js +0 -594
- package/dist/cjs/index-3b7f8988.js +0 -1860
- package/dist/cjs/index-758765f7.js +0 -560
- package/dist/cjs/index-84f42282.js +0 -1810
- package/dist/cjs/index-e6a233be.js +0 -37
- package/dist/cjs/index.esm-a38eebac.js +0 -212
- package/dist/cjs/initialize-2e8978a4.js +0 -319
- package/dist/cjs/log-33398c2a.js +0 -80
- package/dist/cjs/lottie_light_html-cbfdf82e.js +0 -11694
- package/dist/cjs/purify-b01229e2.js +0 -1355
- package/dist/cjs/window-resize.decorator-56853e4c.js +0 -48
- package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -3
- package/dist/esm/app-globals-07bd529a.js +0 -9
- package/dist/esm/browser-a8073d92.js +0 -62
- package/dist/esm/config.default-53a04699.js +0 -45
- package/dist/esm/config.utils-f3793464.js +0 -101
- package/dist/esm/helpers-51d51cc5.js +0 -307
- package/dist/esm/index-82aff103.js +0 -35
- package/dist/esm/index-8d2a7ce7.js +0 -1779
- package/dist/esm/index-95ee0c4b.js +0 -1858
- package/dist/esm/index-bba06972.js +0 -558
- package/dist/esm/index-db06fb0e.js +0 -592
- package/dist/esm/index.esm-9079680d.js +0 -206
- package/dist/esm/initialize-c00194b2.js +0 -312
- package/dist/esm/log-dfd1c19f.js +0 -77
- package/dist/esm/lottie_light_html-ab90e4a2.js +0 -11692
- package/dist/esm/purify-8cb49f16.js +0 -1353
- package/dist/esm-es5/_commonjsHelpers-1c8beb5f.js +0 -1
- package/dist/esm-es5/animation.decorator-7fca988f.js +0 -1
- package/dist/esm-es5/app-globals-07bd529a.js +0 -1
- package/dist/esm-es5/array-4c09dfe3.js +0 -1
- package/dist/esm-es5/bal-logo.animation-560601c6.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-4de4315f.js +0 -1
- package/dist/esm-es5/breakpoints.subject-2f68e834.js +0 -1
- package/dist/esm-es5/browser-a8073d92.js +0 -1
- package/dist/esm-es5/config.decorator-6795d1fe.js +0 -1
- package/dist/esm-es5/config.default-53a04699.js +0 -1
- package/dist/esm-es5/config.utils-f3793464.js +0 -1
- package/dist/esm-es5/date-87bdb1d1.js +0 -1
- package/dist/esm-es5/device-8c6d2881.js +0 -1
- package/dist/esm-es5/element-states.decorator-d99dc83c.js +0 -1
- package/dist/esm-es5/floating-ui-8ffbc979.js +0 -1
- package/dist/esm-es5/focus-visible-c1d6b5b8.js +0 -1
- package/dist/esm-es5/focus.decorator-988245d7.js +0 -1
- package/dist/esm-es5/form-input-1ebdb905.js +0 -1
- package/dist/esm-es5/helpers-51d51cc5.js +0 -1
- package/dist/esm-es5/index-82aff103.js +0 -1
- package/dist/esm-es5/index-8d2a7ce7.js +0 -2
- package/dist/esm-es5/index-95ee0c4b.js +0 -1
- package/dist/esm-es5/index-bba06972.js +0 -1
- package/dist/esm-es5/index-db06fb0e.js +0 -1
- package/dist/esm-es5/index.esm-9079680d.js +0 -1
- package/dist/esm-es5/initialize-c00194b2.js +0 -1
- package/dist/esm-es5/listener-04842ae9.js +0 -1
- package/dist/esm-es5/log-dfd1c19f.js +0 -1
- package/dist/esm-es5/lottie_light_html-ab90e4a2.js +0 -9
- package/dist/esm-es5/mutation.decorator-6a69cedb.js +0 -1
- package/dist/esm-es5/number-ccf3fbd0.js +0 -1
- package/dist/esm-es5/overlays-cee3838b.js +0 -1
- package/dist/esm-es5/purify-8cb49f16.js +0 -2
- package/dist/esm-es5/resize.decorator-3c8e5ee2.js +0 -1
- package/dist/esm-es5/scroll-521224a9.js +0 -1
- package/dist/esm-es5/swipe.subject-26a9e5a5.js +0 -1
- package/dist/esm-es5/swiper.util-8e17b8c4.js +0 -1
- package/dist/esm-es5/utils-9fbab1d3.js +0 -1
- package/dist/esm-es5/visibility.decorator-5db91610.js +0 -1
- package/dist/esm-es5/window-resize.decorator-03b1ed50.js +0 -1
- package/loader/package.json +0 -11
- /package/components/{floating-ui.dom.esm.js → floating-ui.dom.js} +0 -0
- /package/dist/baloise-design-system/{p-8dc7ee30.js → p-B4aDEwd8.js} +0 -0
- /package/dist/baloise-design-system/{p-5ed239cc.js → p-BLp4ll3i.js} +0 -0
- /package/dist/baloise-design-system/{p-db0895e2.system.js → p-BbAtjg9Y.system.js} +0 -0
- /package/dist/baloise-design-system/{p-11f970ba.js → p-BkEdlCZJ.js} +0 -0
- /package/dist/baloise-design-system/{p-4c0bad70.system.js → p-BktTDSq4.system.js} +0 -0
- /package/dist/baloise-design-system/{p-f3f5ce4f.js → p-BmVI6cLw.js} +0 -0
- /package/dist/baloise-design-system/{p-ae86d0a0.js → p-ByiN-QjD.js} +0 -0
- /package/dist/baloise-design-system/{p-3ecc7d9a.system.js → p-CDt5sRVY.system.js} +0 -0
- /package/dist/baloise-design-system/{p-5f26e92f.system.js → p-CGJ8YYiA.system.js} +0 -0
- /package/dist/baloise-design-system/{p-907368ff.system.js → p-CLfE_o7e.system.js} +0 -0
- /package/dist/baloise-design-system/{p-8a2bab70.system.js → p-CTl0uAFp.system.js} +0 -0
- /package/dist/baloise-design-system/{p-6dbef894.system.js → p-Cjiw70Dk.system.js} +0 -0
- /package/dist/baloise-design-system/{p-a0fe8d65.js → p-Ct27z6g9.js} +0 -0
- /package/dist/baloise-design-system/{p-dc98854c.js → p-D1VPLQ5z.js} +0 -0
- /package/dist/baloise-design-system/{p-e7d72d7c.system.js → p-D5Gy6WbU.system.js} +0 -0
- /package/dist/baloise-design-system/{p-6b45db53.system.js → p-DAOAbG5Y.system.js} +0 -0
- /package/dist/baloise-design-system/{p-8f2e9a7f.js → p-DBsOHTWj.js} +0 -0
- /package/dist/baloise-design-system/{p-ad81b8ea.js → p-DEb5iNGc.js} +0 -0
- /package/dist/baloise-design-system/{p-06ecf846.js → p-DIC_sxLd.js} +0 -0
- /package/dist/baloise-design-system/{p-2da669b4.system.js → p-DKjTFqnu.system.js} +0 -0
- /package/dist/baloise-design-system/{p-14d0c5f3.system.js → p-DPYRyPTD.system.js} +0 -0
- /package/dist/baloise-design-system/{p-278aed95.system.js → p-DWgCJRpS.system.js} +0 -0
- /package/dist/baloise-design-system/{p-ba579059.system.js → p-Dd7xQwRJ.system.js} +0 -0
- /package/dist/baloise-design-system/{p-fe76780d.system.js → p-DkfWaTsH.system.js} +0 -0
- /package/dist/baloise-design-system/{p-1a158488.js → p-DuObDTix.js} +0 -0
- /package/dist/baloise-design-system/{p-59d9918c.system.js → p-Dz-E2PRm.system.js} +0 -0
- /package/dist/baloise-design-system/{p-5eb3fbb9.js → p-FCLKfv6B.js} +0 -0
- /package/dist/baloise-design-system/{p-09ab29d6.js → p-JHAE10yr.js} +0 -0
- /package/dist/baloise-design-system/{p-4e642b63.system.js → p-SdtgSPca.system.js} +0 -0
- /package/dist/baloise-design-system/{p-43c9f5e9.js → p-dfXERft2.js} +0 -0
- /package/dist/baloise-design-system/{p-a65bc5e2.js → p-rBUN7c88.js} +0 -0
- /package/dist/baloise-design-system/{p-99cfab9c.system.js → p-wTePExHL.system.js} +0 -0
- /package/dist/baloise-design-system/{p-ec1efe3d.js → p-xVPGsAdF.js} +0 -0
- /package/dist/cjs/{aria-7672033f.js → aria-BzkqcV7W.js} +0 -0
- /package/dist/cjs/{bal-close.i18n-56dddd35.js → bal-close.i18n-B3X5xlkl.js} +0 -0
- /package/dist/cjs/{bal-file-upload.type-616d69d9.js → bal-file-upload.type-BzNkF3YQ.js} +0 -0
- /package/dist/cjs/{bal-input-stepper.i18n-dbcd32ab.js → bal-input-stepper.i18n-D57DHpYR.js} +0 -0
- /package/dist/cjs/{bal-label.i18n-a25878af.js → bal-label.i18n-BcNNm9Es.js} +0 -0
- /package/dist/cjs/{bal-step.util-3c009db9.js → bal-step.util-DQcaqybX.js} +0 -0
- /package/dist/cjs/{bal-tab.util-d0785ef4.js → bal-tab.util-DFGwGbfr.js} +0 -0
- /package/dist/cjs/{bal-time-input.i18n-b2bb9182.js → bal-time-input.i18n-Bfr3EMVD.js} +0 -0
- /package/dist/cjs/{bem-81bc6a2d.js → bem-p0PWVN8n.js} +0 -0
- /package/dist/cjs/{contact-61b41246.js → contact-qHJM5IBh.js} +0 -0
- /package/dist/cjs/{floating-ui.dom.esm-13e3f667.js → floating-ui.dom-BPU3HWKX.js} +0 -0
- /package/dist/cjs/{form-17c98ac2.js → form-BSlIiqcR.js} +0 -0
- /package/dist/cjs/{keyboard.helpers-2093e793.js → keyboard.helpers-BkZpVT-9.js} +0 -0
- /package/dist/cjs/{keys.constant-b53da545.js → keys.constant-LnwxHAZo.js} +0 -0
- /package/dist/cjs/{mask-util-19c28b4a.js → mask-util-B8hrxmqO.js} +0 -0
- /package/dist/cjs/{option-85af0921.js → option-kGk4eTdA.js} +0 -0
- /package/dist/esm/{aria-ea150568.js → aria-DBsOHTWj.js} +0 -0
- /package/dist/esm/{bal-close.i18n-f2daa707.js → bal-close.i18n-Ct27z6g9.js} +0 -0
- /package/dist/esm/{bal-file-upload.type-2a70f4ec.js → bal-file-upload.type-rBUN7c88.js} +0 -0
- /package/dist/esm/{bal-input-stepper.i18n-aaa4a009.js → bal-input-stepper.i18n-DEb5iNGc.js} +0 -0
- /package/dist/esm/{bal-label.i18n-4212be56.js → bal-label.i18n-JHAE10yr.js} +0 -0
- /package/dist/esm/{bal-step.util-3905ad56.js → bal-step.util-DIC_sxLd.js} +0 -0
- /package/dist/esm/{bal-tab.util-933315fe.js → bal-tab.util-BmVI6cLw.js} +0 -0
- /package/dist/esm/{bal-time-input.i18n-157c7092.js → bal-time-input.i18n-B4aDEwd8.js} +0 -0
- /package/dist/esm/{bem-8c7d2eb0.js → bem-ByiN-QjD.js} +0 -0
- /package/dist/esm/{contact-91a44c8c.js → contact-BkEdlCZJ.js} +0 -0
- /package/dist/esm/{floating-ui.dom.esm-efb93616.js → floating-ui.dom-DKxvaA1I.js} +0 -0
- /package/dist/esm/{form-841232ff.js → form-FCLKfv6B.js} +0 -0
- /package/dist/esm/{keyboard.helpers-159e517d.js → keyboard.helpers-D1VPLQ5z.js} +0 -0
- /package/dist/esm/{keys.constant-0eb059e0.js → keys.constant-xVPGsAdF.js} +0 -0
- /package/dist/esm/{mask-util-71edc2b8.js → mask-util-DuObDTix.js} +0 -0
- /package/dist/esm/{option-367a5341.js → option-BLp4ll3i.js} +0 -0
- /package/dist/esm-es5/{aria-ea150568.js → aria-DBsOHTWj.js} +0 -0
- /package/dist/esm-es5/{bal-close.i18n-f2daa707.js → bal-close.i18n-Ct27z6g9.js} +0 -0
- /package/dist/esm-es5/{bal-file-upload.type-2a70f4ec.js → bal-file-upload.type-rBUN7c88.js} +0 -0
- /package/dist/esm-es5/{bal-input-stepper.i18n-aaa4a009.js → bal-input-stepper.i18n-DEb5iNGc.js} +0 -0
- /package/dist/esm-es5/{bal-label.i18n-4212be56.js → bal-label.i18n-JHAE10yr.js} +0 -0
- /package/dist/esm-es5/{bal-step.util-3905ad56.js → bal-step.util-DIC_sxLd.js} +0 -0
- /package/dist/esm-es5/{bal-tab.util-933315fe.js → bal-tab.util-BmVI6cLw.js} +0 -0
- /package/dist/esm-es5/{bal-time-input.i18n-157c7092.js → bal-time-input.i18n-B4aDEwd8.js} +0 -0
- /package/dist/esm-es5/{bem-8c7d2eb0.js → bem-ByiN-QjD.js} +0 -0
- /package/dist/esm-es5/{contact-91a44c8c.js → contact-BkEdlCZJ.js} +0 -0
- /package/dist/esm-es5/{floating-ui.dom.esm-efb93616.js → floating-ui.dom-DKxvaA1I.js} +0 -0
- /package/dist/esm-es5/{form-841232ff.js → form-FCLKfv6B.js} +0 -0
- /package/dist/esm-es5/{keyboard.helpers-159e517d.js → keyboard.helpers-D1VPLQ5z.js} +0 -0
- /package/dist/esm-es5/{keys.constant-0eb059e0.js → keys.constant-xVPGsAdF.js} +0 -0
- /package/dist/esm-es5/{mask-util-71edc2b8.js → mask-util-DuObDTix.js} +0 -0
- /package/dist/esm-es5/{option-367a5341.js → option-BLp4ll3i.js} +0 -0
- /package/dist/esm-es5/{tslib.es6-654e2c24.js → tslib.es6-dfXERft2.js} +0 -0
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { p as rIC, o as debounceEvent } from './helpers.js';
|
|
3
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
4
|
+
import { a as ariaBooleanToString } from './aria.js';
|
|
6
5
|
import { i as inheritAttributes } from './attributes.js';
|
|
7
|
-
import { s as stopEventBubbling, j as inputListenOnClick } from './form-input.js';
|
|
8
6
|
import { B as BEM } from './bem.js';
|
|
9
|
-
import { d as defaultBalAriaForm } from './form.js';
|
|
10
|
-
import { i as i18nBalInputStepper } from './bal-input-stepper.i18n.js';
|
|
11
|
-
import { L as Logger } from './log.js';
|
|
12
|
-
import { a as ariaBooleanToString } from './aria.js';
|
|
13
|
-
import { d as defineCustomElement$5 } from './bal-button2.js';
|
|
14
|
-
import { d as defineCustomElement$4 } from './bal-icon2.js';
|
|
15
|
-
import { d as defineCustomElement$3 } from './bal-spinner2.js';
|
|
16
|
-
import { d as defineCustomElement$2 } from './bal-text2.js';
|
|
17
7
|
import { d as defaultConfig } from './config.default.js';
|
|
18
8
|
import { L as ListenToConfig } from './config.decorator.js';
|
|
9
|
+
import { d as defaultBalAriaForm } from './form.js';
|
|
10
|
+
import { s as stopEventBubbling, j as inputListenOnClick } from './form-input.js';
|
|
11
|
+
import { m as rIC, k as debounceEvent } from './helpers.js';
|
|
12
|
+
import { L as Logger } from './log.js';
|
|
13
|
+
import { f as formatLocaleNumber } from './number.js';
|
|
14
|
+
import { i as i18nBalInputStepper } from './bal-input-stepper.i18n.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './bal-button2.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './bal-icon2.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './bal-spinner2.js';
|
|
19
18
|
|
|
20
|
-
var big = {exports: {}};
|
|
19
|
+
var big$1 = {exports: {}};
|
|
21
20
|
|
|
22
21
|
/*
|
|
23
22
|
* big.js v6.2.1
|
|
@@ -25,1046 +24,1054 @@ var big = {exports: {}};
|
|
|
25
24
|
* Copyright (c) 2022 Michael Mclaughlin
|
|
26
25
|
* https://github.com/MikeMcl/big.js/LICENCE.md
|
|
27
26
|
*/
|
|
27
|
+
var big = big$1.exports;
|
|
28
|
+
|
|
29
|
+
var hasRequiredBig;
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
function requireBig () {
|
|
32
|
+
if (hasRequiredBig) return big$1.exports;
|
|
33
|
+
hasRequiredBig = 1;
|
|
34
|
+
(function (module) {
|
|
30
35
|
(function (GLOBAL) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/************************************** EDITABLE DEFAULTS *****************************************/
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
/**************************************************************************************************/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
})(
|
|
1062
|
-
}(big));
|
|
36
|
+
var Big,
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
/************************************** EDITABLE DEFAULTS *****************************************/
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
// The default values below must be integers within the stated ranges.
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
* The maximum number of decimal places (DP) of the results of operations involving division:
|
|
46
|
+
* div and sqrt, and pow with negative exponents.
|
|
47
|
+
*/
|
|
48
|
+
DP = 20, // 0 to MAX_DP
|
|
49
|
+
|
|
50
|
+
/*
|
|
51
|
+
* The rounding mode (RM) used when rounding to the above decimal places.
|
|
52
|
+
*
|
|
53
|
+
* 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
|
|
54
|
+
* 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
|
|
55
|
+
* 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
|
|
56
|
+
* 3 Away from zero. (ROUND_UP)
|
|
57
|
+
*/
|
|
58
|
+
RM = 1, // 0, 1, 2 or 3
|
|
59
|
+
|
|
60
|
+
// The maximum value of DP and Big.DP.
|
|
61
|
+
MAX_DP = 1E6, // 0 to 1000000
|
|
62
|
+
|
|
63
|
+
// The maximum magnitude of the exponent argument to the pow method.
|
|
64
|
+
MAX_POWER = 1E6, // 1 to 1000000
|
|
65
|
+
|
|
66
|
+
/*
|
|
67
|
+
* The negative exponent (NE) at and beneath which toString returns exponential notation.
|
|
68
|
+
* (JavaScript numbers: -7)
|
|
69
|
+
* -1000000 is the minimum recommended exponent value of a Big.
|
|
70
|
+
*/
|
|
71
|
+
NE = -7, // 0 to -1000000
|
|
72
|
+
|
|
73
|
+
/*
|
|
74
|
+
* The positive exponent (PE) at and above which toString returns exponential notation.
|
|
75
|
+
* (JavaScript numbers: 21)
|
|
76
|
+
* 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
|
|
77
|
+
*/
|
|
78
|
+
PE = 21, // 0 to 1000000
|
|
79
|
+
|
|
80
|
+
/*
|
|
81
|
+
* When true, an error will be thrown if a primitive number is passed to the Big constructor,
|
|
82
|
+
* or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
|
|
83
|
+
* primitive number without a loss of precision.
|
|
84
|
+
*/
|
|
85
|
+
STRICT = false, // true or false
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
/**************************************************************************************************/
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// Error messages.
|
|
92
|
+
NAME = '[big.js] ',
|
|
93
|
+
INVALID = NAME + 'Invalid ',
|
|
94
|
+
INVALID_DP = INVALID + 'decimal places',
|
|
95
|
+
INVALID_RM = INVALID + 'rounding mode',
|
|
96
|
+
DIV_BY_ZERO = NAME + 'Division by zero',
|
|
97
|
+
|
|
98
|
+
// The shared prototype object.
|
|
99
|
+
P = {},
|
|
100
|
+
UNDEFINED = void 0,
|
|
101
|
+
NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/*
|
|
105
|
+
* Create and return a Big constructor.
|
|
106
|
+
*/
|
|
107
|
+
function _Big_() {
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* The Big constructor and exported function.
|
|
111
|
+
* Create and return a new instance of a Big number object.
|
|
112
|
+
*
|
|
113
|
+
* n {number|string|Big} A numeric value.
|
|
114
|
+
*/
|
|
115
|
+
function Big(n) {
|
|
116
|
+
var x = this;
|
|
117
|
+
|
|
118
|
+
// Enable constructor usage without new.
|
|
119
|
+
if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
|
|
120
|
+
|
|
121
|
+
// Duplicate.
|
|
122
|
+
if (n instanceof Big) {
|
|
123
|
+
x.s = n.s;
|
|
124
|
+
x.e = n.e;
|
|
125
|
+
x.c = n.c.slice();
|
|
126
|
+
} else {
|
|
127
|
+
if (typeof n !== 'string') {
|
|
128
|
+
if (Big.strict === true && typeof n !== 'bigint') {
|
|
129
|
+
throw TypeError(INVALID + 'value');
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Minus zero?
|
|
133
|
+
n = n === 0 && 1 / n < 0 ? '-0' : String(n);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
parse(x, n);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// Retain a reference to this Big constructor.
|
|
140
|
+
// Shadow Big.prototype.constructor which points to Object.
|
|
141
|
+
x.constructor = Big;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
Big.prototype = P;
|
|
145
|
+
Big.DP = DP;
|
|
146
|
+
Big.RM = RM;
|
|
147
|
+
Big.NE = NE;
|
|
148
|
+
Big.PE = PE;
|
|
149
|
+
Big.strict = STRICT;
|
|
150
|
+
Big.roundDown = 0;
|
|
151
|
+
Big.roundHalfUp = 1;
|
|
152
|
+
Big.roundHalfEven = 2;
|
|
153
|
+
Big.roundUp = 3;
|
|
154
|
+
|
|
155
|
+
return Big;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
/*
|
|
160
|
+
* Parse the number or string value passed to a Big constructor.
|
|
161
|
+
*
|
|
162
|
+
* x {Big} A Big number instance.
|
|
163
|
+
* n {number|string} A numeric value.
|
|
164
|
+
*/
|
|
165
|
+
function parse(x, n) {
|
|
166
|
+
var e, i, nl;
|
|
167
|
+
|
|
168
|
+
if (!NUMERIC.test(n)) {
|
|
169
|
+
throw Error(INVALID + 'number');
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// Determine sign.
|
|
173
|
+
x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
|
|
174
|
+
|
|
175
|
+
// Decimal point?
|
|
176
|
+
if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
|
|
177
|
+
|
|
178
|
+
// Exponential form?
|
|
179
|
+
if ((i = n.search(/e/i)) > 0) {
|
|
180
|
+
|
|
181
|
+
// Determine exponent.
|
|
182
|
+
if (e < 0) e = i;
|
|
183
|
+
e += +n.slice(i + 1);
|
|
184
|
+
n = n.substring(0, i);
|
|
185
|
+
} else if (e < 0) {
|
|
186
|
+
|
|
187
|
+
// Integer.
|
|
188
|
+
e = n.length;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
nl = n.length;
|
|
192
|
+
|
|
193
|
+
// Determine leading zeros.
|
|
194
|
+
for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
|
|
195
|
+
|
|
196
|
+
if (i == nl) {
|
|
197
|
+
|
|
198
|
+
// Zero.
|
|
199
|
+
x.c = [x.e = 0];
|
|
200
|
+
} else {
|
|
201
|
+
|
|
202
|
+
// Determine trailing zeros.
|
|
203
|
+
for (; nl > 0 && n.charAt(--nl) == '0';);
|
|
204
|
+
x.e = e - i - 1;
|
|
205
|
+
x.c = [];
|
|
206
|
+
|
|
207
|
+
// Convert string to array of digits without leading/trailing zeros.
|
|
208
|
+
for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
return x;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
/*
|
|
216
|
+
* Round Big x to a maximum of sd significant digits using rounding mode rm.
|
|
217
|
+
*
|
|
218
|
+
* x {Big} The Big to round.
|
|
219
|
+
* sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
|
|
220
|
+
* rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
221
|
+
* [more] {boolean} Whether the result of division was truncated.
|
|
222
|
+
*/
|
|
223
|
+
function round(x, sd, rm, more) {
|
|
224
|
+
var xc = x.c;
|
|
225
|
+
|
|
226
|
+
if (rm === UNDEFINED) rm = x.constructor.RM;
|
|
227
|
+
if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
|
|
228
|
+
throw Error(INVALID_RM);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if (sd < 1) {
|
|
232
|
+
more =
|
|
233
|
+
rm === 3 && (more || !!xc[0]) || sd === 0 && (
|
|
234
|
+
rm === 1 && xc[0] >= 5 ||
|
|
235
|
+
rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
|
|
236
|
+
);
|
|
237
|
+
|
|
238
|
+
xc.length = 1;
|
|
239
|
+
|
|
240
|
+
if (more) {
|
|
241
|
+
|
|
242
|
+
// 1, 0.1, 0.01, 0.001, 0.0001 etc.
|
|
243
|
+
x.e = x.e - sd + 1;
|
|
244
|
+
xc[0] = 1;
|
|
245
|
+
} else {
|
|
246
|
+
|
|
247
|
+
// Zero.
|
|
248
|
+
xc[0] = x.e = 0;
|
|
249
|
+
}
|
|
250
|
+
} else if (sd < xc.length) {
|
|
251
|
+
|
|
252
|
+
// xc[sd] is the digit after the digit that may be rounded up.
|
|
253
|
+
more =
|
|
254
|
+
rm === 1 && xc[sd] >= 5 ||
|
|
255
|
+
rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
|
|
256
|
+
(more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
|
|
257
|
+
rm === 3 && (more || !!xc[0]);
|
|
258
|
+
|
|
259
|
+
// Remove any digits after the required precision.
|
|
260
|
+
xc.length = sd;
|
|
261
|
+
|
|
262
|
+
// Round up?
|
|
263
|
+
if (more) {
|
|
264
|
+
|
|
265
|
+
// Rounding up may mean the previous digit has to be rounded up.
|
|
266
|
+
for (; ++xc[--sd] > 9;) {
|
|
267
|
+
xc[sd] = 0;
|
|
268
|
+
if (sd === 0) {
|
|
269
|
+
++x.e;
|
|
270
|
+
xc.unshift(1);
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// Remove trailing zeros.
|
|
277
|
+
for (sd = xc.length; !xc[--sd];) xc.pop();
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
return x;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
/*
|
|
285
|
+
* Return a string representing the value of Big x in normal or exponential notation.
|
|
286
|
+
* Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
|
|
287
|
+
*/
|
|
288
|
+
function stringify(x, doExponential, isNonzero) {
|
|
289
|
+
var e = x.e,
|
|
290
|
+
s = x.c.join(''),
|
|
291
|
+
n = s.length;
|
|
292
|
+
|
|
293
|
+
// Exponential notation?
|
|
294
|
+
if (doExponential) {
|
|
295
|
+
s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
|
|
296
|
+
|
|
297
|
+
// Normal notation.
|
|
298
|
+
} else if (e < 0) {
|
|
299
|
+
for (; ++e;) s = '0' + s;
|
|
300
|
+
s = '0.' + s;
|
|
301
|
+
} else if (e > 0) {
|
|
302
|
+
if (++e > n) {
|
|
303
|
+
for (e -= n; e--;) s += '0';
|
|
304
|
+
} else if (e < n) {
|
|
305
|
+
s = s.slice(0, e) + '.' + s.slice(e);
|
|
306
|
+
}
|
|
307
|
+
} else if (n > 1) {
|
|
308
|
+
s = s.charAt(0) + '.' + s.slice(1);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
return x.s < 0 && isNonzero ? '-' + s : s;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
// Prototype/instance methods
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
/*
|
|
319
|
+
* Return a new Big whose value is the absolute value of this Big.
|
|
320
|
+
*/
|
|
321
|
+
P.abs = function () {
|
|
322
|
+
var x = new this.constructor(this);
|
|
323
|
+
x.s = 1;
|
|
324
|
+
return x;
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
/*
|
|
329
|
+
* Return 1 if the value of this Big is greater than the value of Big y,
|
|
330
|
+
* -1 if the value of this Big is less than the value of Big y, or
|
|
331
|
+
* 0 if they have the same value.
|
|
332
|
+
*/
|
|
333
|
+
P.cmp = function (y) {
|
|
334
|
+
var isneg,
|
|
335
|
+
x = this,
|
|
336
|
+
xc = x.c,
|
|
337
|
+
yc = (y = new x.constructor(y)).c,
|
|
338
|
+
i = x.s,
|
|
339
|
+
j = y.s,
|
|
340
|
+
k = x.e,
|
|
341
|
+
l = y.e;
|
|
342
|
+
|
|
343
|
+
// Either zero?
|
|
344
|
+
if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
|
|
345
|
+
|
|
346
|
+
// Signs differ?
|
|
347
|
+
if (i != j) return i;
|
|
348
|
+
|
|
349
|
+
isneg = i < 0;
|
|
350
|
+
|
|
351
|
+
// Compare exponents.
|
|
352
|
+
if (k != l) return k > l ^ isneg ? 1 : -1;
|
|
353
|
+
|
|
354
|
+
j = (k = xc.length) < (l = yc.length) ? k : l;
|
|
355
|
+
|
|
356
|
+
// Compare digit by digit.
|
|
357
|
+
for (i = -1; ++i < j;) {
|
|
358
|
+
if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// Compare lengths.
|
|
362
|
+
return k == l ? 0 : k > l ^ isneg ? 1 : -1;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
/*
|
|
367
|
+
* Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
|
|
368
|
+
* if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
|
|
369
|
+
*/
|
|
370
|
+
P.div = function (y) {
|
|
371
|
+
var x = this,
|
|
372
|
+
Big = x.constructor,
|
|
373
|
+
a = x.c, // dividend
|
|
374
|
+
b = (y = new Big(y)).c, // divisor
|
|
375
|
+
k = x.s == y.s ? 1 : -1,
|
|
376
|
+
dp = Big.DP;
|
|
377
|
+
|
|
378
|
+
if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
|
|
379
|
+
throw Error(INVALID_DP);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
// Divisor is zero?
|
|
383
|
+
if (!b[0]) {
|
|
384
|
+
throw Error(DIV_BY_ZERO);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
// Dividend is 0? Return +-0.
|
|
388
|
+
if (!a[0]) {
|
|
389
|
+
y.s = k;
|
|
390
|
+
y.c = [y.e = 0];
|
|
391
|
+
return y;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
var bl, bt, n, cmp, ri,
|
|
395
|
+
bz = b.slice(),
|
|
396
|
+
ai = bl = b.length,
|
|
397
|
+
al = a.length,
|
|
398
|
+
r = a.slice(0, bl), // remainder
|
|
399
|
+
rl = r.length,
|
|
400
|
+
q = y, // quotient
|
|
401
|
+
qc = q.c = [],
|
|
402
|
+
qi = 0,
|
|
403
|
+
p = dp + (q.e = x.e - y.e) + 1; // precision of the result
|
|
404
|
+
|
|
405
|
+
q.s = k;
|
|
406
|
+
k = p < 0 ? 0 : p;
|
|
407
|
+
|
|
408
|
+
// Create version of divisor with leading zero.
|
|
409
|
+
bz.unshift(0);
|
|
410
|
+
|
|
411
|
+
// Add zeros to make remainder as long as divisor.
|
|
412
|
+
for (; rl++ < bl;) r.push(0);
|
|
413
|
+
|
|
414
|
+
do {
|
|
415
|
+
|
|
416
|
+
// n is how many times the divisor goes into current remainder.
|
|
417
|
+
for (n = 0; n < 10; n++) {
|
|
418
|
+
|
|
419
|
+
// Compare divisor and remainder.
|
|
420
|
+
if (bl != (rl = r.length)) {
|
|
421
|
+
cmp = bl > rl ? 1 : -1;
|
|
422
|
+
} else {
|
|
423
|
+
for (ri = -1, cmp = 0; ++ri < bl;) {
|
|
424
|
+
if (b[ri] != r[ri]) {
|
|
425
|
+
cmp = b[ri] > r[ri] ? 1 : -1;
|
|
426
|
+
break;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
// If divisor < remainder, subtract divisor from remainder.
|
|
432
|
+
if (cmp < 0) {
|
|
433
|
+
|
|
434
|
+
// Remainder can't be more than 1 digit longer than divisor.
|
|
435
|
+
// Equalise lengths using divisor with extra leading zero?
|
|
436
|
+
for (bt = rl == bl ? b : bz; rl;) {
|
|
437
|
+
if (r[--rl] < bt[rl]) {
|
|
438
|
+
ri = rl;
|
|
439
|
+
for (; ri && !r[--ri];) r[ri] = 9;
|
|
440
|
+
--r[ri];
|
|
441
|
+
r[rl] += 10;
|
|
442
|
+
}
|
|
443
|
+
r[rl] -= bt[rl];
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
for (; !r[0];) r.shift();
|
|
447
|
+
} else {
|
|
448
|
+
break;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
// Add the digit n to the result array.
|
|
453
|
+
qc[qi++] = cmp ? n : ++n;
|
|
454
|
+
|
|
455
|
+
// Update the remainder.
|
|
456
|
+
if (r[0] && cmp) r[rl] = a[ai] || 0;
|
|
457
|
+
else r = [a[ai]];
|
|
458
|
+
|
|
459
|
+
} while ((ai++ < al || r[0] !== UNDEFINED) && k--);
|
|
460
|
+
|
|
461
|
+
// Leading zero? Do not remove if result is simply zero (qi == 1).
|
|
462
|
+
if (!qc[0] && qi != 1) {
|
|
463
|
+
|
|
464
|
+
// There can't be more than one zero.
|
|
465
|
+
qc.shift();
|
|
466
|
+
q.e--;
|
|
467
|
+
p--;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
// Round?
|
|
471
|
+
if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
|
|
472
|
+
|
|
473
|
+
return q;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
/*
|
|
478
|
+
* Return true if the value of this Big is equal to the value of Big y, otherwise return false.
|
|
479
|
+
*/
|
|
480
|
+
P.eq = function (y) {
|
|
481
|
+
return this.cmp(y) === 0;
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
/*
|
|
486
|
+
* Return true if the value of this Big is greater than the value of Big y, otherwise return
|
|
487
|
+
* false.
|
|
488
|
+
*/
|
|
489
|
+
P.gt = function (y) {
|
|
490
|
+
return this.cmp(y) > 0;
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
/*
|
|
495
|
+
* Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
|
|
496
|
+
* return false.
|
|
497
|
+
*/
|
|
498
|
+
P.gte = function (y) {
|
|
499
|
+
return this.cmp(y) > -1;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
/*
|
|
504
|
+
* Return true if the value of this Big is less than the value of Big y, otherwise return false.
|
|
505
|
+
*/
|
|
506
|
+
P.lt = function (y) {
|
|
507
|
+
return this.cmp(y) < 0;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
/*
|
|
512
|
+
* Return true if the value of this Big is less than or equal to the value of Big y, otherwise
|
|
513
|
+
* return false.
|
|
514
|
+
*/
|
|
515
|
+
P.lte = function (y) {
|
|
516
|
+
return this.cmp(y) < 1;
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
/*
|
|
521
|
+
* Return a new Big whose value is the value of this Big minus the value of Big y.
|
|
522
|
+
*/
|
|
523
|
+
P.minus = P.sub = function (y) {
|
|
524
|
+
var i, j, t, xlty,
|
|
525
|
+
x = this,
|
|
526
|
+
Big = x.constructor,
|
|
527
|
+
a = x.s,
|
|
528
|
+
b = (y = new Big(y)).s;
|
|
529
|
+
|
|
530
|
+
// Signs differ?
|
|
531
|
+
if (a != b) {
|
|
532
|
+
y.s = -b;
|
|
533
|
+
return x.plus(y);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
var xc = x.c.slice(),
|
|
537
|
+
xe = x.e,
|
|
538
|
+
yc = y.c,
|
|
539
|
+
ye = y.e;
|
|
540
|
+
|
|
541
|
+
// Either zero?
|
|
542
|
+
if (!xc[0] || !yc[0]) {
|
|
543
|
+
if (yc[0]) {
|
|
544
|
+
y.s = -b;
|
|
545
|
+
} else if (xc[0]) {
|
|
546
|
+
y = new Big(x);
|
|
547
|
+
} else {
|
|
548
|
+
y.s = 1;
|
|
549
|
+
}
|
|
550
|
+
return y;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
// Determine which is the bigger number. Prepend zeros to equalise exponents.
|
|
554
|
+
if (a = xe - ye) {
|
|
555
|
+
|
|
556
|
+
if (xlty = a < 0) {
|
|
557
|
+
a = -a;
|
|
558
|
+
t = xc;
|
|
559
|
+
} else {
|
|
560
|
+
ye = xe;
|
|
561
|
+
t = yc;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
t.reverse();
|
|
565
|
+
for (b = a; b--;) t.push(0);
|
|
566
|
+
t.reverse();
|
|
567
|
+
} else {
|
|
568
|
+
|
|
569
|
+
// Exponents equal. Check digit by digit.
|
|
570
|
+
j = ((xlty = xc.length < yc.length) ? xc : yc).length;
|
|
571
|
+
|
|
572
|
+
for (a = b = 0; b < j; b++) {
|
|
573
|
+
if (xc[b] != yc[b]) {
|
|
574
|
+
xlty = xc[b] < yc[b];
|
|
575
|
+
break;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
// x < y? Point xc to the array of the bigger number.
|
|
581
|
+
if (xlty) {
|
|
582
|
+
t = xc;
|
|
583
|
+
xc = yc;
|
|
584
|
+
yc = t;
|
|
585
|
+
y.s = -y.s;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/*
|
|
589
|
+
* Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
|
|
590
|
+
* needs to start at yc.length.
|
|
591
|
+
*/
|
|
592
|
+
if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
|
|
593
|
+
|
|
594
|
+
// Subtract yc from xc.
|
|
595
|
+
for (b = i; j > a;) {
|
|
596
|
+
if (xc[--j] < yc[j]) {
|
|
597
|
+
for (i = j; i && !xc[--i];) xc[i] = 9;
|
|
598
|
+
--xc[i];
|
|
599
|
+
xc[j] += 10;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
xc[j] -= yc[j];
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
// Remove trailing zeros.
|
|
606
|
+
for (; xc[--b] === 0;) xc.pop();
|
|
607
|
+
|
|
608
|
+
// Remove leading zeros and adjust exponent accordingly.
|
|
609
|
+
for (; xc[0] === 0;) {
|
|
610
|
+
xc.shift();
|
|
611
|
+
--ye;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
if (!xc[0]) {
|
|
615
|
+
|
|
616
|
+
// n - n = +0
|
|
617
|
+
y.s = 1;
|
|
618
|
+
|
|
619
|
+
// Result must be zero.
|
|
620
|
+
xc = [ye = 0];
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
y.c = xc;
|
|
624
|
+
y.e = ye;
|
|
625
|
+
|
|
626
|
+
return y;
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
/*
|
|
631
|
+
* Return a new Big whose value is the value of this Big modulo the value of Big y.
|
|
632
|
+
*/
|
|
633
|
+
P.mod = function (y) {
|
|
634
|
+
var ygtx,
|
|
635
|
+
x = this,
|
|
636
|
+
Big = x.constructor,
|
|
637
|
+
a = x.s,
|
|
638
|
+
b = (y = new Big(y)).s;
|
|
639
|
+
|
|
640
|
+
if (!y.c[0]) {
|
|
641
|
+
throw Error(DIV_BY_ZERO);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
x.s = y.s = 1;
|
|
645
|
+
ygtx = y.cmp(x) == 1;
|
|
646
|
+
x.s = a;
|
|
647
|
+
y.s = b;
|
|
648
|
+
|
|
649
|
+
if (ygtx) return new Big(x);
|
|
650
|
+
|
|
651
|
+
a = Big.DP;
|
|
652
|
+
b = Big.RM;
|
|
653
|
+
Big.DP = Big.RM = 0;
|
|
654
|
+
x = x.div(y);
|
|
655
|
+
Big.DP = a;
|
|
656
|
+
Big.RM = b;
|
|
657
|
+
|
|
658
|
+
return this.minus(x.times(y));
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
/*
|
|
663
|
+
* Return a new Big whose value is the value of this Big negated.
|
|
664
|
+
*/
|
|
665
|
+
P.neg = function () {
|
|
666
|
+
var x = new this.constructor(this);
|
|
667
|
+
x.s = -x.s;
|
|
668
|
+
return x;
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
/*
|
|
673
|
+
* Return a new Big whose value is the value of this Big plus the value of Big y.
|
|
674
|
+
*/
|
|
675
|
+
P.plus = P.add = function (y) {
|
|
676
|
+
var e, k, t,
|
|
677
|
+
x = this,
|
|
678
|
+
Big = x.constructor;
|
|
679
|
+
|
|
680
|
+
y = new Big(y);
|
|
681
|
+
|
|
682
|
+
// Signs differ?
|
|
683
|
+
if (x.s != y.s) {
|
|
684
|
+
y.s = -y.s;
|
|
685
|
+
return x.minus(y);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
var xe = x.e,
|
|
689
|
+
xc = x.c,
|
|
690
|
+
ye = y.e,
|
|
691
|
+
yc = y.c;
|
|
692
|
+
|
|
693
|
+
// Either zero?
|
|
694
|
+
if (!xc[0] || !yc[0]) {
|
|
695
|
+
if (!yc[0]) {
|
|
696
|
+
if (xc[0]) {
|
|
697
|
+
y = new Big(x);
|
|
698
|
+
} else {
|
|
699
|
+
y.s = x.s;
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
return y;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
xc = xc.slice();
|
|
706
|
+
|
|
707
|
+
// Prepend zeros to equalise exponents.
|
|
708
|
+
// Note: reverse faster than unshifts.
|
|
709
|
+
if (e = xe - ye) {
|
|
710
|
+
if (e > 0) {
|
|
711
|
+
ye = xe;
|
|
712
|
+
t = yc;
|
|
713
|
+
} else {
|
|
714
|
+
e = -e;
|
|
715
|
+
t = xc;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
t.reverse();
|
|
719
|
+
for (; e--;) t.push(0);
|
|
720
|
+
t.reverse();
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
// Point xc to the longer array.
|
|
724
|
+
if (xc.length - yc.length < 0) {
|
|
725
|
+
t = yc;
|
|
726
|
+
yc = xc;
|
|
727
|
+
xc = t;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
e = yc.length;
|
|
731
|
+
|
|
732
|
+
// Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
|
|
733
|
+
for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
|
|
734
|
+
|
|
735
|
+
// No need to check for zero, as +x + +y != 0 && -x + -y != 0
|
|
736
|
+
|
|
737
|
+
if (k) {
|
|
738
|
+
xc.unshift(k);
|
|
739
|
+
++ye;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
// Remove trailing zeros.
|
|
743
|
+
for (e = xc.length; xc[--e] === 0;) xc.pop();
|
|
744
|
+
|
|
745
|
+
y.c = xc;
|
|
746
|
+
y.e = ye;
|
|
747
|
+
|
|
748
|
+
return y;
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
/*
|
|
753
|
+
* Return a Big whose value is the value of this Big raised to the power n.
|
|
754
|
+
* If n is negative, round to a maximum of Big.DP decimal places using rounding
|
|
755
|
+
* mode Big.RM.
|
|
756
|
+
*
|
|
757
|
+
* n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
|
|
758
|
+
*/
|
|
759
|
+
P.pow = function (n) {
|
|
760
|
+
var x = this,
|
|
761
|
+
one = new x.constructor('1'),
|
|
762
|
+
y = one,
|
|
763
|
+
isneg = n < 0;
|
|
764
|
+
|
|
765
|
+
if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
|
|
766
|
+
throw Error(INVALID + 'exponent');
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
if (isneg) n = -n;
|
|
770
|
+
|
|
771
|
+
for (;;) {
|
|
772
|
+
if (n & 1) y = y.times(x);
|
|
773
|
+
n >>= 1;
|
|
774
|
+
if (!n) break;
|
|
775
|
+
x = x.times(x);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
return isneg ? one.div(y) : y;
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
/*
|
|
783
|
+
* Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
|
|
784
|
+
* significant digits using rounding mode rm, or Big.RM if rm is not specified.
|
|
785
|
+
*
|
|
786
|
+
* sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
|
|
787
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
788
|
+
*/
|
|
789
|
+
P.prec = function (sd, rm) {
|
|
790
|
+
if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
|
|
791
|
+
throw Error(INVALID + 'precision');
|
|
792
|
+
}
|
|
793
|
+
return round(new this.constructor(this), sd, rm);
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
/*
|
|
798
|
+
* Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
|
|
799
|
+
* using rounding mode rm, or Big.RM if rm is not specified.
|
|
800
|
+
* If dp is negative, round to an integer which is a multiple of 10**-dp.
|
|
801
|
+
* If dp is not specified, round to 0 decimal places.
|
|
802
|
+
*
|
|
803
|
+
* dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
|
|
804
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
805
|
+
*/
|
|
806
|
+
P.round = function (dp, rm) {
|
|
807
|
+
if (dp === UNDEFINED) dp = 0;
|
|
808
|
+
else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
|
|
809
|
+
throw Error(INVALID_DP);
|
|
810
|
+
}
|
|
811
|
+
return round(new this.constructor(this), dp + this.e + 1, rm);
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
/*
|
|
816
|
+
* Return a new Big whose value is the square root of the value of this Big, rounded, if
|
|
817
|
+
* necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
|
|
818
|
+
*/
|
|
819
|
+
P.sqrt = function () {
|
|
820
|
+
var r, c, t,
|
|
821
|
+
x = this,
|
|
822
|
+
Big = x.constructor,
|
|
823
|
+
s = x.s,
|
|
824
|
+
e = x.e,
|
|
825
|
+
half = new Big('0.5');
|
|
826
|
+
|
|
827
|
+
// Zero?
|
|
828
|
+
if (!x.c[0]) return new Big(x);
|
|
829
|
+
|
|
830
|
+
// Negative?
|
|
831
|
+
if (s < 0) {
|
|
832
|
+
throw Error(NAME + 'No square root');
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
// Estimate.
|
|
836
|
+
s = Math.sqrt(x + '');
|
|
837
|
+
|
|
838
|
+
// Math.sqrt underflow/overflow?
|
|
839
|
+
// Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
|
|
840
|
+
if (s === 0 || s === 1 / 0) {
|
|
841
|
+
c = x.c.join('');
|
|
842
|
+
if (!(c.length + e & 1)) c += '0';
|
|
843
|
+
s = Math.sqrt(c);
|
|
844
|
+
e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
|
|
845
|
+
r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
|
|
846
|
+
} else {
|
|
847
|
+
r = new Big(s + '');
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
e = r.e + (Big.DP += 4);
|
|
851
|
+
|
|
852
|
+
// Newton-Raphson iteration.
|
|
853
|
+
do {
|
|
854
|
+
t = r;
|
|
855
|
+
r = half.times(t.plus(x.div(t)));
|
|
856
|
+
} while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
|
|
857
|
+
|
|
858
|
+
return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
/*
|
|
863
|
+
* Return a new Big whose value is the value of this Big times the value of Big y.
|
|
864
|
+
*/
|
|
865
|
+
P.times = P.mul = function (y) {
|
|
866
|
+
var c,
|
|
867
|
+
x = this,
|
|
868
|
+
Big = x.constructor,
|
|
869
|
+
xc = x.c,
|
|
870
|
+
yc = (y = new Big(y)).c,
|
|
871
|
+
a = xc.length,
|
|
872
|
+
b = yc.length,
|
|
873
|
+
i = x.e,
|
|
874
|
+
j = y.e;
|
|
875
|
+
|
|
876
|
+
// Determine sign of result.
|
|
877
|
+
y.s = x.s == y.s ? 1 : -1;
|
|
878
|
+
|
|
879
|
+
// Return signed 0 if either 0.
|
|
880
|
+
if (!xc[0] || !yc[0]) {
|
|
881
|
+
y.c = [y.e = 0];
|
|
882
|
+
return y;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
// Initialise exponent of result as x.e + y.e.
|
|
886
|
+
y.e = i + j;
|
|
887
|
+
|
|
888
|
+
// If array xc has fewer digits than yc, swap xc and yc, and lengths.
|
|
889
|
+
if (a < b) {
|
|
890
|
+
c = xc;
|
|
891
|
+
xc = yc;
|
|
892
|
+
yc = c;
|
|
893
|
+
j = a;
|
|
894
|
+
a = b;
|
|
895
|
+
b = j;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
// Initialise coefficient array of result with zeros.
|
|
899
|
+
for (c = new Array(j = a + b); j--;) c[j] = 0;
|
|
900
|
+
|
|
901
|
+
// Multiply.
|
|
902
|
+
|
|
903
|
+
// i is initially xc.length.
|
|
904
|
+
for (i = b; i--;) {
|
|
905
|
+
b = 0;
|
|
906
|
+
|
|
907
|
+
// a is yc.length.
|
|
908
|
+
for (j = a + i; j > i;) {
|
|
909
|
+
|
|
910
|
+
// Current sum of products at this digit position, plus carry.
|
|
911
|
+
b = c[j] + yc[i] * xc[j - i - 1] + b;
|
|
912
|
+
c[j--] = b % 10;
|
|
913
|
+
|
|
914
|
+
// carry
|
|
915
|
+
b = b / 10 | 0;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
c[j] = b;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
// Increment result exponent if there is a final carry, otherwise remove leading zero.
|
|
922
|
+
if (b) ++y.e;
|
|
923
|
+
else c.shift();
|
|
924
|
+
|
|
925
|
+
// Remove trailing zeros.
|
|
926
|
+
for (i = c.length; !c[--i];) c.pop();
|
|
927
|
+
y.c = c;
|
|
928
|
+
|
|
929
|
+
return y;
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
/*
|
|
934
|
+
* Return a string representing the value of this Big in exponential notation rounded to dp fixed
|
|
935
|
+
* decimal places using rounding mode rm, or Big.RM if rm is not specified.
|
|
936
|
+
*
|
|
937
|
+
* dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
|
|
938
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
939
|
+
*/
|
|
940
|
+
P.toExponential = function (dp, rm) {
|
|
941
|
+
var x = this,
|
|
942
|
+
n = x.c[0];
|
|
943
|
+
|
|
944
|
+
if (dp !== UNDEFINED) {
|
|
945
|
+
if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
|
|
946
|
+
throw Error(INVALID_DP);
|
|
947
|
+
}
|
|
948
|
+
x = round(new x.constructor(x), ++dp, rm);
|
|
949
|
+
for (; x.c.length < dp;) x.c.push(0);
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
return stringify(x, true, !!n);
|
|
953
|
+
};
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
/*
|
|
957
|
+
* Return a string representing the value of this Big in normal notation rounded to dp fixed
|
|
958
|
+
* decimal places using rounding mode rm, or Big.RM if rm is not specified.
|
|
959
|
+
*
|
|
960
|
+
* dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
|
|
961
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
962
|
+
*
|
|
963
|
+
* (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
|
|
964
|
+
* (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
|
|
965
|
+
*/
|
|
966
|
+
P.toFixed = function (dp, rm) {
|
|
967
|
+
var x = this,
|
|
968
|
+
n = x.c[0];
|
|
969
|
+
|
|
970
|
+
if (dp !== UNDEFINED) {
|
|
971
|
+
if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
|
|
972
|
+
throw Error(INVALID_DP);
|
|
973
|
+
}
|
|
974
|
+
x = round(new x.constructor(x), dp + x.e + 1, rm);
|
|
975
|
+
|
|
976
|
+
// x.e may have changed if the value is rounded up.
|
|
977
|
+
for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
return stringify(x, false, !!n);
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
/*
|
|
985
|
+
* Return a string representing the value of this Big.
|
|
986
|
+
* Return exponential notation if this Big has a positive exponent equal to or greater than
|
|
987
|
+
* Big.PE, or a negative exponent equal to or less than Big.NE.
|
|
988
|
+
* Omit the sign for negative zero.
|
|
989
|
+
*/
|
|
990
|
+
P.toJSON = P.toString = function () {
|
|
991
|
+
var x = this,
|
|
992
|
+
Big = x.constructor;
|
|
993
|
+
return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
/*
|
|
998
|
+
* Return the value of this Big as a primitve number.
|
|
999
|
+
*/
|
|
1000
|
+
P.toNumber = function () {
|
|
1001
|
+
var n = Number(stringify(this, true, true));
|
|
1002
|
+
if (this.constructor.strict === true && !this.eq(n.toString())) {
|
|
1003
|
+
throw Error(NAME + 'Imprecise conversion');
|
|
1004
|
+
}
|
|
1005
|
+
return n;
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
/*
|
|
1010
|
+
* Return a string representing the value of this Big rounded to sd significant digits using
|
|
1011
|
+
* rounding mode rm, or Big.RM if rm is not specified.
|
|
1012
|
+
* Use exponential notation if sd is less than the number of digits necessary to represent
|
|
1013
|
+
* the integer part of the value in normal notation.
|
|
1014
|
+
*
|
|
1015
|
+
* sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
|
|
1016
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
1017
|
+
*/
|
|
1018
|
+
P.toPrecision = function (sd, rm) {
|
|
1019
|
+
var x = this,
|
|
1020
|
+
Big = x.constructor,
|
|
1021
|
+
n = x.c[0];
|
|
1022
|
+
|
|
1023
|
+
if (sd !== UNDEFINED) {
|
|
1024
|
+
if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
|
|
1025
|
+
throw Error(INVALID + 'precision');
|
|
1026
|
+
}
|
|
1027
|
+
x = round(new Big(x), sd, rm);
|
|
1028
|
+
for (; x.c.length < sd;) x.c.push(0);
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
|
|
1032
|
+
};
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
/*
|
|
1036
|
+
* Return a string representing the value of this Big.
|
|
1037
|
+
* Return exponential notation if this Big has a positive exponent equal to or greater than
|
|
1038
|
+
* Big.PE, or a negative exponent equal to or less than Big.NE.
|
|
1039
|
+
* Include the sign for negative zero.
|
|
1040
|
+
*/
|
|
1041
|
+
P.valueOf = function () {
|
|
1042
|
+
var x = this,
|
|
1043
|
+
Big = x.constructor;
|
|
1044
|
+
if (Big.strict === true) {
|
|
1045
|
+
throw Error(NAME + 'valueOf disallowed');
|
|
1046
|
+
}
|
|
1047
|
+
return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
// Export
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
Big = _Big_();
|
|
1055
|
+
|
|
1056
|
+
Big['default'] = Big.Big = Big;
|
|
1057
|
+
|
|
1058
|
+
//AMD.
|
|
1059
|
+
if (module.exports) {
|
|
1060
|
+
module.exports = Big;
|
|
1061
|
+
|
|
1062
|
+
//Browser.
|
|
1063
|
+
} else {
|
|
1064
|
+
GLOBAL.Big = Big;
|
|
1065
|
+
}
|
|
1066
|
+
})(big);
|
|
1067
|
+
} (big$1));
|
|
1068
|
+
return big$1.exports;
|
|
1069
|
+
}
|
|
1063
1070
|
|
|
1064
|
-
|
|
1071
|
+
var bigExports = requireBig();
|
|
1072
|
+
var Big = /*@__PURE__*/getDefaultExportFromCjs(bigExports);
|
|
1065
1073
|
|
|
1066
|
-
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}";
|
|
1067
|
-
const BalInputStepperStyle0 = balInputStepperCss;
|
|
1074
|
+
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
1075
|
|
|
1069
1076
|
const InputStepper = /*@__PURE__*/ proxyCustomElement(class InputStepper extends HTMLElement {
|
|
1070
1077
|
constructor() {
|
|
@@ -1080,7 +1087,51 @@ const InputStepper = /*@__PURE__*/ proxyCustomElement(class InputStepper extends
|
|
|
1080
1087
|
this.inheritedAttributes = {};
|
|
1081
1088
|
this.decreaseHasFocus = false;
|
|
1082
1089
|
this.increaseHasFocus = false;
|
|
1090
|
+
this.focused = false;
|
|
1091
|
+
this.language = defaultConfig.language;
|
|
1092
|
+
this.region = defaultConfig.region;
|
|
1093
|
+
this.ariaForm = defaultBalAriaForm;
|
|
1094
|
+
/**
|
|
1095
|
+
* The name of the control, which is submitted with the form data.
|
|
1096
|
+
*/
|
|
1097
|
+
this.name = this.inputId;
|
|
1098
|
+
/**
|
|
1099
|
+
* The min value the input can have
|
|
1100
|
+
*/
|
|
1101
|
+
this.min = 0;
|
|
1102
|
+
/**
|
|
1103
|
+
* The max value the input can have
|
|
1104
|
+
*/
|
|
1105
|
+
this.max = 10;
|
|
1106
|
+
/**
|
|
1107
|
+
* The steps in which the input increases or decreases
|
|
1108
|
+
*/
|
|
1109
|
+
this.steps = 1;
|
|
1110
|
+
/**
|
|
1111
|
+
* 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.
|
|
1112
|
+
*/
|
|
1113
|
+
this.disabled = false;
|
|
1114
|
+
/**
|
|
1115
|
+
* If `true` the element can not mutated, meaning the user can not edit the control.
|
|
1116
|
+
*/
|
|
1117
|
+
this.readonly = false;
|
|
1118
|
+
/**
|
|
1119
|
+
* If `true` the input is shown as invalid
|
|
1120
|
+
*/
|
|
1121
|
+
this.invalid = false;
|
|
1122
|
+
/**
|
|
1123
|
+
* 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`.
|
|
1124
|
+
*/
|
|
1125
|
+
this.debounce = 0;
|
|
1126
|
+
/**
|
|
1127
|
+
* The value of the input. Only allows values in the range of the min max attribute.
|
|
1128
|
+
*/
|
|
1129
|
+
this.value = 0;
|
|
1083
1130
|
this.initialValue = 0;
|
|
1131
|
+
/**
|
|
1132
|
+
* If `true`, in Angular reactive forms the control will not be set invalid
|
|
1133
|
+
*/
|
|
1134
|
+
this.autoInvalidOff = false;
|
|
1084
1135
|
this.onFocusDecrease = (ev) => {
|
|
1085
1136
|
this.decreaseHasFocus = true;
|
|
1086
1137
|
this.onFocus(ev);
|
|
@@ -1108,20 +1159,6 @@ const InputStepper = /*@__PURE__*/ proxyCustomElement(class InputStepper extends
|
|
|
1108
1159
|
this.balBlur.emit(ev);
|
|
1109
1160
|
}
|
|
1110
1161
|
};
|
|
1111
|
-
this.focused = false;
|
|
1112
|
-
this.language = defaultConfig.language;
|
|
1113
|
-
this.region = defaultConfig.region;
|
|
1114
|
-
this.ariaForm = defaultBalAriaForm;
|
|
1115
|
-
this.name = this.inputId;
|
|
1116
|
-
this.min = 0;
|
|
1117
|
-
this.max = 10;
|
|
1118
|
-
this.steps = 1;
|
|
1119
|
-
this.disabled = false;
|
|
1120
|
-
this.readonly = false;
|
|
1121
|
-
this.invalid = false;
|
|
1122
|
-
this.debounce = 0;
|
|
1123
|
-
this.value = 0;
|
|
1124
|
-
this.autoInvalidOff = false;
|
|
1125
1162
|
}
|
|
1126
1163
|
createLogger(log) {
|
|
1127
1164
|
this.log = log;
|
|
@@ -1193,21 +1230,13 @@ const InputStepper = /*@__PURE__*/ proxyCustomElement(class InputStepper extends
|
|
|
1193
1230
|
const elText = elInner.element('text');
|
|
1194
1231
|
const increaseLabel = i18nBalInputStepper[this.language].increase;
|
|
1195
1232
|
const decreaseLabel = i18nBalInputStepper[this.language].decrease;
|
|
1196
|
-
return (h(Host, { key: 'cfa84687c890114f02d591a21a46a07661469a48', "aria-disabled": ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, h("div", { key: '5335fcef9736cd54bc837ec55ab8431aac73ad49', class: Object.assign({}, elInner.class()) }, h("bal-button", { key: '
|
|
1197
|
-
title: decreaseLabel,
|
|
1198
|
-
label: decreaseLabel,
|
|
1199
|
-
controls: this.ariaForm.controlId || this.inputId,
|
|
1200
|
-
}, 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) }), 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" }, formatLocaleNumber(this.value)), h("bal-button", { key: '72d30a316782c5a7b2a3b024ae6b1d0b2dddf218', aria: {
|
|
1201
|
-
title: increaseLabel,
|
|
1202
|
-
label: increaseLabel,
|
|
1203
|
-
controls: this.ariaForm.controlId || this.inputId,
|
|
1204
|
-
}, 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) })), 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": 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))));
|
|
1233
|
+
return (h(Host, { key: 'cfa84687c890114f02d591a21a46a07661469a48', "aria-disabled": ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, h("div", { key: '5335fcef9736cd54bc837ec55ab8431aac73ad49', class: Object.assign({}, elInner.class()) }, 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) }), 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)) }, formatLocaleNumber(this.value)), 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) })), 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": 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))));
|
|
1205
1234
|
}
|
|
1206
1235
|
get el() { return this; }
|
|
1207
1236
|
static get watchers() { return {
|
|
1208
1237
|
"debounce": ["debounceChanged"]
|
|
1209
1238
|
}; }
|
|
1210
|
-
static get style() { return
|
|
1239
|
+
static get style() { return balInputStepperCss; }
|
|
1211
1240
|
}, [0, "bal-input-stepper", {
|
|
1212
1241
|
"name": [1],
|
|
1213
1242
|
"min": [2],
|
|
@@ -1246,7 +1275,7 @@ function defineCustomElement$1() {
|
|
|
1246
1275
|
if (typeof customElements === "undefined") {
|
|
1247
1276
|
return;
|
|
1248
1277
|
}
|
|
1249
|
-
const components = ["bal-input-stepper", "bal-button", "bal-icon", "bal-spinner"
|
|
1278
|
+
const components = ["bal-input-stepper", "bal-button", "bal-icon", "bal-spinner"];
|
|
1250
1279
|
components.forEach(tagName => { switch (tagName) {
|
|
1251
1280
|
case "bal-input-stepper":
|
|
1252
1281
|
if (!customElements.get(tagName)) {
|
|
@@ -1254,21 +1283,16 @@ function defineCustomElement$1() {
|
|
|
1254
1283
|
}
|
|
1255
1284
|
break;
|
|
1256
1285
|
case "bal-button":
|
|
1257
|
-
if (!customElements.get(tagName)) {
|
|
1258
|
-
defineCustomElement$5();
|
|
1259
|
-
}
|
|
1260
|
-
break;
|
|
1261
|
-
case "bal-icon":
|
|
1262
1286
|
if (!customElements.get(tagName)) {
|
|
1263
1287
|
defineCustomElement$4();
|
|
1264
1288
|
}
|
|
1265
1289
|
break;
|
|
1266
|
-
case "bal-
|
|
1290
|
+
case "bal-icon":
|
|
1267
1291
|
if (!customElements.get(tagName)) {
|
|
1268
1292
|
defineCustomElement$3();
|
|
1269
1293
|
}
|
|
1270
1294
|
break;
|
|
1271
|
-
case "bal-
|
|
1295
|
+
case "bal-spinner":
|
|
1272
1296
|
if (!customElements.get(tagName)) {
|
|
1273
1297
|
defineCustomElement$2();
|
|
1274
1298
|
}
|