@baloise/ds-core 19.4.0 → 19.5.0-nightly.20250819
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 +1 -1
- package/components/bal-accordion.js +1 -1
- package/components/bal-app.js +1 -98
- package/components/bal-app2.js +100 -0
- package/components/bal-button2.js +1 -1
- package/components/bal-carousel-item.js +3 -3
- package/components/bal-checkbox-group.js +1 -1
- package/components/bal-date-calendar2.js +1 -1
- package/components/bal-date.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 +1 -1
- package/components/bal-field.js +1 -1
- package/components/bal-footer.js +1 -1
- package/components/bal-form.js +1 -1
- package/components/bal-hint2.js +11 -9
- package/components/bal-icon2.js +6 -3
- package/components/bal-input-stepper.js +1 -1
- package/components/bal-input.js +4 -1
- package/components/bal-list-item-accordion-body2.js +1 -1
- package/components/bal-list-item2.js +1 -1
- package/components/bal-logo2.js +1 -1
- package/components/bal-modal.js +1 -1
- package/components/bal-nav.js +16 -6
- package/components/bal-navbar-brand.js +1 -1
- package/components/bal-option-list.js +1 -1
- package/components/bal-pagination.js +19 -24
- package/components/bal-popover-content2.js +1 -1
- package/components/bal-popup2.js +3 -3
- package/components/bal-progress-bar.js +1 -1
- package/components/bal-radio-group.js +1 -1
- package/components/bal-radio-icon2.js +1 -1
- package/components/bal-radio2.js +2 -2
- package/components/bal-segment-item.js +2 -2
- package/components/bal-segment.js +1 -1
- package/components/bal-select-option2.js +1 -1
- package/components/bal-select2.js +1 -1
- 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 +2 -2
- 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 +2 -2
- package/components/bal-stage.js +1 -1
- package/components/bal-step-item.js +2 -2
- package/components/bal-tab-item.js +2 -2
- package/components/bal-table.js +1 -1
- package/components/bal-tabs2.js +3 -3
- package/components/bal-tag-group.js +1 -1
- package/components/bal-tag2.js +1 -1
- package/components/bal-text.js +2 -2
- package/components/bal-textarea.js +1 -1
- package/components/bal-time-input.js +1 -1
- package/components/bal-toast.js +1 -1
- package/components/bal-tooltip.js +1 -1
- package/components/breakpoints.subject.js +1 -1
- package/components/element-states.decorator.js +1 -1
- package/components/floating-ui.js +1 -1
- package/components/focus.decorator.js +1 -1
- package/components/form-input.js +1 -1
- package/components/helpers.js +1 -1
- package/components/index.js +6 -462
- package/components/initialize.js +441 -0
- package/components/mutation.decorator.js +1 -1
- package/components/overlays.js +1 -1
- package/components/resize.decorator.js +1 -1
- package/{dist/cjs/purify.es-CJTp6uKN.js → components/svg.js} +8 -3
- package/components/swipe.subject.js +1 -1
- package/components/swiper.util.js +1 -1
- package/components/tokens.esm.js +1 -1
- package/components/visibility.decorator.js +1 -1
- package/components/window-resize.listener.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-00c7ac0c09.entry.js +1 -0
- package/dist/baloise-design-system/{p-9417181fc3.entry.js → p-0222ba5422.entry.js} +1 -1
- package/dist/baloise-design-system/p-024bcb5566.entry.js +1 -0
- package/dist/baloise-design-system/{p-e016efc91a.entry.js → p-0256824571.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1a101b475e.system.entry.js → p-083fe4e357.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b0d0cb1167.system.entry.js → p-0a3bd4b7ac.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b0d2fd44ef.system.entry.js → p-0ad0e580a5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5ea15c8fda.entry.js → p-0d273759f2.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7cb21d670b.system.entry.js → p-0d75b2911a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-0ecde13d8d.entry.js +1 -0
- package/dist/baloise-design-system/{p-c2a5d480b6.entry.js → p-152ccc2389.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5391a66037.entry.js → p-1af0af18cb.entry.js} +1 -1
- package/dist/baloise-design-system/{p-eb68793baa.system.entry.js → p-21827077bb.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f0957640f5.entry.js → p-21e244ad48.entry.js} +1 -1
- package/dist/baloise-design-system/{p-571b32fead.system.entry.js → p-24230c7d6d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-46092a4585.entry.js → p-25715efc4f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-469d7c593e.system.entry.js → p-26ff58eaac.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9f221cd147.system.entry.js → p-2851fc3442.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8c5aac149f.entry.js → p-2a6c955b31.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a5802e97d8.system.entry.js → p-2f753db81d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dbcb876d25.entry.js → p-3241fff0a3.entry.js} +1 -1
- package/dist/baloise-design-system/{p-29cae69b8c.entry.js → p-360373e489.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5ea5a9b3fa.entry.js → p-3a2109ec0a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aac9ec6687.system.entry.js → p-3b093bc859.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ab6db026de.entry.js → p-3c4a334013.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ee604e4bcc.system.entry.js → p-3c517f7540.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c4239a6ebb.entry.js → p-3d2c5a87b1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-653f4e4238.entry.js → p-3f4317ce6d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7b1dff4795.entry.js → p-3f5c881f89.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1c13d69ca1.system.entry.js → p-3f67b4e6f8.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6eeb094b9d.system.entry.js → p-3fa2adfda8.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1f7d71e0f6.system.entry.js → p-4004d79255.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-52fa3d7015.system.entry.js → p-40d98b4bca.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fa3aa15442.entry.js → p-40f4b8e212.entry.js} +1 -1
- package/dist/baloise-design-system/{p-be07e385c5.entry.js → p-42115ed080.entry.js} +1 -1
- package/dist/baloise-design-system/p-4253b34130.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-6d716224a8.entry.js → p-42d4052453.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a34dc82fd9.system.entry.js → p-437b036d1c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-017e7f7adf.entry.js → p-43f13a7986.entry.js} +1 -1
- package/dist/baloise-design-system/{p-605048a7e8.system.entry.js → p-44a30beeef.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7e5c62d014.entry.js → p-4779777f54.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e92ad3fae1.system.entry.js → p-48739bb30b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-61d215dcc5.entry.js → p-49253bd2b1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-Bp0dpjer.js → p-4BaUANyL.js} +1 -1
- package/dist/baloise-design-system/p-4aa520cd29.entry.js +1 -0
- package/dist/baloise-design-system/p-4e5a5339cc.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-84f3cdac9b.entry.js → p-4eba6fd114.entry.js} +1 -1
- package/dist/baloise-design-system/p-4ef60dc731.entry.js +1 -0
- package/dist/baloise-design-system/p-5061cae073.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-6f40242a5d.entry.js → p-525ff46f7f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-558adf45a6.system.entry.js → p-5bba51bd38.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6542d12863.entry.js → p-5c47ba754f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-925b31dca9.entry.js → p-6176eb218c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4360835610.entry.js → p-6318bac3dd.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bf46f70999.entry.js → p-64b856c8cf.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3b5c4a42c4.system.entry.js → p-65f99f8edb.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aa9f1d22cd.system.entry.js → p-6952c1ea1b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d575fb9113.system.entry.js → p-69fbe987c3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c92ac7c2e0.system.entry.js → p-6a59799426.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6d5bbdc67a.entry.js → p-6b363f2ead.entry.js} +1 -1
- package/dist/baloise-design-system/p-6b8a1acb9d.entry.js +1 -0
- package/dist/baloise-design-system/{p-ee43ce93b7.system.entry.js → p-6d68095928.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fd73720dcb.entry.js → p-7117eb5f30.entry.js} +1 -1
- package/dist/baloise-design-system/p-72b7e64b98.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-166fa22c35.entry.js → p-75079fc8ce.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6d511d8e8e.system.entry.js → p-752867ca22.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5bc0576341.entry.js → p-79b6fc0fb0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2384eefce1.entry.js → p-7bb87b95fe.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9276e4e5ca.system.entry.js → p-7c2c7f13f2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-417b6e0a0b.system.entry.js → p-7d9ba703cc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e57bc8a630.system.entry.js → p-80408d8f6e.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d4c44cc24e.entry.js → p-8249b94d33.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e15a90b22c.system.entry.js → p-84f8b1fb09.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-619670d086.system.entry.js → p-863ddca191.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7778560b6f.entry.js → p-87085d692a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-247b0b800a.system.entry.js → p-88c3de5532.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-22026f3f57.system.entry.js → p-89a89b44d2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d78505b4e8.entry.js → p-8bb80f6d7f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0da4fe3026.entry.js → p-90ef751c58.entry.js} +1 -1
- package/dist/baloise-design-system/p-96e1038a74.entry.js +1 -0
- package/dist/baloise-design-system/p-97de8db9b7.entry.js +1 -0
- package/dist/baloise-design-system/{p-4856c78a64.entry.js → p-98c44cc60b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d5b648b0fc.system.entry.js → p-9b9cf005a2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-680fe70c1a.entry.js → p-9fbff1f523.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2f62e8007d.entry.js → p-9fd2aad326.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2690f97b41.system.entry.js → p-9ffbaf82e2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-DV-El3D9.js → p-B2aiNZlz.js} +1 -1
- package/dist/baloise-design-system/{p-Cwb5cm_s.js → p-B3WswEUb.js} +1 -1
- package/dist/baloise-design-system/p-B7IF8OK5.js +1 -0
- package/dist/baloise-design-system/p-BFk1rRl8.system.js +1 -0
- package/dist/baloise-design-system/{p-DPBQ5EN8.system.js → p-BMWt-Upf.system.js} +1 -1
- package/dist/baloise-design-system/p-BOXHdtO7.system.js +1 -0
- package/dist/baloise-design-system/{p-CwvovJM0.system.js → p-BS3tl84b.system.js} +1 -1
- package/dist/baloise-design-system/p-BWKryhei.js +1 -0
- package/dist/baloise-design-system/p-BdI7HPx0.system.js +1 -0
- package/dist/baloise-design-system/{p-CoTulE_f.js → p-Bs209HuP.js} +1 -1
- package/dist/baloise-design-system/{p-C2YKdNW7.system.js → p-BsyhaiFT.system.js} +1 -1
- package/dist/baloise-design-system/p-Btdiqd5K.js +2 -0
- package/dist/baloise-design-system/{p-DY72UdN1.system.js → p-Bvh0SVeg.system.js} +1 -1
- package/dist/baloise-design-system/{p-BANVEd3P.js → p-BxBQQTRw.js} +1 -1
- package/dist/baloise-design-system/{p-Ck3aT69N.js → p-C1CLUihP.js} +1 -1
- package/dist/baloise-design-system/{p-DhSS4q-R.system.js → p-CFTq_NEW.system.js} +1 -1
- package/dist/baloise-design-system/{p-B1TzZiNl.js → p-CL-ZUEN0.js} +1 -1
- package/dist/baloise-design-system/p-CUzS4D-E.system.js +2 -0
- package/dist/baloise-design-system/{p-DTDY1hlV.js → p-C_Vplsfl.js} +1 -1
- package/dist/baloise-design-system/{p-DfEhX0m_.system.js → p-CbwahN12.system.js} +1 -1
- package/dist/baloise-design-system/{p-BQvgbY93.system.js → p-CikVveBY.system.js} +1 -1
- package/dist/baloise-design-system/{p-WkcLp-K_.system.js → p-CrvrDFJ2.system.js} +1 -1
- package/dist/baloise-design-system/{p-BHYxMhaq.js → p-Ctcs3QMJ.js} +1 -1
- package/dist/baloise-design-system/{p-B23n0-TV.js → p-D-o0_O-M.js} +1 -1
- package/dist/baloise-design-system/{p-Bnn4iNSc.system.js → p-D2akt_K7.system.js} +1 -1
- package/dist/baloise-design-system/{p-C4hsvc4v.system.js → p-DLQUdT1W.system.js} +1 -1
- package/dist/baloise-design-system/{p-Cm94K4OH.system.js → p-DN9YBr8j.system.js} +1 -1
- package/dist/baloise-design-system/p-DQxELMF_.system.js +1 -0
- package/dist/baloise-design-system/{p-gnUWqxps.js → p-DTO43kOu.js} +1 -1
- package/dist/baloise-design-system/p-DUNB4kTY.js +2 -0
- package/dist/baloise-design-system/{p-BLUHPuPg.js → p-DWy39WDI.js} +1 -1
- package/dist/baloise-design-system/p-DZu6pcng.js +1 -0
- package/dist/baloise-design-system/{p-D0Jo39A5.system.js → p-De53s1OS.system.js} +1 -1
- package/dist/baloise-design-system/{p-DndeZqk_.system.js → p-Dh9ae0ui.system.js} +1 -1
- package/dist/baloise-design-system/{p-Clmofeob.js → p-DjgsK0mL.js} +1 -1
- package/dist/baloise-design-system/{p-ft8ZtF1G.system.js → p-DnvQeTJ-.system.js} +1 -1
- package/dist/baloise-design-system/{p-CKLuFkEh.js → p-DpksqhZN.js} +1 -1
- package/dist/baloise-design-system/{p-BsGkq7do.js → p-K-5m-8bx.js} +1 -1
- package/dist/baloise-design-system/p-KQFPXzKK.system.js +1 -0
- package/dist/baloise-design-system/{p-cfEgJ3Y7.system.js → p-PY423-eu.system.js} +1 -1
- package/dist/baloise-design-system/{p-drmuT566.system.js → p-XFbKxieD.system.js} +1 -1
- package/dist/baloise-design-system/{p-adcdd7eb63.entry.js → p-a18348d084.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5792932f82.system.entry.js → p-a92de83d71.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-56951b4bb7.system.entry.js → p-acf37e093b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1ecb79b6b5.system.entry.js → p-ae19c83684.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-B7wsjSwt.system.js → p-aqJO97M6.system.js} +1 -1
- package/dist/baloise-design-system/{p-3125929936.entry.js → p-b06b7b032a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6efb9d0430.system.entry.js → p-b0fc8d2e47.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8f8bef4656.system.entry.js → p-b39457d8ec.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-b65e85202e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-bb5215f295.entry.js +1 -0
- package/dist/baloise-design-system/p-c02c90f438.entry.js +1 -0
- package/dist/baloise-design-system/{p-19eda34a35.system.entry.js → p-c0d915b652.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-040a6174c7.system.entry.js → p-c1615be346.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7e88d10258.system.entry.js → p-c24d34a3cf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dc3a6cd2e6.system.entry.js → p-c75a2e36cf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e0c4414dd8.system.entry.js → p-c8cd652aad.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-605b22e87a.system.entry.js → p-ce03095f3c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-DJopuiVl.system.js → p-csILiRTH.system.js} +1 -1
- package/dist/baloise-design-system/{p-1112428fc6.entry.js → p-d00ecafeaa.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0b9e84e4dd.system.entry.js → p-d0e3ec7f9f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-503b4ce7d0.entry.js → p-d3d6f7de93.entry.js} +1 -1
- package/dist/baloise-design-system/{p-426a8d1128.entry.js → p-d460d30d01.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4b3fd230c6.system.entry.js → p-d71d8a4c69.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6e463dc74b.system.entry.js → p-da4e70e07e.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c819c5feef.system.entry.js → p-e162cbacbf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-05e8130a9a.system.entry.js → p-e2f1e63d17.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-96fbe5e737.entry.js → p-e45f9cb020.entry.js} +1 -1
- package/dist/baloise-design-system/p-e52afb4e66.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-b050e8a82d.entry.js → p-e56390e7d8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-909bc3558a.system.entry.js → p-e5e1d8a681.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0f679514b0.entry.js → p-e6660278cc.entry.js} +1 -1
- package/dist/baloise-design-system/{p-448a8ba385.entry.js → p-f1df6ed63f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-99d1051abd.system.entry.js → p-f3dd6d6900.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-152e669d59.system.entry.js → p-f527ca244e.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b5712e673a.entry.js → p-fbe577e837.entry.js} +1 -1
- package/dist/baloise-design-system/{p-B71F7E77.js → p-fc6qPEIA.js} +1 -1
- package/dist/baloise-design-system/{p-c6a6f41844.entry.js → p-fe8b88ca64.entry.js} +1 -1
- package/dist/baloise-design-system/{p-08bc0ab24d.system.entry.js → p-ff0de24115.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-B4Kne3kP.system.js → p-h9B38Vh4.system.js} +1 -1
- package/dist/baloise-design-system/p-jKk811CD.js +1 -0
- package/dist/baloise-design-system/{p-XiJ1YYc9.js → p-jX5I_cAG.js} +1 -1
- package/dist/baloise-design-system/{p-BJQK_KjT.js → p-yYpgl50A.js} +1 -1
- package/dist/baloise-design-system/{p-DMUz15_s.system.js → p-zYGi2MKO.system.js} +1 -1
- package/dist/cjs/{animation.decorator-BeUy1FNI.js → animation.decorator-HFgxrCCh.js} +2 -2
- package/dist/cjs/bal-accordion_4.cjs.entry.js +3 -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 +1 -1
- package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +17 -17
- package/dist/cjs/bal-check.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 +1 -1
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -2
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +8 -8
- package/dist/cjs/bal-date.cjs.entry.js +5 -5
- package/dist/cjs/bal-divider.cjs.entry.js +1 -1
- package/dist/cjs/bal-doc-app.cjs.entry.js +224 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/bal-footer.cjs.entry.js +2 -2
- package/dist/cjs/bal-form-col_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-form.cjs.entry.js +1 -1
- package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_5.cjs.entry.js +18 -16
- package/dist/cjs/bal-icon.cjs.entry.js +8 -5
- package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-slider.cjs.entry.js +2 -2
- package/dist/cjs/bal-input-stepper.cjs.entry.js +4 -4
- package/dist/cjs/bal-input.cjs.entry.js +6 -3
- package/dist/cjs/bal-label.cjs.entry.js +2 -2
- package/dist/cjs/bal-list_8.cjs.entry.js +10 -10
- package/dist/cjs/bal-logo.cjs.entry.js +7 -7
- package/dist/cjs/bal-modal_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +27 -17
- package/dist/cjs/bal-navbar_5.cjs.entry.js +8 -8
- 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 +4 -4
- package/dist/cjs/bal-option_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-pagination.cjs.entry.js +24 -17
- package/dist/cjs/bal-popup.cjs.entry.js +5 -5
- package/dist/cjs/bal-progress-bar.cjs.entry.js +9 -9
- package/dist/cjs/bal-radio-icon.cjs.entry.js +2 -2
- package/dist/cjs/bal-radio_2.cjs.entry.js +8 -8
- package/dist/cjs/bal-segment_2.cjs.entry.js +14 -14
- package/dist/cjs/bal-select_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-shape.cjs.entry.js +6 -6
- package/dist/cjs/bal-sheet.cjs.entry.js +2 -2
- package/dist/cjs/bal-spinner.cjs.entry.js +3 -3
- package/dist/cjs/bal-stack.cjs.entry.js +2 -2
- 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 +8 -8
- package/dist/cjs/bal-switch.cjs.entry.js +1 -1
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +20 -20
- package/dist/cjs/bal-table.cjs.entry.js +2 -2
- package/dist/cjs/bal-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-textarea.cjs.entry.js +3 -3
- package/dist/cjs/bal-time-input.cjs.entry.js +4 -4
- package/dist/cjs/bal-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/baloise-design-system.cjs.js +2 -2
- package/dist/cjs/{breakpoints.decorator-DLXGwQpP.js → breakpoints.decorator-DHxTtyRI.js} +1 -1
- package/dist/cjs/{breakpoints.subject-CidQD5zH.js → breakpoints.subject-ez04KZo7.js} +4 -4
- package/dist/cjs/{config.decorator-CDkNZ1Fo.js → config.decorator-DXNDP7MY.js} +1 -1
- package/dist/cjs/{date-C9_0qSTi.js → date-B6jOntpB.js} +1 -1
- package/dist/cjs/{device-CoI0V6AY.js → device-CB_IzhFQ.js} +1 -1
- package/dist/cjs/{element-states.decorator-DGQNhvD6.js → element-states.decorator-gsoW-NjY.js} +2 -2
- package/dist/cjs/{floating-ui-BEMfzblh.js → floating-ui-CVK_LGUY.js} +1 -1
- package/dist/cjs/{focus.decorator-DFy3pFaT.js → focus.decorator-CvMEa3Zr.js} +2 -2
- package/dist/cjs/{form-input-BUGd2Bkz.js → form-input-Cl5ibDQu.js} +1 -1
- package/dist/cjs/{index-COfbtsc7.js → index-CUrN4zEK.js} +5 -25
- package/dist/cjs/index.cjs.js +10 -10
- package/dist/cjs/{listener-t3ifJtK5.js → listener-3M4dddMj.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mutation.decorator-DyFafPfX.js → mutation.decorator-DNlVKeTA.js} +2 -2
- package/dist/cjs/{number-CYeUjdPM.js → number-Dq9LBEHA.js} +1 -1
- package/dist/cjs/{overlays-CZHV6VH9.js → overlays-BgHJrPhC.js} +1 -1
- package/dist/cjs/{resize.decorator-B_NiBCMZ.js → resize.decorator-E-sSou3X.js} +2 -2
- package/dist/cjs/{scroll-DY4kxt0j.js → scroll-C1zy5s5O.js} +1 -1
- package/dist/{esm/purify.es-B3Q-Lii3.js → cjs/svg-Bw61tXih.js} +10 -1
- package/dist/cjs/{swipe.decorator-CNDcaR9i.js → swipe.decorator-9SuGUyz7.js} +1 -1
- package/dist/cjs/{swipe.subject-DtAxEK8t.js → swipe.subject-B3_yAJ3k.js} +3 -3
- package/dist/cjs/{swiper.util-nyFqwHcs.js → swiper.util-C3nPW6Se.js} +2 -2
- package/dist/cjs/{tokens.esm-DU04pfsc.js → tokens.esm-CxxzrKHq.js} +1 -1
- package/dist/cjs/{visibility.decorator-C7uDX3Z3.js → visibility.decorator-DzouYF-6.js} +2 -2
- package/dist/cjs/{window-resize.decorator-4PWq713L.js → window-resize.decorator-Z7aKZwUJ.js} +1 -1
- package/dist/cjs/{window-resize.subject-GSXXkOcC.js → window-resize.subject-NFU68MUG.js} +3 -3
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +2 -2
- package/dist/collection/components/bal-hint/bal-hint.js +13 -11
- package/dist/collection/components/bal-icon/bal-icon.js +6 -3
- package/dist/collection/components/bal-input/bal-input.js +4 -1
- package/dist/collection/components/bal-nav/bal-nav.js +15 -5
- package/dist/collection/components/bal-pagination/bal-pagination.css +1 -1
- package/dist/collection/components/bal-pagination/bal-pagination.js +16 -9
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
- package/dist/collection/components/bal-popup/bal-popup.css +1 -1
- 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-icon/bal-radio-icon.js +1 -1
- package/dist/collection/components/bal-radio/bal-radio.js +2 -2
- 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-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-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.js +2 -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 +1 -1
- package/dist/collection/components/bal-text/bal-text.js +2 -2
- package/dist/collection/components/bal-textarea/bal-textarea.js +1 -1
- package/dist/collection/components/bal-time-input/bal-time-input.js +1 -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 +248 -0
- package/dist/collection/utils/config/config.const.js +0 -1
- package/dist/collection/utils/config/config.js +1 -22
- package/dist/collection/utils/config/initialize.js +2 -2
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/svg.js +7 -0
- package/dist/esm/{animation.decorator-DtxbEYY8.js → animation.decorator-DWZDMeHk.js} +2 -2
- package/dist/esm/bal-accordion_4.entry.js +3 -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 +1 -1
- package/dist/esm/bal-card_6.entry.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +17 -17
- package/dist/esm/bal-check.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 +1 -1
- package/dist/esm/bal-date-calendar-cell.entry.js +2 -2
- package/dist/esm/bal-date-calendar_2.entry.js +8 -8
- package/dist/esm/bal-date.entry.js +5 -5
- package/dist/esm/bal-divider.entry.js +1 -1
- package/dist/esm/bal-doc-app.entry.js +222 -0
- package/dist/esm/bal-dropdown.entry.js +4 -4
- package/dist/esm/bal-field_5.entry.js +3 -3
- package/dist/esm/bal-file-upload.entry.js +2 -2
- package/dist/esm/bal-footer.entry.js +2 -2
- package/dist/esm/bal-form-col_2.entry.js +1 -1
- package/dist/esm/bal-form.entry.js +1 -1
- package/dist/esm/bal-heading_2.entry.js +3 -3
- package/dist/esm/bal-hint_5.entry.js +18 -16
- package/dist/esm/bal-icon.entry.js +8 -5
- package/dist/esm/bal-input-group.entry.js +1 -1
- package/dist/esm/bal-input-slider.entry.js +2 -2
- package/dist/esm/bal-input-stepper.entry.js +4 -4
- package/dist/esm/bal-input.entry.js +6 -3
- package/dist/esm/bal-label.entry.js +2 -2
- package/dist/esm/bal-list_8.entry.js +10 -10
- package/dist/esm/bal-logo.entry.js +7 -7
- package/dist/esm/bal-modal_3.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +27 -17
- package/dist/esm/bal-navbar_5.entry.js +8 -8
- 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 +4 -4
- package/dist/esm/bal-option_2.entry.js +4 -4
- package/dist/esm/bal-pagination.entry.js +24 -17
- package/dist/esm/bal-popup.entry.js +5 -5
- package/dist/esm/bal-progress-bar.entry.js +9 -9
- package/dist/esm/bal-radio-icon.entry.js +2 -2
- package/dist/esm/bal-radio_2.entry.js +8 -8
- package/dist/esm/bal-segment_2.entry.js +14 -14
- package/dist/esm/bal-select_2.entry.js +3 -3
- package/dist/esm/bal-shape.entry.js +6 -6
- package/dist/esm/bal-sheet.entry.js +2 -2
- package/dist/esm/bal-spinner.entry.js +3 -3
- package/dist/esm/bal-stack.entry.js +2 -2
- 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 +8 -8
- package/dist/esm/bal-switch.entry.js +1 -1
- package/dist/esm/bal-tab-item_2.entry.js +20 -20
- package/dist/esm/bal-table.entry.js +2 -2
- package/dist/esm/bal-tag_2.entry.js +3 -3
- package/dist/esm/bal-textarea.entry.js +3 -3
- package/dist/esm/bal-time-input.entry.js +4 -4
- package/dist/esm/bal-tooltip.entry.js +4 -4
- package/dist/esm/baloise-design-system.js +3 -3
- package/dist/esm/{breakpoints.decorator-SHkWCW_Y.js → breakpoints.decorator-DXVnXpsP.js} +1 -1
- package/dist/esm/{breakpoints.subject-C7fjILif.js → breakpoints.subject-C_z3PD1L.js} +4 -4
- package/dist/esm/{config.decorator-T4wBa62Z.js → config.decorator-Bb0H_cFf.js} +1 -1
- package/dist/esm/{date-B9gcRx4E.js → date-CSgXxrCL.js} +1 -1
- package/dist/esm/{device-ClkcmLoi.js → device-C8QTKcCb.js} +1 -1
- package/dist/esm/{element-states.decorator-DH5waKVu.js → element-states.decorator-DlbMEYwH.js} +2 -2
- package/dist/esm/{floating-ui-CTp1F0dK.js → floating-ui-DXLYZUW_.js} +1 -1
- package/dist/esm/{focus.decorator-DQpbKYaT.js → focus.decorator-DJvn8oM4.js} +2 -2
- package/dist/esm/{form-input-CGW38ndP.js → form-input-BrNtLtd3.js} +1 -1
- package/dist/esm/{index-pkPHUz5e.js → index-Btdiqd5K.js} +5 -26
- package/dist/esm/index.js +13 -13
- package/dist/esm/{listener-tzACU3qe.js → listener-DvNO7R93.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mutation.decorator-x6OeVGO1.js → mutation.decorator-CZedrFGC.js} +2 -2
- package/dist/esm/{number-DZNVPmrJ.js → number-DMuD7HPz.js} +1 -1
- package/dist/esm/{overlays-HStjSmzT.js → overlays-Dz7ipvtb.js} +1 -1
- package/dist/esm/{resize.decorator-D8jUH-n3.js → resize.decorator-qU51gl_T.js} +2 -2
- package/dist/esm/{scroll-CGUsHi6i.js → scroll-Ba7YUwvz.js} +1 -1
- package/{components/purify.es.js → dist/esm/svg-DUNB4kTY.js} +8 -1
- package/dist/esm/{swipe.decorator-CLIW6A6V.js → swipe.decorator-DvFljs7N.js} +1 -1
- package/dist/esm/{swipe.subject-CgHMG_X7.js → swipe.subject-Noqy4TH1.js} +3 -3
- package/dist/esm/{swiper.util-lTWgy2NS.js → swiper.util-sHIw7UsO.js} +2 -2
- package/dist/esm/{tokens.esm-BvmIi0Pf.js → tokens.esm-Cz60RsQc.js} +1 -1
- package/dist/esm/{visibility.decorator-DOE3Mnqt.js → visibility.decorator-DBDPGnQQ.js} +2 -2
- package/dist/esm/{window-resize.decorator-C4aZFmLU.js → window-resize.decorator-FrC4QXgf.js} +1 -1
- package/dist/esm/{window-resize.subject-DTS_9rk_.js → window-resize.subject-CxUk6KXC.js} +3 -3
- package/dist/esm-es5/{animation.decorator-DtxbEYY8.js → animation.decorator-DWZDMeHk.js} +1 -1
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-app.entry.js +1 -1
- package/dist/esm-es5/bal-badge.entry.js +1 -1
- package/dist/esm-es5/bal-button_2.entry.js +1 -1
- package/dist/esm-es5/bal-card_6.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-check.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-content.entry.js +1 -1
- package/dist/esm-es5/bal-data_4.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-divider.entry.js +1 -1
- package/dist/esm-es5/bal-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-icon.entry.js +1 -1
- package/dist/esm-es5/bal-radio_2.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-select_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-sheet.entry.js +1 -1
- package/dist/esm-es5/bal-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stack.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.entry.js +1 -1
- package/dist/esm-es5/bal-step-item.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-switch.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/bal-table.entry.js +1 -1
- package/dist/esm-es5/bal-tag_2.entry.js +1 -1
- package/dist/esm-es5/bal-textarea.entry.js +1 -1
- package/dist/esm-es5/bal-time-input.entry.js +1 -1
- package/dist/esm-es5/bal-tooltip.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/{breakpoints.decorator-SHkWCW_Y.js → breakpoints.decorator-DXVnXpsP.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-C7fjILif.js → breakpoints.subject-C_z3PD1L.js} +1 -1
- package/dist/esm-es5/{config.decorator-T4wBa62Z.js → config.decorator-Bb0H_cFf.js} +1 -1
- package/dist/esm-es5/{date-B9gcRx4E.js → date-CSgXxrCL.js} +1 -1
- package/dist/esm-es5/{device-ClkcmLoi.js → device-C8QTKcCb.js} +1 -1
- package/dist/esm-es5/{element-states.decorator-DH5waKVu.js → element-states.decorator-DlbMEYwH.js} +1 -1
- package/dist/esm-es5/floating-ui-DXLYZUW_.js +1 -0
- package/dist/esm-es5/{focus.decorator-DQpbKYaT.js → focus.decorator-DJvn8oM4.js} +1 -1
- package/dist/esm-es5/{form-input-CGW38ndP.js → form-input-BrNtLtd3.js} +1 -1
- package/dist/esm-es5/index-Btdiqd5K.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{listener-tzACU3qe.js → listener-DvNO7R93.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mutation.decorator-CZedrFGC.js +1 -0
- package/dist/esm-es5/{number-DZNVPmrJ.js → number-DMuD7HPz.js} +1 -1
- package/dist/esm-es5/{overlays-HStjSmzT.js → overlays-Dz7ipvtb.js} +1 -1
- package/dist/esm-es5/resize.decorator-qU51gl_T.js +1 -0
- package/dist/esm-es5/{scroll-CGUsHi6i.js → scroll-Ba7YUwvz.js} +1 -1
- package/dist/esm-es5/{purify.es-B3Q-Lii3.js → svg-DUNB4kTY.js} +1 -1
- package/dist/esm-es5/{swipe.decorator-CLIW6A6V.js → swipe.decorator-DvFljs7N.js} +1 -1
- package/dist/esm-es5/swipe.subject-Noqy4TH1.js +1 -0
- package/dist/esm-es5/{swiper.util-lTWgy2NS.js → swiper.util-sHIw7UsO.js} +1 -1
- package/dist/esm-es5/{visibility.decorator-DOE3Mnqt.js → visibility.decorator-DBDPGnQQ.js} +1 -1
- package/dist/esm-es5/{window-resize.decorator-C4aZFmLU.js → window-resize.decorator-FrC4QXgf.js} +1 -1
- package/dist/esm-es5/window-resize.subject-CxUk6KXC.js +1 -0
- package/dist/types/components/bal-hint/bal-hint.d.ts +1 -1
- package/dist/types/components/bal-nav/bal-nav.interfaces.d.ts +2 -0
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +75 -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/config/config.const.d.ts +0 -1
- package/dist/types/utils/config/config.d.ts +0 -2
- package/dist/types/utils/svg.d.ts +1 -0
- package/package.json +6 -6
- package/dist/baloise-design-system/p-1799d59644.entry.js +0 -1
- package/dist/baloise-design-system/p-5aa8ca5691.entry.js +0 -1
- package/dist/baloise-design-system/p-5da1420f1a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-68162ab75a.entry.js +0 -1
- package/dist/baloise-design-system/p-74dd1a8023.entry.js +0 -1
- package/dist/baloise-design-system/p-750daedf10.system.entry.js +0 -1
- package/dist/baloise-design-system/p-833e1e02aa.entry.js +0 -1
- package/dist/baloise-design-system/p-83a6310bc0.entry.js +0 -1
- package/dist/baloise-design-system/p-9bed353090.system.entry.js +0 -1
- package/dist/baloise-design-system/p-B3Q-Lii3.js +0 -2
- package/dist/baloise-design-system/p-BzYBOtnf.js +0 -1
- package/dist/baloise-design-system/p-C8S5XlJl.js +0 -1
- package/dist/baloise-design-system/p-Ch5Ar_Aw.system.js +0 -1
- package/dist/baloise-design-system/p-CiWErrXI.system.js +0 -1
- package/dist/baloise-design-system/p-CyfydXgM.system.js +0 -1
- package/dist/baloise-design-system/p-DA4RmE59.system.js +0 -1
- package/dist/baloise-design-system/p-DWQYzEm7.system.js +0 -1
- package/dist/baloise-design-system/p-Do4k83YR.js +0 -1
- package/dist/baloise-design-system/p-MVgFPFA5.js +0 -1
- package/dist/baloise-design-system/p-WmWy2rJ-.system.js +0 -2
- package/dist/baloise-design-system/p-a913a946ea.entry.js +0 -1
- package/dist/baloise-design-system/p-cca697bd26.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d7a09b758f.entry.js +0 -1
- package/dist/baloise-design-system/p-dd5aae489e.entry.js +0 -1
- package/dist/baloise-design-system/p-ee5156fb85.system.entry.js +0 -1
- package/dist/baloise-design-system/p-pkPHUz5e.js +0 -2
- package/dist/esm-es5/floating-ui-CTp1F0dK.js +0 -1
- package/dist/esm-es5/index-pkPHUz5e.js +0 -2
- package/dist/esm-es5/mutation.decorator-x6OeVGO1.js +0 -1
- package/dist/esm-es5/resize.decorator-D8jUH-n3.js +0 -1
- package/dist/esm-es5/swipe.subject-CgHMG_X7.js +0 -1
- package/dist/esm-es5/window-resize.subject-DTS_9rk_.js +0 -1
- /package/dist/baloise-design-system/{p-BvmIi0Pf.js → p-Cz60RsQc.js} +0 -0
- /package/dist/baloise-design-system/{p-CFSqydrN.system.js → p-DwgUYw84.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-BvmIi0Pf.js → tokens.esm-Cz60RsQc.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
|
|
2
|
-
import{__spreadArray}from"tslib";var entries=Object.entries,setPrototypeOf=Object.setPrototypeOf,isFrozen=Object.isFrozen,getPrototypeOf=Object.getPrototypeOf,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;var freeze=Object.freeze,seal=Object.seal,create=Object.create;var _a=typeof Reflect!=="undefined"&&Reflect,apply=_a.apply,construct=_a.construct;if(!freeze){freeze=function e(t){return t}}if(!seal){seal=function e(t){return t}}if(!apply){apply=function e(t,r,a){return t.apply(r,a)}}if(!construct){construct=function e(t,r){return new(t.bind.apply(t,__spreadArray([void 0],r,false)))}}var arrayForEach=unapply(Array.prototype.forEach);var arrayLastIndexOf=unapply(Array.prototype.lastIndexOf);var arrayPop=unapply(Array.prototype.pop);var arrayPush=unapply(Array.prototype.push);var arraySplice=unapply(Array.prototype.splice);var stringToLowerCase=unapply(String.prototype.toLowerCase);var stringToString=unapply(String.prototype.toString);var stringMatch=unapply(String.prototype.match);var stringReplace=unapply(String.prototype.replace);var stringIndexOf=unapply(String.prototype.indexOf);var stringTrim=unapply(String.prototype.trim);var objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty);var regExpTest=unapply(RegExp.prototype.test);var typeErrorCreate=unconstruct(TypeError);function unapply(e){return function(t){for(var r=arguments.length,a=new Array(r>1?r-1:0),n=1;n<r;n++){a[n-1]=arguments[n]}return apply(e,t,a)}}function unconstruct(e){return function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++){r[a]=arguments[a]}return construct(e,r)}}function addToSet(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:stringToLowerCase;if(setPrototypeOf){setPrototypeOf(e,null)}var a=t.length;while(a--){var n=t[a];if(typeof n==="string"){var i=r(n);if(i!==n){if(!isFrozen(t)){t[a]=i}n=i}}e[n]=true}return e}function cleanArray(e){for(var t=0;t<e.length;t++){var r=objectHasOwnProperty(e,t);if(!r){e[t]=null}}return e}function clone(e){var t=create(null);for(var r=0,a=entries(e);r<a.length;r++){var n=a[r],i=n[0],o=n[1];var l=objectHasOwnProperty(e,i);if(l){if(Array.isArray(o)){t[i]=cleanArray(o)}else if(o&&typeof o==="object"&&o.constructor===Object){t[i]=clone(o)}else{t[i]=o}}}return t}function lookupGetter(e,t){while(e!==null){var r=getOwnPropertyDescriptor(e,t);if(r){if(r.get){return unapply(r.get)}if(typeof r.value==="function"){return unapply(r.value)}}e=getPrototypeOf(e)}function a(){return null}return a}var html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);var svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);var svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);var svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);var mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);var mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);var text=freeze(["#text"]);var html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);var svg=freeze(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);var mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);var xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);var MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);var ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm);var TMPLIT_EXPR=seal(/\$\{[\w\W]*/gm);var DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);var ARIA_ATTR=seal(/^aria-[\-\w]+$/);var IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);var IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i);var ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);var DOCTYPE_NAME=seal(/^html$/i);var CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,ARIA_ATTR:ARIA_ATTR,ATTR_WHITESPACE:ATTR_WHITESPACE,CUSTOM_ELEMENT:CUSTOM_ELEMENT,DATA_ATTR:DATA_ATTR,DOCTYPE_NAME:DOCTYPE_NAME,ERB_EXPR:ERB_EXPR,IS_ALLOWED_URI:IS_ALLOWED_URI,IS_SCRIPT_OR_DATA:IS_SCRIPT_OR_DATA,MUSTACHE_EXPR:MUSTACHE_EXPR,TMPLIT_EXPR:TMPLIT_EXPR});var NODE_TYPE={element:1,text:3,progressingInstruction:7,comment:8,document:9};var getGlobal=function e(){return typeof window==="undefined"?null:window};var _createTrustedTypesPolicy=function e(t,r){if(typeof t!=="object"||typeof t.createPolicy!=="function"){return null}var a=null;var n="data-tt-policy-suffix";if(r&&r.hasAttribute(n)){a=r.getAttribute(n)}var i="dompurify"+(a?"#"+a:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){console.warn("TrustedTypes policy "+i+" could not be created.");return null}};var _createHooksMap=function e(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:getGlobal();var t=function(e){return createDOMPurify(e)};t.version="3.2.4";t.removed=[];if(!e||!e.document||e.document.nodeType!==NODE_TYPE.document||!e.Element){t.isSupported=false;return t}var r=e.document;var a=r;var n=a.currentScript;var i=e.DocumentFragment,o=e.HTMLTemplateElement,l=e.Node,s=e.Element,f=e.NodeFilter,u=e.NamedNodeMap,c=u===void 0?e.NamedNodeMap||e.MozNamedAttrMap:u,p=e.HTMLFormElement,d=e.DOMParser,m=e.trustedTypes;var v=s.prototype;var g=lookupGetter(v,"cloneNode");var y=lookupGetter(v,"remove");var h=lookupGetter(v,"nextSibling");var T=lookupGetter(v,"childNodes");var S=lookupGetter(v,"parentNode");if(typeof o==="function"){var E=r.createElement("template");if(E.content&&E.content.ownerDocument){r=E.content.ownerDocument}}var b;var w="";var _=r.implementation,x=r.createNodeIterator,A=r.createDocumentFragment,O=r.getElementsByTagName;var P=a.importNode;var R=_createHooksMap();t.isSupported=typeof entries==="function"&&typeof S==="function"&&_&&_.createHTMLDocument!==undefined;var k=EXPRESSIONS.MUSTACHE_EXPR,D=EXPRESSIONS.ERB_EXPR,M=EXPRESSIONS.TMPLIT_EXPR,I=EXPRESSIONS.DATA_ATTR,z=EXPRESSIONS.ARIA_ATTR,L=EXPRESSIONS.IS_SCRIPT_OR_DATA,C=EXPRESSIONS.ATTR_WHITESPACE,N=EXPRESSIONS.CUSTOM_ELEMENT;var j=EXPRESSIONS.IS_ALLOWED_URI;var F=null;var H=addToSet({},__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([],html$1,true),svg$1,true),svgFilters,true),mathMl$1,true),text,true));var U=null;var X=addToSet({},__spreadArray(__spreadArray(__spreadArray(__spreadArray([],html,true),svg,true),mathMl,true),xml,true));var $=Object.seal(create(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));var Y=null;var W=null;var B=true;var G=true;var q=false;var K=true;var V=false;var J=true;var Q=false;var Z=false;var ee=false;var te=false;var re=false;var ae=false;var ne=true;var ie=false;var oe="user-content-";var le=true;var se=false;var fe={};var ue=null;var ce=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);var pe=null;var de=addToSet({},["audio","video","img","source","image","track"]);var me=null;var ve=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);var ge="http://www.w3.org/1998/Math/MathML";var ye="http://www.w3.org/2000/svg";var he="http://www.w3.org/1999/xhtml";var Te=he;var Se=false;var Ee=null;var be=addToSet({},[ge,ye,he],stringToString);var we=addToSet({},["mi","mo","mn","ms","mtext"]);var _e=addToSet({},["annotation-xml"]);var xe=addToSet({},["title","style","font","a","script"]);var Ae=null;var Oe=["application/xhtml+xml","text/html"];var Pe="text/html";var Re=null;var ke=null;var De=r.createElement("form");var Me=function e(t){return t instanceof RegExp||t instanceof Function};var Ie=function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(ke&&ke===t){return}if(!t||typeof t!=="object"){t={}}t=clone(t);Ae=Oe.indexOf(t.PARSER_MEDIA_TYPE)===-1?Pe:t.PARSER_MEDIA_TYPE;Re=Ae==="application/xhtml+xml"?stringToString:stringToLowerCase;F=objectHasOwnProperty(t,"ALLOWED_TAGS")?addToSet({},t.ALLOWED_TAGS,Re):H;U=objectHasOwnProperty(t,"ALLOWED_ATTR")?addToSet({},t.ALLOWED_ATTR,Re):X;Ee=objectHasOwnProperty(t,"ALLOWED_NAMESPACES")?addToSet({},t.ALLOWED_NAMESPACES,stringToString):be;me=objectHasOwnProperty(t,"ADD_URI_SAFE_ATTR")?addToSet(clone(ve),t.ADD_URI_SAFE_ATTR,Re):ve;pe=objectHasOwnProperty(t,"ADD_DATA_URI_TAGS")?addToSet(clone(de),t.ADD_DATA_URI_TAGS,Re):de;ue=objectHasOwnProperty(t,"FORBID_CONTENTS")?addToSet({},t.FORBID_CONTENTS,Re):ce;Y=objectHasOwnProperty(t,"FORBID_TAGS")?addToSet({},t.FORBID_TAGS,Re):{};W=objectHasOwnProperty(t,"FORBID_ATTR")?addToSet({},t.FORBID_ATTR,Re):{};fe=objectHasOwnProperty(t,"USE_PROFILES")?t.USE_PROFILES:false;B=t.ALLOW_ARIA_ATTR!==false;G=t.ALLOW_DATA_ATTR!==false;q=t.ALLOW_UNKNOWN_PROTOCOLS||false;K=t.ALLOW_SELF_CLOSE_IN_ATTR!==false;V=t.SAFE_FOR_TEMPLATES||false;J=t.SAFE_FOR_XML!==false;Q=t.WHOLE_DOCUMENT||false;te=t.RETURN_DOM||false;re=t.RETURN_DOM_FRAGMENT||false;ae=t.RETURN_TRUSTED_TYPE||false;ee=t.FORCE_BODY||false;ne=t.SANITIZE_DOM!==false;ie=t.SANITIZE_NAMED_PROPS||false;le=t.KEEP_CONTENT!==false;se=t.IN_PLACE||false;j=t.ALLOWED_URI_REGEXP||IS_ALLOWED_URI;Te=t.NAMESPACE||he;we=t.MATHML_TEXT_INTEGRATION_POINTS||we;_e=t.HTML_INTEGRATION_POINTS||_e;$=t.CUSTOM_ELEMENT_HANDLING||{};if(t.CUSTOM_ELEMENT_HANDLING&&Me(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){$.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(t.CUSTOM_ELEMENT_HANDLING&&Me(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){$.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){$.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(V){G=false}if(re){te=true}if(fe){F=addToSet({},text);U=[];if(fe.html===true){addToSet(F,html$1);addToSet(U,html)}if(fe.svg===true){addToSet(F,svg$1);addToSet(U,svg);addToSet(U,xml)}if(fe.svgFilters===true){addToSet(F,svgFilters);addToSet(U,svg);addToSet(U,xml)}if(fe.mathMl===true){addToSet(F,mathMl$1);addToSet(U,mathMl);addToSet(U,xml)}}if(t.ADD_TAGS){if(F===H){F=clone(F)}addToSet(F,t.ADD_TAGS,Re)}if(t.ADD_ATTR){if(U===X){U=clone(U)}addToSet(U,t.ADD_ATTR,Re)}if(t.ADD_URI_SAFE_ATTR){addToSet(me,t.ADD_URI_SAFE_ATTR,Re)}if(t.FORBID_CONTENTS){if(ue===ce){ue=clone(ue)}addToSet(ue,t.FORBID_CONTENTS,Re)}if(le){F["#text"]=true}if(Q){addToSet(F,["html","head","body"])}if(F.table){addToSet(F,["tbody"]);delete Y.tbody}if(t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}b=t.TRUSTED_TYPES_POLICY;w=b.createHTML("")}else{if(b===undefined){b=_createTrustedTypesPolicy(m,n)}if(b!==null&&typeof w==="string"){w=b.createHTML("")}}if(freeze){freeze(t)}ke=t};var ze=addToSet({},__spreadArray(__spreadArray(__spreadArray([],svg$1,true),svgFilters,true),svgDisallowed,true));var Le=addToSet({},__spreadArray(__spreadArray([],mathMl$1,true),mathMlDisallowed,true));var Ce=function e(t){var r=S(t);if(!r||!r.tagName){r={namespaceURI:Te,tagName:"template"}}var a=stringToLowerCase(t.tagName);var n=stringToLowerCase(r.tagName);if(!Ee[t.namespaceURI]){return false}if(t.namespaceURI===ye){if(r.namespaceURI===he){return a==="svg"}if(r.namespaceURI===ge){return a==="svg"&&(n==="annotation-xml"||we[n])}return Boolean(ze[a])}if(t.namespaceURI===ge){if(r.namespaceURI===he){return a==="math"}if(r.namespaceURI===ye){return a==="math"&&_e[n]}return Boolean(Le[a])}if(t.namespaceURI===he){if(r.namespaceURI===ye&&!_e[n]){return false}if(r.namespaceURI===ge&&!we[n]){return false}return!Le[a]&&(xe[a]||!ze[a])}if(Ae==="application/xhtml+xml"&&Ee[t.namespaceURI]){return true}return false};var Ne=function e(r){arrayPush(t.removed,{element:r});try{S(r).removeChild(r)}catch(e){y(r)}};var je=function e(r,a){try{arrayPush(t.removed,{attribute:a.getAttributeNode(r),from:a})}catch(e){arrayPush(t.removed,{attribute:null,from:a})}a.removeAttribute(r);if(r==="is"){if(te||re){try{Ne(a)}catch(e){}}else{try{a.setAttribute(r,"")}catch(e){}}}};var Fe=function e(t){var a=null;var n=null;if(ee){t="<remove></remove>"+t}else{var i=stringMatch(t,/^[\r\n\t ]+/);n=i&&i[0]}if(Ae==="application/xhtml+xml"&&Te===he){t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>"}var o=b?b.createHTML(t):t;if(Te===he){try{a=(new d).parseFromString(o,Ae)}catch(e){}}if(!a||!a.documentElement){a=_.createDocument(Te,"template",null);try{a.documentElement.innerHTML=Se?w:o}catch(e){}}var l=a.body||a.documentElement;if(t&&n){l.insertBefore(r.createTextNode(n),l.childNodes[0]||null)}if(Te===he){return O.call(a,Q?"html":"body")[0]}return Q?a.documentElement:l};var He=function e(t){return x.call(t.ownerDocument||t,t,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)};var Ue=function e(t){return t instanceof p&&(typeof t.nodeName!=="string"||typeof t.textContent!=="string"||typeof t.removeChild!=="function"||!(t.attributes instanceof c)||typeof t.removeAttribute!=="function"||typeof t.setAttribute!=="function"||typeof t.namespaceURI!=="string"||typeof t.insertBefore!=="function"||typeof t.hasChildNodes!=="function")};var Xe=function e(t){return typeof l==="function"&&t instanceof l};function $e(e,r,a){arrayForEach(e,(function(e){e.call(t,r,a,ke)}))}var Ye=function e(r){var a=null;$e(R.beforeSanitizeElements,r,null);if(Ue(r)){Ne(r);return true}var n=Re(r.nodeName);$e(R.uponSanitizeElement,r,{tagName:n,allowedTags:F});if(r.hasChildNodes()&&!Xe(r.firstElementChild)&®ExpTest(/<[/\w]/g,r.innerHTML)&®ExpTest(/<[/\w]/g,r.textContent)){Ne(r);return true}if(r.nodeType===NODE_TYPE.progressingInstruction){Ne(r);return true}if(J&&r.nodeType===NODE_TYPE.comment&®ExpTest(/<[/\w]/g,r.data)){Ne(r);return true}if(!F[n]||Y[n]){if(!Y[n]&&Be(n)){if($.tagNameCheck instanceof RegExp&®ExpTest($.tagNameCheck,n)){return false}if($.tagNameCheck instanceof Function&&$.tagNameCheck(n)){return false}}if(le&&!ue[n]){var i=S(r)||r.parentNode;var o=T(r)||r.childNodes;if(o&&i){var l=o.length;for(var f=l-1;f>=0;--f){var u=g(o[f],true);u.__removalCount=(r.__removalCount||0)+1;i.insertBefore(u,h(r))}}}Ne(r);return true}if(r instanceof s&&!Ce(r)){Ne(r);return true}if((n==="noscript"||n==="noembed"||n==="noframes")&®ExpTest(/<\/no(script|embed|frames)/i,r.innerHTML)){Ne(r);return true}if(V&&r.nodeType===NODE_TYPE.text){a=r.textContent;arrayForEach([k,D,M],(function(e){a=stringReplace(a,e," ")}));if(r.textContent!==a){arrayPush(t.removed,{element:r.cloneNode()});r.textContent=a}}$e(R.afterSanitizeElements,r,null);return false};var We=function e(t,a,n){if(ne&&(a==="id"||a==="name")&&(n in r||n in De)){return false}if(G&&!W[a]&®ExpTest(I,a));else if(B&®ExpTest(z,a));else if(!U[a]||W[a]){if(Be(t)&&($.tagNameCheck instanceof RegExp&®ExpTest($.tagNameCheck,t)||$.tagNameCheck instanceof Function&&$.tagNameCheck(t))&&($.attributeNameCheck instanceof RegExp&®ExpTest($.attributeNameCheck,a)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(a))||a==="is"&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&®ExpTest($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n)));else{return false}}else if(me[a]);else if(regExpTest(j,stringReplace(n,C,"")));else if((a==="src"||a==="xlink:href"||a==="href")&&t!=="script"&&stringIndexOf(n,"data:")===0&&pe[t]);else if(q&&!regExpTest(L,stringReplace(n,C,"")));else if(n){return false}else;return true};var Be=function e(t){return t!=="annotation-xml"&&stringMatch(t,N)};var Ge=function e(r){$e(R.beforeSanitizeAttributes,r,null);var a=r.attributes;if(!a||Ue(r)){return}var n={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:U,forceKeepAttr:undefined};var i=a.length;var o=function(){var e=a[i];var o=e.name,l=e.namespaceURI,s=e.value;var f=Re(o);var u=o==="value"?s:stringTrim(s);n.attrName=f;n.attrValue=u;n.keepAttr=true;n.forceKeepAttr=undefined;$e(R.uponSanitizeAttribute,r,n);u=n.attrValue;if(ie&&(f==="id"||f==="name")){je(o,r);u=oe+u}if(J&®ExpTest(/((--!?|])>)|<\/(style|title)/i,u)){je(o,r);return"continue"}if(n.forceKeepAttr){return"continue"}je(o,r);if(!n.keepAttr){return"continue"}if(!K&®ExpTest(/\/>/i,u)){je(o,r);return"continue"}if(V){arrayForEach([k,D,M],(function(e){u=stringReplace(u,e," ")}))}var c=Re(r.nodeName);if(!We(c,f,u)){return"continue"}if(b&&typeof m==="object"&&typeof m.getAttributeType==="function"){if(l);else{switch(m.getAttributeType(c,f)){case"TrustedHTML":{u=b.createHTML(u);break}case"TrustedScriptURL":{u=b.createScriptURL(u);break}}}}try{if(l){r.setAttributeNS(l,o,u)}else{r.setAttribute(o,u)}if(Ue(r)){Ne(r)}else{arrayPop(t.removed)}}catch(e){}};while(i--){o()}$e(R.afterSanitizeAttributes,r,null)};var qe=function e(t){var r=null;var a=He(t);$e(R.beforeSanitizeShadowDOM,t,null);while(r=a.nextNode()){$e(R.uponSanitizeShadowNode,r,null);Ye(r);Ge(r);if(r.content instanceof i){e(r.content)}}$e(R.afterSanitizeShadowDOM,t,null)};t.sanitize=function(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=null;var o=null;var s=null;var f=null;Se=!e;if(Se){e="\x3c!--\x3e"}if(typeof e!=="string"&&!Xe(e)){if(typeof e.toString==="function"){e=e.toString();if(typeof e!=="string"){throw typeErrorCreate("dirty is not a string, aborting")}}else{throw typeErrorCreate("toString is not a function")}}if(!t.isSupported){return e}if(!Z){Ie(r)}t.removed=[];if(typeof e==="string"){se=false}if(se){if(e.nodeName){var u=Re(e.nodeName);if(!F[u]||Y[u]){throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}}else if(e instanceof l){n=Fe("\x3c!----\x3e");o=n.ownerDocument.importNode(e,true);if(o.nodeType===NODE_TYPE.element&&o.nodeName==="BODY"){n=o}else if(o.nodeName==="HTML"){n=o}else{n.appendChild(o)}}else{if(!te&&!V&&!Q&&e.indexOf("<")===-1){return b&&ae?b.createHTML(e):e}n=Fe(e);if(!n){return te?null:ae?w:""}}if(n&&ee){Ne(n.firstChild)}var c=He(se?e:n);while(s=c.nextNode()){Ye(s);Ge(s);if(s.content instanceof i){qe(s.content)}}if(se){return e}if(te){if(re){f=A.call(n.ownerDocument);while(n.firstChild){f.appendChild(n.firstChild)}}else{f=n}if(U.shadowroot||U.shadowrootmode){f=P.call(a,f,true)}return f}var p=Q?n.outerHTML:n.innerHTML;if(Q&&F["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,n.ownerDocument.doctype.name)){p="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+p}if(V){arrayForEach([k,D,M],(function(e){p=stringReplace(p,e," ")}))}return b&&ae?b.createHTML(p):p};t.setConfig=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};Ie(e);Z=true};t.clearConfig=function(){ke=null;Z=false};t.isValidAttribute=function(e,t,r){if(!ke){Ie({})}var a=Re(e);var n=Re(t);return We(a,n,r)};t.addHook=function(e,t){if(typeof t!=="function"){return}arrayPush(R[e],t)};t.removeHook=function(e,t){if(t!==undefined){var r=arrayLastIndexOf(R[e],t);return r===-1?undefined:arraySplice(R[e],r,1)[0]}return arrayPop(R[e])};t.removeHooks=function(e){R[e]=[]};t.removeAllHooks=function(){R=_createHooksMap()};return t}var purify=createDOMPurify();export{purify as p};
|
|
2
|
+
import{__spreadArray}from"tslib";var entries=Object.entries,setPrototypeOf=Object.setPrototypeOf,isFrozen=Object.isFrozen,getPrototypeOf=Object.getPrototypeOf,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;var freeze=Object.freeze,seal=Object.seal,create=Object.create;var _a=typeof Reflect!=="undefined"&&Reflect,apply=_a.apply,construct=_a.construct;if(!freeze){freeze=function e(t){return t}}if(!seal){seal=function e(t){return t}}if(!apply){apply=function e(t,r,a){return t.apply(r,a)}}if(!construct){construct=function e(t,r){return new(t.bind.apply(t,__spreadArray([void 0],r,false)))}}var arrayForEach=unapply(Array.prototype.forEach);var arrayLastIndexOf=unapply(Array.prototype.lastIndexOf);var arrayPop=unapply(Array.prototype.pop);var arrayPush=unapply(Array.prototype.push);var arraySplice=unapply(Array.prototype.splice);var stringToLowerCase=unapply(String.prototype.toLowerCase);var stringToString=unapply(String.prototype.toString);var stringMatch=unapply(String.prototype.match);var stringReplace=unapply(String.prototype.replace);var stringIndexOf=unapply(String.prototype.indexOf);var stringTrim=unapply(String.prototype.trim);var objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty);var regExpTest=unapply(RegExp.prototype.test);var typeErrorCreate=unconstruct(TypeError);function unapply(e){return function(t){for(var r=arguments.length,a=new Array(r>1?r-1:0),n=1;n<r;n++){a[n-1]=arguments[n]}return apply(e,t,a)}}function unconstruct(e){return function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++){r[a]=arguments[a]}return construct(e,r)}}function addToSet(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:stringToLowerCase;if(setPrototypeOf){setPrototypeOf(e,null)}var a=t.length;while(a--){var n=t[a];if(typeof n==="string"){var i=r(n);if(i!==n){if(!isFrozen(t)){t[a]=i}n=i}}e[n]=true}return e}function cleanArray(e){for(var t=0;t<e.length;t++){var r=objectHasOwnProperty(e,t);if(!r){e[t]=null}}return e}function clone(e){var t=create(null);for(var r=0,a=entries(e);r<a.length;r++){var n=a[r],i=n[0],o=n[1];var l=objectHasOwnProperty(e,i);if(l){if(Array.isArray(o)){t[i]=cleanArray(o)}else if(o&&typeof o==="object"&&o.constructor===Object){t[i]=clone(o)}else{t[i]=o}}}return t}function lookupGetter(e,t){while(e!==null){var r=getOwnPropertyDescriptor(e,t);if(r){if(r.get){return unapply(r.get)}if(typeof r.value==="function"){return unapply(r.value)}}e=getPrototypeOf(e)}function a(){return null}return a}var html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);var svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);var svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);var svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);var mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);var mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);var text=freeze(["#text"]);var html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);var svg=freeze(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);var mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);var xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);var MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);var ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm);var TMPLIT_EXPR=seal(/\$\{[\w\W]*/gm);var DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);var ARIA_ATTR=seal(/^aria-[\-\w]+$/);var IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);var IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i);var ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);var DOCTYPE_NAME=seal(/^html$/i);var CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,ARIA_ATTR:ARIA_ATTR,ATTR_WHITESPACE:ATTR_WHITESPACE,CUSTOM_ELEMENT:CUSTOM_ELEMENT,DATA_ATTR:DATA_ATTR,DOCTYPE_NAME:DOCTYPE_NAME,ERB_EXPR:ERB_EXPR,IS_ALLOWED_URI:IS_ALLOWED_URI,IS_SCRIPT_OR_DATA:IS_SCRIPT_OR_DATA,MUSTACHE_EXPR:MUSTACHE_EXPR,TMPLIT_EXPR:TMPLIT_EXPR});var NODE_TYPE={element:1,text:3,progressingInstruction:7,comment:8,document:9};var getGlobal=function e(){return typeof window==="undefined"?null:window};var _createTrustedTypesPolicy=function e(t,r){if(typeof t!=="object"||typeof t.createPolicy!=="function"){return null}var a=null;var n="data-tt-policy-suffix";if(r&&r.hasAttribute(n)){a=r.getAttribute(n)}var i="dompurify"+(a?"#"+a:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){console.warn("TrustedTypes policy "+i+" could not be created.");return null}};var _createHooksMap=function e(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:getGlobal();var t=function(e){return createDOMPurify(e)};t.version="3.2.4";t.removed=[];if(!e||!e.document||e.document.nodeType!==NODE_TYPE.document||!e.Element){t.isSupported=false;return t}var r=e.document;var a=r;var n=a.currentScript;var i=e.DocumentFragment,o=e.HTMLTemplateElement,l=e.Node,s=e.Element,f=e.NodeFilter,u=e.NamedNodeMap,c=u===void 0?e.NamedNodeMap||e.MozNamedAttrMap:u,p=e.HTMLFormElement,d=e.DOMParser,m=e.trustedTypes;var v=s.prototype;var g=lookupGetter(v,"cloneNode");var y=lookupGetter(v,"remove");var h=lookupGetter(v,"nextSibling");var T=lookupGetter(v,"childNodes");var S=lookupGetter(v,"parentNode");if(typeof o==="function"){var E=r.createElement("template");if(E.content&&E.content.ownerDocument){r=E.content.ownerDocument}}var b;var w="";var _=r.implementation,x=r.createNodeIterator,A=r.createDocumentFragment,O=r.getElementsByTagName;var P=a.importNode;var R=_createHooksMap();t.isSupported=typeof entries==="function"&&typeof S==="function"&&_&&_.createHTMLDocument!==undefined;var k=EXPRESSIONS.MUSTACHE_EXPR,D=EXPRESSIONS.ERB_EXPR,I=EXPRESSIONS.TMPLIT_EXPR,M=EXPRESSIONS.DATA_ATTR,z=EXPRESSIONS.ARIA_ATTR,L=EXPRESSIONS.IS_SCRIPT_OR_DATA,C=EXPRESSIONS.ATTR_WHITESPACE,N=EXPRESSIONS.CUSTOM_ELEMENT;var j=EXPRESSIONS.IS_ALLOWED_URI;var F=null;var H=addToSet({},__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([],html$1,true),svg$1,true),svgFilters,true),mathMl$1,true),text,true));var U=null;var X=addToSet({},__spreadArray(__spreadArray(__spreadArray(__spreadArray([],html,true),svg,true),mathMl,true),xml,true));var $=Object.seal(create(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));var Y=null;var B=null;var W=true;var G=true;var q=false;var K=true;var V=false;var J=true;var Q=false;var Z=false;var ee=false;var te=false;var re=false;var ae=false;var ne=true;var ie=false;var oe="user-content-";var le=true;var se=false;var fe={};var ue=null;var ce=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);var pe=null;var de=addToSet({},["audio","video","img","source","image","track"]);var me=null;var ve=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);var ge="http://www.w3.org/1998/Math/MathML";var ye="http://www.w3.org/2000/svg";var he="http://www.w3.org/1999/xhtml";var Te=he;var Se=false;var Ee=null;var be=addToSet({},[ge,ye,he],stringToString);var we=addToSet({},["mi","mo","mn","ms","mtext"]);var _e=addToSet({},["annotation-xml"]);var xe=addToSet({},["title","style","font","a","script"]);var Ae=null;var Oe=["application/xhtml+xml","text/html"];var Pe="text/html";var Re=null;var ke=null;var De=r.createElement("form");var Ie=function e(t){return t instanceof RegExp||t instanceof Function};var Me=function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(ke&&ke===t){return}if(!t||typeof t!=="object"){t={}}t=clone(t);Ae=Oe.indexOf(t.PARSER_MEDIA_TYPE)===-1?Pe:t.PARSER_MEDIA_TYPE;Re=Ae==="application/xhtml+xml"?stringToString:stringToLowerCase;F=objectHasOwnProperty(t,"ALLOWED_TAGS")?addToSet({},t.ALLOWED_TAGS,Re):H;U=objectHasOwnProperty(t,"ALLOWED_ATTR")?addToSet({},t.ALLOWED_ATTR,Re):X;Ee=objectHasOwnProperty(t,"ALLOWED_NAMESPACES")?addToSet({},t.ALLOWED_NAMESPACES,stringToString):be;me=objectHasOwnProperty(t,"ADD_URI_SAFE_ATTR")?addToSet(clone(ve),t.ADD_URI_SAFE_ATTR,Re):ve;pe=objectHasOwnProperty(t,"ADD_DATA_URI_TAGS")?addToSet(clone(de),t.ADD_DATA_URI_TAGS,Re):de;ue=objectHasOwnProperty(t,"FORBID_CONTENTS")?addToSet({},t.FORBID_CONTENTS,Re):ce;Y=objectHasOwnProperty(t,"FORBID_TAGS")?addToSet({},t.FORBID_TAGS,Re):{};B=objectHasOwnProperty(t,"FORBID_ATTR")?addToSet({},t.FORBID_ATTR,Re):{};fe=objectHasOwnProperty(t,"USE_PROFILES")?t.USE_PROFILES:false;W=t.ALLOW_ARIA_ATTR!==false;G=t.ALLOW_DATA_ATTR!==false;q=t.ALLOW_UNKNOWN_PROTOCOLS||false;K=t.ALLOW_SELF_CLOSE_IN_ATTR!==false;V=t.SAFE_FOR_TEMPLATES||false;J=t.SAFE_FOR_XML!==false;Q=t.WHOLE_DOCUMENT||false;te=t.RETURN_DOM||false;re=t.RETURN_DOM_FRAGMENT||false;ae=t.RETURN_TRUSTED_TYPE||false;ee=t.FORCE_BODY||false;ne=t.SANITIZE_DOM!==false;ie=t.SANITIZE_NAMED_PROPS||false;le=t.KEEP_CONTENT!==false;se=t.IN_PLACE||false;j=t.ALLOWED_URI_REGEXP||IS_ALLOWED_URI;Te=t.NAMESPACE||he;we=t.MATHML_TEXT_INTEGRATION_POINTS||we;_e=t.HTML_INTEGRATION_POINTS||_e;$=t.CUSTOM_ELEMENT_HANDLING||{};if(t.CUSTOM_ELEMENT_HANDLING&&Ie(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){$.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(t.CUSTOM_ELEMENT_HANDLING&&Ie(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){$.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){$.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(V){G=false}if(re){te=true}if(fe){F=addToSet({},text);U=[];if(fe.html===true){addToSet(F,html$1);addToSet(U,html)}if(fe.svg===true){addToSet(F,svg$1);addToSet(U,svg);addToSet(U,xml)}if(fe.svgFilters===true){addToSet(F,svgFilters);addToSet(U,svg);addToSet(U,xml)}if(fe.mathMl===true){addToSet(F,mathMl$1);addToSet(U,mathMl);addToSet(U,xml)}}if(t.ADD_TAGS){if(F===H){F=clone(F)}addToSet(F,t.ADD_TAGS,Re)}if(t.ADD_ATTR){if(U===X){U=clone(U)}addToSet(U,t.ADD_ATTR,Re)}if(t.ADD_URI_SAFE_ATTR){addToSet(me,t.ADD_URI_SAFE_ATTR,Re)}if(t.FORBID_CONTENTS){if(ue===ce){ue=clone(ue)}addToSet(ue,t.FORBID_CONTENTS,Re)}if(le){F["#text"]=true}if(Q){addToSet(F,["html","head","body"])}if(F.table){addToSet(F,["tbody"]);delete Y.tbody}if(t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}b=t.TRUSTED_TYPES_POLICY;w=b.createHTML("")}else{if(b===undefined){b=_createTrustedTypesPolicy(m,n)}if(b!==null&&typeof w==="string"){w=b.createHTML("")}}if(freeze){freeze(t)}ke=t};var ze=addToSet({},__spreadArray(__spreadArray(__spreadArray([],svg$1,true),svgFilters,true),svgDisallowed,true));var Le=addToSet({},__spreadArray(__spreadArray([],mathMl$1,true),mathMlDisallowed,true));var Ce=function e(t){var r=S(t);if(!r||!r.tagName){r={namespaceURI:Te,tagName:"template"}}var a=stringToLowerCase(t.tagName);var n=stringToLowerCase(r.tagName);if(!Ee[t.namespaceURI]){return false}if(t.namespaceURI===ye){if(r.namespaceURI===he){return a==="svg"}if(r.namespaceURI===ge){return a==="svg"&&(n==="annotation-xml"||we[n])}return Boolean(ze[a])}if(t.namespaceURI===ge){if(r.namespaceURI===he){return a==="math"}if(r.namespaceURI===ye){return a==="math"&&_e[n]}return Boolean(Le[a])}if(t.namespaceURI===he){if(r.namespaceURI===ye&&!_e[n]){return false}if(r.namespaceURI===ge&&!we[n]){return false}return!Le[a]&&(xe[a]||!ze[a])}if(Ae==="application/xhtml+xml"&&Ee[t.namespaceURI]){return true}return false};var Ne=function e(r){arrayPush(t.removed,{element:r});try{S(r).removeChild(r)}catch(e){y(r)}};var je=function e(r,a){try{arrayPush(t.removed,{attribute:a.getAttributeNode(r),from:a})}catch(e){arrayPush(t.removed,{attribute:null,from:a})}a.removeAttribute(r);if(r==="is"){if(te||re){try{Ne(a)}catch(e){}}else{try{a.setAttribute(r,"")}catch(e){}}}};var Fe=function e(t){var a=null;var n=null;if(ee){t="<remove></remove>"+t}else{var i=stringMatch(t,/^[\r\n\t ]+/);n=i&&i[0]}if(Ae==="application/xhtml+xml"&&Te===he){t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>"}var o=b?b.createHTML(t):t;if(Te===he){try{a=(new d).parseFromString(o,Ae)}catch(e){}}if(!a||!a.documentElement){a=_.createDocument(Te,"template",null);try{a.documentElement.innerHTML=Se?w:o}catch(e){}}var l=a.body||a.documentElement;if(t&&n){l.insertBefore(r.createTextNode(n),l.childNodes[0]||null)}if(Te===he){return O.call(a,Q?"html":"body")[0]}return Q?a.documentElement:l};var He=function e(t){return x.call(t.ownerDocument||t,t,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)};var Ue=function e(t){return t instanceof p&&(typeof t.nodeName!=="string"||typeof t.textContent!=="string"||typeof t.removeChild!=="function"||!(t.attributes instanceof c)||typeof t.removeAttribute!=="function"||typeof t.setAttribute!=="function"||typeof t.namespaceURI!=="string"||typeof t.insertBefore!=="function"||typeof t.hasChildNodes!=="function")};var Xe=function e(t){return typeof l==="function"&&t instanceof l};function $e(e,r,a){arrayForEach(e,(function(e){e.call(t,r,a,ke)}))}var Ye=function e(r){var a=null;$e(R.beforeSanitizeElements,r,null);if(Ue(r)){Ne(r);return true}var n=Re(r.nodeName);$e(R.uponSanitizeElement,r,{tagName:n,allowedTags:F});if(r.hasChildNodes()&&!Xe(r.firstElementChild)&®ExpTest(/<[/\w]/g,r.innerHTML)&®ExpTest(/<[/\w]/g,r.textContent)){Ne(r);return true}if(r.nodeType===NODE_TYPE.progressingInstruction){Ne(r);return true}if(J&&r.nodeType===NODE_TYPE.comment&®ExpTest(/<[/\w]/g,r.data)){Ne(r);return true}if(!F[n]||Y[n]){if(!Y[n]&&We(n)){if($.tagNameCheck instanceof RegExp&®ExpTest($.tagNameCheck,n)){return false}if($.tagNameCheck instanceof Function&&$.tagNameCheck(n)){return false}}if(le&&!ue[n]){var i=S(r)||r.parentNode;var o=T(r)||r.childNodes;if(o&&i){var l=o.length;for(var f=l-1;f>=0;--f){var u=g(o[f],true);u.__removalCount=(r.__removalCount||0)+1;i.insertBefore(u,h(r))}}}Ne(r);return true}if(r instanceof s&&!Ce(r)){Ne(r);return true}if((n==="noscript"||n==="noembed"||n==="noframes")&®ExpTest(/<\/no(script|embed|frames)/i,r.innerHTML)){Ne(r);return true}if(V&&r.nodeType===NODE_TYPE.text){a=r.textContent;arrayForEach([k,D,I],(function(e){a=stringReplace(a,e," ")}));if(r.textContent!==a){arrayPush(t.removed,{element:r.cloneNode()});r.textContent=a}}$e(R.afterSanitizeElements,r,null);return false};var Be=function e(t,a,n){if(ne&&(a==="id"||a==="name")&&(n in r||n in De)){return false}if(G&&!B[a]&®ExpTest(M,a));else if(W&®ExpTest(z,a));else if(!U[a]||B[a]){if(We(t)&&($.tagNameCheck instanceof RegExp&®ExpTest($.tagNameCheck,t)||$.tagNameCheck instanceof Function&&$.tagNameCheck(t))&&($.attributeNameCheck instanceof RegExp&®ExpTest($.attributeNameCheck,a)||$.attributeNameCheck instanceof Function&&$.attributeNameCheck(a))||a==="is"&&$.allowCustomizedBuiltInElements&&($.tagNameCheck instanceof RegExp&®ExpTest($.tagNameCheck,n)||$.tagNameCheck instanceof Function&&$.tagNameCheck(n)));else{return false}}else if(me[a]);else if(regExpTest(j,stringReplace(n,C,"")));else if((a==="src"||a==="xlink:href"||a==="href")&&t!=="script"&&stringIndexOf(n,"data:")===0&&pe[t]);else if(q&&!regExpTest(L,stringReplace(n,C,"")));else if(n){return false}else;return true};var We=function e(t){return t!=="annotation-xml"&&stringMatch(t,N)};var Ge=function e(r){$e(R.beforeSanitizeAttributes,r,null);var a=r.attributes;if(!a||Ue(r)){return}var n={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:U,forceKeepAttr:undefined};var i=a.length;var o=function(){var e=a[i];var o=e.name,l=e.namespaceURI,s=e.value;var f=Re(o);var u=o==="value"?s:stringTrim(s);n.attrName=f;n.attrValue=u;n.keepAttr=true;n.forceKeepAttr=undefined;$e(R.uponSanitizeAttribute,r,n);u=n.attrValue;if(ie&&(f==="id"||f==="name")){je(o,r);u=oe+u}if(J&®ExpTest(/((--!?|])>)|<\/(style|title)/i,u)){je(o,r);return"continue"}if(n.forceKeepAttr){return"continue"}je(o,r);if(!n.keepAttr){return"continue"}if(!K&®ExpTest(/\/>/i,u)){je(o,r);return"continue"}if(V){arrayForEach([k,D,I],(function(e){u=stringReplace(u,e," ")}))}var c=Re(r.nodeName);if(!Be(c,f,u)){return"continue"}if(b&&typeof m==="object"&&typeof m.getAttributeType==="function"){if(l);else{switch(m.getAttributeType(c,f)){case"TrustedHTML":{u=b.createHTML(u);break}case"TrustedScriptURL":{u=b.createScriptURL(u);break}}}}try{if(l){r.setAttributeNS(l,o,u)}else{r.setAttribute(o,u)}if(Ue(r)){Ne(r)}else{arrayPop(t.removed)}}catch(e){}};while(i--){o()}$e(R.afterSanitizeAttributes,r,null)};var qe=function e(t){var r=null;var a=He(t);$e(R.beforeSanitizeShadowDOM,t,null);while(r=a.nextNode()){$e(R.uponSanitizeShadowNode,r,null);Ye(r);Ge(r);if(r.content instanceof i){e(r.content)}}$e(R.afterSanitizeShadowDOM,t,null)};t.sanitize=function(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=null;var o=null;var s=null;var f=null;Se=!e;if(Se){e="\x3c!--\x3e"}if(typeof e!=="string"&&!Xe(e)){if(typeof e.toString==="function"){e=e.toString();if(typeof e!=="string"){throw typeErrorCreate("dirty is not a string, aborting")}}else{throw typeErrorCreate("toString is not a function")}}if(!t.isSupported){return e}if(!Z){Me(r)}t.removed=[];if(typeof e==="string"){se=false}if(se){if(e.nodeName){var u=Re(e.nodeName);if(!F[u]||Y[u]){throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}}else if(e instanceof l){n=Fe("\x3c!----\x3e");o=n.ownerDocument.importNode(e,true);if(o.nodeType===NODE_TYPE.element&&o.nodeName==="BODY"){n=o}else if(o.nodeName==="HTML"){n=o}else{n.appendChild(o)}}else{if(!te&&!V&&!Q&&e.indexOf("<")===-1){return b&&ae?b.createHTML(e):e}n=Fe(e);if(!n){return te?null:ae?w:""}}if(n&&ee){Ne(n.firstChild)}var c=He(se?e:n);while(s=c.nextNode()){Ye(s);Ge(s);if(s.content instanceof i){qe(s.content)}}if(se){return e}if(te){if(re){f=A.call(n.ownerDocument);while(n.firstChild){f.appendChild(n.firstChild)}}else{f=n}if(U.shadowroot||U.shadowrootmode){f=P.call(a,f,true)}return f}var p=Q?n.outerHTML:n.innerHTML;if(Q&&F["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,n.ownerDocument.doctype.name)){p="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+p}if(V){arrayForEach([k,D,I],(function(e){p=stringReplace(p,e," ")}))}return b&&ae?b.createHTML(p):p};t.setConfig=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};Me(e);Z=true};t.clearConfig=function(){ke=null;Z=false};t.isValidAttribute=function(e,t,r){if(!ke){Me({})}var a=Re(e);var n=Re(t);return Be(a,n,r)};t.addHook=function(e,t){if(typeof t!=="function"){return}arrayPush(R[e],t)};t.removeHook=function(e,t){if(t!==undefined){var r=arrayLastIndexOf(R[e],t);return r===-1?undefined:arraySplice(R[e],r,1)[0]}return arrayPop(R[e])};t.removeHooks=function(e){R[e]=[]};t.removeAllHooks=function(){R=_createHooksMap()};return t}var purify=createDOMPurify();var sanitizeSvg=function(e){return purify.sanitize(e,{USE_PROFILES:{svg:true},FORBID_ATTR:["height","width"]})};export{sanitizeSvg as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as BalSwipeSubject}from"./swipe.subject-
|
|
1
|
+
import{B as BalSwipeSubject}from"./swipe.subject-Noqy4TH1.js";function ListenToSwipe(i){if(i===void 0){i={mobileOnly:false}}return function(t,e,n){var s=t.connectedCallback,o=t.disconnectedCallback;t.connectedCallback=function(){if(!this._balSwipeSubject){this._balSwipeSubject=new BalSwipeSubject(i);this._balSwipeSubject.attach(this)}return s&&s.call(this)};t.disconnectedCallback=function(){if(this._balSwipeSubject){this._balSwipeSubject.detach();this._balSwipeSubject=undefined}return o&&o.call(this)}}}export{ListenToSwipe as L};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter,__extends,__generator}from"tslib";import{b as balDevice}from"./device-C8QTKcCb.js";import{L as ListenerAbstract,a as SingleSubject}from"./listener-DvNO7R93.js";import{K as rOnLoad}from"./index-Btdiqd5K.js";var BalSwipeListener=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.connect=function(i){return __awaiter(this,void 0,void 0,(function(){var n=this;return __generator(this,(function(e){switch(e.label){case 0:t.prototype.connect.call(this,i);return[4,this.loadLib()];case 1:e.sent();if(this.PointerListenerLib){this.pointerListener=new this.PointerListenerLib(i,{handleTouchEvents:false});this.pointerListener.on("swipeleft",(function(){return n.notify({left:true,right:false})}));this.pointerListener.on("swiperight",(function(){return n.notify({left:false,right:true})}))}return[2]}}))}))};i.prototype.disconnect=function(){var i;t.prototype.disconnect.call(this);(i=this.pointerListener)===null||i===void 0?void 0:i.destroy()};i.prototype.loadLib=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){return[2,new Promise((function(i,n){rOnLoad((function(){return __awaiter(t,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){import("./contact-BkEdlCZJ.js").then((function(n){t.PointerListenerLib=n.PointerListener;i()})).catch(n);return[2]}))}))}))}))]}))}))};return i}(ListenerAbstract);var BalSwipeSubject=function(t){__extends(i,t);function i(i){if(i===void 0){i={mobileOnly:false}}var n=t.call(this,(function(t,i){if(i){t.swipeListener(i)}}))||this;n.options=i;n.listener=new BalSwipeListener;return n}i.prototype.attach=function(i){var n=this;if(this.options.mobileOnly===true&&balDevice.isMobile||this.options.mobileOnly!==true){t.prototype.attach.call(this,i);this.listener.connect(i.el);this.listener.add((function(i){return t.prototype.notify.call(n,i)}))}};i.prototype.detach=function(){t.prototype.detach.call(this);this.listener.disconnect()};return i}(SingleSubject);export{BalSwipeSubject as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";import{M as h,t as isDescendant,I as debounce,R as addEventListener,S as removeEventListener,Q as raf}from"./index-pkPHUz5e.js";import{B as BEM}from"./bem-ByiN-QjD.js";import{s as stopEventBubbling}from"./form-input-CGW38ndP.js";import{j as isTabKey}from"./keyboard.helpers-D1VPLQ5z.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 n=convert(r.getPropertyValue("padding-top"));var e=convert(r.getPropertyValue("padding-right"));var s=convert(r.getPropertyValue("padding-bottom"));var o=convert(r.getPropertyValue("padding-left"));return{top:n,right:e,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 n=convert(i.getPropertyValue("width"));if(r==="border-box"){return n}var e=convert(i.getPropertyValue("padding-right"));var s=convert(i.getPropertyValue("padding-left"));return s+n+e};var getWidthOfOverflowingChildren=function(t){var i=Array.from(t.children);var r=0;for(var n=0,e=i;n<e.length;n++){var s=e[n];var o=s.offsetLeft+s.offsetWidth;r=Math.max(r,o)}return r};var DotControl=function(t){var i=t.value,r=t.items,n=t.containerId,e=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}e(r[i])};return h("div",{class:Object.assign(Object.assign({},o.class()),o.modifier("dots").class())},h("bal-pagination",{"aria-controls":n,interface:"small",value:i+1,totalPages:r.length,onBalChange:a}))};var LargeControl=function(t){var i=t.isFirst,r=t.isLast,n=t.inverted,e=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&&e)),"aria-controls":a,square:true,icon:"nav-go-left",rounded:true,inverted:n,onClick:function(){return o()},tabindex:-1,disabled:i,"aria-hidden":i&&e?"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&&e)),"aria-controls":a,square:true,icon:"nav-go-right",rounded:true,inverted:n,onClick:function(){return s()},tabindex:-1,disabled:r,"aria-hidden":r&&e?"true":null,"data-testid":"bal-carousel-control-right",title:c}))};var SmallControl=function(t){var i=t.isFirst,r=t.isLast,n=t.inverted,e=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:n,onClick:function(){return u()},disabled:i,tabindex:"-1","data-testid":"bal-carousel-control-left",title:e}),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:n,onClick:function(){return a()},disabled:r,tabindex:"-1","data-testid":"bal-carousel-control-right",title:s}))};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 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.steps=1;this.noNeedForControls=true;this.isLastSlideVisible=false;this.itemsPerView=1;this.controls="none";this.gapSpace="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 n=t.shiftMode;var e=t.isInsideContainer;if(t.controls!=="dots"&&t.controls!=="tabs"&&r&&!e){if(n){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(Object.assign({},t.cssBlock.element("container").class(t.active)),t.cssBlock.element("container").modifier("gap-".concat(t.gapSpace)).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,n;if(t===void 0){t=this.steps}return __generator(this,(function(e){i=this.component.swiperGetAllChildrenElements();r=i.length;n=this.index+t;if(n>=r){n=r-1}return[2,this.goTo(n)]}))}))};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(n){switch(n.label){case 0:if(!this.active)return[3,4];return[4,this.buildSlide(t)];case 1:i=n.sent();if(!i)return[3,3];return[4,this.animate(i.transformActive,true)];case 2:r=n.sent();if(r||this.index!==t){this.index=t;this.component.swiperOnChange(this.index)}n.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,n,e,s,o;return __generator(this,(function(a){i=this.component.swiperGetAllChildrenElements();r=t===undefined?this.lastIndex():t;if(i.length>r&&r>=0){n={none:0,normal:16,medium:24};e=n[this.gapSpace];s=i.filter((function(t,i){return i<r+1})).reduce((function(t,i){return t+getComputedWidth(i)+e}),0);o=i.filter((function(t,i){return i<r})).reduce((function(t,i){return t+getComputedWidth(i)+e}),0);return[2,{el:i[r],transformNext:s,transformActive:o,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(n){return[2,new Promise((function(n){if(r.currentRaf!==undefined){cancelAnimationFrame(r.currentRaf)}r.currentRaf=raf((function(){return __awaiter(r,void 0,void 0,(function(){var r,e,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){e=r.transformNext||0;s=this.innerEl.clientWidth||0;if(e===0||s===0){return[2,n(false)]}o=e-s;if(this.itemsPerView===3){o=e-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=e<=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,n(false)]}return[2,n(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};
|
|
1
|
+
import{__awaiter,__generator}from"tslib";import{M as h,t as isDescendant,I as debounce,R as addEventListener,S as removeEventListener,Q as raf}from"./index-Btdiqd5K.js";import{B as BEM}from"./bem-ByiN-QjD.js";import{s as stopEventBubbling}from"./form-input-BrNtLtd3.js";import{j as isTabKey}from"./keyboard.helpers-D1VPLQ5z.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 n=convert(r.getPropertyValue("padding-top"));var e=convert(r.getPropertyValue("padding-right"));var s=convert(r.getPropertyValue("padding-bottom"));var o=convert(r.getPropertyValue("padding-left"));return{top:n,right:e,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 n=convert(i.getPropertyValue("width"));if(r==="border-box"){return n}var e=convert(i.getPropertyValue("padding-right"));var s=convert(i.getPropertyValue("padding-left"));return s+n+e};var getWidthOfOverflowingChildren=function(t){var i=Array.from(t.children);var r=0;for(var n=0,e=i;n<e.length;n++){var s=e[n];var o=s.offsetLeft+s.offsetWidth;r=Math.max(r,o)}return r};var DotControl=function(t){var i=t.value,r=t.items,n=t.containerId,e=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}e(r[i])};return h("div",{class:Object.assign(Object.assign({},o.class()),o.modifier("dots").class())},h("bal-pagination",{"aria-controls":n,interface:"small",value:i+1,totalPages:r.length,onBalChange:a}))};var LargeControl=function(t){var i=t.isFirst,r=t.isLast,n=t.inverted,e=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&&e)),"aria-controls":a,square:true,icon:"nav-go-left",rounded:true,inverted:n,onClick:function(){return o()},tabindex:-1,disabled:i,"aria-hidden":i&&e?"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&&e)),"aria-controls":a,square:true,icon:"nav-go-right",rounded:true,inverted:n,onClick:function(){return s()},tabindex:-1,disabled:r,"aria-hidden":r&&e?"true":null,"data-testid":"bal-carousel-control-right",title:c}))};var SmallControl=function(t){var i=t.isFirst,r=t.isLast,n=t.inverted,e=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:n,onClick:function(){return u()},disabled:i,tabindex:"-1","data-testid":"bal-carousel-control-left",title:e}),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:n,onClick:function(){return a()},disabled:r,tabindex:"-1","data-testid":"bal-carousel-control-right",title:s}))};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 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.steps=1;this.noNeedForControls=true;this.isLastSlideVisible=false;this.itemsPerView=1;this.controls="none";this.gapSpace="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 n=t.shiftMode;var e=t.isInsideContainer;if(t.controls!=="dots"&&t.controls!=="tabs"&&r&&!e){if(n){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(Object.assign({},t.cssBlock.element("container").class(t.active)),t.cssBlock.element("container").modifier("gap-".concat(t.gapSpace)).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,n;if(t===void 0){t=this.steps}return __generator(this,(function(e){i=this.component.swiperGetAllChildrenElements();r=i.length;n=this.index+t;if(n>=r){n=r-1}return[2,this.goTo(n)]}))}))};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(n){switch(n.label){case 0:if(!this.active)return[3,4];return[4,this.buildSlide(t)];case 1:i=n.sent();if(!i)return[3,3];return[4,this.animate(i.transformActive,true)];case 2:r=n.sent();if(r||this.index!==t){this.index=t;this.component.swiperOnChange(this.index)}n.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,n,e,s,o;return __generator(this,(function(a){i=this.component.swiperGetAllChildrenElements();r=t===undefined?this.lastIndex():t;if(i.length>r&&r>=0){n={none:0,normal:16,medium:24};e=n[this.gapSpace];s=i.filter((function(t,i){return i<r+1})).reduce((function(t,i){return t+getComputedWidth(i)+e}),0);o=i.filter((function(t,i){return i<r})).reduce((function(t,i){return t+getComputedWidth(i)+e}),0);return[2,{el:i[r],transformNext:s,transformActive:o,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(n){return[2,new Promise((function(n){if(r.currentRaf!==undefined){cancelAnimationFrame(r.currentRaf)}r.currentRaf=raf((function(){return __awaiter(r,void 0,void 0,(function(){var r,e,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){e=r.transformNext||0;s=this.innerEl.clientWidth||0;if(e===0||s===0){return[2,n(false)]}o=e-s;if(this.itemsPerView===3){o=e-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=e<=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,n(false)]}return[2,n(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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter,__extends,__generator}from"tslib";import{r as deepReady,x as waitAfterFramePaint,I as debounce}from"./index-
|
|
1
|
+
import{__awaiter,__extends,__generator}from"tslib";import{r as deepReady,x as waitAfterFramePaint,I as debounce}from"./index-Btdiqd5K.js";import{L as ListenerAbstract,a as SingleSubject}from"./listener-DvNO7R93.js";var BalVisibilityListener=function(i){__extends(t,i);function t(){var t=i.apply(this,arguments)||this;t.waitAfterFramePrint=false;t.intersectionObserver=undefined;t.intersectionCallback=function(i){var n=i.some((function(i){return i.isIntersecting}));if(n){t.notify()}};return t}t.prototype.connect=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:i.prototype.connect.call(this,t);if(typeof IntersectionObserver==="undefined"){return[2]}if(!this.waitAfterFramePrint)return[3,3];return[4,deepReady(t)];case 1:n.sent();return[4,waitAfterFramePaint()];case 2:n.sent();n.label=3;case 3:this.destroyMutationObserver();this.intersectionObserver=new IntersectionObserver(this.intersectionCallback,{root:null,threshold:.5});this.intersectionObserver.observe(t);return[2]}}))}))};t.prototype.disconnect=function(){i.prototype.disconnect.call(this);this.destroyMutationObserver()};t.prototype.destroyMutationObserver=function(){if(this.intersectionObserver!==undefined){this.intersectionObserver.disconnect();this.intersectionObserver=undefined}};return t}(ListenerAbstract);var BalVisibilitySubject=function(i){__extends(t,i);function t(){var t=i.call(this,(function(i){i.visibilityListener()}))||this;t.debouncedNotify=debounce((function(){return t.notify()}),50);t.listener=new BalVisibilityListener;return t}t.prototype.attach=function(t){var n=this;var e,r;i.prototype.attach.call(this,t);(e=this.listener)===null||e===void 0?void 0:e.connect(t.el);(r=this.listener)===null||r===void 0?void 0:r.add((function(){return n.debouncedNotify()}))};t.prototype.detach=function(){var t;i.prototype.detach.call(this);(t=this.listener)===null||t===void 0?void 0:t.disconnect()};return t}(SingleSubject);function ListenToVisibility(){return function(i,t,n){var e=i.connectedCallback,r=i.componentDidLoad,s=i.disconnectedCallback;i.connectedCallback=function(){if(!this._balVisibilitySubject){this._balVisibilitySubject=new BalVisibilitySubject}return e&&e.call(this)};i.componentDidLoad=function(){this._balVisibilitySubject.attach(this);return r&&r.call(this)};i.disconnectedCallback=function(){if(this._balVisibilitySubject){this._balVisibilitySubject.detach();this._balVisibilitySubject=undefined}return s&&s.call(this)}}}export{ListenToVisibility as L};
|
package/dist/esm-es5/{window-resize.decorator-C4aZFmLU.js → window-resize.decorator-FrC4QXgf.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as BalWindowResizeSubject}from"./window-resize.subject-
|
|
1
|
+
import{B as BalWindowResizeSubject}from"./window-resize.subject-CxUk6KXC.js";function ListenToWindowResize(){return function(i,t,e){var n=i.connectedCallback,s=i.disconnectedCallback;i.connectedCallback=function(){if(!this._balWindowResizeSubject){this._balWindowResizeSubject=new BalWindowResizeSubject;this._balWindowResizeSubject.attach(this)}return n&&n.call(this)};i.disconnectedCallback=function(){if(this._balWindowResizeSubject){this._balWindowResizeSubject.detach();this._balWindowResizeSubject=undefined}return s&&s.call(this)}}}export{ListenToWindowResize as L};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__extends}from"tslib";import{B as BalWindowResizeListener}from"./breakpoints.subject-C_z3PD1L.js";import{a as SingleSubject}from"./listener-DvNO7R93.js";import{a as balBrowser}from"./index-Btdiqd5K.js";var BalWindowResizeSubject=function(i){__extends(e,i);function e(){var e=i.call(this,(function(i,e){i.windowResizeListener()}))||this;e.listener=new BalWindowResizeListener;return e}e.prototype.attach=function(e){var t=this;i.prototype.attach.call(this,e);if(balBrowser.hasWindow){this.listener.connect(window);this.listener.add((function(){return i.prototype.notify.call(t)}))}};e.prototype.detach=function(){i.prototype.detach.call(this);this.listener.disconnect()};return e}(SingleSubject);new BalWindowResizeSubject;export{BalWindowResizeSubject as B};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
-
import { BalConfigObserver, BalConfigState } from '../../utils/config';
|
|
3
2
|
import { BalBreakpointObserver, BalBreakpoints } from '../../utils/breakpoints';
|
|
3
|
+
import { BalConfigObserver, BalConfigState } from '../../utils/config';
|
|
4
4
|
export declare class Hint implements ComponentInterface, BalConfigObserver, BalBreakpointObserver {
|
|
5
5
|
element: HTMLElement;
|
|
6
6
|
private popupElement;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ComponentInterface } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare class DocApp implements ComponentInterface {
|
|
6
|
+
logComponents: string;
|
|
7
|
+
logLifecycle: boolean;
|
|
8
|
+
logEvents: boolean;
|
|
9
|
+
logRender: boolean;
|
|
10
|
+
logCustom: boolean;
|
|
11
|
+
stickyFooter: boolean;
|
|
12
|
+
region?: string;
|
|
13
|
+
language?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
16
|
+
*/
|
|
17
|
+
animated: boolean;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
componentDidRender(): void;
|
|
20
|
+
render(): any;
|
|
21
|
+
}
|
|
@@ -1124,6 +1124,39 @@ export namespace Components {
|
|
|
1124
1124
|
*/
|
|
1125
1125
|
"space": BalProps.BalDividerSpace;
|
|
1126
1126
|
}
|
|
1127
|
+
interface BalDocApp {
|
|
1128
|
+
/**
|
|
1129
|
+
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
1130
|
+
* @default true
|
|
1131
|
+
*/
|
|
1132
|
+
"animated": boolean;
|
|
1133
|
+
"language"?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* @default ''
|
|
1136
|
+
*/
|
|
1137
|
+
"logComponents": string;
|
|
1138
|
+
/**
|
|
1139
|
+
* @default true
|
|
1140
|
+
*/
|
|
1141
|
+
"logCustom": boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* @default true
|
|
1144
|
+
*/
|
|
1145
|
+
"logEvents": boolean;
|
|
1146
|
+
/**
|
|
1147
|
+
* @default true
|
|
1148
|
+
*/
|
|
1149
|
+
"logLifecycle": boolean;
|
|
1150
|
+
/**
|
|
1151
|
+
* @default true
|
|
1152
|
+
*/
|
|
1153
|
+
"logRender": boolean;
|
|
1154
|
+
"region"?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* @default false
|
|
1157
|
+
*/
|
|
1158
|
+
"stickyFooter": boolean;
|
|
1159
|
+
}
|
|
1127
1160
|
interface BalDropdown {
|
|
1128
1161
|
/**
|
|
1129
1162
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
@@ -4897,6 +4930,12 @@ declare global {
|
|
|
4897
4930
|
prototype: HTMLBalDividerElement;
|
|
4898
4931
|
new (): HTMLBalDividerElement;
|
|
4899
4932
|
};
|
|
4933
|
+
interface HTMLBalDocAppElement extends Components.BalDocApp, HTMLStencilElement {
|
|
4934
|
+
}
|
|
4935
|
+
var HTMLBalDocAppElement: {
|
|
4936
|
+
prototype: HTMLBalDocAppElement;
|
|
4937
|
+
new (): HTMLBalDocAppElement;
|
|
4938
|
+
};
|
|
4900
4939
|
interface HTMLBalDropdownElementEventMap {
|
|
4901
4940
|
"balChange": BalEvents.BalDropdownChangeDetail;
|
|
4902
4941
|
"balFocus": BalEvents.BalDropdownFocusDetail;
|
|
@@ -5878,6 +5917,7 @@ declare global {
|
|
|
5878
5917
|
"bal-date-calendar": HTMLBalDateCalendarElement;
|
|
5879
5918
|
"bal-date-calendar-cell": HTMLBalDateCalendarCellElement;
|
|
5880
5919
|
"bal-divider": HTMLBalDividerElement;
|
|
5920
|
+
"bal-doc-app": HTMLBalDocAppElement;
|
|
5881
5921
|
"bal-dropdown": HTMLBalDropdownElement;
|
|
5882
5922
|
"bal-field": HTMLBalFieldElement;
|
|
5883
5923
|
"bal-field-control": HTMLBalFieldControlElement;
|
|
@@ -7031,6 +7071,39 @@ declare namespace LocalJSX {
|
|
|
7031
7071
|
*/
|
|
7032
7072
|
"space"?: BalProps.BalDividerSpace;
|
|
7033
7073
|
}
|
|
7074
|
+
interface BalDocApp {
|
|
7075
|
+
/**
|
|
7076
|
+
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
7077
|
+
* @default true
|
|
7078
|
+
*/
|
|
7079
|
+
"animated"?: boolean;
|
|
7080
|
+
"language"?: string;
|
|
7081
|
+
/**
|
|
7082
|
+
* @default ''
|
|
7083
|
+
*/
|
|
7084
|
+
"logComponents"?: string;
|
|
7085
|
+
/**
|
|
7086
|
+
* @default true
|
|
7087
|
+
*/
|
|
7088
|
+
"logCustom"?: boolean;
|
|
7089
|
+
/**
|
|
7090
|
+
* @default true
|
|
7091
|
+
*/
|
|
7092
|
+
"logEvents"?: boolean;
|
|
7093
|
+
/**
|
|
7094
|
+
* @default true
|
|
7095
|
+
*/
|
|
7096
|
+
"logLifecycle"?: boolean;
|
|
7097
|
+
/**
|
|
7098
|
+
* @default true
|
|
7099
|
+
*/
|
|
7100
|
+
"logRender"?: boolean;
|
|
7101
|
+
"region"?: string;
|
|
7102
|
+
/**
|
|
7103
|
+
* @default false
|
|
7104
|
+
*/
|
|
7105
|
+
"stickyFooter"?: boolean;
|
|
7106
|
+
}
|
|
7034
7107
|
interface BalDropdown {
|
|
7035
7108
|
/**
|
|
7036
7109
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
@@ -10186,6 +10259,7 @@ declare namespace LocalJSX {
|
|
|
10186
10259
|
"bal-date-calendar": BalDateCalendar;
|
|
10187
10260
|
"bal-date-calendar-cell": BalDateCalendarCell;
|
|
10188
10261
|
"bal-divider": BalDivider;
|
|
10262
|
+
"bal-doc-app": BalDocApp;
|
|
10189
10263
|
"bal-dropdown": BalDropdown;
|
|
10190
10264
|
"bal-field": BalField;
|
|
10191
10265
|
"bal-field-control": BalFieldControl;
|
|
@@ -10309,6 +10383,7 @@ declare module "@stencil/core" {
|
|
|
10309
10383
|
"bal-date-calendar": LocalJSX.BalDateCalendar & JSXBase.HTMLAttributes<HTMLBalDateCalendarElement>;
|
|
10310
10384
|
"bal-date-calendar-cell": LocalJSX.BalDateCalendarCell & JSXBase.HTMLAttributes<HTMLBalDateCalendarCellElement>;
|
|
10311
10385
|
"bal-divider": LocalJSX.BalDivider & JSXBase.HTMLAttributes<HTMLBalDividerElement>;
|
|
10386
|
+
"bal-doc-app": LocalJSX.BalDocApp & JSXBase.HTMLAttributes<HTMLBalDocAppElement>;
|
|
10312
10387
|
"bal-dropdown": LocalJSX.BalDropdown & JSXBase.HTMLAttributes<HTMLBalDropdownElement>;
|
|
10313
10388
|
"bal-field": LocalJSX.BalField & JSXBase.HTMLAttributes<HTMLBalFieldElement>;
|
|
10314
10389
|
"bal-field-control": LocalJSX.BalFieldControl & JSXBase.HTMLAttributes<HTMLBalFieldControlElement>;
|