@baloise/ds-core 17.2.4 → 17.2.5-nightly.20250115
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/animation.decorator.js +75 -0
- package/components/bal-app.js +1 -93
- package/components/bal-app2.js +95 -0
- package/components/bal-carousel.js +12 -5
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +262 -0
- package/components/bal-dropdown.js +771 -1
- package/components/bal-hint2.js +1 -1
- package/components/bal-nav.js +72 -48
- package/components/bal-option.js +166 -1
- package/components/bal-segment.js +27 -10
- package/components/bal-select-option.js +1 -45
- package/components/bal-select-option2.js +47 -0
- package/components/bal-select.js +1 -847
- package/components/bal-select2.js +849 -0
- package/components/bal-tabs2.js +67 -35
- package/components/helpers.js +1 -1
- package/components/index.js +5 -304
- package/components/initialize.js +303 -0
- package/components/keyboard.helpers.js +1 -1
- package/components/resize.decorator.js +5 -5
- package/components/swiper.util.js +1 -18
- package/components/tokens.esm.js +1 -1
- package/components/visibility.decorator.js +88 -0
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-10ebc871f4.system.entry.js → p-0640709738.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-079850e6.system.js +1 -0
- package/dist/baloise-design-system/p-0b8169c8.js +1 -0
- package/dist/baloise-design-system/p-0bcf20ca69.entry.js +1 -0
- package/dist/baloise-design-system/{p-24e594cd49.entry.js → p-0c3b2d6c8e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6b79e568.js → p-0d7b7182.js} +1 -1
- package/dist/baloise-design-system/{p-46b7cb48d1.entry.js → p-0dd411c03e.entry.js} +1 -1
- package/dist/baloise-design-system/p-0e323fe0.system.js +1 -1
- package/dist/baloise-design-system/{p-c13b1376.system.js → p-0f397293.system.js} +1 -1
- package/dist/baloise-design-system/{p-ff7903eb.js → p-12edf09f.js} +1 -1
- package/dist/baloise-design-system/{p-770f4365f6.system.entry.js → p-14c3418170.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ba4c1ed8a8.entry.js → p-1b11517535.entry.js} +1 -1
- package/dist/baloise-design-system/p-1c191e7d.js +1 -0
- package/dist/baloise-design-system/{p-56cf1ab1.system.js → p-1d22490c.system.js} +1 -1
- package/dist/baloise-design-system/{p-97cd0b900d.system.entry.js → p-1df848f9fc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e099fd9574.entry.js → p-28f96ad58b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e0377a6d84.entry.js → p-32faec4f65.entry.js} +1 -1
- package/dist/baloise-design-system/{p-52cad6cf9f.entry.js → p-36db598b9c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a71cc6d652.entry.js → p-36fe1faedd.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5b85dec39b.system.entry.js → p-38ca9dfde3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-54ce8c3c.js → p-3980a0a4.js} +1 -1
- package/dist/baloise-design-system/{p-47d7e166.system.js → p-3a1bf825.system.js} +1 -1
- package/dist/baloise-design-system/{p-ccd2ef1106.entry.js → p-3bd47497b5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0c28f0a46f.system.entry.js → p-3d5dc774f4.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-878cb7914d.entry.js → p-41931a0925.entry.js} +1 -1
- package/dist/baloise-design-system/{p-16baa62182.system.entry.js → p-440f0ed2a6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-37f892f6dc.entry.js → p-448f3dcc96.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2abbd888.js → p-45b89d22.js} +1 -1
- package/dist/baloise-design-system/p-45e4eac2d1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-498c20ac2a.system.entry.js → p-4b7fd117bc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0933f23da2.system.entry.js → p-4c030e87cf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cad154ad.js → p-4e9084dc.js} +1 -1
- package/dist/baloise-design-system/{p-0400a0cd.system.js → p-55269db4.system.js} +1 -1
- package/dist/baloise-design-system/{p-b77d63ca25.entry.js → p-5591d69c49.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4a80e2c1.system.js → p-56c370cb.system.js} +1 -1
- package/dist/baloise-design-system/p-58d2a0b5.system.js +1 -0
- package/dist/baloise-design-system/{p-27a8f7d1e4.system.entry.js → p-5b93e0df0c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9618956a56.system.entry.js → p-5d2479f2ea.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1334e37be0.system.entry.js → p-5f234e78f6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8360204072.entry.js → p-62251008b0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c642582c09.system.entry.js → p-66df17135c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-6724721b32.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-1ae4dca673.system.entry.js → p-6e6f2f3713.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f7cbcbdbfa.system.entry.js → p-6f7ae58c42.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-932a19ea57.entry.js → p-7449aea98b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3df52a1f.js → p-744daf78.js} +1 -1
- package/dist/baloise-design-system/{p-6cdd068206.system.entry.js → p-769dd49917.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-761cb0e801.system.entry.js → p-79554c4acd.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9db35d91.js → p-7a6a128f.js} +1 -1
- package/dist/baloise-design-system/{p-85479ae3cf.system.entry.js → p-826df305a1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-953cc30ae9.system.entry.js → p-8387007c23.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9ad648deea.system.entry.js → p-85e3b067cf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-524edfe610.system.entry.js → p-87458c9059.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8782ba61.system.js +1 -0
- package/dist/baloise-design-system/{p-b1d0256f19.system.entry.js → p-899bc0be9d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f2c398a3.system.js → p-89aaadaf.system.js} +1 -1
- package/dist/baloise-design-system/{p-2a8e0e7149.entry.js → p-8a47461794.entry.js} +1 -1
- package/dist/baloise-design-system/{p-60f5e5faa6.entry.js → p-8b386e9117.entry.js} +1 -1
- package/dist/baloise-design-system/{p-af0f549439.entry.js → p-8baa40b8d9.entry.js} +1 -1
- package/dist/baloise-design-system/p-8c24fdcf6c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-dc6d33fc89.entry.js → p-8d52145b77.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e21ccd9856.entry.js → p-921b0836e1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fabb559661.entry.js → p-96780bdefd.entry.js} +1 -1
- package/dist/baloise-design-system/p-98ef262c8c.entry.js +1 -0
- package/dist/baloise-design-system/{p-7256aa5d97.entry.js → p-9b2657ef04.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2db0f14a2d.system.entry.js → p-a1952399c3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8227e41299.entry.js → p-a6ff014e4c.entry.js} +1 -1
- package/dist/baloise-design-system/p-ac8a545a5d.entry.js +1 -0
- package/dist/baloise-design-system/p-ad5039de.system.js +1 -0
- package/dist/baloise-design-system/{p-b0a4d40a.js → p-af05a53e.js} +1 -1
- package/dist/baloise-design-system/p-b11c8e09e1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-bcbc8278e2.system.entry.js → p-b1c33848fa.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cd9be615a4.entry.js → p-b4576f5814.entry.js} +1 -1
- package/dist/baloise-design-system/{p-18267b1371.system.entry.js → p-b55c42a4a9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c0e04c2072.system.entry.js → p-bfa5f3ae60.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c0397a3faa.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-c3877f26cd.entry.js → p-c26fb79884.entry.js} +1 -1
- package/dist/baloise-design-system/p-c4088d90.js +1 -0
- package/dist/baloise-design-system/{p-e430294632.entry.js → p-c487d3770e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-97f3a682.system.js → p-c6a673f7.system.js} +1 -1
- package/dist/baloise-design-system/{p-ed32b0b9.system.js → p-c6dfe80e.system.js} +1 -1
- package/dist/baloise-design-system/{p-39d3eeef8e.entry.js → p-c844e6fbc9.entry.js} +1 -1
- package/dist/baloise-design-system/{p-96122c3e5b.entry.js → p-c8bd61c717.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bb7183cd00.entry.js → p-c8db6fb15f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-455872a1.system.js → p-c9b8e360.system.js} +1 -1
- package/dist/baloise-design-system/{p-936070bf.system.js → p-cb045ca0.system.js} +1 -1
- package/dist/baloise-design-system/{p-713640e3ac.system.entry.js → p-cb3920cc26.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-73bec757.js → p-cc35663d.js} +1 -1
- package/dist/baloise-design-system/{p-81894fe8.js → p-cc8cfbf3.js} +1 -1
- package/dist/baloise-design-system/{p-81a3bee001.entry.js → p-d0066a5950.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8f217b03.system.js → p-d1b12bcd.system.js} +1 -1
- package/dist/baloise-design-system/{p-6933b37a08.entry.js → p-d306ec28cf.entry.js} +1 -1
- package/dist/baloise-design-system/{p-67d61a81.js → p-d516d3b1.js} +1 -1
- package/dist/baloise-design-system/{p-42f532a0a8.entry.js → p-d568852b4c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-58a0e8df48.entry.js → p-d60b2e3878.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a2090a9d.system.js → p-d9b32333.system.js} +1 -1
- package/dist/baloise-design-system/{p-90a9f56d71.system.entry.js → p-ddcc5387b5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7cb2ead5.system.js → p-df35ddb8.system.js} +1 -1
- package/dist/baloise-design-system/{p-f7f06d0340.entry.js → p-e283e1cf22.entry.js} +1 -1
- package/dist/baloise-design-system/{p-356f75fd58.system.entry.js → p-e2c3dde206.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-31b6055d92.system.entry.js → p-e3b0312116.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e3b84ed330.entry.js +1 -0
- package/dist/baloise-design-system/{p-90a51218.js → p-e3c1d653.js} +1 -1
- package/dist/baloise-design-system/p-e53217f8.js +1 -1
- package/dist/baloise-design-system/p-e573491b.system.js +1 -0
- package/dist/baloise-design-system/{p-2e830170.system.js → p-e7150a50.system.js} +1 -1
- package/dist/baloise-design-system/{p-b96fd49d.system.js → p-e7d20c82.system.js} +1 -1
- package/dist/baloise-design-system/p-e9445f4362.entry.js +1 -0
- package/dist/baloise-design-system/{p-3541dd16.js → p-ebf5cc68.js} +1 -1
- package/dist/baloise-design-system/p-ee379377.js +1 -0
- package/dist/baloise-design-system/{p-657a3eb3ee.system.entry.js → p-ee53e7c9f6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dbc7c601d3.entry.js → p-f0200d8f09.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ff46a92a47.system.entry.js → p-f089f4c8c8.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-66d49670b0.system.entry.js → p-f35275e46a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-19162db1a6.system.entry.js → p-f47bafc866.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-47de946676.system.entry.js → p-f5d884a6fa.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-296c7825b7.entry.js → p-f5e11c86e5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-21f87590.js → p-f64319f1.js} +1 -1
- package/dist/baloise-design-system/{p-d0e23ec9f1.entry.js → p-f6f3d8cad0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-18ce5177f9.entry.js → p-f8ca0ec73a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-87b8b65bf6.system.entry.js → p-fba0f8c711.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bb0a588d09.system.entry.js → p-fff8faa67f.system.entry.js} +1 -1
- package/dist/cjs/animation.decorator-d160ba91.js +77 -0
- package/dist/cjs/app-globals-25e25924.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +2 -2
- package/dist/cjs/bal-app.cjs.entry.js +1 -1
- package/dist/cjs/bal-button_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +22 -15
- package/dist/cjs/bal-checkbox-button.cjs.entry.js +3 -3
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -2
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-date.cjs.entry.js +3 -3
- package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/bal-field_5.cjs.entry.js +2 -2
- package/dist/cjs/bal-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/bal-footer.cjs.entry.js +1 -1
- package/dist/cjs/bal-form.cjs.entry.js +1 -1
- package/dist/cjs/bal-hint_5.cjs.entry.js +5 -5
- package/dist/cjs/bal-input-slider.cjs.entry.js +2 -2
- package/dist/cjs/bal-input-stepper.cjs.entry.js +2 -2
- package/dist/cjs/bal-input.cjs.entry.js +2 -2
- package/dist/cjs/bal-list_8.cjs.entry.js +5 -5
- package/dist/cjs/bal-logo.cjs.entry.js +4 -4
- package/dist/cjs/bal-modal_3.cjs.entry.js +2 -2
- package/dist/cjs/bal-nav_8.cjs.entry.js +6 -6
- package/dist/cjs/bal-navbar_5.cjs.entry.js +4 -4
- package/dist/cjs/bal-number-input.cjs.entry.js +2 -2
- package/dist/cjs/bal-option_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
- package/dist/cjs/bal-popup.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/bal-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/bal-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-segment_2.cjs.entry.js +31 -14
- package/dist/cjs/bal-select_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +6 -6
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +45 -31
- package/dist/cjs/bal-textarea.cjs.entry.js +2 -2
- package/dist/cjs/bal-time-input.cjs.entry.js +2 -2
- 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-e22cc15e.js → breakpoints.decorator-cfbd4db9.js} +1 -1
- package/dist/cjs/{breakpoints.subject-5f803b3c.js → breakpoints.subject-7caa8c48.js} +2 -2
- package/dist/cjs/{element-states.decorator-e2bc15ed.js → element-states.decorator-f79681aa.js} +1 -1
- package/dist/cjs/{floating-ui-24577c09.js → floating-ui-5cc3a363.js} +1 -1
- package/dist/cjs/{focus.decorator-b93456af.js → focus.decorator-e6050e24.js} +1 -1
- package/dist/cjs/{form-input-e4fdf58e.js → form-input-be32df30.js} +1 -1
- package/dist/cjs/{app-globals-a3f2765f.js → global-85ebe098.js} +2 -4
- package/dist/cjs/{helpers-94660ab2.js → helpers-240da822.js} +1 -1
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/initialize-367b85e5.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{mutation.decorator-a000b7ef.js → mutation.decorator-249a9606.js} +1 -1
- package/dist/cjs/{overlays-4c465543.js → overlays-e408bbaf.js} +1 -1
- package/dist/cjs/{resize.decorator-62d31afa.js → resize.decorator-ebed89a1.js} +5 -5
- package/dist/cjs/{swipe.decorator-447ae00e.js → swipe.decorator-8ff8dd2c.js} +1 -1
- package/dist/cjs/{swipe.subject-6deb82da.js → swipe.subject-00bf8c8f.js} +1 -1
- package/dist/cjs/{swiper.util-abdf50f1.js → swiper.util-ef01dd7a.js} +3 -20
- package/dist/cjs/{tokens.esm-e91514ff.js → tokens.esm-53682e74.js} +1 -1
- package/dist/cjs/visibility.decorator-dc8cec8a.js +90 -0
- package/dist/cjs/{window-resize.decorator-17c9b489.js → window-resize.decorator-b5708580.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/bal-carousel/bal-carousel.css +1 -1
- package/dist/collection/components/bal-carousel/bal-carousel.js +11 -4
- package/dist/collection/components/bal-hint/bal-hint.css +1 -1
- package/dist/collection/components/bal-segment/bal-segment.js +25 -14
- package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
- package/dist/collection/components/bal-tabs/bal-tabs.js +33 -31
- package/dist/collection/components/bal-tabs/components/tab-select.js +2 -2
- 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/animation/animation.decorator.js +23 -0
- package/dist/collection/utils/animation/animation.interfaces.js +1 -0
- package/dist/collection/utils/animation/animation.listener.js +30 -0
- package/dist/collection/utils/animation/animation.subject.js +20 -0
- package/dist/collection/utils/animation/index.js +2 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/resize/resize.listener.js +4 -4
- package/dist/collection/utils/resize/resize.subject.js +2 -1
- package/dist/collection/utils/swiper/controls/dot-control.js +1 -1
- package/dist/collection/utils/swiper/swiper.util.js +0 -17
- package/dist/collection/utils/visibility/index.js +2 -0
- package/dist/collection/utils/visibility/visibility.decorator.js +23 -0
- package/dist/collection/utils/visibility/visibility.interfaces.js +1 -0
- package/dist/collection/utils/visibility/visibility.listener.js +41 -0
- package/dist/collection/utils/visibility/visibility.subject.js +23 -0
- package/dist/esm/animation.decorator-903bd4d2.js +75 -0
- package/dist/esm/app-globals-83570026.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +2 -2
- package/dist/esm/bal-app.entry.js +1 -1
- package/dist/esm/bal-button_2.entry.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +22 -15
- package/dist/esm/bal-checkbox-button.entry.js +3 -3
- package/dist/esm/bal-checkbox_2.entry.js +4 -4
- package/dist/esm/bal-date-calendar-cell.entry.js +2 -2
- package/dist/esm/bal-date-calendar_2.entry.js +4 -4
- package/dist/esm/bal-date.entry.js +3 -3
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-dropdown.entry.js +3 -3
- package/dist/esm/bal-field_5.entry.js +2 -2
- package/dist/esm/bal-file-upload.entry.js +2 -2
- package/dist/esm/bal-footer.entry.js +1 -1
- package/dist/esm/bal-form.entry.js +1 -1
- package/dist/esm/bal-hint_5.entry.js +5 -5
- package/dist/esm/bal-input-slider.entry.js +2 -2
- package/dist/esm/bal-input-stepper.entry.js +2 -2
- package/dist/esm/bal-input.entry.js +2 -2
- package/dist/esm/bal-list_8.entry.js +5 -5
- package/dist/esm/bal-logo.entry.js +4 -4
- package/dist/esm/bal-modal_3.entry.js +2 -2
- package/dist/esm/bal-nav_8.entry.js +6 -6
- package/dist/esm/bal-navbar_5.entry.js +4 -4
- package/dist/esm/bal-number-input.entry.js +2 -2
- package/dist/esm/bal-option_2.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +4 -4
- package/dist/esm/bal-popup.entry.js +3 -3
- package/dist/esm/bal-progress-bar.entry.js +5 -5
- package/dist/esm/bal-radio-button.entry.js +3 -3
- package/dist/esm/bal-radio_2.entry.js +4 -4
- package/dist/esm/bal-segment_2.entry.js +31 -14
- package/dist/esm/bal-select_2.entry.js +2 -2
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +6 -6
- package/dist/esm/bal-tab-item_2.entry.js +45 -31
- package/dist/esm/bal-textarea.entry.js +2 -2
- package/dist/esm/bal-time-input.entry.js +2 -2
- package/dist/esm/bal-tooltip.entry.js +2 -2
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-01f6809e.js → breakpoints.decorator-246ea7b5.js} +1 -1
- package/dist/esm/{breakpoints.subject-cc740608.js → breakpoints.subject-35e43013.js} +2 -2
- package/dist/esm/{element-states.decorator-4cf6af31.js → element-states.decorator-200c85c8.js} +1 -1
- package/dist/esm/{floating-ui-922202fe.js → floating-ui-f930810d.js} +1 -1
- package/dist/esm/{focus.decorator-c2c05d01.js → focus.decorator-a6de858a.js} +1 -1
- package/dist/esm/{form-input-1f3d8337.js → form-input-a5a2b129.js} +1 -1
- package/dist/esm/{app-globals-92fef8fd.js → global-88c7b04e.js} +2 -4
- package/dist/esm/{helpers-32d9e1cc.js → helpers-21ff73ef.js} +2 -2
- package/dist/esm/index.js +7 -7
- package/dist/esm/initialize-22c1bebc.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{mutation.decorator-0c202bed.js → mutation.decorator-07d5ba75.js} +1 -1
- package/dist/esm/{overlays-fa0ccf81.js → overlays-b7ba3a20.js} +1 -1
- package/dist/esm/{resize.decorator-bd416c47.js → resize.decorator-28179d27.js} +5 -5
- package/dist/esm/{swipe.decorator-20f4a0cb.js → swipe.decorator-b46cda4b.js} +1 -1
- package/dist/esm/{swipe.subject-e3db5994.js → swipe.subject-1d0412f1.js} +1 -1
- package/dist/esm/{swiper.util-0589b550.js → swiper.util-21981c17.js} +3 -20
- package/dist/esm/{tokens.esm-ddf14bd4.js → tokens.esm-66f8b8c3.js} +1 -1
- package/dist/esm/visibility.decorator-d0cac6a6.js +88 -0
- package/dist/esm/{window-resize.decorator-b9d3c86c.js → window-resize.decorator-a19d2974.js} +1 -1
- package/dist/esm-es5/animation.decorator-903bd4d2.js +1 -0
- package/dist/esm-es5/app-globals-83570026.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-button_2.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-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-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.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.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-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-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-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.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-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-246ea7b5.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-cc740608.js → breakpoints.subject-35e43013.js} +1 -1
- package/dist/esm-es5/{element-states.decorator-4cf6af31.js → element-states.decorator-200c85c8.js} +1 -1
- package/dist/esm-es5/{floating-ui-922202fe.js → floating-ui-f930810d.js} +1 -1
- package/dist/esm-es5/{focus.decorator-c2c05d01.js → focus.decorator-a6de858a.js} +1 -1
- package/dist/esm-es5/{form-input-1f3d8337.js → form-input-a5a2b129.js} +1 -1
- package/dist/esm-es5/global-88c7b04e.js +1 -0
- package/dist/esm-es5/{helpers-32d9e1cc.js → helpers-21ff73ef.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-22c1bebc.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{mutation.decorator-0c202bed.js → mutation.decorator-07d5ba75.js} +1 -1
- package/dist/esm-es5/{overlays-fa0ccf81.js → overlays-b7ba3a20.js} +1 -1
- package/dist/esm-es5/{resize.decorator-bd416c47.js → resize.decorator-28179d27.js} +1 -1
- package/dist/esm-es5/{swipe.decorator-20f4a0cb.js → swipe.decorator-b46cda4b.js} +1 -1
- package/dist/esm-es5/{swipe.subject-e3db5994.js → swipe.subject-1d0412f1.js} +1 -1
- package/dist/esm-es5/swiper.util-21981c17.js +1 -0
- package/dist/esm-es5/visibility.decorator-d0cac6a6.js +1 -0
- package/dist/esm-es5/{window-resize.decorator-b9d3c86c.js → window-resize.decorator-a19d2974.js} +1 -1
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +3 -2
- package/dist/types/components/bal-segment/bal-segment.d.ts +5 -2
- package/dist/types/components/bal-tabs/bal-tabs.d.ts +5 -3
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +37 -0
- 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/animation/animation.decorator.d.ts +3 -0
- package/dist/types/utils/animation/animation.interfaces.d.ts +7 -0
- package/dist/types/utils/animation/animation.listener.d.ts +9 -0
- package/dist/types/utils/animation/animation.subject.d.ts +9 -0
- package/dist/types/utils/animation/index.d.ts +2 -0
- package/dist/types/utils/helpers.d.ts +1 -1
- package/dist/types/utils/swiper/swiper.util.d.ts +0 -1
- package/dist/types/utils/visibility/index.d.ts +2 -0
- package/dist/types/utils/visibility/visibility.decorator.d.ts +3 -0
- package/dist/types/utils/visibility/visibility.interfaces.d.ts +4 -0
- package/dist/types/utils/visibility/visibility.listener.d.ts +9 -0
- package/dist/types/utils/visibility/visibility.subject.d.ts +9 -0
- package/package.json +7 -7
- package/components/bal-dropdown2.js +0 -773
- package/components/bal-option2.js +0 -168
- package/dist/baloise-design-system/p-12ff7815.js +0 -1
- package/dist/baloise-design-system/p-288461e687.system.entry.js +0 -1
- package/dist/baloise-design-system/p-349d1c26c6.entry.js +0 -1
- package/dist/baloise-design-system/p-39dba60e75.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5622c208.system.js +0 -1
- package/dist/baloise-design-system/p-70f7b546.system.js +0 -1
- package/dist/baloise-design-system/p-78ba217818.entry.js +0 -1
- package/dist/baloise-design-system/p-7b6c84c359.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b3e4339305.entry.js +0 -1
- package/dist/baloise-design-system/p-ef436fd645.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f67047f5ce.entry.js +0 -1
- package/dist/esm-es5/app-globals-92fef8fd.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-01f6809e.js +0 -1
- package/dist/esm-es5/swiper.util-0589b550.js +0 -1
- /package/dist/baloise-design-system/{p-c9bb496a.system.js → p-6f8e0ebc.system.js} +0 -0
- /package/dist/baloise-design-system/{p-1837eab3.js → p-a2ec67f5.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-ddf14bd4.js → tokens.esm-66f8b8c3.js} +0 -0
package/components/all.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
|
|
|
27
27
|
import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
|
|
28
28
|
import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
|
|
29
29
|
import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
|
|
30
|
+
import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
|
|
30
31
|
import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
|
|
31
32
|
import { BalField, defineCustomElement as defineBalField } from './bal-field'
|
|
32
33
|
import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
|
|
@@ -144,6 +145,7 @@ export { BalDate, defineBalDate }
|
|
|
144
145
|
export { BalDateCalendar, defineBalDateCalendar }
|
|
145
146
|
export { BalDateCalendarCell, defineBalDateCalendarCell }
|
|
146
147
|
export { BalDivider, defineBalDivider }
|
|
148
|
+
export { BalDocApp, defineBalDocApp }
|
|
147
149
|
export { BalDropdown, defineBalDropdown }
|
|
148
150
|
export { BalField, defineBalField }
|
|
149
151
|
export { BalFieldControl, defineBalFieldControl }
|
package/components/all.js
CHANGED
|
@@ -27,6 +27,7 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
|
|
|
27
27
|
import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
|
|
28
28
|
import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
|
|
29
29
|
import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
|
|
30
|
+
import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
|
|
30
31
|
import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
|
|
31
32
|
import { BalField, defineCustomElement as defineBalField } from './bal-field'
|
|
32
33
|
import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
|
|
@@ -144,6 +145,7 @@ export { BalDate, defineBalDate }
|
|
|
144
145
|
export { BalDateCalendar, defineBalDateCalendar }
|
|
145
146
|
export { BalDateCalendarCell, defineBalDateCalendarCell }
|
|
146
147
|
export { BalDivider, defineBalDivider }
|
|
148
|
+
export { BalDocApp, defineBalDocApp }
|
|
147
149
|
export { BalDropdown, defineBalDropdown }
|
|
148
150
|
export { BalField, defineBalField }
|
|
149
151
|
export { BalFieldControl, defineBalFieldControl }
|
|
@@ -262,6 +264,7 @@ export const defineAllComponents = () => {
|
|
|
262
264
|
defineBalDateCalendar()
|
|
263
265
|
defineBalDateCalendarCell()
|
|
264
266
|
defineBalDivider()
|
|
267
|
+
defineBalDocApp()
|
|
265
268
|
defineBalDropdown()
|
|
266
269
|
defineBalField()
|
|
267
270
|
defineBalFieldControl()
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { k as debounce, v as isChildOfEventTarget, l as addEventListener, r as removeEventListener } from './helpers.js';
|
|
2
|
+
import { L as ListenerAbstract, a as SingleSubject } from './listener.js';
|
|
3
|
+
|
|
4
|
+
class BalAnimationListener extends ListenerAbstract {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments);
|
|
7
|
+
this.debouncedNotify = debounce(target => this.notify({ target }), 42);
|
|
8
|
+
this.callbackWillAnimate = (ev) => {
|
|
9
|
+
isChildOfEventTarget(ev, this.el, target => this.debouncedNotify(target));
|
|
10
|
+
};
|
|
11
|
+
this.callbackDidAnimate = (ev) => {
|
|
12
|
+
isChildOfEventTarget(ev, this.el, target => this.debouncedNotify(target));
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
connect(el) {
|
|
16
|
+
super.connect(el);
|
|
17
|
+
const win = window;
|
|
18
|
+
if (win) {
|
|
19
|
+
addEventListener(win, 'balWillAnimate', this.callbackWillAnimate, { passive: true });
|
|
20
|
+
addEventListener(win, 'balDidAnimate', this.callbackDidAnimate, { passive: true });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
disconnect() {
|
|
24
|
+
super.disconnect();
|
|
25
|
+
const win = window;
|
|
26
|
+
if (win) {
|
|
27
|
+
removeEventListener(win, 'balWillAnimate', this.callbackWillAnimate);
|
|
28
|
+
removeEventListener(win, 'balDidAnimate', this.callbackDidAnimate);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
class BalAnimationSubject extends SingleSubject {
|
|
34
|
+
constructor() {
|
|
35
|
+
super((observer, data) => {
|
|
36
|
+
observer.animationListener(data);
|
|
37
|
+
});
|
|
38
|
+
this.listener = new BalAnimationListener();
|
|
39
|
+
}
|
|
40
|
+
attach(observer) {
|
|
41
|
+
super.attach(observer);
|
|
42
|
+
this.listener.connect(observer.el);
|
|
43
|
+
this.listener.add(info => super.notify(info));
|
|
44
|
+
}
|
|
45
|
+
detach() {
|
|
46
|
+
super.detach();
|
|
47
|
+
this.listener.disconnect();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
new BalAnimationSubject();
|
|
51
|
+
|
|
52
|
+
function ListenToAnimation() {
|
|
53
|
+
return function (target, _propertyKey, _descriptor) {
|
|
54
|
+
const { connectedCallback, componentDidLoad, disconnectedCallback } = target;
|
|
55
|
+
target.connectedCallback = function () {
|
|
56
|
+
if (!this._balAnimationSubject) {
|
|
57
|
+
this._balAnimationSubject = new BalAnimationSubject();
|
|
58
|
+
}
|
|
59
|
+
return connectedCallback && connectedCallback.call(this);
|
|
60
|
+
};
|
|
61
|
+
target.componentDidLoad = function () {
|
|
62
|
+
this._balAnimationSubject.attach(this);
|
|
63
|
+
return componentDidLoad && componentDidLoad.call(this);
|
|
64
|
+
};
|
|
65
|
+
target.disconnectedCallback = function () {
|
|
66
|
+
if (this._balAnimationSubject) {
|
|
67
|
+
this._balAnimationSubject.detach();
|
|
68
|
+
this._balAnimationSubject = undefined;
|
|
69
|
+
}
|
|
70
|
+
return disconnectedCallback && disconnectedCallback.call(this);
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { ListenToAnimation as L };
|
package/components/bal-app.js
CHANGED
|
@@ -1,96 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import { b as balBrowser } from './browser.js';
|
|
4
|
-
import { b as balDevice } from './device.js';
|
|
5
|
-
import { k as debounce, p as rIC, m as rOnLoad } from './helpers.js';
|
|
6
|
-
import { L as Logger } from './log.js';
|
|
7
|
-
import { s as startFocusVisible } from './focus-visible.js';
|
|
8
|
-
import { b as updateBalAnimated } from './config.utils.js';
|
|
9
|
-
|
|
10
|
-
const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative}.lcp-wait{opacity:0;visibility:hidden;display:none}.lcp-ready .lcp-wait{opacity:inherit;visibility:inherit;display:inherit}";
|
|
11
|
-
const BalAppStyle0 = balAppCss;
|
|
12
|
-
|
|
13
|
-
const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
14
|
-
constructor() {
|
|
15
|
-
super();
|
|
16
|
-
this.__registerHost();
|
|
17
|
-
this.debouncedNotify = debounce(() => this.notifyResize(), 100);
|
|
18
|
-
this.notifyResize = async () => {
|
|
19
|
-
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
20
|
-
const doc = document.documentElement;
|
|
21
|
-
doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
this.animated = true;
|
|
25
|
-
this.ready = false;
|
|
26
|
-
}
|
|
27
|
-
createLogger(log) {
|
|
28
|
-
this.log = log;
|
|
29
|
-
}
|
|
30
|
-
connectedCallback() {
|
|
31
|
-
if (this.animated === false) {
|
|
32
|
-
updateBalAnimated(this.animated);
|
|
33
|
-
}
|
|
34
|
-
if (balBrowser.hasWindow) {
|
|
35
|
-
window.addEventListener('resize', this.debouncedNotify);
|
|
36
|
-
this.debouncedNotify();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
componentDidLoad() {
|
|
40
|
-
rIC(() => {
|
|
41
|
-
this.ready = true;
|
|
42
|
-
startFocusVisible();
|
|
43
|
-
});
|
|
44
|
-
rOnLoad(() => {
|
|
45
|
-
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
46
|
-
const doc = document.documentElement;
|
|
47
|
-
doc.classList.add('lcp-ready');
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
disconnectedCallback() {
|
|
52
|
-
if (balBrowser.hasWindow) {
|
|
53
|
-
window.removeEventListener('resize', this.debouncedNotify);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
async setFocus(elements) {
|
|
57
|
-
if (this.focusVisible) {
|
|
58
|
-
this.focusVisible.setFocus(elements);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
render() {
|
|
62
|
-
return (h(Host, { key: '29fef05a451290e2e20dc6808d1cce03ec1b1c4c', class: {
|
|
63
|
-
'bal-app': true,
|
|
64
|
-
'bal-app--safari': balBrowser.isSafari,
|
|
65
|
-
'bal-app--touch': balDevice.hasTouchScreen,
|
|
66
|
-
} }, h("slot", { key: 'd54179394cb4d9882647d497e09495193d57a12d' })));
|
|
67
|
-
}
|
|
68
|
-
get el() { return this; }
|
|
69
|
-
static get style() { return BalAppStyle0; }
|
|
70
|
-
}, [4, "bal-app", {
|
|
71
|
-
"animated": [516],
|
|
72
|
-
"ready": [1540],
|
|
73
|
-
"setFocus": [64]
|
|
74
|
-
}]);
|
|
75
|
-
__decorate([
|
|
76
|
-
Logger('bal-app'),
|
|
77
|
-
__metadata("design:type", Function),
|
|
78
|
-
__metadata("design:paramtypes", [Function]),
|
|
79
|
-
__metadata("design:returntype", void 0)
|
|
80
|
-
], App.prototype, "createLogger", null);
|
|
81
|
-
function defineCustomElement$1() {
|
|
82
|
-
if (typeof customElements === "undefined") {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
const components = ["bal-app"];
|
|
86
|
-
components.forEach(tagName => { switch (tagName) {
|
|
87
|
-
case "bal-app":
|
|
88
|
-
if (!customElements.get(tagName)) {
|
|
89
|
-
customElements.define(tagName, App);
|
|
90
|
-
}
|
|
91
|
-
break;
|
|
92
|
-
} });
|
|
93
|
-
}
|
|
1
|
+
import { A as App, d as defineCustomElement$1 } from './bal-app2.js';
|
|
94
2
|
|
|
95
3
|
const BalApp = App;
|
|
96
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
+
import { b as balBrowser } from './browser.js';
|
|
4
|
+
import { b as balDevice } from './device.js';
|
|
5
|
+
import { k as debounce, p as rIC, m as rOnLoad } from './helpers.js';
|
|
6
|
+
import { L as Logger } from './log.js';
|
|
7
|
+
import { s as startFocusVisible } from './focus-visible.js';
|
|
8
|
+
import { b as updateBalAnimated } from './config.utils.js';
|
|
9
|
+
|
|
10
|
+
const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative}.lcp-wait{opacity:0;visibility:hidden;display:none}.lcp-ready .lcp-wait{opacity:inherit;visibility:inherit;display:inherit}";
|
|
11
|
+
const BalAppStyle0 = balAppCss;
|
|
12
|
+
|
|
13
|
+
const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
this.debouncedNotify = debounce(() => this.notifyResize(), 100);
|
|
18
|
+
this.notifyResize = async () => {
|
|
19
|
+
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
20
|
+
const doc = document.documentElement;
|
|
21
|
+
doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
this.animated = true;
|
|
25
|
+
this.ready = false;
|
|
26
|
+
}
|
|
27
|
+
createLogger(log) {
|
|
28
|
+
this.log = log;
|
|
29
|
+
}
|
|
30
|
+
connectedCallback() {
|
|
31
|
+
if (this.animated === false) {
|
|
32
|
+
updateBalAnimated(this.animated);
|
|
33
|
+
}
|
|
34
|
+
if (balBrowser.hasWindow) {
|
|
35
|
+
window.addEventListener('resize', this.debouncedNotify);
|
|
36
|
+
this.debouncedNotify();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
componentDidLoad() {
|
|
40
|
+
rIC(() => {
|
|
41
|
+
this.ready = true;
|
|
42
|
+
startFocusVisible();
|
|
43
|
+
});
|
|
44
|
+
rOnLoad(() => {
|
|
45
|
+
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
46
|
+
const doc = document.documentElement;
|
|
47
|
+
doc.classList.add('lcp-ready');
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
disconnectedCallback() {
|
|
52
|
+
if (balBrowser.hasWindow) {
|
|
53
|
+
window.removeEventListener('resize', this.debouncedNotify);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
async setFocus(elements) {
|
|
57
|
+
if (this.focusVisible) {
|
|
58
|
+
this.focusVisible.setFocus(elements);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
return (h(Host, { key: '29fef05a451290e2e20dc6808d1cce03ec1b1c4c', class: {
|
|
63
|
+
'bal-app': true,
|
|
64
|
+
'bal-app--safari': balBrowser.isSafari,
|
|
65
|
+
'bal-app--touch': balDevice.hasTouchScreen,
|
|
66
|
+
} }, h("slot", { key: 'd54179394cb4d9882647d497e09495193d57a12d' })));
|
|
67
|
+
}
|
|
68
|
+
get el() { return this; }
|
|
69
|
+
static get style() { return BalAppStyle0; }
|
|
70
|
+
}, [4, "bal-app", {
|
|
71
|
+
"animated": [516],
|
|
72
|
+
"ready": [1540],
|
|
73
|
+
"setFocus": [64]
|
|
74
|
+
}]);
|
|
75
|
+
__decorate([
|
|
76
|
+
Logger('bal-app'),
|
|
77
|
+
__metadata("design:type", Function),
|
|
78
|
+
__metadata("design:paramtypes", [Function]),
|
|
79
|
+
__metadata("design:returntype", void 0)
|
|
80
|
+
], App.prototype, "createLogger", null);
|
|
81
|
+
function defineCustomElement() {
|
|
82
|
+
if (typeof customElements === "undefined") {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const components = ["bal-app"];
|
|
86
|
+
components.forEach(tagName => { switch (tagName) {
|
|
87
|
+
case "bal-app":
|
|
88
|
+
if (!customElements.get(tagName)) {
|
|
89
|
+
customElements.define(tagName, App);
|
|
90
|
+
}
|
|
91
|
+
break;
|
|
92
|
+
} });
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export { App as A, defineCustomElement as d };
|
|
@@ -9,6 +9,7 @@ import { d as defineCustomElement$3 } from './bal-card2.js';
|
|
|
9
9
|
import { d as defineCustomElement$2 } from './bal-card-content2.js';
|
|
10
10
|
import { S as SwiperUtil } from './swiper.util.js';
|
|
11
11
|
import { L as ListenToMutation } from './mutation.decorator.js';
|
|
12
|
+
import { L as ListenToVisibility } from './visibility.decorator.js';
|
|
12
13
|
import { L as ListenToSwipe } from './swipe.decorator.js';
|
|
13
14
|
import { L as ListenToResize } from './resize.decorator.js';
|
|
14
15
|
import { b as balBreakpoints } from './breakpoints.subject.js';
|
|
@@ -28,7 +29,7 @@ const TabControl = ({ value, items, containerId, onControlChange }) => {
|
|
|
28
29
|
}, role: "tab", "aria-selected": ariaBooleanToString(value === item.value), "aria-controls": containerId + '-' + toKebabCase(item.label), key: item.value, onClick: () => onControlChange(item) }, item.label)))))));
|
|
29
30
|
};
|
|
30
31
|
|
|
31
|
-
const balCarouselCss = ":root{--bal-carousel-inner-border-background:var(--bal-color-border);--bal-carousel-inner-border-background-inverted:var(--bal-color-border-primary-light);--bal-carousel-inner-shadow-left-background-before:var(--bal-color-white);--bal-carousel-inner-shadow-right-background-after:var(--bal-color-white);--bal-carousel-inner-shadow-left-background-inverted-before:var(--bal-color-primary);--bal-carousel-inner-shadow-right-background-inverted-after:var(--bal-color-primary);--bal-carousel-product-item-button-background:var(--bal-color-white);--bal-carousel-product-item-button-background-green:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-hover:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-active:var(--bal-color-green-2);--bal-carousel-product-item-button-background-red:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-hover:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-active:var(--bal-color-red-2);--bal-carousel-product-item-button-background-yellow:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-hover:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-active:var(--bal-color-yellow-2);--bal-carousel-product-item-button-background-purple:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-hover:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-active:var(--bal-color-purple-2);--bal-carousel-inner-border-radius:var(--bal-radius-rounded);--bal-carousel-image-border-radius:var(--bal-radius-normal);--bal-carousel-product-item-button-border-radius:var(--bal-radius-large);--bal-carousel-product-item-button-label-text-color:var(--bal-color-text-primary);--bal-carousel-sticky-top:0}.bal-swiper{position:relative}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;position:relative;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:100%;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;top:calc(50% - 24px);z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;top:calc(50% - 1rem);z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:\"\";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:\"\";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--full-height{height:100%}.bal-carousel__inner--full-height{height:100%}.bal-carousel__inner__container--border{padding-bottom:var(--bal-border-width-normal)}.bal-carousel__inner__container__border{position:absolute;background:var(--bal-carousel-inner-border-background);border-radius:var(--bal-carousel-inner-border-radius);height:var(--bal-border-width-normal);width:100%;bottom:0;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-carousel__inner__container__border--inverted{background:var(--bal-carousel-inner-border-background-inverted)}.bal-carousel__item{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;font-size:var(--bal-text-size-large);min-height:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;round:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:2.5rem}}@media screen and (min-width: 1024px){.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:3rem}}.bal-carousel--card{margin-left:-1rem;margin-right:-1rem}@media screen and (min-width: 769px),print{.bal-carousel--card{margin-left:-2.5rem;margin-right:-2.5rem}}.bal-carousel--card .bal-carousel__controls{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__controls{padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--card .bal-carousel__item{width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__item{width:100%;padding-top:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--controls-sticky .bal-carousel__controls--tabs{position:-webkit-sticky;position:sticky;top:var(--bal-carousel-sticky-top);z-index:var(--bal-z-index-sticky)}.bal-carousel__controls--tabs .bal-card{padding:0}.bal-carousel__controls--tabs .bal-card-content{padding:.5rem !important;gap:.5rem;display:-ms-flexbox;display:flex}.bal-carousel__controls--tabs .bal-card-content .bal-button{-ms-flex:1;flex:1}.bal-carousel__controls--tabs .bal-card-content .bal-button .button{padding:.5rem !important}.bal-carousel--image .bal-carousel__inner{border-radius:var(--bal-carousel-image-border-radius)}.bal-carousel--image .bal-carousel__inner--is-1by1{padding-top:100%}.bal-carousel--image .bal-carousel__inner--is-16by9{padding-top:56.25%}.bal-carousel--image .bal-carousel__inner--is-3by2{padding-top:66.66%}.bal-carousel--image .bal-carousel__inner--is-4by3{padding-top:75%}.bal-carousel--image .bal-carousel__inner__container{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%}.bal-carousel--image .bal-carousel__item{position:relative;-ms-flex:0 0 100%;flex:0 0 100%}.bal-carousel--image .bal-carousel__item>img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-drag:none;user-zoom:fixed}.bal-carousel--product .bal-carousel__inner__container{gap:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:.5rem;padding-bottom:.5rem}.bal-carousel--product .bal-carousel__item{display:-ms-flexbox;display:flex;min-width:10rem;max-width:10rem;height:11rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item__button{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:1rem;border-radius:var(--bal-carousel-product-item-button-border-radius);padding:var(--bal-text-size-x-small);border:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;background:var(--bal-carousel-product-item-button-background)}@media (hover: hover)and (pointer: fine){.bal-carousel--product .bal-carousel__item__button:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-green{background:var(--bal-carousel-product-item-button-background-green)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-green:hover{background:var(--bal-carousel-product-item-button-background-green-hover)}.bal-carousel--product .bal-carousel__item__button--color-green:active{background:var(--bal-carousel-product-item-button-background-green-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-red{background:var(--bal-carousel-product-item-button-background-red)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-red:hover{background:var(--bal-carousel-product-item-button-background-red-hover)}.bal-carousel--product .bal-carousel__item__button--color-red:active{background:var(--bal-carousel-product-item-button-background-red-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-yellow{background:var(--bal-carousel-product-item-button-background-yellow)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-yellow:hover{background:var(--bal-carousel-product-item-button-background-yellow-hover)}.bal-carousel--product .bal-carousel__item__button--color-yellow:active{background:var(--bal-carousel-product-item-button-background-yellow-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-purple{background:var(--bal-carousel-product-item-button-background-purple)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-purple:hover{background:var(--bal-carousel-product-item-button-background-purple-hover)}.bal-carousel--product .bal-carousel__item__button--color-purple:active{background:var(--bal-carousel-product-item-button-background-purple-active)}}.bal-carousel--product .bal-carousel__item__button__image{width:5rem;height:5rem;pointer-events:none}.bal-carousel--product .bal-carousel__item__button__label{font-weight:var(--bal-font-weight-bold);color:var(--bal-carousel-product-item-button-label-text-color);font-size:var(--bal-text-size-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;height:3.5rem;overflow:hidden;line-height:1.15rem;word-break:break-word}";
|
|
32
|
+
const balCarouselCss = ":root{--bal-carousel-inner-border-background:var(--bal-color-border);--bal-carousel-inner-border-background-inverted:var(--bal-color-border-primary-light);--bal-carousel-inner-shadow-left-background-before:var(--bal-color-white);--bal-carousel-inner-shadow-right-background-after:var(--bal-color-white);--bal-carousel-inner-shadow-left-background-inverted-before:var(--bal-color-primary);--bal-carousel-inner-shadow-right-background-inverted-after:var(--bal-color-primary);--bal-carousel-product-item-button-background:var(--bal-color-white);--bal-carousel-product-item-button-background-green:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-hover:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-active:var(--bal-color-green-2);--bal-carousel-product-item-button-background-red:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-hover:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-active:var(--bal-color-red-2);--bal-carousel-product-item-button-background-yellow:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-hover:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-active:var(--bal-color-yellow-2);--bal-carousel-product-item-button-background-purple:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-hover:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-active:var(--bal-color-purple-2);--bal-carousel-inner-border-radius:var(--bal-radius-rounded);--bal-carousel-image-border-radius:var(--bal-radius-normal);--bal-carousel-product-item-button-border-radius:var(--bal-radius-large);--bal-carousel-product-item-button-label-text-color:var(--bal-color-text-primary);--bal-carousel-sticky-top:0}.bal-swiper{position:relative;display:block}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-swiper__controls{width:100%}.bal-swiper__controls--dots{position:relative}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large{position:absolute;top:calc(50% - 1.5rem)}.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small{position:absolute;top:calc(50% - 1rem)}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:\"\";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:\"\";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--full-height{height:100%}.bal-carousel__inner--full-height{height:100%}.bal-carousel__inner__container--border{padding-bottom:var(--bal-border-width-normal)}.bal-carousel__inner__container__border{position:absolute;background:var(--bal-carousel-inner-border-background);border-radius:var(--bal-carousel-inner-border-radius);height:var(--bal-border-width-normal);width:100%;bottom:0;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-carousel__inner__container__border--inverted{background:var(--bal-carousel-inner-border-background-inverted)}.bal-carousel__item{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;font-size:var(--bal-text-size-large);min-height:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;round:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:2.5rem}}@media screen and (min-width: 1024px){.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:3rem}}.bal-carousel--card{margin-left:-1rem;margin-right:-1rem}@media screen and (min-width: 769px),print{.bal-carousel--card{margin-left:-2.5rem;margin-right:-2.5rem}}.bal-carousel--card .bal-carousel__controls{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__controls{padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--card .bal-carousel__item{width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__item{width:100%;padding-top:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--controls-sticky .bal-carousel__controls--tabs{position:-webkit-sticky;position:sticky;top:var(--bal-carousel-sticky-top);z-index:var(--bal-z-index-sticky)}.bal-carousel__controls--tabs .bal-card{padding:0}.bal-carousel__controls--tabs .bal-card-content{padding:.5rem !important;gap:.5rem;display:-ms-flexbox;display:flex}.bal-carousel__controls--tabs .bal-card-content .bal-button{-ms-flex:1;flex:1}.bal-carousel__controls--tabs .bal-card-content .bal-button .button{padding:.5rem !important}.bal-carousel--image .bal-carousel__inner{border-radius:var(--bal-carousel-image-border-radius)}.bal-carousel--image .bal-carousel__inner--is-1by1{padding-top:100%}.bal-carousel--image .bal-carousel__inner--is-16by9{padding-top:56.25%}.bal-carousel--image .bal-carousel__inner--is-3by2{padding-top:66.66%}.bal-carousel--image .bal-carousel__inner--is-4by3{padding-top:75%}.bal-carousel--image .bal-carousel__inner__container{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%}.bal-carousel--image .bal-carousel__item{position:relative;-ms-flex:0 0 100%;flex:0 0 100%}.bal-carousel--image .bal-carousel__item>img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-drag:none;user-zoom:fixed}.bal-carousel--product .bal-carousel__inner__container{gap:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:1rem;padding-bottom:1rem}@media screen and (min-width: 769px),print{.bal-carousel--product .bal-carousel__inner__container{padding-top:1.5rem;padding-bottom:1.5rem}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__inner__container{padding-top:2rem;padding-bottom:2rem}}.bal-carousel--product .bal-carousel__item{display:-ms-flexbox;display:flex;min-width:10rem;max-width:10rem;height:11rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item__button{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:1rem;border-radius:var(--bal-carousel-product-item-button-border-radius);padding:var(--bal-text-size-x-small);border:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;background:var(--bal-carousel-product-item-button-background)}@media (hover: hover)and (pointer: fine){.bal-carousel--product .bal-carousel__item__button:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-green{background:var(--bal-carousel-product-item-button-background-green)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-green:hover{background:var(--bal-carousel-product-item-button-background-green-hover)}.bal-carousel--product .bal-carousel__item__button--color-green:active{background:var(--bal-carousel-product-item-button-background-green-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-red{background:var(--bal-carousel-product-item-button-background-red)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-red:hover{background:var(--bal-carousel-product-item-button-background-red-hover)}.bal-carousel--product .bal-carousel__item__button--color-red:active{background:var(--bal-carousel-product-item-button-background-red-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-yellow{background:var(--bal-carousel-product-item-button-background-yellow)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-yellow:hover{background:var(--bal-carousel-product-item-button-background-yellow-hover)}.bal-carousel--product .bal-carousel__item__button--color-yellow:active{background:var(--bal-carousel-product-item-button-background-yellow-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-purple{background:var(--bal-carousel-product-item-button-background-purple)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-purple:hover{background:var(--bal-carousel-product-item-button-background-purple-hover)}.bal-carousel--product .bal-carousel__item__button--color-purple:active{background:var(--bal-carousel-product-item-button-background-purple-active)}}.bal-carousel--product .bal-carousel__item__button__image{width:5rem;height:5rem;pointer-events:none}.bal-carousel--product .bal-carousel__item__button__label{font-weight:var(--bal-font-weight-bold);color:var(--bal-carousel-product-item-button-label-text-color);font-size:var(--bal-text-size-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;height:3.5rem;overflow:hidden;line-height:1.15rem;word-break:break-word}";
|
|
32
33
|
const BalCarouselStyle0 = balCarouselCss;
|
|
33
34
|
|
|
34
35
|
const Carousel = /*@__PURE__*/ proxyCustomElement(class Carousel extends HTMLElement {
|
|
@@ -83,9 +84,6 @@ const Carousel = /*@__PURE__*/ proxyCustomElement(class Carousel extends HTMLEle
|
|
|
83
84
|
this.onStepsChange();
|
|
84
85
|
this.onValueChange();
|
|
85
86
|
}
|
|
86
|
-
componentDidLoad() {
|
|
87
|
-
this.swiper.componentDidLoad();
|
|
88
|
-
}
|
|
89
87
|
disconnectedCallback() {
|
|
90
88
|
this.swiper.disconnectedCallback();
|
|
91
89
|
}
|
|
@@ -102,6 +100,9 @@ const Carousel = /*@__PURE__*/ proxyCustomElement(class Carousel extends HTMLEle
|
|
|
102
100
|
mutationListener() {
|
|
103
101
|
this.swiper.notifyChange();
|
|
104
102
|
}
|
|
103
|
+
visibilityListener() {
|
|
104
|
+
this.swiper.notifyChange();
|
|
105
|
+
}
|
|
105
106
|
swipeListener({ left, right }) {
|
|
106
107
|
if (left) {
|
|
107
108
|
this.next();
|
|
@@ -162,7 +163,7 @@ const Carousel = /*@__PURE__*/ proxyCustomElement(class Carousel extends HTMLEle
|
|
|
162
163
|
const block = BEM.block('carousel');
|
|
163
164
|
const inner = block.element('inner');
|
|
164
165
|
const container = inner.element('container');
|
|
165
|
-
return (h(Host, { key: '
|
|
166
|
+
return (h(Host, { key: '89263d584f6952e1e8b22c1158ab814f3d8d601e', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.swiper.cssSwiper()), block.class()), block.modifier(this.interface).class(this.interface !== '')), block.modifier(`full-height`).class(this.fullHeight)), block.modifier('controls-sticky').class(this.controlsSticky)), block.modifier(`controls-tabs`).class(this.controls === 'tabs')) }, this.controls === 'tabs' ? (h(TabControl, { value: this.value, items: this.swiper.getAllControlItems(), containerId: this.swiper.containerId, onControlChange: item => this.swiper.onControlChange(item.value) })) : (''), h("div", { key: 'fb631d4a11c0e094c65e42fec8742cfe15b0bcf8', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.swiper.cssInnerSwiper()), inner.class()), inner.modifier(`is-${this.aspectRatio}`).class()), inner.modifier(`inverted`).class(this.inverted)), inner.modifier(`full-height`).class(this.fullHeight)), ref: el => (this.swiper.innerEl = el) }, h("div", { key: '793f837d4e6ae7e636fcf33a523c610e7639423d', id: this.swiper.containerId, role: this.controls === 'tabs' ? '' : 'list', class: Object.assign(Object.assign(Object.assign(Object.assign({}, this.swiper.cssSwiperContainer()), container.class()), container.modifier(`border`).class(this.border)), container.modifier(`is-${this.aspectRatio}`).class()), ref: el => (this.swiper.containerEl = el) }, h("slot", { key: '7786bb252ef257147b3a9b1f357587710d8d0d21' }), this.border ? (h("div", { id: `${this.swiper.id}-border`, "aria-hidden": "true", class: Object.assign(Object.assign({}, container.element('border').class()), container.element('border').modifier('inverted').class(this.inverted)), ref: el => (this.swiper.borderEl = el) })) : (''))), this.swiper.renderControls()));
|
|
166
167
|
}
|
|
167
168
|
get el() { return this; }
|
|
168
169
|
static get watchers() { return {
|
|
@@ -207,6 +208,12 @@ __decorate([
|
|
|
207
208
|
__metadata("design:paramtypes", []),
|
|
208
209
|
__metadata("design:returntype", void 0)
|
|
209
210
|
], Carousel.prototype, "mutationListener", null);
|
|
211
|
+
__decorate([
|
|
212
|
+
ListenToVisibility(),
|
|
213
|
+
__metadata("design:type", Function),
|
|
214
|
+
__metadata("design:paramtypes", []),
|
|
215
|
+
__metadata("design:returntype", void 0)
|
|
216
|
+
], Carousel.prototype, "visibilityListener", null);
|
|
210
217
|
__decorate([
|
|
211
218
|
ListenToSwipe(),
|
|
212
219
|
__metadata("design:type", Function),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface BalDocApp extends Components.BalDocApp, HTMLElement {}
|
|
4
|
+
export const BalDocApp: {
|
|
5
|
+
prototype: BalDocApp;
|
|
6
|
+
new (): BalDocApp;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|