@baloise/ds-core 19.8.2 → 19.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bal-accordion-details.js +6 -4
- package/components/bal-accordion-summary.js +7 -5
- package/components/bal-accordion-trigger.js +7 -5
- package/components/bal-accordion.js +9 -7
- package/components/bal-app.js +12 -8
- package/components/bal-badge2.js +6 -4
- package/components/bal-button-group2.js +5 -3
- package/components/bal-button2.js +5 -3
- package/components/bal-card-actions.js +5 -3
- package/components/bal-card-button.js +5 -3
- package/components/bal-card-content2.js +5 -3
- package/components/bal-card-subtitle.js +5 -3
- package/components/bal-card-title.js +5 -3
- package/components/bal-card2.js +5 -3
- package/components/bal-carousel-item.js +6 -4
- package/components/bal-carousel.js +21 -22
- package/components/bal-check2.js +5 -3
- package/components/bal-checkbox-group.js +7 -5
- package/components/bal-checkbox2.js +7 -5
- package/components/bal-close2.js +8 -6
- package/components/bal-content2.js +5 -3
- package/components/bal-data-item.js +5 -3
- package/components/bal-data-label.js +5 -3
- package/components/bal-data-value.js +7 -5
- package/components/bal-data.js +5 -3
- package/components/bal-date-calendar-cell2.js +5 -3
- package/components/bal-date-calendar2.js +21 -34
- package/components/bal-date.js +12 -10
- package/components/bal-divider.js +5 -3
- package/components/bal-dropdown.js +21 -24
- package/components/bal-field-control.js +5 -3
- package/components/bal-field-hint.js +7 -9
- package/components/bal-field-label.js +5 -3
- package/components/bal-field-message.js +5 -3
- package/components/bal-field.js +9 -7
- package/components/bal-file-upload.js +15 -22
- package/components/bal-footer.js +9 -7
- package/components/bal-form-col.js +7 -5
- package/components/bal-form-grid.js +5 -3
- package/components/bal-form.js +7 -5
- package/components/bal-heading2.js +6 -4
- package/components/bal-hint-text2.js +5 -3
- package/components/bal-hint-title2.js +5 -3
- package/components/bal-hint2.js +10 -8
- package/components/bal-icon2.js +6 -4
- package/components/bal-input-date2.js +10 -8
- package/components/bal-input-group2.js +6 -4
- package/components/bal-input-slider.js +11 -9
- package/components/bal-input-stepper.js +1027 -1056
- package/components/bal-input.js +6 -4
- package/components/bal-label2.js +9 -7
- package/components/bal-list-item-accordion-body2.js +10 -9
- package/components/bal-list-item-accordion-head2.js +10 -8
- package/components/bal-list-item-content2.js +5 -3
- package/components/bal-list-item-icon2.js +5 -3
- package/components/bal-list-item-subtitle2.js +5 -3
- package/components/bal-list-item-title2.js +5 -3
- package/components/bal-list-item2.js +6 -4
- package/components/bal-list2.js +6 -4
- package/components/bal-logo2.js +6 -4
- package/components/bal-modal-body.js +5 -3
- package/components/bal-modal-header.js +6 -4
- package/components/bal-modal.js +29 -27
- package/components/bal-nav-link-grid-col2.js +5 -3
- package/components/bal-nav-link-grid2.js +5 -3
- package/components/bal-nav-link-group.js +5 -3
- package/components/bal-nav-link2.js +5 -3
- package/components/bal-nav-menu-bar2.js +6 -4
- package/components/bal-nav-menu-flyout2.js +7 -6
- package/components/bal-nav-meta-bar2.js +7 -5
- package/components/bal-nav.js +31 -53
- package/components/bal-navbar-brand.js +9 -7
- package/components/bal-navbar-menu-end.js +5 -3
- package/components/bal-navbar-menu-start.js +5 -3
- package/components/bal-navbar-menu.js +5 -3
- package/components/bal-navbar.js +5 -3
- package/components/bal-notices.js +6 -4
- package/components/bal-notification.js +5 -3
- package/components/bal-number-input.js +8 -6
- package/components/bal-option-list.js +9 -7
- package/components/bal-option.js +7 -5
- package/components/bal-pagination.js +7 -5
- package/components/bal-popover-content2.js +7 -5
- package/components/bal-popover2.js +7 -5
- package/components/bal-popup2.js +8 -6
- package/components/bal-progress-bar.js +8 -7
- package/components/bal-radio-group.js +7 -5
- package/components/bal-radio-icon2.js +5 -3
- package/components/bal-radio2.js +6 -4
- package/components/bal-segment-item.js +6 -4
- package/components/bal-segment.js +11 -11
- package/components/bal-select-option2.js +5 -3
- package/components/bal-select2.js +13 -11
- package/components/bal-shape2.js +9 -7
- package/components/bal-sheet.js +5 -3
- package/components/bal-snackbar.js +7 -5
- package/components/bal-spinner2.js +7 -5
- package/components/bal-stack2.js +5 -3
- package/components/bal-stage-back-link.js +7 -5
- package/components/bal-stage-body.js +6 -4
- package/components/bal-stage-foot.js +6 -4
- package/components/bal-stage-head.js +6 -4
- package/components/bal-stage-image.js +8 -6
- package/components/bal-stage.js +5 -3
- package/components/bal-step-item.js +7 -5
- package/components/bal-steps.js +13 -17
- package/components/bal-switch.js +5 -3
- package/components/bal-tab-item.js +7 -5
- package/components/bal-table.js +6 -4
- package/components/bal-tabs2.js +29 -42
- package/components/bal-tag-group.js +5 -3
- package/components/bal-tag2.js +7 -5
- package/components/bal-text.js +5 -3
- package/components/bal-textarea.js +6 -4
- package/components/bal-time-input.js +8 -6
- package/components/bal-toast.js +6 -4
- package/components/bal-tooltip.js +7 -5
- package/components/breakpoints.subject.js +79 -5
- package/components/config.default.js +1 -1
- package/components/config.utils.js +1 -1
- package/components/focus.decorator.js +1 -1
- package/components/form-input.js +1 -1
- package/components/helpers.js +2 -2
- package/components/index.js +135 -16
- package/components/mutation.decorator.js +1 -1
- package/components/swiper.util.js +3 -8
- package/components/tokens.esm.js +2 -2
- package/components/visibility.decorator.js +1 -1
- package/components/window-resize.decorator.js +24 -1
- 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-01c556671d.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-34251be01a.entry.js → p-022a899d9f.entry.js} +1 -1
- package/dist/baloise-design-system/p-06ae31c81e.entry.js +1 -0
- package/dist/baloise-design-system/p-06d6d65df7.entry.js +1 -0
- package/dist/baloise-design-system/p-07cd3d2e40.entry.js +1 -0
- package/dist/baloise-design-system/p-08644e325b.entry.js +1 -0
- package/dist/baloise-design-system/p-09f86c863d.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0b800b55bc.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0c10bf8c73.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0d487a482f.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0ec86b3f93.system.entry.js +1 -0
- package/dist/baloise-design-system/p-15c5f87ce0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-167806fc44.entry.js +1 -0
- package/dist/baloise-design-system/p-17fb47d0d4.entry.js +1 -0
- package/dist/baloise-design-system/p-196ff3a00e.entry.js +1 -0
- package/dist/baloise-design-system/p-1b1fdadab3.entry.js +1 -0
- package/dist/baloise-design-system/p-1b2d849d3f.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-aa6b291c05.entry.js → p-1f011724dd.entry.js} +1 -1
- package/dist/baloise-design-system/p-2264ba1f28.entry.js +1 -0
- package/dist/baloise-design-system/{p-6bb94607cc.entry.js → p-23537928fa.entry.js} +1 -1
- package/dist/baloise-design-system/p-2360c337dc.entry.js +1 -0
- package/dist/baloise-design-system/p-24d0c0ddcf.entry.js +1 -0
- package/dist/baloise-design-system/p-261f0c83c1.entry.js +1 -0
- package/dist/baloise-design-system/p-26764b092e.entry.js +1 -0
- package/dist/baloise-design-system/p-2c066243bc.entry.js +1 -0
- package/dist/baloise-design-system/p-2d57df519d.entry.js +1 -0
- package/dist/baloise-design-system/p-2d8dd4be3a.entry.js +1 -0
- package/dist/baloise-design-system/{p-5233b94b59.system.entry.js → p-2dbbdfb785.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-3717f4438f.system.entry.js +1 -0
- package/dist/baloise-design-system/p-3790f8edcd.entry.js +1 -0
- package/dist/baloise-design-system/p-393a3d5fb7.entry.js +1 -0
- package/dist/baloise-design-system/p-42801b7e0c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-43878b51c9.system.entry.js +1 -0
- package/dist/baloise-design-system/p-440fb2470e.entry.js +1 -0
- package/dist/baloise-design-system/{p-6f8769f0fd.entry.js → p-469503b436.entry.js} +1 -1
- package/dist/baloise-design-system/p-4Y53iwfN.system.js +1 -0
- package/dist/baloise-design-system/p-4a34919910.system.entry.js +1 -0
- package/dist/baloise-design-system/p-4c12fc1e8f.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5439c93408.entry.js +1 -0
- package/dist/baloise-design-system/p-56535b513e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5c583159db.entry.js +1 -0
- package/dist/baloise-design-system/{p-85453d4b0a.system.entry.js → p-5d95c50514.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-5e4a2342f3.entry.js +1 -0
- package/dist/baloise-design-system/p-5f8ae628c4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-63a829988a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-63cf9eadee.entry.js +1 -0
- package/dist/baloise-design-system/p-6814029ea2.entry.js +1 -0
- package/dist/baloise-design-system/p-6d93b1d5cc.entry.js +1 -0
- package/dist/baloise-design-system/p-6da83fc08c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-6fa6bfd775.entry.js +1 -0
- package/dist/baloise-design-system/p-7027eb9c58.entry.js +1 -0
- package/dist/baloise-design-system/p-70bdd60500.system.entry.js +1 -0
- package/dist/baloise-design-system/p-71ab949cfb.system.entry.js +1 -0
- package/dist/baloise-design-system/p-743a8ea6e8.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7571dcc8ec.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-5437056c7e.system.entry.js → p-76fdd28025.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-77045369a5.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7e55f97a9b.entry.js +1 -0
- package/dist/baloise-design-system/p-7e6c509606.entry.js +1 -0
- package/dist/baloise-design-system/p-80cae9282e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-84d321b4f8.entry.js +1 -0
- package/dist/baloise-design-system/p-84de20be7c.entry.js +1 -0
- package/dist/baloise-design-system/p-85428cc869.entry.js +1 -0
- package/dist/baloise-design-system/p-8670cb3845.entry.js +1 -0
- package/dist/baloise-design-system/p-8cff569252.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-85f99546f7.system.entry.js → p-8da6979637.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8ebe2676cf.entry.js +1 -0
- package/dist/baloise-design-system/p-90d225c57c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-93311a064b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-93bba463b3.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-60249e3303.system.entry.js → p-967ff349ed.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-96bf290c11.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-a968e7d20a.entry.js → p-996075a13e.entry.js} +1 -1
- package/dist/baloise-design-system/p-B-L34nz8.js +1 -0
- package/dist/baloise-design-system/p-B1u-Mq75.js +1 -0
- package/dist/baloise-design-system/p-B9BMZmYk.js +1 -0
- package/dist/baloise-design-system/p-BCtb7Ny9.system.js +1 -0
- package/dist/baloise-design-system/{p-D1VPLQ5z.js → p-BERg8BNc.js} +1 -1
- package/dist/baloise-design-system/p-BM_oHMik.system.js +1 -0
- package/dist/baloise-design-system/p-BNWt5z9B.system.js +1 -0
- package/dist/baloise-design-system/p-B_C7V4Sa.js +1 -0
- package/dist/baloise-design-system/p-Ba5qjFjW.js +1 -0
- package/dist/baloise-design-system/p-BblIE2Vz.system.js +1 -0
- package/dist/baloise-design-system/p-Bc9nHL5Q.system.js +1 -0
- package/dist/baloise-design-system/p-BdVwMG9u.js +2 -0
- package/dist/baloise-design-system/p-BpMXwP_q.system.js +1 -0
- package/dist/baloise-design-system/p-BsL4egMT.js +1 -0
- package/dist/baloise-design-system/p-BtgFoKGn.js +1 -0
- package/dist/baloise-design-system/p-BwTzTXZG.js +1 -0
- package/dist/baloise-design-system/{p-Zfrf1YrK.js → p-C20cwFWy.js} +1 -1
- package/dist/baloise-design-system/{p-C8rDagP9.system.js → p-C6x8G3mu.system.js} +1 -1
- package/dist/baloise-design-system/p-CBUCh83e.js +1 -0
- package/dist/baloise-design-system/{p-DXtc2jog.system.js → p-CCoeJzzY.system.js} +1 -1
- package/dist/baloise-design-system/p-CDeyBUqm.system.js +1 -0
- package/dist/baloise-design-system/{p-hMjQnp7y.js → p-CFUQlsvN.js} +1 -1
- package/dist/baloise-design-system/{p-CzMY8q3l.js → p-CI2FR64u.js} +1 -1
- package/dist/baloise-design-system/p-CLDmOIBx.system.js +1 -0
- package/dist/baloise-design-system/p-CTuoH3RE.system.js +1 -0
- package/dist/baloise-design-system/p-CXAw6SMX.system.js +1 -0
- package/dist/baloise-design-system/p-C_0MGoKB.js +1 -0
- package/dist/baloise-design-system/{p-lN4h2Pow.js → p-CeIZ5hSt.js} +1 -1
- package/dist/baloise-design-system/p-CeRECGC7.js +1 -0
- package/dist/baloise-design-system/{p-CzSV5e8r.js → p-CpDHeXfo.js} +1 -1
- package/dist/baloise-design-system/{p-4RggM_kM.js → p-Crri2rlL.js} +1 -1
- package/dist/baloise-design-system/{p-m9_QZ3Uf.system.js → p-CvHtWfhm.system.js} +1 -1
- package/dist/baloise-design-system/p-CwWHLbPB.system.js +1 -0
- package/dist/baloise-design-system/p-D1opIX9W.system.js +1 -0
- package/dist/baloise-design-system/p-D7M-7v58.js +1 -0
- package/dist/baloise-design-system/p-D7_eHNTI.system.js +1 -0
- package/dist/baloise-design-system/p-D7ovid3w.js +1 -0
- package/dist/baloise-design-system/p-D9FHe08C.system.js +1 -0
- package/dist/baloise-design-system/{p-D4gL5qCn.system.js → p-DDPYMMGG.system.js} +1 -1
- package/dist/baloise-design-system/{p-CInq3uzG.system.js → p-DI-sUHVD.system.js} +1 -1
- package/dist/baloise-design-system/p-DL7tjDqO.system.js +1 -0
- package/dist/baloise-design-system/p-DNy7adIE.system.js +1 -0
- package/dist/baloise-design-system/{p-CpCwptFO.js → p-DOUIg6bI.js} +1 -1
- package/dist/baloise-design-system/p-DST0VloN.system.js +1 -0
- package/dist/baloise-design-system/p-DV-2u4Pm.system.js +1 -0
- package/dist/baloise-design-system/p-DWgCJRpS.system.js +1 -1
- package/dist/baloise-design-system/p-DZ_vvO92.js +1 -0
- package/dist/baloise-design-system/{p-C9hJ2TuZ.system.js → p-DdX8FaaK.system.js} +1 -1
- package/dist/baloise-design-system/p-Dhp6-MTS.system.js +1 -0
- package/dist/baloise-design-system/p-DowF7e07.system.js +1 -0
- package/dist/baloise-design-system/{p-B5KM7rHn.js → p-Dp4edqFK.js} +1 -1
- package/dist/baloise-design-system/p-DsxGYykr.js +1 -0
- package/dist/baloise-design-system/{p-SdtgSPca.system.js → p-DtlqgdI2.system.js} +1 -1
- package/dist/baloise-design-system/{p-9kAhgg3Z.js → p-Dvgek0Sb.js} +1 -1
- package/dist/baloise-design-system/p-Dz-E2PRm.system.js +1 -1
- package/dist/baloise-design-system/p-IZFfLjcz.js +1 -0
- package/dist/baloise-design-system/{p-cH5PDB1i.js → p-MBsgW7uz.js} +1 -1
- package/dist/baloise-design-system/p-PNu_g_s6.system.js +2 -0
- package/dist/baloise-design-system/p-TqRS9XF1.system.js +1 -0
- package/dist/baloise-design-system/{p-DXVk9Ina.js → p-ZalPEZLa.js} +1 -1
- package/dist/baloise-design-system/p-a17017ddc0.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-48180ac5f9.system.entry.js → p-a2abd2bae3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-27c4c637c1.system.entry.js → p-a494f5de47.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-a97c5309f7.entry.js +1 -0
- package/dist/baloise-design-system/p-abfdce3ea8.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ae2946a498.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b03de8e7ba.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b0b5fa7a40.entry.js +1 -0
- package/dist/baloise-design-system/p-b38b2e9484.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-0d618c466b.system.entry.js → p-b4e66c496c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-b603676988.entry.js +1 -0
- package/dist/baloise-design-system/{p-b06c400104.entry.js → p-b66021b38c.entry.js} +1 -1
- package/dist/baloise-design-system/p-b81b635342.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b9be7f4ef6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ba0974ae21.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-46048d30b3.system.entry.js → p-bd80a9b297.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-bf4f338b08.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c291d986ba.entry.js +1 -0
- package/dist/baloise-design-system/p-c3af6cc44a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c45c863624.entry.js +1 -0
- package/dist/baloise-design-system/p-c78c0dd43a.entry.js +1 -0
- package/dist/baloise-design-system/p-c983f0df44.entry.js +1 -0
- package/dist/baloise-design-system/p-cbc17a1f06.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ccf29475c6.entry.js +1 -0
- package/dist/baloise-design-system/p-cf749f385e.entry.js +1 -0
- package/dist/baloise-design-system/p-cfae4fef4d.entry.js +1 -0
- package/dist/baloise-design-system/{p-09bcea6590.entry.js → p-d04073fca3.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f5da815d40.system.entry.js → p-d680dc3dd0.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d846f14080.system.entry.js +1 -0
- package/dist/baloise-design-system/p-dbb9b3b5e2.system.entry.js +1 -0
- package/dist/baloise-design-system/p-df0264e119.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e03203e89d.entry.js +1 -0
- package/dist/baloise-design-system/p-e2296eb10b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e4154bb891.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ea29fa4382.entry.js +1 -0
- package/dist/baloise-design-system/p-eb726f11fd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-eb9d8029c6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ef841ce7eb.system.entry.js +1 -0
- package/dist/baloise-design-system/p-f12905324e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-f2232ea09f.entry.js +1 -0
- package/dist/baloise-design-system/p-f348ec6012.entry.js +1 -0
- package/dist/baloise-design-system/p-f51b5f779a.entry.js +1 -0
- package/dist/baloise-design-system/{p-845bb5b65f.entry.js → p-f7b16f08ab.entry.js} +1 -1
- package/dist/baloise-design-system/{p-09dea19d2d.entry.js → p-fdb00a8fdc.entry.js} +1 -1
- package/dist/baloise-design-system/p-hcWLO6Gg.js +1 -0
- package/dist/baloise-design-system/{p-BUT7svFW.js → p-j851_ZaC.js} +1 -1
- package/dist/baloise-design-system/p-jQQqRgMt.system.js +1 -0
- package/dist/baloise-design-system/p-wAfnccKA.system.js +1 -0
- package/dist/baloise-design-system/{p-D4O83t4p.system.js → p-xlS5vO33.system.js} +1 -1
- package/dist/cjs/{animation.decorator-DvBKgd0w.js → animation.decorator-B4NJvcMF.js} +9 -9
- package/dist/cjs/app-globals-C_KNnTwa.js +11 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +24 -19
- package/dist/cjs/bal-app.cjs.entry.js +20 -14
- package/dist/cjs/bal-badge.cjs.entry.js +2 -2
- package/dist/cjs/bal-button_2.cjs.entry.js +5 -2
- package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +31 -29
- package/dist/cjs/bal-check.cjs.entry.js +1 -1
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +16 -12
- package/dist/cjs/bal-close.cjs.entry.js +9 -5
- package/dist/cjs/bal-content.cjs.entry.js +4 -2
- package/dist/cjs/bal-data_4.cjs.entry.js +6 -3
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +5 -2
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +33 -44
- package/dist/cjs/bal-date.cjs.entry.js +29 -25
- package/dist/cjs/bal-divider.cjs.entry.js +4 -2
- package/dist/cjs/{bal-dropdown.cjs.entry.js → bal-dropdown_3.cjs.entry.js} +634 -40
- package/dist/cjs/bal-field_5.cjs.entry.js +14 -14
- package/dist/cjs/bal-file-upload.cjs.entry.js +16 -21
- package/dist/cjs/bal-footer.cjs.entry.js +14 -9
- package/dist/cjs/bal-form-col_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-form.cjs.entry.js +7 -4
- package/dist/cjs/bal-heading_2.cjs.entry.js +4 -3
- package/dist/cjs/bal-hint_5.cjs.entry.js +22 -18
- package/dist/cjs/bal-icon.cjs.entry.js +7 -3
- package/dist/cjs/bal-input-group.cjs.entry.js +2 -2
- package/dist/cjs/bal-input-slider.cjs.entry.js +10 -7
- package/dist/cjs/bal-input-stepper.cjs.entry.js +1035 -1061
- package/dist/cjs/bal-input.cjs.entry.js +9 -5
- package/dist/cjs/bal-label.cjs.entry.js +11 -7
- package/dist/cjs/bal-list_8.cjs.entry.js +33 -29
- package/dist/cjs/bal-logo.cjs.entry.js +13 -9
- package/dist/cjs/bal-modal_3.cjs.entry.js +33 -30
- package/dist/cjs/bal-nav_8.cjs.entry.js +62 -82
- package/dist/cjs/bal-navbar_5.cjs.entry.js +19 -14
- package/dist/cjs/bal-notices_3.cjs.entry.js +2 -2
- package/dist/cjs/bal-notification.cjs.entry.js +1 -1
- package/dist/cjs/bal-number-input.cjs.entry.js +14 -9
- package/dist/cjs/bal-pagination.cjs.entry.js +13 -8
- package/dist/cjs/bal-popup.cjs.entry.js +17 -13
- package/dist/cjs/bal-progress-bar.cjs.entry.js +12 -10
- package/dist/cjs/bal-radio-icon.cjs.entry.js +1 -1
- package/dist/cjs/bal-radio_2.cjs.entry.js +16 -12
- package/dist/cjs/bal-segment_2.cjs.entry.js +24 -21
- package/dist/cjs/bal-select_2.cjs.entry.js +20 -16
- package/dist/cjs/bal-shape.cjs.entry.js +6 -6
- package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +12 -7
- package/dist/cjs/bal-stack.cjs.entry.js +4 -2
- package/dist/cjs/bal-stage_6.cjs.entry.js +11 -8
- package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
- package/dist/cjs/bal-steps.cjs.entry.js +18 -20
- package/dist/cjs/bal-switch.cjs.entry.js +1 -1
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +55 -65
- package/dist/cjs/bal-table.cjs.entry.js +2 -2
- package/dist/cjs/bal-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-textarea.cjs.entry.js +7 -4
- package/dist/cjs/bal-time-input.cjs.entry.js +13 -8
- package/dist/cjs/bal-tooltip.cjs.entry.js +11 -7
- package/dist/cjs/baloise-design-system.cjs.js +11 -4
- package/dist/cjs/{breakpoints.decorator-Bcx5bHdk.js → breakpoints.decorator-DyuVBCe8.js} +1 -1
- package/dist/cjs/{breakpoints.subject-DyM7928g.js → breakpoints.subject-dnWvx514.js} +17 -16
- package/dist/cjs/browser-BwmkTmm8.js +64 -0
- package/dist/cjs/{config.decorator-D_YTqpYj.js → config.decorator-CUe4yCTd.js} +3 -3
- package/dist/cjs/config.default-Bkso4_bY.js +50 -0
- package/dist/cjs/config.utils-Civnz2jT.js +142 -0
- package/dist/cjs/{date-CA-bG6cD.js → date-BPyuc34s.js} +69 -5
- package/dist/cjs/{device-CrnZOym8.js → device-CoogBamh.js} +5 -5
- package/dist/cjs/{element-states.decorator-0udYH_TL.js → element-states.decorator-BG2oNUsO.js} +13 -12
- package/dist/cjs/{floating-ui-T_yqQ0TC.js → floating-ui-DyN44UhF.js} +2 -2
- package/dist/cjs/{focus.decorator-Bu4qsoNG.js → focus.decorator-BL2kLsNv.js} +10 -9
- package/dist/cjs/{form-input-DBZuEpuy.js → form-input-BwFB4Rej.js} +2 -2
- package/dist/cjs/helpers-HuaiWXrB.js +331 -0
- package/dist/{esm/index-BgWhYta3.js → cjs/index-feA4skrY.js} +215 -1152
- package/dist/cjs/index.cjs.js +60 -56
- package/dist/cjs/initialize-CWGvp-PN.js +448 -0
- package/dist/cjs/{listener-h1eTpBYL.js → listener-DspXpqzY.js} +2 -2
- package/dist/cjs/loader.cjs.js +10 -3
- package/dist/cjs/log-CXDMiw7o.js +80 -0
- package/dist/cjs/{mutation.decorator-C3JICFwA.js → mutation.decorator-BolUYaKD.js} +5 -5
- package/dist/cjs/{number-B6kudt4D.js → number-COdZG-wK.js} +4 -3
- package/dist/cjs/{overlays-CkF6MI3c.js → overlays-DQGlu5jj.js} +5 -4
- package/dist/cjs/{resize.decorator-Cxv0R8v_.js → resize.decorator-ChuFQ8x3.js} +6 -5
- package/dist/cjs/{scroll-DU1EZHWg.js → scroll-B_kvfDui.js} +5 -5
- package/dist/cjs/{swiper.util-B4hvYgKv.js → string-CKS6CsMi.js} +28 -32
- package/dist/cjs/{swipe.decorator-B69SZ4Jn.js → swipe.decorator-BZYUlkYt.js} +1 -1
- package/dist/cjs/{swipe.subject-BbLTKDyB.js → swipe.subject-BaKNugDQ.js} +4 -4
- package/dist/cjs/{tokens.esm-yrgVVjY8.js → tokens.esm-CNpvwEnI.js} +1 -1
- package/dist/cjs/{visibility.decorator-CC35M6Un.js → visibility.decorator-DTARY-5M.js} +5 -5
- package/dist/cjs/window-resize.decorator-Ck1Zfh6H.js +48 -0
- package/dist/collection/collection-manifest.json +3 -7
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +5 -5
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +7 -7
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +12 -12
- package/dist/collection/components/bal-accordion/bal-accordion.js +13 -14
- package/dist/collection/components/bal-app/bal-app.js +26 -7
- package/dist/collection/components/bal-badge/bal-badge.js +6 -6
- package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +3 -3
- package/dist/collection/components/bal-button/bal-button.js +31 -31
- package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +1 -1
- package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +10 -10
- package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +3 -3
- package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -1
- package/dist/collection/components/bal-card/bal-card.js +9 -9
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +17 -17
- package/dist/collection/components/bal-carousel/bal-carousel.js +20 -20
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +6 -6
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +13 -15
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +20 -20
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +5 -5
- package/dist/collection/components/bal-close/bal-close.js +4 -4
- package/dist/collection/components/bal-content/bal-content.js +5 -5
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +2 -2
- package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -1
- package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +6 -6
- package/dist/collection/components/bal-data/bal-data.js +2 -2
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +13 -14
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +13 -13
- package/dist/collection/components/bal-date/bal-date.js +26 -27
- package/dist/collection/components/bal-divider/bal-divider.js +4 -4
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +21 -22
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +4 -4
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +4 -4
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +8 -8
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +6 -6
- package/dist/collection/components/bal-field/bal-field.js +11 -11
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +25 -27
- package/dist/collection/components/bal-footer/bal-footer.js +5 -6
- package/dist/collection/components/bal-form/bal-form.js +4 -4
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +3 -3
- package/dist/collection/components/bal-heading/bal-heading.js +14 -14
- package/dist/collection/components/bal-hint/bal-hint.css +1 -1
- package/dist/collection/components/bal-hint/bal-hint.js +3 -3
- package/dist/collection/components/bal-icon/bal-icon.js +16 -16
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +19 -19
- package/dist/collection/components/bal-input/bal-input.js +41 -41
- package/dist/collection/components/bal-input-group/bal-input-group.js +4 -4
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +19 -19
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +11 -11
- package/dist/collection/components/bal-label/bal-label.js +15 -15
- package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +11 -11
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +7 -7
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +4 -4
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +1 -1
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +3 -3
- package/dist/collection/components/bal-list/bal-list.js +7 -7
- package/dist/collection/components/bal-logo/bal-logo.js +6 -6
- package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal.js +24 -26
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +8 -8
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +4 -4
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +2 -2
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +8 -8
- package/dist/collection/components/bal-nav/bal-nav.js +2 -5
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +14 -14
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar.js +3 -3
- package/dist/collection/components/bal-notices/bal-notices.css +1 -1
- package/dist/collection/components/bal-notices/bal-notices.js +3 -3
- package/dist/collection/components/bal-notification/bal-notification.js +3 -3
- package/dist/collection/components/bal-number-input/bal-number-input.js +22 -22
- package/dist/collection/components/bal-option/bal-option.js +9 -9
- package/dist/collection/components/bal-option-list/bal-option-list.js +11 -11
- package/dist/collection/components/bal-pagination/bal-pagination.js +9 -9
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +11 -11
- package/dist/collection/components/bal-popover/bal-popover.js +16 -16
- package/dist/collection/components/bal-popup/bal-popup.js +15 -15
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +6 -6
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +15 -16
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +6 -6
- package/dist/collection/components/bal-radio/bal-radio.js +19 -19
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +7 -7
- package/dist/collection/components/bal-segment/bal-segment.js +9 -9
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +6 -6
- package/dist/collection/components/bal-select/bal-select.js +30 -30
- package/dist/collection/components/bal-shape/bal-shape.js +7 -7
- package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +9 -11
- package/dist/collection/components/bal-spinner/bal-spinner.js +9 -10
- package/dist/collection/components/bal-stack/bal-stack.js +13 -13
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +8 -8
- package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +7 -7
- package/dist/collection/components/bal-stage/bal-stage.js +8 -8
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +14 -14
- package/dist/collection/components/bal-steps/bal-steps.js +10 -11
- package/dist/collection/components/bal-table/bal-table.js +2 -2
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +19 -19
- package/dist/collection/components/bal-tabs/bal-tabs.js +22 -23
- package/dist/collection/components/bal-tag/bal-tag.js +10 -10
- package/dist/collection/components/bal-tag/test/bal-tag.a11y.play.js +20 -0
- package/dist/collection/components/bal-tag/test/bal-tag.component.play.js +19 -0
- package/dist/collection/components/bal-tag/test/bal-tag.visual.play.js +20 -0
- package/dist/collection/components/bal-text/bal-text.js +13 -13
- package/dist/collection/components/bal-textarea/bal-textarea.js +27 -27
- package/dist/collection/components/bal-time-input/bal-time-input.js +9 -9
- package/dist/collection/components/bal-toast/bal-toast.js +4 -5
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +10 -10
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/focus/focus.listener.js +1 -1
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/swipe/swipe.listener.js +1 -1
- package/dist/esm/{animation.decorator-CNK3bJ6X.js → animation.decorator-zbSqKhw6.js} +2 -2
- package/dist/esm/app-globals-BRqdW0lU.js +9 -0
- package/dist/esm/bal-accordion_4.entry.js +12 -7
- package/dist/esm/bal-app.entry.js +10 -4
- package/dist/esm/bal-badge.entry.js +2 -2
- package/dist/esm/bal-button_2.entry.js +4 -1
- package/dist/esm/bal-card_6.entry.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +27 -25
- package/dist/esm/bal-check.entry.js +1 -1
- package/dist/esm/bal-checkbox_2.entry.js +11 -7
- package/dist/esm/bal-close.entry.js +7 -3
- package/dist/esm/bal-content.entry.js +3 -1
- package/dist/esm/bal-data_4.entry.js +6 -3
- package/dist/esm/bal-date-calendar-cell.entry.js +5 -2
- package/dist/esm/bal-date-calendar_2.entry.js +25 -36
- package/dist/esm/bal-date.entry.js +12 -8
- package/dist/esm/bal-divider.entry.js +3 -1
- package/dist/esm/{bal-dropdown.entry.js → bal-dropdown_3.entry.js} +612 -20
- package/dist/esm/bal-field_5.entry.js +12 -12
- package/dist/esm/bal-file-upload.entry.js +15 -20
- package/dist/esm/bal-footer.entry.js +7 -2
- package/dist/esm/bal-form-col_2.entry.js +3 -3
- package/dist/esm/bal-form.entry.js +5 -2
- package/dist/esm/bal-heading_2.entry.js +3 -2
- package/dist/esm/bal-hint_5.entry.js +17 -13
- package/dist/esm/bal-icon.entry.js +6 -2
- package/dist/esm/bal-input-group.entry.js +2 -2
- package/dist/esm/bal-input-slider.entry.js +9 -6
- package/dist/esm/bal-input-stepper.entry.js +1029 -1055
- package/dist/esm/bal-input.entry.js +7 -3
- package/dist/esm/bal-label.entry.js +8 -4
- package/dist/esm/bal-list_8.entry.js +21 -17
- package/dist/esm/bal-logo.entry.js +11 -7
- package/dist/esm/bal-modal_3.entry.js +28 -25
- package/dist/esm/bal-nav_8.entry.js +40 -60
- package/dist/esm/bal-navbar_5.entry.js +14 -9
- package/dist/esm/bal-notices_3.entry.js +2 -2
- package/dist/esm/bal-notification.entry.js +1 -1
- package/dist/esm/bal-number-input.entry.js +10 -5
- package/dist/esm/bal-pagination.entry.js +12 -7
- package/dist/esm/bal-popup.entry.js +9 -5
- package/dist/esm/bal-progress-bar.entry.js +11 -9
- package/dist/esm/bal-radio-icon.entry.js +1 -1
- package/dist/esm/bal-radio_2.entry.js +10 -6
- package/dist/esm/bal-segment_2.entry.js +18 -15
- package/dist/esm/bal-select_2.entry.js +13 -9
- package/dist/esm/bal-shape.entry.js +6 -6
- package/dist/esm/bal-sheet.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +8 -3
- package/dist/esm/bal-stack.entry.js +3 -1
- package/dist/esm/bal-stage_6.entry.js +10 -7
- package/dist/esm/bal-step-item.entry.js +3 -3
- package/dist/esm/bal-steps.entry.js +16 -18
- package/dist/esm/bal-switch.entry.js +1 -1
- package/dist/esm/bal-tab-item_2.entry.js +37 -47
- package/dist/esm/bal-table.entry.js +2 -2
- package/dist/esm/bal-tag_2.entry.js +3 -3
- package/dist/esm/bal-textarea.entry.js +6 -3
- package/dist/esm/bal-time-input.entry.js +9 -4
- package/dist/esm/bal-tooltip.entry.js +8 -4
- package/dist/esm/baloise-design-system.js +11 -4
- package/dist/esm/{breakpoints.decorator-CB70vvLx.js → breakpoints.decorator-B1jmHb1D.js} +1 -1
- package/dist/esm/{breakpoints.subject-Dpu4Jjc3.js → breakpoints.subject-CLkQ75F0.js} +5 -4
- package/dist/esm/browser-B1u-Mq75.js +62 -0
- package/dist/esm/{config.decorator-FwS7csea.js → config.decorator-3bfyZ-0Y.js} +1 -1
- package/dist/esm/config.default-I6QXKbhg.js +47 -0
- package/dist/esm/config.utils-B7jugjyM.js +102 -0
- package/dist/esm/{date-wScrQINJ.js → date-W0XtD641.js} +65 -2
- package/dist/esm/{device-CWdcsnSc.js → device-TtMibDFL.js} +1 -1
- package/dist/esm/{element-states.decorator-BPErBZif.js → element-states.decorator-B68ANq1p.js} +3 -2
- package/dist/esm/{floating-ui-CNYJCYYO.js → floating-ui-Bx04QSXP.js} +1 -1
- package/dist/esm/{focus.decorator-BBUVspZX.js → focus.decorator-C1s3OoqI.js} +3 -2
- package/dist/esm/{form-input-Dv0N9pEu.js → form-input-DYvzaBlM.js} +1 -1
- package/dist/esm/helpers-BNj87EbG.js +307 -0
- package/dist/{cjs/index-TwNDE7ev.js → esm/index-BdVwMG9u.js} +204 -1207
- package/dist/esm/index.js +18 -14
- package/dist/esm/initialize-pdWsVO-c.js +441 -0
- package/dist/esm/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-BERg8BNc.js} +1 -1
- package/dist/esm/{listener-BCxt7kj7.js → listener-CClDIhvK.js} +1 -1
- package/dist/esm/loader.js +10 -3
- package/dist/esm/log-CwssmmaV.js +77 -0
- package/dist/esm/{mutation.decorator-DVnSOGDK.js → mutation.decorator-DhVeNnnY.js} +2 -2
- package/dist/esm/{number-oUZz7C1l.js → number-Bwx2aNR0.js} +2 -1
- package/dist/esm/{overlays-B9nzshwp.js → overlays-DuvWMrlA.js} +2 -1
- package/dist/esm/{resize.decorator-xO0LVkHO.js → resize.decorator-ZKPOJfw5.js} +3 -2
- package/dist/esm/{scroll-Dhp_eUkh.js → scroll-X92R_eyZ.js} +1 -1
- package/dist/esm/{swiper.util-vb9wIkyd.js → string-Dk4PnSfl.js} +18 -22
- package/dist/esm/{swipe.decorator-Bk0DXvq0.js → swipe.decorator-B_Ghrp1o.js} +1 -1
- package/dist/esm/{swipe.subject-CCKruupP.js → swipe.subject-T0VStuOK.js} +3 -3
- package/dist/esm/{tokens.esm-4RggM_kM.js → tokens.esm-Crri2rlL.js} +2 -2
- package/dist/esm/{visibility.decorator-C5quU420.js → visibility.decorator-zTjPC2du.js} +2 -2
- package/dist/esm/{window-resize.decorator-tooGxqQM.js → window-resize.decorator-Dm6C96Ro.js} +24 -1
- package/dist/esm-es5/animation.decorator-zbSqKhw6.js +1 -0
- package/dist/esm-es5/app-globals-BRqdW0lU.js +1 -0
- 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_3.entry.js +1 -0
- 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.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-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.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-CB70vvLx.js → breakpoints.decorator-B1jmHb1D.js} +1 -1
- package/dist/esm-es5/breakpoints.subject-CLkQ75F0.js +1 -0
- package/dist/esm-es5/browser-B1u-Mq75.js +1 -0
- package/dist/esm-es5/config.decorator-3bfyZ-0Y.js +1 -0
- package/dist/esm-es5/config.default-I6QXKbhg.js +1 -0
- package/dist/esm-es5/config.utils-B7jugjyM.js +1 -0
- package/dist/esm-es5/{date-wScrQINJ.js → date-W0XtD641.js} +1 -1
- package/dist/esm-es5/device-TtMibDFL.js +1 -0
- package/dist/esm-es5/element-states.decorator-B68ANq1p.js +1 -0
- package/dist/esm-es5/floating-ui-Bx04QSXP.js +1 -0
- package/dist/esm-es5/focus.decorator-C1s3OoqI.js +1 -0
- package/dist/esm-es5/form-input-DYvzaBlM.js +1 -0
- package/dist/esm-es5/helpers-BNj87EbG.js +1 -0
- package/dist/esm-es5/index-BdVwMG9u.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-pdWsVO-c.js +1 -0
- package/dist/esm-es5/{keyboard.helpers-D1VPLQ5z.js → keyboard.helpers-BERg8BNc.js} +1 -1
- package/dist/esm-es5/listener-CClDIhvK.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/log-CwssmmaV.js +1 -0
- package/dist/esm-es5/mutation.decorator-DhVeNnnY.js +1 -0
- package/dist/esm-es5/number-Bwx2aNR0.js +1 -0
- package/dist/esm-es5/overlays-DuvWMrlA.js +1 -0
- package/dist/esm-es5/resize.decorator-ZKPOJfw5.js +1 -0
- package/dist/esm-es5/scroll-X92R_eyZ.js +1 -0
- package/dist/esm-es5/string-Dk4PnSfl.js +1 -0
- package/dist/esm-es5/{swipe.decorator-Bk0DXvq0.js → swipe.decorator-B_Ghrp1o.js} +1 -1
- package/dist/esm-es5/swipe.subject-T0VStuOK.js +1 -0
- package/dist/esm-es5/{tokens.esm-4RggM_kM.js → tokens.esm-Crri2rlL.js} +1 -1
- package/dist/esm-es5/visibility.decorator-zTjPC2du.js +1 -0
- package/dist/esm-es5/window-resize.decorator-Dm6C96Ro.js +1 -0
- package/dist/html.html-data.json +1 -62
- package/dist/types/components/bal-accordion/bal-accordion-details/bal-accordion-details.d.ts +3 -2
- package/dist/types/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.d.ts +3 -2
- package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +4 -3
- package/dist/types/components/bal-accordion/bal-accordion.d.ts +4 -3
- package/dist/types/components/bal-app/bal-app.d.ts +7 -1
- package/dist/types/components/bal-badge/bal-badge.d.ts +2 -1
- package/dist/types/components/bal-button/bal-button.d.ts +2 -1
- package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +2 -1
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +4 -3
- package/dist/types/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.d.ts +2 -1
- package/dist/types/components/bal-close/bal-close.d.ts +2 -1
- package/dist/types/components/bal-data/bal-data-value/bal-data-value.d.ts +2 -1
- package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.d.ts +2 -1
- package/dist/types/components/bal-date/bal-date.d.ts +2 -1
- package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +2 -1
- package/dist/types/components/bal-field/bal-field.d.ts +3 -3
- package/dist/types/components/bal-file-upload/bal-file-upload.d.ts +3 -2
- package/dist/types/components/bal-form/bal-form.d.ts +2 -1
- package/dist/types/components/bal-form-grid/bal-form-col/bal-form-col.d.ts +2 -1
- package/dist/types/components/bal-heading/bal-heading.d.ts +2 -1
- package/dist/types/components/bal-input/bal-input-date/bal-input-date.d.ts +2 -1
- package/dist/types/components/bal-input/bal-input.d.ts +2 -1
- package/dist/types/components/bal-input-group/bal-input-group.d.ts +2 -1
- package/dist/types/components/bal-input-slider/bal-input-slider.d.ts +2 -1
- package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +2 -1
- package/dist/types/components/bal-label/bal-label.d.ts +4 -3
- package/dist/types/components/bal-list/bal-list-item/bal-list-item.d.ts +2 -1
- package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +2 -1
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +2 -1
- package/dist/types/components/bal-list/bal-list.d.ts +2 -1
- package/dist/types/components/bal-logo/bal-logo.d.ts +3 -2
- package/dist/types/components/bal-modal/bal-modal-header/bal-modal-header.d.ts +2 -1
- package/dist/types/components/bal-modal/bal-modal.d.ts +2 -1
- package/dist/types/components/bal-modal/bal-modal.type.d.ts +2 -1
- package/dist/types/components/bal-nav/bal-nav-focus.util.d.ts +3 -2
- package/dist/types/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.d.ts +2 -1
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +2 -1
- package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.d.ts +2 -1
- package/dist/types/components/bal-nav/bal-nav.d.ts +2 -1
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +2 -1
- package/dist/types/components/bal-number-input/bal-number-input.d.ts +2 -1
- package/dist/types/components/bal-option/bal-option.d.ts +2 -1
- package/dist/types/components/bal-option-list/bal-option-list.d.ts +4 -3
- package/dist/types/components/bal-popover/bal-popover-content/bal-popover-content.d.ts +2 -1
- package/dist/types/components/bal-popover/bal-popover.d.ts +4 -3
- package/dist/types/components/bal-popup/bal-popup.d.ts +2 -1
- package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +2 -1
- package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +2 -1
- package/dist/types/components/bal-radio/bal-radio-group/bal-radio-group.d.ts +2 -1
- package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +2 -1
- package/dist/types/components/bal-segment/bal-segment.d.ts +2 -1
- package/dist/types/components/bal-select/bal-select.d.ts +2 -1
- package/dist/types/components/bal-select/utils/watch-options.d.ts +2 -1
- package/dist/types/components/bal-shape/bal-shape.d.ts +2 -1
- package/dist/types/components/bal-spinner/bal-spinner.d.ts +3 -2
- package/dist/types/components/bal-stage/bal-stage-back-link/bal-stage-back-link.d.ts +2 -1
- package/dist/types/components/bal-stage/bal-stage-body/bal-stage-body.d.ts +2 -1
- package/dist/types/components/bal-stage/bal-stage-foot/bal-stage-foot.d.ts +2 -1
- package/dist/types/components/bal-stage/bal-stage-head/bal-stage-head.d.ts +2 -1
- package/dist/types/components/bal-stage/bal-stage-image/bal-stage-image.d.ts +2 -1
- package/dist/types/components/bal-steps/bal-step-item/bal-step-item.d.ts +2 -1
- package/dist/types/components/bal-steps/bal-steps.d.ts +5 -4
- package/dist/types/components/bal-table/bal-table.d.ts +2 -1
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +2 -1
- package/dist/types/components/bal-tabs/bal-tabs.d.ts +2 -1
- package/dist/types/components/bal-tag/bal-tag.d.ts +2 -1
- package/dist/types/components/bal-tag/test/bal-tag.a11y.play.d.ts +1 -0
- package/dist/types/components/bal-tag/test/bal-tag.component.play.d.ts +1 -0
- package/dist/types/components/bal-tag/test/bal-tag.visual.play.d.ts +1 -0
- package/dist/types/components/bal-textarea/bal-textarea.d.ts +2 -1
- package/dist/types/components/bal-time-input/bal-time-input.d.ts +2 -1
- package/dist/types/components/bal-tooltip/bal-tooltip.d.ts +2 -1
- package/dist/types/components.d.ts +20 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/index.d.ts +8 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/bal-tag.po.d.ts +8 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +1 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/page-object.d.ts +7 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/extend.d.ts +9 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/functions/a11y.d.ts +2 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/index.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-first-received-event-detail.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-nth-received-event-detail.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event-detail.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event-times.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/matchers/to-have-received-event.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/event-spy.d.ts +44 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +8 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/index.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/locator.d.ts +21 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/mount.d.ts +3 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/spy-on-event.d.ts +3 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/wait-for-changes.d.ts +2 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/screenshot.d.ts +1 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/test-expect.d.ts +22 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/types.d.ts +38 -0
- package/dist/types/stencil-public-runtime.d.ts +62 -8
- package/dist/types/utils/animation/animation.interfaces.d.ts +3 -2
- package/dist/types/utils/animation/animation.listener.d.ts +2 -1
- package/dist/types/utils/attributes.d.ts +3 -2
- package/dist/types/utils/bem.d.ts +2 -2
- package/dist/types/utils/dropdown/component.d.ts +2 -1
- package/dist/types/utils/dropdown/popup.d.ts +2 -1
- package/dist/types/utils/element-states/element-states.interfaces.d.ts +2 -1
- package/dist/types/utils/element-states/element-states.listener.d.ts +2 -1
- package/dist/types/utils/focus/focus.interfaces.d.ts +2 -1
- package/dist/types/utils/focus/focus.listener.d.ts +2 -1
- package/dist/types/utils/form-input.d.ts +2 -1
- package/dist/types/utils/form.d.ts +2 -1
- package/dist/types/utils/helpers.d.ts +6 -5
- package/dist/types/utils/mask/component/mask-component-interfaces.d.ts +2 -1
- package/dist/types/utils/mutation/mutation.interfaces.d.ts +2 -1
- package/dist/types/utils/mutation/mutation.listener.d.ts +2 -1
- package/dist/types/utils/overlays/overlays.d.ts +2 -2
- package/dist/types/utils/resize/resize.interfaces.d.ts +2 -1
- package/dist/types/utils/resize/resize.listener.d.ts +2 -1
- package/dist/types/utils/resize/window-resize.interfaces.d.ts +2 -1
- package/dist/types/utils/style.d.ts +2 -1
- package/dist/types/utils/swipe/swipe.interfaces.d.ts +2 -1
- package/dist/types/utils/swipe/swipe.listener.d.ts +2 -1
- package/dist/types/utils/swiper/swiper.type.d.ts +3 -2
- package/dist/types/utils/types/listener.d.ts +3 -2
- package/dist/types/utils/visibility/visibility.interfaces.d.ts +2 -1
- package/dist/types/utils/visibility/visibility.listener.d.ts +2 -1
- package/package.json +10 -7
- package/components/bal-toast.controller.js +0 -127
- package/components/window-resize.listener.js +0 -80
- package/components/window-resize.subject.js +0 -26
- package/dist/baloise-design-system/p-0907fd261f.entry.js +0 -1
- package/dist/baloise-design-system/p-09348ab262.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0986fe6bd0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0fad8a1e31.entry.js +0 -1
- package/dist/baloise-design-system/p-0fe98f59a4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-10d754691a.entry.js +0 -1
- package/dist/baloise-design-system/p-113691a62f.entry.js +0 -1
- package/dist/baloise-design-system/p-1516c91d4e.entry.js +0 -1
- package/dist/baloise-design-system/p-1638d00f2d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1744fb223c.entry.js +0 -1
- package/dist/baloise-design-system/p-1a1b714236.entry.js +0 -1
- package/dist/baloise-design-system/p-1a48f63b91.entry.js +0 -1
- package/dist/baloise-design-system/p-1d177e7449.entry.js +0 -1
- package/dist/baloise-design-system/p-1d3f76cacc.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1edf81b274.entry.js +0 -1
- package/dist/baloise-design-system/p-261a40555d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-26f33fb309.system.entry.js +0 -1
- package/dist/baloise-design-system/p-28f315ce54.system.entry.js +0 -1
- package/dist/baloise-design-system/p-29be3c5644.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2ad2cd8a77.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2bb50edb03.entry.js +0 -1
- package/dist/baloise-design-system/p-2d88aa248e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-32ed11b23d.entry.js +0 -1
- package/dist/baloise-design-system/p-33e4fc1641.entry.js +0 -1
- package/dist/baloise-design-system/p-37022683b7.entry.js +0 -1
- package/dist/baloise-design-system/p-380c5803d9.entry.js +0 -1
- package/dist/baloise-design-system/p-3eb7056b78.entry.js +0 -1
- package/dist/baloise-design-system/p-4173b195f5.entry.js +0 -1
- package/dist/baloise-design-system/p-429b6209eb.entry.js +0 -1
- package/dist/baloise-design-system/p-446235d66d.entry.js +0 -1
- package/dist/baloise-design-system/p-4592890c87.system.entry.js +0 -1
- package/dist/baloise-design-system/p-46aaffaa70.entry.js +0 -1
- package/dist/baloise-design-system/p-4861d5c268.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4ab1baaeb2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4cbacb2728.entry.js +0 -1
- package/dist/baloise-design-system/p-54252e93ae.system.entry.js +0 -1
- package/dist/baloise-design-system/p-57303f4cf0.entry.js +0 -1
- package/dist/baloise-design-system/p-577c4fbffa.entry.js +0 -1
- package/dist/baloise-design-system/p-61d6ce6346.entry.js +0 -1
- package/dist/baloise-design-system/p-63d9b0dc71.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6845434665.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6JPfxkH9.system.js +0 -2
- package/dist/baloise-design-system/p-6a2d541345.entry.js +0 -1
- package/dist/baloise-design-system/p-6af4878ee1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6b7cef6b56.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6c89fe7777.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6d016ad721.entry.js +0 -1
- package/dist/baloise-design-system/p-7255ac5e19.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7567bed290.system.entry.js +0 -1
- package/dist/baloise-design-system/p-77ed6cef4e.entry.js +0 -1
- package/dist/baloise-design-system/p-78d48f3d1a.entry.js +0 -1
- package/dist/baloise-design-system/p-7f39c04ab4.entry.js +0 -1
- package/dist/baloise-design-system/p-85ef72f929.entry.js +0 -1
- package/dist/baloise-design-system/p-87e06064a3.entry.js +0 -1
- package/dist/baloise-design-system/p-8d7d5197d6.entry.js +0 -1
- package/dist/baloise-design-system/p-97dca06bad.system.entry.js +0 -1
- package/dist/baloise-design-system/p-98d8c0b274.system.entry.js +0 -1
- package/dist/baloise-design-system/p-98fedb26af.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9a7614a6da.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9ccc9420aa.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9ed893d2f1.entry.js +0 -1
- package/dist/baloise-design-system/p-9f46f38337.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9faad04082.entry.js +0 -1
- package/dist/baloise-design-system/p-B97IGjGv.js +0 -1
- package/dist/baloise-design-system/p-BDsO8HVR.system.js +0 -1
- package/dist/baloise-design-system/p-BdMT8-qh.system.js +0 -1
- package/dist/baloise-design-system/p-BgWhYta3.js +0 -2
- package/dist/baloise-design-system/p-BiQW-kmH.js +0 -1
- package/dist/baloise-design-system/p-Brj9SizC.js +0 -1
- package/dist/baloise-design-system/p-BsGRcohK.js +0 -1
- package/dist/baloise-design-system/p-BuwrUtcI.js +0 -1
- package/dist/baloise-design-system/p-C89aCsha.system.js +0 -1
- package/dist/baloise-design-system/p-C9gtg7pC.js +0 -1
- package/dist/baloise-design-system/p-CLs4UZCO.js +0 -1
- package/dist/baloise-design-system/p-CPvYKxnJ.system.js +0 -1
- package/dist/baloise-design-system/p-CdRteRAi.system.js +0 -1
- package/dist/baloise-design-system/p-Clusr4_J.system.js +0 -1
- package/dist/baloise-design-system/p-Csghe1wj.system.js +0 -1
- package/dist/baloise-design-system/p-CvJZJ5PO.system.js +0 -1
- package/dist/baloise-design-system/p-DA9xpxCC.system.js +0 -1
- package/dist/baloise-design-system/p-DMPBkH8m.js +0 -1
- package/dist/baloise-design-system/p-DVQeGKBt.system.js +0 -1
- package/dist/baloise-design-system/p-DYGnSrkp.system.js +0 -1
- package/dist/baloise-design-system/p-DblLSfCr.js +0 -1
- package/dist/baloise-design-system/p-DcxdJ7xo.system.js +0 -1
- package/dist/baloise-design-system/p-DkkPrFJ4.js +0 -1
- package/dist/baloise-design-system/p-DrYtyUx4.js +0 -1
- package/dist/baloise-design-system/p-Dv-qApwY.system.js +0 -1
- package/dist/baloise-design-system/p-PJBCHUTX.system.js +0 -1
- package/dist/baloise-design-system/p-YxrA2V8G.system.js +0 -1
- package/dist/baloise-design-system/p-Z2WXCS2z.system.js +0 -1
- package/dist/baloise-design-system/p-ZO510gkN.system.js +0 -1
- package/dist/baloise-design-system/p-a24b0f04ac.entry.js +0 -1
- package/dist/baloise-design-system/p-a49cbc975f.entry.js +0 -1
- package/dist/baloise-design-system/p-ab4f18d946.system.entry.js +0 -1
- package/dist/baloise-design-system/p-adf9dc4b6c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-af0438175b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-af25440706.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b2d3c28f7e.entry.js +0 -1
- package/dist/baloise-design-system/p-b465562e59.entry.js +0 -1
- package/dist/baloise-design-system/p-b6348cd01c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b8e45544f8.system.entry.js +0 -1
- package/dist/baloise-design-system/p-bb3c1187e2.entry.js +0 -1
- package/dist/baloise-design-system/p-bdeea100d1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c0ec248967.entry.js +0 -1
- package/dist/baloise-design-system/p-c46abb4720.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c7b4bbf341.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c88b2139c4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ce3e28b217.entry.js +0 -1
- package/dist/baloise-design-system/p-cec255ddb5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-cfbff4d0c5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d292509747.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d40c3b818d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d56db02feb.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d9f1657d3a.entry.js +0 -1
- package/dist/baloise-design-system/p-dcd16c9edf.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e2ff5ec460.entry.js +0 -1
- package/dist/baloise-design-system/p-e5e10f7330.entry.js +0 -1
- package/dist/baloise-design-system/p-eb318eae31.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ef2aa99689.entry.js +0 -1
- package/dist/baloise-design-system/p-f09b1d15cb.entry.js +0 -1
- package/dist/baloise-design-system/p-f701f3341f.entry.js +0 -1
- package/dist/baloise-design-system/p-f931d7af5f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fa6414dc04.entry.js +0 -1
- package/dist/baloise-design-system/p-fb932a0e2d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fbedfc8307.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fc05075fc7.entry.js +0 -1
- package/dist/baloise-design-system/p-fe41123fad.entry.js +0 -1
- package/dist/baloise-design-system/p-ffdfc86824.system.entry.js +0 -1
- package/dist/baloise-design-system/p-irA_rSP3.system.js +0 -1
- package/dist/baloise-design-system/p-otQuEMP7.js +0 -1
- package/dist/baloise-design-system/p-t17chohV.system.js +0 -1
- package/dist/cjs/bal-date.i18n-DJlY99as.js +0 -66
- package/dist/cjs/bal-option_2.cjs.entry.js +0 -606
- package/dist/cjs/window-resize.decorator-DZPJwKe1.js +0 -25
- package/dist/cjs/window-resize.subject-AALAxaW0.js +0 -28
- package/dist/esm/bal-date.i18n-CLs4UZCO.js +0 -64
- package/dist/esm/bal-option_2.entry.js +0 -603
- package/dist/esm/window-resize.subject-BfRcRWok.js +0 -26
- package/dist/esm-es5/animation.decorator-CNK3bJ6X.js +0 -1
- package/dist/esm-es5/bal-date.i18n-CLs4UZCO.js +0 -1
- package/dist/esm-es5/bal-dropdown.entry.js +0 -1
- package/dist/esm-es5/bal-option_2.entry.js +0 -1
- package/dist/esm-es5/breakpoints.subject-Dpu4Jjc3.js +0 -1
- package/dist/esm-es5/config.decorator-FwS7csea.js +0 -1
- package/dist/esm-es5/device-CWdcsnSc.js +0 -1
- package/dist/esm-es5/element-states.decorator-BPErBZif.js +0 -1
- package/dist/esm-es5/floating-ui-CNYJCYYO.js +0 -1
- package/dist/esm-es5/focus.decorator-BBUVspZX.js +0 -1
- package/dist/esm-es5/form-input-Dv0N9pEu.js +0 -1
- package/dist/esm-es5/index-BgWhYta3.js +0 -2
- package/dist/esm-es5/listener-BCxt7kj7.js +0 -1
- package/dist/esm-es5/mutation.decorator-DVnSOGDK.js +0 -1
- package/dist/esm-es5/number-oUZz7C1l.js +0 -1
- package/dist/esm-es5/overlays-B9nzshwp.js +0 -1
- package/dist/esm-es5/resize.decorator-xO0LVkHO.js +0 -1
- package/dist/esm-es5/scroll-Dhp_eUkh.js +0 -1
- package/dist/esm-es5/swipe.subject-CCKruupP.js +0 -1
- package/dist/esm-es5/swiper.util-vb9wIkyd.js +0 -1
- package/dist/esm-es5/visibility.decorator-C5quU420.js +0 -1
- package/dist/esm-es5/window-resize.decorator-tooGxqQM.js +0 -1
- package/dist/esm-es5/window-resize.subject-BfRcRWok.js +0 -1
|
@@ -1,1069 +1,1043 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BdVwMG9u.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-dfXERft2.js';
|
|
3
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
4
3
|
import { a as ariaBooleanToString } from './aria-DBsOHTWj.js';
|
|
5
4
|
import { i as inheritAttributes } from './attributes-C4sZQbkT.js';
|
|
6
5
|
import { B as BEM } from './bem-ByiN-QjD.js';
|
|
7
|
-
import { L as ListenToConfig } from './config.decorator-FwS7csea.js';
|
|
8
6
|
import { d as defaultBalAriaForm } from './form-FCLKfv6B.js';
|
|
9
|
-
import { s as stopEventBubbling, h as inputListenOnClick } from './form-input-
|
|
10
|
-
import {
|
|
7
|
+
import { s as stopEventBubbling, h as inputListenOnClick } from './form-input-DYvzaBlM.js';
|
|
8
|
+
import { r as rIC, n as debounceEvent } from './helpers-BNj87EbG.js';
|
|
9
|
+
import { L as Logger } from './log-CwssmmaV.js';
|
|
10
|
+
import { f as formatLocaleNumber } from './number-Bwx2aNR0.js';
|
|
11
11
|
import { i as i18nBalInputStepper } from './bal-input-stepper.i18n-DEb5iNGc.js';
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
import { d as defaultConfig } from './config.default-I6QXKbhg.js';
|
|
13
|
+
import { L as ListenToConfig } from './config.decorator-3bfyZ-0Y.js';
|
|
14
|
+
import './browser-B1u-Mq75.js';
|
|
15
|
+
import './config.utils-B7jugjyM.js';
|
|
14
16
|
|
|
15
17
|
/*
|
|
16
18
|
* big.js v6.2.1
|
|
17
19
|
* A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.
|
|
18
20
|
* Copyright (c) 2022 Michael Mclaughlin
|
|
19
21
|
* https://github.com/MikeMcl/big.js/LICENCE.md
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
-
throw Error(NAME + 'valueOf disallowed');
|
|
1040
|
-
}
|
|
1041
|
-
return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
|
|
1042
|
-
};
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
// Export
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
Big = _Big_();
|
|
1049
|
-
|
|
1050
|
-
Big['default'] = Big.Big = Big;
|
|
1051
|
-
|
|
1052
|
-
//AMD.
|
|
1053
|
-
if (module.exports) {
|
|
1054
|
-
module.exports = Big;
|
|
1055
|
-
|
|
1056
|
-
//Browser.
|
|
1057
|
-
} else {
|
|
1058
|
-
GLOBAL.Big = Big;
|
|
1059
|
-
}
|
|
1060
|
-
})(big);
|
|
1061
|
-
} (big$1));
|
|
1062
|
-
return big$1.exports;
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
var bigExports = requireBig();
|
|
1066
|
-
var Big = /*@__PURE__*/getDefaultExportFromCjs(bigExports);
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/************************************** EDITABLE DEFAULTS *****************************************/
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
// The default values below must be integers within the stated ranges.
|
|
29
|
+
|
|
30
|
+
/*
|
|
31
|
+
* The maximum number of decimal places (DP) of the results of operations involving division:
|
|
32
|
+
* div and sqrt, and pow with negative exponents.
|
|
33
|
+
*/
|
|
34
|
+
var DP = 20, // 0 to MAX_DP
|
|
35
|
+
|
|
36
|
+
/*
|
|
37
|
+
* The rounding mode (RM) used when rounding to the above decimal places.
|
|
38
|
+
*
|
|
39
|
+
* 0 Towards zero (i.e. truncate, no rounding). (ROUND_DOWN)
|
|
40
|
+
* 1 To nearest neighbour. If equidistant, round up. (ROUND_HALF_UP)
|
|
41
|
+
* 2 To nearest neighbour. If equidistant, to even. (ROUND_HALF_EVEN)
|
|
42
|
+
* 3 Away from zero. (ROUND_UP)
|
|
43
|
+
*/
|
|
44
|
+
RM = 1, // 0, 1, 2 or 3
|
|
45
|
+
|
|
46
|
+
// The maximum value of DP and Big.DP.
|
|
47
|
+
MAX_DP = 1E6, // 0 to 1000000
|
|
48
|
+
|
|
49
|
+
// The maximum magnitude of the exponent argument to the pow method.
|
|
50
|
+
MAX_POWER = 1E6, // 1 to 1000000
|
|
51
|
+
|
|
52
|
+
/*
|
|
53
|
+
* The negative exponent (NE) at and beneath which toString returns exponential notation.
|
|
54
|
+
* (JavaScript numbers: -7)
|
|
55
|
+
* -1000000 is the minimum recommended exponent value of a Big.
|
|
56
|
+
*/
|
|
57
|
+
NE = -7, // 0 to -1000000
|
|
58
|
+
|
|
59
|
+
/*
|
|
60
|
+
* The positive exponent (PE) at and above which toString returns exponential notation.
|
|
61
|
+
* (JavaScript numbers: 21)
|
|
62
|
+
* 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.
|
|
63
|
+
*/
|
|
64
|
+
PE = 21, // 0 to 1000000
|
|
65
|
+
|
|
66
|
+
/*
|
|
67
|
+
* When true, an error will be thrown if a primitive number is passed to the Big constructor,
|
|
68
|
+
* or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a
|
|
69
|
+
* primitive number without a loss of precision.
|
|
70
|
+
*/
|
|
71
|
+
STRICT = false, // true or false
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/**************************************************************************************************/
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// Error messages.
|
|
78
|
+
NAME = '[big.js] ',
|
|
79
|
+
INVALID = NAME + 'Invalid ',
|
|
80
|
+
INVALID_DP = INVALID + 'decimal places',
|
|
81
|
+
INVALID_RM = INVALID + 'rounding mode',
|
|
82
|
+
DIV_BY_ZERO = NAME + 'Division by zero',
|
|
83
|
+
|
|
84
|
+
// The shared prototype object.
|
|
85
|
+
P = {},
|
|
86
|
+
UNDEFINED = void 0,
|
|
87
|
+
NUMERIC = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/*
|
|
91
|
+
* Create and return a Big constructor.
|
|
92
|
+
*/
|
|
93
|
+
function _Big_() {
|
|
94
|
+
|
|
95
|
+
/*
|
|
96
|
+
* The Big constructor and exported function.
|
|
97
|
+
* Create and return a new instance of a Big number object.
|
|
98
|
+
*
|
|
99
|
+
* n {number|string|Big} A numeric value.
|
|
100
|
+
*/
|
|
101
|
+
function Big(n) {
|
|
102
|
+
var x = this;
|
|
103
|
+
|
|
104
|
+
// Enable constructor usage without new.
|
|
105
|
+
if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);
|
|
106
|
+
|
|
107
|
+
// Duplicate.
|
|
108
|
+
if (n instanceof Big) {
|
|
109
|
+
x.s = n.s;
|
|
110
|
+
x.e = n.e;
|
|
111
|
+
x.c = n.c.slice();
|
|
112
|
+
} else {
|
|
113
|
+
if (typeof n !== 'string') {
|
|
114
|
+
if (Big.strict === true && typeof n !== 'bigint') {
|
|
115
|
+
throw TypeError(INVALID + 'value');
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Minus zero?
|
|
119
|
+
n = n === 0 && 1 / n < 0 ? '-0' : String(n);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
parse(x, n);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Retain a reference to this Big constructor.
|
|
126
|
+
// Shadow Big.prototype.constructor which points to Object.
|
|
127
|
+
x.constructor = Big;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
Big.prototype = P;
|
|
131
|
+
Big.DP = DP;
|
|
132
|
+
Big.RM = RM;
|
|
133
|
+
Big.NE = NE;
|
|
134
|
+
Big.PE = PE;
|
|
135
|
+
Big.strict = STRICT;
|
|
136
|
+
Big.roundDown = 0;
|
|
137
|
+
Big.roundHalfUp = 1;
|
|
138
|
+
Big.roundHalfEven = 2;
|
|
139
|
+
Big.roundUp = 3;
|
|
140
|
+
|
|
141
|
+
return Big;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
/*
|
|
146
|
+
* Parse the number or string value passed to a Big constructor.
|
|
147
|
+
*
|
|
148
|
+
* x {Big} A Big number instance.
|
|
149
|
+
* n {number|string} A numeric value.
|
|
150
|
+
*/
|
|
151
|
+
function parse(x, n) {
|
|
152
|
+
var e, i, nl;
|
|
153
|
+
|
|
154
|
+
if (!NUMERIC.test(n)) {
|
|
155
|
+
throw Error(INVALID + 'number');
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// Determine sign.
|
|
159
|
+
x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;
|
|
160
|
+
|
|
161
|
+
// Decimal point?
|
|
162
|
+
if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');
|
|
163
|
+
|
|
164
|
+
// Exponential form?
|
|
165
|
+
if ((i = n.search(/e/i)) > 0) {
|
|
166
|
+
|
|
167
|
+
// Determine exponent.
|
|
168
|
+
if (e < 0) e = i;
|
|
169
|
+
e += +n.slice(i + 1);
|
|
170
|
+
n = n.substring(0, i);
|
|
171
|
+
} else if (e < 0) {
|
|
172
|
+
|
|
173
|
+
// Integer.
|
|
174
|
+
e = n.length;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
nl = n.length;
|
|
178
|
+
|
|
179
|
+
// Determine leading zeros.
|
|
180
|
+
for (i = 0; i < nl && n.charAt(i) == '0';) ++i;
|
|
181
|
+
|
|
182
|
+
if (i == nl) {
|
|
183
|
+
|
|
184
|
+
// Zero.
|
|
185
|
+
x.c = [x.e = 0];
|
|
186
|
+
} else {
|
|
187
|
+
|
|
188
|
+
// Determine trailing zeros.
|
|
189
|
+
for (; nl > 0 && n.charAt(--nl) == '0';);
|
|
190
|
+
x.e = e - i - 1;
|
|
191
|
+
x.c = [];
|
|
192
|
+
|
|
193
|
+
// Convert string to array of digits without leading/trailing zeros.
|
|
194
|
+
for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
return x;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
/*
|
|
202
|
+
* Round Big x to a maximum of sd significant digits using rounding mode rm.
|
|
203
|
+
*
|
|
204
|
+
* x {Big} The Big to round.
|
|
205
|
+
* sd {number} Significant digits: integer, 0 to MAX_DP inclusive.
|
|
206
|
+
* rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
207
|
+
* [more] {boolean} Whether the result of division was truncated.
|
|
208
|
+
*/
|
|
209
|
+
function round(x, sd, rm, more) {
|
|
210
|
+
var xc = x.c;
|
|
211
|
+
|
|
212
|
+
if (rm === UNDEFINED) rm = x.constructor.RM;
|
|
213
|
+
if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {
|
|
214
|
+
throw Error(INVALID_RM);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if (sd < 1) {
|
|
218
|
+
more =
|
|
219
|
+
rm === 3 && (more || !!xc[0]) || sd === 0 && (
|
|
220
|
+
rm === 1 && xc[0] >= 5 ||
|
|
221
|
+
rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))
|
|
222
|
+
);
|
|
223
|
+
|
|
224
|
+
xc.length = 1;
|
|
225
|
+
|
|
226
|
+
if (more) {
|
|
227
|
+
|
|
228
|
+
// 1, 0.1, 0.01, 0.001, 0.0001 etc.
|
|
229
|
+
x.e = x.e - sd + 1;
|
|
230
|
+
xc[0] = 1;
|
|
231
|
+
} else {
|
|
232
|
+
|
|
233
|
+
// Zero.
|
|
234
|
+
xc[0] = x.e = 0;
|
|
235
|
+
}
|
|
236
|
+
} else if (sd < xc.length) {
|
|
237
|
+
|
|
238
|
+
// xc[sd] is the digit after the digit that may be rounded up.
|
|
239
|
+
more =
|
|
240
|
+
rm === 1 && xc[sd] >= 5 ||
|
|
241
|
+
rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&
|
|
242
|
+
(more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||
|
|
243
|
+
rm === 3 && (more || !!xc[0]);
|
|
244
|
+
|
|
245
|
+
// Remove any digits after the required precision.
|
|
246
|
+
xc.length = sd;
|
|
247
|
+
|
|
248
|
+
// Round up?
|
|
249
|
+
if (more) {
|
|
250
|
+
|
|
251
|
+
// Rounding up may mean the previous digit has to be rounded up.
|
|
252
|
+
for (; ++xc[--sd] > 9;) {
|
|
253
|
+
xc[sd] = 0;
|
|
254
|
+
if (sd === 0) {
|
|
255
|
+
++x.e;
|
|
256
|
+
xc.unshift(1);
|
|
257
|
+
break;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
// Remove trailing zeros.
|
|
263
|
+
for (sd = xc.length; !xc[--sd];) xc.pop();
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
return x;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
/*
|
|
271
|
+
* Return a string representing the value of Big x in normal or exponential notation.
|
|
272
|
+
* Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.
|
|
273
|
+
*/
|
|
274
|
+
function stringify(x, doExponential, isNonzero) {
|
|
275
|
+
var e = x.e,
|
|
276
|
+
s = x.c.join(''),
|
|
277
|
+
n = s.length;
|
|
278
|
+
|
|
279
|
+
// Exponential notation?
|
|
280
|
+
if (doExponential) {
|
|
281
|
+
s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;
|
|
282
|
+
|
|
283
|
+
// Normal notation.
|
|
284
|
+
} else if (e < 0) {
|
|
285
|
+
for (; ++e;) s = '0' + s;
|
|
286
|
+
s = '0.' + s;
|
|
287
|
+
} else if (e > 0) {
|
|
288
|
+
if (++e > n) {
|
|
289
|
+
for (e -= n; e--;) s += '0';
|
|
290
|
+
} else if (e < n) {
|
|
291
|
+
s = s.slice(0, e) + '.' + s.slice(e);
|
|
292
|
+
}
|
|
293
|
+
} else if (n > 1) {
|
|
294
|
+
s = s.charAt(0) + '.' + s.slice(1);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
return x.s < 0 && isNonzero ? '-' + s : s;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
// Prototype/instance methods
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
/*
|
|
305
|
+
* Return a new Big whose value is the absolute value of this Big.
|
|
306
|
+
*/
|
|
307
|
+
P.abs = function () {
|
|
308
|
+
var x = new this.constructor(this);
|
|
309
|
+
x.s = 1;
|
|
310
|
+
return x;
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
/*
|
|
315
|
+
* Return 1 if the value of this Big is greater than the value of Big y,
|
|
316
|
+
* -1 if the value of this Big is less than the value of Big y, or
|
|
317
|
+
* 0 if they have the same value.
|
|
318
|
+
*/
|
|
319
|
+
P.cmp = function (y) {
|
|
320
|
+
var isneg,
|
|
321
|
+
x = this,
|
|
322
|
+
xc = x.c,
|
|
323
|
+
yc = (y = new x.constructor(y)).c,
|
|
324
|
+
i = x.s,
|
|
325
|
+
j = y.s,
|
|
326
|
+
k = x.e,
|
|
327
|
+
l = y.e;
|
|
328
|
+
|
|
329
|
+
// Either zero?
|
|
330
|
+
if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;
|
|
331
|
+
|
|
332
|
+
// Signs differ?
|
|
333
|
+
if (i != j) return i;
|
|
334
|
+
|
|
335
|
+
isneg = i < 0;
|
|
336
|
+
|
|
337
|
+
// Compare exponents.
|
|
338
|
+
if (k != l) return k > l ^ isneg ? 1 : -1;
|
|
339
|
+
|
|
340
|
+
j = (k = xc.length) < (l = yc.length) ? k : l;
|
|
341
|
+
|
|
342
|
+
// Compare digit by digit.
|
|
343
|
+
for (i = -1; ++i < j;) {
|
|
344
|
+
if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
// Compare lengths.
|
|
348
|
+
return k == l ? 0 : k > l ^ isneg ? 1 : -1;
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
/*
|
|
353
|
+
* Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,
|
|
354
|
+
* if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
|
|
355
|
+
*/
|
|
356
|
+
P.div = function (y) {
|
|
357
|
+
var x = this,
|
|
358
|
+
Big = x.constructor,
|
|
359
|
+
a = x.c, // dividend
|
|
360
|
+
b = (y = new Big(y)).c, // divisor
|
|
361
|
+
k = x.s == y.s ? 1 : -1,
|
|
362
|
+
dp = Big.DP;
|
|
363
|
+
|
|
364
|
+
if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
|
|
365
|
+
throw Error(INVALID_DP);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// Divisor is zero?
|
|
369
|
+
if (!b[0]) {
|
|
370
|
+
throw Error(DIV_BY_ZERO);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
// Dividend is 0? Return +-0.
|
|
374
|
+
if (!a[0]) {
|
|
375
|
+
y.s = k;
|
|
376
|
+
y.c = [y.e = 0];
|
|
377
|
+
return y;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
var bl, bt, n, cmp, ri,
|
|
381
|
+
bz = b.slice(),
|
|
382
|
+
ai = bl = b.length,
|
|
383
|
+
al = a.length,
|
|
384
|
+
r = a.slice(0, bl), // remainder
|
|
385
|
+
rl = r.length,
|
|
386
|
+
q = y, // quotient
|
|
387
|
+
qc = q.c = [],
|
|
388
|
+
qi = 0,
|
|
389
|
+
p = dp + (q.e = x.e - y.e) + 1; // precision of the result
|
|
390
|
+
|
|
391
|
+
q.s = k;
|
|
392
|
+
k = p < 0 ? 0 : p;
|
|
393
|
+
|
|
394
|
+
// Create version of divisor with leading zero.
|
|
395
|
+
bz.unshift(0);
|
|
396
|
+
|
|
397
|
+
// Add zeros to make remainder as long as divisor.
|
|
398
|
+
for (; rl++ < bl;) r.push(0);
|
|
399
|
+
|
|
400
|
+
do {
|
|
401
|
+
|
|
402
|
+
// n is how many times the divisor goes into current remainder.
|
|
403
|
+
for (n = 0; n < 10; n++) {
|
|
404
|
+
|
|
405
|
+
// Compare divisor and remainder.
|
|
406
|
+
if (bl != (rl = r.length)) {
|
|
407
|
+
cmp = bl > rl ? 1 : -1;
|
|
408
|
+
} else {
|
|
409
|
+
for (ri = -1, cmp = 0; ++ri < bl;) {
|
|
410
|
+
if (b[ri] != r[ri]) {
|
|
411
|
+
cmp = b[ri] > r[ri] ? 1 : -1;
|
|
412
|
+
break;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
// If divisor < remainder, subtract divisor from remainder.
|
|
418
|
+
if (cmp < 0) {
|
|
419
|
+
|
|
420
|
+
// Remainder can't be more than 1 digit longer than divisor.
|
|
421
|
+
// Equalise lengths using divisor with extra leading zero?
|
|
422
|
+
for (bt = rl == bl ? b : bz; rl;) {
|
|
423
|
+
if (r[--rl] < bt[rl]) {
|
|
424
|
+
ri = rl;
|
|
425
|
+
for (; ri && !r[--ri];) r[ri] = 9;
|
|
426
|
+
--r[ri];
|
|
427
|
+
r[rl] += 10;
|
|
428
|
+
}
|
|
429
|
+
r[rl] -= bt[rl];
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
for (; !r[0];) r.shift();
|
|
433
|
+
} else {
|
|
434
|
+
break;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
// Add the digit n to the result array.
|
|
439
|
+
qc[qi++] = cmp ? n : ++n;
|
|
440
|
+
|
|
441
|
+
// Update the remainder.
|
|
442
|
+
if (r[0] && cmp) r[rl] = a[ai] || 0;
|
|
443
|
+
else r = [a[ai]];
|
|
444
|
+
|
|
445
|
+
} while ((ai++ < al || r[0] !== UNDEFINED) && k--);
|
|
446
|
+
|
|
447
|
+
// Leading zero? Do not remove if result is simply zero (qi == 1).
|
|
448
|
+
if (!qc[0] && qi != 1) {
|
|
449
|
+
|
|
450
|
+
// There can't be more than one zero.
|
|
451
|
+
qc.shift();
|
|
452
|
+
q.e--;
|
|
453
|
+
p--;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
// Round?
|
|
457
|
+
if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);
|
|
458
|
+
|
|
459
|
+
return q;
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
/*
|
|
464
|
+
* Return true if the value of this Big is equal to the value of Big y, otherwise return false.
|
|
465
|
+
*/
|
|
466
|
+
P.eq = function (y) {
|
|
467
|
+
return this.cmp(y) === 0;
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
/*
|
|
472
|
+
* Return true if the value of this Big is greater than the value of Big y, otherwise return
|
|
473
|
+
* false.
|
|
474
|
+
*/
|
|
475
|
+
P.gt = function (y) {
|
|
476
|
+
return this.cmp(y) > 0;
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
/*
|
|
481
|
+
* Return true if the value of this Big is greater than or equal to the value of Big y, otherwise
|
|
482
|
+
* return false.
|
|
483
|
+
*/
|
|
484
|
+
P.gte = function (y) {
|
|
485
|
+
return this.cmp(y) > -1;
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
/*
|
|
490
|
+
* Return true if the value of this Big is less than the value of Big y, otherwise return false.
|
|
491
|
+
*/
|
|
492
|
+
P.lt = function (y) {
|
|
493
|
+
return this.cmp(y) < 0;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
/*
|
|
498
|
+
* Return true if the value of this Big is less than or equal to the value of Big y, otherwise
|
|
499
|
+
* return false.
|
|
500
|
+
*/
|
|
501
|
+
P.lte = function (y) {
|
|
502
|
+
return this.cmp(y) < 1;
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
/*
|
|
507
|
+
* Return a new Big whose value is the value of this Big minus the value of Big y.
|
|
508
|
+
*/
|
|
509
|
+
P.minus = P.sub = function (y) {
|
|
510
|
+
var i, j, t, xlty,
|
|
511
|
+
x = this,
|
|
512
|
+
Big = x.constructor,
|
|
513
|
+
a = x.s,
|
|
514
|
+
b = (y = new Big(y)).s;
|
|
515
|
+
|
|
516
|
+
// Signs differ?
|
|
517
|
+
if (a != b) {
|
|
518
|
+
y.s = -b;
|
|
519
|
+
return x.plus(y);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
var xc = x.c.slice(),
|
|
523
|
+
xe = x.e,
|
|
524
|
+
yc = y.c,
|
|
525
|
+
ye = y.e;
|
|
526
|
+
|
|
527
|
+
// Either zero?
|
|
528
|
+
if (!xc[0] || !yc[0]) {
|
|
529
|
+
if (yc[0]) {
|
|
530
|
+
y.s = -b;
|
|
531
|
+
} else if (xc[0]) {
|
|
532
|
+
y = new Big(x);
|
|
533
|
+
} else {
|
|
534
|
+
y.s = 1;
|
|
535
|
+
}
|
|
536
|
+
return y;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// Determine which is the bigger number. Prepend zeros to equalise exponents.
|
|
540
|
+
if (a = xe - ye) {
|
|
541
|
+
|
|
542
|
+
if (xlty = a < 0) {
|
|
543
|
+
a = -a;
|
|
544
|
+
t = xc;
|
|
545
|
+
} else {
|
|
546
|
+
ye = xe;
|
|
547
|
+
t = yc;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
t.reverse();
|
|
551
|
+
for (b = a; b--;) t.push(0);
|
|
552
|
+
t.reverse();
|
|
553
|
+
} else {
|
|
554
|
+
|
|
555
|
+
// Exponents equal. Check digit by digit.
|
|
556
|
+
j = ((xlty = xc.length < yc.length) ? xc : yc).length;
|
|
557
|
+
|
|
558
|
+
for (a = b = 0; b < j; b++) {
|
|
559
|
+
if (xc[b] != yc[b]) {
|
|
560
|
+
xlty = xc[b] < yc[b];
|
|
561
|
+
break;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
// x < y? Point xc to the array of the bigger number.
|
|
567
|
+
if (xlty) {
|
|
568
|
+
t = xc;
|
|
569
|
+
xc = yc;
|
|
570
|
+
yc = t;
|
|
571
|
+
y.s = -y.s;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/*
|
|
575
|
+
* Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only
|
|
576
|
+
* needs to start at yc.length.
|
|
577
|
+
*/
|
|
578
|
+
if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;
|
|
579
|
+
|
|
580
|
+
// Subtract yc from xc.
|
|
581
|
+
for (b = i; j > a;) {
|
|
582
|
+
if (xc[--j] < yc[j]) {
|
|
583
|
+
for (i = j; i && !xc[--i];) xc[i] = 9;
|
|
584
|
+
--xc[i];
|
|
585
|
+
xc[j] += 10;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
xc[j] -= yc[j];
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
// Remove trailing zeros.
|
|
592
|
+
for (; xc[--b] === 0;) xc.pop();
|
|
593
|
+
|
|
594
|
+
// Remove leading zeros and adjust exponent accordingly.
|
|
595
|
+
for (; xc[0] === 0;) {
|
|
596
|
+
xc.shift();
|
|
597
|
+
--ye;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
if (!xc[0]) {
|
|
601
|
+
|
|
602
|
+
// n - n = +0
|
|
603
|
+
y.s = 1;
|
|
604
|
+
|
|
605
|
+
// Result must be zero.
|
|
606
|
+
xc = [ye = 0];
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
y.c = xc;
|
|
610
|
+
y.e = ye;
|
|
611
|
+
|
|
612
|
+
return y;
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
/*
|
|
617
|
+
* Return a new Big whose value is the value of this Big modulo the value of Big y.
|
|
618
|
+
*/
|
|
619
|
+
P.mod = function (y) {
|
|
620
|
+
var ygtx,
|
|
621
|
+
x = this,
|
|
622
|
+
Big = x.constructor,
|
|
623
|
+
a = x.s,
|
|
624
|
+
b = (y = new Big(y)).s;
|
|
625
|
+
|
|
626
|
+
if (!y.c[0]) {
|
|
627
|
+
throw Error(DIV_BY_ZERO);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
x.s = y.s = 1;
|
|
631
|
+
ygtx = y.cmp(x) == 1;
|
|
632
|
+
x.s = a;
|
|
633
|
+
y.s = b;
|
|
634
|
+
|
|
635
|
+
if (ygtx) return new Big(x);
|
|
636
|
+
|
|
637
|
+
a = Big.DP;
|
|
638
|
+
b = Big.RM;
|
|
639
|
+
Big.DP = Big.RM = 0;
|
|
640
|
+
x = x.div(y);
|
|
641
|
+
Big.DP = a;
|
|
642
|
+
Big.RM = b;
|
|
643
|
+
|
|
644
|
+
return this.minus(x.times(y));
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
/*
|
|
649
|
+
* Return a new Big whose value is the value of this Big negated.
|
|
650
|
+
*/
|
|
651
|
+
P.neg = function () {
|
|
652
|
+
var x = new this.constructor(this);
|
|
653
|
+
x.s = -x.s;
|
|
654
|
+
return x;
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
/*
|
|
659
|
+
* Return a new Big whose value is the value of this Big plus the value of Big y.
|
|
660
|
+
*/
|
|
661
|
+
P.plus = P.add = function (y) {
|
|
662
|
+
var e, k, t,
|
|
663
|
+
x = this,
|
|
664
|
+
Big = x.constructor;
|
|
665
|
+
|
|
666
|
+
y = new Big(y);
|
|
667
|
+
|
|
668
|
+
// Signs differ?
|
|
669
|
+
if (x.s != y.s) {
|
|
670
|
+
y.s = -y.s;
|
|
671
|
+
return x.minus(y);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
var xe = x.e,
|
|
675
|
+
xc = x.c,
|
|
676
|
+
ye = y.e,
|
|
677
|
+
yc = y.c;
|
|
678
|
+
|
|
679
|
+
// Either zero?
|
|
680
|
+
if (!xc[0] || !yc[0]) {
|
|
681
|
+
if (!yc[0]) {
|
|
682
|
+
if (xc[0]) {
|
|
683
|
+
y = new Big(x);
|
|
684
|
+
} else {
|
|
685
|
+
y.s = x.s;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
return y;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
xc = xc.slice();
|
|
692
|
+
|
|
693
|
+
// Prepend zeros to equalise exponents.
|
|
694
|
+
// Note: reverse faster than unshifts.
|
|
695
|
+
if (e = xe - ye) {
|
|
696
|
+
if (e > 0) {
|
|
697
|
+
ye = xe;
|
|
698
|
+
t = yc;
|
|
699
|
+
} else {
|
|
700
|
+
e = -e;
|
|
701
|
+
t = xc;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
t.reverse();
|
|
705
|
+
for (; e--;) t.push(0);
|
|
706
|
+
t.reverse();
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
// Point xc to the longer array.
|
|
710
|
+
if (xc.length - yc.length < 0) {
|
|
711
|
+
t = yc;
|
|
712
|
+
yc = xc;
|
|
713
|
+
xc = t;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
e = yc.length;
|
|
717
|
+
|
|
718
|
+
// Only start adding at yc.length - 1 as the further digits of xc can be left as they are.
|
|
719
|
+
for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;
|
|
720
|
+
|
|
721
|
+
// No need to check for zero, as +x + +y != 0 && -x + -y != 0
|
|
722
|
+
|
|
723
|
+
if (k) {
|
|
724
|
+
xc.unshift(k);
|
|
725
|
+
++ye;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
// Remove trailing zeros.
|
|
729
|
+
for (e = xc.length; xc[--e] === 0;) xc.pop();
|
|
730
|
+
|
|
731
|
+
y.c = xc;
|
|
732
|
+
y.e = ye;
|
|
733
|
+
|
|
734
|
+
return y;
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
/*
|
|
739
|
+
* Return a Big whose value is the value of this Big raised to the power n.
|
|
740
|
+
* If n is negative, round to a maximum of Big.DP decimal places using rounding
|
|
741
|
+
* mode Big.RM.
|
|
742
|
+
*
|
|
743
|
+
* n {number} Integer, -MAX_POWER to MAX_POWER inclusive.
|
|
744
|
+
*/
|
|
745
|
+
P.pow = function (n) {
|
|
746
|
+
var x = this,
|
|
747
|
+
one = new x.constructor('1'),
|
|
748
|
+
y = one,
|
|
749
|
+
isneg = n < 0;
|
|
750
|
+
|
|
751
|
+
if (n !== ~~n || n < -1e6 || n > MAX_POWER) {
|
|
752
|
+
throw Error(INVALID + 'exponent');
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
if (isneg) n = -n;
|
|
756
|
+
|
|
757
|
+
for (;;) {
|
|
758
|
+
if (n & 1) y = y.times(x);
|
|
759
|
+
n >>= 1;
|
|
760
|
+
if (!n) break;
|
|
761
|
+
x = x.times(x);
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
return isneg ? one.div(y) : y;
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
/*
|
|
769
|
+
* Return a new Big whose value is the value of this Big rounded to a maximum precision of sd
|
|
770
|
+
* significant digits using rounding mode rm, or Big.RM if rm is not specified.
|
|
771
|
+
*
|
|
772
|
+
* sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
|
|
773
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
774
|
+
*/
|
|
775
|
+
P.prec = function (sd, rm) {
|
|
776
|
+
if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
|
|
777
|
+
throw Error(INVALID + 'precision');
|
|
778
|
+
}
|
|
779
|
+
return round(new this.constructor(this), sd, rm);
|
|
780
|
+
};
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
/*
|
|
784
|
+
* Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places
|
|
785
|
+
* using rounding mode rm, or Big.RM if rm is not specified.
|
|
786
|
+
* If dp is negative, round to an integer which is a multiple of 10**-dp.
|
|
787
|
+
* If dp is not specified, round to 0 decimal places.
|
|
788
|
+
*
|
|
789
|
+
* dp? {number} Integer, -MAX_DP to MAX_DP inclusive.
|
|
790
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
791
|
+
*/
|
|
792
|
+
P.round = function (dp, rm) {
|
|
793
|
+
if (dp === UNDEFINED) dp = 0;
|
|
794
|
+
else if (dp !== ~~dp || dp < -1e6 || dp > MAX_DP) {
|
|
795
|
+
throw Error(INVALID_DP);
|
|
796
|
+
}
|
|
797
|
+
return round(new this.constructor(this), dp + this.e + 1, rm);
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
/*
|
|
802
|
+
* Return a new Big whose value is the square root of the value of this Big, rounded, if
|
|
803
|
+
* necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.
|
|
804
|
+
*/
|
|
805
|
+
P.sqrt = function () {
|
|
806
|
+
var r, c, t,
|
|
807
|
+
x = this,
|
|
808
|
+
Big = x.constructor,
|
|
809
|
+
s = x.s,
|
|
810
|
+
e = x.e,
|
|
811
|
+
half = new Big('0.5');
|
|
812
|
+
|
|
813
|
+
// Zero?
|
|
814
|
+
if (!x.c[0]) return new Big(x);
|
|
815
|
+
|
|
816
|
+
// Negative?
|
|
817
|
+
if (s < 0) {
|
|
818
|
+
throw Error(NAME + 'No square root');
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
// Estimate.
|
|
822
|
+
s = Math.sqrt(x + '');
|
|
823
|
+
|
|
824
|
+
// Math.sqrt underflow/overflow?
|
|
825
|
+
// Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.
|
|
826
|
+
if (s === 0 || s === 1 / 0) {
|
|
827
|
+
c = x.c.join('');
|
|
828
|
+
if (!(c.length + e & 1)) c += '0';
|
|
829
|
+
s = Math.sqrt(c);
|
|
830
|
+
e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);
|
|
831
|
+
r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);
|
|
832
|
+
} else {
|
|
833
|
+
r = new Big(s + '');
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
e = r.e + (Big.DP += 4);
|
|
837
|
+
|
|
838
|
+
// Newton-Raphson iteration.
|
|
839
|
+
do {
|
|
840
|
+
t = r;
|
|
841
|
+
r = half.times(t.plus(x.div(t)));
|
|
842
|
+
} while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));
|
|
843
|
+
|
|
844
|
+
return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
/*
|
|
849
|
+
* Return a new Big whose value is the value of this Big times the value of Big y.
|
|
850
|
+
*/
|
|
851
|
+
P.times = P.mul = function (y) {
|
|
852
|
+
var c,
|
|
853
|
+
x = this,
|
|
854
|
+
Big = x.constructor,
|
|
855
|
+
xc = x.c,
|
|
856
|
+
yc = (y = new Big(y)).c,
|
|
857
|
+
a = xc.length,
|
|
858
|
+
b = yc.length,
|
|
859
|
+
i = x.e,
|
|
860
|
+
j = y.e;
|
|
861
|
+
|
|
862
|
+
// Determine sign of result.
|
|
863
|
+
y.s = x.s == y.s ? 1 : -1;
|
|
864
|
+
|
|
865
|
+
// Return signed 0 if either 0.
|
|
866
|
+
if (!xc[0] || !yc[0]) {
|
|
867
|
+
y.c = [y.e = 0];
|
|
868
|
+
return y;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
// Initialise exponent of result as x.e + y.e.
|
|
872
|
+
y.e = i + j;
|
|
873
|
+
|
|
874
|
+
// If array xc has fewer digits than yc, swap xc and yc, and lengths.
|
|
875
|
+
if (a < b) {
|
|
876
|
+
c = xc;
|
|
877
|
+
xc = yc;
|
|
878
|
+
yc = c;
|
|
879
|
+
j = a;
|
|
880
|
+
a = b;
|
|
881
|
+
b = j;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
// Initialise coefficient array of result with zeros.
|
|
885
|
+
for (c = new Array(j = a + b); j--;) c[j] = 0;
|
|
886
|
+
|
|
887
|
+
// Multiply.
|
|
888
|
+
|
|
889
|
+
// i is initially xc.length.
|
|
890
|
+
for (i = b; i--;) {
|
|
891
|
+
b = 0;
|
|
892
|
+
|
|
893
|
+
// a is yc.length.
|
|
894
|
+
for (j = a + i; j > i;) {
|
|
895
|
+
|
|
896
|
+
// Current sum of products at this digit position, plus carry.
|
|
897
|
+
b = c[j] + yc[i] * xc[j - i - 1] + b;
|
|
898
|
+
c[j--] = b % 10;
|
|
899
|
+
|
|
900
|
+
// carry
|
|
901
|
+
b = b / 10 | 0;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
c[j] = b;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
// Increment result exponent if there is a final carry, otherwise remove leading zero.
|
|
908
|
+
if (b) ++y.e;
|
|
909
|
+
else c.shift();
|
|
910
|
+
|
|
911
|
+
// Remove trailing zeros.
|
|
912
|
+
for (i = c.length; !c[--i];) c.pop();
|
|
913
|
+
y.c = c;
|
|
914
|
+
|
|
915
|
+
return y;
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
/*
|
|
920
|
+
* Return a string representing the value of this Big in exponential notation rounded to dp fixed
|
|
921
|
+
* decimal places using rounding mode rm, or Big.RM if rm is not specified.
|
|
922
|
+
*
|
|
923
|
+
* dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
|
|
924
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
925
|
+
*/
|
|
926
|
+
P.toExponential = function (dp, rm) {
|
|
927
|
+
var x = this,
|
|
928
|
+
n = x.c[0];
|
|
929
|
+
|
|
930
|
+
if (dp !== UNDEFINED) {
|
|
931
|
+
if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
|
|
932
|
+
throw Error(INVALID_DP);
|
|
933
|
+
}
|
|
934
|
+
x = round(new x.constructor(x), ++dp, rm);
|
|
935
|
+
for (; x.c.length < dp;) x.c.push(0);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
return stringify(x, true, !!n);
|
|
939
|
+
};
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
/*
|
|
943
|
+
* Return a string representing the value of this Big in normal notation rounded to dp fixed
|
|
944
|
+
* decimal places using rounding mode rm, or Big.RM if rm is not specified.
|
|
945
|
+
*
|
|
946
|
+
* dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.
|
|
947
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
948
|
+
*
|
|
949
|
+
* (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.
|
|
950
|
+
* (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.
|
|
951
|
+
*/
|
|
952
|
+
P.toFixed = function (dp, rm) {
|
|
953
|
+
var x = this,
|
|
954
|
+
n = x.c[0];
|
|
955
|
+
|
|
956
|
+
if (dp !== UNDEFINED) {
|
|
957
|
+
if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {
|
|
958
|
+
throw Error(INVALID_DP);
|
|
959
|
+
}
|
|
960
|
+
x = round(new x.constructor(x), dp + x.e + 1, rm);
|
|
961
|
+
|
|
962
|
+
// x.e may have changed if the value is rounded up.
|
|
963
|
+
for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
return stringify(x, false, !!n);
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
/*
|
|
971
|
+
* Return a string representing the value of this Big.
|
|
972
|
+
* Return exponential notation if this Big has a positive exponent equal to or greater than
|
|
973
|
+
* Big.PE, or a negative exponent equal to or less than Big.NE.
|
|
974
|
+
* Omit the sign for negative zero.
|
|
975
|
+
*/
|
|
976
|
+
P[Symbol.for('nodejs.util.inspect.custom')] = P.toJSON = P.toString = function () {
|
|
977
|
+
var x = this,
|
|
978
|
+
Big = x.constructor;
|
|
979
|
+
return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
/*
|
|
984
|
+
* Return the value of this Big as a primitve number.
|
|
985
|
+
*/
|
|
986
|
+
P.toNumber = function () {
|
|
987
|
+
var n = Number(stringify(this, true, true));
|
|
988
|
+
if (this.constructor.strict === true && !this.eq(n.toString())) {
|
|
989
|
+
throw Error(NAME + 'Imprecise conversion');
|
|
990
|
+
}
|
|
991
|
+
return n;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
/*
|
|
996
|
+
* Return a string representing the value of this Big rounded to sd significant digits using
|
|
997
|
+
* rounding mode rm, or Big.RM if rm is not specified.
|
|
998
|
+
* Use exponential notation if sd is less than the number of digits necessary to represent
|
|
999
|
+
* the integer part of the value in normal notation.
|
|
1000
|
+
*
|
|
1001
|
+
* sd {number} Significant digits: integer, 1 to MAX_DP inclusive.
|
|
1002
|
+
* rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).
|
|
1003
|
+
*/
|
|
1004
|
+
P.toPrecision = function (sd, rm) {
|
|
1005
|
+
var x = this,
|
|
1006
|
+
Big = x.constructor,
|
|
1007
|
+
n = x.c[0];
|
|
1008
|
+
|
|
1009
|
+
if (sd !== UNDEFINED) {
|
|
1010
|
+
if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {
|
|
1011
|
+
throw Error(INVALID + 'precision');
|
|
1012
|
+
}
|
|
1013
|
+
x = round(new Big(x), sd, rm);
|
|
1014
|
+
for (; x.c.length < sd;) x.c.push(0);
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
/*
|
|
1022
|
+
* Return a string representing the value of this Big.
|
|
1023
|
+
* Return exponential notation if this Big has a positive exponent equal to or greater than
|
|
1024
|
+
* Big.PE, or a negative exponent equal to or less than Big.NE.
|
|
1025
|
+
* Include the sign for negative zero.
|
|
1026
|
+
*/
|
|
1027
|
+
P.valueOf = function () {
|
|
1028
|
+
var x = this,
|
|
1029
|
+
Big = x.constructor;
|
|
1030
|
+
if (Big.strict === true) {
|
|
1031
|
+
throw Error(NAME + 'valueOf disallowed');
|
|
1032
|
+
}
|
|
1033
|
+
return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
// Export
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
var Big = _Big_();
|
|
1067
1041
|
|
|
1068
1042
|
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}";
|
|
1069
1043
|
|
|
@@ -1223,7 +1197,7 @@ const InputStepper = class {
|
|
|
1223
1197
|
const elText = elInner.element('text');
|
|
1224
1198
|
const increaseLabel = i18nBalInputStepper[this.language].increase;
|
|
1225
1199
|
const decreaseLabel = i18nBalInputStepper[this.language].decrease;
|
|
1226
|
-
return (h(Host, { key: '
|
|
1200
|
+
return (h(Host, { key: '6ad60111cc0d03d2375d5a7a490820d593b4b097', "aria-disabled": ariaBooleanToString(this.disabled), "aria-focused": this.focused ? 'true' : null, class: Object.assign({}, block.class()) }, h("div", { key: '734da03d0a55c27c8f7d7fa1fa10bbc6d270d775', class: Object.assign({}, elInner.class()) }, h("bal-button", { key: 'f80b191693808639c9abff0548e02a673064375b', 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: 'd83ce4220e317063f70833d02d9bd8b71cfa9cf8', "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: '15bf9caae4095f6b38e3f3405c7a0a555951fa5f', 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: '073cfbee7952b558bfcb15e66fb666894a85666d', 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))));
|
|
1227
1201
|
}
|
|
1228
1202
|
get el() { return getElement(this); }
|
|
1229
1203
|
static get watchers() { return {
|