@baloise/ds-core 19.3.0 → 19.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/_commonjsHelpers.js +5 -1
- package/components/animation.decorator.js +1 -1
- package/components/array.js +3 -3
- package/components/attributes.js +0 -3
- package/components/bal-accordion-details.js +16 -5
- package/components/bal-accordion-summary.js +17 -6
- package/components/bal-accordion-trigger.js +49 -17
- package/components/bal-accordion.js +43 -15
- package/components/bal-app.js +11 -6
- package/components/bal-badge2.js +10 -3
- package/components/bal-button-group2.js +10 -0
- package/components/bal-button2.js +106 -32
- package/components/bal-card-actions.js +3 -0
- package/components/bal-card-button.js +19 -1
- package/components/bal-card-subtitle.js +13 -8
- package/components/bal-card-title.js +3 -0
- package/components/bal-card2.js +30 -4
- package/components/bal-carousel-item.js +36 -18
- package/components/bal-carousel.js +59 -10
- package/components/bal-check2.js +23 -2
- package/components/bal-checkbox-group.js +61 -21
- package/components/bal-checkbox2.js +93 -32
- package/components/bal-close2.js +9 -4
- package/components/bal-content2.js +24 -2
- package/components/bal-data-item.js +6 -0
- package/components/bal-data-label.js +3 -0
- package/components/bal-data-value.js +14 -5
- package/components/bal-data.js +8 -3
- package/components/bal-date-calendar-cell2.js +3 -8
- package/components/bal-date-calendar2.js +27 -31
- package/components/bal-date.js +72 -34
- package/components/bal-divider.js +18 -2
- package/components/bal-dropdown.js +107 -43
- package/components/bal-field-control.js +14 -0
- package/components/bal-field-hint.js +9 -0
- package/components/bal-field-label.js +32 -0
- package/components/bal-field-message.js +15 -0
- package/components/bal-field.js +31 -10
- package/components/bal-file-upload.js +103 -52
- package/components/bal-footer.js +22 -7
- package/components/bal-form-grid.js +1 -2
- package/components/bal-form.js +10 -2
- package/components/bal-heading2.js +25 -6
- package/components/bal-hint2.js +13 -12
- package/components/bal-icon2.js +965 -906
- package/components/bal-input-date2.js +45 -11
- package/components/bal-input-group2.js +10 -2
- package/components/bal-input-slider.js +57 -19
- package/components/bal-input-stepper.js +1105 -1081
- package/components/bal-input.js +135 -42
- package/components/bal-label2.js +52 -4
- package/components/bal-list-item-accordion-body2.js +13 -7
- package/components/bal-list-item-accordion-head2.js +17 -7
- package/components/bal-list-item-content2.js +0 -1
- package/components/bal-list-item-icon2.js +3 -0
- package/components/bal-list-item-title2.js +3 -1
- package/components/bal-list-item2.js +34 -11
- package/components/bal-list2.js +16 -2
- package/components/bal-logo.animation.js +2 -2
- package/components/bal-logo2.js +15 -3
- package/components/bal-modal.js +37 -9
- package/components/bal-nav-link-grid-col2.js +8 -2
- package/components/bal-nav-link-grid2.js +1 -2
- package/components/bal-nav-link-group.js +8 -2
- package/components/bal-nav-link2.js +18 -4
- package/components/bal-nav-menu-bar2.js +11 -2
- package/components/bal-nav-menu-flyout2.js +10 -3
- package/components/bal-nav-meta-bar2.js +20 -2
- package/components/bal-nav.js +33 -49
- package/components/bal-navbar-brand.js +28 -5
- package/components/bal-navbar-menu-end.js +6 -0
- package/components/bal-navbar-menu-start.js +6 -0
- package/components/bal-navbar-menu.js +6 -0
- package/components/bal-navbar.js +12 -2
- package/components/bal-notices.js +10 -2
- package/components/bal-notification.js +11 -2
- package/components/bal-number-input.js +66 -150
- package/components/bal-option-list.js +27 -7
- package/components/bal-option.js +40 -13
- package/components/bal-pagination.js +84 -64
- package/components/bal-popover-content2.js +28 -1
- package/components/bal-popover2.js +50 -13
- package/components/bal-popup2.js +58 -26
- package/components/bal-progress-bar.js +17 -4
- package/components/bal-radio-group.js +57 -21
- package/components/bal-radio-icon2.js +23 -2
- package/components/bal-radio2.js +78 -29
- package/components/bal-segment-item.js +35 -16
- package/components/bal-segment.js +42 -21
- package/components/bal-select-option2.js +7 -2
- package/components/bal-select2.js +107 -50
- package/components/bal-shape2.js +13 -5
- package/components/bal-sheet.js +4 -2
- package/components/bal-snackbar.js +35 -9
- package/components/bal-spinner.animation.js +1927 -1917
- package/components/bal-spinner2.js +27 -9
- package/components/bal-stack2.js +37 -4
- package/components/bal-stage-back-link.js +6 -2
- package/components/bal-stage-image.js +1 -3
- package/components/bal-stage.js +17 -8
- package/components/bal-step-item.js +31 -1
- package/components/bal-steps.js +30 -12
- package/components/bal-switch.js +20 -2
- package/components/bal-tab-item.js +48 -6
- package/components/bal-table.js +4 -2
- package/components/bal-tabs2.js +103 -45
- package/components/bal-tag2.js +26 -2
- package/components/bal-text.js +136 -1
- package/components/bal-textarea.js +52 -24
- package/components/bal-time-input.js +42 -19
- package/components/bal-toast.js +18 -3
- package/components/bal-tooltip.js +21 -4
- package/components/breakpoints.subject.js +5 -79
- package/components/config.default.js +2 -1
- package/components/config.utils.js +1 -1
- package/components/date.js +3212 -3825
- package/components/element-states.decorator.js +1 -1
- package/components/floating-ui.js +2 -2
- package/components/focus-visible.js +2 -2
- package/components/focus.decorator.js +1 -1
- package/components/form-input.js +1 -5
- package/components/helpers.js +2 -2
- package/components/index.esm.js +122 -118
- package/components/index.js +171 -21
- package/components/index2.js +44 -588
- package/components/index3.js +561 -27
- package/components/index4.js +591 -1849
- package/components/index5.js +1814 -506
- package/components/index6.js +125 -0
- package/components/keyboard.helpers.js +1 -1
- package/components/lottie_light_html.js +11694 -11684
- package/components/mutation.decorator.js +1 -1
- package/components/overlays.js +2 -2
- package/components/purify.es.js +1328 -0
- package/components/resize.decorator.js +1 -1
- package/components/swipe.subject.js +1 -1
- package/components/swiper.util.js +2 -2
- package/components/tokens.esm.js +3 -2
- package/components/tslib.es6.js +2 -0
- package/components/utils.js +6 -6
- package/components/visibility.decorator.js +1 -1
- package/components/window-resize.decorator.js +1 -24
- package/components/window-resize.listener.js +80 -0
- package/components/window-resize.subject.js +26 -0
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/p-017e7f7adf.entry.js +1 -0
- package/dist/baloise-design-system/{p-00e75d0c35.system.entry.js → p-040a6174c7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6077b576a9.system.entry.js → p-05e8130a9a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-08bc0ab24d.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0b9e84e4dd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0da4fe3026.entry.js +1 -0
- package/dist/baloise-design-system/p-0f679514b0.entry.js +1 -0
- package/dist/baloise-design-system/p-1112428fc6.entry.js +1 -0
- package/dist/baloise-design-system/p-152e669d59.system.entry.js +1 -0
- package/dist/baloise-design-system/p-166fa22c35.entry.js +1 -0
- package/dist/baloise-design-system/p-1799d59644.entry.js +1 -0
- package/dist/baloise-design-system/{p-1a99fea403.system.entry.js → p-19eda34a35.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-1a101b475e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1c13d69ca1.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1ecb79b6b5.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-de8600efe8.system.entry.js → p-1f7d71e0f6.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-22026f3f57.system.entry.js +1 -0
- package/dist/baloise-design-system/p-2384eefce1.entry.js +1 -0
- package/dist/baloise-design-system/p-247b0b800a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-2690f97b41.system.entry.js +1 -0
- package/dist/baloise-design-system/p-29cae69b8c.entry.js +1 -0
- package/dist/baloise-design-system/p-2f62e8007d.entry.js +1 -0
- package/dist/baloise-design-system/p-3125929936.entry.js +1 -0
- package/dist/baloise-design-system/p-3b5c4a42c4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-417b6e0a0b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-426a8d1128.entry.js +1 -0
- package/dist/baloise-design-system/p-4360835610.entry.js +1 -0
- package/dist/baloise-design-system/p-448a8ba385.entry.js +1 -0
- package/dist/baloise-design-system/p-46092a4585.entry.js +1 -0
- package/dist/baloise-design-system/{p-1e517d518d.system.entry.js → p-469d7c593e.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-4856c78a64.entry.js +1 -0
- package/dist/baloise-design-system/p-4b3fd230c6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-503b4ce7d0.entry.js +1 -0
- package/dist/baloise-design-system/p-52fa3d7015.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-05a5de36af.entry.js → p-5391a66037.entry.js} +1 -1
- package/dist/baloise-design-system/p-558adf45a6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-56951b4bb7.system.entry.js +1 -0
- package/dist/baloise-design-system/p-571b32fead.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5792932f82.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5aa8ca5691.entry.js +1 -0
- package/dist/baloise-design-system/p-5bc0576341.entry.js +1 -0
- package/dist/baloise-design-system/p-5da1420f1a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5ea15c8fda.entry.js +1 -0
- package/dist/baloise-design-system/{p-240e3621c6.entry.js → p-5ea5a9b3fa.entry.js} +1 -1
- package/dist/baloise-design-system/p-605048a7e8.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-d112488f3c.system.entry.js → p-605b22e87a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-619670d086.system.entry.js +1 -0
- package/dist/baloise-design-system/p-61d215dcc5.entry.js +1 -0
- package/dist/baloise-design-system/p-653f4e4238.entry.js +1 -0
- package/dist/baloise-design-system/p-6542d12863.entry.js +1 -0
- package/dist/baloise-design-system/p-680fe70c1a.entry.js +1 -0
- package/dist/baloise-design-system/p-68162ab75a.entry.js +1 -0
- package/dist/baloise-design-system/p-6d511d8e8e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-6d5bbdc67a.entry.js +1 -0
- package/dist/baloise-design-system/p-6d716224a8.entry.js +1 -0
- package/dist/baloise-design-system/p-6e463dc74b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-7632019f26.system.entry.js → p-6eeb094b9d.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-6efb9d0430.system.entry.js +1 -0
- package/dist/baloise-design-system/p-6f40242a5d.entry.js +1 -0
- package/dist/baloise-design-system/p-74dd1a8023.entry.js +1 -0
- package/dist/baloise-design-system/p-750daedf10.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7778560b6f.entry.js +1 -0
- package/dist/baloise-design-system/p-7b1dff4795.entry.js +1 -0
- package/dist/baloise-design-system/p-7cb21d670b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7e5c62d014.entry.js +1 -0
- package/dist/baloise-design-system/p-7e88d10258.system.entry.js +1 -0
- package/dist/baloise-design-system/p-833e1e02aa.entry.js +1 -0
- package/dist/baloise-design-system/p-83a6310bc0.entry.js +1 -0
- package/dist/baloise-design-system/{p-160c193287.entry.js → p-84f3cdac9b.entry.js} +1 -1
- package/dist/baloise-design-system/p-8c5aac149f.entry.js +1 -0
- package/dist/baloise-design-system/p-8f8bef4656.system.entry.js +1 -0
- package/dist/baloise-design-system/p-909bc3558a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-925b31dca9.entry.js +1 -0
- package/dist/baloise-design-system/p-9276e4e5ca.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-0d07e6caf8.entry.js → p-9417181fc3.entry.js} +1 -1
- package/dist/baloise-design-system/p-96fbe5e737.entry.js +1 -0
- package/dist/baloise-design-system/p-99d1051abd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-9bed353090.system.entry.js +1 -0
- package/dist/baloise-design-system/p-9f221cd147.system.entry.js +1 -0
- package/dist/baloise-design-system/p-B1TzZiNl.js +1 -0
- package/dist/baloise-design-system/p-B1a79Kak.system.js +1 -0
- package/dist/baloise-design-system/p-B23n0-TV.js +1 -0
- package/dist/baloise-design-system/p-B3Q-Lii3.js +2 -0
- package/dist/baloise-design-system/p-B4Kne3kP.system.js +1 -0
- package/dist/baloise-design-system/p-B71F7E77.js +1 -0
- package/dist/baloise-design-system/p-B7wsjSwt.system.js +1 -0
- package/dist/baloise-design-system/p-BANVEd3P.js +1 -0
- package/dist/baloise-design-system/p-BAaDJIzy.js +1 -0
- package/dist/baloise-design-system/p-BC9JH89x.js +1 -0
- package/dist/baloise-design-system/p-BFTU3MAI.js +1 -0
- package/dist/baloise-design-system/{p-c0c91eb1.js → p-BG4j3FEv.js} +1 -1
- package/dist/baloise-design-system/{p-53e09ecb.js → p-BHFw3KrT.js} +1 -1
- package/dist/baloise-design-system/{p-acf222fd.js → p-BHYxMhaq.js} +1 -1
- package/dist/baloise-design-system/p-BJQK_KjT.js +1 -0
- package/dist/baloise-design-system/{p-bb3d79e0.js → p-BLUHPuPg.js} +1 -1
- package/dist/baloise-design-system/{p-1c41de53.system.js → p-BPUKeAhO.system.js} +1 -1
- package/dist/baloise-design-system/{p-ec9a7cf5.system.js → p-BQvgbY93.system.js} +1 -1
- package/dist/baloise-design-system/p-BnVL_HEz.js +1 -0
- package/dist/baloise-design-system/{p-6c080ebc.system.js → p-Bnn4iNSc.system.js} +1 -1
- package/dist/baloise-design-system/{p-55ebd30d.js → p-Bp0dpjer.js} +1 -1
- package/dist/baloise-design-system/{p-5b163efa.js → p-BsGkq7do.js} +1 -1
- package/dist/baloise-design-system/p-BvmIi0Pf.js +1 -0
- package/dist/baloise-design-system/p-BzYBOtnf.js +1 -0
- package/dist/baloise-design-system/p-Bzy18UgU.system.js +1 -0
- package/dist/baloise-design-system/p-C2YKdNW7.system.js +1 -0
- package/dist/baloise-design-system/{p-924b576e.system.js → p-C4hsvc4v.system.js} +1 -1
- package/dist/baloise-design-system/{p-063808d7.js → p-C4sZQbkT.js} +1 -1
- package/dist/baloise-design-system/p-C78VTo3I.js +1 -0
- package/dist/baloise-design-system/p-C8S5XlJl.js +1 -0
- package/dist/baloise-design-system/p-CEOTg0oT.system.js +1 -0
- package/dist/baloise-design-system/p-CFSqydrN.system.js +1 -0
- package/dist/baloise-design-system/p-CKLuFkEh.js +1 -0
- package/dist/baloise-design-system/p-CbvOgU0G.js +1 -0
- package/dist/baloise-design-system/p-Ch5Ar_Aw.system.js +1 -0
- package/dist/baloise-design-system/p-CiWErrXI.system.js +1 -0
- package/dist/baloise-design-system/p-Cj6DXhmQ.js +1 -0
- package/dist/baloise-design-system/{p-96216bd1.js → p-Ck3aT69N.js} +1 -1
- package/dist/baloise-design-system/p-Clmofeob.js +1 -0
- package/dist/baloise-design-system/{p-fbce8119.system.js → p-Cm94K4OH.system.js} +1 -1
- package/dist/baloise-design-system/p-CoTulE_f.js +1 -0
- package/dist/baloise-design-system/p-CpWDVANq.system.js +1 -0
- package/dist/baloise-design-system/{p-d0537382.system.js → p-Cu1ebAbd.system.js} +1 -1
- package/dist/baloise-design-system/{p-b2f7e364.js → p-Cwb5cm_s.js} +1 -1
- package/dist/baloise-design-system/p-CwvovJM0.system.js +3 -0
- package/dist/baloise-design-system/{p-2509cd53.system.js → p-CyfydXgM.system.js} +1 -1
- package/dist/baloise-design-system/p-Czl2AFQD.system.js +1 -0
- package/dist/baloise-design-system/p-D-yL3ygS.system.js +1 -0
- package/dist/baloise-design-system/p-D0Jo39A5.system.js +1 -0
- package/dist/baloise-design-system/p-DA4RmE59.system.js +1 -0
- package/dist/baloise-design-system/{p-2908a4b8.system.js → p-DJopuiVl.system.js} +1 -1
- package/dist/baloise-design-system/{p-50f3b012.js → p-DKxvaA1I.js} +1 -1
- package/dist/baloise-design-system/p-DMUz15_s.system.js +1 -0
- package/dist/baloise-design-system/p-DPBQ5EN8.system.js +1 -0
- package/dist/baloise-design-system/p-DTDY1hlV.js +1 -0
- package/dist/baloise-design-system/p-DV-El3D9.js +1 -0
- package/dist/baloise-design-system/p-DWQYzEm7.system.js +1 -0
- package/dist/baloise-design-system/p-DY72UdN1.system.js +1 -0
- package/dist/baloise-design-system/p-DfEhX0m_.system.js +1 -0
- package/dist/baloise-design-system/p-DhSS4q-R.system.js +1 -0
- package/dist/baloise-design-system/{p-9f7a1215.system.js → p-DndeZqk_.system.js} +1 -1
- package/dist/baloise-design-system/{p-aae6003e.js → p-Do4k83YR.js} +1 -1
- package/dist/baloise-design-system/{p-b79d8942.system.js → p-Dou6adza.system.js} +1 -1
- package/dist/baloise-design-system/p-DpQhsHDk.system.js +9 -0
- package/dist/baloise-design-system/p-DqCbGYzv.js +1 -0
- package/dist/baloise-design-system/p-Dxz8zGB7.system.js +1 -0
- package/dist/baloise-design-system/p-MVgFPFA5.js +1 -0
- package/dist/baloise-design-system/p-RzJv7e7Y.system.js +1 -0
- package/dist/baloise-design-system/p-S5-HQnxq.js +1 -0
- package/dist/baloise-design-system/p-WkcLp-K_.system.js +1 -0
- package/dist/baloise-design-system/p-WmWy2rJ-.system.js +2 -0
- package/dist/baloise-design-system/{p-4a0012fa.js → p-XiJ1YYc9.js} +1 -1
- package/dist/baloise-design-system/p-a34dc82fd9.system.entry.js +1 -0
- package/dist/baloise-design-system/p-a5802e97d8.system.entry.js +1 -0
- package/dist/baloise-design-system/p-a913a946ea.entry.js +1 -0
- package/dist/baloise-design-system/p-aa9f1d22cd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-aac9ec6687.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ab6db026de.entry.js +1 -0
- package/dist/baloise-design-system/p-adcdd7eb63.entry.js +1 -0
- package/dist/baloise-design-system/p-b050e8a82d.entry.js +1 -0
- package/dist/baloise-design-system/p-b0d0cb1167.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b0d2fd44ef.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b5712e673a.entry.js +1 -0
- package/dist/baloise-design-system/p-be07e385c5.entry.js +1 -0
- package/dist/baloise-design-system/p-bf46f70999.entry.js +1 -0
- package/dist/baloise-design-system/p-c2a5d480b6.entry.js +1 -0
- package/dist/baloise-design-system/p-c4239a6ebb.entry.js +1 -0
- package/dist/baloise-design-system/{p-a06f682955.entry.js → p-c6a6f41844.entry.js} +1 -1
- package/dist/baloise-design-system/p-c819c5feef.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c92ac7c2e0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-cca697bd26.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-5420740f.system.js → p-cfEgJ3Y7.system.js} +1 -1
- package/dist/baloise-design-system/p-d4c44cc24e.entry.js +1 -0
- package/dist/baloise-design-system/{p-0b39e3fc7f.system.entry.js → p-d575fb9113.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d5b648b0fc.system.entry.js +1 -0
- package/dist/baloise-design-system/p-d78505b4e8.entry.js +1 -0
- package/dist/baloise-design-system/p-d7a09b758f.entry.js +1 -0
- package/dist/baloise-design-system/p-dbcb876d25.entry.js +1 -0
- package/dist/baloise-design-system/p-dc3a6cd2e6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-dd5aae489e.entry.js +1 -0
- package/dist/baloise-design-system/{p-eecefb0a.system.js → p-drmuT566.system.js} +1 -1
- package/dist/baloise-design-system/p-e016efc91a.entry.js +1 -0
- package/dist/baloise-design-system/p-e0c4414dd8.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e15a90b22c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e57bc8a630.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e92ad3fae1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-a82d082286.system.entry.js → p-eb68793baa.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ee43ce93b7.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ee5156fb85.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ee604e4bcc.system.entry.js +1 -0
- package/dist/baloise-design-system/p-f0957640f5.entry.js +1 -0
- package/dist/baloise-design-system/p-fa3aa15442.entry.js +1 -0
- package/dist/baloise-design-system/p-fd73720dcb.entry.js +1 -0
- package/dist/baloise-design-system/p-ft8ZtF1G.system.js +1 -0
- package/dist/baloise-design-system/{p-a7894ace.js → p-gnUWqxps.js} +1 -1
- package/dist/baloise-design-system/p-jv0tWyso.js +1 -0
- package/dist/baloise-design-system/p-lFDHYLJ4.system.js +1 -0
- package/dist/baloise-design-system/p-m5GX4h3i.system.js +1 -0
- package/dist/baloise-design-system/p-pkPHUz5e.js +2 -0
- package/dist/baloise-design-system/p-xbSOW78W.js +1 -0
- package/dist/cjs/{_commonjsHelpers-68cdf74f.js → _commonjsHelpers-BJu3ubxk.js} +5 -0
- package/dist/cjs/{animation.decorator-40bdfb52.js → animation.decorator-BeUy1FNI.js} +9 -9
- package/dist/cjs/{array-ae164ca3.js → array-Db63Hhl1.js} +3 -3
- package/dist/cjs/{attributes-11acd153.js → attributes-Cp0kpySW.js} +0 -3
- package/dist/cjs/bal-accordion_4.cjs.entry.js +142 -67
- package/dist/cjs/bal-app.cjs.entry.js +23 -24
- package/dist/cjs/bal-badge.cjs.entry.js +12 -7
- package/dist/cjs/bal-button_2.cjs.entry.js +121 -45
- package/dist/cjs/bal-card_6.cjs.entry.js +69 -10
- package/dist/cjs/bal-carousel_2.cjs.entry.js +113 -54
- package/dist/cjs/bal-check.cjs.entry.js +25 -6
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +178 -83
- package/dist/cjs/bal-close.cjs.entry.js +14 -15
- package/dist/cjs/bal-content.cjs.entry.js +28 -10
- package/dist/cjs/bal-data_4.cjs.entry.js +37 -15
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +8 -18
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +90 -67
- package/dist/cjs/bal-date.cjs.entry.js +109 -76
- package/dist/cjs/bal-divider.cjs.entry.js +22 -10
- package/dist/cjs/bal-dropdown.cjs.entry.js +139 -82
- package/dist/cjs/bal-field_5.cjs.entry.js +109 -23
- package/dist/cjs/bal-file-upload.cjs.entry.js +120 -76
- package/dist/cjs/bal-footer.cjs.entry.js +34 -24
- package/dist/cjs/bal-form-col_2.cjs.entry.js +2 -5
- package/dist/cjs/bal-form.cjs.entry.js +14 -11
- package/dist/cjs/bal-heading_2.cjs.entry.js +74 -14
- package/dist/cjs/bal-hint_5.cjs.entry.js +110 -50
- package/dist/cjs/bal-icon.cjs.entry.js +969 -916
- package/dist/cjs/bal-input-group.cjs.entry.js +12 -6
- package/dist/cjs/bal-input-slider.cjs.entry.js +68 -34
- package/dist/cjs/bal-input-stepper.cjs.entry.js +1112 -1089
- package/dist/cjs/bal-input.cjs.entry.js +146 -58
- package/dist/cjs/bal-label.cjs.entry.js +59 -17
- package/dist/cjs/bal-list_8.cjs.entry.js +109 -59
- package/dist/cjs/{bal-logo.animation-9704970d.js → bal-logo.animation-q2TTdoP3.js} +4 -3
- package/dist/cjs/bal-logo.cjs.entry.js +26 -20
- package/dist/cjs/bal-modal_3.cjs.entry.js +48 -25
- package/dist/cjs/bal-nav_8.cjs.entry.js +138 -102
- package/dist/cjs/bal-navbar_5.cjs.entry.js +74 -30
- package/dist/cjs/bal-notices_3.cjs.entry.js +65 -18
- package/dist/cjs/bal-notification.cjs.entry.js +13 -6
- package/dist/cjs/bal-number-input.cjs.entry.js +83 -174
- package/dist/cjs/bal-option_2.cjs.entry.js +91 -49
- package/dist/cjs/bal-pagination.cjs.entry.js +87 -68
- package/dist/cjs/bal-popup.cjs.entry.js +72 -46
- package/dist/cjs/bal-progress-bar.cjs.entry.js +25 -17
- package/dist/cjs/bal-radio-icon.cjs.entry.js +25 -6
- package/dist/cjs/bal-radio_2.cjs.entry.js +161 -80
- package/dist/cjs/bal-segment_2.cjs.entry.js +98 -65
- package/dist/cjs/bal-select_2.cjs.entry.js +137 -81
- package/dist/cjs/bal-shape.cjs.entry.js +16 -10
- package/dist/cjs/bal-sheet.cjs.entry.js +6 -6
- package/dist/cjs/{bal-spinner.animation-a81cf10f.js → bal-spinner.animation-BL6PkxOx.js} +1929 -1919
- package/dist/cjs/bal-spinner.cjs.entry.js +34 -23
- package/dist/cjs/bal-stack.cjs.entry.js +41 -12
- package/dist/cjs/bal-stage_6.cjs.entry.js +27 -21
- package/dist/cjs/bal-step-item.cjs.entry.js +34 -6
- package/dist/cjs/bal-steps.cjs.entry.js +45 -33
- package/dist/cjs/bal-switch.cjs.entry.js +22 -6
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +183 -90
- package/dist/cjs/bal-table.cjs.entry.js +6 -6
- package/dist/cjs/bal-tag_2.cjs.entry.js +31 -9
- package/dist/cjs/bal-textarea.cjs.entry.js +63 -40
- package/dist/cjs/bal-time-input.cjs.entry.js +58 -41
- package/dist/cjs/bal-tooltip.cjs.entry.js +31 -20
- package/dist/cjs/baloise-design-system.cjs.js +7 -14
- package/dist/cjs/{breakpoints.decorator-881dd92d.js → breakpoints.decorator-DLXGwQpP.js} +1 -1
- package/dist/cjs/{breakpoints.subject-485cf660.js → breakpoints.subject-CidQD5zH.js} +16 -17
- package/dist/cjs/{config.decorator-de244188.js → config.decorator-CDkNZ1Fo.js} +3 -3
- package/dist/cjs/{date-ce9c7f3f.js → date-C9_0qSTi.js} +3217 -3830
- package/dist/cjs/{device-9f97a845.js → device-CoI0V6AY.js} +5 -5
- package/dist/cjs/{element-states.decorator-aa5126e2.js → element-states.decorator-DGQNhvD6.js} +12 -13
- package/dist/cjs/{floating-ui-4a4a1aed.js → floating-ui-BEMfzblh.js} +3 -3
- package/dist/cjs/{focus-visible-a434c91f.js → focus-visible-DFZa8IIA.js} +2 -2
- package/dist/cjs/{focus.decorator-14a4a576.js → focus.decorator-DFy3pFaT.js} +9 -10
- package/dist/cjs/{form-input-e9974433.js → form-input-BUGd2Bkz.js} +2 -7
- package/dist/cjs/index-BZ67Dcnb.js +50 -0
- package/dist/cjs/index-BobQkZjn.js +1868 -0
- package/dist/cjs/index-C413E-IK.js +571 -0
- package/dist/cjs/index-COfbtsc7.js +3035 -0
- package/dist/cjs/index-CuY5w2n4.js +602 -0
- package/dist/cjs/index-ifu9fMyU.js +127 -0
- package/dist/cjs/index.cjs.js +65 -74
- package/dist/cjs/index.esm-CKDqUwIC.js +216 -0
- package/dist/cjs/{listener-52d2e5fd.js → listener-t3ifJtK5.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/lottie_light_html-OP40Exqq.js +11704 -0
- package/dist/cjs/{mutation.decorator-485e250e.js → mutation.decorator-DyFafPfX.js} +5 -5
- package/dist/cjs/{number-24bf265b.js → number-CYeUjdPM.js} +3 -4
- package/dist/cjs/{overlays-94ebb271.js → overlays-CZHV6VH9.js} +5 -6
- package/dist/cjs/purify.es-CJTp6uKN.js +1330 -0
- package/dist/cjs/{resize.decorator-e4a92322.js → resize.decorator-B_NiBCMZ.js} +5 -6
- package/dist/cjs/{scroll-dc37ea84.js → scroll-DY4kxt0j.js} +5 -5
- package/dist/cjs/{swipe.decorator-9c105f90.js → swipe.decorator-CNDcaR9i.js} +1 -1
- package/dist/cjs/{swipe.subject-191f7d8a.js → swipe.subject-DtAxEK8t.js} +5 -5
- package/dist/cjs/{swiper.util-d23b8eb0.js → swiper.util-nyFqwHcs.js} +15 -16
- package/dist/cjs/{tokens.esm-e14cedac.js → tokens.esm-DU04pfsc.js} +2 -1
- package/dist/cjs/{tslib.es6-a680968e.js → tslib.es6-DrfCPgT9.js} +2 -0
- package/dist/cjs/{utils-9ea175af.js → utils-Bl0u6rg1.js} +6 -6
- package/dist/cjs/{visibility.decorator-a218aab9.js → visibility.decorator-C7uDX3Z3.js} +5 -5
- package/dist/cjs/window-resize.decorator-4PWq713L.js +25 -0
- package/dist/cjs/window-resize.subject-GSXXkOcC.js +28 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +18 -6
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +19 -7
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +57 -24
- package/dist/collection/components/bal-accordion/bal-accordion.js +47 -18
- package/dist/collection/components/bal-app/bal-app.js +10 -4
- package/dist/collection/components/bal-badge/bal-badge.js +13 -5
- package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +13 -3
- package/dist/collection/components/bal-button/bal-button.js +192 -63
- package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +4 -1
- package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +26 -8
- package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +16 -5
- package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +4 -1
- package/dist/collection/components/bal-card/bal-card.css +1 -1
- package/dist/collection/components/bal-card/bal-card.js +36 -9
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +45 -27
- package/dist/collection/components/bal-carousel/bal-carousel.js +64 -15
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +28 -6
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +72 -29
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +109 -47
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +24 -5
- package/dist/collection/components/bal-close/bal-close.js +8 -2
- package/dist/collection/components/bal-content/bal-content.js +28 -5
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +8 -2
- package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +4 -1
- package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +15 -6
- package/dist/collection/components/bal-data/bal-data.js +9 -3
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +24 -26
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +11 -16
- package/dist/collection/components/bal-date/bal-date.js +85 -45
- package/dist/collection/components/bal-divider/bal-divider.js +21 -4
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +118 -52
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +18 -4
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +12 -3
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +40 -8
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +20 -5
- package/dist/collection/components/bal-field/bal-field.js +36 -14
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +67 -33
- package/dist/collection/components/bal-footer/bal-footer.js +20 -3
- package/dist/collection/components/bal-form/bal-form.js +12 -3
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +1 -1
- package/dist/collection/components/bal-heading/bal-heading.js +33 -13
- package/dist/collection/components/bal-hint/bal-hint.css +1 -1
- package/dist/collection/components/bal-hint/bal-hint.js +9 -7
- package/dist/collection/components/bal-icon/bal-icon.js +82 -36
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +54 -19
- package/dist/collection/components/bal-input/bal-input-util.js +29 -0
- package/dist/collection/components/bal-input/bal-input.js +134 -69
- package/dist/collection/components/bal-input-group/bal-input-group.js +12 -3
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +66 -27
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.css +1 -1
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +62 -40
- package/dist/collection/components/bal-label/bal-label.js +62 -13
- package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +42 -19
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +12 -7
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +16 -6
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +1 -4
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +4 -1
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +5 -3
- package/dist/collection/components/bal-list/bal-list.js +20 -5
- package/dist/collection/components/bal-logo/bal-logo.js +16 -3
- package/dist/collection/components/bal-modal/bal-modal.js +48 -17
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +23 -8
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +8 -1
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +8 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +12 -2
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +8 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +24 -5
- package/dist/collection/components/bal-nav/bal-nav.js +18 -12
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +7 -25
- package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +2 -2
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +36 -13
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +7 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +7 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +7 -1
- package/dist/collection/components/bal-navbar/bal-navbar.js +14 -3
- package/dist/collection/components/bal-notices/bal-notices.js +12 -3
- package/dist/collection/components/bal-notification/bal-notification.js +13 -3
- package/dist/collection/components/bal-number-input/bal-number-input.js +65 -36
- package/dist/collection/components/bal-option/bal-option.js +46 -18
- package/dist/collection/components/bal-option-list/bal-option-list.js +29 -8
- package/dist/collection/components/bal-pagination/bal-pagination.css +1 -1
- package/dist/collection/components/bal-pagination/bal-pagination.js +42 -15
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +36 -9
- package/dist/collection/components/bal-popover/bal-popover.js +52 -12
- package/dist/collection/components/bal-popup/bal-popup.js +64 -31
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +16 -3
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +68 -30
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +28 -6
- package/dist/collection/components/bal-radio/bal-radio.js +93 -43
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +39 -19
- package/dist/collection/components/bal-segment/bal-segment.js +40 -20
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +11 -6
- package/dist/collection/components/bal-select/bal-select.js +109 -51
- package/dist/collection/components/bal-shape/bal-shape.js +15 -6
- package/dist/collection/components/bal-sheet/bal-sheet.js +4 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +42 -13
- package/dist/collection/components/bal-spinner/bal-spinner.js +30 -11
- package/dist/collection/components/bal-stack/bal-stack.js +47 -13
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +10 -6
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +2 -4
- package/dist/collection/components/bal-stage/bal-stage.js +22 -12
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +42 -12
- package/dist/collection/components/bal-steps/bal-steps.js +31 -11
- package/dist/collection/components/bal-table/bal-table.js +4 -1
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +69 -30
- package/dist/collection/components/bal-tabs/bal-tabs.js +111 -52
- package/dist/collection/components/bal-tag/bal-tag.js +33 -8
- package/dist/collection/components/bal-text/bal-text.js +58 -13
- package/dist/collection/components/bal-textarea/bal-textarea.js +69 -40
- package/dist/collection/components/bal-time-input/bal-time-input.js +44 -20
- package/dist/collection/components/bal-toast/bal-toast.js +21 -4
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +24 -6
- package/dist/collection/index.js +0 -4
- package/dist/collection/initialize.js +33 -2
- package/dist/collection/tags-all.js +119 -0
- package/dist/collection/utils/config/config.default.js +1 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/{animation.decorator-7fca988f.js → animation.decorator-DtxbEYY8.js} +2 -2
- package/dist/esm/{array-4c09dfe3.js → array-CDfSqLEo.js} +3 -3
- package/dist/esm/{attributes-a3e70948.js → attributes-C4sZQbkT.js} +0 -3
- package/dist/esm/bal-accordion_4.entry.js +130 -53
- package/dist/esm/bal-app.entry.js +13 -12
- package/dist/esm/bal-badge.entry.js +12 -5
- package/dist/esm/bal-button_2.entry.js +120 -42
- package/dist/esm/bal-card_6.entry.js +69 -8
- package/dist/esm/bal-carousel_2.entry.js +110 -49
- package/dist/esm/bal-check.entry.js +25 -4
- package/dist/esm/bal-checkbox_2.entry.js +172 -75
- package/dist/esm/bal-close.entry.js +12 -11
- package/dist/esm/bal-content.entry.js +27 -7
- package/dist/esm/bal-data_4.entry.js +37 -13
- package/dist/esm/bal-date-calendar-cell.entry.js +8 -16
- package/dist/esm/bal-date-calendar_2.entry.js +86 -61
- package/dist/esm/bal-date.entry.js +92 -57
- package/dist/esm/bal-divider.entry.js +21 -7
- package/dist/esm/bal-dropdown.entry.js +120 -61
- package/dist/esm/bal-field_5.entry.js +107 -19
- package/dist/esm/bal-file-upload.entry.js +119 -73
- package/dist/esm/bal-footer.entry.js +27 -15
- package/dist/esm/bal-form-col_2.entry.js +2 -3
- package/dist/esm/bal-form.entry.js +12 -7
- package/dist/esm/bal-heading_2.entry.js +73 -11
- package/dist/esm/bal-hint_5.entry.js +105 -43
- package/dist/esm/bal-icon.entry.js +969 -914
- package/dist/esm/bal-input-group.entry.js +12 -4
- package/dist/esm/bal-input-slider.entry.js +67 -31
- package/dist/esm/bal-input-stepper.entry.js +1108 -1083
- package/dist/esm/bal-input.entry.js +144 -54
- package/dist/esm/bal-label.entry.js +56 -12
- package/dist/esm/bal-list_8.entry.js +97 -45
- package/dist/esm/{bal-logo.animation-560601c6.js → bal-logo.animation-Bm-_mal3.js} +4 -3
- package/dist/esm/bal-logo.entry.js +24 -16
- package/dist/esm/bal-modal_3.entry.js +43 -18
- package/dist/esm/bal-nav_8.entry.js +117 -79
- package/dist/esm/bal-navbar_5.entry.js +69 -23
- package/dist/esm/bal-notices_3.entry.js +65 -16
- package/dist/esm/bal-notification.entry.js +13 -4
- package/dist/esm/bal-number-input.entry.js +78 -167
- package/dist/esm/bal-option_2.entry.js +77 -33
- package/dist/esm/bal-pagination.entry.js +87 -66
- package/dist/esm/bal-popup.entry.js +64 -36
- package/dist/esm/bal-progress-bar.entry.js +24 -14
- package/dist/esm/bal-radio-icon.entry.js +25 -4
- package/dist/esm/bal-radio_2.entry.js +155 -72
- package/dist/esm/bal-segment_2.entry.js +91 -56
- package/dist/esm/bal-select_2.entry.js +130 -72
- package/dist/esm/bal-shape.entry.js +16 -8
- package/dist/esm/bal-sheet.entry.js +6 -4
- package/dist/esm/{bal-spinner.animation-81d4326e.js → bal-spinner.animation-Bv2Ow6xu.js} +1929 -1919
- package/dist/esm/bal-spinner.entry.js +31 -18
- package/dist/esm/bal-stack.entry.js +40 -9
- package/dist/esm/bal-stage_6.entry.js +26 -18
- package/dist/esm/bal-step-item.entry.js +34 -4
- package/dist/esm/bal-steps.entry.js +43 -29
- package/dist/esm/bal-switch.entry.js +22 -4
- package/dist/esm/bal-tab-item_2.entry.js +170 -75
- package/dist/esm/bal-table.entry.js +6 -4
- package/dist/esm/bal-tag_2.entry.js +31 -7
- package/dist/esm/bal-textarea.entry.js +62 -37
- package/dist/esm/bal-time-input.entry.js +56 -37
- package/dist/esm/bal-tooltip.entry.js +28 -15
- package/dist/esm/baloise-design-system.js +5 -11
- package/dist/esm/{breakpoints.decorator-4de4315f.js → breakpoints.decorator-SHkWCW_Y.js} +1 -1
- package/dist/esm/{breakpoints.subject-2f68e834.js → breakpoints.subject-C7fjILif.js} +4 -5
- package/dist/esm/{config.decorator-6795d1fe.js → config.decorator-T4wBa62Z.js} +1 -1
- package/dist/esm/{date-87bdb1d1.js → date-B9gcRx4E.js} +3213 -3826
- package/dist/esm/{device-8c6d2881.js → device-ClkcmLoi.js} +1 -1
- package/dist/esm/{element-states.decorator-d99dc83c.js → element-states.decorator-DH5waKVu.js} +2 -3
- package/dist/esm/{floating-ui-8ffbc979.js → floating-ui-CTp1F0dK.js} +2 -2
- package/dist/esm/{focus-visible-c1d6b5b8.js → focus-visible-DqCbGYzv.js} +2 -2
- package/dist/esm/{focus.decorator-988245d7.js → focus.decorator-DQpbKYaT.js} +2 -3
- package/dist/esm/{form-input-1ebdb905.js → form-input-CGW38ndP.js} +2 -6
- package/dist/esm/index-B4k_dH6V.js +1866 -0
- package/dist/esm/index-BU7FUSdu.js +569 -0
- package/dist/esm/index-D6JOtC1P.js +125 -0
- package/dist/esm/index-dYcsHLfj.js +600 -0
- package/dist/esm/index-pkPHUz5e.js +2980 -0
- package/dist/esm/index-zWZxKBfo.js +48 -0
- package/dist/esm/index.esm-Btc0yydR.js +210 -0
- package/dist/esm/index.js +24 -30
- package/dist/esm/{listener-04842ae9.js → listener-tzACU3qe.js} +1 -1
- package/dist/esm/loader.js +3 -10
- package/dist/esm/lottie_light_html-DuyI5RA6.js +11702 -0
- package/dist/esm/{mutation.decorator-6a69cedb.js → mutation.decorator-x6OeVGO1.js} +2 -2
- package/dist/esm/{number-ccf3fbd0.js → number-DZNVPmrJ.js} +1 -2
- package/dist/esm/{overlays-cee3838b.js → overlays-HStjSmzT.js} +2 -3
- package/dist/esm/purify.es-B3Q-Lii3.js +1328 -0
- package/dist/esm/{resize.decorator-3c8e5ee2.js → resize.decorator-D8jUH-n3.js} +2 -3
- package/dist/esm/{scroll-521224a9.js → scroll-CGUsHi6i.js} +1 -1
- package/dist/esm/{swipe.decorator-3d3585e7.js → swipe.decorator-CLIW6A6V.js} +1 -1
- package/dist/esm/{swipe.subject-26a9e5a5.js → swipe.subject-CgHMG_X7.js} +4 -4
- package/dist/esm/{swiper.util-8e17b8c4.js → swiper.util-lTWgy2NS.js} +4 -5
- package/dist/esm/{tokens.esm-4409ffbb.js → tokens.esm-BvmIi0Pf.js} +3 -2
- package/dist/esm/{tslib.es6-654e2c24.js → tslib.es6-dfXERft2.js} +2 -0
- package/dist/esm/{utils-9fbab1d3.js → utils-C_qktPg7.js} +6 -6
- package/dist/esm/{visibility.decorator-5db91610.js → visibility.decorator-DOE3Mnqt.js} +2 -2
- package/dist/esm/{window-resize.decorator-03b1ed50.js → window-resize.decorator-C4aZFmLU.js} +1 -24
- package/dist/esm/window-resize.subject-DTS_9rk_.js +26 -0
- package/dist/esm-es5/_commonjsHelpers-BFTU3MAI.js +1 -0
- package/dist/esm-es5/animation.decorator-DtxbEYY8.js +1 -0
- package/dist/esm-es5/array-CDfSqLEo.js +1 -0
- package/dist/esm-es5/{attributes-a3e70948.js → attributes-C4sZQbkT.js} +1 -1
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-app.entry.js +1 -1
- package/dist/esm-es5/bal-badge.entry.js +1 -1
- package/dist/esm-es5/bal-button_2.entry.js +1 -1
- package/dist/esm-es5/bal-card_6.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-check.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-content.entry.js +1 -1
- package/dist/esm-es5/bal-data_4.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-divider.entry.js +1 -1
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
- package/dist/esm-es5/bal-form.entry.js +1 -1
- package/dist/esm-es5/bal-heading_2.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-group.entry.js +1 -1
- package/dist/esm-es5/bal-input-slider.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
- package/dist/esm-es5/bal-input.entry.js +1 -1
- package/dist/esm-es5/bal-label.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.animation-Bm-_mal3.js +1 -0
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-modal_3.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-notices_3.entry.js +1 -1
- package/dist/esm-es5/bal-notification.entry.js +1 -1
- package/dist/esm-es5/bal-number-input.entry.js +1 -1
- package/dist/esm-es5/bal-option_2.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popup.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
- package/dist/esm-es5/bal-radio_2.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-select_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-sheet.entry.js +1 -1
- package/dist/esm-es5/{bal-spinner.animation-81d4326e.js → bal-spinner.animation-Bv2Ow6xu.js} +1 -1
- package/dist/esm-es5/bal-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stack.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.entry.js +1 -1
- package/dist/esm-es5/bal-step-item.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-switch.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/bal-table.entry.js +1 -1
- package/dist/esm-es5/bal-tag_2.entry.js +1 -1
- package/dist/esm-es5/bal-textarea.entry.js +1 -1
- package/dist/esm-es5/bal-time-input.entry.js +1 -1
- package/dist/esm-es5/bal-tooltip.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-SHkWCW_Y.js +1 -0
- package/dist/esm-es5/breakpoints.subject-C7fjILif.js +1 -0
- package/dist/esm-es5/config.decorator-T4wBa62Z.js +1 -0
- package/dist/esm-es5/date-B9gcRx4E.js +1 -0
- package/dist/esm-es5/device-ClkcmLoi.js +1 -0
- package/dist/esm-es5/element-states.decorator-DH5waKVu.js +1 -0
- package/dist/esm-es5/floating-ui-CTp1F0dK.js +1 -0
- package/dist/esm-es5/focus-visible-DqCbGYzv.js +1 -0
- package/dist/esm-es5/focus.decorator-DQpbKYaT.js +1 -0
- package/dist/esm-es5/form-input-CGW38ndP.js +1 -0
- package/dist/esm-es5/index-B4k_dH6V.js +1 -0
- package/dist/esm-es5/index-BU7FUSdu.js +1 -0
- package/dist/esm-es5/index-D6JOtC1P.js +1 -0
- package/dist/esm-es5/index-dYcsHLfj.js +1 -0
- package/dist/esm-es5/index-pkPHUz5e.js +2 -0
- package/dist/esm-es5/index-zWZxKBfo.js +1 -0
- package/dist/esm-es5/index.esm-Btc0yydR.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/listener-tzACU3qe.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/lottie_light_html-DuyI5RA6.js +9 -0
- package/dist/esm-es5/mutation.decorator-x6OeVGO1.js +1 -0
- package/dist/esm-es5/number-DZNVPmrJ.js +1 -0
- package/dist/esm-es5/overlays-HStjSmzT.js +1 -0
- package/dist/esm-es5/purify.es-B3Q-Lii3.js +2 -0
- package/dist/esm-es5/resize.decorator-D8jUH-n3.js +1 -0
- package/dist/esm-es5/scroll-CGUsHi6i.js +1 -0
- package/dist/esm-es5/{swipe.decorator-3d3585e7.js → swipe.decorator-CLIW6A6V.js} +1 -1
- package/dist/esm-es5/swipe.subject-CgHMG_X7.js +1 -0
- package/dist/esm-es5/swiper.util-lTWgy2NS.js +1 -0
- package/dist/esm-es5/{tokens.esm-4409ffbb.js → tokens.esm-BvmIi0Pf.js} +1 -1
- package/dist/esm-es5/utils-C_qktPg7.js +1 -0
- package/dist/esm-es5/visibility.decorator-DOE3Mnqt.js +1 -0
- package/dist/esm-es5/window-resize.decorator-C4aZFmLU.js +1 -0
- package/dist/esm-es5/window-resize.subject-DTS_9rk_.js +1 -0
- package/dist/html.html-data.json +85 -1
- package/dist/types/components/bal-button/bal-button.d.ts +13 -1
- package/dist/types/components/bal-input/bal-input-util.d.ts +8 -0
- package/dist/types/components/bal-input/bal-input.d.ts +1 -1
- package/dist/types/components/bal-input/bal-input.interfaces.d.ts +1 -1
- package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +1 -1
- package/dist/types/components/bal-nav/models/bal-nav-meta-button.d.ts +1 -1
- package/dist/types/components/bal-pagination/bal-pagination.d.ts +1 -1
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +3 -3
- package/dist/types/components.d.ts +1444 -10
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +23 -1
- package/dist/types/tags-all.d.ts +1 -0
- package/dist/types/utils/config/config.types.d.ts +2 -0
- package/package.json +7 -7
- package/components/bal-text2.js +0 -94
- package/components/purify.js +0 -1353
- package/dist/baloise-design-system/p-00b37ea2.js +0 -1
- package/dist/baloise-design-system/p-00d6cf9a.system.js +0 -1
- package/dist/baloise-design-system/p-0193364e31.entry.js +0 -1
- package/dist/baloise-design-system/p-01cd830b.system.js +0 -1
- package/dist/baloise-design-system/p-02509f2aa1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-04515987c7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-056b22a7.system.js +0 -1
- package/dist/baloise-design-system/p-0783dc98dd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0833e523b1.entry.js +0 -1
- package/dist/baloise-design-system/p-0aa6f3518b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0ae449ae.system.js +0 -1
- package/dist/baloise-design-system/p-0b2b3dbe1b.entry.js +0 -1
- package/dist/baloise-design-system/p-0c336d76f5.entry.js +0 -1
- package/dist/baloise-design-system/p-0c34ba75.system.js +0 -1
- package/dist/baloise-design-system/p-11230944ba.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1272e3f9c5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-12b975fee6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-13d44256.system.js +0 -1
- package/dist/baloise-design-system/p-14df54b760.entry.js +0 -1
- package/dist/baloise-design-system/p-15f86fd2.js +0 -1
- package/dist/baloise-design-system/p-16395ece.system.js +0 -1
- package/dist/baloise-design-system/p-166d571e.js +0 -1
- package/dist/baloise-design-system/p-16f5c678f5.entry.js +0 -1
- package/dist/baloise-design-system/p-1846561401.system.entry.js +0 -1
- package/dist/baloise-design-system/p-18675e20.js +0 -1
- package/dist/baloise-design-system/p-18c6b14c.system.js +0 -1
- package/dist/baloise-design-system/p-18cab6ff5b.entry.js +0 -1
- package/dist/baloise-design-system/p-1cfbf3093b.entry.js +0 -1
- package/dist/baloise-design-system/p-1f7d1eb48e.entry.js +0 -1
- package/dist/baloise-design-system/p-1fa4cbaca6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-210cd438.system.js +0 -9
- package/dist/baloise-design-system/p-211fd73b2d.entry.js +0 -1
- package/dist/baloise-design-system/p-21b2d5d33b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-23bdd8dc.system.js +0 -1
- package/dist/baloise-design-system/p-242625df10.system.entry.js +0 -1
- package/dist/baloise-design-system/p-24486c2cd6.entry.js +0 -1
- package/dist/baloise-design-system/p-2725c79107.system.entry.js +0 -1
- package/dist/baloise-design-system/p-27b9d8e173.entry.js +0 -1
- package/dist/baloise-design-system/p-2880433e.system.js +0 -1
- package/dist/baloise-design-system/p-28d0b9c851.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2ccbe55a.js +0 -2
- package/dist/baloise-design-system/p-2d3770e7.system.js +0 -1
- package/dist/baloise-design-system/p-3131f323.system.js +0 -1
- package/dist/baloise-design-system/p-3153f3e507.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3156541849.system.entry.js +0 -1
- package/dist/baloise-design-system/p-350a85a9.js +0 -1
- package/dist/baloise-design-system/p-36c605b7ed.entry.js +0 -1
- package/dist/baloise-design-system/p-371f93bd95.system.entry.js +0 -1
- package/dist/baloise-design-system/p-39cbb5b4.system.js +0 -1
- package/dist/baloise-design-system/p-3b6395d90b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3d3aa421.js +0 -1
- package/dist/baloise-design-system/p-3f01fc8b.js +0 -1
- package/dist/baloise-design-system/p-3f6fcc1a25.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3fcfe14a45.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4191bdf0.js +0 -1
- package/dist/baloise-design-system/p-41c8319b5f.entry.js +0 -1
- package/dist/baloise-design-system/p-422f347380.entry.js +0 -1
- package/dist/baloise-design-system/p-42d1374d6f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4573c419.js +0 -1
- package/dist/baloise-design-system/p-45d69189d4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-472a8efc29.entry.js +0 -1
- package/dist/baloise-design-system/p-4743791e3f.entry.js +0 -1
- package/dist/baloise-design-system/p-4936cce309.entry.js +0 -1
- package/dist/baloise-design-system/p-4a1237e8.js +0 -1
- package/dist/baloise-design-system/p-4ad57bd1ee.entry.js +0 -1
- package/dist/baloise-design-system/p-4af5f1f9.js +0 -1
- package/dist/baloise-design-system/p-4ca4dff6.js +0 -1
- package/dist/baloise-design-system/p-4d4dd885fc.entry.js +0 -1
- package/dist/baloise-design-system/p-4d5477db.js +0 -1
- package/dist/baloise-design-system/p-4e8633942b.entry.js +0 -1
- package/dist/baloise-design-system/p-4f1232cf16.system.entry.js +0 -1
- package/dist/baloise-design-system/p-537189e0.js +0 -1
- package/dist/baloise-design-system/p-548ca0b3.js +0 -1
- package/dist/baloise-design-system/p-5569e7774f.entry.js +0 -1
- package/dist/baloise-design-system/p-56f686f295.system.entry.js +0 -1
- package/dist/baloise-design-system/p-576fea8fe0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-584601ed8d.entry.js +0 -1
- package/dist/baloise-design-system/p-599fe1aecd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5b81a72518.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5c391c5415.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5d26868b4c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5d94ecd9.system.js +0 -1
- package/dist/baloise-design-system/p-5e506fea89.entry.js +0 -1
- package/dist/baloise-design-system/p-5e7b2f7fa5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5fbe1e715b.entry.js +0 -1
- package/dist/baloise-design-system/p-6461e0dc8c.entry.js +0 -1
- package/dist/baloise-design-system/p-659270e6.system.js +0 -1
- package/dist/baloise-design-system/p-65a3f66bb1.entry.js +0 -1
- package/dist/baloise-design-system/p-6780a7ed.system.js +0 -1
- package/dist/baloise-design-system/p-68f3a1d5de.entry.js +0 -1
- package/dist/baloise-design-system/p-6913b916.system.js +0 -1
- package/dist/baloise-design-system/p-694808374d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6ca25be56c.entry.js +0 -1
- package/dist/baloise-design-system/p-6df2900b29.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6e3ed83858.entry.js +0 -1
- package/dist/baloise-design-system/p-70a29a3cf9.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7187bc892e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7720b262.system.js +0 -1
- package/dist/baloise-design-system/p-77c7a0b0.js +0 -1
- package/dist/baloise-design-system/p-7961e095.system.js +0 -2
- package/dist/baloise-design-system/p-7ace6bb2b2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7d4fac85.js +0 -1
- package/dist/baloise-design-system/p-7ee8e43a78.entry.js +0 -1
- package/dist/baloise-design-system/p-835cf9d5.system.js +0 -1
- package/dist/baloise-design-system/p-86621bd1a3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8de1cbc123.system.entry.js +0 -1
- package/dist/baloise-design-system/p-975f69e2.js +0 -1
- package/dist/baloise-design-system/p-9a3d9e17.js +0 -1
- package/dist/baloise-design-system/p-9bea0924af.entry.js +0 -1
- package/dist/baloise-design-system/p-9fe6f3f427.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a1449d0827.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a1f6e944.system.js +0 -1
- package/dist/baloise-design-system/p-a65354df.js +0 -1
- package/dist/baloise-design-system/p-a6f19c8102.entry.js +0 -1
- package/dist/baloise-design-system/p-a7f480e29e.entry.js +0 -1
- package/dist/baloise-design-system/p-a8161761.js +0 -1
- package/dist/baloise-design-system/p-a8f4c51f7d.entry.js +0 -1
- package/dist/baloise-design-system/p-abaa6b209d.entry.js +0 -1
- package/dist/baloise-design-system/p-ad848b32cc.entry.js +0 -1
- package/dist/baloise-design-system/p-ade92c8b.js +0 -2
- package/dist/baloise-design-system/p-b0471793.system.js +0 -1
- package/dist/baloise-design-system/p-b0cf4731.js +0 -1
- package/dist/baloise-design-system/p-b31ef16307.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b3720a73.system.js +0 -1
- package/dist/baloise-design-system/p-b53635762a.entry.js +0 -1
- package/dist/baloise-design-system/p-b651c3be06.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b77e3348.js +0 -1
- package/dist/baloise-design-system/p-ba04f59382.entry.js +0 -1
- package/dist/baloise-design-system/p-bb0bea1a12.entry.js +0 -1
- package/dist/baloise-design-system/p-bdf651c552.system.entry.js +0 -1
- package/dist/baloise-design-system/p-be4404d14f.entry.js +0 -1
- package/dist/baloise-design-system/p-c018e14208.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c1df952485.entry.js +0 -1
- package/dist/baloise-design-system/p-c75b737789.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c90cd86f85.entry.js +0 -1
- package/dist/baloise-design-system/p-c942d04f.system.js +0 -1
- package/dist/baloise-design-system/p-caf7e785da.system.entry.js +0 -1
- package/dist/baloise-design-system/p-cb9a61cf9f.entry.js +0 -1
- package/dist/baloise-design-system/p-ce0bb62f88.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ce4f5a6a.js +0 -1
- package/dist/baloise-design-system/p-cec9dcd5f0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d0cee779.system.js +0 -2
- package/dist/baloise-design-system/p-d41614f898.entry.js +0 -1
- package/dist/baloise-design-system/p-d4e5093b.js +0 -1
- package/dist/baloise-design-system/p-d96b1ee9.js +0 -1
- package/dist/baloise-design-system/p-dac493c4.system.js +0 -1
- package/dist/baloise-design-system/p-dc1f26ed82.entry.js +0 -1
- package/dist/baloise-design-system/p-ddfc39d563.system.entry.js +0 -1
- package/dist/baloise-design-system/p-de214c5ded.entry.js +0 -1
- package/dist/baloise-design-system/p-df907af8.system.js +0 -1
- package/dist/baloise-design-system/p-e004afb272.entry.js +0 -1
- package/dist/baloise-design-system/p-e0248dd3.js +0 -1
- package/dist/baloise-design-system/p-e1daa037f5.entry.js +0 -1
- package/dist/baloise-design-system/p-e442bfd948.entry.js +0 -1
- package/dist/baloise-design-system/p-e53cf246d6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e581de20.js +0 -1
- package/dist/baloise-design-system/p-e75452d8.system.js +0 -1
- package/dist/baloise-design-system/p-e88286bed3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ea96959c66.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ec1863d2.js +0 -1
- package/dist/baloise-design-system/p-edb1f50e6a.entry.js +0 -1
- package/dist/baloise-design-system/p-eec38fbd.system.js +0 -1
- package/dist/baloise-design-system/p-eed5aa27.system.js +0 -1
- package/dist/baloise-design-system/p-f19930db.js +0 -1
- package/dist/baloise-design-system/p-f8db562aa1.entry.js +0 -1
- package/dist/baloise-design-system/p-fa2ea8a4.system.js +0 -1
- package/dist/baloise-design-system/p-fa6b5cde.system.js +0 -1
- package/dist/baloise-design-system/p-fd273f8f1e.entry.js +0 -1
- package/dist/baloise-design-system/p-fe2ef334.system.js +0 -1
- package/dist/baloise-design-system/p-ff36efab94.entry.js +0 -1
- package/dist/cjs/app-globals-0d8db19e.js +0 -11
- package/dist/cjs/browser-1d542d0f.js +0 -64
- package/dist/cjs/config.default-7e96eb95.js +0 -48
- package/dist/cjs/config.utils-df30e424.js +0 -140
- package/dist/cjs/helpers-debb881a.js +0 -331
- package/dist/cjs/index-24d802b4.js +0 -594
- package/dist/cjs/index-3b7f8988.js +0 -1860
- package/dist/cjs/index-758765f7.js +0 -560
- package/dist/cjs/index-84f42282.js +0 -1810
- package/dist/cjs/index-e6a233be.js +0 -37
- package/dist/cjs/index.esm-a38eebac.js +0 -212
- package/dist/cjs/initialize-2e8978a4.js +0 -319
- package/dist/cjs/log-33398c2a.js +0 -80
- package/dist/cjs/lottie_light_html-cbfdf82e.js +0 -11694
- package/dist/cjs/purify-b01229e2.js +0 -1355
- package/dist/cjs/window-resize.decorator-56853e4c.js +0 -48
- package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -3
- package/dist/esm/app-globals-07bd529a.js +0 -9
- package/dist/esm/browser-a8073d92.js +0 -62
- package/dist/esm/config.default-53a04699.js +0 -45
- package/dist/esm/config.utils-f3793464.js +0 -101
- package/dist/esm/helpers-51d51cc5.js +0 -307
- package/dist/esm/index-82aff103.js +0 -35
- package/dist/esm/index-8d2a7ce7.js +0 -1779
- package/dist/esm/index-95ee0c4b.js +0 -1858
- package/dist/esm/index-bba06972.js +0 -558
- package/dist/esm/index-db06fb0e.js +0 -592
- package/dist/esm/index.esm-9079680d.js +0 -206
- package/dist/esm/initialize-c00194b2.js +0 -312
- package/dist/esm/log-dfd1c19f.js +0 -77
- package/dist/esm/lottie_light_html-ab90e4a2.js +0 -11692
- package/dist/esm/purify-8cb49f16.js +0 -1353
- package/dist/esm-es5/_commonjsHelpers-1c8beb5f.js +0 -1
- package/dist/esm-es5/animation.decorator-7fca988f.js +0 -1
- package/dist/esm-es5/app-globals-07bd529a.js +0 -1
- package/dist/esm-es5/array-4c09dfe3.js +0 -1
- package/dist/esm-es5/bal-logo.animation-560601c6.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-4de4315f.js +0 -1
- package/dist/esm-es5/breakpoints.subject-2f68e834.js +0 -1
- package/dist/esm-es5/browser-a8073d92.js +0 -1
- package/dist/esm-es5/config.decorator-6795d1fe.js +0 -1
- package/dist/esm-es5/config.default-53a04699.js +0 -1
- package/dist/esm-es5/config.utils-f3793464.js +0 -1
- package/dist/esm-es5/date-87bdb1d1.js +0 -1
- package/dist/esm-es5/device-8c6d2881.js +0 -1
- package/dist/esm-es5/element-states.decorator-d99dc83c.js +0 -1
- package/dist/esm-es5/floating-ui-8ffbc979.js +0 -1
- package/dist/esm-es5/focus-visible-c1d6b5b8.js +0 -1
- package/dist/esm-es5/focus.decorator-988245d7.js +0 -1
- package/dist/esm-es5/form-input-1ebdb905.js +0 -1
- package/dist/esm-es5/helpers-51d51cc5.js +0 -1
- package/dist/esm-es5/index-82aff103.js +0 -1
- package/dist/esm-es5/index-8d2a7ce7.js +0 -2
- package/dist/esm-es5/index-95ee0c4b.js +0 -1
- package/dist/esm-es5/index-bba06972.js +0 -1
- package/dist/esm-es5/index-db06fb0e.js +0 -1
- package/dist/esm-es5/index.esm-9079680d.js +0 -1
- package/dist/esm-es5/initialize-c00194b2.js +0 -1
- package/dist/esm-es5/listener-04842ae9.js +0 -1
- package/dist/esm-es5/log-dfd1c19f.js +0 -1
- package/dist/esm-es5/lottie_light_html-ab90e4a2.js +0 -9
- package/dist/esm-es5/mutation.decorator-6a69cedb.js +0 -1
- package/dist/esm-es5/number-ccf3fbd0.js +0 -1
- package/dist/esm-es5/overlays-cee3838b.js +0 -1
- package/dist/esm-es5/purify-8cb49f16.js +0 -2
- package/dist/esm-es5/resize.decorator-3c8e5ee2.js +0 -1
- package/dist/esm-es5/scroll-521224a9.js +0 -1
- package/dist/esm-es5/swipe.subject-26a9e5a5.js +0 -1
- package/dist/esm-es5/swiper.util-8e17b8c4.js +0 -1
- package/dist/esm-es5/utils-9fbab1d3.js +0 -1
- package/dist/esm-es5/visibility.decorator-5db91610.js +0 -1
- package/dist/esm-es5/window-resize.decorator-03b1ed50.js +0 -1
- package/loader/package.json +0 -11
- /package/components/{floating-ui.dom.esm.js → floating-ui.dom.js} +0 -0
- /package/dist/baloise-design-system/{p-8dc7ee30.js → p-B4aDEwd8.js} +0 -0
- /package/dist/baloise-design-system/{p-5ed239cc.js → p-BLp4ll3i.js} +0 -0
- /package/dist/baloise-design-system/{p-db0895e2.system.js → p-BbAtjg9Y.system.js} +0 -0
- /package/dist/baloise-design-system/{p-11f970ba.js → p-BkEdlCZJ.js} +0 -0
- /package/dist/baloise-design-system/{p-4c0bad70.system.js → p-BktTDSq4.system.js} +0 -0
- /package/dist/baloise-design-system/{p-f3f5ce4f.js → p-BmVI6cLw.js} +0 -0
- /package/dist/baloise-design-system/{p-ae86d0a0.js → p-ByiN-QjD.js} +0 -0
- /package/dist/baloise-design-system/{p-3ecc7d9a.system.js → p-CDt5sRVY.system.js} +0 -0
- /package/dist/baloise-design-system/{p-5f26e92f.system.js → p-CGJ8YYiA.system.js} +0 -0
- /package/dist/baloise-design-system/{p-907368ff.system.js → p-CLfE_o7e.system.js} +0 -0
- /package/dist/baloise-design-system/{p-8a2bab70.system.js → p-CTl0uAFp.system.js} +0 -0
- /package/dist/baloise-design-system/{p-6dbef894.system.js → p-Cjiw70Dk.system.js} +0 -0
- /package/dist/baloise-design-system/{p-a0fe8d65.js → p-Ct27z6g9.js} +0 -0
- /package/dist/baloise-design-system/{p-dc98854c.js → p-D1VPLQ5z.js} +0 -0
- /package/dist/baloise-design-system/{p-e7d72d7c.system.js → p-D5Gy6WbU.system.js} +0 -0
- /package/dist/baloise-design-system/{p-6b45db53.system.js → p-DAOAbG5Y.system.js} +0 -0
- /package/dist/baloise-design-system/{p-8f2e9a7f.js → p-DBsOHTWj.js} +0 -0
- /package/dist/baloise-design-system/{p-ad81b8ea.js → p-DEb5iNGc.js} +0 -0
- /package/dist/baloise-design-system/{p-06ecf846.js → p-DIC_sxLd.js} +0 -0
- /package/dist/baloise-design-system/{p-2da669b4.system.js → p-DKjTFqnu.system.js} +0 -0
- /package/dist/baloise-design-system/{p-14d0c5f3.system.js → p-DPYRyPTD.system.js} +0 -0
- /package/dist/baloise-design-system/{p-278aed95.system.js → p-DWgCJRpS.system.js} +0 -0
- /package/dist/baloise-design-system/{p-ba579059.system.js → p-Dd7xQwRJ.system.js} +0 -0
- /package/dist/baloise-design-system/{p-fe76780d.system.js → p-DkfWaTsH.system.js} +0 -0
- /package/dist/baloise-design-system/{p-1a158488.js → p-DuObDTix.js} +0 -0
- /package/dist/baloise-design-system/{p-59d9918c.system.js → p-Dz-E2PRm.system.js} +0 -0
- /package/dist/baloise-design-system/{p-5eb3fbb9.js → p-FCLKfv6B.js} +0 -0
- /package/dist/baloise-design-system/{p-09ab29d6.js → p-JHAE10yr.js} +0 -0
- /package/dist/baloise-design-system/{p-4e642b63.system.js → p-SdtgSPca.system.js} +0 -0
- /package/dist/baloise-design-system/{p-43c9f5e9.js → p-dfXERft2.js} +0 -0
- /package/dist/baloise-design-system/{p-a65bc5e2.js → p-rBUN7c88.js} +0 -0
- /package/dist/baloise-design-system/{p-99cfab9c.system.js → p-wTePExHL.system.js} +0 -0
- /package/dist/baloise-design-system/{p-ec1efe3d.js → p-xVPGsAdF.js} +0 -0
- /package/dist/cjs/{aria-7672033f.js → aria-BzkqcV7W.js} +0 -0
- /package/dist/cjs/{bal-close.i18n-56dddd35.js → bal-close.i18n-B3X5xlkl.js} +0 -0
- /package/dist/cjs/{bal-file-upload.type-616d69d9.js → bal-file-upload.type-BzNkF3YQ.js} +0 -0
- /package/dist/cjs/{bal-input-stepper.i18n-dbcd32ab.js → bal-input-stepper.i18n-D57DHpYR.js} +0 -0
- /package/dist/cjs/{bal-label.i18n-a25878af.js → bal-label.i18n-BcNNm9Es.js} +0 -0
- /package/dist/cjs/{bal-step.util-3c009db9.js → bal-step.util-DQcaqybX.js} +0 -0
- /package/dist/cjs/{bal-tab.util-d0785ef4.js → bal-tab.util-DFGwGbfr.js} +0 -0
- /package/dist/cjs/{bal-time-input.i18n-b2bb9182.js → bal-time-input.i18n-Bfr3EMVD.js} +0 -0
- /package/dist/cjs/{bem-81bc6a2d.js → bem-p0PWVN8n.js} +0 -0
- /package/dist/cjs/{contact-61b41246.js → contact-qHJM5IBh.js} +0 -0
- /package/dist/cjs/{floating-ui.dom.esm-13e3f667.js → floating-ui.dom-BPU3HWKX.js} +0 -0
- /package/dist/cjs/{form-17c98ac2.js → form-BSlIiqcR.js} +0 -0
- /package/dist/cjs/{keyboard.helpers-2093e793.js → keyboard.helpers-BkZpVT-9.js} +0 -0
- /package/dist/cjs/{keys.constant-b53da545.js → keys.constant-LnwxHAZo.js} +0 -0
- /package/dist/cjs/{mask-util-19c28b4a.js → mask-util-B8hrxmqO.js} +0 -0
- /package/dist/cjs/{option-85af0921.js → option-kGk4eTdA.js} +0 -0
- /package/dist/esm/{aria-ea150568.js → aria-DBsOHTWj.js} +0 -0
- /package/dist/esm/{bal-close.i18n-f2daa707.js → bal-close.i18n-Ct27z6g9.js} +0 -0
- /package/dist/esm/{bal-file-upload.type-2a70f4ec.js → bal-file-upload.type-rBUN7c88.js} +0 -0
- /package/dist/esm/{bal-input-stepper.i18n-aaa4a009.js → bal-input-stepper.i18n-DEb5iNGc.js} +0 -0
- /package/dist/esm/{bal-label.i18n-4212be56.js → bal-label.i18n-JHAE10yr.js} +0 -0
- /package/dist/esm/{bal-step.util-3905ad56.js → bal-step.util-DIC_sxLd.js} +0 -0
- /package/dist/esm/{bal-tab.util-933315fe.js → bal-tab.util-BmVI6cLw.js} +0 -0
- /package/dist/esm/{bal-time-input.i18n-157c7092.js → bal-time-input.i18n-B4aDEwd8.js} +0 -0
- /package/dist/esm/{bem-8c7d2eb0.js → bem-ByiN-QjD.js} +0 -0
- /package/dist/esm/{contact-91a44c8c.js → contact-BkEdlCZJ.js} +0 -0
- /package/dist/esm/{floating-ui.dom.esm-efb93616.js → floating-ui.dom-DKxvaA1I.js} +0 -0
- /package/dist/esm/{form-841232ff.js → form-FCLKfv6B.js} +0 -0
- /package/dist/esm/{keyboard.helpers-159e517d.js → keyboard.helpers-D1VPLQ5z.js} +0 -0
- /package/dist/esm/{keys.constant-0eb059e0.js → keys.constant-xVPGsAdF.js} +0 -0
- /package/dist/esm/{mask-util-71edc2b8.js → mask-util-DuObDTix.js} +0 -0
- /package/dist/esm/{option-367a5341.js → option-BLp4ll3i.js} +0 -0
- /package/dist/esm-es5/{aria-ea150568.js → aria-DBsOHTWj.js} +0 -0
- /package/dist/esm-es5/{bal-close.i18n-f2daa707.js → bal-close.i18n-Ct27z6g9.js} +0 -0
- /package/dist/esm-es5/{bal-file-upload.type-2a70f4ec.js → bal-file-upload.type-rBUN7c88.js} +0 -0
- /package/dist/esm-es5/{bal-input-stepper.i18n-aaa4a009.js → bal-input-stepper.i18n-DEb5iNGc.js} +0 -0
- /package/dist/esm-es5/{bal-label.i18n-4212be56.js → bal-label.i18n-JHAE10yr.js} +0 -0
- /package/dist/esm-es5/{bal-step.util-3905ad56.js → bal-step.util-DIC_sxLd.js} +0 -0
- /package/dist/esm-es5/{bal-tab.util-933315fe.js → bal-tab.util-BmVI6cLw.js} +0 -0
- /package/dist/esm-es5/{bal-time-input.i18n-157c7092.js → bal-time-input.i18n-B4aDEwd8.js} +0 -0
- /package/dist/esm-es5/{bem-8c7d2eb0.js → bem-ByiN-QjD.js} +0 -0
- /package/dist/esm-es5/{contact-91a44c8c.js → contact-BkEdlCZJ.js} +0 -0
- /package/dist/esm-es5/{floating-ui.dom.esm-efb93616.js → floating-ui.dom-DKxvaA1I.js} +0 -0
- /package/dist/esm-es5/{form-841232ff.js → form-FCLKfv6B.js} +0 -0
- /package/dist/esm-es5/{keyboard.helpers-159e517d.js → keyboard.helpers-D1VPLQ5z.js} +0 -0
- /package/dist/esm-es5/{keys.constant-0eb059e0.js → keys.constant-xVPGsAdF.js} +0 -0
- /package/dist/esm-es5/{mask-util-71edc2b8.js → mask-util-DuObDTix.js} +0 -0
- /package/dist/esm-es5/{option-367a5341.js → option-BLp4ll3i.js} +0 -0
- /package/dist/esm-es5/{tslib.es6-654e2c24.js → tslib.es6-dfXERft2.js} +0 -0
|
@@ -1,1810 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function _interopNamespace(e) {
|
|
4
|
-
if (e && e.__esModule) return e;
|
|
5
|
-
var n = Object.create(null);
|
|
6
|
-
if (e) {
|
|
7
|
-
Object.keys(e).forEach(function (k) {
|
|
8
|
-
if (k !== 'default') {
|
|
9
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return e[k];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
n['default'] = e;
|
|
20
|
-
return Object.freeze(n);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const NAMESPACE = 'baloise-design-system';
|
|
24
|
-
const BUILD = /* baloise-design-system */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: true, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
25
|
-
|
|
26
|
-
/*
|
|
27
|
-
Stencil Client Platform v4.23.0 | MIT Licensed | https://stenciljs.com
|
|
28
|
-
*/
|
|
29
|
-
var __defProp = Object.defineProperty;
|
|
30
|
-
var __export = (target, all) => {
|
|
31
|
-
for (var name in all)
|
|
32
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
33
|
-
};
|
|
34
|
-
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
35
|
-
var getHostRef = (ref) => hostRefs.get(ref);
|
|
36
|
-
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
37
|
-
var registerHost = (hostElement, cmpMeta) => {
|
|
38
|
-
const hostRef = {
|
|
39
|
-
$flags$: 0,
|
|
40
|
-
$hostElement$: hostElement,
|
|
41
|
-
$cmpMeta$: cmpMeta,
|
|
42
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
43
|
-
};
|
|
44
|
-
{
|
|
45
|
-
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
46
|
-
}
|
|
47
|
-
{
|
|
48
|
-
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
49
|
-
hostElement["s-p"] = [];
|
|
50
|
-
hostElement["s-rc"] = [];
|
|
51
|
-
}
|
|
52
|
-
return hostRefs.set(hostElement, hostRef);
|
|
53
|
-
};
|
|
54
|
-
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
55
|
-
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
56
|
-
|
|
57
|
-
// src/client/client-load-module.ts
|
|
58
|
-
var cmpModules = /* @__PURE__ */ new Map();
|
|
59
|
-
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
60
|
-
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
61
|
-
const bundleId = cmpMeta.$lazyBundleId$;
|
|
62
|
-
if (!bundleId) {
|
|
63
|
-
return void 0;
|
|
64
|
-
}
|
|
65
|
-
const module = cmpModules.get(bundleId) ;
|
|
66
|
-
if (module) {
|
|
67
|
-
return module[exportName];
|
|
68
|
-
}
|
|
69
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
70
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
71
|
-
/* @vite-ignore */
|
|
72
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
73
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
74
|
-
/* webpackMode: "lazy" */
|
|
75
|
-
`./${bundleId}.entry.js${""}`
|
|
76
|
-
)); }).then((importedModule) => {
|
|
77
|
-
{
|
|
78
|
-
cmpModules.set(bundleId, importedModule);
|
|
79
|
-
}
|
|
80
|
-
return importedModule[exportName];
|
|
81
|
-
}, consoleError);
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
// src/client/client-style.ts
|
|
85
|
-
var styles = /* @__PURE__ */ new Map();
|
|
86
|
-
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
87
|
-
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
88
|
-
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
89
|
-
var win = typeof window !== "undefined" ? window : {};
|
|
90
|
-
var doc = win.document || { head: {} };
|
|
91
|
-
var plt = {
|
|
92
|
-
$flags$: 0,
|
|
93
|
-
$resourcesUrl$: "",
|
|
94
|
-
jmp: (h2) => h2(),
|
|
95
|
-
raf: (h2) => requestAnimationFrame(h2),
|
|
96
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
97
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
98
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
99
|
-
};
|
|
100
|
-
var setPlatformHelpers = (helpers) => {
|
|
101
|
-
Object.assign(plt, helpers);
|
|
102
|
-
};
|
|
103
|
-
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
104
|
-
let supportsListenerOptions2 = false;
|
|
105
|
-
try {
|
|
106
|
-
doc.addEventListener(
|
|
107
|
-
"e",
|
|
108
|
-
null,
|
|
109
|
-
Object.defineProperty({}, "passive", {
|
|
110
|
-
get() {
|
|
111
|
-
supportsListenerOptions2 = true;
|
|
112
|
-
}
|
|
113
|
-
})
|
|
114
|
-
);
|
|
115
|
-
} catch (e) {
|
|
116
|
-
}
|
|
117
|
-
return supportsListenerOptions2;
|
|
118
|
-
})();
|
|
119
|
-
var promiseResolve = (v) => Promise.resolve(v);
|
|
120
|
-
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
121
|
-
try {
|
|
122
|
-
new CSSStyleSheet();
|
|
123
|
-
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
124
|
-
} catch (e) {
|
|
125
|
-
}
|
|
126
|
-
return false;
|
|
127
|
-
})() ;
|
|
128
|
-
var queuePending = false;
|
|
129
|
-
var queueDomReads = [];
|
|
130
|
-
var queueDomWrites = [];
|
|
131
|
-
var queueTask = (queue, write) => (cb) => {
|
|
132
|
-
queue.push(cb);
|
|
133
|
-
if (!queuePending) {
|
|
134
|
-
queuePending = true;
|
|
135
|
-
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
136
|
-
nextTick(flush);
|
|
137
|
-
} else {
|
|
138
|
-
plt.raf(flush);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
var consume = (queue) => {
|
|
143
|
-
for (let i2 = 0; i2 < queue.length; i2++) {
|
|
144
|
-
try {
|
|
145
|
-
queue[i2](performance.now());
|
|
146
|
-
} catch (e) {
|
|
147
|
-
consoleError(e);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
queue.length = 0;
|
|
151
|
-
};
|
|
152
|
-
var flush = () => {
|
|
153
|
-
consume(queueDomReads);
|
|
154
|
-
{
|
|
155
|
-
consume(queueDomWrites);
|
|
156
|
-
if (queuePending = queueDomReads.length > 0) {
|
|
157
|
-
plt.raf(flush);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
var nextTick = (cb) => promiseResolve().then(cb);
|
|
162
|
-
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
163
|
-
|
|
164
|
-
// src/utils/constants.ts
|
|
165
|
-
var EMPTY_OBJ = {};
|
|
166
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
167
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
168
|
-
|
|
169
|
-
// src/utils/helpers.ts
|
|
170
|
-
var isDef = (v) => v != null;
|
|
171
|
-
var isComplexType = (o) => {
|
|
172
|
-
o = typeof o;
|
|
173
|
-
return o === "object" || o === "function";
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
// src/utils/query-nonce-meta-tag-content.ts
|
|
177
|
-
function queryNonceMetaTagContent(doc2) {
|
|
178
|
-
var _a, _b, _c;
|
|
179
|
-
return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// src/utils/result.ts
|
|
183
|
-
var result_exports = {};
|
|
184
|
-
__export(result_exports, {
|
|
185
|
-
err: () => err,
|
|
186
|
-
map: () => map,
|
|
187
|
-
ok: () => ok,
|
|
188
|
-
unwrap: () => unwrap,
|
|
189
|
-
unwrapErr: () => unwrapErr
|
|
190
|
-
});
|
|
191
|
-
var ok = (value) => ({
|
|
192
|
-
isOk: true,
|
|
193
|
-
isErr: false,
|
|
194
|
-
value
|
|
195
|
-
});
|
|
196
|
-
var err = (value) => ({
|
|
197
|
-
isOk: false,
|
|
198
|
-
isErr: true,
|
|
199
|
-
value
|
|
200
|
-
});
|
|
201
|
-
function map(result, fn) {
|
|
202
|
-
if (result.isOk) {
|
|
203
|
-
const val = fn(result.value);
|
|
204
|
-
if (val instanceof Promise) {
|
|
205
|
-
return val.then((newVal) => ok(newVal));
|
|
206
|
-
} else {
|
|
207
|
-
return ok(val);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
if (result.isErr) {
|
|
211
|
-
const value = result.value;
|
|
212
|
-
return err(value);
|
|
213
|
-
}
|
|
214
|
-
throw "should never get here";
|
|
215
|
-
}
|
|
216
|
-
var unwrap = (result) => {
|
|
217
|
-
if (result.isOk) {
|
|
218
|
-
return result.value;
|
|
219
|
-
} else {
|
|
220
|
-
throw result.value;
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
var unwrapErr = (result) => {
|
|
224
|
-
if (result.isErr) {
|
|
225
|
-
return result.value;
|
|
226
|
-
} else {
|
|
227
|
-
throw result.value;
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
var h = (nodeName, vnodeData, ...children) => {
|
|
231
|
-
let child = null;
|
|
232
|
-
let key = null;
|
|
233
|
-
let slotName = null;
|
|
234
|
-
let simple = false;
|
|
235
|
-
let lastSimple = false;
|
|
236
|
-
const vNodeChildren = [];
|
|
237
|
-
const walk = (c) => {
|
|
238
|
-
for (let i2 = 0; i2 < c.length; i2++) {
|
|
239
|
-
child = c[i2];
|
|
240
|
-
if (Array.isArray(child)) {
|
|
241
|
-
walk(child);
|
|
242
|
-
} else if (child != null && typeof child !== "boolean") {
|
|
243
|
-
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
244
|
-
child = String(child);
|
|
245
|
-
}
|
|
246
|
-
if (simple && lastSimple) {
|
|
247
|
-
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
248
|
-
} else {
|
|
249
|
-
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
|
250
|
-
}
|
|
251
|
-
lastSimple = simple;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
walk(children);
|
|
256
|
-
if (vnodeData) {
|
|
257
|
-
if (vnodeData.key) {
|
|
258
|
-
key = vnodeData.key;
|
|
259
|
-
}
|
|
260
|
-
if (vnodeData.name) {
|
|
261
|
-
slotName = vnodeData.name;
|
|
262
|
-
}
|
|
263
|
-
{
|
|
264
|
-
const classData = vnodeData.className || vnodeData.class;
|
|
265
|
-
if (classData) {
|
|
266
|
-
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
if (typeof nodeName === "function") {
|
|
271
|
-
return nodeName(
|
|
272
|
-
vnodeData === null ? {} : vnodeData,
|
|
273
|
-
vNodeChildren,
|
|
274
|
-
vdomFnUtils
|
|
275
|
-
);
|
|
276
|
-
}
|
|
277
|
-
const vnode = newVNode(nodeName, null);
|
|
278
|
-
vnode.$attrs$ = vnodeData;
|
|
279
|
-
if (vNodeChildren.length > 0) {
|
|
280
|
-
vnode.$children$ = vNodeChildren;
|
|
281
|
-
}
|
|
282
|
-
{
|
|
283
|
-
vnode.$key$ = key;
|
|
284
|
-
}
|
|
285
|
-
{
|
|
286
|
-
vnode.$name$ = slotName;
|
|
287
|
-
}
|
|
288
|
-
return vnode;
|
|
289
|
-
};
|
|
290
|
-
var newVNode = (tag, text) => {
|
|
291
|
-
const vnode = {
|
|
292
|
-
$flags$: 0,
|
|
293
|
-
$tag$: tag,
|
|
294
|
-
$text$: text,
|
|
295
|
-
$elm$: null,
|
|
296
|
-
$children$: null
|
|
297
|
-
};
|
|
298
|
-
{
|
|
299
|
-
vnode.$attrs$ = null;
|
|
300
|
-
}
|
|
301
|
-
{
|
|
302
|
-
vnode.$key$ = null;
|
|
303
|
-
}
|
|
304
|
-
{
|
|
305
|
-
vnode.$name$ = null;
|
|
306
|
-
}
|
|
307
|
-
return vnode;
|
|
308
|
-
};
|
|
309
|
-
var Host = {};
|
|
310
|
-
var isHost = (node) => node && node.$tag$ === Host;
|
|
311
|
-
var vdomFnUtils = {
|
|
312
|
-
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
313
|
-
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
|
|
314
|
-
};
|
|
315
|
-
var convertToPublic = (node) => ({
|
|
316
|
-
vattrs: node.$attrs$,
|
|
317
|
-
vchildren: node.$children$,
|
|
318
|
-
vkey: node.$key$,
|
|
319
|
-
vname: node.$name$,
|
|
320
|
-
vtag: node.$tag$,
|
|
321
|
-
vtext: node.$text$
|
|
322
|
-
});
|
|
323
|
-
var convertToPrivate = (node) => {
|
|
324
|
-
if (typeof node.vtag === "function") {
|
|
325
|
-
const vnodeData = { ...node.vattrs };
|
|
326
|
-
if (node.vkey) {
|
|
327
|
-
vnodeData.key = node.vkey;
|
|
328
|
-
}
|
|
329
|
-
if (node.vname) {
|
|
330
|
-
vnodeData.name = node.vname;
|
|
331
|
-
}
|
|
332
|
-
return h(node.vtag, vnodeData, ...node.vchildren || []);
|
|
333
|
-
}
|
|
334
|
-
const vnode = newVNode(node.vtag, node.vtext);
|
|
335
|
-
vnode.$attrs$ = node.vattrs;
|
|
336
|
-
vnode.$children$ = node.vchildren;
|
|
337
|
-
vnode.$key$ = node.vkey;
|
|
338
|
-
vnode.$name$ = node.vname;
|
|
339
|
-
return vnode;
|
|
340
|
-
};
|
|
341
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
342
|
-
if (oldValue !== newValue) {
|
|
343
|
-
let isProp = isMemberInElement(elm, memberName);
|
|
344
|
-
let ln = memberName.toLowerCase();
|
|
345
|
-
if (memberName === "class") {
|
|
346
|
-
const classList = elm.classList;
|
|
347
|
-
const oldClasses = parseClassList(oldValue);
|
|
348
|
-
const newClasses = parseClassList(newValue);
|
|
349
|
-
if (elm["s-si"] && newClasses.indexOf(elm["s-si"]) < 0) {
|
|
350
|
-
newClasses.push(elm["s-si"]);
|
|
351
|
-
}
|
|
352
|
-
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
353
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
354
|
-
} else if (memberName === "style") {
|
|
355
|
-
{
|
|
356
|
-
for (const prop in oldValue) {
|
|
357
|
-
if (!newValue || newValue[prop] == null) {
|
|
358
|
-
if (prop.includes("-")) {
|
|
359
|
-
elm.style.removeProperty(prop);
|
|
360
|
-
} else {
|
|
361
|
-
elm.style[prop] = "";
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
for (const prop in newValue) {
|
|
367
|
-
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
368
|
-
if (prop.includes("-")) {
|
|
369
|
-
elm.style.setProperty(prop, newValue[prop]);
|
|
370
|
-
} else {
|
|
371
|
-
elm.style[prop] = newValue[prop];
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
376
|
-
if (newValue) {
|
|
377
|
-
newValue(elm);
|
|
378
|
-
}
|
|
379
|
-
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
380
|
-
if (memberName[2] === "-") {
|
|
381
|
-
memberName = memberName.slice(3);
|
|
382
|
-
} else if (isMemberInElement(win, ln)) {
|
|
383
|
-
memberName = ln.slice(2);
|
|
384
|
-
} else {
|
|
385
|
-
memberName = ln[2] + memberName.slice(3);
|
|
386
|
-
}
|
|
387
|
-
if (oldValue || newValue) {
|
|
388
|
-
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
389
|
-
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
|
390
|
-
if (oldValue) {
|
|
391
|
-
plt.rel(elm, memberName, oldValue, capture);
|
|
392
|
-
}
|
|
393
|
-
if (newValue) {
|
|
394
|
-
plt.ael(elm, memberName, newValue, capture);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
} else {
|
|
398
|
-
const isComplex = isComplexType(newValue);
|
|
399
|
-
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
400
|
-
try {
|
|
401
|
-
if (!elm.tagName.includes("-")) {
|
|
402
|
-
const n = newValue == null ? "" : newValue;
|
|
403
|
-
if (memberName === "list") {
|
|
404
|
-
isProp = false;
|
|
405
|
-
} else if (oldValue == null || elm[memberName] != n) {
|
|
406
|
-
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
407
|
-
elm[memberName] = n;
|
|
408
|
-
} else {
|
|
409
|
-
elm.setAttribute(memberName, n);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
} else {
|
|
413
|
-
elm[memberName] = newValue;
|
|
414
|
-
}
|
|
415
|
-
} catch (e) {
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
let xlink = false;
|
|
419
|
-
{
|
|
420
|
-
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
|
421
|
-
memberName = ln;
|
|
422
|
-
xlink = true;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
if (newValue == null || newValue === false) {
|
|
426
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
427
|
-
if (xlink) {
|
|
428
|
-
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
429
|
-
} else {
|
|
430
|
-
elm.removeAttribute(memberName);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
434
|
-
newValue = newValue === true ? "" : newValue;
|
|
435
|
-
if (xlink) {
|
|
436
|
-
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
437
|
-
} else {
|
|
438
|
-
elm.setAttribute(memberName, newValue);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
};
|
|
444
|
-
var parseClassListRegex = /\s/;
|
|
445
|
-
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
446
|
-
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
447
|
-
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
448
|
-
|
|
449
|
-
// src/runtime/vdom/update-element.ts
|
|
450
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
451
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
452
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
453
|
-
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
454
|
-
{
|
|
455
|
-
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
456
|
-
if (!(memberName in newVnodeAttrs)) {
|
|
457
|
-
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
462
|
-
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
463
|
-
}
|
|
464
|
-
};
|
|
465
|
-
function sortedAttrNames(attrNames) {
|
|
466
|
-
return attrNames.includes("ref") ? (
|
|
467
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
|
468
|
-
[...attrNames.filter((attr) => attr !== "ref"), "ref"]
|
|
469
|
-
) : (
|
|
470
|
-
// no need to sort, return the original array
|
|
471
|
-
attrNames
|
|
472
|
-
);
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
// src/runtime/vdom/vdom-render.ts
|
|
476
|
-
var scopeId;
|
|
477
|
-
var contentRef;
|
|
478
|
-
var hostTagName;
|
|
479
|
-
var useNativeShadowDom = false;
|
|
480
|
-
var checkSlotFallbackVisibility = false;
|
|
481
|
-
var checkSlotRelocate = false;
|
|
482
|
-
var isSvgMode = false;
|
|
483
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
484
|
-
var _a;
|
|
485
|
-
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
486
|
-
let i2 = 0;
|
|
487
|
-
let elm;
|
|
488
|
-
let childNode;
|
|
489
|
-
let oldVNode;
|
|
490
|
-
if (!useNativeShadowDom) {
|
|
491
|
-
checkSlotRelocate = true;
|
|
492
|
-
if (newVNode2.$tag$ === "slot") {
|
|
493
|
-
if (scopeId) {
|
|
494
|
-
parentElm.classList.add(scopeId + "-s");
|
|
495
|
-
}
|
|
496
|
-
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
|
497
|
-
// slot element has fallback content
|
|
498
|
-
// still create an element that "mocks" the slot element
|
|
499
|
-
2 /* isSlotFallback */
|
|
500
|
-
) : (
|
|
501
|
-
// slot element does not have fallback content
|
|
502
|
-
// create an html comment we'll use to always reference
|
|
503
|
-
// where actual slot content should sit next to
|
|
504
|
-
1 /* isSlotReference */
|
|
505
|
-
);
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
if (newVNode2.$text$ !== null) {
|
|
509
|
-
elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
|
|
510
|
-
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
511
|
-
elm = newVNode2.$elm$ = doc.createTextNode("");
|
|
512
|
-
} else {
|
|
513
|
-
if (!isSvgMode) {
|
|
514
|
-
isSvgMode = newVNode2.$tag$ === "svg";
|
|
515
|
-
}
|
|
516
|
-
elm = newVNode2.$elm$ = doc.createElementNS(
|
|
517
|
-
isSvgMode ? SVG_NS : HTML_NS,
|
|
518
|
-
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
519
|
-
) ;
|
|
520
|
-
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
521
|
-
isSvgMode = false;
|
|
522
|
-
}
|
|
523
|
-
{
|
|
524
|
-
updateElement(null, newVNode2, isSvgMode);
|
|
525
|
-
}
|
|
526
|
-
const rootNode = elm.getRootNode();
|
|
527
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
528
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
529
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
530
|
-
}
|
|
531
|
-
{
|
|
532
|
-
updateElementScopeIds(elm, parentElm);
|
|
533
|
-
}
|
|
534
|
-
if (newVNode2.$children$) {
|
|
535
|
-
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
536
|
-
childNode = createElm(oldParentVNode, newVNode2, i2, elm);
|
|
537
|
-
if (childNode) {
|
|
538
|
-
elm.appendChild(childNode);
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
{
|
|
543
|
-
if (newVNode2.$tag$ === "svg") {
|
|
544
|
-
isSvgMode = false;
|
|
545
|
-
} else if (elm.tagName === "foreignObject") {
|
|
546
|
-
isSvgMode = true;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
elm["s-hn"] = hostTagName;
|
|
551
|
-
{
|
|
552
|
-
if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
553
|
-
elm["s-sr"] = true;
|
|
554
|
-
elm["s-cr"] = contentRef;
|
|
555
|
-
elm["s-sn"] = newVNode2.$name$ || "";
|
|
556
|
-
elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
|
|
557
|
-
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
558
|
-
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
559
|
-
{
|
|
560
|
-
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
return elm;
|
|
566
|
-
};
|
|
567
|
-
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
568
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
569
|
-
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
570
|
-
if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
|
|
571
|
-
let node = parentElm;
|
|
572
|
-
while (node = node.nextSibling) {
|
|
573
|
-
if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
|
|
574
|
-
oldSlotChildNodes.push(node);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
579
|
-
const childNode = oldSlotChildNodes[i2];
|
|
580
|
-
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
581
|
-
insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));
|
|
582
|
-
childNode["s-ol"].remove();
|
|
583
|
-
childNode["s-ol"] = void 0;
|
|
584
|
-
childNode["s-sh"] = void 0;
|
|
585
|
-
checkSlotRelocate = true;
|
|
586
|
-
}
|
|
587
|
-
if (recursive) {
|
|
588
|
-
putBackInOriginalLocation(childNode, recursive);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
592
|
-
};
|
|
593
|
-
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
594
|
-
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
595
|
-
let childNode;
|
|
596
|
-
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
597
|
-
containerElm = containerElm.shadowRoot;
|
|
598
|
-
}
|
|
599
|
-
for (; startIdx <= endIdx; ++startIdx) {
|
|
600
|
-
if (vnodes[startIdx]) {
|
|
601
|
-
childNode = createElm(null, parentVNode, startIdx, parentElm);
|
|
602
|
-
if (childNode) {
|
|
603
|
-
vnodes[startIdx].$elm$ = childNode;
|
|
604
|
-
insertBefore(containerElm, childNode, referenceNode(before) );
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
};
|
|
609
|
-
var removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
610
|
-
for (let index = startIdx; index <= endIdx; ++index) {
|
|
611
|
-
const vnode = vnodes[index];
|
|
612
|
-
if (vnode) {
|
|
613
|
-
const elm = vnode.$elm$;
|
|
614
|
-
nullifyVNodeRefs(vnode);
|
|
615
|
-
if (elm) {
|
|
616
|
-
{
|
|
617
|
-
checkSlotFallbackVisibility = true;
|
|
618
|
-
if (elm["s-ol"]) {
|
|
619
|
-
elm["s-ol"].remove();
|
|
620
|
-
} else {
|
|
621
|
-
putBackInOriginalLocation(elm, true);
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
elm.remove();
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
};
|
|
629
|
-
var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
|
|
630
|
-
let oldStartIdx = 0;
|
|
631
|
-
let newStartIdx = 0;
|
|
632
|
-
let idxInOld = 0;
|
|
633
|
-
let i2 = 0;
|
|
634
|
-
let oldEndIdx = oldCh.length - 1;
|
|
635
|
-
let oldStartVnode = oldCh[0];
|
|
636
|
-
let oldEndVnode = oldCh[oldEndIdx];
|
|
637
|
-
let newEndIdx = newCh.length - 1;
|
|
638
|
-
let newStartVnode = newCh[0];
|
|
639
|
-
let newEndVnode = newCh[newEndIdx];
|
|
640
|
-
let node;
|
|
641
|
-
let elmToMove;
|
|
642
|
-
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
643
|
-
if (oldStartVnode == null) {
|
|
644
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
|
645
|
-
} else if (oldEndVnode == null) {
|
|
646
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
|
647
|
-
} else if (newStartVnode == null) {
|
|
648
|
-
newStartVnode = newCh[++newStartIdx];
|
|
649
|
-
} else if (newEndVnode == null) {
|
|
650
|
-
newEndVnode = newCh[--newEndIdx];
|
|
651
|
-
} else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
652
|
-
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
653
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
|
654
|
-
newStartVnode = newCh[++newStartIdx];
|
|
655
|
-
} else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
656
|
-
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
657
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
|
658
|
-
newEndVnode = newCh[--newEndIdx];
|
|
659
|
-
} else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
660
|
-
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
661
|
-
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
662
|
-
}
|
|
663
|
-
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
664
|
-
insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
665
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
|
666
|
-
newEndVnode = newCh[--newEndIdx];
|
|
667
|
-
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
668
|
-
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
669
|
-
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
670
|
-
}
|
|
671
|
-
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
672
|
-
insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
673
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
|
674
|
-
newStartVnode = newCh[++newStartIdx];
|
|
675
|
-
} else {
|
|
676
|
-
idxInOld = -1;
|
|
677
|
-
{
|
|
678
|
-
for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
|
|
679
|
-
if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
|
|
680
|
-
idxInOld = i2;
|
|
681
|
-
break;
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
if (idxInOld >= 0) {
|
|
686
|
-
elmToMove = oldCh[idxInOld];
|
|
687
|
-
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
688
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
|
|
689
|
-
} else {
|
|
690
|
-
patch(elmToMove, newStartVnode, isInitialRender);
|
|
691
|
-
oldCh[idxInOld] = void 0;
|
|
692
|
-
node = elmToMove.$elm$;
|
|
693
|
-
}
|
|
694
|
-
newStartVnode = newCh[++newStartIdx];
|
|
695
|
-
} else {
|
|
696
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
|
|
697
|
-
newStartVnode = newCh[++newStartIdx];
|
|
698
|
-
}
|
|
699
|
-
if (node) {
|
|
700
|
-
{
|
|
701
|
-
insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
if (oldStartIdx > oldEndIdx) {
|
|
707
|
-
addVnodes(
|
|
708
|
-
parentElm,
|
|
709
|
-
newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
|
|
710
|
-
newVNode2,
|
|
711
|
-
newCh,
|
|
712
|
-
newStartIdx,
|
|
713
|
-
newEndIdx
|
|
714
|
-
);
|
|
715
|
-
} else if (newStartIdx > newEndIdx) {
|
|
716
|
-
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
717
|
-
}
|
|
718
|
-
};
|
|
719
|
-
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
720
|
-
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
721
|
-
if (leftVNode.$tag$ === "slot") {
|
|
722
|
-
if (
|
|
723
|
-
// The component gets hydrated and no VDOM has been initialized.
|
|
724
|
-
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
725
|
-
"$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
|
|
726
|
-
// hydration comments to be removed
|
|
727
|
-
leftVNode.$elm$.nodeType !== 8
|
|
728
|
-
) {
|
|
729
|
-
return false;
|
|
730
|
-
}
|
|
731
|
-
return leftVNode.$name$ === rightVNode.$name$;
|
|
732
|
-
}
|
|
733
|
-
if (!isInitialRender) {
|
|
734
|
-
return leftVNode.$key$ === rightVNode.$key$;
|
|
735
|
-
}
|
|
736
|
-
return true;
|
|
737
|
-
}
|
|
738
|
-
return false;
|
|
739
|
-
};
|
|
740
|
-
var referenceNode = (node) => {
|
|
741
|
-
return node && node["s-ol"] || node;
|
|
742
|
-
};
|
|
743
|
-
var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
|
|
744
|
-
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
745
|
-
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
746
|
-
const oldChildren = oldVNode.$children$;
|
|
747
|
-
const newChildren = newVNode2.$children$;
|
|
748
|
-
const tag = newVNode2.$tag$;
|
|
749
|
-
const text = newVNode2.$text$;
|
|
750
|
-
let defaultHolder;
|
|
751
|
-
if (text === null) {
|
|
752
|
-
{
|
|
753
|
-
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
754
|
-
}
|
|
755
|
-
{
|
|
756
|
-
if (tag === "slot" && !useNativeShadowDom) ; else {
|
|
757
|
-
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
if (oldChildren !== null && newChildren !== null) {
|
|
761
|
-
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
762
|
-
} else if (newChildren !== null) {
|
|
763
|
-
if (oldVNode.$text$ !== null) {
|
|
764
|
-
elm.textContent = "";
|
|
765
|
-
}
|
|
766
|
-
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
767
|
-
} else if (
|
|
768
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
769
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
770
|
-
) {
|
|
771
|
-
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
772
|
-
}
|
|
773
|
-
if (isSvgMode && tag === "svg") {
|
|
774
|
-
isSvgMode = false;
|
|
775
|
-
}
|
|
776
|
-
} else if ((defaultHolder = elm["s-cr"])) {
|
|
777
|
-
defaultHolder.parentNode.textContent = text;
|
|
778
|
-
} else if (oldVNode.$text$ !== text) {
|
|
779
|
-
elm.data = text;
|
|
780
|
-
}
|
|
781
|
-
};
|
|
782
|
-
var updateFallbackSlotVisibility = (elm) => {
|
|
783
|
-
const childNodes = elm.__childNodes || elm.childNodes;
|
|
784
|
-
for (const childNode of childNodes) {
|
|
785
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
786
|
-
if (childNode["s-sr"]) {
|
|
787
|
-
const slotName = childNode["s-sn"];
|
|
788
|
-
childNode.hidden = false;
|
|
789
|
-
for (const siblingNode of childNodes) {
|
|
790
|
-
if (siblingNode !== childNode) {
|
|
791
|
-
if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
|
|
792
|
-
if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
|
|
793
|
-
childNode.hidden = true;
|
|
794
|
-
break;
|
|
795
|
-
}
|
|
796
|
-
} else if (slotName === siblingNode["s-sn"]) {
|
|
797
|
-
if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
|
|
798
|
-
childNode.hidden = true;
|
|
799
|
-
break;
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
updateFallbackSlotVisibility(childNode);
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
};
|
|
809
|
-
var relocateNodes = [];
|
|
810
|
-
var markSlotContentForRelocation = (elm) => {
|
|
811
|
-
let node;
|
|
812
|
-
let hostContentNodes;
|
|
813
|
-
let j;
|
|
814
|
-
const children = elm.__childNodes || elm.childNodes;
|
|
815
|
-
for (const childNode of children) {
|
|
816
|
-
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
|
817
|
-
hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
|
|
818
|
-
const slotName = childNode["s-sn"];
|
|
819
|
-
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
820
|
-
node = hostContentNodes[j];
|
|
821
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes )) {
|
|
822
|
-
if (isNodeLocatedInSlot(node, slotName)) {
|
|
823
|
-
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
824
|
-
checkSlotFallbackVisibility = true;
|
|
825
|
-
node["s-sn"] = node["s-sn"] || slotName;
|
|
826
|
-
if (relocateNodeData) {
|
|
827
|
-
relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
|
|
828
|
-
relocateNodeData.$slotRefNode$ = childNode;
|
|
829
|
-
} else {
|
|
830
|
-
node["s-sh"] = childNode["s-hn"];
|
|
831
|
-
relocateNodes.push({
|
|
832
|
-
$slotRefNode$: childNode,
|
|
833
|
-
$nodeToRelocate$: node
|
|
834
|
-
});
|
|
835
|
-
}
|
|
836
|
-
if (node["s-sr"]) {
|
|
837
|
-
relocateNodes.map((relocateNode) => {
|
|
838
|
-
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
|
|
839
|
-
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
840
|
-
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
841
|
-
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
});
|
|
845
|
-
}
|
|
846
|
-
} else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
847
|
-
relocateNodes.push({
|
|
848
|
-
$nodeToRelocate$: node
|
|
849
|
-
});
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
855
|
-
markSlotContentForRelocation(childNode);
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
};
|
|
859
|
-
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
860
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
861
|
-
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
862
|
-
return true;
|
|
863
|
-
}
|
|
864
|
-
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
865
|
-
return true;
|
|
866
|
-
}
|
|
867
|
-
return false;
|
|
868
|
-
}
|
|
869
|
-
if (nodeToRelocate["s-sn"] === slotName) {
|
|
870
|
-
return true;
|
|
871
|
-
}
|
|
872
|
-
return slotName === "";
|
|
873
|
-
};
|
|
874
|
-
var nullifyVNodeRefs = (vNode) => {
|
|
875
|
-
{
|
|
876
|
-
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
877
|
-
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
878
|
-
}
|
|
879
|
-
};
|
|
880
|
-
var insertBefore = (parent, newNode, reference) => {
|
|
881
|
-
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
882
|
-
{
|
|
883
|
-
updateElementScopeIds(newNode, parent);
|
|
884
|
-
}
|
|
885
|
-
return inserted;
|
|
886
|
-
};
|
|
887
|
-
var findScopeIds = (element) => {
|
|
888
|
-
const scopeIds = [];
|
|
889
|
-
if (element) {
|
|
890
|
-
scopeIds.push(
|
|
891
|
-
...element["s-scs"] || [],
|
|
892
|
-
element["s-si"],
|
|
893
|
-
element["s-sc"],
|
|
894
|
-
...findScopeIds(element.parentElement)
|
|
895
|
-
);
|
|
896
|
-
}
|
|
897
|
-
return scopeIds;
|
|
898
|
-
};
|
|
899
|
-
var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
|
|
900
|
-
var _a;
|
|
901
|
-
if (element && parent && element.nodeType === 1 /* ElementNode */) {
|
|
902
|
-
const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
|
|
903
|
-
if (scopeIds.size) {
|
|
904
|
-
(_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = Array.from(scopeIds));
|
|
905
|
-
if (element["s-ol"] || iterateChildNodes) {
|
|
906
|
-
for (const childNode of Array.from(element.__childNodes || element.childNodes)) {
|
|
907
|
-
updateElementScopeIds(childNode, element, true);
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
};
|
|
913
|
-
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
914
|
-
var _a, _b, _c, _d;
|
|
915
|
-
const hostElm = hostRef.$hostElement$;
|
|
916
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
917
|
-
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
918
|
-
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
919
|
-
hostTagName = hostElm.tagName;
|
|
920
|
-
if (cmpMeta.$attrsToReflect$) {
|
|
921
|
-
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
922
|
-
cmpMeta.$attrsToReflect$.map(
|
|
923
|
-
([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
|
|
924
|
-
);
|
|
925
|
-
}
|
|
926
|
-
if (isInitialLoad && rootVnode.$attrs$) {
|
|
927
|
-
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
928
|
-
if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
|
|
929
|
-
rootVnode.$attrs$[key] = hostElm[key];
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
rootVnode.$tag$ = null;
|
|
934
|
-
rootVnode.$flags$ |= 4 /* isHost */;
|
|
935
|
-
hostRef.$vnode$ = rootVnode;
|
|
936
|
-
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
937
|
-
{
|
|
938
|
-
scopeId = hostElm["s-sc"];
|
|
939
|
-
}
|
|
940
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
941
|
-
{
|
|
942
|
-
contentRef = hostElm["s-cr"];
|
|
943
|
-
checkSlotFallbackVisibility = false;
|
|
944
|
-
}
|
|
945
|
-
patch(oldVNode, rootVnode, isInitialLoad);
|
|
946
|
-
{
|
|
947
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
948
|
-
if (checkSlotRelocate) {
|
|
949
|
-
markSlotContentForRelocation(rootVnode.$elm$);
|
|
950
|
-
for (const relocateData of relocateNodes) {
|
|
951
|
-
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
952
|
-
if (!nodeToRelocate["s-ol"]) {
|
|
953
|
-
const orgLocationNode = doc.createTextNode("");
|
|
954
|
-
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
955
|
-
insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
for (const relocateData of relocateNodes) {
|
|
959
|
-
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
960
|
-
const slotRefNode = relocateData.$slotRefNode$;
|
|
961
|
-
if (slotRefNode) {
|
|
962
|
-
const parentNodeRef = slotRefNode.parentNode;
|
|
963
|
-
let insertBeforeNode = slotRefNode.nextSibling;
|
|
964
|
-
{
|
|
965
|
-
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
|
966
|
-
while (orgLocationNode) {
|
|
967
|
-
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
|
968
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
|
|
969
|
-
refNode = refNode.nextSibling;
|
|
970
|
-
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
971
|
-
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
972
|
-
}
|
|
973
|
-
if (!refNode || !refNode["s-nr"]) {
|
|
974
|
-
insertBeforeNode = refNode;
|
|
975
|
-
break;
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
orgLocationNode = orgLocationNode.previousSibling;
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
982
|
-
if (nodeToRelocate !== insertBeforeNode) {
|
|
983
|
-
if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
|
|
984
|
-
nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
|
|
985
|
-
}
|
|
986
|
-
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
987
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
988
|
-
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](nodeToRelocate);
|
|
993
|
-
} else {
|
|
994
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
995
|
-
if (isInitialLoad) {
|
|
996
|
-
nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
|
|
997
|
-
}
|
|
998
|
-
nodeToRelocate.hidden = true;
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
if (checkSlotFallbackVisibility) {
|
|
1004
|
-
updateFallbackSlotVisibility(rootVnode.$elm$);
|
|
1005
|
-
}
|
|
1006
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
1007
|
-
relocateNodes.length = 0;
|
|
1008
|
-
}
|
|
1009
|
-
contentRef = void 0;
|
|
1010
|
-
};
|
|
1011
|
-
var createTime = (fnName, tagName = "") => {
|
|
1012
|
-
{
|
|
1013
|
-
return () => {
|
|
1014
|
-
return;
|
|
1015
|
-
};
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
var uniqueTime = (key, measureText) => {
|
|
1019
|
-
{
|
|
1020
|
-
return () => {
|
|
1021
|
-
return;
|
|
1022
|
-
};
|
|
1023
|
-
}
|
|
1024
|
-
};
|
|
1025
|
-
var parsePropertyValue = (propValue, propType) => {
|
|
1026
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1027
|
-
if (propType & 4 /* Boolean */) {
|
|
1028
|
-
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
1029
|
-
}
|
|
1030
|
-
if (propType & 2 /* Number */) {
|
|
1031
|
-
return parseFloat(propValue);
|
|
1032
|
-
}
|
|
1033
|
-
if (propType & 1 /* String */) {
|
|
1034
|
-
return String(propValue);
|
|
1035
|
-
}
|
|
1036
|
-
return propValue;
|
|
1037
|
-
}
|
|
1038
|
-
return propValue;
|
|
1039
|
-
};
|
|
1040
|
-
var getElement = (ref) => getHostRef(ref).$hostElement$ ;
|
|
1041
|
-
|
|
1042
|
-
// src/runtime/event-emitter.ts
|
|
1043
|
-
var createEvent = (ref, name, flags) => {
|
|
1044
|
-
const elm = getElement(ref);
|
|
1045
|
-
return {
|
|
1046
|
-
emit: (detail) => {
|
|
1047
|
-
return emitEvent(elm, name, {
|
|
1048
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
1049
|
-
composed: !!(flags & 2 /* Composed */),
|
|
1050
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
1051
|
-
detail
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
};
|
|
1055
|
-
};
|
|
1056
|
-
var emitEvent = (elm, name, opts) => {
|
|
1057
|
-
const ev = plt.ce(name, opts);
|
|
1058
|
-
elm.dispatchEvent(ev);
|
|
1059
|
-
return ev;
|
|
1060
|
-
};
|
|
1061
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1062
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1063
|
-
let style = styles.get(scopeId2);
|
|
1064
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
1065
|
-
style = style || new CSSStyleSheet();
|
|
1066
|
-
if (typeof style === "string") {
|
|
1067
|
-
style = cssText;
|
|
1068
|
-
} else {
|
|
1069
|
-
style.replaceSync(cssText);
|
|
1070
|
-
}
|
|
1071
|
-
} else {
|
|
1072
|
-
style = cssText;
|
|
1073
|
-
}
|
|
1074
|
-
styles.set(scopeId2, style);
|
|
1075
|
-
};
|
|
1076
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1077
|
-
var _a;
|
|
1078
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
1079
|
-
const style = styles.get(scopeId2);
|
|
1080
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
1081
|
-
if (style) {
|
|
1082
|
-
if (typeof style === "string") {
|
|
1083
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
1084
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1085
|
-
let styleElm;
|
|
1086
|
-
if (!appliedStyles) {
|
|
1087
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1088
|
-
}
|
|
1089
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
1090
|
-
{
|
|
1091
|
-
styleElm = doc.createElement("style");
|
|
1092
|
-
styleElm.innerHTML = style;
|
|
1093
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
1094
|
-
if (nonce != null) {
|
|
1095
|
-
styleElm.setAttribute("nonce", nonce);
|
|
1096
|
-
}
|
|
1097
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1098
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
1099
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
1100
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
1101
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
1102
|
-
} else if ("host" in styleContainerNode) {
|
|
1103
|
-
if (supportsConstructableStylesheets) {
|
|
1104
|
-
const stylesheet = new CSSStyleSheet();
|
|
1105
|
-
stylesheet.replaceSync(style);
|
|
1106
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1107
|
-
} else {
|
|
1108
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
1109
|
-
if (existingStyleContainer) {
|
|
1110
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
1111
|
-
} else {
|
|
1112
|
-
styleContainerNode.prepend(styleElm);
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
} else {
|
|
1116
|
-
styleContainerNode.append(styleElm);
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
1120
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1124
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
1125
|
-
}
|
|
1126
|
-
if (appliedStyles) {
|
|
1127
|
-
appliedStyles.add(scopeId2);
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
1131
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
return scopeId2;
|
|
1135
|
-
};
|
|
1136
|
-
var attachStyles = (hostRef) => {
|
|
1137
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
1138
|
-
const elm = hostRef.$hostElement$;
|
|
1139
|
-
const flags = cmpMeta.$flags$;
|
|
1140
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1141
|
-
const scopeId2 = addStyle(
|
|
1142
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1143
|
-
cmpMeta);
|
|
1144
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
1145
|
-
elm["s-sc"] = scopeId2;
|
|
1146
|
-
elm.classList.add(scopeId2 + "-h");
|
|
1147
|
-
if (flags & 2 /* scopedCssEncapsulation */) {
|
|
1148
|
-
elm.classList.add(scopeId2 + "-s");
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
endAttachStyles();
|
|
1152
|
-
};
|
|
1153
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
1154
|
-
|
|
1155
|
-
// src/runtime/update-component.ts
|
|
1156
|
-
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1157
|
-
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
1158
|
-
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
1159
|
-
}
|
|
1160
|
-
};
|
|
1161
|
-
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
1162
|
-
{
|
|
1163
|
-
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
1164
|
-
}
|
|
1165
|
-
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
1166
|
-
hostRef.$flags$ |= 512 /* needsRerender */;
|
|
1167
|
-
return;
|
|
1168
|
-
}
|
|
1169
|
-
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
1170
|
-
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
1171
|
-
return writeTask(dispatch) ;
|
|
1172
|
-
};
|
|
1173
|
-
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
1174
|
-
const elm = hostRef.$hostElement$;
|
|
1175
|
-
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
|
1176
|
-
const instance = hostRef.$lazyInstance$ ;
|
|
1177
|
-
if (!instance) {
|
|
1178
|
-
throw new Error(
|
|
1179
|
-
`Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
1180
|
-
);
|
|
1181
|
-
}
|
|
1182
|
-
let maybePromise;
|
|
1183
|
-
if (isInitialLoad) {
|
|
1184
|
-
{
|
|
1185
|
-
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
1186
|
-
if (hostRef.$queuedListeners$) {
|
|
1187
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
1188
|
-
hostRef.$queuedListeners$ = void 0;
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
1191
|
-
{
|
|
1192
|
-
maybePromise = safeCall(instance, "componentWillLoad");
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
{
|
|
1196
|
-
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
|
|
1197
|
-
}
|
|
1198
|
-
endSchedule();
|
|
1199
|
-
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1200
|
-
};
|
|
1201
|
-
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
|
|
1202
|
-
console.error(err2);
|
|
1203
|
-
fn();
|
|
1204
|
-
}) : fn();
|
|
1205
|
-
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
1206
|
-
var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
1207
|
-
var _a;
|
|
1208
|
-
const elm = hostRef.$hostElement$;
|
|
1209
|
-
const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
|
|
1210
|
-
const rc = elm["s-rc"];
|
|
1211
|
-
if (isInitialLoad) {
|
|
1212
|
-
attachStyles(hostRef);
|
|
1213
|
-
}
|
|
1214
|
-
const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
|
|
1215
|
-
{
|
|
1216
|
-
callRender(hostRef, instance, elm, isInitialLoad);
|
|
1217
|
-
}
|
|
1218
|
-
if (rc) {
|
|
1219
|
-
rc.map((cb) => cb());
|
|
1220
|
-
elm["s-rc"] = void 0;
|
|
1221
|
-
}
|
|
1222
|
-
endRender();
|
|
1223
|
-
endUpdate();
|
|
1224
|
-
{
|
|
1225
|
-
const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
|
|
1226
|
-
const postUpdate = () => postUpdateComponent(hostRef);
|
|
1227
|
-
if (childrenPromises.length === 0) {
|
|
1228
|
-
postUpdate();
|
|
1229
|
-
} else {
|
|
1230
|
-
Promise.all(childrenPromises).then(postUpdate);
|
|
1231
|
-
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
1232
|
-
childrenPromises.length = 0;
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
};
|
|
1236
|
-
var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
1237
|
-
try {
|
|
1238
|
-
instance = instance.render() ;
|
|
1239
|
-
{
|
|
1240
|
-
hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
|
|
1241
|
-
}
|
|
1242
|
-
{
|
|
1243
|
-
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
1244
|
-
}
|
|
1245
|
-
{
|
|
1246
|
-
{
|
|
1247
|
-
{
|
|
1248
|
-
renderVdom(hostRef, instance, isInitialLoad);
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
} catch (e) {
|
|
1253
|
-
consoleError(e, hostRef.$hostElement$);
|
|
1254
|
-
}
|
|
1255
|
-
return null;
|
|
1256
|
-
};
|
|
1257
|
-
var postUpdateComponent = (hostRef) => {
|
|
1258
|
-
const tagName = hostRef.$cmpMeta$.$tagName$;
|
|
1259
|
-
const elm = hostRef.$hostElement$;
|
|
1260
|
-
const endPostUpdate = createTime("postUpdate", tagName);
|
|
1261
|
-
const instance = hostRef.$lazyInstance$ ;
|
|
1262
|
-
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1263
|
-
{
|
|
1264
|
-
safeCall(instance, "componentDidRender");
|
|
1265
|
-
}
|
|
1266
|
-
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1267
|
-
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1268
|
-
{
|
|
1269
|
-
addHydratedFlag(elm);
|
|
1270
|
-
}
|
|
1271
|
-
{
|
|
1272
|
-
safeCall(instance, "componentDidLoad");
|
|
1273
|
-
}
|
|
1274
|
-
endPostUpdate();
|
|
1275
|
-
{
|
|
1276
|
-
hostRef.$onReadyResolve$(elm);
|
|
1277
|
-
if (!ancestorComponent) {
|
|
1278
|
-
appDidLoad();
|
|
1279
|
-
}
|
|
1280
|
-
}
|
|
1281
|
-
} else {
|
|
1282
|
-
{
|
|
1283
|
-
safeCall(instance, "componentDidUpdate");
|
|
1284
|
-
}
|
|
1285
|
-
endPostUpdate();
|
|
1286
|
-
}
|
|
1287
|
-
{
|
|
1288
|
-
hostRef.$onInstanceResolve$(elm);
|
|
1289
|
-
}
|
|
1290
|
-
{
|
|
1291
|
-
if (hostRef.$onRenderResolve$) {
|
|
1292
|
-
hostRef.$onRenderResolve$();
|
|
1293
|
-
hostRef.$onRenderResolve$ = void 0;
|
|
1294
|
-
}
|
|
1295
|
-
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
1296
|
-
nextTick(() => scheduleUpdate(hostRef, false));
|
|
1297
|
-
}
|
|
1298
|
-
hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
|
|
1299
|
-
}
|
|
1300
|
-
};
|
|
1301
|
-
var appDidLoad = (who) => {
|
|
1302
|
-
{
|
|
1303
|
-
addHydratedFlag(doc.documentElement);
|
|
1304
|
-
}
|
|
1305
|
-
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1306
|
-
};
|
|
1307
|
-
var safeCall = (instance, method, arg) => {
|
|
1308
|
-
if (instance && instance[method]) {
|
|
1309
|
-
try {
|
|
1310
|
-
return instance[method](arg);
|
|
1311
|
-
} catch (e) {
|
|
1312
|
-
consoleError(e);
|
|
1313
|
-
}
|
|
1314
|
-
}
|
|
1315
|
-
return void 0;
|
|
1316
|
-
};
|
|
1317
|
-
var addHydratedFlag = (elm) => {
|
|
1318
|
-
var _a;
|
|
1319
|
-
return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
|
|
1320
|
-
};
|
|
1321
|
-
|
|
1322
|
-
// src/runtime/set-value.ts
|
|
1323
|
-
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1324
|
-
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1325
|
-
const hostRef = getHostRef(ref);
|
|
1326
|
-
if (!hostRef) {
|
|
1327
|
-
throw new Error(
|
|
1328
|
-
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
1329
|
-
);
|
|
1330
|
-
}
|
|
1331
|
-
const elm = hostRef.$hostElement$ ;
|
|
1332
|
-
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
1333
|
-
const flags = hostRef.$flags$;
|
|
1334
|
-
const instance = hostRef.$lazyInstance$ ;
|
|
1335
|
-
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
|
1336
|
-
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1337
|
-
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1338
|
-
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
1339
|
-
hostRef.$instanceValues$.set(propName, newVal);
|
|
1340
|
-
if (instance) {
|
|
1341
|
-
if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
|
1342
|
-
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1343
|
-
if (watchMethods) {
|
|
1344
|
-
watchMethods.map((watchMethodName) => {
|
|
1345
|
-
try {
|
|
1346
|
-
instance[watchMethodName](newVal, oldVal, propName);
|
|
1347
|
-
} catch (e) {
|
|
1348
|
-
consoleError(e, elm);
|
|
1349
|
-
}
|
|
1350
|
-
});
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1354
|
-
scheduleUpdate(hostRef, false);
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
};
|
|
1359
|
-
|
|
1360
|
-
// src/runtime/proxy-component.ts
|
|
1361
|
-
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1362
|
-
var _a, _b;
|
|
1363
|
-
const prototype = Cstr.prototype;
|
|
1364
|
-
if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
|
|
1365
|
-
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
1366
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1367
|
-
}
|
|
1368
|
-
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1369
|
-
members.map(([memberName, [memberFlags]]) => {
|
|
1370
|
-
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1371
|
-
if ((memberFlags & 2048 /* Getter */) === 0) {
|
|
1372
|
-
Object.defineProperty(prototype, memberName, {
|
|
1373
|
-
get() {
|
|
1374
|
-
return getValue(this, memberName);
|
|
1375
|
-
},
|
|
1376
|
-
set(newValue) {
|
|
1377
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
1378
|
-
},
|
|
1379
|
-
configurable: true,
|
|
1380
|
-
enumerable: true
|
|
1381
|
-
});
|
|
1382
|
-
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 2048 /* Getter */) {
|
|
1383
|
-
{
|
|
1384
|
-
Object.defineProperty(prototype, memberName, {
|
|
1385
|
-
get() {
|
|
1386
|
-
const ref = getHostRef(this);
|
|
1387
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
1388
|
-
if (!instance) return;
|
|
1389
|
-
return instance[memberName];
|
|
1390
|
-
},
|
|
1391
|
-
configurable: true,
|
|
1392
|
-
enumerable: true
|
|
1393
|
-
});
|
|
1394
|
-
}
|
|
1395
|
-
if (memberFlags & 4096 /* Setter */) {
|
|
1396
|
-
const origSetter = Object.getOwnPropertyDescriptor(prototype, memberName).set;
|
|
1397
|
-
Object.defineProperty(prototype, memberName, {
|
|
1398
|
-
set(newValue) {
|
|
1399
|
-
const ref = getHostRef(this);
|
|
1400
|
-
if (origSetter) {
|
|
1401
|
-
const currentValue = ref.$hostElement$[memberName];
|
|
1402
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1403
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1404
|
-
}
|
|
1405
|
-
origSetter.apply(this, [parsePropertyValue(newValue, cmpMeta.$members$[memberName][0])]);
|
|
1406
|
-
setValue(this, memberName, ref.$hostElement$[memberName], cmpMeta);
|
|
1407
|
-
return;
|
|
1408
|
-
}
|
|
1409
|
-
if (!ref) return;
|
|
1410
|
-
const setterSetVal = () => {
|
|
1411
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
1412
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1413
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1414
|
-
}
|
|
1415
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, cmpMeta.$members$[memberName][0]);
|
|
1416
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1417
|
-
};
|
|
1418
|
-
if (ref.$lazyInstance$) {
|
|
1419
|
-
setterSetVal();
|
|
1420
|
-
} else {
|
|
1421
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
});
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
|
|
1428
|
-
Object.defineProperty(prototype, memberName, {
|
|
1429
|
-
value(...args) {
|
|
1430
|
-
var _a2;
|
|
1431
|
-
const ref = getHostRef(this);
|
|
1432
|
-
return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
|
|
1433
|
-
var _a3;
|
|
1434
|
-
return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
|
|
1435
|
-
});
|
|
1436
|
-
}
|
|
1437
|
-
});
|
|
1438
|
-
}
|
|
1439
|
-
});
|
|
1440
|
-
if ((flags & 1 /* isElementConstructor */)) {
|
|
1441
|
-
const attrNameToPropName = /* @__PURE__ */ new Map();
|
|
1442
|
-
prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
|
|
1443
|
-
plt.jmp(() => {
|
|
1444
|
-
var _a2;
|
|
1445
|
-
const propName = attrNameToPropName.get(attrName);
|
|
1446
|
-
if (this.hasOwnProperty(propName)) {
|
|
1447
|
-
newValue = this[propName];
|
|
1448
|
-
delete this[propName];
|
|
1449
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
1450
|
-
this[propName] == newValue) {
|
|
1451
|
-
return;
|
|
1452
|
-
} else if (propName == null) {
|
|
1453
|
-
const hostRef = getHostRef(this);
|
|
1454
|
-
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
1455
|
-
if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
|
1456
|
-
const instance = hostRef.$lazyInstance$ ;
|
|
1457
|
-
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
1458
|
-
entry == null ? void 0 : entry.forEach((callbackName) => {
|
|
1459
|
-
if (instance[callbackName] != null) {
|
|
1460
|
-
instance[callbackName].call(instance, newValue, oldValue, attrName);
|
|
1461
|
-
}
|
|
1462
|
-
});
|
|
1463
|
-
}
|
|
1464
|
-
return;
|
|
1465
|
-
}
|
|
1466
|
-
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1467
|
-
if (!propDesc.get || !!propDesc.set) {
|
|
1468
|
-
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1469
|
-
}
|
|
1470
|
-
});
|
|
1471
|
-
};
|
|
1472
|
-
Cstr.observedAttributes = Array.from(
|
|
1473
|
-
/* @__PURE__ */ new Set([
|
|
1474
|
-
...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
|
|
1475
|
-
...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
|
|
1476
|
-
var _a2;
|
|
1477
|
-
const attrName = m[1] || propName;
|
|
1478
|
-
attrNameToPropName.set(attrName, propName);
|
|
1479
|
-
if (m[0] & 512 /* ReflectAttr */) {
|
|
1480
|
-
(_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
|
|
1481
|
-
}
|
|
1482
|
-
return attrName;
|
|
1483
|
-
})
|
|
1484
|
-
])
|
|
1485
|
-
);
|
|
1486
|
-
}
|
|
1487
|
-
}
|
|
1488
|
-
return Cstr;
|
|
1489
|
-
};
|
|
1490
|
-
|
|
1491
|
-
// src/runtime/initialize-component.ts
|
|
1492
|
-
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1493
|
-
let Cstr;
|
|
1494
|
-
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1495
|
-
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1496
|
-
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1497
|
-
if (bundleId) {
|
|
1498
|
-
const CstrImport = loadModule(cmpMeta);
|
|
1499
|
-
if (CstrImport && "then" in CstrImport) {
|
|
1500
|
-
const endLoad = uniqueTime();
|
|
1501
|
-
Cstr = await CstrImport;
|
|
1502
|
-
endLoad();
|
|
1503
|
-
} else {
|
|
1504
|
-
Cstr = CstrImport;
|
|
1505
|
-
}
|
|
1506
|
-
if (!Cstr) {
|
|
1507
|
-
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1508
|
-
}
|
|
1509
|
-
if (!Cstr.isProxied) {
|
|
1510
|
-
{
|
|
1511
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1512
|
-
}
|
|
1513
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1514
|
-
Cstr.isProxied = true;
|
|
1515
|
-
}
|
|
1516
|
-
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
|
1517
|
-
{
|
|
1518
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
1519
|
-
}
|
|
1520
|
-
try {
|
|
1521
|
-
new Cstr(hostRef);
|
|
1522
|
-
} catch (e) {
|
|
1523
|
-
consoleError(e);
|
|
1524
|
-
}
|
|
1525
|
-
{
|
|
1526
|
-
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1527
|
-
}
|
|
1528
|
-
{
|
|
1529
|
-
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1530
|
-
}
|
|
1531
|
-
endNewInstance();
|
|
1532
|
-
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1533
|
-
} else {
|
|
1534
|
-
Cstr = elm.constructor;
|
|
1535
|
-
const cmpTag = elm.localName;
|
|
1536
|
-
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1537
|
-
}
|
|
1538
|
-
if (Cstr && Cstr.style) {
|
|
1539
|
-
let style;
|
|
1540
|
-
if (typeof Cstr.style === "string") {
|
|
1541
|
-
style = Cstr.style;
|
|
1542
|
-
}
|
|
1543
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
1544
|
-
if (!styles.has(scopeId2)) {
|
|
1545
|
-
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
1546
|
-
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1547
|
-
endRegisterStyles();
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1552
|
-
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1553
|
-
if (ancestorComponent && ancestorComponent["s-rc"]) {
|
|
1554
|
-
ancestorComponent["s-rc"].push(schedule);
|
|
1555
|
-
} else {
|
|
1556
|
-
schedule();
|
|
1557
|
-
}
|
|
1558
|
-
};
|
|
1559
|
-
var fireConnectedCallback = (instance) => {
|
|
1560
|
-
{
|
|
1561
|
-
safeCall(instance, "connectedCallback");
|
|
1562
|
-
}
|
|
1563
|
-
};
|
|
1564
|
-
|
|
1565
|
-
// src/runtime/connected-callback.ts
|
|
1566
|
-
var connectedCallback = (elm) => {
|
|
1567
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1568
|
-
const hostRef = getHostRef(elm);
|
|
1569
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
1570
|
-
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
1571
|
-
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
1572
|
-
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1573
|
-
{
|
|
1574
|
-
if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
1575
|
-
cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
|
|
1576
|
-
setContentReference(elm);
|
|
1577
|
-
}
|
|
1578
|
-
}
|
|
1579
|
-
{
|
|
1580
|
-
let ancestorComponent = elm;
|
|
1581
|
-
while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
|
|
1582
|
-
if (ancestorComponent["s-p"]) {
|
|
1583
|
-
attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
|
|
1584
|
-
break;
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
if (cmpMeta.$members$) {
|
|
1589
|
-
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1590
|
-
if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1591
|
-
const value = elm[memberName];
|
|
1592
|
-
delete elm[memberName];
|
|
1593
|
-
elm[memberName] = value;
|
|
1594
|
-
}
|
|
1595
|
-
});
|
|
1596
|
-
}
|
|
1597
|
-
{
|
|
1598
|
-
nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
|
|
1599
|
-
}
|
|
1600
|
-
} else {
|
|
1601
|
-
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1602
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1603
|
-
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1604
|
-
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1605
|
-
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
endConnected();
|
|
1609
|
-
}
|
|
1610
|
-
};
|
|
1611
|
-
var setContentReference = (elm) => {
|
|
1612
|
-
const contentRefElm = elm["s-cr"] = doc.createComment(
|
|
1613
|
-
""
|
|
1614
|
-
);
|
|
1615
|
-
contentRefElm["s-cn"] = true;
|
|
1616
|
-
insertBefore(elm, contentRefElm, elm.firstChild);
|
|
1617
|
-
};
|
|
1618
|
-
var disconnectInstance = (instance) => {
|
|
1619
|
-
{
|
|
1620
|
-
safeCall(instance, "disconnectedCallback");
|
|
1621
|
-
}
|
|
1622
|
-
};
|
|
1623
|
-
var disconnectedCallback = async (elm) => {
|
|
1624
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1625
|
-
const hostRef = getHostRef(elm);
|
|
1626
|
-
{
|
|
1627
|
-
if (hostRef.$rmListeners$) {
|
|
1628
|
-
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
1629
|
-
hostRef.$rmListeners$ = void 0;
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1633
|
-
disconnectInstance(hostRef.$lazyInstance$);
|
|
1634
|
-
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1635
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
|
|
1636
|
-
}
|
|
1637
|
-
}
|
|
1638
|
-
};
|
|
1639
|
-
|
|
1640
|
-
// src/runtime/bootstrap-lazy.ts
|
|
1641
|
-
var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1642
|
-
var _a;
|
|
1643
|
-
const endBootstrap = createTime();
|
|
1644
|
-
const cmpTags = [];
|
|
1645
|
-
const exclude = options.exclude || [];
|
|
1646
|
-
const customElements2 = win.customElements;
|
|
1647
|
-
const head = doc.head;
|
|
1648
|
-
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
|
1649
|
-
const dataStyles = /* @__PURE__ */ doc.createElement("style");
|
|
1650
|
-
const deferredConnectedCallbacks = [];
|
|
1651
|
-
let appLoadFallback;
|
|
1652
|
-
let isBootstrapping = true;
|
|
1653
|
-
Object.assign(plt, options);
|
|
1654
|
-
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
|
|
1655
|
-
let hasSlotRelocation = false;
|
|
1656
|
-
lazyBundles.map((lazyBundle) => {
|
|
1657
|
-
lazyBundle[1].map((compactMeta) => {
|
|
1658
|
-
var _a2;
|
|
1659
|
-
const cmpMeta = {
|
|
1660
|
-
$flags$: compactMeta[0],
|
|
1661
|
-
$tagName$: compactMeta[1],
|
|
1662
|
-
$members$: compactMeta[2],
|
|
1663
|
-
$listeners$: compactMeta[3]
|
|
1664
|
-
};
|
|
1665
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1666
|
-
hasSlotRelocation = true;
|
|
1667
|
-
}
|
|
1668
|
-
{
|
|
1669
|
-
cmpMeta.$members$ = compactMeta[2];
|
|
1670
|
-
}
|
|
1671
|
-
{
|
|
1672
|
-
cmpMeta.$listeners$ = compactMeta[3];
|
|
1673
|
-
}
|
|
1674
|
-
{
|
|
1675
|
-
cmpMeta.$attrsToReflect$ = [];
|
|
1676
|
-
}
|
|
1677
|
-
{
|
|
1678
|
-
cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
|
|
1679
|
-
}
|
|
1680
|
-
const tagName = cmpMeta.$tagName$;
|
|
1681
|
-
const HostElement = class extends HTMLElement {
|
|
1682
|
-
// StencilLazyHost
|
|
1683
|
-
constructor(self) {
|
|
1684
|
-
super(self);
|
|
1685
|
-
this.hasRegisteredEventListeners = false;
|
|
1686
|
-
self = this;
|
|
1687
|
-
registerHost(self, cmpMeta);
|
|
1688
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1689
|
-
{
|
|
1690
|
-
if (!self.shadowRoot) {
|
|
1691
|
-
{
|
|
1692
|
-
self.attachShadow({ mode: "open" });
|
|
1693
|
-
}
|
|
1694
|
-
} else {
|
|
1695
|
-
if (self.shadowRoot.mode !== "open") {
|
|
1696
|
-
throw new Error(
|
|
1697
|
-
`Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
1698
|
-
);
|
|
1699
|
-
}
|
|
1700
|
-
}
|
|
1701
|
-
}
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1704
|
-
connectedCallback() {
|
|
1705
|
-
const hostRef = getHostRef(this);
|
|
1706
|
-
if (!this.hasRegisteredEventListeners) {
|
|
1707
|
-
this.hasRegisteredEventListeners = true;
|
|
1708
|
-
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
|
1709
|
-
}
|
|
1710
|
-
if (appLoadFallback) {
|
|
1711
|
-
clearTimeout(appLoadFallback);
|
|
1712
|
-
appLoadFallback = null;
|
|
1713
|
-
}
|
|
1714
|
-
if (isBootstrapping) {
|
|
1715
|
-
deferredConnectedCallbacks.push(this);
|
|
1716
|
-
} else {
|
|
1717
|
-
plt.jmp(() => connectedCallback(this));
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
|
-
disconnectedCallback() {
|
|
1721
|
-
plt.jmp(() => disconnectedCallback(this));
|
|
1722
|
-
}
|
|
1723
|
-
componentOnReady() {
|
|
1724
|
-
return getHostRef(this).$onReadyPromise$;
|
|
1725
|
-
}
|
|
1726
|
-
};
|
|
1727
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1728
|
-
if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
|
|
1729
|
-
cmpTags.push(tagName);
|
|
1730
|
-
customElements2.define(
|
|
1731
|
-
tagName,
|
|
1732
|
-
proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
|
|
1733
|
-
);
|
|
1734
|
-
}
|
|
1735
|
-
});
|
|
1736
|
-
});
|
|
1737
|
-
if (cmpTags.length > 0) {
|
|
1738
|
-
if (hasSlotRelocation) {
|
|
1739
|
-
dataStyles.textContent += SLOT_FB_CSS;
|
|
1740
|
-
}
|
|
1741
|
-
{
|
|
1742
|
-
dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
|
|
1743
|
-
}
|
|
1744
|
-
if (dataStyles.innerHTML.length) {
|
|
1745
|
-
dataStyles.setAttribute("data-styles", "");
|
|
1746
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
1747
|
-
if (nonce != null) {
|
|
1748
|
-
dataStyles.setAttribute("nonce", nonce);
|
|
1749
|
-
}
|
|
1750
|
-
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1751
|
-
}
|
|
1752
|
-
}
|
|
1753
|
-
isBootstrapping = false;
|
|
1754
|
-
if (deferredConnectedCallbacks.length) {
|
|
1755
|
-
deferredConnectedCallbacks.map((host) => host.connectedCallback());
|
|
1756
|
-
} else {
|
|
1757
|
-
{
|
|
1758
|
-
plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
|
|
1759
|
-
}
|
|
1760
|
-
}
|
|
1761
|
-
endBootstrap();
|
|
1762
|
-
};
|
|
1763
|
-
var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
1764
|
-
if (listeners) {
|
|
1765
|
-
listeners.map(([flags, name, method]) => {
|
|
1766
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
1767
|
-
const handler = hostListenerProxy(hostRef, method);
|
|
1768
|
-
const opts = hostListenerOpts(flags);
|
|
1769
|
-
plt.ael(target, name, handler, opts);
|
|
1770
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
1771
|
-
});
|
|
1772
|
-
}
|
|
1773
|
-
};
|
|
1774
|
-
var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
1775
|
-
var _a;
|
|
1776
|
-
try {
|
|
1777
|
-
{
|
|
1778
|
-
if (hostRef.$flags$ & 256 /* isListenReady */) {
|
|
1779
|
-
(_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
|
|
1780
|
-
} else {
|
|
1781
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
} catch (e) {
|
|
1785
|
-
consoleError(e);
|
|
1786
|
-
}
|
|
1787
|
-
};
|
|
1788
|
-
var getHostListenerTarget = (elm, flags) => {
|
|
1789
|
-
if (flags & 4 /* TargetDocument */) return doc;
|
|
1790
|
-
if (flags & 8 /* TargetWindow */) return win;
|
|
1791
|
-
return elm;
|
|
1792
|
-
};
|
|
1793
|
-
var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
1794
|
-
passive: (flags & 1 /* Passive */) !== 0,
|
|
1795
|
-
capture: (flags & 2 /* Capture */) !== 0
|
|
1796
|
-
} : (flags & 2 /* Capture */) !== 0;
|
|
1797
|
-
|
|
1798
|
-
// src/runtime/nonce.ts
|
|
1799
|
-
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1800
|
-
|
|
1801
|
-
exports.Host = Host;
|
|
1802
|
-
exports.bootstrapLazy = bootstrapLazy;
|
|
1803
|
-
exports.createEvent = createEvent;
|
|
1804
|
-
exports.getElement = getElement;
|
|
1805
|
-
exports.h = h;
|
|
1806
|
-
exports.promiseResolve = promiseResolve;
|
|
1807
|
-
exports.registerInstance = registerInstance;
|
|
1808
|
-
exports.setNonce = setNonce;
|
|
1809
|
-
exports.setPlatformHelpers = setPlatformHelpers;
|
|
1810
|
-
exports.writeTask = writeTask;
|