@baloise/ds-core 17.3.0 → 17.4.0-snapshot.1609-d2bcc38d3
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/all.d.ts +2 -0
- package/components/all.js +3 -0
- package/components/aria.js +6 -1
- package/components/attributes.js +1 -0
- package/components/bal-accordion-details.js +1 -1
- package/components/bal-accordion-summary.js +1 -1
- package/components/bal-accordion-trigger.js +67 -2
- package/components/bal-app.js +1 -93
- package/components/bal-app2.js +95 -0
- package/components/bal-badge2.js +1 -1
- package/components/bal-button-group2.js +2 -2
- package/components/bal-button2.js +13 -2
- package/components/bal-card-actions.js +1 -1
- package/components/bal-card-button.js +1 -1
- package/components/bal-card-content2.js +1 -1
- package/components/bal-card-subtitle.js +1 -1
- package/components/bal-card-title.js +1 -1
- package/components/bal-card2.js +2 -2
- package/components/bal-carousel.js +12 -4
- package/components/bal-checkbox-button.js +1 -1
- package/components/bal-checkbox-group.js +2 -1
- package/components/bal-checkbox2.js +2 -2
- package/components/bal-close2.js +2 -2
- package/components/bal-content2.js +1 -1
- package/components/bal-data-item.js +1 -1
- package/components/bal-data-label.js +1 -1
- package/components/bal-data-value.js +1 -1
- package/components/bal-data.js +1 -1
- package/components/bal-date-calendar-cell2.js +2 -1
- package/components/bal-date-calendar2.js +2 -2
- package/components/bal-date.js +2 -1
- package/components/bal-divider.js +1 -1
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +262 -0
- package/components/bal-dropdown.js +4 -4
- package/components/bal-field-control.js +2 -2
- package/components/bal-field-hint.js +1 -1
- package/components/bal-field-label.js +1 -1
- package/components/bal-field-message.js +2 -2
- package/components/bal-field.js +4 -4
- package/components/bal-file-upload.js +5 -4
- package/components/bal-footer.js +6 -12
- package/components/bal-form-col.js +2 -2
- package/components/bal-form-grid.js +2 -2
- package/components/bal-form.js +1 -1
- package/components/bal-heading2.js +1 -1
- package/components/bal-hint-text2.js +1 -1
- package/components/bal-hint-title2.js +1 -1
- package/components/bal-icon2.js +3 -2
- package/components/bal-input-date2.js +3 -2
- package/components/bal-input-group2.js +1 -1
- package/components/bal-input-slider.js +4 -3
- package/components/bal-input-stepper.js +4 -3
- package/components/bal-input.js +3 -2
- package/components/bal-label2.js +1 -1
- package/components/bal-list-item-accordion-body2.js +30 -8
- package/components/bal-list-item-accordion-head2.js +106 -3
- package/components/bal-list-item-content2.js +2 -2
- package/components/bal-list-item-icon2.js +2 -2
- package/components/bal-list-item-subtitle2.js +1 -1
- package/components/bal-list-item-title2.js +1 -1
- package/components/bal-list2.js +1 -1
- package/components/bal-modal-body.js +1 -1
- package/components/bal-modal-header.js +1 -1
- package/components/bal-modal.js +9 -7
- package/components/bal-nav-link-grid-col2.js +1 -1
- package/components/bal-nav-link-grid2.js +1 -1
- package/components/bal-nav-link-group.js +1 -1
- package/components/bal-nav-link2.js +2 -2
- package/components/bal-nav-menu-bar2.js +1 -1
- package/components/bal-nav-menu-flyout2.js +1 -1
- package/components/bal-nav-meta-bar2.js +1 -1
- package/components/bal-nav.js +8 -8
- package/components/bal-navbar-brand.js +58 -2
- package/components/bal-navbar-menu-end.js +1 -1
- package/components/bal-navbar-menu-start.js +1 -1
- package/components/bal-navbar-menu.js +1 -1
- package/components/bal-navbar.js +1 -1
- package/components/bal-notices.js +1 -1
- package/components/bal-notification.js +1 -1
- package/components/bal-number-input.js +8 -6
- package/components/bal-option-list.js +2 -1
- package/components/bal-option.js +1 -1
- package/components/bal-pagination.js +4 -4
- package/components/bal-popover-content2.js +1 -1
- package/components/bal-popover2.js +3 -2
- package/components/bal-popup.js +1 -1
- package/components/bal-progress-bar.js +1 -1
- package/components/bal-radio-button.js +1 -1
- package/components/bal-radio-group.js +2 -1
- package/components/bal-radio2.js +3 -2
- package/components/bal-segment-item.js +1 -1
- package/components/bal-segment.js +1 -1
- package/components/bal-select-option2.js +1 -1
- package/components/bal-select2.js +6 -5
- package/components/bal-shape2.js +4 -4
- package/components/bal-sheet.js +1 -1
- package/components/bal-snackbar.js +1 -1
- package/components/bal-spinner2.js +1 -1
- package/components/bal-stack2.js +1 -1
- package/components/bal-stage-back-link.js +2 -2
- package/components/bal-stage-body.js +1 -1
- package/components/bal-stage-foot.js +1 -1
- package/components/bal-stage-head.js +1 -1
- package/components/bal-stage-image.js +1 -1
- package/components/bal-stage.js +1 -1
- package/components/bal-step-item.js +2 -2
- package/components/bal-steps.js +1 -1
- package/components/bal-tab-item.js +2 -2
- package/components/bal-table.js +1 -1
- package/components/bal-tabs2.js +6 -5
- package/components/bal-tag-group.js +1 -1
- package/components/bal-tag2.js +2 -1
- package/components/bal-text2.js +2 -2
- package/components/bal-textarea.js +2 -1
- package/components/bal-time-input.js +3 -2
- package/components/bal-toast.js +1 -1
- package/components/bal-tooltip.js +1 -1
- package/components/floating-ui.dom.esm.js +205 -77
- package/components/form.js +2 -2
- package/components/index.js +7 -314
- package/components/initialize.js +312 -0
- package/components/overlays.js +285 -1
- package/components/swiper.util.js +8 -3
- package/components/tokens.esm.js +1 -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-0242cdf474.entry.js +1 -0
- package/dist/baloise-design-system/p-055ec952e0.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-3f88c54b.js → p-070b692d.js} +1 -1
- package/dist/baloise-design-system/p-07bae1fdcc.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0a00140ece.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0b6380a77a.entry.js +1 -0
- package/dist/baloise-design-system/p-0d5459caac.system.entry.js +1 -0
- package/dist/baloise-design-system/p-10ff0eaf.js +1 -0
- package/dist/baloise-design-system/p-111d37ae18.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-516488d5fc.system.entry.js → p-12af198b96.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f80438cdac.entry.js → p-12db0c3477.entry.js} +1 -1
- package/dist/baloise-design-system/{p-35baa468.js → p-13d7688b.js} +1 -1
- package/dist/baloise-design-system/{p-95bf3ca0ae.entry.js → p-187e7da1ed.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3664ca2ce5.system.entry.js → p-18820ca258.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-1c8e64e58b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-7042d9e34c.system.entry.js → p-208bd3127d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c1ca39528d.entry.js → p-2697b88cca.entry.js} +1 -1
- package/dist/baloise-design-system/p-2724ad9065.entry.js +1 -0
- package/dist/baloise-design-system/p-273fb2c2.system.js +1 -1
- package/dist/baloise-design-system/p-279428d318.entry.js +1 -0
- package/dist/baloise-design-system/p-2d98519440.system.entry.js +1 -0
- package/dist/baloise-design-system/p-2da669b4.system.js +1 -0
- package/dist/baloise-design-system/{p-66f6b46fd4.system.entry.js → p-3114657eb7.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-312a3215.js +1 -0
- package/dist/baloise-design-system/p-31c7ac3a.system.js +1 -0
- package/dist/baloise-design-system/p-341c9b6c63.entry.js +1 -0
- package/dist/baloise-design-system/{p-06e89742d9.system.entry.js → p-34a93475db.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a5964c8a.system.js → p-363254ce.system.js} +1 -1
- package/dist/baloise-design-system/p-36c4bd2450.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-e7c9357245.entry.js → p-374e5904fa.entry.js} +1 -1
- package/dist/baloise-design-system/p-3ae755102b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-34ca390a2c.system.entry.js → p-3bcfc7b117.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-92e27ad87b.entry.js → p-3c447e2884.entry.js} +1 -1
- package/dist/baloise-design-system/p-3cb3bf6ca0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-3d5fac87cb.entry.js +1 -0
- package/dist/baloise-design-system/p-3f559c384a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-426219f4.js +1 -0
- package/dist/baloise-design-system/p-43174c7095.entry.js +1 -0
- package/dist/baloise-design-system/p-4440f31c6b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-44539ccf68.entry.js +1 -0
- package/dist/baloise-design-system/{p-7ced24b550.system.entry.js → p-447acd07e7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2f23758d56.entry.js → p-447bb8d6ce.entry.js} +1 -1
- package/dist/baloise-design-system/p-462f564b70.entry.js +1 -0
- package/dist/baloise-design-system/{p-596000a871.entry.js → p-469a18b468.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c6f86d0612.entry.js → p-48809a4768.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1e7d65ac70.entry.js → p-4affef9b9b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8594937575.entry.js → p-4d9a45256c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-71eb478cc0.system.entry.js → p-4dc30ed346.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-50a49c0e5c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-50f3b012.js +1 -0
- package/dist/baloise-design-system/p-525a4b8a95.entry.js +1 -0
- package/dist/baloise-design-system/{p-649e542e.system.js → p-540bfa19.system.js} +1 -1
- package/dist/baloise-design-system/{p-1b5f932fe9.system.entry.js → p-5514228033.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-55fc8522eb.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-1c08d81e34.entry.js → p-56021799ec.entry.js} +1 -1
- package/dist/baloise-design-system/p-570a1d673a.entry.js +1 -0
- package/dist/baloise-design-system/p-5776d1fde6.entry.js +1 -0
- package/dist/baloise-design-system/p-5821d4bbb2.system.entry.js +1 -0
- package/dist/baloise-design-system/p-59d9918c.system.js +1 -0
- package/dist/baloise-design-system/p-5d6f66047b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-f385e205.js → p-5eb3fbb9.js} +1 -1
- package/dist/baloise-design-system/p-6079fa35e4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-649eedce8a.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-2b4970ea09.system.entry.js → p-6b14f26a4d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4a746f645b.entry.js → p-6e37071912.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e034c068.system.js → p-6e4a8fa7.system.js} +1 -1
- package/dist/baloise-design-system/{p-62f6d6e101.system.entry.js → p-6ee0ee61c1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dc61e01d7b.entry.js → p-71162da762.entry.js} +1 -1
- package/dist/baloise-design-system/p-73fdcff369.entry.js +1 -0
- package/dist/baloise-design-system/{p-6c85b9106b.entry.js → p-774cad80b8.entry.js} +1 -1
- package/dist/baloise-design-system/p-7ab2e7b846.entry.js +1 -0
- package/dist/baloise-design-system/p-7afa264997.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-270deaf56d.entry.js → p-7bd7839936.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ea27183b2a.system.entry.js → p-7c074055e7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-715f1670d4.entry.js → p-808cc1fd05.entry.js} +1 -1
- package/dist/baloise-design-system/p-857f898475.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-48c06e18ca.system.entry.js → p-8723e490bf.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8869d8fe38.system.entry.js +1 -0
- package/dist/baloise-design-system/p-8f2e9a7f.js +1 -0
- package/dist/baloise-design-system/{p-fbc35458.js → p-8f2ebeb2.js} +1 -1
- package/dist/baloise-design-system/{p-6e5745c8.system.js → p-907368ff.system.js} +1 -1
- package/dist/baloise-design-system/{p-a7bbafcf3c.entry.js → p-93906ca075.entry.js} +1 -1
- package/dist/baloise-design-system/p-94b7fba934.entry.js +1 -0
- package/dist/baloise-design-system/p-9727e05e.system.js +1 -0
- package/dist/baloise-design-system/p-9a1a9c980a.entry.js +1 -0
- package/dist/baloise-design-system/{p-57777973d0.entry.js → p-9b542bd976.entry.js} +1 -1
- package/dist/baloise-design-system/{p-652816cc.system.js → p-9e489928.system.js} +1 -1
- package/dist/baloise-design-system/p-9ec2c3e050.entry.js +1 -0
- package/dist/baloise-design-system/p-9fbf3690.system.js +1 -0
- package/dist/baloise-design-system/p-a576a58b09.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-d56a7e63df.system.entry.js → p-a5c70dd2dd.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-48a601d6f0.system.entry.js → p-a85fe6d188.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d96cc18c2d.system.entry.js → p-a8eef09399.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-31443ba141.entry.js → p-aa2b2147a2.entry.js} +1 -1
- package/dist/baloise-design-system/p-afca130b59.system.entry.js +1 -0
- package/dist/baloise-design-system/p-afef265b5f.entry.js +1 -0
- package/dist/baloise-design-system/p-b21f2874.system.js +1 -0
- package/dist/baloise-design-system/{p-6d51888831.entry.js → p-b2e3f97a3f.entry.js} +1 -1
- package/dist/baloise-design-system/p-b51a692e99.entry.js +1 -0
- package/dist/baloise-design-system/p-b721864305.entry.js +1 -0
- package/dist/baloise-design-system/p-b726b9f4c9.entry.js +1 -0
- package/dist/baloise-design-system/p-bb308299af.entry.js +1 -0
- package/dist/baloise-design-system/{p-84a762f80d.entry.js → p-be02300bdd.entry.js} +1 -1
- package/dist/baloise-design-system/p-bf200caec0.entry.js +1 -0
- package/dist/baloise-design-system/p-c017695c41.entry.js +1 -0
- package/dist/baloise-design-system/p-c0461c69d6.entry.js +1 -0
- package/dist/baloise-design-system/p-c08cbae3ec.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c0eefa4060.entry.js +1 -0
- package/dist/baloise-design-system/{p-e4c30a31a7.system.entry.js → p-c22c22090f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c641bed817.entry.js +1 -0
- package/dist/baloise-design-system/p-c991d944.js +1 -1
- package/dist/baloise-design-system/{p-eaadfca758.entry.js → p-c9c007a260.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8f1c2e77b6.entry.js → p-cca78c7a8e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dacc50ec18.entry.js → p-cf570c9464.entry.js} +1 -1
- package/dist/baloise-design-system/{p-54166d49.system.js → p-d5cb701b.system.js} +1 -1
- package/dist/baloise-design-system/{p-ce1ce7d198.system.entry.js → p-db9b4e132d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-63b89f722f.system.entry.js → p-db9f48c0d5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9ba757663f.system.entry.js → p-dcb77164fc.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-deaa160f21.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e0a3b80c8c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e0b6c2eaf9.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-fbc010987b.system.entry.js → p-e0c8d647b3.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e48a46d6d7.entry.js +1 -0
- package/dist/baloise-design-system/p-e4b50159.js +1 -0
- package/dist/baloise-design-system/{p-594112b9e7.system.entry.js → p-e4ff14c5bf.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e562e98c7e.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-1e726ce985.system.entry.js → p-e6196821f7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aa125ebac6.system.entry.js → p-e63b388285.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-975634d334.system.entry.js → p-ebae74f9d4.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ec5776f5.js +1 -0
- package/dist/baloise-design-system/{p-aa101747b4.system.entry.js → p-eeb954c6bc.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-f1849ab83d.entry.js +1 -0
- package/dist/baloise-design-system/p-f285a977e8.entry.js +1 -0
- package/dist/baloise-design-system/p-f4641c6a16.entry.js +1 -0
- package/dist/baloise-design-system/p-f55c127cb5.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-5c0ac570ac.entry.js → p-f669df60fb.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8d1dc2f0d6.system.entry.js → p-f6f93e74c1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9438e5c989.entry.js → p-f7e9758f60.entry.js} +1 -1
- package/dist/baloise-design-system/{p-195ee683.system.js → p-fa246bef.system.js} +1 -1
- package/dist/baloise-design-system/{p-717d8ea880.entry.js → p-fca0dcccde.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5d0768fd46.system.entry.js → p-fe6d53dfdf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-245629d7ca.system.entry.js → p-ff2a5eae24.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4f74bac34b.system.entry.js → p-ff31e0e340.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ffe0476dde.entry.js +1 -0
- package/dist/cjs/app-globals-44d3a5af.js +7 -0
- package/dist/cjs/aria-7672033f.js +10 -0
- package/dist/cjs/{attributes-9f366716.js → attributes-11acd153.js} +1 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +65 -3
- package/dist/cjs/bal-app.cjs.entry.js +2 -2
- package/dist/cjs/bal-badge.cjs.entry.js +1 -1
- package/dist/cjs/bal-button_2.cjs.entry.js +15 -5
- package/dist/cjs/bal-card_6.cjs.entry.js +7 -7
- package/dist/cjs/bal-carousel_2.cjs.entry.js +16 -10
- package/dist/cjs/bal-checkbox-button.cjs.entry.js +1 -1
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +6 -6
- package/dist/cjs/bal-close.cjs.entry.js +2 -2
- package/dist/cjs/bal-content.cjs.entry.js +1 -1
- package/dist/cjs/bal-data_4.cjs.entry.js +4 -4
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -1
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +7 -6
- package/dist/cjs/bal-date.cjs.entry.js +5 -4
- package/dist/cjs/bal-divider.cjs.entry.js +1 -1
- package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +8 -8
- package/dist/cjs/bal-field_5.cjs.entry.js +11 -11
- package/dist/cjs/bal-file-upload.cjs.entry.js +6 -5
- package/dist/cjs/bal-footer.cjs.entry.js +4 -4
- package/dist/cjs/bal-form-col_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-form.cjs.entry.js +2 -2
- package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_5.cjs.entry.js +9 -8
- package/dist/cjs/bal-icon.cjs.entry.js +3 -2
- package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-slider.cjs.entry.js +5 -4
- package/dist/cjs/bal-input-stepper.cjs.entry.js +6 -5
- package/dist/cjs/bal-input.cjs.entry.js +5 -4
- package/dist/cjs/bal-label.cjs.entry.js +2 -2
- package/dist/cjs/bal-list_8.cjs.entry.js +137 -19
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-modal_3.cjs.entry.js +10 -9
- package/dist/cjs/bal-nav_8.cjs.entry.js +19 -19
- package/dist/cjs/bal-navbar_5.cjs.entry.js +61 -9
- package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-notification.cjs.entry.js +1 -1
- package/dist/cjs/bal-number-input.cjs.entry.js +9 -7
- package/dist/cjs/bal-option_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
- package/dist/cjs/bal-popup.cjs.entry.js +2 -2
- package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/bal-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/bal-radio_2.cjs.entry.js +6 -5
- package/dist/cjs/bal-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/bal-select_2.cjs.entry.js +8 -7
- package/dist/cjs/bal-shape.cjs.entry.js +5 -5
- package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bal-stack.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +8 -8
- package/dist/cjs/bal-step-item.cjs.entry.js +3 -3
- package/dist/cjs/bal-steps.cjs.entry.js +4 -4
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +13 -12
- package/dist/cjs/bal-table.cjs.entry.js +1 -1
- package/dist/cjs/bal-tag_2.cjs.entry.js +4 -3
- package/dist/cjs/bal-textarea.cjs.entry.js +4 -3
- package/dist/cjs/bal-time-input.cjs.entry.js +5 -4
- package/dist/cjs/bal-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-02f40938.js → breakpoints.decorator-f4800188.js} +1 -1
- package/dist/cjs/{breakpoints.subject-37ab025d.js → breakpoints.subject-3244205b.js} +1 -1
- package/dist/cjs/{floating-ui-3147d2ff.js → floating-ui-838f057c.js} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-2ece9686.js → floating-ui.dom.esm-13e3f667.js} +205 -77
- package/dist/cjs/{form-2279fb2f.js → form-17c98ac2.js} +2 -2
- package/dist/cjs/{app-globals-fa3c14cc.js → global-872cca8d.js} +2 -4
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/initialize-3059001f.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/overlays-f6884b7e.js +367 -0
- package/dist/cjs/{swiper.util-9bad4b2d.js → swiper.util-62ca48ba.js} +8 -3
- package/dist/cjs/{tokens.esm-2b08bc6c.js → tokens.esm-b1eb9ac4.js} +1 -1
- package/dist/cjs/{window-resize.decorator-7153a9f2.js → window-resize.decorator-6133d79a.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +56 -2
- package/dist/collection/components/bal-accordion/bal-accordion.i18n.js +42 -0
- package/dist/collection/components/bal-app/bal-app.js +2 -2
- package/dist/collection/components/bal-badge/bal-badge.js +1 -1
- package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +2 -2
- package/dist/collection/components/bal-button/bal-button.js +33 -3
- 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 +1 -1
- package/dist/collection/components/bal-card/bal-card-content/bal-card-content.js +1 -1
- package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +1 -1
- package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +1 -1
- package/dist/collection/components/bal-card/bal-card.js +2 -2
- package/dist/collection/components/bal-carousel/bal-carousel.css +1 -1
- package/dist/collection/components/bal-carousel/bal-carousel.js +31 -3
- package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.js +1 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +2 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +1 -1
- package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
- package/dist/collection/components/bal-close/bal-close.css +1 -1
- package/dist/collection/components/bal-close/bal-close.js +1 -1
- package/dist/collection/components/bal-content/bal-content.js +1 -1
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +1 -1
- 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 +1 -1
- package/dist/collection/components/bal-data/bal-data.js +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.css +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +2 -1
- package/dist/collection/components/bal-date/bal-date.js +2 -1
- package/dist/collection/components/bal-divider/bal-divider.js +1 -1
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +2 -2
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +2 -2
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +1 -1
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +1 -1
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +2 -2
- package/dist/collection/components/bal-field/bal-field.css +1 -1
- package/dist/collection/components/bal-field/bal-field.js +3 -3
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +5 -4
- package/dist/collection/components/bal-footer/bal-footer.css +1 -1
- package/dist/collection/components/bal-footer/bal-footer.js +3 -3
- package/dist/collection/components/bal-form/bal-form.js +1 -1
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +2 -2
- package/dist/collection/components/bal-form-grid/bal-form-grid.css +1 -1
- package/dist/collection/components/bal-form-grid/bal-form-grid.js +1 -1
- package/dist/collection/components/bal-heading/bal-heading.js +1 -1
- package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +1 -1
- package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +1 -1
- package/dist/collection/components/bal-icon/bal-icon.css +1 -1
- package/dist/collection/components/bal-icon/bal-icon.js +2 -1
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +3 -2
- package/dist/collection/components/bal-input/bal-input.js +3 -2
- package/dist/collection/components/bal-input-group/bal-input-group.js +1 -1
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +4 -3
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +4 -3
- package/dist/collection/components/bal-label/bal-label.js +1 -1
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +65 -7
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.js +42 -0
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +127 -3
- 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 +2 -2
- package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +1 -1
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +1 -1
- package/dist/collection/components/bal-list/bal-list.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal.css +1 -1
- package/dist/collection/components/bal-modal/bal-modal.js +27 -6
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +2 -2
- package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +1 -1
- 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 +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +6 -6
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.js +32 -0
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +93 -1
- 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 +1 -1
- package/dist/collection/components/bal-notices/bal-notices.js +1 -1
- package/dist/collection/components/bal-notification/bal-notification.js +1 -1
- package/dist/collection/components/bal-number-input/bal-number-input.js +10 -8
- package/dist/collection/components/bal-option/bal-option.js +1 -1
- package/dist/collection/components/bal-option-list/bal-option-list.js +2 -1
- package/dist/collection/components/bal-pagination/bal-pagination.js +4 -4
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
- package/dist/collection/components/bal-popover/bal-popover.js +3 -2
- package/dist/collection/components/bal-popup/bal-popup.js +1 -1
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
- package/dist/collection/components/bal-radio/bal-radio-button/bal-radio-button.js +1 -1
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +2 -1
- package/dist/collection/components/bal-radio/bal-radio.js +2 -1
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
- package/dist/collection/components/bal-segment/bal-segment.js +1 -1
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
- package/dist/collection/components/bal-select/bal-select.js +6 -5
- package/dist/collection/components/bal-shape/bal-shape.js +4 -4
- package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
- package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
- package/dist/collection/components/bal-stack/bal-stack.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
- 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 +1 -1
- package/dist/collection/components/bal-stage/bal-stage.js +1 -1
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
- package/dist/collection/components/bal-steps/bal-steps.css +1 -1
- package/dist/collection/components/bal-table/bal-table.js +1 -1
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
- package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
- package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
- package/dist/collection/components/bal-tabs/components/tab-button.js +3 -2
- package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
- package/dist/collection/components/bal-tag/bal-tag.js +2 -1
- package/dist/collection/components/bal-text/bal-text.js +2 -2
- package/dist/collection/components/bal-textarea/bal-textarea.js +2 -1
- package/dist/collection/components/bal-time-input/bal-time-input.css +1 -1
- package/dist/collection/components/bal-time-input/bal-time-input.js +2 -1
- package/dist/collection/components/bal-toast/bal-toast.js +1 -1
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +247 -0
- package/dist/collection/utils/aria.js +6 -1
- package/dist/collection/utils/attributes.js +1 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/dropdown/input.js +2 -2
- package/dist/collection/utils/form.js +2 -2
- package/dist/collection/utils/overlays/focus-trap.js +91 -0
- package/dist/collection/utils/overlays/overlays.js +193 -0
- package/dist/collection/utils/swiper/swiper.util.js +8 -3
- package/dist/esm/app-globals-c5ea8144.js +5 -0
- package/dist/esm/aria-ea150568.js +8 -0
- package/dist/esm/{attributes-4fa7040f.js → attributes-a3e70948.js} +1 -0
- package/dist/esm/bal-accordion_4.entry.js +65 -3
- package/dist/esm/bal-app.entry.js +2 -2
- package/dist/esm/bal-badge.entry.js +1 -1
- package/dist/esm/bal-button_2.entry.js +15 -5
- package/dist/esm/bal-card_6.entry.js +7 -7
- package/dist/esm/bal-carousel_2.entry.js +16 -10
- package/dist/esm/bal-checkbox-button.entry.js +1 -1
- package/dist/esm/bal-checkbox_2.entry.js +6 -6
- package/dist/esm/bal-close.entry.js +2 -2
- package/dist/esm/bal-content.entry.js +1 -1
- package/dist/esm/bal-data_4.entry.js +4 -4
- package/dist/esm/bal-date-calendar-cell.entry.js +2 -1
- package/dist/esm/bal-date-calendar_2.entry.js +7 -6
- package/dist/esm/bal-date.entry.js +5 -4
- package/dist/esm/bal-divider.entry.js +1 -1
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-dropdown.entry.js +8 -8
- package/dist/esm/bal-field_5.entry.js +11 -11
- package/dist/esm/bal-file-upload.entry.js +6 -5
- package/dist/esm/bal-footer.entry.js +4 -4
- package/dist/esm/bal-form-col_2.entry.js +4 -4
- package/dist/esm/bal-form.entry.js +2 -2
- package/dist/esm/bal-heading_2.entry.js +3 -3
- package/dist/esm/bal-hint_5.entry.js +9 -8
- package/dist/esm/bal-icon.entry.js +3 -2
- package/dist/esm/bal-input-group.entry.js +1 -1
- package/dist/esm/bal-input-slider.entry.js +5 -4
- package/dist/esm/bal-input-stepper.entry.js +6 -5
- package/dist/esm/bal-input.entry.js +5 -4
- package/dist/esm/bal-label.entry.js +2 -2
- package/dist/esm/bal-list_8.entry.js +137 -19
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-modal_3.entry.js +10 -9
- package/dist/esm/bal-nav_8.entry.js +19 -19
- package/dist/esm/bal-navbar_5.entry.js +61 -9
- package/dist/esm/bal-notices_3.entry.js +3 -3
- package/dist/esm/bal-notification.entry.js +1 -1
- package/dist/esm/bal-number-input.entry.js +9 -7
- package/dist/esm/bal-option_2.entry.js +5 -5
- package/dist/esm/bal-pagination.entry.js +7 -7
- package/dist/esm/bal-popup.entry.js +2 -2
- package/dist/esm/bal-progress-bar.entry.js +5 -5
- package/dist/esm/bal-radio-button.entry.js +1 -1
- package/dist/esm/bal-radio_2.entry.js +6 -5
- package/dist/esm/bal-segment_2.entry.js +8 -8
- package/dist/esm/bal-select_2.entry.js +8 -7
- package/dist/esm/bal-shape.entry.js +5 -5
- package/dist/esm/bal-sheet.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +1 -1
- package/dist/esm/bal-stack.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +8 -8
- package/dist/esm/bal-step-item.entry.js +3 -3
- package/dist/esm/bal-steps.entry.js +4 -4
- package/dist/esm/bal-tab-item_2.entry.js +13 -12
- package/dist/esm/bal-table.entry.js +1 -1
- package/dist/esm/bal-tag_2.entry.js +4 -3
- package/dist/esm/bal-textarea.entry.js +4 -3
- package/dist/esm/bal-time-input.entry.js +5 -4
- package/dist/esm/bal-tooltip.entry.js +2 -2
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-fbc04097.js → breakpoints.decorator-43a5539d.js} +1 -1
- package/dist/esm/{breakpoints.subject-336f3c8b.js → breakpoints.subject-41117dc4.js} +1 -1
- package/dist/esm/{floating-ui-90bc6e58.js → floating-ui-d05a7ad6.js} +1 -1
- package/dist/esm/{floating-ui.dom.esm-8dcdb8d6.js → floating-ui.dom.esm-efb93616.js} +205 -77
- package/dist/esm/{form-fb8dd9f5.js → form-841232ff.js} +2 -2
- package/dist/esm/{app-globals-5b18a75c.js → global-181336dc.js} +2 -4
- package/dist/esm/index.js +5 -5
- package/dist/esm/initialize-66a526c0.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/overlays-df27551b.js +360 -0
- package/dist/esm/{swiper.util-a4c7d0f9.js → swiper.util-9564f1e8.js} +8 -3
- package/dist/esm/{tokens.esm-d6bf7bd8.js → tokens.esm-376de6fe.js} +1 -1
- package/dist/esm/{window-resize.decorator-f894e34b.js → window-resize.decorator-66d8fd79.js} +1 -1
- package/dist/esm-es5/app-globals-c5ea8144.js +1 -0
- package/dist/esm-es5/aria-ea150568.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-checkbox-button.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-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
- package/dist/esm-es5/bal-form.entry.js +1 -1
- package/dist/esm-es5/bal-heading_2.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-group.entry.js +1 -1
- package/dist/esm-es5/bal-input-slider.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
- package/dist/esm-es5/bal-input.entry.js +1 -1
- package/dist/esm-es5/bal-label.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-modal_3.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-notices_3.entry.js +1 -1
- package/dist/esm-es5/bal-notification.entry.js +1 -1
- package/dist/esm-es5/bal-number-input.entry.js +1 -1
- package/dist/esm-es5/bal-option_2.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popup.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-radio-button.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-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-fbc04097.js → breakpoints.decorator-43a5539d.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-336f3c8b.js → breakpoints.subject-41117dc4.js} +1 -1
- package/dist/esm-es5/{floating-ui-90bc6e58.js → floating-ui-d05a7ad6.js} +1 -1
- package/dist/esm-es5/floating-ui.dom.esm-efb93616.js +1 -0
- package/dist/esm-es5/{form-fb8dd9f5.js → form-841232ff.js} +1 -1
- package/dist/esm-es5/global-181336dc.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-66a526c0.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/overlays-df27551b.js +1 -0
- package/dist/esm-es5/swiper.util-9564f1e8.js +1 -0
- package/dist/esm-es5/{window-resize.decorator-f894e34b.js → window-resize.decorator-66d8fd79.js} +1 -1
- package/dist/html.html-data.json +31 -0
- package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +10 -0
- package/dist/types/components/bal-accordion/bal-accordion.i18n.d.ts +7 -0
- package/dist/types/components/bal-button/bal-button.d.ts +4 -0
- package/dist/types/components/bal-button/bal-button.interfaces.d.ts +1 -0
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +5 -0
- package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +14 -0
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +33 -0
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.d.ts +7 -0
- package/dist/types/components/bal-modal/bal-modal.d.ts +18 -0
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +14 -0
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.d.ts +5 -0
- package/dist/types/components/bal-number-input/bal-number-input.d.ts +5 -5
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +88 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
- package/dist/types/utils/aria.d.ts +1 -1
- package/dist/types/utils/attributes.d.ts +1 -0
- package/dist/types/utils/dropdown/input.d.ts +0 -1
- package/dist/types/utils/overlays/focus-trap.d.ts +36 -0
- package/dist/types/utils/overlays/overlays.d.ts +4 -0
- package/dist/types/utils/swiper/swiper.type.d.ts +1 -0
- package/dist/types/utils/swiper/swiper.util.d.ts +2 -2
- package/package.json +6 -8
- package/dist/baloise-design-system/p-007fc954.js +0 -1
- package/dist/baloise-design-system/p-0170c59c18.system.entry.js +0 -1
- package/dist/baloise-design-system/p-02c5d9fe7e.entry.js +0 -1
- package/dist/baloise-design-system/p-0932b2841b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1756cf373c.entry.js +0 -1
- package/dist/baloise-design-system/p-187f98a1.system.js +0 -1
- package/dist/baloise-design-system/p-18b510f972.entry.js +0 -1
- package/dist/baloise-design-system/p-1a91f0403a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1e9d6d442d.entry.js +0 -1
- package/dist/baloise-design-system/p-22bf3854a2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-233258cd04.system.entry.js +0 -1
- package/dist/baloise-design-system/p-29e7d95fdf.entry.js +0 -1
- package/dist/baloise-design-system/p-2f3c628b01.system.entry.js +0 -1
- package/dist/baloise-design-system/p-32f2098f72.entry.js +0 -1
- package/dist/baloise-design-system/p-34797e19f0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-36218e79.js +0 -1
- package/dist/baloise-design-system/p-38b11e34b4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3a7c9c15.js +0 -1
- package/dist/baloise-design-system/p-3b18905319.entry.js +0 -1
- package/dist/baloise-design-system/p-3fcdc7bf1d.entry.js +0 -1
- package/dist/baloise-design-system/p-403f40e26a.entry.js +0 -1
- package/dist/baloise-design-system/p-43078d9a20.entry.js +0 -1
- package/dist/baloise-design-system/p-444d11044c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4543306ed6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-45bbf6330f.entry.js +0 -1
- package/dist/baloise-design-system/p-47660601a1.entry.js +0 -1
- package/dist/baloise-design-system/p-477a9f8a40.entry.js +0 -1
- package/dist/baloise-design-system/p-489cda24c4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4a614fb255.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4dfdd589d8.system.entry.js +0 -1
- package/dist/baloise-design-system/p-513f6b88.js +0 -1
- package/dist/baloise-design-system/p-51e22c0c.js +0 -1
- package/dist/baloise-design-system/p-56d4310416.system.entry.js +0 -1
- package/dist/baloise-design-system/p-578047988c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5a3e5f6551.entry.js +0 -1
- package/dist/baloise-design-system/p-630b9272b1.entry.js +0 -1
- package/dist/baloise-design-system/p-725eed2595.entry.js +0 -1
- package/dist/baloise-design-system/p-72d3d56c55.entry.js +0 -1
- package/dist/baloise-design-system/p-732df3f390.system.entry.js +0 -1
- package/dist/baloise-design-system/p-759f25a3e5.entry.js +0 -1
- package/dist/baloise-design-system/p-7c76d17d2f.entry.js +0 -1
- package/dist/baloise-design-system/p-7e7d73b667.entry.js +0 -1
- package/dist/baloise-design-system/p-82ff80d9f0.entry.js +0 -1
- package/dist/baloise-design-system/p-89a8d47c12.entry.js +0 -1
- package/dist/baloise-design-system/p-8b0bd1adc7.entry.js +0 -1
- package/dist/baloise-design-system/p-8cb8360dcd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-974e5cb5ec.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9b6e9746c1.entry.js +0 -1
- package/dist/baloise-design-system/p-b2198343bf.entry.js +0 -1
- package/dist/baloise-design-system/p-c09a268beb.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c2a4a78d58.system.entry.js +0 -1
- package/dist/baloise-design-system/p-cc899b3f92.entry.js +0 -1
- package/dist/baloise-design-system/p-d24c5aa8ad.entry.js +0 -1
- package/dist/baloise-design-system/p-d296994410.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d404537f.system.js +0 -1
- package/dist/baloise-design-system/p-d5e8e2bec8.entry.js +0 -1
- package/dist/baloise-design-system/p-d9b38501.js +0 -1
- package/dist/baloise-design-system/p-d9bc111444.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ddfbabb4d5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-de59bd37.system.js +0 -1
- package/dist/baloise-design-system/p-e104ac3699.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e2a70f10.system.js +0 -1
- package/dist/baloise-design-system/p-e5c0a1dbb2.entry.js +0 -1
- package/dist/baloise-design-system/p-e70c7951.system.js +0 -1
- package/dist/baloise-design-system/p-edd4a77fd5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f01ae7b55b.entry.js +0 -1
- package/dist/baloise-design-system/p-f8ab470d9d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fa43380807.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ff859bec24.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ffeef88a26.entry.js +0 -1
- package/dist/cjs/aria-c8955a5c.js +0 -5
- package/dist/cjs/overlays-81ea4414.js +0 -82
- package/dist/esm/aria-d5877698.js +0 -3
- package/dist/esm/overlays-9a5950bd.js +0 -76
- package/dist/esm-es5/app-globals-5b18a75c.js +0 -1
- package/dist/esm-es5/aria-d5877698.js +0 -1
- package/dist/esm-es5/floating-ui.dom.esm-8dcdb8d6.js +0 -1
- package/dist/esm-es5/overlays-9a5950bd.js +0 -1
- package/dist/esm-es5/swiper.util-a4c7d0f9.js +0 -1
- /package/dist/baloise-design-system/{p-dd5e13d1.js → p-063808d7.js} +0 -0
- /package/dist/baloise-design-system/{p-ca9e987e.js → p-6e1e6cc5.js} +0 -0
- /package/dist/baloise-design-system/{p-8949aa8b.system.js → p-7720b262.system.js} +0 -0
- /package/dist/baloise-design-system/{p-d1847366.system.js → p-b119ef19.system.js} +0 -0
- /package/dist/esm-es5/{attributes-4fa7040f.js → attributes-a3e70948.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-d6bf7bd8.js → tokens.esm-376de6fe.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(a,e,o,c){function b(a){return a instanceof o?a:new o((function(e){e(a)}))}return new(o||(o=Promise))((function(o,l){function r(a){try{d(c.next(a))}catch(a){l(a)}}function i(a){try{d(c["throw"](a))}catch(a){l(a)}}function d(a){a.done?o(a.value):b(a.value).then(r,i)}d((c=c.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,b,l,r;return r={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function i(a){return function(e){return d([a,e])}}function d(i){if(c)throw new TypeError("Generator is already executing.");while(r&&(r=0,i[0]&&(o=0)),o)try{if(c=1,b&&(l=i[0]&2?b["return"]:i[0]?b["throw"]||((l=b["return"])&&l.call(b),0):b.next)&&!(l=l.call(b,i[1])).done)return l;if(b=0,l)i=[i[0]&2,l.value];switch(i[0]){case 0:case 1:l=i;break;case 4:o.label++;return{value:i[1],done:false};case 5:o.label++;b=i[1];i=[0];continue;case 7:i=o.ops.pop();o.trys.pop();continue;default:if(!(l=o.trys,l=l.length>0&&l[l.length-1])&&(i[0]===6||i[0]===2)){o=0;continue}if(i[0]===3&&(!l||i[1]>l[0]&&i[1]<l[3])){o.label=i[1];break}if(i[0]===6&&o.label<l[1]){o.label=l[1];l=i;break}if(l&&o.label<l[2]){o.label=l[2];o.ops.push(i);break}if(l[2])o.ops.pop();o.trys.pop();continue}i=e.call(a,o)}catch(a){i=[6,a];b=0}finally{c=l=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-7961e095.system.js","./p-6dbef894.system.js","./p-5cd2674f.system.js","./p-db0895e2.system.js","./p-b52ad8d5.system.js","./p-23bdd8dc.system.js","./p-8949aa8b.system.js","./p-980e4b57.system.js","./p-6e5745c8.system.js","./p-4e642b63.system.js","./p-0d3f11e3.system.js","./p-95055e88.system.js","./p-a1f6e944.system.js","./p-ef3bfa9f.system.js","./p-eecefb0a.system.js"],(function(a){"use strict";var e,o,c,b,l,r,i,d,t,h,k,n,x,s,_,u,v,f;return{setters:[function(a){e=a.r;o=a.c;c=a.h;b=a.H;l=a.g},function(a){r=a._;i=a.a},function(a){d=a.j;t=a.v},function(a){h=a.B},function(a){k=a.F},function(a){n=a.L},function(a){x=a.i},function(a){s=a.s},function(a){_=a.d},function(a){u=a.d},function(a){v=a.L},function(a){f=a.L},function(){},function(){},function(){}],execute:function(){var g='@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before,.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-symbol-size:1.5rem;--bal-radio-checkbox-symbol-width:calc(0.5rem - 1px);--bal-radio-checkbox-symbol-height:calc(0.875rem - 1px);--bal-radio-checkbox-symbol-left:calc(0.5rem + 1px);--bal-radio-checkbox-symbol-margin-top:0.25rem;--bal-radio-checkbox-label-min-height:1.5rem;--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}bal-radio .bal-radio-checkbox__label::before,bal-radio .bal-radio-checkbox__label::after{margin-top:0px !important}.bal-radio-checkbox-group{display:inline-block;position:relative;width:100%}.bal-radio-checkbox-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-checkbox-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{width:100%}}.bal-radio-checkbox-group__inner--select-button.bal-radio-checkbox-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-checkbox-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}.bal-radio-checkbox{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:1.5rem;min-height:3rem}.bal-radio-checkbox--flat:not(.bal-radio-checkbox--select-button){min-height:1.5rem}.bal-radio-checkbox__input{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox--invisible{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox:not(.bal-radio-checkbox--disabled),.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label>span{cursor:pointer}.bal-radio-checkbox__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;line-height:1.5rem;contain:layout style;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:left;min-height:var(--bal-radio-checkbox-label-min-height);font-family:var(--bal-font-family-text)}.bal-radio-checkbox__label__text{padding-left:2rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox__label__text--hidden{padding-left:0;display:none}.bal-radio-checkbox__label__text--flat{padding-top:0;padding-bottom:0}.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::before,.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::after{top:0px !important}.bal-radio-checkbox__label--hidden::before,.bal-radio-checkbox__label--hidden::after{top:0px !important}.bal-radio-checkbox__label::before,.bal-radio-checkbox__label::after{display:inline-block;position:absolute;left:0;top:.25rem;height:var(--bal-radio-checkbox-symbol-size);width:var(--bal-radio-checkbox-symbol-size);background-color:rgba(0,0,0,0);background-position:center;background-repeat:no-repeat;background-size:var(--bal-radio-checkbox-symbol-size) var(--bal-radio-checkbox-symbol-size)}.bal-radio-checkbox__label::before{content:"";border-style:var(--bal-form-field-control-border-style);border-width:2px}.bal-radio-checkbox__label::after{content:none}.bal-radio-checkbox__label--checked::after{content:""}.bal-radio-checkbox__label--radio::before,.bal-radio-checkbox__label--radio::after{border-radius:50%}.bal-radio-checkbox__label--radio::after{left:0;-webkit-transform:scale(0.25);transform:scale(0.25)}.bal-radio-checkbox__label--checkbox::before{border-radius:var(--bal-form-field-control-radius)}.bal-radio-checkbox__label--checkbox::after{border-top:0;border-right-style:var(--bal-form-field-control-border-style);border-right-width:2px;border-bottom-style:var(--bal-form-field-control-border-style);border-bottom-width:2px;border-left:0;border-radius:1px;width:var(--bal-radio-checkbox-symbol-width);height:var(--bal-radio-checkbox-symbol-height);left:var(--bal-radio-checkbox-symbol-left);margin-top:var(--bal-radio-checkbox-symbol-margin-top);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-primary);background:var(--bal-color-transparent)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-light-blue-5);background:var(--bal-color-grey-2)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-blue-6);background:var(--bal-color-grey-2)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-danger);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-5);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-6);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-grey-dark);background:var(--bal-color-grey-2)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-text-grey)}.bal-radio-checkbox--inline{display:inline}.bal-radio-checkbox--select-button{padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-checkbox-select-button-border-color)}.bal-radio-checkbox--select-button:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-hover);background:var(--bal-radio-checkbox-select-button-background-hover)}.bal-radio-checkbox--select-button:active{border-color:var(--bal-radio-checkbox-select-button-border-color-active);background:var(--bal-radio-checkbox-select-button-background-active)}.bal-radio-checkbox--select-button label::before{top:unset}.bal-radio-checkbox--select-button label::after{top:unset;margin-top:-3px}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::before{top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::after{margin-top:-3px;top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat .bal-radio-checkbox__label__text--flat{padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked{background:var(--bal-radio-checkbox-select-button-background-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-radio-checkbox-select-button-link-text-color-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover{background:var(--bal-radio-checkbox-select-button-background-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active{background:var(--bal-radio-checkbox-select-button-background-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid);background:var(--bal-radio-checkbox-select-button-background-invalid)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-danger-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-active);background:var(--bal-radio-checkbox-select-button-background-invalid-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked);background:var(--bal-radio-checkbox-select-button-background-invalid-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-active);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-disabled-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-checked-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--switch{min-width:2.5rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label{padding-left:1rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{border-radius:1.5rem;position:absolute;display:block;top:0;left:0;width:2.5rem;height:1.5rem;border:1.6px solid rgba(0,0,0,0);content:"";-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;margin-top:.25rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{border:none;margin:0;border-radius:50%;display:block;position:absolute;top:.25rem !important;left:.25rem;width:1rem;height:1rem;z-index:2;margin-top:.25rem;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;content:""}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-before)}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-after)}.bal-radio-checkbox--switch:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-hover-after)}.bal-radio-checkbox--switch:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::after{margin-top:0}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{left:1.25rem;background:var(--bal-radio-checkbox-switch-label-background-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-hover-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-radio-checkbox__icon{position:absolute !important;left:5.5px;z-index:1}.bal-radio-checkbox__icon--hidden{display:none !important}';var w=g;var p=a("bal_radio",function(){function a(a){var c=this;e(this,a);this.balFocus=o(this,"balFocus",7);this.balBlur=o(this,"balBlur",7);this.balChange=o(this,"balChange",7);this.inputId="bal-rb-".concat(m++);this.inheritedAttributes={};this.keyboardMode=true;this.onKeypress=function(a){if(u(a)){var e=a.target;if(e.href){return}if(e.nodeName==="INPUT"&&!c.disabled&&!c.readonly){c.toggleChecked();a.preventDefault()}else{s(a)}}};this.onClick=function(a){var e;var o=a.target;if(o.href){return}if(o.nodeName!=="INPUT"&&!c.disabled&&!c.readonly){c.toggleChecked();(e=c.nativeInput)===null||e===void 0?void 0:e.focus();a.preventDefault()}else{s(a)}};this.onFocus=function(a){if(c.disabled||c.readonly){c.focused=false;return s(a)}c.balFocus.emit(a);if(c.keyboardMode){c.focused=true}};this.onBlur=function(a){if(c.disabled||c.readonly){return s(a)}c.balBlur.emit(a);c.focused=false};this.onPointerDown=function(){return c.keyboardMode=false};this.onKeydown=function(a){return c.keyboardMode=k.includes(a.key)};this.checked=false;this.focused=false;this.buttonTabindex=undefined;this.ariaForm=_;this.name=this.inputId;this.value=undefined;this.label="";this.invisible=false;this.labelHidden=false;this.flat=false;this.interface="radio";this.disabled=false;this.readonly=false;this.required=false;this.nonSubmit=false;this.invalid=false;this.hovered=false;this.pressed=false}a.prototype.createLogger=function(a){this.log=a};a.prototype.connectedCallback=function(){if(this.value===undefined){this.value=this.inputId}var a=this.radioButton;var e=this.radioGroup;if(a||e){this.updateState()}if(e){e.addEventListener("balInput",this.updateState)}this.el.addEventListener("keydown",this.onKeydown);this.el.addEventListener("touchstart",this.onPointerDown);this.el.addEventListener("mousedown",this.onPointerDown)};a.prototype.componentWillLoad=function(){this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])};a.prototype.disconnectedCallback=function(){var a=this.radioGroup;if(a){a.removeEventListener("balInput",this.updateState)}this.el.removeEventListener("keydown",this.onKeydown);this.el.removeEventListener("touchstart",this.onPointerDown);this.el.removeEventListener("mousedown",this.onPointerDown)};a.prototype.listenOnClick=function(a){if((this.disabled||this.readonly)&&a.target&&(a.target===this.el||d(this.el,a.target))){s(a)}};a.prototype.setFocus=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){a.stopPropagation();a.preventDefault();this.nativeInput.focus();this.focused=true;return[2]}))}))};a.prototype.setButtonTabindex=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.radioButton){this.buttonTabindex=-1}else{this.buttonTabindex=a}return[2]}))}))};a.prototype.getInputElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){return[2,Promise.resolve(this.nativeInput)]}))}))};a.prototype.getOption=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){return[2,this.option]}))}))};a.prototype.updateState=function(){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(e){if(this.radioGroup){a=this.radioGroup.value===this.value;if(a!==this.checked){this.checked=a}}if(this.radioButton){this.buttonTabindex=-1;if(this.radioButton.setChecked){this.radioButton.setChecked(this.checked)}}return[2]}))}))};a.prototype.setAriaForm=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},a);return[2]}))}))};Object.defineProperty(a.prototype,"radioButton",{get:function(){return this.el.closest("bal-radio-button")},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"radioGroup",{get:function(){return this.el.closest("bal-radio-group")},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"option",{get:function(){return{name:this.name,value:this.value,label:this.label,labelHidden:this.labelHidden,flat:this.flat,interface:this.interface,disabled:this.disabled,readonly:this.readonly,required:this.required,nonSubmit:this.nonSubmit,invisible:this.invisible,invalid:this.invalid}},enumerable:false,configurable:true});a.prototype.toggleChecked=function(){this.checked=!this.checked;this.balChange.emit(this.checked);this.updateState()};a.prototype.render=function(){var a=this;var e=h.block("radio-checkbox");var o=e.element("input");var l=e.element("label");var r=l.element("text");var i=this.focused&&this.buttonTabindex!==-1;var d=typeof this.value==="boolean"?JSON.stringify(this.value):this.value;var t=this.inheritedAttributes;if(this.buttonTabindex!==undefined){t.tabIndex=this.buttonTabindex}var k=this.ariaForm.controlId||this.inputId;var n=this.ariaForm.labelId||null;var x=this.labelHidden?"span":"label";var s={};if(!this.labelHidden){n="".concat(n||""," ").concat(k,"-lbl").trim();s.id="".concat(k,"-lbl");s.htmlFor=k}return c(b,{key:"058d9b48247c0989348d58117017753092fa6afa","aria-checked":"".concat(this.checked),"aria-disabled":this.disabled?"true":null,"aria-hidden":this.disabled?"true":null,"aria-focused":i?"true":null,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"bal-focused":i},e.class()),e.modifier("radio").class()),e.modifier("select-button").class(this.interface==="select-button")),e.modifier("invalid").class(this.invalid)),e.modifier("checked").class(this.checked)),e.modifier("flat").class(this.flat)),e.modifier("disabled").class(this.disabled||this.readonly)),e.modifier("hovered").class(this.hovered)),e.modifier("pressed").class(this.pressed)),e.modifier("invisible").class(this.invisible)),onKeypress:this.onKeypress,onClick:this.onClick},c("input",Object.assign({key:"4c935cb7f8a25f77afaea78b0a8e311166e44067",class:Object.assign(Object.assign({},o.class()),o.modifier("select-button").class(this.interface==="select-button")),"data-testid":"bal-radio-input",type:"radio",id:k,"aria-labelledby":n,"aria-describedby":this.ariaForm.messageId,"aria-invalid":this.invalid===true?"true":"false","aria-disabled":this.disabled?"true":null,"aria-checked":"".concat(this.checked),name:this.name,value:d,checked:this.checked,disabled:this.disabled||this.nonSubmit,readonly:this.readonly,required:this.required,onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return a.nativeInput=e}},t)),!this.invisible?c(x,Object.assign({class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("radio").class()),l.modifier("checked").class(this.checked)),l.modifier("hidden").class(this.labelHidden)),l.modifier("flat").class(this.flat))},s,{"data-testid":"bal-radio-label"}),c("span",{class:Object.assign(Object.assign(Object.assign({},r.class()),r.modifier("hidden").class(this.labelHidden)),r.modifier("flat").class(this.flat)),"data-testid":"bal-radio-text"},this.label,c("slot",null))):"")};Object.defineProperty(a.prototype,"el",{get:function(){return l(this)},enumerable:false,configurable:true});return a}());r([n("bal-radio"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],p.prototype,"createLogger",null);var m=0;p.style=w;var y=a("bal_radio_group",function(){function a(a){var c=this;e(this,a);this.balChange=o(this,"balChange",7);this.balFocus=o(this,"balFocus",7);this.balBlur=o(this,"balBlur",7);this.inputId="bal-rg-".concat(j++);this.inheritedAttributes={};this.hasFocus=false;this.mutationObserverActive=true;this.onOptionChange=function(){return __awaiter(c,void 0,void 0,(function(){return __generator(this,(function(a){this.setRadioTabindex(this.value);this.setRadioChecked();return[2]}))}))};this.setRadioTabindex=function(a){var e=c.getRadios();var o=e.find((function(a){return!a.disabled}));var b=e.find((function(e){return e.value===a&&!e.disabled}));if(!o&&!b){return}var l=b||o;for(var r=0,i=e;r<i.length;r++){var d=i[r];var t=d===l?0:-1;d.setButtonTabindex(t)}};this.onClick=function(a){var e=a.target;if(e.href){return}a.preventDefault();var o=a.target&&a.target.closest("bal-radio");if(o&&!o.disabled&&!o.readonly){var b=c.value;var l=o.value;if(l!==b){c.value=l}else if(c.allowEmptySelection){c.value=undefined}c.balChange.emit(c.value)}};this.ariaForm=_;this.options=undefined;this.allowEmptySelection=false;this.name=this.inputId;this.value=undefined;this.interface=undefined;this.vertical=false;this.verticalOnMobile=false;this.expanded=false;this.invalid=undefined;this.disabled=undefined;this.readonly=undefined;this.grid=1;this.columnsTablet=1;this.columnsMobile=1;this.autoInvalidOff=false}a.prototype.createLogger=function(a){this.log=a};a.prototype.optionChanged=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.onOptionChange();this.mutationObserverActive=this.options===undefined;return[2]}))}))};a.prototype.valueChanged=function(){this.onOptionChange()};a.prototype.invalidChanged=function(a){if(a!==undefined){this.getRadios().forEach((function(e){e.invalid=a}));this.getRadioButtons().forEach((function(e){e.invalid=a}))}};a.prototype.disabledChanged=function(a){if(a!==undefined){this.getRadios().forEach((function(e){e.disabled=a}));this.getRadioButtons().forEach((function(e){e.disabled=a}))}};a.prototype.readonlyChanged=function(a){if(a!==undefined){this.getRadios().forEach((function(e){e.readonly=a}));this.getRadioButtons().forEach((function(e){e.readonly=a}))}};a.prototype.columnsChanged=function(a){this.getRadioButtons().forEach((function(e){return e.colSize=a}))};a.prototype.columnsTabletChanged=function(a){this.getRadioButtons().forEach((function(e){return e.colSizeTablet=a}))};a.prototype.columnsMobileChanged=function(a){this.getRadioButtons().forEach((function(e){return e.colSizeMobile=a}))};a.prototype.connectedCallback=function(){this.initialValue=this.value;this.mutationObserverActive=this.options===undefined};a.prototype.componentWillLoad=function(){this.setRadioInterface();this.disabledChanged(this.disabled);this.readonlyChanged(this.readonly);this.invalidChanged(this.invalid);this.columnsChanged(this.grid);this.columnsTabletChanged(this.columnsTablet);this.columnsMobileChanged(this.columnsMobile);this.onOptionChange();this.inheritedAttributes=x(this.el,["aria-label","tabindex","title"])};a.prototype.focusInListener=function(a){this.balFocus.emit(a)};a.prototype.focusOutListener=function(a){this.balBlur.emit(a)};a.prototype.mutationListener=function(){this.setRadioInterface();this.disabledChanged(this.disabled);this.readonlyChanged(this.readonly);this.invalidChanged(this.invalid);this.columnsChanged(this.grid);this.columnsTabletChanged(this.columnsTablet);this.columnsMobileChanged(this.columnsMobile);this.onOptionChange()};a.prototype.listenOnClick=function(a){if(d(this.el,a.target)){s(a)}};a.prototype.radioFocusListener=function(a){var e=a.target;if(e&&d(this.el,e)&&t(e,"bal-radio")){s(a)}};a.prototype.radioBlurListener=function(a){var e=a.target;if(e&&d(this.el,e)&&t(e,"bal-radio")){s(a)}};a.prototype.resetListener=function(a){var e=a.target;if(e===null||e===void 0?void 0:e.contains(this.el)){this.value=this.initialValue}};a.prototype.onKeydown=function(a){if(a.target&&!this.el.contains(a.target)){return}var e=this.getRadios().filter((function(a){return!a.disabled}));var o=a.target.closest("bal-radio");if(o&&e.includes(o)){var c=e.findIndex((function(a){return a===o}));var b=e[c];var l=void 0;if(["ArrowDown","ArrowRight"].includes(a.code)){l=c===e.length-1?e[0]:e[c+1]}if(["ArrowUp","ArrowLeft"].includes(a.code)){l=c===0?e[e.length-1]:e[c-1]}if(l&&e.includes(l)){l.setFocus(a);this.value=l.value;this.balChange.emit(this.value)}if(["Space"].includes(a.code)){this.value=this.allowEmptySelection&&this.value!==undefined?undefined:b.value;a.preventDefault()}}};a.prototype.setValue=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.value=a;return[2]}))}))};a.prototype.getOptionByValue=function(a){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){e=this.options;if(e){return[2,e.find((function(e){return e.value===a}))]}return[2,undefined]}))}))};a.prototype.setAriaForm=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ariaForm=Object.assign({},a);return[2]}))}))};a.prototype.setRadioInterface=function(){var a=this;this.getRadios().forEach((function(e){if(a.interface){e.interface=a.interface}}))};a.prototype.setRadioChecked=function(){this.getRadios().forEach((function(a){if(a.updateState){a.updateState()}}))};a.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("bal-radio"))};a.prototype.getRadioButtons=function(){return Array.from(this.el.querySelectorAll("bal-radio-button"))};a.prototype.render=function(){var a=this;var e=h.block("radio-checkbox-group");var o=e.element("inner");var l=this.options||[];var r=l.map((function(a){if(typeof a.html==="function"){return Object.assign(Object.assign({},a),{html:a.html()})}return a}));return c(b,Object.assign({class:Object.assign({},e.class()),role:"radiogroup","aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-disabled":this.disabled?"true":null,onClick:this.onClick},this.inheritedAttributes),c("div",{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o.class()),o.modifier("vertical-mobile").class(this.verticalOnMobile)),o.modifier("vertical").class(this.vertical)),o.modifier("expanded").class(this.expanded)),o.modifier("select-button").class(this.interface==="select-button"))},c("slot",null),r.map((function(e){return c("bal-radio",{key:e.value,name:e.name||a.name,value:e.value,labelHidden:e.labelHidden,flat:e.flat,interface:e.interface,disabled:e.disabled,readonly:e.readonly,required:e.required,nonSubmit:!!e.nonSubmit,invalid:e.invalid,innerHTML:e.html})}))))};Object.defineProperty(a.prototype,"el",{get:function(){return l(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{options:["optionChanged"],value:["valueChanged"],invalid:["invalidChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"],grid:["columnsChanged"],columnsTablet:["columnsTabletChanged"],columnsMobile:["columnsMobileChanged"]}},enumerable:false,configurable:true});return a}());r([n("bal-radio-group"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],y.prototype,"createLogger",null);r([v(),i("design:type",Function),i("design:paramtypes",[FocusEvent]),i("design:returntype",void 0)],y.prototype,"focusInListener",null);r([v(),i("design:type",Function),i("design:paramtypes",[FocusEvent]),i("design:returntype",void 0)],y.prototype,"focusOutListener",null);r([f({tags:["bal-radio-group","bal-radio"],attributes:false,characterData:false}),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],y.prototype,"mutationListener",null);var j=0}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as e,g as a}from"./p-2ccbe55a.js";import{g as h,a as n,b as o,e as r,f as l,i as d,h as c,j as b,c as p,d as u}from"./p-e3e1d211.js";import{p as f}from"./p-ef6a64f4.js";import{i as m}from"./p-dd5e13d1.js";import{B as x}from"./p-ae86d0a0.js";import{d as g}from"./p-f385e205.js";import"./p-a65354df.js";import"./p-46251973.js";const y=class{constructor(s){t(this,s),this.balChange=i(this,"balChange",7),this.balInput=i(this,"balInput",7),this.balBlur=i(this,"balBlur",7),this.balKeyPress=i(this,"balKeyPress",7),this.balFocus=i(this,"balFocus",7),this.inputId="bal-textarea-"+v++,this.inheritedAttributes={},this.inputValue=this.value,this.initialValue=this.value||"",this.onInput=t=>{const i=h(t);i&&(this.inputValue=i.value),this.balInput.emit(this.inputValue)},this.onFocus=t=>n(this,t),this.onBlur=t=>{o(this,t);const i=t.target;i&&(i.value=this.getValue()),r(this)},this.onClick=t=>l(this,t),this.handleClick=t=>d(this,t),this.focused=!1,this.ariaForm=g,this.name=this.inputId,this.invalid=!1,this.autocapitalize="none",this.autocomplete="off",this.autofocus=!1,this.debounce=0,this.placeholder=void 0,this.maxLength=void 0,this.minLength=void 0,this.disabled=!1,this.readonly=!1,this.cols=void 0,this.rows=void 0,this.wrap=void 0,this.required=!1,this.clickable=!1,this.inputmode=void 0,this.value="",this.autoInvalidOff=!1}debounceChanged(){this.balChange=f(this.balChange,this.debounce)}listenOnClick(t){c(this,t)}resetHandler(t){const i=t.target;(null==i?void 0:i.contains(this.el))&&b(this,this.initialValue,this.resetHandlerTimer)}connectedCallback(){this.debounceChanged(),this.initialValue=this.value||""}componentDidLoad(){this.inputValue=this.value}componentWillLoad(){this.inheritedAttributes=m(this.el,["aria-label","tabindex","title"])}async setFocus(){p(this)}async setBlur(){u(this)}getInputElement(){return Promise.resolve(this.nativeInput)}async setAriaForm(t){this.ariaForm=Object.assign({},t)}getValue(){return this.value||""}render(){const t=this.getValue(),i=x.block("textarea"),a=i.element("native");return s(e,{key:"c480f893ab85bf7c3aebacd7cae0f9cac2f45729",onClick:this.handleClick,"aria-disabled":this.disabled?"true":null,class:Object.assign({},i.class())},s("textarea",Object.assign({key:"e24dc8d2deb3e9a700f1b34177bb953ea5d48f84",class:Object.assign(Object.assign({},a.class()),{textarea:!0,"is-disabled":this.disabled||this.readonly,"is-danger":this.invalid,clickable:this.clickable}),"data-testid":"bal-textarea-input",ref:t=>this.nativeInput=t,name:this.name,id:this.ariaForm.controlId||this.inputId,"aria-labelledby":this.ariaForm.labelId,"aria-describedby":this.ariaForm.messageId,"aria-invalid":!0===this.invalid?"true":"false","aria-disabled":this.disabled?"true":null,disabled:this.disabled,readonly:this.readonly,required:this.required,autoCapitalize:this.autocapitalize,autocomplete:this.autocomplete,autoFocus:this.autofocus,minLength:this.minLength,maxLength:this.maxLength,placeholder:this.placeholder,inputMode:this.inputmode,value:this.value,cols:this.cols,rows:this.rows,wrap:this.wrap,onFocus:this.onFocus,onInput:t=>this.onInput(t),onBlur:this.onBlur,onClick:this.onClick,onKeyPress:t=>this.balKeyPress.emit(t)},this.inheritedAttributes),t,s("slot",{key:"8951528c192b5cfaff238fc6b4371f0005f788d4"})))}get el(){return a(this)}static get watchers(){return{debounce:["debounceChanged"]}}};let v=0;y.style=".bal-textarea{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;position:relative;-ms-flex:1;flex:1;width:100%;font-family:var(--bal-font-family-text);white-space:pre-wrap;-webkit-box-sizing:border-box;box-sizing:border-box}.bal-textarea__native{margin:0;display:block;width:100%;max-width:100%;max-height:100%;outline:none;background:rgba(0,0,0,0);-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:calc(.75em - 2px)}.bal-textarea__native::-webkit-input-placeholder{padding:0;font-family:inherit}.bal-textarea__native::-moz-placeholder{padding:0;font-family:inherit}.bal-textarea__native:-ms-input-placeholder{padding:0;font-family:inherit}.bal-textarea__native::-ms-input-placeholder{padding:0;font-family:inherit}.bal-textarea__native::placeholder{padding:0;font-family:inherit}";export{y as bal_textarea}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const browser = require('./browser-1d542d0f.js');
|
|
4
|
-
const helpers = require('./helpers-c858e965.js');
|
|
5
|
-
|
|
6
|
-
let lastId = 0;
|
|
7
|
-
const BACKDROP = 'backdrop';
|
|
8
|
-
const prepareOverlay = (overlay) => {
|
|
9
|
-
/* tslint:disable-next-line */
|
|
10
|
-
if (browser.balBrowser.hasDocument) {
|
|
11
|
-
connectListeners(document);
|
|
12
|
-
}
|
|
13
|
-
const overlayIndex = lastId++;
|
|
14
|
-
overlay.overlayIndex = overlayIndex;
|
|
15
|
-
if (!overlay.el.hasAttribute('id')) {
|
|
16
|
-
overlay.el.id = `bal-overlay-${overlayIndex}`;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
const getOverlays = (doc, selector) => {
|
|
20
|
-
if (selector === undefined) {
|
|
21
|
-
selector = 'bal-modal,bal-snackbar,bal-toast';
|
|
22
|
-
}
|
|
23
|
-
return Array.from(doc.querySelectorAll(selector)).filter(c => c.overlayIndex > 0);
|
|
24
|
-
};
|
|
25
|
-
const getOverlay = (doc, overlayTag, id) => {
|
|
26
|
-
const overlays = getOverlays(doc, overlayTag);
|
|
27
|
-
return id === undefined ? overlays[overlays.length - 1] : overlays.find(o => o.id === id);
|
|
28
|
-
};
|
|
29
|
-
const connectListeners = (doc) => {
|
|
30
|
-
if (lastId === 0) {
|
|
31
|
-
lastId = 1;
|
|
32
|
-
// handle ESC to close overlay
|
|
33
|
-
doc.addEventListener('keyup', ev => {
|
|
34
|
-
if (ev.key === 'Escape') {
|
|
35
|
-
const lastOverlay = getOverlay(doc);
|
|
36
|
-
if (lastOverlay) {
|
|
37
|
-
lastOverlay.dismiss(undefined, BACKDROP);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const dismiss = async (overlay, data, role, animation) => {
|
|
44
|
-
if (!overlay.presented) {
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
try {
|
|
48
|
-
// Overlay contents should not be clickable during dismiss
|
|
49
|
-
overlay.el.style.setProperty('pointer-events', 'none');
|
|
50
|
-
overlay.willDismiss.emit({ data, role });
|
|
51
|
-
await animation();
|
|
52
|
-
overlay.presented = false;
|
|
53
|
-
overlay.didDismiss.emit({ data, role });
|
|
54
|
-
}
|
|
55
|
-
catch (err) {
|
|
56
|
-
overlay.presented = false;
|
|
57
|
-
console.error(err);
|
|
58
|
-
}
|
|
59
|
-
overlay.el.remove();
|
|
60
|
-
return true;
|
|
61
|
-
};
|
|
62
|
-
const eventMethod = (element, eventName) => {
|
|
63
|
-
let resolve;
|
|
64
|
-
const promise = new Promise(r => (resolve = r));
|
|
65
|
-
onceEvent(element, eventName, (ev) => {
|
|
66
|
-
resolve(ev.detail);
|
|
67
|
-
});
|
|
68
|
-
return promise;
|
|
69
|
-
};
|
|
70
|
-
const onceEvent = (element, eventName, callback) => {
|
|
71
|
-
const handler = (ev) => {
|
|
72
|
-
helpers.removeEventListener(element, eventName, handler);
|
|
73
|
-
callback(ev);
|
|
74
|
-
};
|
|
75
|
-
helpers.addEventListener(element, eventName, handler);
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
exports.dismiss = dismiss;
|
|
79
|
-
exports.eventMethod = eventMethod;
|
|
80
|
-
exports.getOverlay = getOverlay;
|
|
81
|
-
exports.getOverlays = getOverlays;
|
|
82
|
-
exports.prepareOverlay = prepareOverlay;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { b as balBrowser } from './browser-a8073d92.js';
|
|
2
|
-
import { l as addEventListener, r as removeEventListener } from './helpers-ae0db1dd.js';
|
|
3
|
-
|
|
4
|
-
let lastId = 0;
|
|
5
|
-
const BACKDROP = 'backdrop';
|
|
6
|
-
const prepareOverlay = (overlay) => {
|
|
7
|
-
/* tslint:disable-next-line */
|
|
8
|
-
if (balBrowser.hasDocument) {
|
|
9
|
-
connectListeners(document);
|
|
10
|
-
}
|
|
11
|
-
const overlayIndex = lastId++;
|
|
12
|
-
overlay.overlayIndex = overlayIndex;
|
|
13
|
-
if (!overlay.el.hasAttribute('id')) {
|
|
14
|
-
overlay.el.id = `bal-overlay-${overlayIndex}`;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
const getOverlays = (doc, selector) => {
|
|
18
|
-
if (selector === undefined) {
|
|
19
|
-
selector = 'bal-modal,bal-snackbar,bal-toast';
|
|
20
|
-
}
|
|
21
|
-
return Array.from(doc.querySelectorAll(selector)).filter(c => c.overlayIndex > 0);
|
|
22
|
-
};
|
|
23
|
-
const getOverlay = (doc, overlayTag, id) => {
|
|
24
|
-
const overlays = getOverlays(doc, overlayTag);
|
|
25
|
-
return id === undefined ? overlays[overlays.length - 1] : overlays.find(o => o.id === id);
|
|
26
|
-
};
|
|
27
|
-
const connectListeners = (doc) => {
|
|
28
|
-
if (lastId === 0) {
|
|
29
|
-
lastId = 1;
|
|
30
|
-
// handle ESC to close overlay
|
|
31
|
-
doc.addEventListener('keyup', ev => {
|
|
32
|
-
if (ev.key === 'Escape') {
|
|
33
|
-
const lastOverlay = getOverlay(doc);
|
|
34
|
-
if (lastOverlay) {
|
|
35
|
-
lastOverlay.dismiss(undefined, BACKDROP);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
const dismiss = async (overlay, data, role, animation) => {
|
|
42
|
-
if (!overlay.presented) {
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
try {
|
|
46
|
-
// Overlay contents should not be clickable during dismiss
|
|
47
|
-
overlay.el.style.setProperty('pointer-events', 'none');
|
|
48
|
-
overlay.willDismiss.emit({ data, role });
|
|
49
|
-
await animation();
|
|
50
|
-
overlay.presented = false;
|
|
51
|
-
overlay.didDismiss.emit({ data, role });
|
|
52
|
-
}
|
|
53
|
-
catch (err) {
|
|
54
|
-
overlay.presented = false;
|
|
55
|
-
console.error(err);
|
|
56
|
-
}
|
|
57
|
-
overlay.el.remove();
|
|
58
|
-
return true;
|
|
59
|
-
};
|
|
60
|
-
const eventMethod = (element, eventName) => {
|
|
61
|
-
let resolve;
|
|
62
|
-
const promise = new Promise(r => (resolve = r));
|
|
63
|
-
onceEvent(element, eventName, (ev) => {
|
|
64
|
-
resolve(ev.detail);
|
|
65
|
-
});
|
|
66
|
-
return promise;
|
|
67
|
-
};
|
|
68
|
-
const onceEvent = (element, eventName, callback) => {
|
|
69
|
-
const handler = (ev) => {
|
|
70
|
-
removeEventListener(element, eventName, handler);
|
|
71
|
-
callback(ev);
|
|
72
|
-
};
|
|
73
|
-
addEventListener(element, eventName, handler);
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
export { getOverlay as a, dismiss as d, eventMethod as e, getOverlays as g, prepareOverlay as p };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as initializeBaloiseDesignSystem}from"./initialize-66a526c0.js";function appGlobalScript(){initializeBaloiseDesignSystem()}var globalScripts=appGlobalScript;export{globalScripts as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var ariaBooleanToString=function(a){return!!a?"true":"false"};export{ariaBooleanToString as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__assign,__awaiter,__generator,__rest,__spreadArray}from"tslib";var sides=["top","right","bottom","left"];var alignments=["start","end"];var placements=sides.reduce((function(e,t){return e.concat(t,t+"-"+alignments[0],t+"-"+alignments[1])}),[]);var min=Math.min;var max=Math.max;var round=Math.round;var floor=Math.floor;var createCoords=function(e){return{x:e,y:e}};var oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"};var oppositeAlignmentMap={start:"end",end:"start"};function clamp(e,t,n){return max(e,min(t,n))}function evaluate(e,t){return typeof e==="function"?e(t):e}function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return e==="x"?"y":"x"}function getAxisLength(e){return e==="y"?"height":"width"}function getSideAxis(e){return["top","bottom"].includes(getSide(e))?"y":"x"}function getAlignmentAxis(e){return getOppositeAxis(getSideAxis(e))}function getAlignmentSides(e,t,n){if(n===void 0){n=false}var r=getAlignment(e);var i=getAlignmentAxis(e);var a=getAxisLength(i);var o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){o=getOppositePlacement(o)}return[o,getOppositePlacement(o)]}function getExpandedPlacements(e){var t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(e){return e.replace(/start|end/g,(function(e){return oppositeAlignmentMap[e]}))}function getSideList(e,t,n){var r=["left","right"];var i=["right","left"];var a=["top","bottom"];var o=["bottom","top"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?a:o;default:return[]}}function getOppositeAxisPlacements(e,t,n,r){var i=getAlignment(e);var a=getSideList(getSide(e),n==="start",r);if(i){a=a.map((function(e){return e+"-"+i}));if(t){a=a.concat(a.map(getOppositeAlignmentPlacement))}}return a}function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return oppositeSideMap[e]}))}function expandPaddingObject(e){return __assign({top:0,right:0,bottom:0,left:0},e)}function getPaddingObject(e){return typeof e!=="number"?expandPaddingObject(e):{top:e,right:e,bottom:e,left:e}}function rectToClientRect(e){return __assign(__assign({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function computeCoordsFromPlacement(e,t,n){var r=e.reference,i=e.floating;var a=getSideAxis(t);var o=getAlignmentAxis(t);var s=getAxisLength(o);var u=getSide(t);var l=a==="y";var c=r.x+r.width/2-i.width/2;var f=r.y+r.height/2-i.height/2;var v=r[s]/2-i[s]/2;var d;switch(u){case"top":d={x:c,y:r.y-i.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(getAlignment(t)){case"start":d[o]-=v*(n&&l?-1:1);break;case"end":d[o]+=v*(n&&l?-1:1);break}return d}var computePosition$1=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,i,a,o,s,u,l,c,f,v,d,g,m,p,_,h,w,x,y,A,S,b,O,C,R,P;var E,T;return __generator(this,(function(N){switch(N.label){case 0:r=n.placement,i=r===void 0?"bottom":r,a=n.strategy,o=a===void 0?"absolute":a,s=n.middleware,u=s===void 0?[]:s,l=n.platform;c=u.filter(Boolean);return[4,l.isRTL==null?void 0:l.isRTL(t)];case 1:f=N.sent();return[4,l.getElementRects({reference:e,floating:t,strategy:o})];case 2:v=N.sent();d=computeCoordsFromPlacement(v,i,f),g=d.x,m=d.y;p=i;_={};h=0;w=0;N.label=3;case 3:if(!(w<c.length))return[3,11];x=c[w],y=x.name,A=x.fn;return[4,A({x:g,y:m,initialPlacement:i,placement:p,strategy:o,middlewareData:_,rects:v,platform:l,elements:{reference:e,floating:t}})];case 4:S=N.sent(),b=S.x,O=S.y,C=S.data,R=S.reset;g=b!=null?b:g;m=O!=null?O:m;_=__assign(__assign({},_),(E={},E[y]=__assign(__assign({},_[y]),C),E));if(!(R&&h<=50))return[3,10];h++;if(!(typeof R==="object"))return[3,9];if(R.placement){p=R.placement}if(!R.rects)return[3,8];if(!(R.rects===true))return[3,6];return[4,l.getElementRects({reference:e,floating:t,strategy:o})];case 5:P=N.sent();return[3,7];case 6:P=R.rects;N.label=7;case 7:v=P;N.label=8;case 8:T=computeCoordsFromPlacement(v,p,f),g=T.x,m=T.y;N.label=9;case 9:w=-1;N.label=10;case 10:w++;return[3,3];case 11:return[2,{x:g,y:m,placement:p,strategy:o,middlewareData:_}]}}))}))};function detectOverflow(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u,l,c,f,v,d,g,m,p,_,h,w,x,y,A,S,b,O,C,R,P,E,T,N,L,B,M,W;var D;return __generator(this,(function(F){switch(F.label){case 0:if(t===void 0){t={}}r=e.x,i=e.y,a=e.platform,o=e.rects,s=e.elements,u=e.strategy;l=evaluate(t,e),c=l.boundary,f=c===void 0?"clippingAncestors":c,v=l.rootBoundary,d=v===void 0?"viewport":v,g=l.elementContext,m=g===void 0?"floating":g,p=l.altBoundary,_=p===void 0?false:p,h=l.padding,w=h===void 0?0:h;x=getPaddingObject(w);y=m==="floating"?"reference":"floating";A=s[_?y:m];b=rectToClientRect;C=(O=a).getClippingRect;D={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((n=F.sent())!=null?n:true))return[3,2];R=A;return[3,5];case 2:P=A.contextElement;if(P)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)];case 3:P=F.sent();F.label=4;case 4:R=P;F.label=5;case 5:return[4,C.apply(O,[(D.element=R,D.boundary=f,D.rootBoundary=d,D.strategy=u,D)])];case 6:S=b.apply(void 0,[F.sent()]);E=m==="floating"?__assign(__assign({},o.floating),{x:r,y:i}):o.reference;return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)];case 7:T=F.sent();return[4,a.isElement==null?void 0:a.isElement(T)];case 8:if(!F.sent())return[3,10];return[4,a.getScale==null?void 0:a.getScale(T)];case 9:L=F.sent()||{x:1,y:1};return[3,11];case 10:L={x:1,y:1};F.label=11;case 11:N=L;M=rectToClientRect;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:E,offsetParent:T,strategy:u})];case 12:W=F.sent();return[3,14];case 13:W=E;F.label=14;case 14:B=M.apply(void 0,[W]);return[2,{top:(S.top-B.top+x.top)/N.y,bottom:(B.bottom-S.bottom+x.bottom)/N.y,left:(S.left-B.left+x.left)/N.x,right:(B.right-S.right+x.right)/N.x}]}}))}))}var arrow$1=function(e){return{name:"arrow",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u,l,c,f,v,d,g,m,p,_,h,w,x,y,A,S,b,O,C,R,P,E,T,N,L,B,M,W,D;var F,k;return __generator(this,(function($){switch($.label){case 0:n=t.x,r=t.y,i=t.placement,a=t.rects,o=t.platform,s=t.elements,u=t.middlewareData;l=evaluate(e,t)||{},c=l.element,f=l.padding,v=f===void 0?0:f;if(c==null){return[2,{}]}d=getPaddingObject(v);g={x:n,y:r};m=getAlignmentAxis(i);p=getAxisLength(m);return[4,o.getDimensions(c)];case 1:_=$.sent();h=m==="y";w=h?"top":"left";x=h?"bottom":"right";y=h?"clientHeight":"clientWidth";A=a.reference[p]+a.reference[m]-g[m]-a.floating[p];S=g[m]-a.reference[m];return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(c)];case 2:b=$.sent();O=b?b[y]:0;C=!O;if(C)return[3,4];return[4,o.isElement==null?void 0:o.isElement(b)];case 3:C=!$.sent();$.label=4;case 4:if(C){O=s.floating[y]||a.floating[p]}R=A/2-S/2;P=O/2-_[p]/2-1;E=min(d[w],P);T=min(d[x],P);N=E;L=O-_[p]-T;B=O/2-_[p]/2+R;M=clamp(N,B,L);W=!u.arrow&&getAlignment(i)!=null&&B!==M&&a.reference[p]/2-(B<N?E:T)-_[p]/2<0;D=W?B<N?B-N:B-L:0;return[2,(F={},F[m]=g[m]+D,F.data=__assign((k={},k[m]=M,k.centerOffset=B-M-D,k),W&&{alignmentOffset:D}),F.reset=W,F)]}}))}))}}};function getPlacementList(e,t,n){var r=e?__spreadArray(__spreadArray([],n.filter((function(t){return getAlignment(t)===e})),true),n.filter((function(t){return getAlignment(t)!==e})),true):n.filter((function(e){return getSide(e)===e}));return r.filter((function(n){if(e){return getAlignment(n)===e||(t?getOppositeAlignmentPlacement(n)!==n:false)}return true}))}var autoPlacement$1=function(e){if(e===void 0){e={}}return{name:"autoPlacement",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u,l,c,f,v,d,g,m,p,_,h,w,x,y,A,S,b,O,C,R,P,E,T,N;return __generator(this,(function(L){switch(L.label){case 0:a=t.rects,o=t.middlewareData,s=t.placement,u=t.platform,l=t.elements;c=evaluate(e,t),f=c.crossAxis,v=f===void 0?false:f,d=c.alignment,g=c.allowedPlacements,m=g===void 0?placements:g,p=c.autoAlignment,_=p===void 0?true:p,h=__rest(c,["crossAxis","alignment","allowedPlacements","autoAlignment"]);w=d!==undefined||m===placements?getPlacementList(d||null,_,m):m;return[4,detectOverflow(t,h)];case 1:x=L.sent();y=((n=o.autoPlacement)==null?void 0:n.index)||0;A=w[y];if(A==null){return[2,{}]}b=getAlignmentSides;O=[A,a];return[4,u.isRTL==null?void 0:u.isRTL(l.floating)];case 2:S=b.apply(void 0,O.concat([L.sent()]));if(s!==A){return[2,{reset:{placement:w[0]}}]}C=[x[getSide(A)],x[S[0]],x[S[1]]];R=__spreadArray(__spreadArray([],((r=o.autoPlacement)==null?void 0:r.overflows)||[],true),[{placement:A,overflows:C}],false);P=w[y+1];if(P){return[2,{data:{index:y+1,overflows:R},reset:{placement:P}}]}E=R.map((function(e){var t=getAlignment(e.placement);return[e.placement,t&&v?e.overflows.slice(0,2).reduce((function(e,t){return e+t}),0):e.overflows[0],e.overflows]})).sort((function(e,t){return e[1]-t[1]}));T=E.filter((function(e){return e[2].slice(0,getAlignment(e[0])?2:3).every((function(e){return e<=0}))}));N=((i=T[0])==null?void 0:i[0])||E[0][0];if(N!==s){return[2,{data:{index:y+1,overflows:R},reset:{placement:N}}]}return[2,{}]}}))}))}}};var flip$1=function(e){if(e===void 0){e={}}return{name:"flip",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u,l,c,f,v,d,g,m,p,_,h,w,x,y,A,S,b,O,C,R,P,E,T,N,L,B,M,W,D,F,k;return __generator(this,(function($){switch($.label){case 0:i=t.placement,a=t.middlewareData,o=t.rects,s=t.initialPlacement,u=t.platform,l=t.elements;c=evaluate(e,t),f=c.mainAxis,v=f===void 0?true:f,d=c.crossAxis,g=d===void 0?true:d,m=c.fallbackPlacements,p=c.fallbackStrategy,_=p===void 0?"bestFit":p,h=c.fallbackAxisSideDirection,w=h===void 0?"none":h,x=c.flipAlignment,y=x===void 0?true:x,A=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset){return[2,{}]}S=getSide(i);b=getSide(s)===s;return[4,u.isRTL==null?void 0:u.isRTL(l.floating)];case 1:O=$.sent();C=m||(b||!y?[getOppositePlacement(s)]:getExpandedPlacements(s));if(!m&&w!=="none"){C.push.apply(C,getOppositeAxisPlacements(s,y,w,O))}R=__spreadArray([s],C,true);return[4,detectOverflow(t,A)];case 2:P=$.sent();E=[];T=((r=a.flip)==null?void 0:r.overflows)||[];if(v){E.push(P[S])}if(g){N=getAlignmentSides(i,o,O);E.push(P[N[0]],P[N[1]])}T=__spreadArray(__spreadArray([],T,true),[{placement:i,overflows:E}],false);if(!E.every((function(e){return e<=0}))){M=(((L=a.flip)==null?void 0:L.index)||0)+1;W=R[M];if(W){return[2,{data:{index:M,overflows:T},reset:{placement:W}}]}D=(B=T.filter((function(e){return e.overflows[0]<=0})).sort((function(e,t){return e.overflows[1]-t.overflows[1]}))[0])==null?void 0:B.placement;if(!D){switch(_){case"bestFit":{k=(F=T.map((function(e){return[e.placement,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])==null?void 0:F[0];if(k){D=k}break}case"initialPlacement":D=s;break}}if(i!==D){return[2,{reset:{placement:D}}]}}return[2,{}]}}))}))}}};function getSideOffsets(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function isAnySideFullyClipped(e){return sides.some((function(t){return e[t]>=0}))}var hide$1=function(e){if(e===void 0){e={}}return{name:"hide",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u,l,u,l;return __generator(this,(function(c){switch(c.label){case 0:n=t.rects;r=evaluate(e,t),i=r.strategy,a=i===void 0?"referenceHidden":i,o=__rest(r,["strategy"]);s=a;switch(s){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,detectOverflow(t,__assign(__assign({},o),{elementContext:"reference"}))];case 2:u=c.sent();l=getSideOffsets(u,n.reference);return[2,{data:{referenceHiddenOffsets:l,referenceHidden:isAnySideFullyClipped(l)}}];case 3:return[4,detectOverflow(t,__assign(__assign({},o),{altBoundary:true}))];case 4:u=c.sent();l=getSideOffsets(u,n.floating);return[2,{data:{escapedOffsets:l,escaped:isAnySideFullyClipped(l)}}];case 5:{return[2,{}]}c.label=6;case 6:return[2]}}))}))}}};function getBoundingRect(e){var t=min.apply(void 0,e.map((function(e){return e.left})));var n=min.apply(void 0,e.map((function(e){return e.top})));var r=max.apply(void 0,e.map((function(e){return e.right})));var i=max.apply(void 0,e.map((function(e){return e.bottom})));return{x:t,y:n,width:r-t,height:i-n}}function getRectsByLine(e){var t=e.slice().sort((function(e,t){return e.y-t.y}));var n=[];var r=null;for(var i=0;i<t.length;i++){var a=t[i];if(!r||a.y-r.y>r.height/2){n.push([a])}else{n[n.length-1].push(a)}r=a}return n.map((function(e){return rectToClientRect(getBoundingRect(e))}))}var inline$1=function(e){if(e===void 0){e={}}return{name:"inline",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){function n(){if(p.length===2&&p[0].left>p[1].right&&f!=null&&v!=null){return p.find((function(e){return f>e.left-h.left&&f<e.right+h.right&&v>e.top-h.top&&v<e.bottom+h.bottom}))||_}if(p.length>=2){if(getSideAxis(r)==="y"){var e=p[0];var t=p[p.length-1];var n=getSide(r)==="top";var i=e.top;var a=t.bottom;var o=n?e.left:t.left;var s=n?e.right:t.right;var u=s-o;var l=a-i;return{top:i,bottom:a,left:o,right:s,width:u,height:l,x:o,y:i}}var c=getSide(r)==="left";var d=max.apply(void 0,p.map((function(e){return e.right})));var g=min.apply(void 0,p.map((function(e){return e.left})));var m=p.filter((function(e){return c?e.left===g:e.right===d}));var w=m[0].top;var x=m[m.length-1].bottom;var y=g;var A=d;var S=A-y;var b=x-w;return{top:w,bottom:x,left:y,right:A,width:S,height:b,x:y,y:w}}return _}var r,i,a,o,s,u,l,c,f,v,d,g,m,p,_,h,w;return __generator(this,(function(x){switch(x.label){case 0:r=t.placement,i=t.elements,a=t.rects,o=t.platform,s=t.strategy;u=evaluate(e,t),l=u.padding,c=l===void 0?2:l,f=u.x,v=u.y;m=(g=Array).from;return[4,o.getClientRects==null?void 0:o.getClientRects(i.reference)];case 1:d=m.apply(g,[x.sent()||[]]);p=getRectsByLine(d);_=rectToClientRect(getBoundingRect(d));h=getPaddingObject(c);return[4,o.getElementRects({reference:{getBoundingClientRect:n},floating:i.floating,strategy:s})];case 2:w=x.sent();if(a.reference.x!==w.reference.x||a.reference.y!==w.reference.y||a.reference.width!==w.reference.width||a.reference.height!==w.reference.height){return[2,{reset:{rects:w}}]}return[2,{}]}}))}))}}};function convertValueToCoords(e,t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u,l,c,f,v,d,g,m;return __generator(this,(function(p){switch(p.label){case 0:n=e.placement,r=e.platform,i=e.elements;return[4,r.isRTL==null?void 0:r.isRTL(i.floating)];case 1:a=p.sent();o=getSide(n);s=getAlignment(n);u=getSideAxis(n)==="y";l=["left","top"].includes(o)?-1:1;c=a&&u?-1:1;f=evaluate(t,e);v=typeof f==="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},f),d=v.mainAxis,g=v.crossAxis,m=v.alignmentAxis;if(s&&typeof m==="number"){g=s==="end"?m*-1:m}return[2,u?{x:g*c,y:d*l}:{x:d*l,y:g*c}]}}))}))}var offset=function(e){if(e===void 0){e=0}return{name:"offset",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u;return __generator(this,(function(l){switch(l.label){case 0:i=t.x,a=t.y,o=t.placement,s=t.middlewareData;return[4,convertValueToCoords(t,e)];case 1:u=l.sent();if(o===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset){return[2,{}]}return[2,{x:i+u.x,y:a+u.y,data:__assign(__assign({},u),{placement:o})}]}}))}))}}};var shift$1=function(e){if(e===void 0){e={}}return{name:"shift",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u,l,c,f,v,d,g,m,p,_,h,w,x,y,A,w,x,S,b,O;var C;return __generator(this,(function(R){switch(R.label){case 0:n=t.x,r=t.y,i=t.placement;a=evaluate(e,t),o=a.mainAxis,s=o===void 0?true:o,u=a.crossAxis,l=u===void 0?false:u,c=a.limiter,f=c===void 0?{fn:function(e){var t=e.x,n=e.y;return{x:t,y:n}}}:c,v=__rest(a,["mainAxis","crossAxis","limiter"]);d={x:n,y:r};return[4,detectOverflow(t,v)];case 1:g=R.sent();m=getSideAxis(getSide(i));p=getOppositeAxis(m);_=d[p];h=d[m];if(s){w=p==="y"?"top":"left";x=p==="y"?"bottom":"right";y=_+g[w];A=_-g[x];_=clamp(y,_,A)}if(l){w=m==="y"?"top":"left";x=m==="y"?"bottom":"right";S=h+g[w];b=h-g[x];h=clamp(S,h,b)}O=f.fn(__assign(__assign({},t),(C={},C[p]=_,C[m]=h,C)));return[2,__assign(__assign({},O),{data:{x:O.x-n,y:O.y-r}})]}}))}))}}};var limitShift$1=function(e){if(e===void 0){e={}}return{options:e,fn:function(t){var n;var r=t.x,i=t.y,a=t.placement,o=t.rects,s=t.middlewareData;var u=evaluate(e,t),l=u.offset,c=l===void 0?0:l,f=u.mainAxis,v=f===void 0?true:f,d=u.crossAxis,g=d===void 0?true:d;var m={x:r,y:i};var p=getSideAxis(a);var _=getOppositeAxis(p);var h=m[_];var w=m[p];var x=evaluate(c,t);var y=typeof x==="number"?{mainAxis:x,crossAxis:0}:__assign({mainAxis:0,crossAxis:0},x);if(v){var A=_==="y"?"height":"width";var S=o.reference[_]-o.floating[A]+y.mainAxis;var b=o.reference[_]+o.reference[A]-y.mainAxis;if(h<S){h=S}else if(h>b){h=b}}if(g){var O,C;var A=_==="y"?"width":"height";var R=["top","left"].includes(getSide(a));var S=o.reference[p]-o.floating[A]+(R?((O=s.offset)==null?void 0:O[p])||0:0)+(R?0:y.crossAxis);var b=o.reference[p]+o.reference[A]+(R?0:((C=s.offset)==null?void 0:C[p])||0)-(R?y.crossAxis:0);if(w<S){w=S}else if(w>b){w=b}}return n={},n[_]=h,n[p]=w,n}}};var size$1=function(e){if(e===void 0){e={}}return{name:"size",options:e,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,o,s,u,l,c,f,v,d,g,m,p,_,h,w,x,y,A,S,b,O,C,R,P,E,T,N;return __generator(this,(function(L){switch(L.label){case 0:n=t.placement,r=t.rects,i=t.platform,a=t.elements;o=evaluate(e,t),s=o.apply,u=s===void 0?function(){}:s,l=__rest(o,["apply"]);return[4,detectOverflow(t,l)];case 1:c=L.sent();f=getSide(n);v=getAlignment(n);d=getSideAxis(n)==="y";g=r.floating,m=g.width,p=g.height;if(!(f==="top"||f==="bottom"))return[3,3];_=f;w=v;return[4,i.isRTL==null?void 0:i.isRTL(a.floating)];case 2:h=w===(L.sent()?"start":"end")?"left":"right";return[3,4];case 3:h=f;_=v==="end"?"top":"bottom";L.label=4;case 4:x=p-c[_];y=m-c[h];A=!t.middlewareData.shift;S=x;b=y;if(d){O=m-c.left-c.right;b=v||A?min(y,O):O}else{C=p-c.top-c.bottom;S=v||A?min(x,C):C}if(A&&!v){R=max(c.left,0);P=max(c.right,0);E=max(c.top,0);T=max(c.bottom,0);if(d){b=m-2*(R!==0||P!==0?R+P:max(c.left,c.right))}else{S=p-2*(E!==0||T!==0?E+T:max(c.top,c.bottom))}}return[4,u(__assign(__assign({},t),{availableWidth:b,availableHeight:S}))];case 5:L.sent();return[4,i.getDimensions(a.floating)];case 6:N=L.sent();if(m!==N.width||p!==N.height){return[2,{reset:{rects:true}}]}return[2,{}]}}))}))}}};function getNodeName(e){if(isNode(e)){return(e.nodeName||"").toLowerCase()}return"#document"}function getWindow(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function getDocumentElement(e){var t;return(t=(isNode(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function isNode(e){return e instanceof Node||e instanceof getWindow(e).Node}function isElement(e){return e instanceof Element||e instanceof getWindow(e).Element}function isHTMLElement(e){return e instanceof HTMLElement||e instanceof getWindow(e).HTMLElement}function isShadowRoot(e){if(typeof ShadowRoot==="undefined"){return false}return e instanceof ShadowRoot||e instanceof getWindow(e).ShadowRoot}function isOverflowElement(e){var t=getComputedStyle(e),n=t.overflow,r=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+r)&&!["inline","contents"].includes(a)}function isTableElement(e){return["table","td","th"].includes(getNodeName(e))}function isContainingBlock(e){var t=isWebKit();var n=getComputedStyle(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":false)||!t&&(n.backdropFilter?n.backdropFilter!=="none":false)||!t&&(n.filter?n.filter!=="none":false)||["transform","perspective","filter"].some((function(e){return(n.willChange||"").includes(e)}))||["paint","layout","strict","content"].some((function(e){return(n.contain||"").includes(e)}))}function getContainingBlock(e){var t=getParentNode(e);while(isHTMLElement(t)&&!isLastTraversableNode(t)){if(isContainingBlock(t)){return t}else{t=getParentNode(t)}}return null}function isWebKit(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(e){return["html","body","#document"].includes(getNodeName(e))}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function getNodeScroll(e){if(isElement(e)){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function getParentNode(e){if(getNodeName(e)==="html"){return e}var t=e.assignedSlot||e.parentNode||isShadowRoot(e)&&e.host||getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){var t=getParentNode(e);if(isLastTraversableNode(t)){return e.ownerDocument?e.ownerDocument.body:e.body}if(isHTMLElement(t)&&isOverflowElement(t)){return t}return getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t,n){var r;if(t===void 0){t=[]}if(n===void 0){n=true}var i=getNearestOverflowAncestor(e);var a=i===((r=e.ownerDocument)==null?void 0:r.body);var o=getWindow(i);if(a){return t.concat(o,o.visualViewport||[],isOverflowElement(i)?i:[],o.frameElement&&n?getOverflowAncestors(o.frameElement):[])}return t.concat(i,getOverflowAncestors(i,[],n))}function getCssDimensions(e){var t=getComputedStyle(e);var n=parseFloat(t.width)||0;var r=parseFloat(t.height)||0;var i=isHTMLElement(e);var a=i?e.offsetWidth:n;var o=i?e.offsetHeight:r;var s=round(n)!==a||round(r)!==o;if(s){n=a;r=o}return{width:n,height:r,$:s}}function unwrapElement(e){return!isElement(e)?e.contextElement:e}function getScale(e){var t=unwrapElement(e);if(!isHTMLElement(t)){return createCoords(1)}var n=t.getBoundingClientRect();var r=getCssDimensions(t),i=r.width,a=r.height,o=r.$;var s=(o?round(n.width):n.width)/i;var u=(o?round(n.height):n.height)/a;if(!s||!Number.isFinite(s)){s=1}if(!u||!Number.isFinite(u)){u=1}return{x:s,y:u}}var noOffsets=createCoords(0);function getVisualOffsets(e){var t=getWindow(e);if(!isWebKit()||!t.visualViewport){return noOffsets}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function shouldAddVisualOffsets(e,t,n){if(t===void 0){t=false}if(!n||t&&n!==getWindow(e)){return false}return t}function getBoundingClientRect(e,t,n,r){if(t===void 0){t=false}if(n===void 0){n=false}var i=e.getBoundingClientRect();var a=unwrapElement(e);var o=createCoords(1);if(t){if(r){if(isElement(r)){o=getScale(r)}}else{o=getScale(e)}}var s=shouldAddVisualOffsets(a,n,r)?getVisualOffsets(a):createCoords(0);var u=(i.left+s.x)/o.x;var l=(i.top+s.y)/o.y;var c=i.width/o.x;var f=i.height/o.y;if(a){var v=getWindow(a);var d=r&&isElement(r)?getWindow(r):r;var g=v;var m=g.frameElement;while(m&&r&&d!==g){var p=getScale(m);var _=m.getBoundingClientRect();var h=getComputedStyle(m);var w=_.left+(m.clientLeft+parseFloat(h.paddingLeft))*p.x;var x=_.top+(m.clientTop+parseFloat(h.paddingTop))*p.y;u*=p.x;l*=p.y;c*=p.x;f*=p.y;u+=w;l+=x;g=getWindow(m);m=g.frameElement}}return rectToClientRect({width:c,height:f,x:u,y:l})}var topLayerSelectors=[":popover-open",":modal"];function isTopLayer(e){return topLayerSelectors.some((function(t){try{return e.matches(t)}catch(e){return false}}))}function convertOffsetParentRelativeRectToViewportRelativeRect(e){var t=e.elements,n=e.rect,r=e.offsetParent,i=e.strategy;var a=i==="fixed";var o=getDocumentElement(r);var s=t?isTopLayer(t.floating):false;if(r===o||s&&a){return n}var u={scrollLeft:0,scrollTop:0};var l=createCoords(1);var c=createCoords(0);var f=isHTMLElement(r);if(f||!f&&!a){if(getNodeName(r)!=="body"||isOverflowElement(o)){u=getNodeScroll(r)}if(isHTMLElement(r)){var v=getBoundingClientRect(r);l=getScale(r);c.x=v.x+r.clientLeft;c.y=v.y+r.clientTop}}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+c.x,y:n.y*l.y-u.scrollTop*l.y+c.y}}function getClientRects(e){return Array.from(e.getClientRects())}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getNodeScroll(e).scrollLeft}function getDocumentRect(e){var t=getDocumentElement(e);var n=getNodeScroll(e);var r=e.ownerDocument.body;var i=max(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth);var a=max(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);var o=-n.scrollLeft+getWindowScrollBarX(e);var s=-n.scrollTop;if(getComputedStyle(r).direction==="rtl"){o+=max(t.clientWidth,r.clientWidth)-i}return{width:i,height:a,x:o,y:s}}function getViewportRect(e,t){var n=getWindow(e);var r=getDocumentElement(e);var i=n.visualViewport;var a=r.clientWidth;var o=r.clientHeight;var s=0;var u=0;if(i){a=i.width;o=i.height;var l=isWebKit();if(!l||l&&t==="fixed"){s=i.offsetLeft;u=i.offsetTop}}return{width:a,height:o,x:s,y:u}}function getInnerBoundingClientRect(e,t){var n=getBoundingClientRect(e,true,t==="fixed");var r=n.top+e.clientTop;var i=n.left+e.clientLeft;var a=isHTMLElement(e)?getScale(e):createCoords(1);var o=e.clientWidth*a.x;var s=e.clientHeight*a.y;var u=i*a.x;var l=r*a.y;return{width:o,height:s,x:u,y:l}}function getClientRectFromClippingAncestor(e,t,n){var r;if(t==="viewport"){r=getViewportRect(e,n)}else if(t==="document"){r=getDocumentRect(getDocumentElement(e))}else if(isElement(t)){r=getInnerBoundingClientRect(t,n)}else{var i=getVisualOffsets(e);r=__assign(__assign({},t),{x:t.x-i.x,y:t.y-i.y})}return rectToClientRect(r)}function hasFixedPositionAncestor(e,t){var n=getParentNode(e);if(n===t||!isElement(n)||isLastTraversableNode(n)){return false}return getComputedStyle(n).position==="fixed"||hasFixedPositionAncestor(n,t)}function getClippingElementAncestors(e,t){var n=t.get(e);if(n){return n}var r=getOverflowAncestors(e,[],false).filter((function(e){return isElement(e)&&getNodeName(e)!=="body"}));var i=null;var a=getComputedStyle(e).position==="fixed";var o=a?getParentNode(e):e;while(isElement(o)&&!isLastTraversableNode(o)){var s=getComputedStyle(o);var u=isContainingBlock(o);if(!u&&s.position==="fixed"){i=null}var l=a?!u&&!i:!u&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||isOverflowElement(o)&&!u&&hasFixedPositionAncestor(e,o);if(l){r=r.filter((function(e){return e!==o}))}else{i=s}o=getParentNode(o)}t.set(e,r);return r}function getClippingRect(e){var t=e.element,n=e.boundary,r=e.rootBoundary,i=e.strategy;var a=n==="clippingAncestors"?getClippingElementAncestors(t,this._c):[].concat(n);var o=__spreadArray(__spreadArray([],a,true),[r],false);var s=o[0];var u=o.reduce((function(e,n){var r=getClientRectFromClippingAncestor(t,n,i);e.top=max(r.top,e.top);e.right=min(r.right,e.right);e.bottom=min(r.bottom,e.bottom);e.left=max(r.left,e.left);return e}),getClientRectFromClippingAncestor(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function getDimensions(e){var t=getCssDimensions(e),n=t.width,r=t.height;return{width:n,height:r}}function getRectRelativeToOffsetParent(e,t,n){var r=isHTMLElement(t);var i=getDocumentElement(t);var a=n==="fixed";var o=getBoundingClientRect(e,true,a,t);var s={scrollLeft:0,scrollTop:0};var u=createCoords(0);if(r||!r&&!a){if(getNodeName(t)!=="body"||isOverflowElement(i)){s=getNodeScroll(t)}if(r){var l=getBoundingClientRect(t,true,a,t);u.x=l.x+t.clientLeft;u.y=l.y+t.clientTop}else if(i){u.x=getWindowScrollBarX(i)}}var c=o.left+s.scrollLeft-u.x;var f=o.top+s.scrollTop-u.y;return{x:c,y:f,width:o.width,height:o.height}}function getTrueOffsetParent(e,t){if(!isHTMLElement(e)||getComputedStyle(e).position==="fixed"){return null}if(t){return t(e)}return e.offsetParent}function getOffsetParent(e,t){var n=getWindow(e);if(!isHTMLElement(e)||isTopLayer(e)){return n}var r=getTrueOffsetParent(e,t);while(r&&isTableElement(r)&&getComputedStyle(r).position==="static"){r=getTrueOffsetParent(r,t)}if(r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle(r).position==="static"&&!isContainingBlock(r))){return n}return r||getContainingBlock(e)||n}var getElementRects=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,i,a;var o;return __generator(this,(function(s){switch(s.label){case 0:t=this.getOffsetParent||getOffsetParent;n=this.getDimensions;o={};r=getRectRelativeToOffsetParent;i=[e.reference];return[4,t(e.floating)];case 1:o.reference=r.apply(void 0,i.concat([s.sent(),e.strategy]));a=[{x:0,y:0}];return[4,n(e.floating)];case 2:return[2,(o.floating=__assign.apply(void 0,a.concat([s.sent()])),o)]}}))}))};function isRTL(e){return getComputedStyle(e).direction==="rtl"}var platform={convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement,getClippingRect:getClippingRect,getOffsetParent:getOffsetParent,getElementRects:getElementRects,getClientRects:getClientRects,getDimensions:getDimensions,getScale:getScale,isElement:isElement,isRTL:isRTL};function observeMove(e,t){var n=null;var r;var i=getDocumentElement(e);function a(){var e;clearTimeout(r);(e=n)==null||e.disconnect();n=null}function o(s,u){if(s===void 0){s=false}if(u===void 0){u=1}a();var l=e.getBoundingClientRect(),c=l.left,f=l.top,v=l.width,d=l.height;if(!s){t()}if(!v||!d){return}var g=floor(f);var m=floor(i.clientWidth-(c+v));var p=floor(i.clientHeight-(f+d));var _=floor(c);var h=-g+"px "+-m+"px "+-p+"px "+-_+"px";var w={rootMargin:h,threshold:max(0,min(1,u))||1};var x=true;function y(e){var t=e[0].intersectionRatio;if(t!==u){if(!x){return o()}if(!t){r=setTimeout((function(){o(false,1e-7)}),100)}else{o(false,t)}}x=false}try{n=new IntersectionObserver(y,__assign(__assign({},w),{root:i.ownerDocument}))}catch(e){n=new IntersectionObserver(y,w)}n.observe(e)}o(true);return a}function autoUpdate(e,t,n,r){if(r===void 0){r={}}var i=r.ancestorScroll,a=i===void 0?true:i,o=r.ancestorResize,s=o===void 0?true:o,u=r.elementResize,l=u===void 0?typeof ResizeObserver==="function":u,c=r.layoutShift,f=c===void 0?typeof IntersectionObserver==="function":c,v=r.animationFrame,d=v===void 0?false:v;var g=unwrapElement(e);var m=a||s?__spreadArray(__spreadArray([],g?getOverflowAncestors(g):[],true),getOverflowAncestors(t),true):[];m.forEach((function(e){a&&e.addEventListener("scroll",n,{passive:true});s&&e.addEventListener("resize",n)}));var p=g&&f?observeMove(g,n):null;var _=-1;var h=null;if(l){h=new ResizeObserver((function(e){var r=e[0];if(r&&r.target===g&&h){h.unobserve(t);cancelAnimationFrame(_);_=requestAnimationFrame((function(){var e;(e=h)==null||e.observe(t)}))}n()}));if(g&&!d){h.observe(g)}h.observe(t)}var w;var x=d?getBoundingClientRect(e):null;if(d){y()}function y(){var t=getBoundingClientRect(e);if(x&&(t.x!==x.x||t.y!==x.y||t.width!==x.width||t.height!==x.height)){n()}x=t;w=requestAnimationFrame(y)}n();return function(){var e;m.forEach((function(e){a&&e.removeEventListener("scroll",n);s&&e.removeEventListener("resize",n)}));p==null||p();(e=h)==null||e.disconnect();h=null;if(d){cancelAnimationFrame(w)}}}var autoPlacement=autoPlacement$1;var shift=shift$1;var flip=flip$1;var size=size$1;var hide=hide$1;var arrow=arrow$1;var inline=inline$1;var limitShift=limitShift$1;var computePosition=function(e,t,n){var r=new Map;var i=__assign({platform:platform},n);var a=__assign(__assign({},i.platform),{_c:r});return computePosition$1(e,t,__assign(__assign({},i),{platform:a}))};export{arrow,autoPlacement,autoUpdate,computePosition,detectOverflow,flip,getOverflowAncestors,hide,inline,limitShift,offset,platform,shift,size};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";import{b as balBrowser}from"./browser-a8073d92.js";import{l as addEventListener,r as removeEventListener}from"./helpers-ae0db1dd.js";var lastId=0;var BACKDROP="backdrop";var prepareOverlay=function(e){if(balBrowser.hasDocument){connectListeners(document)}var r=lastId++;e.overlayIndex=r;if(!e.el.hasAttribute("id")){e.el.id="bal-overlay-".concat(r)}};var getOverlays=function(e,r){if(r===undefined){r="bal-modal,bal-snackbar,bal-toast"}return Array.from(e.querySelectorAll(r)).filter((function(e){return e.overlayIndex>0}))};var getOverlay=function(e,r,n){var a=getOverlays(e,r);return n===undefined?a[a.length-1]:a.find((function(e){return e.id===n}))};var connectListeners=function(e){if(lastId===0){lastId=1;e.addEventListener("keyup",(function(r){if(r.key==="Escape"){var n=getOverlay(e);if(n){n.dismiss(undefined,BACKDROP)}}}))}};var dismiss=function(e,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:if(!e.presented){return[2,false]}s.label=1;case 1:s.trys.push([1,3,,4]);e.el.style.setProperty("pointer-events","none");e.willDismiss.emit({data:r,role:n});return[4,a()];case 2:s.sent();e.presented=false;e.didDismiss.emit({data:r,role:n});return[3,4];case 3:t=s.sent();e.presented=false;console.error(t);return[3,4];case 4:e.el.remove();return[2,true]}}))}))};var eventMethod=function(e,r){var n;var a=new Promise((function(e){return n=e}));onceEvent(e,r,(function(e){n(e.detail)}));return a};var onceEvent=function(e,r,n){var a=function(t){removeEventListener(e,r,a);n(t)};addEventListener(e,r,a)};export{getOverlay as a,dismiss as d,eventMethod as e,getOverlays as g,prepareOverlay as p};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";import{h}from"./index-8d2a7ce7.js";import{j as isDescendant,k as debounce,l as addEventListener,r as removeEventListener,o as raf}from"./helpers-ae0db1dd.js";import{B as BEM}from"./bem-8c7d2eb0.js";import{s as stopEventBubbling}from"./form-input-3856ed2a.js";import{j as isTabKey}from"./keyboard.helpers-159e517d.js";var toKebabCase=function(t){if(typeof t==="string"){return t.replace(/([a-z])([0-9])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}return""};var convert=function(t){return parseInt(t.slice(0,-2),10)};var getComputedPadding=function(t,i){if(i===void 0){i=16}if(typeof window==="undefined"||t===undefined){return{top:i,right:i,bottom:i,left:i}}var r=window.getComputedStyle(t);var e=convert(r.getPropertyValue("padding-top"));var n=convert(r.getPropertyValue("padding-right"));var s=convert(r.getPropertyValue("padding-bottom"));var o=convert(r.getPropertyValue("padding-left"));return{top:e,right:n,bottom:s,left:o}};var getComputedWidth=function(t){if(typeof window==="undefined"){return t.clientWidth}var i=window.getComputedStyle(t);var r=i.getPropertyValue("box-sizing");var e=convert(i.getPropertyValue("width"));if(r==="border-box"){return e}var n=convert(i.getPropertyValue("padding-right"));var s=convert(i.getPropertyValue("padding-left"));return s+e+n};var getWidthOfOverflowingChildren=function(t){var i=Array.from(t.children);var r=0;for(var e=0,n=i;e<n.length;e++){var s=n[e];var o=s.offsetLeft+s.offsetWidth;r=Math.max(r,o)}return r};var i18nSwiperControlLabel={de:{left:"vorherige",right:"nächste"},en:{left:"previous",right:"next"},fr:{left:"précédent",right:"suivant"},it:{left:"precedente",right:"successivo"},nl:{left:"vorige",right:"volgende"},es:{left:"anterior",right:"siguiente"},pl:{left:"poprzedni",right:"następny"},pt:{left:"anterior",right:"próximo"},sv:{left:"föregående",right:"nästa"},fi:{left:"edellinen",right:"seuraava"}};var SmallControl=function(t){var i=t.isFirst,r=t.isLast,e=t.inverted,n=t.leftControlTitle,s=t.rightControlTitle,o=t.containerId,a=t.onNextClick,u=t.onPreviousClick;var c=BEM.block("swiper");var f=c.element("controls");var d=f.element("button");return h("div",{class:Object.assign(Object.assign({},f.class()),f.modifier("small").class())},h("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("left").class()),d.modifier("hidden").class(i)),"aria-controls":o,square:true,size:"small",icon:"nav-go-left",rounded:true,inverted:e,onClick:function(){return u()},disabled:i,tabindex:"-1","data-testid":"bal-carousel-control-left",title:n}),h("bal-button",{class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("right").class()),d.modifier("hidden").class(r)),"aria-controls":o,square:true,size:"small",icon:"nav-go-right",rounded:true,inverted:e,onClick:function(){return a()},disabled:r,tabindex:"-1","data-testid":"bal-carousel-control-right",title:s}))};var LargeControl=function(t){var i=t.isFirst,r=t.isLast,e=t.inverted,n=t.areControlsHidden,s=t.onNextClick,o=t.onPreviousClick,a=t.containerId,u=t.leftControlTitle,c=t.rightControlTitle;var f=BEM.block("swiper");var d=f.element("controls");var l=d.element("button");return h("div",{"data-mutation":"false",class:Object.assign(Object.assign({},d.class()),d.modifier("large").class())},h("bal-button",{class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("left").class()),l.modifier("hidden").class(i&&n)),"aria-controls":a,square:true,icon:"nav-go-left",rounded:true,inverted:e,onClick:function(){return o()},tabindex:-1,disabled:i,"aria-hidden":i&&n?"true":null,"data-testid":"bal-carousel-control-left",title:u}),h("bal-button",{class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("right").class()),l.modifier("hidden").class(r&&n)),"aria-controls":a,square:true,icon:"nav-go-right",rounded:true,inverted:e,onClick:function(){return s()},tabindex:-1,disabled:r,"aria-hidden":r&&n?"true":null,"data-testid":"bal-carousel-control-right",title:c}))};var DotControl=function(t){var i=t.value,r=t.items,e=t.containerId,n=t.onControlChange;var s=BEM.block("swiper");var o=s.element("controls");var a=function(t){var i=t.detail-1;if(i<0){i=0}if(i>=r.length){i=r.length-1}n(r[i])};return h("div",{class:Object.assign(Object.assign({},o.class()),o.modifier("dots").class())},h("bal-pagination",{"aria-controls":e,interface:"small",value:i+1,totalPages:r.length,onBalChange:a}))};var SwiperUtil=function(){function t(){var t=this;this.previousTransformValue=0;this.active=true;this.id="bal-swiper-".concat(SwiperIds++);this.containerId="".concat(this.id,"-container");this.index=0;this.gapSize=0;this.steps=1;this.noNeedForControls=true;this.isLastSlideVisible=false;this.itemsPerView=1;this.controls="none";this.keyboardMode=false;this.shiftMode=false;this.isInsideContainer=false;this.focusByKey=false;this.pointerDown=function(){t.keyboardMode=false;t.shiftMode=false;t.focusByKey=false;t.isInsideContainer=false};this.listenToKeyDown=function(i){t.keyboardMode=isTabKey(i);t.shiftMode=i.shiftKey;t.focusByKey=false;t.isInsideContainer=isDescendant(t.containerEl,i.target);if(t.active){if(t.controls!=="dots"&&t.controls!=="tabs"){if(t.isInsideContainer&&t.keyboardMode){if(t.shiftMode&&t.index>0){t.focusByKey=true;t.focusPreviousItem(i)}else if(!t.shiftMode&&t.index<t.lastIndex()){t.focusByKey=true;t.focusNextItem(i)}}}}};this.updateFocus=function(i){if(t.active){var r=t.focusByKey;var e=t.shiftMode;var n=t.isInsideContainer;if(t.controls!=="dots"&&t.controls!=="tabs"&&r&&!n){if(e){t.focusItem(t.lastIndex())}else{t.focusItem(0)}}}};this.cssBlock=BEM.block("swiper");this.cssSwiper=function(){return Object.assign({},t.cssBlock.class(t.active))};this.cssInnerSwiper=function(){return Object.assign(Object.assign(Object.assign(Object.assign({},t.cssBlock.element("inner").class(t.active)),t.cssBlock.element("inner").modifier("items-per-view-".concat(t.itemsPerView)).class(t.active)),t.cssBlock.element("inner").modifier("shadow-left").class(t.hasShadowLeft())),t.cssBlock.element("inner").modifier("shadow-right").class(t.hasShadowRight()))};this.cssSwiperContainer=function(){return Object.assign({},t.cssBlock.element("container").class(t.active))};this.notifyChange=debounce((function(){return t.notifyChangeInternal()}),100);this.onControlChange=function(i){if(i!==t.index){var r=i>t.index;if(r){t.next(i-t.index)}else{t.previous(t.index-i)}}};this.onPreviousButtonClick=function(){return t.previous()};this.onNextButtonClick=function(){return t.next()}}t.prototype.connectedCallback=function(t){this.component=t;addEventListener(window,"keydown",this.listenToKeyDown);addEventListener(this.component.el,"focusin",this.updateFocus);addEventListener(window,"touchstart",this.pointerDown);addEventListener(window,"mousedown",this.pointerDown)};t.prototype.disconnectedCallback=function(){removeEventListener(window,"keydown",this.listenToKeyDown);removeEventListener(this.component.el,"focusin",this.updateFocus);removeEventListener(window,"touchstart",this.pointerDown);removeEventListener(window,"mousedown",this.pointerDown)};t.prototype.isActive=function(){return this.active};t.prototype.activate=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.active=true;return[2]}))}))};t.prototype.disable=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.active=false;return[2]}))}))};t.prototype.focusItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.goTo(t)];case 1:i=r.sent();if(!(i&&i.el))return[3,3];return[4,this.setFocusToEl(i.el)];case 2:r.sent();r.label=3;case 3:return[2]}}))}))};t.prototype.focusNextItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.next(1)];case 1:i=r.sent();if(!(i&&i.el))return[3,3];stopEventBubbling(t);return[4,this.setFocusToEl(i.el)];case 2:r.sent();r.label=3;case 3:return[2]}}))}))};t.prototype.focusPreviousItem=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.previous(1)];case 1:i=r.sent();if(!(i&&i.el))return[3,3];stopEventBubbling(t);return[4,this.setFocusToEl(i.el)];case 2:r.sent();r.label=3;case 3:return[2]}}))}))};t.prototype.setFocusToEl=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(!t.setFocus)return[3,2];return[4,t.setFocus()];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.isFirst=function(){return this.index===0};t.prototype.hasShadowLeft=function(){return this.hasShadow()&&this.index!==0&&this.active};t.prototype.hasShadowRight=function(){return this.hasShadow()&&!this.isLastSlideVisible&&this.active};t.prototype.isLast=function(){return this.isLastSlideVisible};t.prototype.previous=function(){return __awaiter(this,arguments,void 0,(function(t){var i;if(t===void 0){t=this.steps}return __generator(this,(function(r){i=this.index-t;if(i<0){i=0}return[2,this.goTo(i)]}))}))};t.prototype.next=function(){return __awaiter(this,arguments,void 0,(function(t){var i,r,e;if(t===void 0){t=this.steps}return __generator(this,(function(n){i=this.component.swiperGetAllChildrenElements();r=i.length;e=this.index+t;if(e>=r){e=r-1}return[2,this.goTo(e)]}))}))};t.prototype.updateIndex=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=this.index}return __generator(this,(function(i){if(this.index!==t){this.goTo(t);this.index=t;this.component.swiperOnChange(this.index)}return[2]}))}))};t.prototype.goTo=function(){return __awaiter(this,arguments,void 0,(function(t){var i,r;if(t===void 0){t=this.index}return __generator(this,(function(e){switch(e.label){case 0:if(!this.active)return[3,4];return[4,this.buildSlide(t)];case 1:i=e.sent();if(!i)return[3,3];return[4,this.animate(i.transformActive,true)];case 2:r=e.sent();if(r||this.index!==t){this.index=t;this.component.swiperOnChange(this.index)}e.label=3;case 3:return[2,i];case 4:return[2]}}))}))};t.prototype.renderControls=function(){var t=this;if(!this.active||this.noNeedForControls||!this.component.hasAnimated){return""}var i=i18nSwiperControlLabel[this.component.language].left;var r=i18nSwiperControlLabel[this.component.language].right;switch(this.controls){case"small":return h(SmallControl,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,leftControlTitle:i,rightControlTitle:r,containerId:this.containerId,onNextClick:function(){return t.onNextButtonClick()},onPreviousClick:function(){return t.onPreviousButtonClick()}});case"large":return h(LargeControl,{isFirst:this.isFirst(),isLast:this.isLast(),inverted:this.component.inverted,areControlsHidden:!this.component.isMobile,leftControlTitle:i,rightControlTitle:r,containerId:this.containerId,onNextClick:function(){return t.onNextButtonClick()},onPreviousClick:function(){return t.onPreviousButtonClick()}});case"dots":return h(DotControl,{value:this.index,items:this.getAllControlItems(),containerId:this.containerId,onControlChange:function(i){return t.onControlChange(i.value)}});default:return""}};t.prototype.getAllControlItems=function(){var t=this.component.swiperGetAllChildrenElements();return t.map((function(t,i){return{value:i,label:t.label}}))};t.prototype.lastIndex=function(){var t=this.component.swiperGetAllChildrenElements();return t.length-1};t.prototype.hasShadow=function(){return!this.component.inverted&&(this.itemsPerView==="auto"||this.itemsPerView>1)};t.prototype.notifyChangeInternal=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.buildSlide(this.index)];case 1:t=i.sent();if(t){this.animate(t.transformActive,false)}return[2]}}))}))};t.prototype.buildSlide=function(t){return __awaiter(this,void 0,void 0,(function(){var i,r,e,n,s;return __generator(this,(function(o){i=this.component.swiperGetAllChildrenElements();r=t===undefined?this.lastIndex():t;if(i.length>r&&r>=0){e=this.gapSize;n=i.filter((function(t,i){return i<r+1})).reduce((function(t,i){return t+getComputedWidth(i)+e}),0);s=i.filter((function(t,i){return i<r})).reduce((function(t,i){return t+getComputedWidth(i)+e}),0);return[2,{el:i[r],transformNext:n,transformActive:s,isFirst:r===0,isLast:r===this.lastIndex(),total:this.lastIndex()+1,index:r}]}return[2,undefined]}))}))};t.prototype.animate=function(){return __awaiter(this,arguments,void 0,(function(t,i){var r=this;if(t===void 0){t=0}if(i===void 0){i=true}return __generator(this,(function(e){return[2,new Promise((function(e){if(r.currentRaf!==undefined){cancelAnimationFrame(r.currentRaf)}r.currentRaf=raf((function(){return __awaiter(r,void 0,void 0,(function(){var r,n,s,o,a,u,h,c,f,d;return __generator(this,(function(l){switch(l.label){case 0:if(!(this.containerEl&&this.innerEl))return[3,2];return[4,this.buildSlide()];case 1:r=l.sent();if(r){n=r.transformNext||0;s=this.innerEl.clientWidth||0;if(n===0||s===0){return[2,e(false)]}o=n-s;if(this.itemsPerView===3){o=n-s-1}a=o<=t;u=t===0||o<=2;if(u){this.index=0}h=this.controls==="small";c=this.controls==="large";this.noNeedForControls=n<=s;f=this.noNeedForControls?0:a?o:t;if(!u&&!this.noNeedForControls&&(h||c&&!this.component.isMobile)){f=f-(a?0:c?56:48)}this.containerEl.style.transitionDuration=i?"0.6s":"0";this.containerEl.style.transform="translate3d(-".concat(f,"px, 0px, 0px)");d=f!==this.previousTransformValue;this.previousTransformValue=f;this.isLastSlideVisible=a;if(this.borderEl){this.borderEl.style.transitionDuration=i?"0.6s":"0";this.borderEl.style.transform="translate3d(".concat(f,"px, 0px, 0px)")}this.component.hasAnimated=true;if(!d){return[2,e(false)]}return[2,e(true)]}l.label=2;case 2:return[2]}}))}))}))}))]}))}))};return t}();var SwiperIds=0;export{SwiperUtil as S,getWidthOfOverflowingChildren as a,getComputedPadding as g,toKebabCase as t};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|