voyager-ionic-core 8.5.7 → 8.7.1
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/action-sheet.js +46 -33
- package/components/alert.js +50 -35
- package/components/animation.js +2 -2
- package/components/backdrop.js +12 -5
- package/components/button-active.js +1 -1
- package/components/button.js +54 -30
- package/components/buttons.js +15 -5
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +41 -17
- package/components/config.js +1 -1
- package/components/content.js +25 -6
- package/components/data.js +31 -6
- package/components/gesture-controller.js +1 -1
- package/components/haptic.js +1 -1
- package/components/hardware-back-button.js +2 -2
- package/components/header.js +13 -8
- package/components/helpers.js +3 -6
- package/components/icon.js +269 -201
- package/components/index.js +1 -1
- package/components/index2.js +1 -1
- package/components/index3.js +3 -5
- package/components/index4.js +1 -1
- package/components/index5.js +2 -2
- package/components/index6.js +28 -3
- package/components/index7.js +163 -27
- package/components/index8.js +1 -1
- package/components/index9.js +3 -163
- package/components/input-shims.js +25 -2
- package/components/input.utils.js +2 -2
- package/components/ion-accordion-group.js +21 -8
- package/components/ion-accordion.js +33 -15
- package/components/ion-app.js +8 -7
- package/components/ion-avatar.js +3 -5
- package/components/ion-back-button.js +13 -14
- package/components/ion-badge.js +3 -6
- package/components/ion-breadcrumb.js +23 -21
- package/components/ion-breadcrumbs.js +15 -11
- package/components/ion-card-content.js +3 -5
- package/components/ion-card-header.js +8 -6
- package/components/ion-card-subtitle.js +3 -6
- package/components/ion-card-title.js +3 -6
- package/components/ion-card.js +17 -12
- package/components/ion-chip.js +9 -6
- package/components/ion-col.js +2 -27
- package/components/ion-datetime-button.js +17 -15
- package/components/ion-datetime.js +231 -132
- package/components/ion-fab-button.js +38 -21
- package/components/ion-fab-list.js +8 -3
- package/components/ion-fab.js +11 -5
- package/components/ion-footer.js +14 -9
- package/components/ion-grid.js +5 -3
- package/components/ion-img.js +2 -7
- package/components/ion-infinite-scroll-content.js +3 -7
- package/components/ion-infinite-scroll.js +28 -7
- package/components/ion-input-otp.d.ts +11 -0
- package/components/ion-input-otp.js +684 -0
- package/components/ion-input-password-toggle.js +12 -14
- package/components/ion-input.js +82 -54
- package/components/ion-item-divider.js +12 -8
- package/components/ion-item-group.js +4 -6
- package/components/ion-item-option.js +17 -15
- package/components/ion-item-options.js +8 -6
- package/components/ion-item-sliding.js +9 -6
- package/components/ion-loading.js +44 -28
- package/components/ion-menu-button.js +18 -13
- package/components/ion-menu-toggle.js +12 -8
- package/components/ion-menu.js +54 -16
- package/components/ion-nav-link.js +8 -8
- package/components/ion-nav.js +10 -13
- package/components/ion-note.js +5 -8
- package/components/ion-picker-legacy.js +48 -28
- package/components/ion-progress-bar.js +22 -8
- package/components/ion-range.js +115 -32
- package/components/ion-refresher-content.js +3 -7
- package/components/ion-refresher.js +57 -9
- package/components/ion-reorder-group.js +27 -10
- package/components/ion-reorder.js +5 -7
- package/components/ion-route-redirect.js +0 -2
- package/components/ion-route.js +9 -7
- package/components/ion-router-link.js +10 -12
- package/components/ion-router-outlet.js +13 -11
- package/components/ion-router.js +20 -1
- package/components/ion-row.js +3 -4
- package/components/ion-searchbar.js +83 -36
- package/components/ion-segment-button.js +23 -14
- package/components/ion-segment-content.js +4 -5
- package/components/ion-segment-view.js +8 -8
- package/components/ion-segment.js +25 -14
- package/components/ion-select-option.js +6 -5
- package/components/ion-select.js +70 -36
- package/components/ion-skeleton-text.js +7 -5
- package/components/ion-split-pane.js +14 -9
- package/components/ion-tab-bar.js +10 -9
- package/components/ion-tab-button.js +13 -15
- package/components/ion-tab.js +6 -9
- package/components/ion-tabs.js +6 -7
- package/components/ion-text.js +4 -6
- package/components/ion-textarea.js +73 -37
- package/components/ion-thumbnail.js +3 -4
- package/components/ion-toast.js +63 -41
- package/components/ion-toggle.js +56 -25
- package/components/ionic-global.js +1 -1
- package/components/item.js +49 -22
- package/components/keyboard-controller.js +2 -2
- package/components/keyboard.js +134 -69
- package/components/keyboard2.js +69 -134
- package/components/label.js +5 -9
- package/components/list-header.js +5 -9
- package/components/list.js +7 -7
- package/components/modal.js +630 -217
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +3 -3
- package/components/picker-column-option.js +21 -8
- package/components/picker-column.js +48 -15
- package/components/picker-column2.js +9 -12
- package/components/picker.js +3 -5
- package/components/popover.js +139 -46
- package/components/radio-group.js +12 -12
- package/components/radio.js +31 -17
- package/components/refresher.utils.js +2 -2
- package/components/ripple-effect.js +12 -4
- package/components/select-modal.js +7 -12
- package/components/select-popover.js +8 -11
- package/components/spinner.js +6 -7
- package/components/swipe-back.js +1 -1
- package/components/title.js +5 -9
- package/components/toolbar.js +5 -8
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/structure.css +1 -1
- package/css/structure.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-ab2d3449.js → animation-ZJ1lAkZD.js} +2 -2
- package/dist/cjs/{app-globals-ddceb1f4.js → app-globals-77ZfuXXk.js} +1 -1
- package/dist/cjs/{button-active-43e2b419.js → button-active-BzZenWWH.js} +3 -3
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-DmA66EwP.js} +1 -1
- package/dist/cjs/{config-f6225ae7.js → config-CKhELRRu.js} +1 -1
- package/dist/cjs/{data-94e8d392.js → data-DW6ofvJ8.js} +30 -5
- package/dist/cjs/{framework-delegate-862d9d00.js → framework-delegate-WkyjrnCx.js} +1 -1
- package/dist/cjs/{gesture-controller-9436f482.js → gesture-controller-dtqlP_q4.js} +1 -1
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-ClPPQ_PS.js} +1 -1
- package/dist/cjs/{hardware-back-button-3d2b1004.js → hardware-back-button-BxdNu76F.js} +2 -2
- package/dist/cjs/{helpers-8a48fdea.js → helpers-DgwmcYAu.js} +2 -5
- package/dist/cjs/{index-1eff7149.js → index-BzEyuIww.js} +6 -7
- package/dist/cjs/{index-ee07ed59.js → index-CAvQ7Tka.js} +3 -4
- package/dist/cjs/{index-31b07b9c.js → index-Cc5PNMyz.js} +3 -3
- package/dist/cjs/{index-a96d31ae.js → index-D24wggHR.js} +9 -9
- package/dist/cjs/{index-2e236a04.js → index-DNh170BW.js} +1710 -754
- package/dist/cjs/index-DqmRDbxg.js +58 -0
- package/dist/cjs/{index-dbe01e08.js → index-bGpoPC4u.js} +3 -3
- package/dist/cjs/index.cjs.js +19 -24
- package/dist/cjs/{input-shims-415be7ee.js → input-shims-CLI_OrmU.js} +29 -6
- package/dist/cjs/{input.utils-a7957fd6.js → input.utils-B2hZ5tX6.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +55 -27
- package/dist/cjs/ion-action-sheet.cjs.entry.js +57 -47
- package/dist/cjs/ion-alert.cjs.entry.js +63 -51
- package/dist/cjs/ion-app_8.cjs.entry.js +122 -90
- package/dist/cjs/ion-avatar_3.cjs.entry.js +9 -18
- package/dist/cjs/ion-back-button.cjs.entry.js +19 -23
- package/dist/cjs/ion-backdrop.cjs.entry.js +13 -9
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +38 -35
- package/dist/cjs/ion-button_2.cjs.entry.js +367 -280
- package/dist/cjs/ion-card_5.cjs.entry.js +32 -36
- package/dist/cjs/ion-checkbox.cjs.entry.js +44 -23
- package/dist/cjs/ion-chip.cjs.entry.js +11 -11
- package/dist/cjs/ion-col_3.cjs.entry.js +9 -36
- package/dist/cjs/ion-datetime-button.cjs.entry.js +23 -24
- package/dist/cjs/ion-datetime_3.cjs.entry.js +348 -236
- package/dist/cjs/ion-fab_3.cjs.entry.js +57 -32
- package/dist/cjs/ion-img.cjs.entry.js +4 -12
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +36 -22
- package/dist/cjs/ion-input-otp.cjs.entry.js +646 -0
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +17 -22
- package/dist/cjs/ion-input.cjs.entry.js +87 -62
- package/dist/cjs/ion-item-option_3.cjs.entry.js +38 -34
- package/dist/cjs/ion-item_8.cjs.entry.js +88 -72
- package/dist/cjs/ion-loading.cjs.entry.js +54 -41
- package/dist/cjs/ion-menu_3.cjs.entry.js +104 -60
- package/dist/cjs/ion-modal.cjs.entry.js +644 -234
- package/dist/cjs/ion-nav_2.cjs.entry.js +29 -35
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +24 -14
- package/dist/cjs/ion-picker-column.cjs.entry.js +52 -22
- package/dist/cjs/ion-picker.cjs.entry.js +4 -9
- package/dist/cjs/ion-popover.cjs.entry.js +147 -57
- package/dist/cjs/ion-progress-bar.cjs.entry.js +25 -14
- package/dist/cjs/ion-radio_2.cjs.entry.js +46 -35
- package/dist/cjs/ion-range.cjs.entry.js +123 -43
- package/dist/cjs/ion-refresher_2.cjs.entry.js +74 -33
- package/dist/cjs/ion-reorder_2.cjs.entry.js +37 -25
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +13 -8
- package/dist/cjs/ion-route_4.cjs.entry.js +53 -39
- package/dist/cjs/ion-searchbar.cjs.entry.js +90 -46
- package/dist/cjs/ion-segment-content.cjs.entry.js +4 -7
- package/dist/cjs/ion-segment-view.cjs.entry.js +8 -10
- package/dist/cjs/ion-segment_2.cjs.entry.js +54 -37
- package/dist/cjs/ion-select-modal.cjs.entry.js +15 -23
- package/dist/cjs/ion-select_3.cjs.entry.js +94 -65
- package/dist/cjs/ion-spinner.cjs.entry.js +11 -15
- package/dist/cjs/ion-split-pane.cjs.entry.js +16 -14
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +30 -34
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -20
- package/dist/cjs/ion-text.cjs.entry.js +6 -11
- package/dist/cjs/ion-textarea.cjs.entry.js +78 -45
- package/dist/cjs/ion-toast.cjs.entry.js +84 -65
- package/dist/cjs/ion-toggle.cjs.entry.js +63 -35
- package/dist/cjs/{ionic-global-6dea5a96.js → ionic-global-UI5YPSi-.js} +3 -4
- package/dist/cjs/ionic.cjs.js +8 -9
- package/dist/cjs/{ios.transition-a131cd4d.js → ios.transition-DEitrLlG.js} +5 -6
- package/dist/cjs/{keyboard-0272231f.js → keyboard-UuAS4D_9.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-GXBiBRKS.js} +2 -2
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-hHzlEQpk.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -7
- package/dist/cjs/{md.transition-e018ebe5.js → md.transition-BHtGC-Wg.js} +5 -6
- package/dist/cjs/{notch-controller-09b7f358.js → notch-controller-Bf5Rr4R5.js} +2 -2
- package/dist/cjs/{overlays-4c291a05.js → overlays-CglR7j-u.js} +7 -7
- package/dist/cjs/{status-tap-f1acefac.js → status-tap-D9YPr62n.js} +3 -4
- package/dist/cjs/{swipe-back-442ca3d7.js → swipe-back-Ck8mDs0g.js} +5 -5
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +43 -13
- package/dist/collection/components/accordion-group/accordion-group.js +35 -8
- package/dist/collection/components/action-sheet/action-sheet.js +95 -43
- package/dist/collection/components/alert/alert.js +104 -45
- package/dist/collection/components/app/app.js +8 -3
- package/dist/collection/components/back-button/back-button.js +30 -14
- package/dist/collection/components/backdrop/backdrop.js +18 -3
- package/dist/collection/components/badge/badge.js +3 -4
- package/dist/collection/components/breadcrumb/breadcrumb.js +57 -26
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +24 -10
- package/dist/collection/components/button/button.js +97 -36
- package/dist/collection/components/buttons/buttons.js +15 -1
- package/dist/collection/components/card/card.js +44 -16
- package/dist/collection/components/card-header/card-header.js +11 -3
- package/dist/collection/components/card-subtitle/card-subtitle.js +3 -4
- package/dist/collection/components/card-title/card-title.js +3 -4
- package/dist/collection/components/checkbox/checkbox.js +74 -24
- package/dist/collection/components/chip/chip.js +15 -4
- package/dist/collection/components/col/col.js +72 -50
- package/dist/collection/components/content/content.js +43 -9
- package/dist/collection/components/datetime/datetime.ios.css +7 -2
- package/dist/collection/components/datetime/datetime.js +345 -153
- package/dist/collection/components/datetime/datetime.md.css +9 -3
- package/dist/collection/components/datetime/utils/data.js +29 -4
- package/dist/collection/components/datetime/utils/state.js +1 -0
- package/dist/collection/components/datetime-button/datetime-button.js +21 -11
- package/dist/collection/components/fab/fab.js +21 -6
- package/dist/collection/components/fab-button/fab-button.js +76 -28
- package/dist/collection/components/fab-list/fab-list.js +12 -2
- package/dist/collection/components/footer/footer.js +16 -5
- package/dist/collection/components/grid/grid.js +6 -1
- package/dist/collection/components/header/header.js +15 -4
- package/dist/collection/components/img/img.js +6 -6
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +35 -7
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +6 -4
- package/dist/collection/components/input/input.ios.css +1 -1
- package/dist/collection/components/input/input.js +178 -79
- package/dist/collection/components/input/input.md.css +1 -1
- package/dist/collection/components/input-otp/input-otp-interface.js +1 -0
- package/dist/collection/components/input-otp/input-otp.ios.css +381 -0
- package/dist/collection/components/input-otp/input-otp.js +1056 -0
- package/dist/collection/components/input-otp/input-otp.md.css +381 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +19 -11
- package/dist/collection/components/item/item.js +84 -28
- package/dist/collection/components/item-divider/item-divider.js +15 -5
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +38 -18
- package/dist/collection/components/item-options/item-options.js +8 -2
- package/dist/collection/components/item-sliding/item-sliding.js +9 -3
- package/dist/collection/components/label/label.js +8 -6
- package/dist/collection/components/list/list.js +10 -4
- package/dist/collection/components/list-header/list-header.js +8 -8
- package/dist/collection/components/loading/loading.js +96 -40
- package/dist/collection/components/menu/menu.js +104 -29
- package/dist/collection/components/menu-button/menu-button.js +29 -12
- package/dist/collection/components/menu-toggle/menu-toggle.js +16 -7
- package/dist/collection/components/modal/animations/ios.enter.js +3 -43
- package/dist/collection/components/modal/animations/ios.leave.js +4 -26
- package/dist/collection/components/modal/animations/ios.transition.js +152 -0
- package/dist/collection/components/modal/animations/md.enter.js +2 -42
- package/dist/collection/components/modal/animations/md.leave.js +2 -24
- package/dist/collection/components/modal/gestures/sheet.js +122 -29
- package/dist/collection/components/modal/modal.ios.css +0 -10
- package/dist/collection/components/modal/modal.js +446 -69
- package/dist/collection/components/nav/nav.js +25 -12
- package/dist/collection/components/nav-link/nav-link.js +19 -9
- package/dist/collection/components/note/note.js +5 -6
- package/dist/collection/components/picker-column/picker-column.js +56 -14
- package/dist/collection/components/picker-column-option/picker-column-option.js +27 -6
- package/dist/collection/components/picker-legacy/picker.js +93 -33
- package/dist/collection/components/picker-legacy-column/picker-column.js +7 -5
- package/dist/collection/components/popover/popover.js +227 -70
- package/dist/collection/components/progress-bar/progress-bar.js +33 -7
- package/dist/collection/components/radio/radio.js +49 -19
- package/dist/collection/components/radio-group/radio-group.js +27 -13
- package/dist/collection/components/range/range.js +157 -39
- package/dist/collection/components/refresher/refresher.js +69 -7
- package/dist/collection/components/refresher-content/refresher-content.js +13 -9
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +86 -9
- package/dist/collection/components/ripple-effect/ripple-effect.js +13 -2
- package/dist/collection/components/route/route.js +24 -9
- package/dist/collection/components/route-redirect/route-redirect.js +6 -6
- package/dist/collection/components/router/router.js +29 -3
- package/dist/collection/components/router-link/router-link.js +26 -14
- package/dist/collection/components/router-outlet/router-outlet.js +25 -9
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +147 -54
- package/dist/collection/components/segment/segment.js +40 -15
- package/dist/collection/components/segment-button/segment-button.js +34 -13
- package/dist/collection/components/segment-content/segment-content.css +1 -0
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +8 -4
- package/dist/collection/components/select/select.js +129 -49
- package/dist/collection/components/select-modal/select-modal.js +10 -5
- package/dist/collection/components/select-option/select-option.js +10 -4
- package/dist/collection/components/select-popover/select-popover.js +19 -9
- package/dist/collection/components/skeleton-text/skeleton-text.js +8 -3
- package/dist/collection/components/spinner/spinner.js +16 -8
- package/dist/collection/components/split-pane/split-pane.js +19 -6
- package/dist/collection/components/tab/tab.js +16 -9
- package/dist/collection/components/tab-bar/tab-bar.js +16 -7
- package/dist/collection/components/tab-button/tab-button.js +34 -18
- package/dist/collection/components/tabs/tabs.js +6 -4
- package/dist/collection/components/text/text.js +5 -6
- package/dist/collection/components/textarea/textarea.js +154 -59
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +8 -8
- package/dist/collection/components/toast/toast.js +128 -55
- package/dist/collection/components/toggle/toggle.js +86 -28
- package/dist/collection/components/toolbar/toolbar.js +5 -4
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +23 -0
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +20 -2
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +5522 -1831
- package/dist/esm/{animation-8b25e105.js → animation-BvhAtgca.js} +2 -2
- package/dist/esm/{app-globals-dbdbb3df.js → app-globals-CvLYUxE9.js} +1 -1
- package/dist/esm/{button-active-90f1dbc4.js → button-active-DBUPuLNw.js} +3 -3
- package/dist/esm/{capacitor-59395cbd.js → capacitor-CFERIeaU.js} +1 -1
- package/dist/esm/{config-9898ed97.js → config-Dx_6wPIJ.js} +1 -1
- package/dist/esm/{data-0d7ea6eb.js → data-CKHMWxfe.js} +31 -6
- package/dist/esm/{framework-delegate-56b467ad.js → framework-delegate-BLEBgH06.js} +1 -1
- package/dist/esm/{gesture-controller-314a54f6.js → gesture-controller-BTEOs1at.js} +1 -1
- package/dist/esm/{haptic-ac164e4c.js → haptic-DzAMWJuk.js} +2 -2
- package/dist/esm/{hardware-back-button-a7eb8233.js → hardware-back-button-Dhbd-23H.js} +2 -2
- package/dist/esm/{helpers-d94bc8ad.js → helpers-8KSQQGQy.js} +3 -6
- package/dist/esm/{index-527b9e34.js → index-4DxY6_gG.js} +1703 -735
- package/dist/esm/{index-9a17db3d.js → index-7UbSlv7N.js} +3 -3
- package/dist/esm/{index-be190feb.js → index-C6WeRr09.js} +3 -3
- package/dist/esm/{index-18f31305.js → index-CXSTcaAW.js} +6 -6
- package/dist/esm/{index-39782642.js → index-CfgBF1SE.js} +4 -6
- package/dist/esm/index-DV3sJJW8.js +32 -0
- package/dist/esm/{index-68c0d151.js → index-Dp7GXH1z.js} +4 -5
- package/dist/esm/index.js +17 -18
- package/dist/esm/{input-shims-279903e2.js → input-shims-C4KDnhxb.js} +29 -6
- package/dist/esm/{input.utils-40504d6d.js → input.utils-be4gBvVY.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +53 -23
- package/dist/esm/ion-action-sheet.entry.js +57 -45
- package/dist/esm/ion-alert.entry.js +61 -47
- package/dist/esm/ion-app_8.entry.js +103 -69
- package/dist/esm/ion-avatar_3.entry.js +9 -16
- package/dist/esm/ion-back-button.entry.js +15 -17
- package/dist/esm/ion-backdrop.entry.js +13 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +38 -33
- package/dist/esm/ion-button_2.entry.js +364 -275
- package/dist/esm/ion-card_5.entry.js +32 -34
- package/dist/esm/ion-checkbox.entry.js +44 -21
- package/dist/esm/ion-chip.entry.js +11 -9
- package/dist/esm/ion-col_3.entry.js +9 -34
- package/dist/esm/ion-datetime-button.entry.js +19 -18
- package/dist/esm/ion-datetime_3.entry.js +288 -174
- package/dist/esm/ion-fab_3.entry.js +57 -30
- package/dist/esm/ion-img.entry.js +4 -10
- package/dist/esm/ion-infinite-scroll_2.entry.js +34 -18
- package/dist/esm/ion-input-otp.entry.js +644 -0
- package/dist/esm/ion-input-password-toggle.entry.js +13 -16
- package/dist/esm/ion-input.entry.js +87 -60
- package/dist/esm/ion-item-option_3.entry.js +37 -31
- package/dist/esm/ion-item_8.entry.js +87 -69
- package/dist/esm/ion-loading.entry.js +52 -37
- package/dist/esm/ion-menu_3.entry.js +92 -46
- package/dist/esm/ion-modal.entry.js +637 -225
- package/dist/esm/ion-nav_2.entry.js +18 -22
- package/dist/esm/ion-picker-column-option.entry.js +24 -12
- package/dist/esm/ion-picker-column.entry.js +52 -20
- package/dist/esm/ion-picker.entry.js +4 -7
- package/dist/esm/ion-popover.entry.js +144 -52
- package/dist/esm/ion-progress-bar.entry.js +24 -11
- package/dist/esm/ion-radio_2.entry.js +46 -33
- package/dist/esm/ion-range.entry.js +118 -36
- package/dist/esm/ion-refresher_2.entry.js +69 -26
- package/dist/esm/ion-reorder_2.entry.js +37 -23
- package/dist/esm/ion-ripple-effect.entry.js +13 -6
- package/dist/esm/ion-route_4.entry.js +37 -21
- package/dist/esm/ion-searchbar.entry.js +87 -41
- package/dist/esm/ion-segment-content.entry.js +4 -5
- package/dist/esm/ion-segment-view.entry.js +8 -8
- package/dist/esm/ion-segment_2.entry.js +51 -32
- package/dist/esm/ion-select-modal.entry.js +15 -21
- package/dist/esm/ion-select_3.entry.js +91 -60
- package/dist/esm/ion-spinner.entry.js +9 -11
- package/dist/esm/ion-split-pane.entry.js +14 -10
- package/dist/esm/ion-tab-bar_2.entry.js +29 -31
- package/dist/esm/ion-tab_2.entry.js +11 -16
- package/dist/esm/ion-text.entry.js +6 -9
- package/dist/esm/ion-textarea.entry.js +78 -43
- package/dist/esm/ion-toast.entry.js +70 -49
- package/dist/esm/ion-toggle.entry.js +63 -33
- package/dist/esm/{ionic-global-b26f573e.js → ionic-global-CTSyufhF.js} +1 -2
- package/dist/esm/ionic.js +7 -7
- package/dist/esm/{ios.transition-4047cb68.js → ios.transition-eAEkgVAv.js} +5 -6
- package/dist/esm/{keyboard-73175e24.js → keyboard-CUw4ekVy.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-BaaVITYt.js} +2 -2
- package/dist/esm/{keyboard-52278bd7.js → keyboard-ywgs5efA.js} +3 -3
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{md.transition-30ce8d1b.js → md.transition-D8TeJ_Pz.js} +5 -6
- package/dist/esm/{notch-controller-1a1f7183.js → notch-controller-lb417-kU.js} +2 -2
- package/dist/esm/{overlays-d99dcb0a.js → overlays-ZX_4-t_r.js} +7 -7
- package/dist/esm/{status-tap-42a8af65.js → status-tap-pATNXEtr.js} +3 -4
- package/dist/esm/{swipe-back-04123e7c.js → swipe-back-tV63j0BI.js} +5 -5
- package/dist/html.html-data.json +377 -1
- package/dist/index.js +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0f396661.entry.js +4 -0
- package/dist/ionic/p-1191a2d9.entry.js +4 -0
- package/dist/ionic/p-1488b7cc.entry.js +4 -0
- package/dist/ionic/p-148bdf18.entry.js +4 -0
- package/dist/ionic/p-16116947.entry.js +4 -0
- package/dist/ionic/p-19f80390.entry.js +4 -0
- package/dist/ionic/p-1bbd0a23.entry.js +4 -0
- package/dist/ionic/p-1d5b934a.entry.js +4 -0
- package/dist/ionic/p-29032e49.entry.js +4 -0
- package/dist/ionic/p-2cb0f39f.entry.js +4 -0
- package/dist/ionic/p-349fc921.entry.js +4 -0
- package/dist/ionic/p-3624b640.entry.js +4 -0
- package/dist/ionic/p-36a54836.entry.js +4 -0
- package/dist/ionic/p-39ed3212.entry.js +4 -0
- package/dist/ionic/p-3e426ddc.entry.js +4 -0
- package/dist/ionic/p-4DxY6_gG.js +5 -0
- package/dist/ionic/p-504e4c9c.entry.js +4 -0
- package/dist/ionic/p-528af4e6.entry.js +4 -0
- package/dist/ionic/p-54dec9b1.entry.js +4 -0
- package/dist/ionic/p-5c976c00.entry.js +4 -0
- package/dist/ionic/p-6383afc2.entry.js +4 -0
- package/dist/ionic/p-6701ab96.entry.js +4 -0
- package/dist/ionic/p-6d26651e.entry.js +4 -0
- package/dist/ionic/p-7a53f04c.entry.js +4 -0
- package/dist/ionic/p-7bac2c5f.entry.js +4 -0
- package/dist/ionic/p-7da05504.entry.js +4 -0
- package/dist/ionic/p-7fa27903.entry.js +4 -0
- package/dist/ionic/p-8d96a0cd.entry.js +4 -0
- package/dist/ionic/p-91d6ccb0.entry.js +4 -0
- package/dist/ionic/p-982fe1c4.entry.js +4 -0
- package/dist/ionic/p-9ddf2620.entry.js +4 -0
- package/dist/ionic/p-9eeaBrnk.js +4 -0
- package/dist/ionic/{p-8d2d39d0.js → p-B1xocg0A.js} +1 -1
- package/dist/ionic/{p-2bb55ebc.js → p-B5MDSrGg.js} +1 -1
- package/dist/ionic/p-BB-JoKGB.js +4 -0
- package/dist/ionic/{p-0f5e6225.js → p-BHGXdud8.js} +1 -1
- package/dist/ionic/p-BhNEp2QP.js +4 -0
- package/dist/ionic/p-Br3vSlYh.js +4 -0
- package/dist/ionic/p-C-Cct-6D.js +4 -0
- package/dist/ionic/p-C87oPMMF.js +4 -0
- package/dist/ionic/{p-aded71ec.js → p-C8d2ebIg.js} +1 -1
- package/dist/ionic/p-CIGNaXM1.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-CKvCXMs9.js} +1 -1
- package/dist/ionic/{p-95001a19.js → p-CSwZyt05.js} +1 -1
- package/dist/ionic/p-CWvl4RPO.js +4 -0
- package/dist/ionic/p-Cl0B-RWe.js +4 -0
- package/dist/ionic/p-CtWGkNnJ.js +4 -0
- package/dist/ionic/p-CvaZMP6T.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-D13Eaw-8.js} +1 -1
- package/dist/ionic/p-D2fQU_qK.js +4 -0
- package/dist/ionic/p-D2re3d9B.js +4 -0
- package/dist/ionic/p-DAfH9Iif.js +4 -0
- package/dist/ionic/p-DCuOL88l.js +4 -0
- package/dist/ionic/p-DJKvq7vb.js +4 -0
- package/dist/ionic/p-DV3sJJW8.js +4 -0
- package/dist/ionic/{p-ed005d9c.js → p-DiZPU8BH.js} +1 -1
- package/dist/ionic/p-Dm_oBkW1.js +4 -0
- package/dist/ionic/{p-10a1bddc.js → p-EnaLTYYj.js} +1 -1
- package/dist/ionic/p-LaGjiAVo.js +4 -0
- package/dist/ionic/p-a81be128.entry.js +4 -0
- package/dist/ionic/p-ab33ef20.entry.js +4 -0
- package/dist/ionic/p-ac2be9d6.entry.js +4 -0
- package/dist/ionic/p-ac434970.entry.js +4 -0
- package/dist/ionic/p-afeb9df6.entry.js +4 -0
- package/dist/ionic/p-bc9f9032.entry.js +4 -0
- package/dist/ionic/p-bf81a468.entry.js +4 -0
- package/dist/ionic/p-c0d58c8e.entry.js +4 -0
- package/dist/ionic/p-c5210d3e.entry.js +4 -0
- package/dist/ionic/p-c575e7ce.entry.js +4 -0
- package/dist/ionic/p-c836e1a2.entry.js +4 -0
- package/dist/ionic/p-cb335dbc.entry.js +4 -0
- package/dist/ionic/p-d04d66fc.entry.js +4 -0
- package/dist/ionic/p-d3df6032.entry.js +4 -0
- package/dist/ionic/p-dbba38cf.entry.js +4 -0
- package/dist/ionic/p-e6c465ff.entry.js +4 -0
- package/dist/ionic/p-ec76fec4.entry.js +4 -0
- package/dist/ionic/p-ee2e35a6.entry.js +4 -0
- package/dist/ionic/p-f2884bc2.entry.js +4 -0
- package/dist/ionic/p-f456d176.entry.js +4 -0
- package/dist/ionic/p-f7db572a.entry.js +4 -0
- package/dist/ionic/p-f9eb54ee.entry.js +4 -0
- package/dist/ionic/svg/accessibility-outline.svg +1 -1
- package/dist/ionic/svg/accessibility-sharp.svg +1 -1
- package/dist/ionic/svg/accessibility.svg +1 -1
- package/dist/ionic/svg/add-circle-outline.svg +1 -1
- package/dist/ionic/svg/add-circle-sharp.svg +1 -1
- package/dist/ionic/svg/add-circle.svg +1 -1
- package/dist/ionic/svg/add-outline.svg +1 -1
- package/dist/ionic/svg/add-sharp.svg +1 -1
- package/dist/ionic/svg/add.svg +1 -1
- package/dist/ionic/svg/airplane-outline.svg +1 -1
- package/dist/ionic/svg/airplane-sharp.svg +1 -1
- package/dist/ionic/svg/airplane.svg +1 -1
- package/dist/ionic/svg/alarm-outline.svg +1 -1
- package/dist/ionic/svg/alarm-sharp.svg +1 -1
- package/dist/ionic/svg/alarm.svg +1 -1
- package/dist/ionic/svg/albums-outline.svg +1 -1
- package/dist/ionic/svg/albums-sharp.svg +1 -1
- package/dist/ionic/svg/albums.svg +1 -1
- package/dist/ionic/svg/alert-circle-outline.svg +1 -1
- package/dist/ionic/svg/alert-circle-sharp.svg +1 -1
- package/dist/ionic/svg/alert-circle.svg +1 -1
- package/dist/ionic/svg/alert-outline.svg +1 -1
- package/dist/ionic/svg/alert-sharp.svg +1 -1
- package/dist/ionic/svg/alert.svg +1 -1
- package/dist/ionic/svg/american-football-outline.svg +1 -1
- package/dist/ionic/svg/american-football-sharp.svg +1 -1
- package/dist/ionic/svg/american-football.svg +1 -1
- package/dist/ionic/svg/analytics-outline.svg +1 -1
- package/dist/ionic/svg/analytics-sharp.svg +1 -1
- package/dist/ionic/svg/analytics.svg +1 -1
- package/dist/ionic/svg/aperture-outline.svg +1 -1
- package/dist/ionic/svg/aperture-sharp.svg +1 -1
- package/dist/ionic/svg/aperture.svg +1 -1
- package/dist/ionic/svg/apps-outline.svg +1 -1
- package/dist/ionic/svg/apps-sharp.svg +1 -1
- package/dist/ionic/svg/apps.svg +1 -1
- package/dist/ionic/svg/archive-outline.svg +1 -1
- package/dist/ionic/svg/archive-sharp.svg +1 -1
- package/dist/ionic/svg/archive.svg +1 -1
- package/dist/ionic/svg/arrow-back-circle-outline.svg +1 -1
- package/dist/ionic/svg/arrow-back-circle-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-back-circle.svg +1 -1
- package/dist/ionic/svg/arrow-back-outline.svg +1 -1
- package/dist/ionic/svg/arrow-back-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-back.svg +1 -1
- package/dist/ionic/svg/arrow-down-circle-outline.svg +1 -1
- package/dist/ionic/svg/arrow-down-circle-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-down-circle.svg +1 -1
- package/dist/ionic/svg/arrow-down-left-box-outline.svg +1 -0
- package/dist/ionic/svg/arrow-down-left-box-sharp.svg +1 -0
- package/dist/ionic/svg/arrow-down-left-box.svg +1 -0
- package/dist/ionic/svg/arrow-down-outline.svg +1 -1
- package/dist/ionic/svg/arrow-down-right-box-outline.svg +1 -0
- package/dist/ionic/svg/arrow-down-right-box-sharp.svg +1 -0
- package/dist/ionic/svg/arrow-down-right-box.svg +1 -0
- package/dist/ionic/svg/arrow-down-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-down.svg +1 -1
- package/dist/ionic/svg/arrow-forward-circle-outline.svg +1 -1
- package/dist/ionic/svg/arrow-forward-circle-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-forward-circle.svg +1 -1
- package/dist/ionic/svg/arrow-forward-outline.svg +1 -1
- package/dist/ionic/svg/arrow-forward-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-forward.svg +1 -1
- package/dist/ionic/svg/arrow-redo-circle-outline.svg +1 -1
- package/dist/ionic/svg/arrow-redo-circle-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-redo-circle.svg +1 -1
- package/dist/ionic/svg/arrow-redo-outline.svg +1 -1
- package/dist/ionic/svg/arrow-redo-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-redo.svg +1 -1
- package/dist/ionic/svg/arrow-undo-circle-outline.svg +1 -1
- package/dist/ionic/svg/arrow-undo-circle-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-undo-circle.svg +1 -1
- package/dist/ionic/svg/arrow-undo-outline.svg +1 -1
- package/dist/ionic/svg/arrow-undo-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-undo.svg +1 -1
- package/dist/ionic/svg/arrow-up-circle-outline.svg +1 -1
- package/dist/ionic/svg/arrow-up-circle-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-up-circle.svg +1 -1
- package/dist/ionic/svg/arrow-up-left-box-outline.svg +1 -0
- package/dist/ionic/svg/arrow-up-left-box-sharp.svg +1 -0
- package/dist/ionic/svg/arrow-up-left-box.svg +1 -0
- package/dist/ionic/svg/arrow-up-outline.svg +1 -1
- package/dist/ionic/svg/arrow-up-right-box-outline.svg +1 -0
- package/dist/ionic/svg/arrow-up-right-box-sharp.svg +1 -0
- package/dist/ionic/svg/arrow-up-right-box.svg +1 -0
- package/dist/ionic/svg/arrow-up-sharp.svg +1 -1
- package/dist/ionic/svg/arrow-up.svg +1 -1
- package/dist/ionic/svg/at-circle-outline.svg +1 -1
- package/dist/ionic/svg/at-circle-sharp.svg +1 -1
- package/dist/ionic/svg/at-circle.svg +1 -1
- package/dist/ionic/svg/at-outline.svg +1 -1
- package/dist/ionic/svg/at-sharp.svg +1 -1
- package/dist/ionic/svg/at.svg +1 -1
- package/dist/ionic/svg/attach-outline.svg +1 -1
- package/dist/ionic/svg/attach-sharp.svg +1 -1
- package/dist/ionic/svg/attach.svg +1 -1
- package/dist/ionic/svg/backspace-outline.svg +1 -1
- package/dist/ionic/svg/backspace-sharp.svg +1 -1
- package/dist/ionic/svg/backspace.svg +1 -1
- package/dist/ionic/svg/bag-add-outline.svg +1 -1
- package/dist/ionic/svg/bag-add-sharp.svg +1 -1
- package/dist/ionic/svg/bag-add.svg +1 -1
- package/dist/ionic/svg/bag-check-outline.svg +1 -1
- package/dist/ionic/svg/bag-check-sharp.svg +1 -1
- package/dist/ionic/svg/bag-check.svg +1 -1
- package/dist/ionic/svg/bag-handle-outline.svg +1 -1
- package/dist/ionic/svg/bag-handle-sharp.svg +1 -1
- package/dist/ionic/svg/bag-handle.svg +1 -1
- package/dist/ionic/svg/bag-outline.svg +1 -1
- package/dist/ionic/svg/bag-remove-outline.svg +1 -1
- package/dist/ionic/svg/bag-remove-sharp.svg +1 -1
- package/dist/ionic/svg/bag-remove.svg +1 -1
- package/dist/ionic/svg/bag-sharp.svg +1 -1
- package/dist/ionic/svg/bag.svg +1 -1
- package/dist/ionic/svg/balloon-outline.svg +1 -1
- package/dist/ionic/svg/balloon-sharp.svg +1 -1
- package/dist/ionic/svg/balloon.svg +1 -1
- package/dist/ionic/svg/ban-outline.svg +1 -1
- package/dist/ionic/svg/ban-sharp.svg +1 -1
- package/dist/ionic/svg/ban.svg +1 -1
- package/dist/ionic/svg/bandage-outline.svg +1 -1
- package/dist/ionic/svg/bandage-sharp.svg +1 -1
- package/dist/ionic/svg/bandage.svg +1 -1
- package/dist/ionic/svg/bar-chart-outline.svg +1 -1
- package/dist/ionic/svg/bar-chart-sharp.svg +1 -1
- package/dist/ionic/svg/bar-chart.svg +1 -1
- package/dist/ionic/svg/barbell-outline.svg +1 -1
- package/dist/ionic/svg/barbell-sharp.svg +1 -1
- package/dist/ionic/svg/barbell.svg +1 -1
- package/dist/ionic/svg/barcode-outline.svg +1 -1
- package/dist/ionic/svg/barcode-sharp.svg +1 -1
- package/dist/ionic/svg/barcode.svg +1 -1
- package/dist/ionic/svg/baseball-outline.svg +1 -1
- package/dist/ionic/svg/baseball-sharp.svg +1 -1
- package/dist/ionic/svg/baseball.svg +1 -1
- package/dist/ionic/svg/basket-outline.svg +1 -1
- package/dist/ionic/svg/basket-sharp.svg +1 -1
- package/dist/ionic/svg/basket.svg +1 -1
- package/dist/ionic/svg/basketball-outline.svg +1 -1
- package/dist/ionic/svg/basketball-sharp.svg +1 -1
- package/dist/ionic/svg/basketball.svg +1 -1
- package/dist/ionic/svg/battery-charging-outline.svg +1 -1
- package/dist/ionic/svg/battery-charging-sharp.svg +1 -1
- package/dist/ionic/svg/battery-charging.svg +1 -1
- package/dist/ionic/svg/battery-dead-outline.svg +1 -1
- package/dist/ionic/svg/battery-dead-sharp.svg +1 -1
- package/dist/ionic/svg/battery-dead.svg +1 -1
- package/dist/ionic/svg/battery-full-outline.svg +1 -1
- package/dist/ionic/svg/battery-full-sharp.svg +1 -1
- package/dist/ionic/svg/battery-full.svg +1 -1
- package/dist/ionic/svg/battery-half-outline.svg +1 -1
- package/dist/ionic/svg/battery-half-sharp.svg +1 -1
- package/dist/ionic/svg/battery-half.svg +1 -1
- package/dist/ionic/svg/beaker-outline.svg +1 -1
- package/dist/ionic/svg/beaker-sharp.svg +1 -1
- package/dist/ionic/svg/beaker.svg +1 -1
- package/dist/ionic/svg/bed-outline.svg +1 -1
- package/dist/ionic/svg/bed-sharp.svg +1 -1
- package/dist/ionic/svg/bed.svg +1 -1
- package/dist/ionic/svg/beer-outline.svg +1 -1
- package/dist/ionic/svg/beer-sharp.svg +1 -1
- package/dist/ionic/svg/beer.svg +1 -1
- package/dist/ionic/svg/bicycle-outline.svg +1 -1
- package/dist/ionic/svg/bicycle-sharp.svg +1 -1
- package/dist/ionic/svg/bicycle.svg +1 -1
- package/dist/ionic/svg/binoculars-outline.svg +1 -0
- package/dist/ionic/svg/binoculars-sharp.svg +1 -0
- package/dist/ionic/svg/binoculars.svg +1 -0
- package/dist/ionic/svg/bluetooth-outline.svg +1 -1
- package/dist/ionic/svg/bluetooth-sharp.svg +1 -1
- package/dist/ionic/svg/bluetooth.svg +1 -1
- package/dist/ionic/svg/boat-outline.svg +1 -1
- package/dist/ionic/svg/boat-sharp.svg +1 -1
- package/dist/ionic/svg/boat.svg +1 -1
- package/dist/ionic/svg/body-outline.svg +1 -1
- package/dist/ionic/svg/body-sharp.svg +1 -1
- package/dist/ionic/svg/body.svg +1 -1
- package/dist/ionic/svg/bonfire-outline.svg +1 -1
- package/dist/ionic/svg/bonfire-sharp.svg +1 -1
- package/dist/ionic/svg/bonfire.svg +1 -1
- package/dist/ionic/svg/book-outline.svg +1 -1
- package/dist/ionic/svg/book-sharp.svg +1 -1
- package/dist/ionic/svg/book.svg +1 -1
- package/dist/ionic/svg/bookmark-outline.svg +1 -1
- package/dist/ionic/svg/bookmark-sharp.svg +1 -1
- package/dist/ionic/svg/bookmark.svg +1 -1
- package/dist/ionic/svg/bookmarks-outline.svg +1 -1
- package/dist/ionic/svg/bookmarks-sharp.svg +1 -1
- package/dist/ionic/svg/bookmarks.svg +1 -1
- package/dist/ionic/svg/bowling-ball-outline.svg +1 -1
- package/dist/ionic/svg/bowling-ball-sharp.svg +1 -1
- package/dist/ionic/svg/bowling-ball.svg +1 -1
- package/dist/ionic/svg/briefcase-outline.svg +1 -1
- package/dist/ionic/svg/briefcase-sharp.svg +1 -1
- package/dist/ionic/svg/briefcase.svg +1 -1
- package/dist/ionic/svg/browsers-outline.svg +1 -1
- package/dist/ionic/svg/browsers-sharp.svg +1 -1
- package/dist/ionic/svg/browsers.svg +1 -1
- package/dist/ionic/svg/brush-outline.svg +1 -1
- package/dist/ionic/svg/brush-sharp.svg +1 -1
- package/dist/ionic/svg/brush.svg +1 -1
- package/dist/ionic/svg/bug-outline.svg +1 -1
- package/dist/ionic/svg/bug-sharp.svg +1 -1
- package/dist/ionic/svg/bug.svg +1 -1
- package/dist/ionic/svg/build-outline.svg +1 -1
- package/dist/ionic/svg/build-sharp.svg +1 -1
- package/dist/ionic/svg/build.svg +1 -1
- package/dist/ionic/svg/bulb-outline.svg +1 -1
- package/dist/ionic/svg/bulb-sharp.svg +1 -1
- package/dist/ionic/svg/bulb.svg +1 -1
- package/dist/ionic/svg/bus-outline.svg +1 -1
- package/dist/ionic/svg/bus-sharp.svg +1 -1
- package/dist/ionic/svg/bus.svg +1 -1
- package/dist/ionic/svg/business-outline.svg +1 -1
- package/dist/ionic/svg/business-sharp.svg +1 -1
- package/dist/ionic/svg/business.svg +1 -1
- package/dist/ionic/svg/cafe-outline.svg +1 -1
- package/dist/ionic/svg/cafe-sharp.svg +1 -1
- package/dist/ionic/svg/cafe.svg +1 -1
- package/dist/ionic/svg/calculator-outline.svg +1 -1
- package/dist/ionic/svg/calculator-sharp.svg +1 -1
- package/dist/ionic/svg/calculator.svg +1 -1
- package/dist/ionic/svg/calendar-clear-outline.svg +1 -1
- package/dist/ionic/svg/calendar-clear-sharp.svg +1 -1
- package/dist/ionic/svg/calendar-clear.svg +1 -1
- package/dist/ionic/svg/calendar-number-outline.svg +1 -1
- package/dist/ionic/svg/calendar-number-sharp.svg +1 -1
- package/dist/ionic/svg/calendar-number.svg +1 -1
- package/dist/ionic/svg/calendar-outline.svg +1 -1
- package/dist/ionic/svg/calendar-sharp.svg +1 -1
- package/dist/ionic/svg/calendar.svg +1 -1
- package/dist/ionic/svg/call-outline.svg +1 -1
- package/dist/ionic/svg/call-sharp.svg +1 -1
- package/dist/ionic/svg/call.svg +1 -1
- package/dist/ionic/svg/camera-outline.svg +1 -1
- package/dist/ionic/svg/camera-reverse-outline.svg +1 -1
- package/dist/ionic/svg/camera-reverse-sharp.svg +1 -1
- package/dist/ionic/svg/camera-reverse.svg +1 -1
- package/dist/ionic/svg/camera-sharp.svg +1 -1
- package/dist/ionic/svg/camera.svg +1 -1
- package/dist/ionic/svg/car-outline.svg +1 -1
- package/dist/ionic/svg/car-sharp.svg +1 -1
- package/dist/ionic/svg/car-sport-outline.svg +1 -1
- package/dist/ionic/svg/car-sport-sharp.svg +1 -1
- package/dist/ionic/svg/car-sport.svg +1 -1
- package/dist/ionic/svg/car.svg +1 -1
- package/dist/ionic/svg/card-outline.svg +1 -1
- package/dist/ionic/svg/card-sharp.svg +1 -1
- package/dist/ionic/svg/card.svg +1 -1
- package/dist/ionic/svg/caret-back-circle-outline.svg +1 -1
- package/dist/ionic/svg/caret-back-circle-sharp.svg +1 -1
- package/dist/ionic/svg/caret-back-circle.svg +1 -1
- package/dist/ionic/svg/caret-back-outline.svg +1 -1
- package/dist/ionic/svg/caret-back-sharp.svg +1 -1
- package/dist/ionic/svg/caret-back.svg +1 -1
- package/dist/ionic/svg/caret-down-circle-outline.svg +1 -1
- package/dist/ionic/svg/caret-down-circle-sharp.svg +1 -1
- package/dist/ionic/svg/caret-down-circle.svg +1 -1
- package/dist/ionic/svg/caret-down-outline.svg +1 -1
- package/dist/ionic/svg/caret-down-sharp.svg +1 -1
- package/dist/ionic/svg/caret-down.svg +1 -1
- package/dist/ionic/svg/caret-forward-circle-outline.svg +1 -1
- package/dist/ionic/svg/caret-forward-circle-sharp.svg +1 -1
- package/dist/ionic/svg/caret-forward-circle.svg +1 -1
- package/dist/ionic/svg/caret-forward-outline.svg +1 -1
- package/dist/ionic/svg/caret-forward-sharp.svg +1 -1
- package/dist/ionic/svg/caret-forward.svg +1 -1
- package/dist/ionic/svg/caret-up-circle-outline.svg +1 -1
- package/dist/ionic/svg/caret-up-circle-sharp.svg +1 -1
- package/dist/ionic/svg/caret-up-circle.svg +1 -1
- package/dist/ionic/svg/caret-up-outline.svg +1 -1
- package/dist/ionic/svg/caret-up-sharp.svg +1 -1
- package/dist/ionic/svg/caret-up.svg +1 -1
- package/dist/ionic/svg/cart-outline.svg +1 -1
- package/dist/ionic/svg/cart-sharp.svg +1 -1
- package/dist/ionic/svg/cart.svg +1 -1
- package/dist/ionic/svg/cash-outline.svg +1 -1
- package/dist/ionic/svg/cash-sharp.svg +1 -1
- package/dist/ionic/svg/cash.svg +1 -1
- package/dist/ionic/svg/cellular-outline.svg +1 -1
- package/dist/ionic/svg/cellular-sharp.svg +1 -1
- package/dist/ionic/svg/cellular.svg +1 -1
- package/dist/ionic/svg/chatbox-ellipses-outline.svg +1 -1
- package/dist/ionic/svg/chatbox-ellipses-sharp.svg +1 -1
- package/dist/ionic/svg/chatbox-ellipses.svg +1 -1
- package/dist/ionic/svg/chatbox-outline.svg +1 -1
- package/dist/ionic/svg/chatbox-sharp.svg +1 -1
- package/dist/ionic/svg/chatbox.svg +1 -1
- package/dist/ionic/svg/chatbubble-ellipses-outline.svg +1 -1
- package/dist/ionic/svg/chatbubble-ellipses-sharp.svg +1 -1
- package/dist/ionic/svg/chatbubble-ellipses.svg +1 -1
- package/dist/ionic/svg/chatbubble-outline.svg +1 -1
- package/dist/ionic/svg/chatbubble-sharp.svg +1 -1
- package/dist/ionic/svg/chatbubble.svg +1 -1
- package/dist/ionic/svg/chatbubbles-outline.svg +1 -1
- package/dist/ionic/svg/chatbubbles-sharp.svg +1 -1
- package/dist/ionic/svg/chatbubbles.svg +1 -1
- package/dist/ionic/svg/checkbox-outline.svg +1 -1
- package/dist/ionic/svg/checkbox-sharp.svg +1 -1
- package/dist/ionic/svg/checkbox.svg +1 -1
- package/dist/ionic/svg/checkmark-circle-outline.svg +1 -1
- package/dist/ionic/svg/checkmark-circle-sharp.svg +1 -1
- package/dist/ionic/svg/checkmark-circle.svg +1 -1
- package/dist/ionic/svg/checkmark-done-circle-outline.svg +1 -1
- package/dist/ionic/svg/checkmark-done-circle-sharp.svg +1 -1
- package/dist/ionic/svg/checkmark-done-circle.svg +1 -1
- package/dist/ionic/svg/checkmark-done-outline.svg +1 -1
- package/dist/ionic/svg/checkmark-done-sharp.svg +1 -1
- package/dist/ionic/svg/checkmark-done.svg +1 -1
- package/dist/ionic/svg/checkmark-outline.svg +1 -1
- package/dist/ionic/svg/checkmark-sharp.svg +1 -1
- package/dist/ionic/svg/checkmark.svg +1 -1
- package/dist/ionic/svg/chevron-back-circle-outline.svg +1 -1
- package/dist/ionic/svg/chevron-back-circle-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-back-circle.svg +1 -1
- package/dist/ionic/svg/chevron-back-outline.svg +1 -1
- package/dist/ionic/svg/chevron-back-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-back.svg +1 -1
- package/dist/ionic/svg/chevron-collapse-outline.svg +1 -1
- package/dist/ionic/svg/chevron-collapse-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-collapse.svg +1 -1
- package/dist/ionic/svg/chevron-down-circle-outline.svg +1 -1
- package/dist/ionic/svg/chevron-down-circle-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-down-circle.svg +1 -1
- package/dist/ionic/svg/chevron-down-outline.svg +1 -1
- package/dist/ionic/svg/chevron-down-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-down.svg +1 -1
- package/dist/ionic/svg/chevron-expand-outline.svg +1 -1
- package/dist/ionic/svg/chevron-expand-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-expand.svg +1 -1
- package/dist/ionic/svg/chevron-forward-circle-outline.svg +1 -1
- package/dist/ionic/svg/chevron-forward-circle-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-forward-circle.svg +1 -1
- package/dist/ionic/svg/chevron-forward-outline.svg +1 -1
- package/dist/ionic/svg/chevron-forward-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-forward.svg +1 -1
- package/dist/ionic/svg/chevron-up-circle-outline.svg +1 -1
- package/dist/ionic/svg/chevron-up-circle-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-up-circle.svg +1 -1
- package/dist/ionic/svg/chevron-up-outline.svg +1 -1
- package/dist/ionic/svg/chevron-up-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-up.svg +1 -1
- package/dist/ionic/svg/clipboard-outline.svg +1 -1
- package/dist/ionic/svg/clipboard-sharp.svg +1 -1
- package/dist/ionic/svg/clipboard.svg +1 -1
- package/dist/ionic/svg/close-circle-outline.svg +1 -1
- package/dist/ionic/svg/close-circle-sharp.svg +1 -1
- package/dist/ionic/svg/close-circle.svg +1 -1
- package/dist/ionic/svg/close-outline.svg +1 -1
- package/dist/ionic/svg/close-sharp.svg +1 -1
- package/dist/ionic/svg/close.svg +1 -1
- package/dist/ionic/svg/cloud-circle-outline.svg +1 -1
- package/dist/ionic/svg/cloud-circle-sharp.svg +1 -1
- package/dist/ionic/svg/cloud-circle.svg +1 -1
- package/dist/ionic/svg/cloud-done-outline.svg +1 -1
- package/dist/ionic/svg/cloud-done-sharp.svg +1 -1
- package/dist/ionic/svg/cloud-done.svg +1 -1
- package/dist/ionic/svg/cloud-download-outline.svg +1 -1
- package/dist/ionic/svg/cloud-download-sharp.svg +1 -1
- package/dist/ionic/svg/cloud-download.svg +1 -1
- package/dist/ionic/svg/cloud-offline-outline.svg +1 -1
- package/dist/ionic/svg/cloud-offline-sharp.svg +1 -1
- package/dist/ionic/svg/cloud-offline.svg +1 -1
- package/dist/ionic/svg/cloud-outline.svg +1 -1
- package/dist/ionic/svg/cloud-sharp.svg +1 -1
- package/dist/ionic/svg/cloud-upload-outline.svg +1 -1
- package/dist/ionic/svg/cloud-upload-sharp.svg +1 -1
- package/dist/ionic/svg/cloud-upload.svg +1 -1
- package/dist/ionic/svg/cloud.svg +1 -1
- package/dist/ionic/svg/cloudy-night-outline.svg +1 -1
- package/dist/ionic/svg/cloudy-night-sharp.svg +1 -1
- package/dist/ionic/svg/cloudy-night.svg +1 -1
- package/dist/ionic/svg/cloudy-outline.svg +1 -1
- package/dist/ionic/svg/cloudy-sharp.svg +1 -1
- package/dist/ionic/svg/cloudy.svg +1 -1
- package/dist/ionic/svg/code-download-outline.svg +1 -1
- package/dist/ionic/svg/code-download-sharp.svg +1 -1
- package/dist/ionic/svg/code-download.svg +1 -1
- package/dist/ionic/svg/code-outline.svg +1 -1
- package/dist/ionic/svg/code-sharp.svg +1 -1
- package/dist/ionic/svg/code-slash-outline.svg +1 -1
- package/dist/ionic/svg/code-slash-sharp.svg +1 -1
- package/dist/ionic/svg/code-slash.svg +1 -1
- package/dist/ionic/svg/code-working-outline.svg +1 -1
- package/dist/ionic/svg/code-working-sharp.svg +1 -1
- package/dist/ionic/svg/code-working.svg +1 -1
- package/dist/ionic/svg/code.svg +1 -1
- package/dist/ionic/svg/cog-outline.svg +1 -1
- package/dist/ionic/svg/cog-sharp.svg +1 -1
- package/dist/ionic/svg/cog.svg +1 -1
- package/dist/ionic/svg/color-fill-outline.svg +1 -1
- package/dist/ionic/svg/color-fill-sharp.svg +1 -1
- package/dist/ionic/svg/color-fill.svg +1 -1
- package/dist/ionic/svg/color-filter-outline.svg +1 -1
- package/dist/ionic/svg/color-filter-sharp.svg +1 -1
- package/dist/ionic/svg/color-filter.svg +1 -1
- package/dist/ionic/svg/color-palette-outline.svg +1 -1
- package/dist/ionic/svg/color-palette-sharp.svg +1 -1
- package/dist/ionic/svg/color-palette.svg +1 -1
- package/dist/ionic/svg/color-wand-outline.svg +1 -1
- package/dist/ionic/svg/color-wand-sharp.svg +1 -1
- package/dist/ionic/svg/color-wand.svg +1 -1
- package/dist/ionic/svg/compass-outline.svg +1 -1
- package/dist/ionic/svg/compass-sharp.svg +1 -1
- package/dist/ionic/svg/compass.svg +1 -1
- package/dist/ionic/svg/construct-outline.svg +1 -1
- package/dist/ionic/svg/construct-sharp.svg +1 -1
- package/dist/ionic/svg/construct.svg +1 -1
- package/dist/ionic/svg/contract-outline.svg +1 -1
- package/dist/ionic/svg/contract-sharp.svg +1 -1
- package/dist/ionic/svg/contract.svg +1 -1
- package/dist/ionic/svg/contrast-outline.svg +1 -1
- package/dist/ionic/svg/contrast-sharp.svg +1 -1
- package/dist/ionic/svg/contrast.svg +1 -1
- package/dist/ionic/svg/copy-outline.svg +1 -1
- package/dist/ionic/svg/copy-sharp.svg +1 -1
- package/dist/ionic/svg/copy.svg +1 -1
- package/dist/ionic/svg/create-outline.svg +1 -1
- package/dist/ionic/svg/create-sharp.svg +1 -1
- package/dist/ionic/svg/create.svg +1 -1
- package/dist/ionic/svg/crop-outline.svg +1 -1
- package/dist/ionic/svg/crop-sharp.svg +1 -1
- package/dist/ionic/svg/crop.svg +1 -1
- package/dist/ionic/svg/cube-outline.svg +1 -1
- package/dist/ionic/svg/cube-sharp.svg +1 -1
- package/dist/ionic/svg/cube.svg +1 -1
- package/dist/ionic/svg/cut-outline.svg +1 -1
- package/dist/ionic/svg/cut-sharp.svg +1 -1
- package/dist/ionic/svg/cut.svg +1 -1
- package/dist/ionic/svg/desktop-outline.svg +1 -1
- package/dist/ionic/svg/desktop-sharp.svg +1 -1
- package/dist/ionic/svg/desktop.svg +1 -1
- package/dist/ionic/svg/diamond-outline.svg +1 -1
- package/dist/ionic/svg/diamond-sharp.svg +1 -1
- package/dist/ionic/svg/diamond.svg +1 -1
- package/dist/ionic/svg/dice-outline.svg +1 -1
- package/dist/ionic/svg/dice-sharp.svg +1 -1
- package/dist/ionic/svg/dice.svg +1 -1
- package/dist/ionic/svg/disc-outline.svg +1 -1
- package/dist/ionic/svg/disc-sharp.svg +1 -1
- package/dist/ionic/svg/disc.svg +1 -1
- package/dist/ionic/svg/document-attach-outline.svg +1 -1
- package/dist/ionic/svg/document-attach-sharp.svg +1 -1
- package/dist/ionic/svg/document-attach.svg +1 -1
- package/dist/ionic/svg/document-lock-outline.svg +1 -1
- package/dist/ionic/svg/document-lock-sharp.svg +1 -1
- package/dist/ionic/svg/document-lock.svg +1 -1
- package/dist/ionic/svg/document-outline.svg +1 -1
- package/dist/ionic/svg/document-sharp.svg +1 -1
- package/dist/ionic/svg/document-text-outline.svg +1 -1
- package/dist/ionic/svg/document-text-sharp.svg +1 -1
- package/dist/ionic/svg/document-text.svg +1 -1
- package/dist/ionic/svg/document.svg +1 -1
- package/dist/ionic/svg/documents-outline.svg +1 -1
- package/dist/ionic/svg/documents-sharp.svg +1 -1
- package/dist/ionic/svg/documents.svg +1 -1
- package/dist/ionic/svg/download-outline.svg +1 -1
- package/dist/ionic/svg/download-sharp.svg +1 -1
- package/dist/ionic/svg/download.svg +1 -1
- package/dist/ionic/svg/duplicate-outline.svg +1 -1
- package/dist/ionic/svg/duplicate-sharp.svg +1 -1
- package/dist/ionic/svg/duplicate.svg +1 -1
- package/dist/ionic/svg/ear-outline.svg +1 -1
- package/dist/ionic/svg/ear-sharp.svg +1 -1
- package/dist/ionic/svg/ear.svg +1 -1
- package/dist/ionic/svg/earth-outline.svg +1 -1
- package/dist/ionic/svg/earth-sharp.svg +1 -1
- package/dist/ionic/svg/earth.svg +1 -1
- package/dist/ionic/svg/easel-outline.svg +1 -1
- package/dist/ionic/svg/easel-sharp.svg +1 -1
- package/dist/ionic/svg/easel.svg +1 -1
- package/dist/ionic/svg/egg-outline.svg +1 -1
- package/dist/ionic/svg/egg-sharp.svg +1 -1
- package/dist/ionic/svg/egg.svg +1 -1
- package/dist/ionic/svg/ellipse-outline.svg +1 -1
- package/dist/ionic/svg/ellipse-sharp.svg +1 -1
- package/dist/ionic/svg/ellipse.svg +1 -1
- package/dist/ionic/svg/ellipsis-horizontal-circle-outline.svg +1 -1
- package/dist/ionic/svg/ellipsis-horizontal-circle-sharp.svg +1 -1
- package/dist/ionic/svg/ellipsis-horizontal-circle.svg +1 -1
- package/dist/ionic/svg/ellipsis-horizontal-outline.svg +1 -1
- package/dist/ionic/svg/ellipsis-horizontal-sharp.svg +1 -1
- package/dist/ionic/svg/ellipsis-horizontal.svg +1 -1
- package/dist/ionic/svg/ellipsis-vertical-circle-outline.svg +1 -1
- package/dist/ionic/svg/ellipsis-vertical-circle-sharp.svg +1 -1
- package/dist/ionic/svg/ellipsis-vertical-circle.svg +1 -1
- package/dist/ionic/svg/ellipsis-vertical-outline.svg +1 -1
- package/dist/ionic/svg/ellipsis-vertical-sharp.svg +1 -1
- package/dist/ionic/svg/ellipsis-vertical.svg +1 -1
- package/dist/ionic/svg/enter-outline.svg +1 -1
- package/dist/ionic/svg/enter-sharp.svg +1 -1
- package/dist/ionic/svg/enter.svg +1 -1
- package/dist/ionic/svg/exit-outline.svg +1 -1
- package/dist/ionic/svg/exit-sharp.svg +1 -1
- package/dist/ionic/svg/exit.svg +1 -1
- package/dist/ionic/svg/expand-outline.svg +1 -1
- package/dist/ionic/svg/expand-sharp.svg +1 -1
- package/dist/ionic/svg/expand.svg +1 -1
- package/dist/ionic/svg/extension-puzzle-outline.svg +1 -1
- package/dist/ionic/svg/extension-puzzle-sharp.svg +1 -1
- package/dist/ionic/svg/extension-puzzle.svg +1 -1
- package/dist/ionic/svg/eye-off-outline.svg +1 -1
- package/dist/ionic/svg/eye-off-sharp.svg +1 -1
- package/dist/ionic/svg/eye-off.svg +1 -1
- package/dist/ionic/svg/eye-outline.svg +1 -1
- package/dist/ionic/svg/eye-sharp.svg +1 -1
- package/dist/ionic/svg/eye.svg +1 -1
- package/dist/ionic/svg/eyedrop-outline.svg +1 -1
- package/dist/ionic/svg/eyedrop-sharp.svg +1 -1
- package/dist/ionic/svg/eyedrop.svg +1 -1
- package/dist/ionic/svg/fast-food-outline.svg +1 -1
- package/dist/ionic/svg/fast-food-sharp.svg +1 -1
- package/dist/ionic/svg/fast-food.svg +1 -1
- package/dist/ionic/svg/female-outline.svg +1 -1
- package/dist/ionic/svg/female-sharp.svg +1 -1
- package/dist/ionic/svg/female.svg +1 -1
- package/dist/ionic/svg/file-tray-full-outline.svg +1 -1
- package/dist/ionic/svg/file-tray-full-sharp.svg +1 -1
- package/dist/ionic/svg/file-tray-full.svg +1 -1
- package/dist/ionic/svg/file-tray-outline.svg +1 -1
- package/dist/ionic/svg/file-tray-sharp.svg +1 -1
- package/dist/ionic/svg/file-tray-stacked-outline.svg +1 -1
- package/dist/ionic/svg/file-tray-stacked-sharp.svg +1 -1
- package/dist/ionic/svg/file-tray-stacked.svg +1 -1
- package/dist/ionic/svg/file-tray.svg +1 -1
- package/dist/ionic/svg/film-outline.svg +1 -1
- package/dist/ionic/svg/film-sharp.svg +1 -1
- package/dist/ionic/svg/film.svg +1 -1
- package/dist/ionic/svg/filter-circle-outline.svg +1 -1
- package/dist/ionic/svg/filter-circle-sharp.svg +1 -1
- package/dist/ionic/svg/filter-circle.svg +1 -1
- package/dist/ionic/svg/filter-outline.svg +1 -1
- package/dist/ionic/svg/filter-sharp.svg +1 -1
- package/dist/ionic/svg/filter.svg +1 -1
- package/dist/ionic/svg/finger-print-outline.svg +1 -1
- package/dist/ionic/svg/finger-print-sharp.svg +1 -1
- package/dist/ionic/svg/finger-print.svg +1 -1
- package/dist/ionic/svg/fish-outline.svg +1 -1
- package/dist/ionic/svg/fish-sharp.svg +1 -1
- package/dist/ionic/svg/fish.svg +1 -1
- package/dist/ionic/svg/fitness-outline.svg +1 -1
- package/dist/ionic/svg/fitness-sharp.svg +1 -1
- package/dist/ionic/svg/fitness.svg +1 -1
- package/dist/ionic/svg/flag-outline.svg +1 -1
- package/dist/ionic/svg/flag-sharp.svg +1 -1
- package/dist/ionic/svg/flag.svg +1 -1
- package/dist/ionic/svg/flame-outline.svg +1 -1
- package/dist/ionic/svg/flame-sharp.svg +1 -1
- package/dist/ionic/svg/flame.svg +1 -1
- package/dist/ionic/svg/flash-off-outline.svg +1 -1
- package/dist/ionic/svg/flash-off-sharp.svg +1 -1
- package/dist/ionic/svg/flash-off.svg +1 -1
- package/dist/ionic/svg/flash-outline.svg +1 -1
- package/dist/ionic/svg/flash-sharp.svg +1 -1
- package/dist/ionic/svg/flash.svg +1 -1
- package/dist/ionic/svg/flashlight-outline.svg +1 -1
- package/dist/ionic/svg/flashlight-sharp.svg +1 -1
- package/dist/ionic/svg/flashlight.svg +1 -1
- package/dist/ionic/svg/flask-outline.svg +1 -1
- package/dist/ionic/svg/flask-sharp.svg +1 -1
- package/dist/ionic/svg/flask.svg +1 -1
- package/dist/ionic/svg/flower-outline.svg +1 -1
- package/dist/ionic/svg/flower-sharp.svg +1 -1
- package/dist/ionic/svg/flower.svg +1 -1
- package/dist/ionic/svg/folder-open-outline.svg +1 -1
- package/dist/ionic/svg/folder-open-sharp.svg +1 -1
- package/dist/ionic/svg/folder-open.svg +1 -1
- package/dist/ionic/svg/folder-outline.svg +1 -1
- package/dist/ionic/svg/folder-sharp.svg +1 -1
- package/dist/ionic/svg/folder.svg +1 -1
- package/dist/ionic/svg/football-outline.svg +1 -1
- package/dist/ionic/svg/football-sharp.svg +1 -1
- package/dist/ionic/svg/football.svg +1 -1
- package/dist/ionic/svg/footsteps-outline.svg +1 -1
- package/dist/ionic/svg/footsteps-sharp.svg +1 -1
- package/dist/ionic/svg/footsteps.svg +1 -1
- package/dist/ionic/svg/funnel-outline.svg +1 -1
- package/dist/ionic/svg/funnel-sharp.svg +1 -1
- package/dist/ionic/svg/funnel.svg +1 -1
- package/dist/ionic/svg/game-controller-outline.svg +1 -1
- package/dist/ionic/svg/game-controller-sharp.svg +1 -1
- package/dist/ionic/svg/game-controller.svg +1 -1
- package/dist/ionic/svg/gift-outline.svg +1 -1
- package/dist/ionic/svg/gift-sharp.svg +1 -1
- package/dist/ionic/svg/gift.svg +1 -1
- package/dist/ionic/svg/git-branch-outline.svg +1 -1
- package/dist/ionic/svg/git-branch-sharp.svg +1 -1
- package/dist/ionic/svg/git-branch.svg +1 -1
- package/dist/ionic/svg/git-commit-outline.svg +1 -1
- package/dist/ionic/svg/git-commit-sharp.svg +1 -1
- package/dist/ionic/svg/git-commit.svg +1 -1
- package/dist/ionic/svg/git-compare-outline.svg +1 -1
- package/dist/ionic/svg/git-compare-sharp.svg +1 -1
- package/dist/ionic/svg/git-compare.svg +1 -1
- package/dist/ionic/svg/git-merge-outline.svg +1 -1
- package/dist/ionic/svg/git-merge-sharp.svg +1 -1
- package/dist/ionic/svg/git-merge.svg +1 -1
- package/dist/ionic/svg/git-network-outline.svg +1 -1
- package/dist/ionic/svg/git-network-sharp.svg +1 -1
- package/dist/ionic/svg/git-network.svg +1 -1
- package/dist/ionic/svg/git-pull-request-outline.svg +1 -1
- package/dist/ionic/svg/git-pull-request-sharp.svg +1 -1
- package/dist/ionic/svg/git-pull-request.svg +1 -1
- package/dist/ionic/svg/glasses-outline.svg +1 -1
- package/dist/ionic/svg/glasses-sharp.svg +1 -1
- package/dist/ionic/svg/glasses.svg +1 -1
- package/dist/ionic/svg/globe-outline.svg +1 -1
- package/dist/ionic/svg/globe-sharp.svg +1 -1
- package/dist/ionic/svg/globe.svg +1 -1
- package/dist/ionic/svg/golf-outline.svg +1 -1
- package/dist/ionic/svg/golf-sharp.svg +1 -1
- package/dist/ionic/svg/golf.svg +1 -1
- package/dist/ionic/svg/grid-outline.svg +1 -1
- package/dist/ionic/svg/grid-sharp.svg +1 -1
- package/dist/ionic/svg/grid.svg +1 -1
- package/dist/ionic/svg/hammer-outline.svg +1 -1
- package/dist/ionic/svg/hammer-sharp.svg +1 -1
- package/dist/ionic/svg/hammer.svg +1 -1
- package/dist/ionic/svg/hand-left-outline.svg +1 -1
- package/dist/ionic/svg/hand-left-sharp.svg +1 -1
- package/dist/ionic/svg/hand-left.svg +1 -1
- package/dist/ionic/svg/hand-right-outline.svg +1 -1
- package/dist/ionic/svg/hand-right-sharp.svg +1 -1
- package/dist/ionic/svg/hand-right.svg +1 -1
- package/dist/ionic/svg/happy-outline.svg +1 -1
- package/dist/ionic/svg/happy-sharp.svg +1 -1
- package/dist/ionic/svg/happy.svg +1 -1
- package/dist/ionic/svg/hardware-chip-outline.svg +1 -1
- package/dist/ionic/svg/hardware-chip-sharp.svg +1 -1
- package/dist/ionic/svg/hardware-chip.svg +1 -1
- package/dist/ionic/svg/headset-outline.svg +1 -1
- package/dist/ionic/svg/headset-sharp.svg +1 -1
- package/dist/ionic/svg/headset.svg +1 -1
- package/dist/ionic/svg/heart-circle-outline.svg +1 -1
- package/dist/ionic/svg/heart-circle-sharp.svg +1 -1
- package/dist/ionic/svg/heart-circle.svg +1 -1
- package/dist/ionic/svg/heart-dislike-circle-outline.svg +1 -1
- package/dist/ionic/svg/heart-dislike-circle-sharp.svg +1 -1
- package/dist/ionic/svg/heart-dislike-circle.svg +1 -1
- package/dist/ionic/svg/heart-dislike-outline.svg +1 -1
- package/dist/ionic/svg/heart-dislike-sharp.svg +1 -1
- package/dist/ionic/svg/heart-dislike.svg +1 -1
- package/dist/ionic/svg/heart-half-outline.svg +1 -1
- package/dist/ionic/svg/heart-half-sharp.svg +1 -1
- package/dist/ionic/svg/heart-half.svg +1 -1
- package/dist/ionic/svg/heart-outline.svg +1 -1
- package/dist/ionic/svg/heart-sharp.svg +1 -1
- package/dist/ionic/svg/heart.svg +1 -1
- package/dist/ionic/svg/help-buoy-outline.svg +1 -1
- package/dist/ionic/svg/help-buoy-sharp.svg +1 -1
- package/dist/ionic/svg/help-buoy.svg +1 -1
- package/dist/ionic/svg/help-circle-outline.svg +1 -1
- package/dist/ionic/svg/help-circle-sharp.svg +1 -1
- package/dist/ionic/svg/help-circle.svg +1 -1
- package/dist/ionic/svg/help-outline.svg +1 -1
- package/dist/ionic/svg/help-sharp.svg +1 -1
- package/dist/ionic/svg/help.svg +1 -1
- package/dist/ionic/svg/home-outline.svg +1 -1
- package/dist/ionic/svg/home-sharp.svg +1 -1
- package/dist/ionic/svg/home.svg +1 -1
- package/dist/ionic/svg/hourglass-outline.svg +1 -1
- package/dist/ionic/svg/hourglass-sharp.svg +1 -1
- package/dist/ionic/svg/hourglass.svg +1 -1
- package/dist/ionic/svg/ice-cream-outline.svg +1 -1
- package/dist/ionic/svg/ice-cream-sharp.svg +1 -1
- package/dist/ionic/svg/ice-cream.svg +1 -1
- package/dist/ionic/svg/id-card-outline.svg +1 -1
- package/dist/ionic/svg/id-card-sharp.svg +1 -1
- package/dist/ionic/svg/id-card.svg +1 -1
- package/dist/ionic/svg/image-outline.svg +1 -1
- package/dist/ionic/svg/image-sharp.svg +1 -1
- package/dist/ionic/svg/image.svg +1 -1
- package/dist/ionic/svg/images-outline.svg +1 -1
- package/dist/ionic/svg/images-sharp.svg +1 -1
- package/dist/ionic/svg/images.svg +1 -1
- package/dist/ionic/svg/infinite-outline.svg +1 -1
- package/dist/ionic/svg/infinite-sharp.svg +1 -1
- package/dist/ionic/svg/infinite.svg +1 -1
- package/dist/ionic/svg/information-circle-outline.svg +1 -1
- package/dist/ionic/svg/information-circle-sharp.svg +1 -1
- package/dist/ionic/svg/information-circle.svg +1 -1
- package/dist/ionic/svg/information-outline.svg +1 -1
- package/dist/ionic/svg/information-sharp.svg +1 -1
- package/dist/ionic/svg/information.svg +1 -1
- package/dist/ionic/svg/invert-mode-outline.svg +1 -1
- package/dist/ionic/svg/invert-mode-sharp.svg +1 -1
- package/dist/ionic/svg/invert-mode.svg +1 -1
- package/dist/ionic/svg/journal-outline.svg +1 -1
- package/dist/ionic/svg/journal-sharp.svg +1 -1
- package/dist/ionic/svg/journal.svg +1 -1
- package/dist/ionic/svg/key-outline.svg +1 -1
- package/dist/ionic/svg/key-sharp.svg +1 -1
- package/dist/ionic/svg/key.svg +1 -1
- package/dist/ionic/svg/keypad-outline.svg +1 -1
- package/dist/ionic/svg/keypad-sharp.svg +1 -1
- package/dist/ionic/svg/keypad.svg +1 -1
- package/dist/ionic/svg/language-outline.svg +1 -1
- package/dist/ionic/svg/language-sharp.svg +1 -1
- package/dist/ionic/svg/language.svg +1 -1
- package/dist/ionic/svg/laptop-outline.svg +1 -1
- package/dist/ionic/svg/laptop-sharp.svg +1 -1
- package/dist/ionic/svg/laptop.svg +1 -1
- package/dist/ionic/svg/layers-outline.svg +1 -1
- package/dist/ionic/svg/layers-sharp.svg +1 -1
- package/dist/ionic/svg/layers.svg +1 -1
- package/dist/ionic/svg/leaf-outline.svg +1 -1
- package/dist/ionic/svg/leaf-sharp.svg +1 -1
- package/dist/ionic/svg/leaf.svg +1 -1
- package/dist/ionic/svg/library-outline.svg +1 -1
- package/dist/ionic/svg/library-sharp.svg +1 -1
- package/dist/ionic/svg/library.svg +1 -1
- package/dist/ionic/svg/link-outline.svg +1 -1
- package/dist/ionic/svg/link-sharp.svg +1 -1
- package/dist/ionic/svg/link.svg +1 -1
- package/dist/ionic/svg/list-circle-outline.svg +1 -1
- package/dist/ionic/svg/list-circle-sharp.svg +1 -1
- package/dist/ionic/svg/list-circle.svg +1 -1
- package/dist/ionic/svg/list-outline.svg +1 -1
- package/dist/ionic/svg/list-sharp.svg +1 -1
- package/dist/ionic/svg/list.svg +1 -1
- package/dist/ionic/svg/locate-outline.svg +1 -1
- package/dist/ionic/svg/locate-sharp.svg +1 -1
- package/dist/ionic/svg/locate.svg +1 -1
- package/dist/ionic/svg/location-outline.svg +1 -1
- package/dist/ionic/svg/location-sharp.svg +1 -1
- package/dist/ionic/svg/location.svg +1 -1
- package/dist/ionic/svg/lock-closed-outline.svg +1 -1
- package/dist/ionic/svg/lock-closed-sharp.svg +1 -1
- package/dist/ionic/svg/lock-closed.svg +1 -1
- package/dist/ionic/svg/lock-open-outline.svg +1 -1
- package/dist/ionic/svg/lock-open-sharp.svg +1 -1
- package/dist/ionic/svg/lock-open.svg +1 -1
- package/dist/ionic/svg/log-in-outline.svg +1 -1
- package/dist/ionic/svg/log-in-sharp.svg +1 -1
- package/dist/ionic/svg/log-in.svg +1 -1
- package/dist/ionic/svg/log-out-outline.svg +1 -1
- package/dist/ionic/svg/log-out-sharp.svg +1 -1
- package/dist/ionic/svg/log-out.svg +1 -1
- package/dist/ionic/svg/logo-alipay.svg +1 -1
- package/dist/ionic/svg/logo-amazon.svg +1 -1
- package/dist/ionic/svg/logo-amplify.svg +1 -1
- package/dist/ionic/svg/logo-android.svg +1 -1
- package/dist/ionic/svg/logo-angular.svg +1 -1
- package/dist/ionic/svg/logo-appflow.svg +1 -0
- package/dist/ionic/svg/logo-apple-appstore.svg +1 -1
- package/dist/ionic/svg/logo-apple-ar.svg +1 -1
- package/dist/ionic/svg/logo-apple.svg +1 -1
- package/dist/ionic/svg/logo-behance.svg +1 -1
- package/dist/ionic/svg/logo-bitbucket.svg +1 -1
- package/dist/ionic/svg/logo-bitcoin.svg +1 -1
- package/dist/ionic/svg/logo-buffer.svg +1 -1
- package/dist/ionic/svg/logo-capacitor.svg +1 -1
- package/dist/ionic/svg/logo-chrome.svg +1 -1
- package/dist/ionic/svg/logo-closed-captioning.svg +1 -1
- package/dist/ionic/svg/logo-codepen.svg +1 -1
- package/dist/ionic/svg/logo-css3.svg +1 -1
- package/dist/ionic/svg/logo-designernews.svg +1 -1
- package/dist/ionic/svg/logo-deviantart.svg +1 -1
- package/dist/ionic/svg/logo-discord.svg +1 -1
- package/dist/ionic/svg/logo-docker.svg +1 -1
- package/dist/ionic/svg/logo-dribbble.svg +1 -1
- package/dist/ionic/svg/logo-dropbox.svg +1 -1
- package/dist/ionic/svg/logo-edge.svg +1 -1
- package/dist/ionic/svg/logo-electron.svg +1 -1
- package/dist/ionic/svg/logo-euro.svg +1 -1
- package/dist/ionic/svg/logo-facebook.svg +1 -1
- package/dist/ionic/svg/logo-figma.svg +1 -1
- package/dist/ionic/svg/logo-firebase.svg +1 -1
- package/dist/ionic/svg/logo-firefox.svg +1 -1
- package/dist/ionic/svg/logo-flickr.svg +1 -1
- package/dist/ionic/svg/logo-foursquare.svg +1 -1
- package/dist/ionic/svg/logo-github.svg +1 -1
- package/dist/ionic/svg/logo-gitlab.svg +1 -1
- package/dist/ionic/svg/logo-google-playstore.svg +1 -1
- package/dist/ionic/svg/logo-google.svg +1 -1
- package/dist/ionic/svg/logo-hackernews.svg +1 -1
- package/dist/ionic/svg/logo-html5.svg +1 -1
- package/dist/ionic/svg/logo-instagram.svg +1 -1
- package/dist/ionic/svg/logo-ionic.svg +1 -1
- package/dist/ionic/svg/logo-ionitron.svg +1 -1
- package/dist/ionic/svg/logo-javascript.svg +1 -1
- package/dist/ionic/svg/logo-laravel.svg +1 -1
- package/dist/ionic/svg/logo-linkedin.svg +1 -1
- package/dist/ionic/svg/logo-markdown.svg +1 -1
- package/dist/ionic/svg/logo-mastodon.svg +1 -1
- package/dist/ionic/svg/logo-medium.svg +1 -1
- package/dist/ionic/svg/logo-microsoft.svg +1 -1
- package/dist/ionic/svg/logo-no-smoking.svg +1 -1
- package/dist/ionic/svg/logo-nodejs.svg +1 -1
- package/dist/ionic/svg/logo-npm.svg +1 -1
- package/dist/ionic/svg/logo-octocat.svg +1 -1
- package/dist/ionic/svg/logo-paypal.svg +1 -1
- package/dist/ionic/svg/logo-pinterest.svg +1 -1
- package/dist/ionic/svg/logo-playstation.svg +1 -1
- package/dist/ionic/svg/logo-pwa.svg +1 -1
- package/dist/ionic/svg/logo-python.svg +1 -1
- package/dist/ionic/svg/logo-react.svg +1 -1
- package/dist/ionic/svg/logo-reddit.svg +1 -1
- package/dist/ionic/svg/logo-rss.svg +1 -1
- package/dist/ionic/svg/logo-sass.svg +1 -1
- package/dist/ionic/svg/logo-skype.svg +1 -1
- package/dist/ionic/svg/logo-slack.svg +1 -1
- package/dist/ionic/svg/logo-snapchat.svg +1 -1
- package/dist/ionic/svg/logo-soundcloud.svg +1 -1
- package/dist/ionic/svg/logo-stackoverflow.svg +1 -1
- package/dist/ionic/svg/logo-steam.svg +1 -1
- package/dist/ionic/svg/logo-stencil.svg +1 -1
- package/dist/ionic/svg/logo-tableau.svg +1 -1
- package/dist/ionic/svg/logo-threads.svg +1 -0
- package/dist/ionic/svg/logo-tiktok.svg +1 -1
- package/dist/ionic/svg/logo-trapeze.svg +1 -0
- package/dist/ionic/svg/logo-tumblr.svg +1 -1
- package/dist/ionic/svg/logo-tux.svg +1 -1
- package/dist/ionic/svg/logo-twitch.svg +1 -1
- package/dist/ionic/svg/logo-twitter.svg +1 -1
- package/dist/ionic/svg/logo-usd.svg +1 -1
- package/dist/ionic/svg/logo-venmo.svg +1 -1
- package/dist/ionic/svg/logo-vercel.svg +1 -1
- package/dist/ionic/svg/logo-vimeo.svg +1 -1
- package/dist/ionic/svg/logo-vk.svg +1 -1
- package/dist/ionic/svg/logo-vue.svg +1 -1
- package/dist/ionic/svg/logo-web-component.svg +1 -1
- package/dist/ionic/svg/logo-wechat.svg +1 -1
- package/dist/ionic/svg/logo-whatsapp.svg +1 -1
- package/dist/ionic/svg/logo-windows.svg +1 -1
- package/dist/ionic/svg/logo-wordpress.svg +1 -1
- package/dist/ionic/svg/logo-x.svg +1 -0
- package/dist/ionic/svg/logo-xbox.svg +1 -1
- package/dist/ionic/svg/logo-xing.svg +1 -1
- package/dist/ionic/svg/logo-yahoo.svg +1 -1
- package/dist/ionic/svg/logo-yen.svg +1 -1
- package/dist/ionic/svg/logo-youtube.svg +1 -1
- package/dist/ionic/svg/magnet-outline.svg +1 -1
- package/dist/ionic/svg/magnet-sharp.svg +1 -1
- package/dist/ionic/svg/magnet.svg +1 -1
- package/dist/ionic/svg/mail-open-outline.svg +1 -1
- package/dist/ionic/svg/mail-open-sharp.svg +1 -1
- package/dist/ionic/svg/mail-open.svg +1 -1
- package/dist/ionic/svg/mail-outline.svg +1 -1
- package/dist/ionic/svg/mail-sharp.svg +1 -1
- package/dist/ionic/svg/mail-unread-outline.svg +1 -1
- package/dist/ionic/svg/mail-unread-sharp.svg +1 -1
- package/dist/ionic/svg/mail-unread.svg +1 -1
- package/dist/ionic/svg/mail.svg +1 -1
- package/dist/ionic/svg/male-female-outline.svg +1 -1
- package/dist/ionic/svg/male-female-sharp.svg +1 -1
- package/dist/ionic/svg/male-female.svg +1 -1
- package/dist/ionic/svg/male-outline.svg +1 -1
- package/dist/ionic/svg/male-sharp.svg +1 -1
- package/dist/ionic/svg/male.svg +1 -1
- package/dist/ionic/svg/man-outline.svg +1 -1
- package/dist/ionic/svg/man-sharp.svg +1 -1
- package/dist/ionic/svg/man.svg +1 -1
- package/dist/ionic/svg/map-outline.svg +1 -1
- package/dist/ionic/svg/map-sharp.svg +1 -1
- package/dist/ionic/svg/map.svg +1 -1
- package/dist/ionic/svg/medal-outline.svg +1 -1
- package/dist/ionic/svg/medal-sharp.svg +1 -1
- package/dist/ionic/svg/medal.svg +1 -1
- package/dist/ionic/svg/medical-outline.svg +1 -1
- package/dist/ionic/svg/medical-sharp.svg +1 -1
- package/dist/ionic/svg/medical.svg +1 -1
- package/dist/ionic/svg/medkit-outline.svg +1 -1
- package/dist/ionic/svg/medkit-sharp.svg +1 -1
- package/dist/ionic/svg/medkit.svg +1 -1
- package/dist/ionic/svg/megaphone-outline.svg +1 -1
- package/dist/ionic/svg/megaphone-sharp.svg +1 -1
- package/dist/ionic/svg/megaphone.svg +1 -1
- package/dist/ionic/svg/menu-outline.svg +1 -1
- package/dist/ionic/svg/menu-sharp.svg +1 -1
- package/dist/ionic/svg/menu.svg +1 -1
- package/dist/ionic/svg/mic-circle-outline.svg +1 -1
- package/dist/ionic/svg/mic-circle-sharp.svg +1 -1
- package/dist/ionic/svg/mic-circle.svg +1 -1
- package/dist/ionic/svg/mic-off-circle-outline.svg +1 -1
- package/dist/ionic/svg/mic-off-circle-sharp.svg +1 -1
- package/dist/ionic/svg/mic-off-circle.svg +1 -1
- package/dist/ionic/svg/mic-off-outline.svg +1 -1
- package/dist/ionic/svg/mic-off-sharp.svg +1 -1
- package/dist/ionic/svg/mic-off.svg +1 -1
- package/dist/ionic/svg/mic-outline.svg +1 -1
- package/dist/ionic/svg/mic-sharp.svg +1 -1
- package/dist/ionic/svg/mic.svg +1 -1
- package/dist/ionic/svg/moon-outline.svg +1 -1
- package/dist/ionic/svg/moon-sharp.svg +1 -1
- package/dist/ionic/svg/moon.svg +1 -1
- package/dist/ionic/svg/move-outline.svg +1 -1
- package/dist/ionic/svg/move-sharp.svg +1 -1
- package/dist/ionic/svg/move.svg +1 -1
- package/dist/ionic/svg/musical-note-outline.svg +1 -1
- package/dist/ionic/svg/musical-note-sharp.svg +1 -1
- package/dist/ionic/svg/musical-note.svg +1 -1
- package/dist/ionic/svg/musical-notes-outline.svg +1 -1
- package/dist/ionic/svg/musical-notes-sharp.svg +1 -1
- package/dist/ionic/svg/musical-notes.svg +1 -1
- package/dist/ionic/svg/navigate-circle-outline.svg +1 -1
- package/dist/ionic/svg/navigate-circle-sharp.svg +1 -1
- package/dist/ionic/svg/navigate-circle.svg +1 -1
- package/dist/ionic/svg/navigate-outline.svg +1 -1
- package/dist/ionic/svg/navigate-sharp.svg +1 -1
- package/dist/ionic/svg/navigate.svg +1 -1
- package/dist/ionic/svg/newspaper-outline.svg +1 -1
- package/dist/ionic/svg/newspaper-sharp.svg +1 -1
- package/dist/ionic/svg/newspaper.svg +1 -1
- package/dist/ionic/svg/notifications-circle-outline.svg +1 -1
- package/dist/ionic/svg/notifications-circle-sharp.svg +1 -1
- package/dist/ionic/svg/notifications-circle.svg +1 -1
- package/dist/ionic/svg/notifications-off-circle-outline.svg +1 -1
- package/dist/ionic/svg/notifications-off-circle-sharp.svg +1 -1
- package/dist/ionic/svg/notifications-off-circle.svg +1 -1
- package/dist/ionic/svg/notifications-off-outline.svg +1 -1
- package/dist/ionic/svg/notifications-off-sharp.svg +1 -1
- package/dist/ionic/svg/notifications-off.svg +1 -1
- package/dist/ionic/svg/notifications-outline.svg +1 -1
- package/dist/ionic/svg/notifications-sharp.svg +1 -1
- package/dist/ionic/svg/notifications.svg +1 -1
- package/dist/ionic/svg/nuclear-outline.svg +1 -1
- package/dist/ionic/svg/nuclear-sharp.svg +1 -1
- package/dist/ionic/svg/nuclear.svg +1 -1
- package/dist/ionic/svg/nutrition-outline.svg +1 -1
- package/dist/ionic/svg/nutrition-sharp.svg +1 -1
- package/dist/ionic/svg/nutrition.svg +1 -1
- package/dist/ionic/svg/open-outline.svg +1 -1
- package/dist/ionic/svg/open-sharp.svg +1 -1
- package/dist/ionic/svg/open.svg +1 -1
- package/dist/ionic/svg/options-outline.svg +1 -1
- package/dist/ionic/svg/options-sharp.svg +1 -1
- package/dist/ionic/svg/options.svg +1 -1
- package/dist/ionic/svg/paper-plane-outline.svg +1 -1
- package/dist/ionic/svg/paper-plane-sharp.svg +1 -1
- package/dist/ionic/svg/paper-plane.svg +1 -1
- package/dist/ionic/svg/partly-sunny-outline.svg +1 -1
- package/dist/ionic/svg/partly-sunny-sharp.svg +1 -1
- package/dist/ionic/svg/partly-sunny.svg +1 -1
- package/dist/ionic/svg/pause-circle-outline.svg +1 -1
- package/dist/ionic/svg/pause-circle-sharp.svg +1 -1
- package/dist/ionic/svg/pause-circle.svg +1 -1
- package/dist/ionic/svg/pause-outline.svg +1 -1
- package/dist/ionic/svg/pause-sharp.svg +1 -1
- package/dist/ionic/svg/pause.svg +1 -1
- package/dist/ionic/svg/paw-outline.svg +1 -1
- package/dist/ionic/svg/paw-sharp.svg +1 -1
- package/dist/ionic/svg/paw.svg +1 -1
- package/dist/ionic/svg/pencil-outline.svg +1 -1
- package/dist/ionic/svg/pencil-sharp.svg +1 -1
- package/dist/ionic/svg/pencil.svg +1 -1
- package/dist/ionic/svg/people-circle-outline.svg +1 -1
- package/dist/ionic/svg/people-circle-sharp.svg +1 -1
- package/dist/ionic/svg/people-circle.svg +1 -1
- package/dist/ionic/svg/people-outline.svg +1 -1
- package/dist/ionic/svg/people-sharp.svg +1 -1
- package/dist/ionic/svg/people.svg +1 -1
- package/dist/ionic/svg/person-add-outline.svg +1 -1
- package/dist/ionic/svg/person-add-sharp.svg +1 -1
- package/dist/ionic/svg/person-add.svg +1 -1
- package/dist/ionic/svg/person-circle-outline.svg +1 -1
- package/dist/ionic/svg/person-circle-sharp.svg +1 -1
- package/dist/ionic/svg/person-circle.svg +1 -1
- package/dist/ionic/svg/person-outline.svg +1 -1
- package/dist/ionic/svg/person-remove-outline.svg +1 -1
- package/dist/ionic/svg/person-remove-sharp.svg +1 -1
- package/dist/ionic/svg/person-remove.svg +1 -1
- package/dist/ionic/svg/person-sharp.svg +1 -1
- package/dist/ionic/svg/person.svg +1 -1
- package/dist/ionic/svg/phone-landscape-outline.svg +1 -1
- package/dist/ionic/svg/phone-landscape-sharp.svg +1 -1
- package/dist/ionic/svg/phone-landscape.svg +1 -1
- package/dist/ionic/svg/phone-portrait-outline.svg +1 -1
- package/dist/ionic/svg/phone-portrait-sharp.svg +1 -1
- package/dist/ionic/svg/phone-portrait.svg +1 -1
- package/dist/ionic/svg/pie-chart-outline.svg +1 -1
- package/dist/ionic/svg/pie-chart-sharp.svg +1 -1
- package/dist/ionic/svg/pie-chart.svg +1 -1
- package/dist/ionic/svg/pin-outline.svg +1 -1
- package/dist/ionic/svg/pin-sharp.svg +1 -1
- package/dist/ionic/svg/pin.svg +1 -1
- package/dist/ionic/svg/pint-outline.svg +1 -1
- package/dist/ionic/svg/pint-sharp.svg +1 -1
- package/dist/ionic/svg/pint.svg +1 -1
- package/dist/ionic/svg/pizza-outline.svg +1 -1
- package/dist/ionic/svg/pizza-sharp.svg +1 -1
- package/dist/ionic/svg/pizza.svg +1 -1
- package/dist/ionic/svg/planet-outline.svg +1 -1
- package/dist/ionic/svg/planet-sharp.svg +1 -1
- package/dist/ionic/svg/planet.svg +1 -1
- package/dist/ionic/svg/play-back-circle-outline.svg +1 -1
- package/dist/ionic/svg/play-back-circle-sharp.svg +1 -1
- package/dist/ionic/svg/play-back-circle.svg +1 -1
- package/dist/ionic/svg/play-back-outline.svg +1 -1
- package/dist/ionic/svg/play-back-sharp.svg +1 -1
- package/dist/ionic/svg/play-back.svg +1 -1
- package/dist/ionic/svg/play-circle-outline.svg +1 -1
- package/dist/ionic/svg/play-circle-sharp.svg +1 -1
- package/dist/ionic/svg/play-circle.svg +1 -1
- package/dist/ionic/svg/play-forward-circle-outline.svg +1 -1
- package/dist/ionic/svg/play-forward-circle-sharp.svg +1 -1
- package/dist/ionic/svg/play-forward-circle.svg +1 -1
- package/dist/ionic/svg/play-forward-outline.svg +1 -1
- package/dist/ionic/svg/play-forward-sharp.svg +1 -1
- package/dist/ionic/svg/play-forward.svg +1 -1
- package/dist/ionic/svg/play-outline.svg +1 -1
- package/dist/ionic/svg/play-sharp.svg +1 -1
- package/dist/ionic/svg/play-skip-back-circle-outline.svg +1 -1
- package/dist/ionic/svg/play-skip-back-circle-sharp.svg +1 -1
- package/dist/ionic/svg/play-skip-back-circle.svg +1 -1
- package/dist/ionic/svg/play-skip-back-outline.svg +1 -1
- package/dist/ionic/svg/play-skip-back-sharp.svg +1 -1
- package/dist/ionic/svg/play-skip-back.svg +1 -1
- package/dist/ionic/svg/play-skip-forward-circle-outline.svg +1 -1
- package/dist/ionic/svg/play-skip-forward-circle-sharp.svg +1 -1
- package/dist/ionic/svg/play-skip-forward-circle.svg +1 -1
- package/dist/ionic/svg/play-skip-forward-outline.svg +1 -1
- package/dist/ionic/svg/play-skip-forward-sharp.svg +1 -1
- package/dist/ionic/svg/play-skip-forward.svg +1 -1
- package/dist/ionic/svg/play.svg +1 -1
- package/dist/ionic/svg/podium-outline.svg +1 -1
- package/dist/ionic/svg/podium-sharp.svg +1 -1
- package/dist/ionic/svg/podium.svg +1 -1
- package/dist/ionic/svg/power-outline.svg +1 -1
- package/dist/ionic/svg/power-sharp.svg +1 -1
- package/dist/ionic/svg/power.svg +1 -1
- package/dist/ionic/svg/pricetag-outline.svg +1 -1
- package/dist/ionic/svg/pricetag-sharp.svg +1 -1
- package/dist/ionic/svg/pricetag.svg +1 -1
- package/dist/ionic/svg/pricetags-outline.svg +1 -1
- package/dist/ionic/svg/pricetags-sharp.svg +1 -1
- package/dist/ionic/svg/pricetags.svg +1 -1
- package/dist/ionic/svg/print-outline.svg +1 -1
- package/dist/ionic/svg/print-sharp.svg +1 -1
- package/dist/ionic/svg/print.svg +1 -1
- package/dist/ionic/svg/prism-outline.svg +1 -1
- package/dist/ionic/svg/prism-sharp.svg +1 -1
- package/dist/ionic/svg/prism.svg +1 -1
- package/dist/ionic/svg/pulse-outline.svg +1 -1
- package/dist/ionic/svg/pulse-sharp.svg +1 -1
- package/dist/ionic/svg/pulse.svg +1 -1
- package/dist/ionic/svg/push-outline.svg +1 -1
- package/dist/ionic/svg/push-sharp.svg +1 -1
- package/dist/ionic/svg/push.svg +1 -1
- package/dist/ionic/svg/qr-code-outline.svg +1 -1
- package/dist/ionic/svg/qr-code-sharp.svg +1 -1
- package/dist/ionic/svg/qr-code.svg +1 -1
- package/dist/ionic/svg/radio-button-off-outline.svg +1 -1
- package/dist/ionic/svg/radio-button-off-sharp.svg +1 -1
- package/dist/ionic/svg/radio-button-off.svg +1 -1
- package/dist/ionic/svg/radio-button-on-outline.svg +1 -1
- package/dist/ionic/svg/radio-button-on-sharp.svg +1 -1
- package/dist/ionic/svg/radio-button-on.svg +1 -1
- package/dist/ionic/svg/radio-outline.svg +1 -1
- package/dist/ionic/svg/radio-sharp.svg +1 -1
- package/dist/ionic/svg/radio.svg +1 -1
- package/dist/ionic/svg/rainy-outline.svg +1 -1
- package/dist/ionic/svg/rainy-sharp.svg +1 -1
- package/dist/ionic/svg/rainy.svg +1 -1
- package/dist/ionic/svg/reader-outline.svg +1 -1
- package/dist/ionic/svg/reader-sharp.svg +1 -1
- package/dist/ionic/svg/reader.svg +1 -1
- package/dist/ionic/svg/receipt-outline.svg +1 -1
- package/dist/ionic/svg/receipt-sharp.svg +1 -1
- package/dist/ionic/svg/receipt.svg +1 -1
- package/dist/ionic/svg/recording-outline.svg +1 -1
- package/dist/ionic/svg/recording-sharp.svg +1 -1
- package/dist/ionic/svg/recording.svg +1 -1
- package/dist/ionic/svg/refresh-circle-outline.svg +1 -1
- package/dist/ionic/svg/refresh-circle-sharp.svg +1 -1
- package/dist/ionic/svg/refresh-circle.svg +1 -1
- package/dist/ionic/svg/refresh-outline.svg +1 -1
- package/dist/ionic/svg/refresh-sharp.svg +1 -1
- package/dist/ionic/svg/refresh.svg +1 -1
- package/dist/ionic/svg/reload-circle-outline.svg +1 -1
- package/dist/ionic/svg/reload-circle-sharp.svg +1 -1
- package/dist/ionic/svg/reload-circle.svg +1 -1
- package/dist/ionic/svg/reload-outline.svg +1 -1
- package/dist/ionic/svg/reload-sharp.svg +1 -1
- package/dist/ionic/svg/reload.svg +1 -1
- package/dist/ionic/svg/remove-circle-outline.svg +1 -1
- package/dist/ionic/svg/remove-circle-sharp.svg +1 -1
- package/dist/ionic/svg/remove-circle.svg +1 -1
- package/dist/ionic/svg/remove-outline.svg +1 -1
- package/dist/ionic/svg/remove-sharp.svg +1 -1
- package/dist/ionic/svg/remove.svg +1 -1
- package/dist/ionic/svg/reorder-four-outline.svg +1 -1
- package/dist/ionic/svg/reorder-four-sharp.svg +1 -1
- package/dist/ionic/svg/reorder-four.svg +1 -1
- package/dist/ionic/svg/reorder-three-outline.svg +1 -1
- package/dist/ionic/svg/reorder-three-sharp.svg +1 -1
- package/dist/ionic/svg/reorder-three.svg +1 -1
- package/dist/ionic/svg/reorder-two-outline.svg +1 -1
- package/dist/ionic/svg/reorder-two-sharp.svg +1 -1
- package/dist/ionic/svg/reorder-two.svg +1 -1
- package/dist/ionic/svg/repeat-outline.svg +1 -1
- package/dist/ionic/svg/repeat-sharp.svg +1 -1
- package/dist/ionic/svg/repeat.svg +1 -1
- package/dist/ionic/svg/resize-outline.svg +1 -1
- package/dist/ionic/svg/resize-sharp.svg +1 -1
- package/dist/ionic/svg/resize.svg +1 -1
- package/dist/ionic/svg/restaurant-outline.svg +1 -1
- package/dist/ionic/svg/restaurant-sharp.svg +1 -1
- package/dist/ionic/svg/restaurant.svg +1 -1
- package/dist/ionic/svg/return-down-back-outline.svg +1 -1
- package/dist/ionic/svg/return-down-back-sharp.svg +1 -1
- package/dist/ionic/svg/return-down-back.svg +1 -1
- package/dist/ionic/svg/return-down-forward-outline.svg +1 -1
- package/dist/ionic/svg/return-down-forward-sharp.svg +1 -1
- package/dist/ionic/svg/return-down-forward.svg +1 -1
- package/dist/ionic/svg/return-up-back-outline.svg +1 -1
- package/dist/ionic/svg/return-up-back-sharp.svg +1 -1
- package/dist/ionic/svg/return-up-back.svg +1 -1
- package/dist/ionic/svg/return-up-forward-outline.svg +1 -1
- package/dist/ionic/svg/return-up-forward-sharp.svg +1 -1
- package/dist/ionic/svg/return-up-forward.svg +1 -1
- package/dist/ionic/svg/ribbon-outline.svg +1 -1
- package/dist/ionic/svg/ribbon-sharp.svg +1 -1
- package/dist/ionic/svg/ribbon.svg +1 -1
- package/dist/ionic/svg/rocket-outline.svg +1 -1
- package/dist/ionic/svg/rocket-sharp.svg +1 -1
- package/dist/ionic/svg/rocket.svg +1 -1
- package/dist/ionic/svg/rose-outline.svg +1 -1
- package/dist/ionic/svg/rose-sharp.svg +1 -1
- package/dist/ionic/svg/rose.svg +1 -1
- package/dist/ionic/svg/sad-outline.svg +1 -1
- package/dist/ionic/svg/sad-sharp.svg +1 -1
- package/dist/ionic/svg/sad.svg +1 -1
- package/dist/ionic/svg/save-outline.svg +1 -1
- package/dist/ionic/svg/save-sharp.svg +1 -1
- package/dist/ionic/svg/save.svg +1 -1
- package/dist/ionic/svg/scale-outline.svg +1 -1
- package/dist/ionic/svg/scale-sharp.svg +1 -1
- package/dist/ionic/svg/scale.svg +1 -1
- package/dist/ionic/svg/scan-circle-outline.svg +1 -1
- package/dist/ionic/svg/scan-circle-sharp.svg +1 -1
- package/dist/ionic/svg/scan-circle.svg +1 -1
- package/dist/ionic/svg/scan-outline.svg +1 -1
- package/dist/ionic/svg/scan-sharp.svg +1 -1
- package/dist/ionic/svg/scan.svg +1 -1
- package/dist/ionic/svg/school-outline.svg +1 -1
- package/dist/ionic/svg/school-sharp.svg +1 -1
- package/dist/ionic/svg/school.svg +1 -1
- package/dist/ionic/svg/search-circle-outline.svg +1 -1
- package/dist/ionic/svg/search-circle-sharp.svg +1 -1
- package/dist/ionic/svg/search-circle.svg +1 -1
- package/dist/ionic/svg/search-outline.svg +1 -1
- package/dist/ionic/svg/search-sharp.svg +1 -1
- package/dist/ionic/svg/search.svg +1 -1
- package/dist/ionic/svg/send-outline.svg +1 -1
- package/dist/ionic/svg/send-sharp.svg +1 -1
- package/dist/ionic/svg/send.svg +1 -1
- package/dist/ionic/svg/server-outline.svg +1 -1
- package/dist/ionic/svg/server-sharp.svg +1 -1
- package/dist/ionic/svg/server.svg +1 -1
- package/dist/ionic/svg/settings-outline.svg +1 -1
- package/dist/ionic/svg/settings-sharp.svg +1 -1
- package/dist/ionic/svg/settings.svg +1 -1
- package/dist/ionic/svg/shapes-outline.svg +1 -1
- package/dist/ionic/svg/shapes-sharp.svg +1 -1
- package/dist/ionic/svg/shapes.svg +1 -1
- package/dist/ionic/svg/share-outline.svg +1 -1
- package/dist/ionic/svg/share-sharp.svg +1 -1
- package/dist/ionic/svg/share-social-outline.svg +1 -1
- package/dist/ionic/svg/share-social-sharp.svg +1 -1
- package/dist/ionic/svg/share-social.svg +1 -1
- package/dist/ionic/svg/share.svg +1 -1
- package/dist/ionic/svg/shield-checkmark-outline.svg +1 -1
- package/dist/ionic/svg/shield-checkmark-sharp.svg +1 -1
- package/dist/ionic/svg/shield-checkmark.svg +1 -1
- package/dist/ionic/svg/shield-half-outline.svg +1 -1
- package/dist/ionic/svg/shield-half-sharp.svg +1 -1
- package/dist/ionic/svg/shield-half.svg +1 -1
- package/dist/ionic/svg/shield-outline.svg +1 -1
- package/dist/ionic/svg/shield-sharp.svg +1 -1
- package/dist/ionic/svg/shield.svg +1 -1
- package/dist/ionic/svg/shirt-outline.svg +1 -1
- package/dist/ionic/svg/shirt-sharp.svg +1 -1
- package/dist/ionic/svg/shirt.svg +1 -1
- package/dist/ionic/svg/shuffle-outline.svg +1 -1
- package/dist/ionic/svg/shuffle-sharp.svg +1 -1
- package/dist/ionic/svg/shuffle.svg +1 -1
- package/dist/ionic/svg/skull-outline.svg +1 -1
- package/dist/ionic/svg/skull-sharp.svg +1 -1
- package/dist/ionic/svg/skull.svg +1 -1
- package/dist/ionic/svg/snow-outline.svg +1 -1
- package/dist/ionic/svg/snow-sharp.svg +1 -1
- package/dist/ionic/svg/snow.svg +1 -1
- package/dist/ionic/svg/sparkles-outline.svg +1 -1
- package/dist/ionic/svg/sparkles-sharp.svg +1 -1
- package/dist/ionic/svg/sparkles.svg +1 -1
- package/dist/ionic/svg/speedometer-outline.svg +1 -1
- package/dist/ionic/svg/speedometer-sharp.svg +1 -1
- package/dist/ionic/svg/speedometer.svg +1 -1
- package/dist/ionic/svg/square-outline.svg +1 -1
- package/dist/ionic/svg/square-sharp.svg +1 -1
- package/dist/ionic/svg/square.svg +1 -1
- package/dist/ionic/svg/star-half-outline.svg +1 -1
- package/dist/ionic/svg/star-half-sharp.svg +1 -1
- package/dist/ionic/svg/star-half.svg +1 -1
- package/dist/ionic/svg/star-outline.svg +1 -1
- package/dist/ionic/svg/star-sharp.svg +1 -1
- package/dist/ionic/svg/star.svg +1 -1
- package/dist/ionic/svg/stats-chart-outline.svg +1 -1
- package/dist/ionic/svg/stats-chart-sharp.svg +1 -1
- package/dist/ionic/svg/stats-chart.svg +1 -1
- package/dist/ionic/svg/stop-circle-outline.svg +1 -1
- package/dist/ionic/svg/stop-circle-sharp.svg +1 -1
- package/dist/ionic/svg/stop-circle.svg +1 -1
- package/dist/ionic/svg/stop-outline.svg +1 -1
- package/dist/ionic/svg/stop-sharp.svg +1 -1
- package/dist/ionic/svg/stop.svg +1 -1
- package/dist/ionic/svg/stopwatch-outline.svg +1 -1
- package/dist/ionic/svg/stopwatch-sharp.svg +1 -1
- package/dist/ionic/svg/stopwatch.svg +1 -1
- package/dist/ionic/svg/storefront-outline.svg +1 -1
- package/dist/ionic/svg/storefront-sharp.svg +1 -1
- package/dist/ionic/svg/storefront.svg +1 -1
- package/dist/ionic/svg/subway-outline.svg +1 -1
- package/dist/ionic/svg/subway-sharp.svg +1 -1
- package/dist/ionic/svg/subway.svg +1 -1
- package/dist/ionic/svg/sunny-outline.svg +1 -1
- package/dist/ionic/svg/sunny-sharp.svg +1 -1
- package/dist/ionic/svg/sunny.svg +1 -1
- package/dist/ionic/svg/swap-horizontal-outline.svg +1 -1
- package/dist/ionic/svg/swap-horizontal-sharp.svg +1 -1
- package/dist/ionic/svg/swap-horizontal.svg +1 -1
- package/dist/ionic/svg/swap-vertical-outline.svg +1 -1
- package/dist/ionic/svg/swap-vertical-sharp.svg +1 -1
- package/dist/ionic/svg/swap-vertical.svg +1 -1
- package/dist/ionic/svg/sync-circle-outline.svg +1 -1
- package/dist/ionic/svg/sync-circle-sharp.svg +1 -1
- package/dist/ionic/svg/sync-circle.svg +1 -1
- package/dist/ionic/svg/sync-outline.svg +1 -1
- package/dist/ionic/svg/sync-sharp.svg +1 -1
- package/dist/ionic/svg/sync.svg +1 -1
- package/dist/ionic/svg/tablet-landscape-outline.svg +1 -1
- package/dist/ionic/svg/tablet-landscape-sharp.svg +1 -1
- package/dist/ionic/svg/tablet-landscape.svg +1 -1
- package/dist/ionic/svg/tablet-portrait-outline.svg +1 -1
- package/dist/ionic/svg/tablet-portrait-sharp.svg +1 -1
- package/dist/ionic/svg/tablet-portrait.svg +1 -1
- package/dist/ionic/svg/telescope-outline.svg +1 -1
- package/dist/ionic/svg/telescope-sharp.svg +1 -1
- package/dist/ionic/svg/telescope.svg +1 -1
- package/dist/ionic/svg/tennisball-outline.svg +1 -1
- package/dist/ionic/svg/tennisball-sharp.svg +1 -1
- package/dist/ionic/svg/tennisball.svg +1 -1
- package/dist/ionic/svg/terminal-outline.svg +1 -1
- package/dist/ionic/svg/terminal-sharp.svg +1 -1
- package/dist/ionic/svg/terminal.svg +1 -1
- package/dist/ionic/svg/text-outline.svg +1 -1
- package/dist/ionic/svg/text-sharp.svg +1 -1
- package/dist/ionic/svg/text.svg +1 -1
- package/dist/ionic/svg/thermometer-outline.svg +1 -1
- package/dist/ionic/svg/thermometer-sharp.svg +1 -1
- package/dist/ionic/svg/thermometer.svg +1 -1
- package/dist/ionic/svg/thumbs-down-outline.svg +1 -1
- package/dist/ionic/svg/thumbs-down-sharp.svg +1 -1
- package/dist/ionic/svg/thumbs-down.svg +1 -1
- package/dist/ionic/svg/thumbs-up-outline.svg +1 -1
- package/dist/ionic/svg/thumbs-up-sharp.svg +1 -1
- package/dist/ionic/svg/thumbs-up.svg +1 -1
- package/dist/ionic/svg/thunderstorm-outline.svg +1 -1
- package/dist/ionic/svg/thunderstorm-sharp.svg +1 -1
- package/dist/ionic/svg/thunderstorm.svg +1 -1
- package/dist/ionic/svg/ticket-outline.svg +1 -1
- package/dist/ionic/svg/ticket-sharp.svg +1 -1
- package/dist/ionic/svg/ticket.svg +1 -1
- package/dist/ionic/svg/time-outline.svg +1 -1
- package/dist/ionic/svg/time-sharp.svg +1 -1
- package/dist/ionic/svg/time.svg +1 -1
- package/dist/ionic/svg/timer-outline.svg +1 -1
- package/dist/ionic/svg/timer-sharp.svg +1 -1
- package/dist/ionic/svg/timer.svg +1 -1
- package/dist/ionic/svg/today-outline.svg +1 -1
- package/dist/ionic/svg/today-sharp.svg +1 -1
- package/dist/ionic/svg/today.svg +1 -1
- package/dist/ionic/svg/toggle-outline.svg +1 -1
- package/dist/ionic/svg/toggle-sharp.svg +1 -1
- package/dist/ionic/svg/toggle.svg +1 -1
- package/dist/ionic/svg/trail-sign-outline.svg +1 -1
- package/dist/ionic/svg/trail-sign-sharp.svg +1 -1
- package/dist/ionic/svg/trail-sign.svg +1 -1
- package/dist/ionic/svg/train-outline.svg +1 -1
- package/dist/ionic/svg/train-sharp.svg +1 -1
- package/dist/ionic/svg/train.svg +1 -1
- package/dist/ionic/svg/transgender-outline.svg +1 -1
- package/dist/ionic/svg/transgender-sharp.svg +1 -1
- package/dist/ionic/svg/transgender.svg +1 -1
- package/dist/ionic/svg/trash-bin-outline.svg +1 -1
- package/dist/ionic/svg/trash-bin-sharp.svg +1 -1
- package/dist/ionic/svg/trash-bin.svg +1 -1
- package/dist/ionic/svg/trash-outline.svg +1 -1
- package/dist/ionic/svg/trash-sharp.svg +1 -1
- package/dist/ionic/svg/trash.svg +1 -1
- package/dist/ionic/svg/trending-down-outline.svg +1 -1
- package/dist/ionic/svg/trending-down-sharp.svg +1 -1
- package/dist/ionic/svg/trending-down.svg +1 -1
- package/dist/ionic/svg/trending-up-outline.svg +1 -1
- package/dist/ionic/svg/trending-up-sharp.svg +1 -1
- package/dist/ionic/svg/trending-up.svg +1 -1
- package/dist/ionic/svg/triangle-outline.svg +1 -1
- package/dist/ionic/svg/triangle-sharp.svg +1 -1
- package/dist/ionic/svg/triangle.svg +1 -1
- package/dist/ionic/svg/trophy-outline.svg +1 -1
- package/dist/ionic/svg/trophy-sharp.svg +1 -1
- package/dist/ionic/svg/trophy.svg +1 -1
- package/dist/ionic/svg/tv-outline.svg +1 -1
- package/dist/ionic/svg/tv-sharp.svg +1 -1
- package/dist/ionic/svg/tv.svg +1 -1
- package/dist/ionic/svg/umbrella-outline.svg +1 -1
- package/dist/ionic/svg/umbrella-sharp.svg +1 -1
- package/dist/ionic/svg/umbrella.svg +1 -1
- package/dist/ionic/svg/unlink-outline.svg +1 -1
- package/dist/ionic/svg/unlink-sharp.svg +1 -1
- package/dist/ionic/svg/unlink.svg +1 -1
- package/dist/ionic/svg/videocam-off-outline.svg +1 -1
- package/dist/ionic/svg/videocam-off-sharp.svg +1 -1
- package/dist/ionic/svg/videocam-off.svg +1 -1
- package/dist/ionic/svg/videocam-outline.svg +1 -1
- package/dist/ionic/svg/videocam-sharp.svg +1 -1
- package/dist/ionic/svg/videocam.svg +1 -1
- package/dist/ionic/svg/volume-high-outline.svg +1 -1
- package/dist/ionic/svg/volume-high-sharp.svg +1 -1
- package/dist/ionic/svg/volume-high.svg +1 -1
- package/dist/ionic/svg/volume-low-outline.svg +1 -1
- package/dist/ionic/svg/volume-low-sharp.svg +1 -1
- package/dist/ionic/svg/volume-low.svg +1 -1
- package/dist/ionic/svg/volume-medium-outline.svg +1 -1
- package/dist/ionic/svg/volume-medium-sharp.svg +1 -1
- package/dist/ionic/svg/volume-medium.svg +1 -1
- package/dist/ionic/svg/volume-mute-outline.svg +1 -1
- package/dist/ionic/svg/volume-mute-sharp.svg +1 -1
- package/dist/ionic/svg/volume-mute.svg +1 -1
- package/dist/ionic/svg/volume-off-outline.svg +1 -1
- package/dist/ionic/svg/volume-off-sharp.svg +1 -1
- package/dist/ionic/svg/volume-off.svg +1 -1
- package/dist/ionic/svg/walk-outline.svg +1 -1
- package/dist/ionic/svg/walk-sharp.svg +1 -1
- package/dist/ionic/svg/walk.svg +1 -1
- package/dist/ionic/svg/wallet-outline.svg +1 -1
- package/dist/ionic/svg/wallet-sharp.svg +1 -1
- package/dist/ionic/svg/wallet.svg +1 -1
- package/dist/ionic/svg/warning-outline.svg +1 -1
- package/dist/ionic/svg/warning-sharp.svg +1 -1
- package/dist/ionic/svg/warning.svg +1 -1
- package/dist/ionic/svg/watch-outline.svg +1 -1
- package/dist/ionic/svg/watch-sharp.svg +1 -1
- package/dist/ionic/svg/watch.svg +1 -1
- package/dist/ionic/svg/water-outline.svg +1 -1
- package/dist/ionic/svg/water-sharp.svg +1 -1
- package/dist/ionic/svg/water.svg +1 -1
- package/dist/ionic/svg/wifi-outline.svg +1 -1
- package/dist/ionic/svg/wifi-sharp.svg +1 -1
- package/dist/ionic/svg/wifi.svg +1 -1
- package/dist/ionic/svg/wine-outline.svg +1 -1
- package/dist/ionic/svg/wine-sharp.svg +1 -1
- package/dist/ionic/svg/wine.svg +1 -1
- package/dist/ionic/svg/woman-outline.svg +1 -1
- package/dist/ionic/svg/woman-sharp.svg +1 -1
- package/dist/ionic/svg/woman.svg +1 -1
- package/dist/types/components/action-sheet/action-sheet.d.ts +5 -6
- package/dist/types/components/alert/alert.d.ts +5 -6
- package/dist/types/components/app/app.d.ts +2 -0
- package/dist/types/components/button/button.d.ts +11 -0
- package/dist/types/components/datetime/datetime-interface.d.ts +12 -3
- package/dist/types/components/datetime/datetime.d.ts +12 -0
- package/dist/types/components/datetime/utils/data.d.ts +3 -1
- package/dist/types/components/datetime/utils/manipulation.d.ts +1 -0
- package/dist/types/components/input-otp/input-otp-interface.d.ts +21 -0
- package/dist/types/components/input-otp/input-otp.d.ts +272 -0
- package/dist/types/components/item/item.d.ts +4 -0
- package/dist/types/components/loading/loading.d.ts +5 -6
- package/dist/types/components/menu/menu.d.ts +25 -3
- package/dist/types/components/modal/animations/ios.transition.d.ts +14 -0
- package/dist/types/components/modal/modal.d.ts +36 -6
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/range/range.d.ts +2 -0
- package/dist/types/components/reorder-group/reorder-group-interface.d.ts +17 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +24 -4
- package/dist/types/components/router/router.d.ts +1 -0
- package/dist/types/components/router/utils/interface.d.ts +1 -4
- package/dist/types/components/searchbar/searchbar.d.ts +1 -3
- package/dist/types/components/toast/toast.d.ts +4 -5
- package/dist/types/components.d.ts +837 -23
- package/dist/types/interface.d.ts +8 -2
- package/dist/types/stencil-public-runtime.d.ts +37 -2
- package/dist/types/utils/element-interface.d.ts +10 -0
- package/dist/types/utils/test/playwright/playwright-declarations.d.ts +5 -0
- package/hydrate/index.d.ts +44 -7
- package/hydrate/index.js +6783 -2909
- package/hydrate/index.mjs +6782 -2908
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +1 -2
- package/package.json +7 -7
- package/dist/cjs/index-073c7cdc.js +0 -57
- package/dist/cjs/index-cc858e97.js +0 -129
- package/dist/esm/index-cfd9c1f2.js +0 -121
- package/dist/esm/index-e2cf2ceb.js +0 -31
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm-es5/animation-8b25e105.js +0 -4
- package/dist/esm-es5/app-globals-dbdbb3df.js +0 -4
- package/dist/esm-es5/button-active-90f1dbc4.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/compare-with-utils-a96ff2ea.js +0 -4
- package/dist/esm-es5/config-9898ed97.js +0 -4
- package/dist/esm-es5/cubic-bezier-fe2083dc.js +0 -4
- package/dist/esm-es5/data-0d7ea6eb.js +0 -4
- package/dist/esm-es5/dir-babeabeb.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-56b467ad.js +0 -4
- package/dist/esm-es5/gesture-controller-314a54f6.js +0 -4
- package/dist/esm-es5/haptic-ac164e4c.js +0 -4
- package/dist/esm-es5/hardware-back-button-a7eb8233.js +0 -4
- package/dist/esm-es5/helpers-d94bc8ad.js +0 -4
- package/dist/esm-es5/index-18f31305.js +0 -4
- package/dist/esm-es5/index-39782642.js +0 -4
- package/dist/esm-es5/index-527b9e34.js +0 -5
- package/dist/esm-es5/index-68c0d151.js +0 -4
- package/dist/esm-es5/index-9a17db3d.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/index-be190feb.js +0 -4
- package/dist/esm-es5/index-cfd9c1f2.js +0 -5
- package/dist/esm-es5/index-e2cf2ceb.js +0 -4
- package/dist/esm-es5/index.js +0 -4
- package/dist/esm-es5/input-shims-279903e2.js +0 -4
- package/dist/esm-es5/input.utils-40504d6d.js +0 -4
- package/dist/esm-es5/ion-accordion_2.entry.js +0 -4
- package/dist/esm-es5/ion-action-sheet.entry.js +0 -4
- package/dist/esm-es5/ion-alert.entry.js +0 -4
- package/dist/esm-es5/ion-app_8.entry.js +0 -4
- package/dist/esm-es5/ion-avatar_3.entry.js +0 -4
- package/dist/esm-es5/ion-back-button.entry.js +0 -4
- package/dist/esm-es5/ion-backdrop.entry.js +0 -4
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +0 -4
- package/dist/esm-es5/ion-button_2.entry.js +0 -4
- package/dist/esm-es5/ion-card_5.entry.js +0 -4
- package/dist/esm-es5/ion-checkbox.entry.js +0 -4
- package/dist/esm-es5/ion-chip.entry.js +0 -4
- package/dist/esm-es5/ion-col_3.entry.js +0 -4
- package/dist/esm-es5/ion-datetime-button.entry.js +0 -4
- package/dist/esm-es5/ion-datetime_3.entry.js +0 -4
- package/dist/esm-es5/ion-fab_3.entry.js +0 -4
- package/dist/esm-es5/ion-img.entry.js +0 -4
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +0 -4
- package/dist/esm-es5/ion-input-password-toggle.entry.js +0 -4
- package/dist/esm-es5/ion-input.entry.js +0 -4
- package/dist/esm-es5/ion-item-option_3.entry.js +0 -4
- package/dist/esm-es5/ion-item_8.entry.js +0 -4
- package/dist/esm-es5/ion-loading.entry.js +0 -4
- package/dist/esm-es5/ion-menu_3.entry.js +0 -4
- package/dist/esm-es5/ion-modal.entry.js +0 -4
- package/dist/esm-es5/ion-nav_2.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column.entry.js +0 -4
- package/dist/esm-es5/ion-picker.entry.js +0 -4
- package/dist/esm-es5/ion-popover.entry.js +0 -4
- package/dist/esm-es5/ion-progress-bar.entry.js +0 -4
- package/dist/esm-es5/ion-radio_2.entry.js +0 -4
- package/dist/esm-es5/ion-range.entry.js +0 -4
- package/dist/esm-es5/ion-refresher_2.entry.js +0 -4
- package/dist/esm-es5/ion-reorder_2.entry.js +0 -4
- package/dist/esm-es5/ion-ripple-effect.entry.js +0 -4
- package/dist/esm-es5/ion-route_4.entry.js +0 -4
- package/dist/esm-es5/ion-searchbar.entry.js +0 -4
- package/dist/esm-es5/ion-segment-content.entry.js +0 -4
- package/dist/esm-es5/ion-segment-view.entry.js +0 -4
- package/dist/esm-es5/ion-segment_2.entry.js +0 -4
- package/dist/esm-es5/ion-select-modal.entry.js +0 -4
- package/dist/esm-es5/ion-select_3.entry.js +0 -4
- package/dist/esm-es5/ion-spinner.entry.js +0 -4
- package/dist/esm-es5/ion-split-pane.entry.js +0 -4
- package/dist/esm-es5/ion-tab-bar_2.entry.js +0 -4
- package/dist/esm-es5/ion-tab_2.entry.js +0 -4
- package/dist/esm-es5/ion-text.entry.js +0 -4
- package/dist/esm-es5/ion-textarea.entry.js +0 -4
- package/dist/esm-es5/ion-toast.entry.js +0 -4
- package/dist/esm-es5/ion-toggle.entry.js +0 -4
- package/dist/esm-es5/ionic-global-b26f573e.js +0 -4
- package/dist/esm-es5/ionic.js +0 -4
- package/dist/esm-es5/ios.transition-4047cb68.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-73175e24.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/loader.js +0 -4
- package/dist/esm-es5/lock-controller-316928be.js +0 -4
- package/dist/esm-es5/md.transition-30ce8d1b.js +0 -4
- package/dist/esm-es5/notch-controller-1a1f7183.js +0 -4
- package/dist/esm-es5/overlays-d99dcb0a.js +0 -4
- package/dist/esm-es5/spinner-configs-964f7cf3.js +0 -4
- package/dist/esm-es5/status-tap-42a8af65.js +0 -4
- package/dist/esm-es5/swipe-back-04123e7c.js +0 -4
- package/dist/esm-es5/theme-01f3f29c.js +0 -4
- package/dist/esm-es5/watch-options-c2911ace.js +0 -4
- package/dist/ionic/ionic.js +0 -127
- package/dist/ionic/p-00023f5a.system.js +0 -4
- package/dist/ionic/p-012c3ceb.system.js +0 -4
- package/dist/ionic/p-03480b95.system.entry.js +0 -4
- package/dist/ionic/p-08cef0b1.entry.js +0 -4
- package/dist/ionic/p-08e01816.system.js +0 -4
- package/dist/ionic/p-0af640d6.entry.js +0 -4
- package/dist/ionic/p-105b2e8b.entry.js +0 -4
- package/dist/ionic/p-117d0013.system.entry.js +0 -4
- package/dist/ionic/p-11dca959.entry.js +0 -4
- package/dist/ionic/p-12193821.system.js +0 -4
- package/dist/ionic/p-12830298.system.entry.js +0 -4
- package/dist/ionic/p-14154301.system.entry.js +0 -4
- package/dist/ionic/p-1706b406.system.entry.js +0 -4
- package/dist/ionic/p-17e21141.js +0 -4
- package/dist/ionic/p-19494658.system.entry.js +0 -4
- package/dist/ionic/p-1966a13c.system.js +0 -4
- package/dist/ionic/p-1974d5b2.system.js +0 -4
- package/dist/ionic/p-1a7df1c3.system.js +0 -4
- package/dist/ionic/p-1a81ac09.system.js +0 -4
- package/dist/ionic/p-1b9c59ab.js +0 -4
- package/dist/ionic/p-1d307396.system.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1e955a45.system.js +0 -4
- package/dist/ionic/p-200fc491.js +0 -4
- package/dist/ionic/p-20d469d0.system.js +0 -4
- package/dist/ionic/p-21891ead.js +0 -4
- package/dist/ionic/p-2233344a.system.js +0 -4
- package/dist/ionic/p-2469240b.entry.js +0 -4
- package/dist/ionic/p-24a6c8a3.system.entry.js +0 -4
- package/dist/ionic/p-257fb777.entry.js +0 -4
- package/dist/ionic/p-25b10f81.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2bff0e69.system.entry.js +0 -4
- package/dist/ionic/p-31dc303d.entry.js +0 -4
- package/dist/ionic/p-3535d6b5.entry.js +0 -4
- package/dist/ionic/p-35cdfd77.system.entry.js +0 -4
- package/dist/ionic/p-393ffcc2.entry.js +0 -4
- package/dist/ionic/p-39fa7dd1.system.entry.js +0 -4
- package/dist/ionic/p-3a30f31b.system.entry.js +0 -4
- package/dist/ionic/p-3e1e14d9.system.js +0 -4
- package/dist/ionic/p-42f08b26.system.entry.js +0 -4
- package/dist/ionic/p-4609d030.system.js +0 -4
- package/dist/ionic/p-481e0885.entry.js +0 -4
- package/dist/ionic/p-4a5be299.system.entry.js +0 -4
- package/dist/ionic/p-4c667fce.js +0 -4
- package/dist/ionic/p-4cf4172e.entry.js +0 -4
- package/dist/ionic/p-4da92dac.entry.js +0 -4
- package/dist/ionic/p-4ed5db19.system.js +0 -4
- package/dist/ionic/p-4f255d5a.system.js +0 -4
- package/dist/ionic/p-50cb2e8b.system.entry.js +0 -4
- package/dist/ionic/p-57957c0f.entry.js +0 -4
- package/dist/ionic/p-57d6e18e.entry.js +0 -4
- package/dist/ionic/p-57e55ecb.system.js +0 -4
- package/dist/ionic/p-5b67b447.js +0 -4
- package/dist/ionic/p-5c9feddc.system.entry.js +0 -4
- package/dist/ionic/p-5fac20aa.system.entry.js +0 -4
- package/dist/ionic/p-612096e6.system.entry.js +0 -4
- package/dist/ionic/p-6201c4ba.entry.js +0 -4
- package/dist/ionic/p-625248d0.system.js +0 -4
- package/dist/ionic/p-663413be.system.js +0 -4
- package/dist/ionic/p-6636a436.js +0 -4
- package/dist/ionic/p-66a5d6a8.js +0 -5
- package/dist/ionic/p-66df5468.system.entry.js +0 -4
- package/dist/ionic/p-67077d48.entry.js +0 -4
- package/dist/ionic/p-67cacd6d.entry.js +0 -4
- package/dist/ionic/p-6835ebdd.system.entry.js +0 -4
- package/dist/ionic/p-6b8530f5.system.entry.js +0 -4
- package/dist/ionic/p-6c474e87.entry.js +0 -4
- package/dist/ionic/p-6dd86ff5.system.entry.js +0 -4
- package/dist/ionic/p-6ec0c94a.entry.js +0 -4
- package/dist/ionic/p-6f832afe.system.entry.js +0 -4
- package/dist/ionic/p-707408c5.system.entry.js +0 -4
- package/dist/ionic/p-712c0131.entry.js +0 -4
- package/dist/ionic/p-721f43f9.entry.js +0 -4
- package/dist/ionic/p-7445a2e5.system.js +0 -4
- package/dist/ionic/p-7611ede3.system.entry.js +0 -4
- package/dist/ionic/p-781e2dbb.system.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b8c12c3.entry.js +0 -4
- package/dist/ionic/p-7c5c7ae1.system.entry.js +0 -4
- package/dist/ionic/p-7e3e6ed2.entry.js +0 -4
- package/dist/ionic/p-7ffedf77.system.entry.js +0 -4
- package/dist/ionic/p-809483ac.js +0 -4
- package/dist/ionic/p-81904a80.entry.js +0 -4
- package/dist/ionic/p-84096b45.system.js +0 -4
- package/dist/ionic/p-8450f761.entry.js +0 -4
- package/dist/ionic/p-8460d95a.entry.js +0 -4
- package/dist/ionic/p-85b01465.js +0 -4
- package/dist/ionic/p-865fe95c.entry.js +0 -4
- package/dist/ionic/p-8674af94.entry.js +0 -4
- package/dist/ionic/p-890a4ee2.entry.js +0 -4
- package/dist/ionic/p-891553d8.entry.js +0 -4
- package/dist/ionic/p-8985cdb6.system.js +0 -4
- package/dist/ionic/p-8b050e84.system.js +0 -4
- package/dist/ionic/p-8dacf4e2.entry.js +0 -4
- package/dist/ionic/p-8ededb41.js +0 -4
- package/dist/ionic/p-94551927.js +0 -4
- package/dist/ionic/p-965287fb.system.entry.js +0 -4
- package/dist/ionic/p-979d4f5c.system.js +0 -4
- package/dist/ionic/p-98fd942b.system.entry.js +0 -4
- package/dist/ionic/p-9df5043e.system.entry.js +0 -4
- package/dist/ionic/p-9e753482.system.entry.js +0 -4
- package/dist/ionic/p-a0fd2fe5.system.entry.js +0 -4
- package/dist/ionic/p-a2c6a9c8.entry.js +0 -4
- package/dist/ionic/p-a2dd5b69.system.entry.js +0 -4
- package/dist/ionic/p-a4866e3e.system.js +0 -4
- package/dist/ionic/p-a5dbe0ff.system.entry.js +0 -4
- package/dist/ionic/p-a7a97bf4.system.entry.js +0 -4
- package/dist/ionic/p-a835aca8.entry.js +0 -4
- package/dist/ionic/p-a83e3290.system.js +0 -4
- package/dist/ionic/p-a93873de.system.js +0 -4
- package/dist/ionic/p-aad57e35.entry.js +0 -4
- package/dist/ionic/p-ab7337e1.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-ad592db9.entry.js +0 -4
- package/dist/ionic/p-ae039072.entry.js +0 -4
- package/dist/ionic/p-aebfab05.system.entry.js +0 -4
- package/dist/ionic/p-b06ac4a5.system.js +0 -4
- package/dist/ionic/p-b2e7eda0.system.entry.js +0 -4
- package/dist/ionic/p-b445ff65.entry.js +0 -4
- package/dist/ionic/p-b4d17da0.system.entry.js +0 -4
- package/dist/ionic/p-b5432d15.entry.js +0 -4
- package/dist/ionic/p-b6d324f0.js +0 -4
- package/dist/ionic/p-b7b1d91a.js +0 -4
- package/dist/ionic/p-b8050298.system.entry.js +0 -4
- package/dist/ionic/p-b904cfe2.system.entry.js +0 -4
- package/dist/ionic/p-b9c793d4.entry.js +0 -4
- package/dist/ionic/p-bafc3eae.system.entry.js +0 -4
- package/dist/ionic/p-bf184319.system.entry.js +0 -4
- package/dist/ionic/p-bfb763d0.system.entry.js +0 -4
- package/dist/ionic/p-c16443a8.system.js +0 -4
- package/dist/ionic/p-c1b7d311.system.entry.js +0 -4
- package/dist/ionic/p-c2160d8c.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c5b77054.entry.js +0 -4
- package/dist/ionic/p-c5bfa3e9.entry.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-cad82569.entry.js +0 -4
- package/dist/ionic/p-d16fab3f.entry.js +0 -4
- package/dist/ionic/p-d1eb2d7f.entry.js +0 -4
- package/dist/ionic/p-d382f09c.system.js +0 -4
- package/dist/ionic/p-d8d84afa.system.js +0 -4
- package/dist/ionic/p-d984c1ab.system.entry.js +0 -4
- package/dist/ionic/p-da2b833b.js +0 -4
- package/dist/ionic/p-dabe3bd4.js +0 -4
- package/dist/ionic/p-df069a0d.entry.js +0 -4
- package/dist/ionic/p-e1678e42.entry.js +0 -4
- package/dist/ionic/p-e6068998.system.entry.js +0 -4
- package/dist/ionic/p-e673a0a2.system.js +0 -4
- package/dist/ionic/p-e727e32d.system.entry.js +0 -4
- package/dist/ionic/p-e8245753.entry.js +0 -4
- package/dist/ionic/p-e887b6a9.system.js +0 -4
- package/dist/ionic/p-f08a92cc.js +0 -4
- package/dist/ionic/p-f08dfb19.entry.js +0 -4
- package/dist/ionic/p-f0c9f8e3.system.entry.js +0 -4
- package/dist/ionic/p-f0ef39ab.entry.js +0 -4
- package/dist/ionic/p-f11a9436.system.js +0 -5
- package/dist/ionic/p-f22490a7.system.entry.js +0 -4
- package/dist/ionic/p-f6bb9be7.system.entry.js +0 -4
- package/dist/ionic/p-f6e7d104.system.js +0 -4
- package/dist/ionic/p-f725bf9e.system.js +0 -4
- package/dist/ionic/p-f9a87db2.system.entry.js +0 -4
- package/dist/ionic/p-fa3f4b96.system.js +0 -4
- package/dist/ionic/p-fe063952.system.entry.js +0 -4
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +0 -144
- package/loader/package.json +0 -11
- /package/dist/cjs/{compare-with-utils-df1001d7.js → compare-with-utils-DSicavqM.js} +0 -0
- /package/dist/cjs/{cubic-bezier-f2dccc53.js → cubic-bezier-DAjy1V-e.js} +0 -0
- /package/dist/cjs/{dir-94c21456.js → dir-Cn0z1rJH.js} +0 -0
- /package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-CCvKiLh3.js} +0 -0
- /package/dist/cjs/{index-c8d52405.js → index-DkNv4J_i.js} +0 -0
- /package/dist/cjs/{lock-controller-6585a42a.js → lock-controller-aDB9wrEf.js} +0 -0
- /package/dist/cjs/{spinner-configs-282fd50a.js → spinner-configs-DxHKnd3-.js} +0 -0
- /package/dist/cjs/{theme-d1c573d2.js → theme-CeDs6Hcv.js} +0 -0
- /package/dist/cjs/{watch-options-f5f3e158.js → watch-options-CviOsrTS.js} +0 -0
- /package/dist/esm/{compare-with-utils-a96ff2ea.js → compare-with-utils-sObYyvOy.js} +0 -0
- /package/dist/esm/{cubic-bezier-fe2083dc.js → cubic-bezier-hHmYLOfE.js} +0 -0
- /package/dist/esm/{dir-babeabeb.js → dir-C53feagD.js} +0 -0
- /package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-BmVRXR1y.js} +0 -0
- /package/dist/esm/{index-a5d50daf.js → index-ZjP4CjeZ.js} +0 -0
- /package/dist/esm/{lock-controller-316928be.js → lock-controller-B-hirT0v.js} +0 -0
- /package/dist/esm/{spinner-configs-964f7cf3.js → spinner-configs-D4RIp70E.js} +0 -0
- /package/dist/esm/{theme-01f3f29c.js → theme-DiVJyqlX.js} +0 -0
- /package/dist/esm/{watch-options-c2911ace.js → watch-options-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-ccd02320.js → p-B-hirT0v.js} +0 -0
- /package/dist/ionic/{p-9b97df10.js → p-BTEOs1at.js} +0 -0
- /package/dist/ionic/{p-d47265c8.js → p-BmVRXR1y.js} +0 -0
- /package/dist/ionic/{p-fb813dab.js → p-C53feagD.js} +0 -0
- /package/dist/ionic/{p-f0c2a614.js → p-D4RIp70E.js} +0 -0
- /package/dist/ionic/{p-47794def.js → p-DiVJyqlX.js} +0 -0
- /package/dist/ionic/{p-459d13d5.js → p-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-7b30edcc.js → p-ZjP4CjeZ.js} +0 -0
- /package/dist/ionic/{p-2408c236.js → p-hHmYLOfE.js} +0 -0
- /package/dist/ionic/{p-de756e5c.js → p-sObYyvOy.js} +0 -0
|
@@ -2,10 +2,127 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
const NAMESPACE = 'ionic';
|
|
5
|
-
const BUILD = /* ionic */ {
|
|
5
|
+
const BUILD = /* ionic */ { experimentalSlotFixes: true, hydratedSelectorName: "hydrated", lazyLoad: true, shadowDom: true, slotRelocation: true, updatable: true};
|
|
6
|
+
|
|
7
|
+
// TODO(FW-2832): types
|
|
8
|
+
class Config {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.m = new Map();
|
|
11
|
+
}
|
|
12
|
+
reset(configObj) {
|
|
13
|
+
this.m = new Map(Object.entries(configObj));
|
|
14
|
+
}
|
|
15
|
+
get(key, fallback) {
|
|
16
|
+
const value = this.m.get(key);
|
|
17
|
+
return value !== undefined ? value : fallback;
|
|
18
|
+
}
|
|
19
|
+
getBoolean(key, fallback = false) {
|
|
20
|
+
const val = this.m.get(key);
|
|
21
|
+
if (val === undefined) {
|
|
22
|
+
return fallback;
|
|
23
|
+
}
|
|
24
|
+
if (typeof val === 'string') {
|
|
25
|
+
return val === 'true';
|
|
26
|
+
}
|
|
27
|
+
return !!val;
|
|
28
|
+
}
|
|
29
|
+
getNumber(key, fallback) {
|
|
30
|
+
const val = parseFloat(this.m.get(key));
|
|
31
|
+
return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
|
|
32
|
+
}
|
|
33
|
+
set(key, value) {
|
|
34
|
+
this.m.set(key, value);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const config = /*@__PURE__*/ new Config();
|
|
38
|
+
const configFromSession = (win) => {
|
|
39
|
+
try {
|
|
40
|
+
const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
|
|
41
|
+
return configStr !== null ? JSON.parse(configStr) : {};
|
|
42
|
+
}
|
|
43
|
+
catch (e) {
|
|
44
|
+
return {};
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const saveConfig = (win, c) => {
|
|
48
|
+
try {
|
|
49
|
+
win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
|
|
50
|
+
}
|
|
51
|
+
catch (e) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
const configFromURL = (win) => {
|
|
56
|
+
const configObj = {};
|
|
57
|
+
win.location.search
|
|
58
|
+
.slice(1)
|
|
59
|
+
.split('&')
|
|
60
|
+
.map((entry) => entry.split('='))
|
|
61
|
+
.map(([key, value]) => {
|
|
62
|
+
try {
|
|
63
|
+
return [decodeURIComponent(key), decodeURIComponent(value)];
|
|
64
|
+
}
|
|
65
|
+
catch (e) {
|
|
66
|
+
return ['', ''];
|
|
67
|
+
}
|
|
68
|
+
})
|
|
69
|
+
.filter(([key]) => startsWith(key, IONIC_PREFIX))
|
|
70
|
+
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
|
|
71
|
+
.forEach(([key, value]) => {
|
|
72
|
+
configObj[key] = value;
|
|
73
|
+
});
|
|
74
|
+
return configObj;
|
|
75
|
+
};
|
|
76
|
+
const startsWith = (input, search) => {
|
|
77
|
+
return input.substr(0, search.length) === search;
|
|
78
|
+
};
|
|
79
|
+
const IONIC_PREFIX = 'ionic:';
|
|
80
|
+
const IONIC_SESSION_KEY = 'ionic-persist-config';
|
|
81
|
+
|
|
82
|
+
var LogLevel;
|
|
83
|
+
(function (LogLevel) {
|
|
84
|
+
LogLevel["OFF"] = "OFF";
|
|
85
|
+
LogLevel["ERROR"] = "ERROR";
|
|
86
|
+
LogLevel["WARN"] = "WARN";
|
|
87
|
+
})(LogLevel || (LogLevel = {}));
|
|
88
|
+
/**
|
|
89
|
+
* Logs a warning to the console with an Ionic prefix
|
|
90
|
+
* to indicate the library that is warning the developer.
|
|
91
|
+
*
|
|
92
|
+
* @param message - The string message to be logged to the console.
|
|
93
|
+
*/
|
|
94
|
+
const printIonWarning = (message, ...params) => {
|
|
95
|
+
const logLevel = config.get('logLevel', LogLevel.WARN);
|
|
96
|
+
if ([LogLevel.WARN].includes(logLevel)) {
|
|
97
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Logs an error to the console with an Ionic prefix
|
|
102
|
+
* to indicate the library that is warning the developer.
|
|
103
|
+
*
|
|
104
|
+
* @param message - The string message to be logged to the console.
|
|
105
|
+
* @param params - Additional arguments to supply to the console.error.
|
|
106
|
+
*/
|
|
107
|
+
const printIonError = (message, ...params) => {
|
|
108
|
+
const logLevel = config.get('logLevel', LogLevel.ERROR);
|
|
109
|
+
if ([LogLevel.ERROR, LogLevel.WARN].includes(logLevel)) {
|
|
110
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Prints an error informing developers that an implementation requires an element to be used
|
|
115
|
+
* within a specific selector.
|
|
116
|
+
*
|
|
117
|
+
* @param el The web component element this is requiring the element.
|
|
118
|
+
* @param targetSelectors The selector or selectors that were not found.
|
|
119
|
+
*/
|
|
120
|
+
const printRequiredElementError = (el, ...targetSelectors) => {
|
|
121
|
+
return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
|
|
122
|
+
};
|
|
6
123
|
|
|
7
124
|
/*
|
|
8
|
-
Stencil Client Platform v4.
|
|
125
|
+
Stencil Client Platform v4.36.2 | MIT Licensed | https://stenciljs.com
|
|
9
126
|
*/
|
|
10
127
|
var __defProp = Object.defineProperty;
|
|
11
128
|
var __export = (target, all) => {
|
|
@@ -13,14 +130,47 @@ var __export = (target, all) => {
|
|
|
13
130
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
14
131
|
};
|
|
15
132
|
var Build = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
133
|
+
isBrowser: true};
|
|
134
|
+
|
|
135
|
+
// src/utils/constants.ts
|
|
136
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
137
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
138
|
+
var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
|
|
139
|
+
PrimitiveType2["Undefined"] = "undefined";
|
|
140
|
+
PrimitiveType2["Null"] = "null";
|
|
141
|
+
PrimitiveType2["String"] = "string";
|
|
142
|
+
PrimitiveType2["Number"] = "number";
|
|
143
|
+
PrimitiveType2["SpecialNumber"] = "number";
|
|
144
|
+
PrimitiveType2["Boolean"] = "boolean";
|
|
145
|
+
PrimitiveType2["BigInt"] = "bigint";
|
|
146
|
+
return PrimitiveType2;
|
|
147
|
+
})(PrimitiveType || {});
|
|
148
|
+
var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
|
|
149
|
+
NonPrimitiveType2["Array"] = "array";
|
|
150
|
+
NonPrimitiveType2["Date"] = "date";
|
|
151
|
+
NonPrimitiveType2["Map"] = "map";
|
|
152
|
+
NonPrimitiveType2["Object"] = "object";
|
|
153
|
+
NonPrimitiveType2["RegularExpression"] = "regexp";
|
|
154
|
+
NonPrimitiveType2["Set"] = "set";
|
|
155
|
+
NonPrimitiveType2["Channel"] = "channel";
|
|
156
|
+
NonPrimitiveType2["Symbol"] = "symbol";
|
|
157
|
+
return NonPrimitiveType2;
|
|
158
|
+
})(NonPrimitiveType || {});
|
|
159
|
+
var TYPE_CONSTANT = "type";
|
|
160
|
+
var VALUE_CONSTANT = "value";
|
|
161
|
+
var SERIALIZED_PREFIX = "serialized:";
|
|
162
|
+
|
|
163
|
+
// src/client/client-host-ref.ts
|
|
164
|
+
var getHostRef = (ref) => {
|
|
165
|
+
if (ref.__stencil__getHostRef) {
|
|
166
|
+
return ref.__stencil__getHostRef();
|
|
167
|
+
}
|
|
168
|
+
return void 0;
|
|
169
|
+
};
|
|
170
|
+
var registerInstance = (lazyInstance, hostRef) => {
|
|
171
|
+
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
172
|
+
hostRef.$lazyInstance$ = lazyInstance;
|
|
173
|
+
};
|
|
24
174
|
var registerHost = (hostElement, cmpMeta) => {
|
|
25
175
|
const hostRef = {
|
|
26
176
|
$flags$: 0,
|
|
@@ -36,7 +186,9 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
36
186
|
hostElement["s-p"] = [];
|
|
37
187
|
hostElement["s-rc"] = [];
|
|
38
188
|
}
|
|
39
|
-
|
|
189
|
+
const ref = hostRef;
|
|
190
|
+
hostElement.__stencil__getHostRef = () => ref;
|
|
191
|
+
return ref;
|
|
40
192
|
};
|
|
41
193
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
42
194
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -60,12 +212,17 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
60
212
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
61
213
|
/* webpackMode: "lazy" */
|
|
62
214
|
`./${bundleId}.entry.js${""}`
|
|
63
|
-
).then(
|
|
64
|
-
{
|
|
65
|
-
|
|
215
|
+
).then(
|
|
216
|
+
(importedModule) => {
|
|
217
|
+
{
|
|
218
|
+
cmpModules.set(bundleId, importedModule);
|
|
219
|
+
}
|
|
220
|
+
return importedModule[exportName];
|
|
221
|
+
},
|
|
222
|
+
(e) => {
|
|
223
|
+
consoleError(e, hostRef.$hostElement$);
|
|
66
224
|
}
|
|
67
|
-
|
|
68
|
-
}, consoleError);
|
|
225
|
+
);
|
|
69
226
|
};
|
|
70
227
|
|
|
71
228
|
// src/client/client-style.ts
|
|
@@ -77,6 +234,7 @@ var CONTENT_REF_ID = "r";
|
|
|
77
234
|
var ORG_LOCATION_ID = "o";
|
|
78
235
|
var SLOT_NODE_ID = "s";
|
|
79
236
|
var TEXT_NODE_ID = "t";
|
|
237
|
+
var COMMENT_NODE_ID = "c";
|
|
80
238
|
var HYDRATE_ID = "s-id";
|
|
81
239
|
var HYDRATED_STYLE_ID = "sty-id";
|
|
82
240
|
var HYDRATE_CHILD_ID = "c-id";
|
|
@@ -84,7 +242,6 @@ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
|
84
242
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
85
243
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
86
244
|
var win = typeof window !== "undefined" ? window : {};
|
|
87
|
-
var doc = win.document || { head: {} };
|
|
88
245
|
var H = win.HTMLElement || class {
|
|
89
246
|
};
|
|
90
247
|
var plt = {
|
|
@@ -98,9 +255,10 @@ var plt = {
|
|
|
98
255
|
};
|
|
99
256
|
var supportsShadow = BUILD.shadowDom;
|
|
100
257
|
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
258
|
+
var _a;
|
|
101
259
|
let supportsListenerOptions2 = false;
|
|
102
260
|
try {
|
|
103
|
-
|
|
261
|
+
(_a = win.document) == null ? void 0 : _a.addEventListener(
|
|
104
262
|
"e",
|
|
105
263
|
null,
|
|
106
264
|
Object.defineProperty({}, "passive", {
|
|
@@ -122,6 +280,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
|
122
280
|
}
|
|
123
281
|
return false;
|
|
124
282
|
})() ;
|
|
283
|
+
var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
|
|
125
284
|
var queuePending = false;
|
|
126
285
|
var queueDomReads = [];
|
|
127
286
|
var queueDomWrites = [];
|
|
@@ -165,24 +324,119 @@ var getAssetPath = (path) => {
|
|
|
165
324
|
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
166
325
|
};
|
|
167
326
|
|
|
168
|
-
// src/utils/constants.ts
|
|
169
|
-
var EMPTY_OBJ = {};
|
|
170
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
171
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
172
|
-
|
|
173
327
|
// src/utils/helpers.ts
|
|
174
|
-
var isDef = (v) => v != null;
|
|
328
|
+
var isDef = (v) => v != null && v !== void 0;
|
|
175
329
|
var isComplexType = (o) => {
|
|
176
330
|
o = typeof o;
|
|
177
331
|
return o === "object" || o === "function";
|
|
178
332
|
};
|
|
179
333
|
|
|
180
334
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
181
|
-
function queryNonceMetaTagContent(
|
|
335
|
+
function queryNonceMetaTagContent(doc) {
|
|
182
336
|
var _a, _b, _c;
|
|
183
|
-
return (_c = (_b = (_a =
|
|
337
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
184
338
|
}
|
|
185
339
|
|
|
340
|
+
// src/utils/regular-expression.ts
|
|
341
|
+
var escapeRegExpSpecialCharacters = (text) => {
|
|
342
|
+
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
// src/utils/remote-value.ts
|
|
346
|
+
var RemoteValue = class _RemoteValue {
|
|
347
|
+
/**
|
|
348
|
+
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
349
|
+
*
|
|
350
|
+
* @param serialized The serialized LocalValue object
|
|
351
|
+
* @returns The original JavaScript value/object
|
|
352
|
+
*/
|
|
353
|
+
static fromLocalValue(serialized) {
|
|
354
|
+
const type = serialized[TYPE_CONSTANT];
|
|
355
|
+
const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
|
|
356
|
+
switch (type) {
|
|
357
|
+
case "string" /* String */:
|
|
358
|
+
return value;
|
|
359
|
+
case "boolean" /* Boolean */:
|
|
360
|
+
return value;
|
|
361
|
+
case "bigint" /* BigInt */:
|
|
362
|
+
return BigInt(value);
|
|
363
|
+
case "undefined" /* Undefined */:
|
|
364
|
+
return void 0;
|
|
365
|
+
case "null" /* Null */:
|
|
366
|
+
return null;
|
|
367
|
+
case "number" /* Number */:
|
|
368
|
+
if (value === "NaN") return NaN;
|
|
369
|
+
if (value === "-0") return -0;
|
|
370
|
+
if (value === "Infinity") return Infinity;
|
|
371
|
+
if (value === "-Infinity") return -Infinity;
|
|
372
|
+
return value;
|
|
373
|
+
case "array" /* Array */:
|
|
374
|
+
return value.map((item) => _RemoteValue.fromLocalValue(item));
|
|
375
|
+
case "date" /* Date */:
|
|
376
|
+
return new Date(value);
|
|
377
|
+
case "map" /* Map */:
|
|
378
|
+
const map2 = /* @__PURE__ */ new Map();
|
|
379
|
+
for (const [key, val] of value) {
|
|
380
|
+
const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
|
|
381
|
+
const deserializedValue = _RemoteValue.fromLocalValue(val);
|
|
382
|
+
map2.set(deserializedKey, deserializedValue);
|
|
383
|
+
}
|
|
384
|
+
return map2;
|
|
385
|
+
case "object" /* Object */:
|
|
386
|
+
const obj = {};
|
|
387
|
+
for (const [key, val] of value) {
|
|
388
|
+
obj[key] = _RemoteValue.fromLocalValue(val);
|
|
389
|
+
}
|
|
390
|
+
return obj;
|
|
391
|
+
case "regexp" /* RegularExpression */:
|
|
392
|
+
const { pattern, flags } = value;
|
|
393
|
+
return new RegExp(pattern, flags);
|
|
394
|
+
case "set" /* Set */:
|
|
395
|
+
const set = /* @__PURE__ */ new Set();
|
|
396
|
+
for (const item of value) {
|
|
397
|
+
set.add(_RemoteValue.fromLocalValue(item));
|
|
398
|
+
}
|
|
399
|
+
return set;
|
|
400
|
+
case "symbol" /* Symbol */:
|
|
401
|
+
return Symbol(value);
|
|
402
|
+
default:
|
|
403
|
+
throw new Error(`Unsupported type: ${type}`);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Utility method to deserialize multiple LocalValues at once
|
|
408
|
+
*
|
|
409
|
+
* @param serializedValues Array of serialized LocalValue objects
|
|
410
|
+
* @returns Array of deserialized JavaScript values
|
|
411
|
+
*/
|
|
412
|
+
static fromLocalValueArray(serializedValues) {
|
|
413
|
+
return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Verifies if the given object matches the structure of a serialized LocalValue
|
|
417
|
+
*
|
|
418
|
+
* @param obj Object to verify
|
|
419
|
+
* @returns boolean indicating if the object has LocalValue structure
|
|
420
|
+
*/
|
|
421
|
+
static isLocalValueObject(obj) {
|
|
422
|
+
if (typeof obj !== "object" || obj === null) {
|
|
423
|
+
return false;
|
|
424
|
+
}
|
|
425
|
+
if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
|
|
426
|
+
return false;
|
|
427
|
+
}
|
|
428
|
+
const type = obj[TYPE_CONSTANT];
|
|
429
|
+
const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
|
|
430
|
+
if (!hasTypeProperty) {
|
|
431
|
+
return false;
|
|
432
|
+
}
|
|
433
|
+
if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
|
|
434
|
+
return obj.hasOwnProperty(VALUE_CONSTANT);
|
|
435
|
+
}
|
|
436
|
+
return true;
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
|
|
186
440
|
// src/utils/result.ts
|
|
187
441
|
var result_exports = {};
|
|
188
442
|
__export(result_exports, {
|
|
@@ -231,6 +485,553 @@ var unwrapErr = (result) => {
|
|
|
231
485
|
throw result.value;
|
|
232
486
|
}
|
|
233
487
|
};
|
|
488
|
+
|
|
489
|
+
// src/utils/serialize.ts
|
|
490
|
+
function deserializeProperty(value) {
|
|
491
|
+
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
492
|
+
return value;
|
|
493
|
+
}
|
|
494
|
+
return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
// src/utils/style.ts
|
|
498
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
499
|
+
return void 0;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
// src/utils/shadow-root.ts
|
|
503
|
+
var globalStyleSheet;
|
|
504
|
+
function createShadowRoot(cmpMeta) {
|
|
505
|
+
var _a;
|
|
506
|
+
const shadowRoot = this.attachShadow({
|
|
507
|
+
mode: "open",
|
|
508
|
+
delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
|
|
509
|
+
}) ;
|
|
510
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
|
|
511
|
+
if (globalStyleSheet) {
|
|
512
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
513
|
+
shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
|
514
|
+
} else {
|
|
515
|
+
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
var updateFallbackSlotVisibility = (elm) => {
|
|
520
|
+
const childNodes = internalCall(elm, "childNodes");
|
|
521
|
+
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
522
|
+
getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
|
|
523
|
+
if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
|
|
524
|
+
if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
|
|
525
|
+
slotNode.hidden = true;
|
|
526
|
+
} else {
|
|
527
|
+
slotNode.hidden = false;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
let i2 = 0;
|
|
533
|
+
for (i2 = 0; i2 < childNodes.length; i2++) {
|
|
534
|
+
const childNode = childNodes[i2];
|
|
535
|
+
if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
|
|
536
|
+
updateFallbackSlotVisibility(childNode);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
};
|
|
540
|
+
var getSlottedChildNodes = (childNodes) => {
|
|
541
|
+
const result = [];
|
|
542
|
+
for (let i2 = 0; i2 < childNodes.length; i2++) {
|
|
543
|
+
const slottedNode = childNodes[i2]["s-nr"] || void 0;
|
|
544
|
+
if (slottedNode && slottedNode.isConnected) {
|
|
545
|
+
result.push(slottedNode);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
return result;
|
|
549
|
+
};
|
|
550
|
+
function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
551
|
+
let i2 = 0;
|
|
552
|
+
let slottedNodes = [];
|
|
553
|
+
let childNode;
|
|
554
|
+
for (; i2 < childNodes.length; i2++) {
|
|
555
|
+
childNode = childNodes[i2];
|
|
556
|
+
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
|
|
557
|
+
slottedNodes.push(childNode);
|
|
558
|
+
if (typeof slotName !== "undefined") return slottedNodes;
|
|
559
|
+
}
|
|
560
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
561
|
+
}
|
|
562
|
+
return slottedNodes;
|
|
563
|
+
}
|
|
564
|
+
var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
|
|
565
|
+
const childNodes = [];
|
|
566
|
+
if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
|
|
567
|
+
let node = slot;
|
|
568
|
+
while (node = node.nextSibling) {
|
|
569
|
+
if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
|
|
570
|
+
}
|
|
571
|
+
return childNodes;
|
|
572
|
+
};
|
|
573
|
+
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
574
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
575
|
+
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
576
|
+
return true;
|
|
577
|
+
}
|
|
578
|
+
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
579
|
+
return true;
|
|
580
|
+
}
|
|
581
|
+
return false;
|
|
582
|
+
}
|
|
583
|
+
if (nodeToRelocate["s-sn"] === slotName) {
|
|
584
|
+
return true;
|
|
585
|
+
}
|
|
586
|
+
return slotName === "";
|
|
587
|
+
};
|
|
588
|
+
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
589
|
+
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
590
|
+
return;
|
|
591
|
+
}
|
|
592
|
+
const slottedNodeLocation = document.createTextNode("");
|
|
593
|
+
slottedNodeLocation["s-nr"] = newChild;
|
|
594
|
+
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
595
|
+
const parent = slotNode["s-cr"].parentNode;
|
|
596
|
+
const appendMethod = prepend ? internalCall(parent, "prepend") : internalCall(parent, "appendChild");
|
|
597
|
+
if (typeof position !== "undefined") {
|
|
598
|
+
slottedNodeLocation["s-oo"] = position;
|
|
599
|
+
const childNodes = internalCall(parent, "childNodes");
|
|
600
|
+
const slotRelocateNodes = [slottedNodeLocation];
|
|
601
|
+
childNodes.forEach((n) => {
|
|
602
|
+
if (n["s-nr"]) slotRelocateNodes.push(n);
|
|
603
|
+
});
|
|
604
|
+
slotRelocateNodes.sort((a, b) => {
|
|
605
|
+
if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
|
|
606
|
+
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
|
607
|
+
return 0;
|
|
608
|
+
});
|
|
609
|
+
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
|
610
|
+
} else {
|
|
611
|
+
appendMethod.call(parent, slottedNodeLocation);
|
|
612
|
+
}
|
|
613
|
+
newChild["s-ol"] = slottedNodeLocation;
|
|
614
|
+
newChild["s-sh"] = slotNode["s-hn"];
|
|
615
|
+
};
|
|
616
|
+
var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
|
|
617
|
+
function patchSlotNode(node) {
|
|
618
|
+
if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
|
|
619
|
+
const assignedFactory = (elementsOnly) => (function(opts) {
|
|
620
|
+
const toReturn = [];
|
|
621
|
+
const slotName = this["s-sn"];
|
|
622
|
+
if (opts == null ? void 0 : opts.flatten) {
|
|
623
|
+
console.error(`
|
|
624
|
+
Flattening is not supported for Stencil non-shadow slots.
|
|
625
|
+
You can use \`.childNodes\` to nested slot fallback content.
|
|
626
|
+
If you have a particular use case, please open an issue on the Stencil repo.
|
|
627
|
+
`);
|
|
628
|
+
}
|
|
629
|
+
const parent = this["s-cr"].parentElement;
|
|
630
|
+
const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
|
|
631
|
+
slottedNodes.forEach((n) => {
|
|
632
|
+
if (slotName === getSlotName(n)) {
|
|
633
|
+
toReturn.push(n);
|
|
634
|
+
}
|
|
635
|
+
});
|
|
636
|
+
if (elementsOnly) {
|
|
637
|
+
return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
|
|
638
|
+
}
|
|
639
|
+
return toReturn;
|
|
640
|
+
}).bind(node);
|
|
641
|
+
node.assignedElements = assignedFactory(true);
|
|
642
|
+
node.assignedNodes = assignedFactory(false);
|
|
643
|
+
}
|
|
644
|
+
function dispatchSlotChangeEvent(elm) {
|
|
645
|
+
elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
|
|
646
|
+
}
|
|
647
|
+
function findSlotFromSlottedNode(slottedNode, parentHost) {
|
|
648
|
+
var _a;
|
|
649
|
+
parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
|
|
650
|
+
if (!parentHost) return { slotNode: null, slotName: "" };
|
|
651
|
+
const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
|
|
652
|
+
const childNodes = internalCall(parentHost, "childNodes");
|
|
653
|
+
const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
|
|
654
|
+
return { slotNode, slotName };
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
// src/runtime/dom-extras.ts
|
|
658
|
+
var patchPseudoShadowDom = (hostElementPrototype) => {
|
|
659
|
+
patchCloneNode(hostElementPrototype);
|
|
660
|
+
patchSlotAppendChild(hostElementPrototype);
|
|
661
|
+
patchSlotAppend(hostElementPrototype);
|
|
662
|
+
patchSlotPrepend(hostElementPrototype);
|
|
663
|
+
patchSlotInsertAdjacentElement(hostElementPrototype);
|
|
664
|
+
patchSlotInsertAdjacentHTML(hostElementPrototype);
|
|
665
|
+
patchSlotInsertAdjacentText(hostElementPrototype);
|
|
666
|
+
patchInsertBefore(hostElementPrototype);
|
|
667
|
+
patchTextContent(hostElementPrototype);
|
|
668
|
+
patchChildSlotNodes(hostElementPrototype);
|
|
669
|
+
patchSlotRemoveChild(hostElementPrototype);
|
|
670
|
+
};
|
|
671
|
+
var patchCloneNode = (HostElementPrototype) => {
|
|
672
|
+
const orgCloneNode = HostElementPrototype.cloneNode;
|
|
673
|
+
HostElementPrototype.cloneNode = function(deep) {
|
|
674
|
+
const srcNode = this;
|
|
675
|
+
const isShadowDom = srcNode.shadowRoot && supportsShadow ;
|
|
676
|
+
const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
|
|
677
|
+
if (!isShadowDom && deep) {
|
|
678
|
+
let i2 = 0;
|
|
679
|
+
let slotted, nonStencilNode;
|
|
680
|
+
const stencilPrivates = [
|
|
681
|
+
"s-id",
|
|
682
|
+
"s-cr",
|
|
683
|
+
"s-lr",
|
|
684
|
+
"s-rc",
|
|
685
|
+
"s-sc",
|
|
686
|
+
"s-p",
|
|
687
|
+
"s-cn",
|
|
688
|
+
"s-sr",
|
|
689
|
+
"s-sn",
|
|
690
|
+
"s-hn",
|
|
691
|
+
"s-ol",
|
|
692
|
+
"s-nr",
|
|
693
|
+
"s-si",
|
|
694
|
+
"s-rf",
|
|
695
|
+
"s-scs"
|
|
696
|
+
];
|
|
697
|
+
const childNodes = this.__childNodes || this.childNodes;
|
|
698
|
+
for (; i2 < childNodes.length; i2++) {
|
|
699
|
+
slotted = childNodes[i2]["s-nr"];
|
|
700
|
+
nonStencilNode = stencilPrivates.every((privateField) => !childNodes[i2][privateField]);
|
|
701
|
+
if (slotted) {
|
|
702
|
+
if (clonedNode.__appendChild) {
|
|
703
|
+
clonedNode.__appendChild(slotted.cloneNode(true));
|
|
704
|
+
} else {
|
|
705
|
+
clonedNode.appendChild(slotted.cloneNode(true));
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
if (nonStencilNode) {
|
|
709
|
+
clonedNode.appendChild(childNodes[i2].cloneNode(true));
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
return clonedNode;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
var patchSlotAppendChild = (HostElementPrototype) => {
|
|
717
|
+
HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
|
|
718
|
+
HostElementPrototype.appendChild = function(newChild) {
|
|
719
|
+
const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
|
|
720
|
+
if (slotNode) {
|
|
721
|
+
addSlotRelocateNode(newChild, slotNode);
|
|
722
|
+
const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
|
|
723
|
+
const appendAfter = slotChildNodes[slotChildNodes.length - 1];
|
|
724
|
+
const parent = internalCall(appendAfter, "parentNode");
|
|
725
|
+
const insertedNode = internalCall(parent, "insertBefore")(newChild, appendAfter.nextSibling);
|
|
726
|
+
dispatchSlotChangeEvent(slotNode);
|
|
727
|
+
updateFallbackSlotVisibility(this);
|
|
728
|
+
return insertedNode;
|
|
729
|
+
}
|
|
730
|
+
return this.__appendChild(newChild);
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
var patchSlotRemoveChild = (ElementPrototype) => {
|
|
734
|
+
ElementPrototype.__removeChild = ElementPrototype.removeChild;
|
|
735
|
+
ElementPrototype.removeChild = function(toRemove) {
|
|
736
|
+
if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
|
|
737
|
+
const childNodes = this.__childNodes || this.childNodes;
|
|
738
|
+
const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"]);
|
|
739
|
+
if (slotNode && toRemove.isConnected) {
|
|
740
|
+
toRemove.remove();
|
|
741
|
+
updateFallbackSlotVisibility(this);
|
|
742
|
+
return;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
return this.__removeChild(toRemove);
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
var patchSlotPrepend = (HostElementPrototype) => {
|
|
749
|
+
HostElementPrototype.__prepend = HostElementPrototype.prepend;
|
|
750
|
+
HostElementPrototype.prepend = function(...newChildren) {
|
|
751
|
+
newChildren.forEach((newChild) => {
|
|
752
|
+
if (typeof newChild === "string") {
|
|
753
|
+
newChild = this.ownerDocument.createTextNode(newChild);
|
|
754
|
+
}
|
|
755
|
+
const slotName = (newChild["s-sn"] = getSlotName(newChild)) || "";
|
|
756
|
+
const childNodes = internalCall(this, "childNodes");
|
|
757
|
+
const slotNode = getHostSlotNodes(childNodes, this.tagName, slotName)[0];
|
|
758
|
+
if (slotNode) {
|
|
759
|
+
addSlotRelocateNode(newChild, slotNode, true);
|
|
760
|
+
const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
|
|
761
|
+
const appendAfter = slotChildNodes[0];
|
|
762
|
+
const parent = internalCall(appendAfter, "parentNode");
|
|
763
|
+
const toReturn = internalCall(parent, "insertBefore")(newChild, internalCall(appendAfter, "nextSibling"));
|
|
764
|
+
dispatchSlotChangeEvent(slotNode);
|
|
765
|
+
return toReturn;
|
|
766
|
+
}
|
|
767
|
+
if (newChild.nodeType === 1 && !!newChild.getAttribute("slot")) {
|
|
768
|
+
newChild.hidden = true;
|
|
769
|
+
}
|
|
770
|
+
return HostElementPrototype.__prepend(newChild);
|
|
771
|
+
});
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
var patchSlotAppend = (HostElementPrototype) => {
|
|
775
|
+
HostElementPrototype.__append = HostElementPrototype.append;
|
|
776
|
+
HostElementPrototype.append = function(...newChildren) {
|
|
777
|
+
newChildren.forEach((newChild) => {
|
|
778
|
+
if (typeof newChild === "string") {
|
|
779
|
+
newChild = this.ownerDocument.createTextNode(newChild);
|
|
780
|
+
}
|
|
781
|
+
this.appendChild(newChild);
|
|
782
|
+
});
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
var patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
|
|
786
|
+
const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
|
|
787
|
+
HostElementPrototype.insertAdjacentHTML = function(position, text) {
|
|
788
|
+
if (position !== "afterbegin" && position !== "beforeend") {
|
|
789
|
+
return originalInsertAdjacentHtml.call(this, position, text);
|
|
790
|
+
}
|
|
791
|
+
const container = this.ownerDocument.createElement("_");
|
|
792
|
+
let node;
|
|
793
|
+
container.innerHTML = text;
|
|
794
|
+
if (position === "afterbegin") {
|
|
795
|
+
while (node = container.firstChild) {
|
|
796
|
+
this.prepend(node);
|
|
797
|
+
}
|
|
798
|
+
} else if (position === "beforeend") {
|
|
799
|
+
while (node = container.firstChild) {
|
|
800
|
+
this.append(node);
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
};
|
|
804
|
+
};
|
|
805
|
+
var patchSlotInsertAdjacentText = (HostElementPrototype) => {
|
|
806
|
+
HostElementPrototype.insertAdjacentText = function(position, text) {
|
|
807
|
+
this.insertAdjacentHTML(position, text);
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
var patchInsertBefore = (HostElementPrototype) => {
|
|
811
|
+
const eleProto = HostElementPrototype;
|
|
812
|
+
if (eleProto.__insertBefore) return;
|
|
813
|
+
eleProto.__insertBefore = HostElementPrototype.insertBefore;
|
|
814
|
+
HostElementPrototype.insertBefore = function(newChild, currentChild) {
|
|
815
|
+
const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
|
|
816
|
+
const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
817
|
+
if (slotNode) {
|
|
818
|
+
let found = false;
|
|
819
|
+
slottedNodes.forEach((childNode) => {
|
|
820
|
+
if (childNode === currentChild || currentChild === null) {
|
|
821
|
+
found = true;
|
|
822
|
+
if (currentChild === null || slotName !== currentChild["s-sn"]) {
|
|
823
|
+
this.appendChild(newChild);
|
|
824
|
+
return;
|
|
825
|
+
}
|
|
826
|
+
if (slotName === currentChild["s-sn"]) {
|
|
827
|
+
addSlotRelocateNode(newChild, slotNode);
|
|
828
|
+
const parent = internalCall(currentChild, "parentNode");
|
|
829
|
+
internalCall(parent, "insertBefore")(newChild, currentChild);
|
|
830
|
+
dispatchSlotChangeEvent(slotNode);
|
|
831
|
+
}
|
|
832
|
+
return;
|
|
833
|
+
}
|
|
834
|
+
});
|
|
835
|
+
if (found) return newChild;
|
|
836
|
+
}
|
|
837
|
+
const parentNode = currentChild == null ? void 0 : currentChild.__parentNode;
|
|
838
|
+
if (parentNode && !this.isSameNode(parentNode)) {
|
|
839
|
+
return this.appendChild(newChild);
|
|
840
|
+
}
|
|
841
|
+
return this.__insertBefore(newChild, currentChild);
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
var patchSlotInsertAdjacentElement = (HostElementPrototype) => {
|
|
845
|
+
const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
|
|
846
|
+
HostElementPrototype.insertAdjacentElement = function(position, element) {
|
|
847
|
+
if (position !== "afterbegin" && position !== "beforeend") {
|
|
848
|
+
return originalInsertAdjacentElement.call(this, position, element);
|
|
849
|
+
}
|
|
850
|
+
if (position === "afterbegin") {
|
|
851
|
+
this.prepend(element);
|
|
852
|
+
return element;
|
|
853
|
+
} else if (position === "beforeend") {
|
|
854
|
+
this.append(element);
|
|
855
|
+
return element;
|
|
856
|
+
}
|
|
857
|
+
return element;
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
var patchTextContent = (hostElementPrototype) => {
|
|
861
|
+
patchHostOriginalAccessor("textContent", hostElementPrototype);
|
|
862
|
+
Object.defineProperty(hostElementPrototype, "textContent", {
|
|
863
|
+
get: function() {
|
|
864
|
+
let text = "";
|
|
865
|
+
const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
866
|
+
childNodes.forEach((node) => text += node.textContent || "");
|
|
867
|
+
return text;
|
|
868
|
+
},
|
|
869
|
+
set: function(value) {
|
|
870
|
+
const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
871
|
+
childNodes.forEach((node) => {
|
|
872
|
+
if (node["s-ol"]) node["s-ol"].remove();
|
|
873
|
+
node.remove();
|
|
874
|
+
});
|
|
875
|
+
this.insertAdjacentHTML("beforeend", value);
|
|
876
|
+
}
|
|
877
|
+
});
|
|
878
|
+
};
|
|
879
|
+
var patchChildSlotNodes = (elm) => {
|
|
880
|
+
class FakeNodeList extends Array {
|
|
881
|
+
item(n) {
|
|
882
|
+
return this[n];
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
patchHostOriginalAccessor("children", elm);
|
|
886
|
+
Object.defineProperty(elm, "children", {
|
|
887
|
+
get() {
|
|
888
|
+
return this.childNodes.filter((n) => n.nodeType === 1);
|
|
889
|
+
}
|
|
890
|
+
});
|
|
891
|
+
Object.defineProperty(elm, "childElementCount", {
|
|
892
|
+
get() {
|
|
893
|
+
return this.children.length;
|
|
894
|
+
}
|
|
895
|
+
});
|
|
896
|
+
patchHostOriginalAccessor("firstChild", elm);
|
|
897
|
+
Object.defineProperty(elm, "firstChild", {
|
|
898
|
+
get() {
|
|
899
|
+
return this.childNodes[0];
|
|
900
|
+
}
|
|
901
|
+
});
|
|
902
|
+
patchHostOriginalAccessor("lastChild", elm);
|
|
903
|
+
Object.defineProperty(elm, "lastChild", {
|
|
904
|
+
get() {
|
|
905
|
+
return this.childNodes[this.childNodes.length - 1];
|
|
906
|
+
}
|
|
907
|
+
});
|
|
908
|
+
patchHostOriginalAccessor("childNodes", elm);
|
|
909
|
+
Object.defineProperty(elm, "childNodes", {
|
|
910
|
+
get() {
|
|
911
|
+
const result = new FakeNodeList();
|
|
912
|
+
result.push(...getSlottedChildNodes(this.__childNodes));
|
|
913
|
+
return result;
|
|
914
|
+
}
|
|
915
|
+
});
|
|
916
|
+
};
|
|
917
|
+
var patchSlottedNode = (node) => {
|
|
918
|
+
if (!node || node.__nextSibling !== void 0 || !globalThis.Node) return;
|
|
919
|
+
patchNextSibling(node);
|
|
920
|
+
patchPreviousSibling(node);
|
|
921
|
+
patchParentNode(node);
|
|
922
|
+
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
923
|
+
patchNextElementSibling(node);
|
|
924
|
+
patchPreviousElementSibling(node);
|
|
925
|
+
}
|
|
926
|
+
};
|
|
927
|
+
var patchNextSibling = (node) => {
|
|
928
|
+
if (!node || node.__nextSibling) return;
|
|
929
|
+
patchHostOriginalAccessor("nextSibling", node);
|
|
930
|
+
Object.defineProperty(node, "nextSibling", {
|
|
931
|
+
get: function() {
|
|
932
|
+
var _a;
|
|
933
|
+
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.childNodes;
|
|
934
|
+
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
935
|
+
if (parentNodes && index > -1) {
|
|
936
|
+
return parentNodes[index + 1];
|
|
937
|
+
}
|
|
938
|
+
return this.__nextSibling;
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
};
|
|
942
|
+
var patchNextElementSibling = (element) => {
|
|
943
|
+
if (!element || element.__nextElementSibling) return;
|
|
944
|
+
patchHostOriginalAccessor("nextElementSibling", element);
|
|
945
|
+
Object.defineProperty(element, "nextElementSibling", {
|
|
946
|
+
get: function() {
|
|
947
|
+
var _a;
|
|
948
|
+
const parentEles = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.children;
|
|
949
|
+
const index = parentEles == null ? void 0 : parentEles.indexOf(this);
|
|
950
|
+
if (parentEles && index > -1) {
|
|
951
|
+
return parentEles[index + 1];
|
|
952
|
+
}
|
|
953
|
+
return this.__nextElementSibling;
|
|
954
|
+
}
|
|
955
|
+
});
|
|
956
|
+
};
|
|
957
|
+
var patchPreviousSibling = (node) => {
|
|
958
|
+
if (!node || node.__previousSibling) return;
|
|
959
|
+
patchHostOriginalAccessor("previousSibling", node);
|
|
960
|
+
Object.defineProperty(node, "previousSibling", {
|
|
961
|
+
get: function() {
|
|
962
|
+
var _a;
|
|
963
|
+
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.childNodes;
|
|
964
|
+
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
965
|
+
if (parentNodes && index > -1) {
|
|
966
|
+
return parentNodes[index - 1];
|
|
967
|
+
}
|
|
968
|
+
return this.__previousSibling;
|
|
969
|
+
}
|
|
970
|
+
});
|
|
971
|
+
};
|
|
972
|
+
var patchPreviousElementSibling = (element) => {
|
|
973
|
+
if (!element || element.__previousElementSibling) return;
|
|
974
|
+
patchHostOriginalAccessor("previousElementSibling", element);
|
|
975
|
+
Object.defineProperty(element, "previousElementSibling", {
|
|
976
|
+
get: function() {
|
|
977
|
+
var _a;
|
|
978
|
+
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.children;
|
|
979
|
+
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
980
|
+
if (parentNodes && index > -1) {
|
|
981
|
+
return parentNodes[index - 1];
|
|
982
|
+
}
|
|
983
|
+
return this.__previousElementSibling;
|
|
984
|
+
}
|
|
985
|
+
});
|
|
986
|
+
};
|
|
987
|
+
var patchParentNode = (node) => {
|
|
988
|
+
if (!node || node.__parentNode) return;
|
|
989
|
+
patchHostOriginalAccessor("parentNode", node);
|
|
990
|
+
Object.defineProperty(node, "parentNode", {
|
|
991
|
+
get: function() {
|
|
992
|
+
var _a;
|
|
993
|
+
return ((_a = this["s-ol"]) == null ? void 0 : _a.parentNode) || this.__parentNode;
|
|
994
|
+
},
|
|
995
|
+
set: function(value) {
|
|
996
|
+
this.__parentNode = value;
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
};
|
|
1000
|
+
var validElementPatches = ["children", "nextElementSibling", "previousElementSibling"];
|
|
1001
|
+
var validNodesPatches = [
|
|
1002
|
+
"childNodes",
|
|
1003
|
+
"firstChild",
|
|
1004
|
+
"lastChild",
|
|
1005
|
+
"nextSibling",
|
|
1006
|
+
"previousSibling",
|
|
1007
|
+
"textContent",
|
|
1008
|
+
"parentNode"
|
|
1009
|
+
];
|
|
1010
|
+
function patchHostOriginalAccessor(accessorName, node) {
|
|
1011
|
+
if (!globalThis.Node || !globalThis.Element) {
|
|
1012
|
+
return;
|
|
1013
|
+
}
|
|
1014
|
+
let accessor;
|
|
1015
|
+
if (validElementPatches.includes(accessorName)) {
|
|
1016
|
+
accessor = Object.getOwnPropertyDescriptor(Element.prototype, accessorName);
|
|
1017
|
+
} else if (validNodesPatches.includes(accessorName)) {
|
|
1018
|
+
accessor = Object.getOwnPropertyDescriptor(Node.prototype, accessorName);
|
|
1019
|
+
}
|
|
1020
|
+
if (!accessor) {
|
|
1021
|
+
accessor = Object.getOwnPropertyDescriptor(node, accessorName);
|
|
1022
|
+
}
|
|
1023
|
+
if (accessor) Object.defineProperty(node, "__" + accessorName, accessor);
|
|
1024
|
+
}
|
|
1025
|
+
function internalCall(node, method) {
|
|
1026
|
+
if ("__" + method in node) {
|
|
1027
|
+
const toReturn = node["__" + method];
|
|
1028
|
+
if (typeof toReturn !== "function") return toReturn;
|
|
1029
|
+
return toReturn.bind(node);
|
|
1030
|
+
} else {
|
|
1031
|
+
if (typeof node[method] !== "function") return node[method];
|
|
1032
|
+
return node[method].bind(node);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
234
1035
|
var createTime = (fnName, tagName = "") => {
|
|
235
1036
|
{
|
|
236
1037
|
return () => {
|
|
@@ -238,11 +1039,130 @@ var createTime = (fnName, tagName = "") => {
|
|
|
238
1039
|
};
|
|
239
1040
|
}
|
|
240
1041
|
};
|
|
241
|
-
var uniqueTime = (key, measureText) => {
|
|
242
|
-
{
|
|
243
|
-
return () => {
|
|
244
|
-
return;
|
|
245
|
-
};
|
|
1042
|
+
var uniqueTime = (key, measureText) => {
|
|
1043
|
+
{
|
|
1044
|
+
return () => {
|
|
1045
|
+
return;
|
|
1046
|
+
};
|
|
1047
|
+
}
|
|
1048
|
+
};
|
|
1049
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1050
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1051
|
+
let style = styles.get(scopeId2);
|
|
1052
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
1053
|
+
style = style || new CSSStyleSheet();
|
|
1054
|
+
if (typeof style === "string") {
|
|
1055
|
+
style = cssText;
|
|
1056
|
+
} else {
|
|
1057
|
+
style.replaceSync(cssText);
|
|
1058
|
+
}
|
|
1059
|
+
} else {
|
|
1060
|
+
style = cssText;
|
|
1061
|
+
}
|
|
1062
|
+
styles.set(scopeId2, style);
|
|
1063
|
+
};
|
|
1064
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1065
|
+
var _a;
|
|
1066
|
+
const scopeId2 = getScopeId(cmpMeta, mode);
|
|
1067
|
+
const style = styles.get(scopeId2);
|
|
1068
|
+
if (!win.document) {
|
|
1069
|
+
return scopeId2;
|
|
1070
|
+
}
|
|
1071
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
1072
|
+
if (style) {
|
|
1073
|
+
if (typeof style === "string") {
|
|
1074
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
1075
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1076
|
+
let styleElm;
|
|
1077
|
+
if (!appliedStyles) {
|
|
1078
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1079
|
+
}
|
|
1080
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
1081
|
+
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
1082
|
+
styleElm.innerHTML = style;
|
|
1083
|
+
} else {
|
|
1084
|
+
styleElm = win.document.createElement("style");
|
|
1085
|
+
styleElm.innerHTML = style;
|
|
1086
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1087
|
+
if (nonce != null) {
|
|
1088
|
+
styleElm.setAttribute("nonce", nonce);
|
|
1089
|
+
}
|
|
1090
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1091
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
1092
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
1093
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
1094
|
+
styleContainerNode.insertBefore(
|
|
1095
|
+
styleElm,
|
|
1096
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
1097
|
+
);
|
|
1098
|
+
} else if ("host" in styleContainerNode) {
|
|
1099
|
+
if (supportsConstructableStylesheets) {
|
|
1100
|
+
const stylesheet = new CSSStyleSheet();
|
|
1101
|
+
stylesheet.replaceSync(style);
|
|
1102
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1103
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
1104
|
+
} else {
|
|
1105
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1106
|
+
}
|
|
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 */) {
|
|
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
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1132
|
+
styleContainerNode.adoptedStyleSheets.push(style);
|
|
1133
|
+
} else {
|
|
1134
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
return scopeId2;
|
|
1139
|
+
};
|
|
1140
|
+
var attachStyles = (hostRef) => {
|
|
1141
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1142
|
+
const elm = hostRef.$hostElement$;
|
|
1143
|
+
const flags = cmpMeta.$flags$;
|
|
1144
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1145
|
+
const scopeId2 = addStyle(
|
|
1146
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1147
|
+
cmpMeta,
|
|
1148
|
+
hostRef.$modeName$
|
|
1149
|
+
);
|
|
1150
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
1151
|
+
elm["s-sc"] = scopeId2;
|
|
1152
|
+
elm.classList.add(scopeId2 + "-h");
|
|
1153
|
+
}
|
|
1154
|
+
endAttachStyles();
|
|
1155
|
+
};
|
|
1156
|
+
var getScopeId = (cmp, mode) => "sc-" + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
|
|
1157
|
+
var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
1158
|
+
var hydrateScopedToShadow = () => {
|
|
1159
|
+
if (!win.document) {
|
|
1160
|
+
return;
|
|
1161
|
+
}
|
|
1162
|
+
const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
1163
|
+
let i2 = 0;
|
|
1164
|
+
for (; i2 < styles2.length; i2++) {
|
|
1165
|
+
registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
|
|
246
1166
|
}
|
|
247
1167
|
};
|
|
248
1168
|
var h = (nodeName, vnodeData, ...children) => {
|
|
@@ -359,54 +1279,189 @@ var convertToPrivate = (node) => {
|
|
|
359
1279
|
|
|
360
1280
|
// src/runtime/client-hydrate.ts
|
|
361
1281
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1282
|
+
var _a, _b, _c;
|
|
362
1283
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
363
1284
|
const shadowRoot = hostElm.shadowRoot;
|
|
364
1285
|
const childRenderNodes = [];
|
|
365
1286
|
const slotNodes = [];
|
|
1287
|
+
const slottedNodes = [];
|
|
366
1288
|
const shadowRootNodes = shadowRoot ? [] : null;
|
|
367
|
-
const vnode =
|
|
368
|
-
|
|
369
|
-
|
|
1289
|
+
const vnode = newVNode(tagName, null);
|
|
1290
|
+
vnode.$elm$ = hostElm;
|
|
1291
|
+
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
1292
|
+
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
1293
|
+
var _b2;
|
|
1294
|
+
if (!(memberFlags & 31 /* Prop */)) {
|
|
1295
|
+
return;
|
|
1296
|
+
}
|
|
1297
|
+
const attributeName = metaAttributeName || memberName;
|
|
1298
|
+
const attrVal = hostElm.getAttribute(attributeName);
|
|
1299
|
+
if (attrVal !== null) {
|
|
1300
|
+
const attrPropVal = parsePropertyValue(
|
|
1301
|
+
attrVal,
|
|
1302
|
+
memberFlags);
|
|
1303
|
+
(_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
|
|
1304
|
+
}
|
|
1305
|
+
});
|
|
1306
|
+
let scopeId2;
|
|
1307
|
+
{
|
|
1308
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1309
|
+
if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
|
|
1310
|
+
scopeId2 = hostElm["s-sc"];
|
|
1311
|
+
hostElm.classList.add(scopeId2 + "-h");
|
|
1312
|
+
} else if (hostElm["s-sc"]) {
|
|
1313
|
+
delete hostElm["s-sc"];
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
|
|
1317
|
+
initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
370
1318
|
}
|
|
371
1319
|
hostElm[HYDRATE_ID] = hostId;
|
|
372
1320
|
hostElm.removeAttribute(HYDRATE_ID);
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
1321
|
+
hostRef.$vnode$ = clientHydrate(
|
|
1322
|
+
vnode,
|
|
1323
|
+
childRenderNodes,
|
|
1324
|
+
slotNodes,
|
|
1325
|
+
shadowRootNodes,
|
|
1326
|
+
hostElm,
|
|
1327
|
+
hostElm,
|
|
1328
|
+
hostId,
|
|
1329
|
+
slottedNodes
|
|
1330
|
+
);
|
|
1331
|
+
let crIndex = 0;
|
|
1332
|
+
const crLength = childRenderNodes.length;
|
|
1333
|
+
let childRenderNode;
|
|
1334
|
+
for (crIndex; crIndex < crLength; crIndex++) {
|
|
1335
|
+
childRenderNode = childRenderNodes[crIndex];
|
|
1336
|
+
const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
|
|
376
1337
|
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
377
|
-
const node =
|
|
378
|
-
if (orgLocationNode && supportsShadow && orgLocationNode["s-en"] === "") {
|
|
379
|
-
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
380
|
-
}
|
|
1338
|
+
const node = childRenderNode.$elm$;
|
|
381
1339
|
if (!shadowRoot) {
|
|
382
|
-
node["s-hn"] = tagName;
|
|
383
|
-
if (
|
|
384
|
-
node["s-
|
|
385
|
-
|
|
1340
|
+
node["s-hn"] = tagName.toUpperCase();
|
|
1341
|
+
if (childRenderNode.$tag$ === "slot") {
|
|
1342
|
+
node["s-cr"] = hostElm["s-cr"];
|
|
1343
|
+
}
|
|
1344
|
+
} else if (((_b = childRenderNode.$tag$) == null ? void 0 : _b.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
|
|
1345
|
+
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
1346
|
+
if (cmpMeta) {
|
|
1347
|
+
const scopeId3 = getScopeId(
|
|
1348
|
+
cmpMeta.$cmpMeta$,
|
|
1349
|
+
childRenderNode.$elm$.getAttribute("s-mode")
|
|
1350
|
+
);
|
|
1351
|
+
const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
|
|
1352
|
+
if (styleSheet) {
|
|
1353
|
+
hostElm.shadowRoot.append(styleSheet.cloneNode(true));
|
|
1354
|
+
}
|
|
386
1355
|
}
|
|
387
1356
|
}
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
1357
|
+
if (childRenderNode.$tag$ === "slot") {
|
|
1358
|
+
childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
|
|
1359
|
+
if (childRenderNode.$children$) {
|
|
1360
|
+
childRenderNode.$flags$ |= 2 /* isSlotFallback */;
|
|
1361
|
+
if (!childRenderNode.$elm$.childNodes.length) {
|
|
1362
|
+
childRenderNode.$children$.forEach((c) => {
|
|
1363
|
+
childRenderNode.$elm$.appendChild(c.$elm$);
|
|
1364
|
+
});
|
|
1365
|
+
}
|
|
1366
|
+
} else {
|
|
1367
|
+
childRenderNode.$flags$ |= 1 /* isSlotReference */;
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
if (orgLocationNode && orgLocationNode.isConnected) {
|
|
1371
|
+
if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
|
|
1372
|
+
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
1373
|
+
}
|
|
1374
|
+
orgLocationNode.parentNode.removeChild(orgLocationNode);
|
|
1375
|
+
if (!shadowRoot) {
|
|
1376
|
+
node["s-oo"] = parseInt(childRenderNode.$nodeId$);
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
if (orgLocationNode && !orgLocationNode["s-id"]) {
|
|
1380
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
const hosts = [];
|
|
1384
|
+
const snLen = slottedNodes.length;
|
|
1385
|
+
let snIndex = 0;
|
|
1386
|
+
let slotGroup;
|
|
1387
|
+
let snGroupIdx;
|
|
1388
|
+
let snGroupLen;
|
|
1389
|
+
let slottedItem;
|
|
1390
|
+
for (snIndex; snIndex < snLen; snIndex++) {
|
|
1391
|
+
slotGroup = slottedNodes[snIndex];
|
|
1392
|
+
if (!slotGroup || !slotGroup.length) continue;
|
|
1393
|
+
snGroupLen = slotGroup.length;
|
|
1394
|
+
snGroupIdx = 0;
|
|
1395
|
+
for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
|
|
1396
|
+
slottedItem = slotGroup[snGroupIdx];
|
|
1397
|
+
if (!hosts[slottedItem.hostId]) {
|
|
1398
|
+
hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
|
|
1399
|
+
}
|
|
1400
|
+
if (!hosts[slottedItem.hostId]) continue;
|
|
1401
|
+
const hostEle = hosts[slottedItem.hostId];
|
|
1402
|
+
if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
|
|
1403
|
+
hostEle.appendChild(slottedItem.node);
|
|
1404
|
+
}
|
|
1405
|
+
if (!hostEle.shadowRoot || !shadowRoot) {
|
|
1406
|
+
if (!slottedItem.slot["s-cr"]) {
|
|
1407
|
+
slottedItem.slot["s-cr"] = hostEle["s-cr"];
|
|
1408
|
+
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
|
1409
|
+
slottedItem.slot["s-cr"] = hostEle;
|
|
1410
|
+
} else {
|
|
1411
|
+
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1415
|
+
if (((_c = slottedItem.node.parentElement) == null ? void 0 : _c.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
1416
|
+
slottedItem.node.removeAttribute("slot");
|
|
1417
|
+
}
|
|
1418
|
+
{
|
|
1419
|
+
patchSlottedNode(slottedItem.node);
|
|
1420
|
+
}
|
|
394
1421
|
}
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
if (scopeId2 && slotNodes.length) {
|
|
1425
|
+
slotNodes.forEach((slot) => {
|
|
1426
|
+
slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
|
|
395
1427
|
});
|
|
396
1428
|
}
|
|
1429
|
+
if (shadowRoot) {
|
|
1430
|
+
let rnIdex = 0;
|
|
1431
|
+
const rnLen = shadowRootNodes.length;
|
|
1432
|
+
if (rnLen) {
|
|
1433
|
+
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
1434
|
+
const node = shadowRootNodes[rnIdex];
|
|
1435
|
+
if (node) {
|
|
1436
|
+
shadowRoot.appendChild(node);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
Array.from(hostElm.childNodes).forEach((node) => {
|
|
1440
|
+
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
1441
|
+
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
1442
|
+
node.removeAttribute("hidden");
|
|
1443
|
+
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
1444
|
+
node.parentNode.removeChild(node);
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
});
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
hostRef.$hostElement$ = hostElm;
|
|
397
1451
|
endHydrate();
|
|
398
1452
|
};
|
|
399
|
-
var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
|
|
1453
|
+
var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
|
|
400
1454
|
let childNodeType;
|
|
401
1455
|
let childIdSplt;
|
|
402
1456
|
let childVNode;
|
|
403
1457
|
let i2;
|
|
1458
|
+
const scopeId2 = hostElm["s-sc"];
|
|
404
1459
|
if (node.nodeType === 1 /* ElementNode */) {
|
|
405
1460
|
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
406
1461
|
if (childNodeType) {
|
|
407
1462
|
childIdSplt = childNodeType.split(".");
|
|
408
1463
|
if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
|
|
409
|
-
childVNode = {
|
|
1464
|
+
childVNode = createSimpleVNode({
|
|
410
1465
|
$flags$: 0,
|
|
411
1466
|
$hostId$: childIdSplt[0],
|
|
412
1467
|
$nodeId$: childIdSplt[1],
|
|
@@ -414,18 +1469,43 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
414
1469
|
$index$: childIdSplt[3],
|
|
415
1470
|
$tag$: node.tagName.toLowerCase(),
|
|
416
1471
|
$elm$: node,
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
$
|
|
420
|
-
|
|
421
|
-
$text$: null
|
|
422
|
-
};
|
|
1472
|
+
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
|
|
1473
|
+
// won't try to reconcile them. Classes set on the node will be blown away.
|
|
1474
|
+
$attrs$: { class: node.className || "" }
|
|
1475
|
+
});
|
|
423
1476
|
childRenderNodes.push(childVNode);
|
|
424
1477
|
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
425
1478
|
if (!parentVNode.$children$) {
|
|
426
1479
|
parentVNode.$children$ = [];
|
|
427
1480
|
}
|
|
428
|
-
|
|
1481
|
+
if (scopeId2 && childIdSplt[0] === hostId) {
|
|
1482
|
+
node["s-si"] = scopeId2;
|
|
1483
|
+
childVNode.$attrs$.class += " " + scopeId2;
|
|
1484
|
+
}
|
|
1485
|
+
const slotName = childVNode.$elm$.getAttribute("s-sn");
|
|
1486
|
+
if (typeof slotName === "string") {
|
|
1487
|
+
if (childVNode.$tag$ === "slot-fb") {
|
|
1488
|
+
addSlot(
|
|
1489
|
+
slotName,
|
|
1490
|
+
childIdSplt[2],
|
|
1491
|
+
childVNode,
|
|
1492
|
+
node,
|
|
1493
|
+
parentVNode,
|
|
1494
|
+
childRenderNodes,
|
|
1495
|
+
slotNodes,
|
|
1496
|
+
shadowRootNodes,
|
|
1497
|
+
slottedNodes
|
|
1498
|
+
);
|
|
1499
|
+
if (scopeId2) {
|
|
1500
|
+
node.classList.add(scopeId2);
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
childVNode.$elm$["s-sn"] = slotName;
|
|
1504
|
+
childVNode.$elm$.removeAttribute("s-sn");
|
|
1505
|
+
}
|
|
1506
|
+
if (childVNode.$index$ !== void 0) {
|
|
1507
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1508
|
+
}
|
|
429
1509
|
parentVNode = childVNode;
|
|
430
1510
|
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
431
1511
|
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
@@ -441,31 +1521,33 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
441
1521
|
shadowRootNodes,
|
|
442
1522
|
hostElm,
|
|
443
1523
|
node.shadowRoot.childNodes[i2],
|
|
444
|
-
hostId
|
|
1524
|
+
hostId,
|
|
1525
|
+
slottedNodes
|
|
445
1526
|
);
|
|
446
1527
|
}
|
|
447
1528
|
}
|
|
448
|
-
|
|
1529
|
+
const nonShadowNodes = node.__childNodes || node.childNodes;
|
|
1530
|
+
for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
|
|
449
1531
|
clientHydrate(
|
|
450
1532
|
parentVNode,
|
|
451
1533
|
childRenderNodes,
|
|
452
1534
|
slotNodes,
|
|
453
1535
|
shadowRootNodes,
|
|
454
1536
|
hostElm,
|
|
455
|
-
|
|
456
|
-
hostId
|
|
1537
|
+
nonShadowNodes[i2],
|
|
1538
|
+
hostId,
|
|
1539
|
+
slottedNodes
|
|
457
1540
|
);
|
|
458
1541
|
}
|
|
459
1542
|
} else if (node.nodeType === 8 /* CommentNode */) {
|
|
460
1543
|
childIdSplt = node.nodeValue.split(".");
|
|
461
1544
|
if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
|
|
462
1545
|
childNodeType = childIdSplt[0];
|
|
463
|
-
childVNode = {
|
|
464
|
-
$flags$: 0,
|
|
1546
|
+
childVNode = createSimpleVNode({
|
|
465
1547
|
$hostId$: childIdSplt[1],
|
|
466
1548
|
$nodeId$: childIdSplt[2],
|
|
467
1549
|
$depth$: childIdSplt[3],
|
|
468
|
-
$index$: childIdSplt[4],
|
|
1550
|
+
$index$: childIdSplt[4] || "0",
|
|
469
1551
|
$elm$: node,
|
|
470
1552
|
$attrs$: null,
|
|
471
1553
|
$children$: null,
|
|
@@ -473,46 +1555,43 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
473
1555
|
$name$: null,
|
|
474
1556
|
$tag$: null,
|
|
475
1557
|
$text$: null
|
|
476
|
-
};
|
|
1558
|
+
});
|
|
477
1559
|
if (childNodeType === TEXT_NODE_ID) {
|
|
478
|
-
childVNode.$elm$ = node
|
|
1560
|
+
childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
|
|
479
1561
|
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
|
480
1562
|
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
481
1563
|
childRenderNodes.push(childVNode);
|
|
482
1564
|
node.remove();
|
|
483
|
-
if (
|
|
484
|
-
parentVNode.$children$
|
|
1565
|
+
if (hostId === childVNode.$hostId$) {
|
|
1566
|
+
if (!parentVNode.$children$) {
|
|
1567
|
+
parentVNode.$children$ = [];
|
|
1568
|
+
}
|
|
1569
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
485
1570
|
}
|
|
486
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
487
1571
|
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
488
1572
|
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
489
1573
|
}
|
|
490
1574
|
}
|
|
1575
|
+
} else if (childNodeType === COMMENT_NODE_ID) {
|
|
1576
|
+
childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
|
|
1577
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
|
|
1578
|
+
childRenderNodes.push(childVNode);
|
|
1579
|
+
node.remove();
|
|
1580
|
+
}
|
|
491
1581
|
} else if (childVNode.$hostId$ === hostId) {
|
|
492
1582
|
if (childNodeType === SLOT_NODE_ID) {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
506
|
-
node.remove();
|
|
507
|
-
if (childVNode.$depth$ === "0") {
|
|
508
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
slotNodes.push(childVNode);
|
|
512
|
-
if (!parentVNode.$children$) {
|
|
513
|
-
parentVNode.$children$ = [];
|
|
514
|
-
}
|
|
515
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1583
|
+
const slotName = node["s-sn"] = childIdSplt[5] || "";
|
|
1584
|
+
addSlot(
|
|
1585
|
+
slotName,
|
|
1586
|
+
childIdSplt[2],
|
|
1587
|
+
childVNode,
|
|
1588
|
+
node,
|
|
1589
|
+
parentVNode,
|
|
1590
|
+
childRenderNodes,
|
|
1591
|
+
slotNodes,
|
|
1592
|
+
shadowRootNodes,
|
|
1593
|
+
slottedNodes
|
|
1594
|
+
);
|
|
516
1595
|
} else if (childNodeType === CONTENT_REF_ID) {
|
|
517
1596
|
if (shadowRootNodes) {
|
|
518
1597
|
node.remove();
|
|
@@ -528,18 +1607,28 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
528
1607
|
vnode.$elm$ = node;
|
|
529
1608
|
vnode.$index$ = "0";
|
|
530
1609
|
parentVNode.$children$ = [vnode];
|
|
1610
|
+
} else {
|
|
1611
|
+
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
|
|
1612
|
+
node.remove();
|
|
1613
|
+
}
|
|
531
1614
|
}
|
|
1615
|
+
return parentVNode;
|
|
532
1616
|
};
|
|
533
1617
|
var initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
534
1618
|
if (node.nodeType === 1 /* ElementNode */) {
|
|
1619
|
+
const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
|
|
1620
|
+
if (componentId) {
|
|
1621
|
+
orgLocNodes.set(componentId, node);
|
|
1622
|
+
}
|
|
535
1623
|
let i2 = 0;
|
|
536
1624
|
if (node.shadowRoot) {
|
|
537
1625
|
for (; i2 < node.shadowRoot.childNodes.length; i2++) {
|
|
538
1626
|
initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
|
|
539
1627
|
}
|
|
540
1628
|
}
|
|
541
|
-
|
|
542
|
-
|
|
1629
|
+
const nonShadowNodes = node.__childNodes || node.childNodes;
|
|
1630
|
+
for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
|
|
1631
|
+
initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
|
|
543
1632
|
}
|
|
544
1633
|
} else if (node.nodeType === 8 /* CommentNode */) {
|
|
545
1634
|
const childIdSplt = node.nodeValue.split(".");
|
|
@@ -550,18 +1639,118 @@ var initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
|
550
1639
|
}
|
|
551
1640
|
}
|
|
552
1641
|
};
|
|
1642
|
+
var createSimpleVNode = (vnode) => {
|
|
1643
|
+
const defaultVNode = {
|
|
1644
|
+
$flags$: 0,
|
|
1645
|
+
$hostId$: null,
|
|
1646
|
+
$nodeId$: null,
|
|
1647
|
+
$depth$: null,
|
|
1648
|
+
$index$: "0",
|
|
1649
|
+
$elm$: null,
|
|
1650
|
+
$attrs$: null,
|
|
1651
|
+
$children$: null,
|
|
1652
|
+
$key$: null,
|
|
1653
|
+
$name$: null,
|
|
1654
|
+
$tag$: null,
|
|
1655
|
+
$text$: null
|
|
1656
|
+
};
|
|
1657
|
+
return { ...defaultVNode, ...vnode };
|
|
1658
|
+
};
|
|
1659
|
+
function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
|
|
1660
|
+
node["s-sr"] = true;
|
|
1661
|
+
childVNode.$name$ = slotName || null;
|
|
1662
|
+
childVNode.$tag$ = "slot";
|
|
1663
|
+
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1664
|
+
if (shadowRootNodes && win.document) {
|
|
1665
|
+
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
|
1666
|
+
if (childVNode.$name$) {
|
|
1667
|
+
childVNode.$elm$.setAttribute("name", slotName);
|
|
1668
|
+
}
|
|
1669
|
+
if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1670
|
+
internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
|
|
1671
|
+
} else {
|
|
1672
|
+
internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
|
|
1673
|
+
}
|
|
1674
|
+
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
|
1675
|
+
node.remove();
|
|
1676
|
+
if (childVNode.$depth$ === "0") {
|
|
1677
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1678
|
+
}
|
|
1679
|
+
} else {
|
|
1680
|
+
const slot = childVNode.$elm$;
|
|
1681
|
+
const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
|
|
1682
|
+
addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
|
|
1683
|
+
patchSlotNode(node);
|
|
1684
|
+
if (shouldMove) {
|
|
1685
|
+
parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
childRenderNodes.push(childVNode);
|
|
1689
|
+
slotNodes.push(childVNode);
|
|
1690
|
+
if (!parentVNode.$children$) {
|
|
1691
|
+
parentVNode.$children$ = [];
|
|
1692
|
+
}
|
|
1693
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1694
|
+
}
|
|
1695
|
+
var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
|
|
1696
|
+
var _a, _b;
|
|
1697
|
+
let slottedNode = slotNode.nextSibling;
|
|
1698
|
+
slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
|
|
1699
|
+
if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
|
|
1700
|
+
do {
|
|
1701
|
+
if (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (!slottedNode["getAttribute"] || !slottedNode.getAttribute("slot")) && (slottedNode.nodeType === 8 /* CommentNode */ || slottedNode.nodeType === 3 /* TextNode */))) {
|
|
1702
|
+
slottedNode["s-sn"] = slotName;
|
|
1703
|
+
slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
|
|
1704
|
+
}
|
|
1705
|
+
slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
|
|
1706
|
+
} while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
|
|
1707
|
+
};
|
|
1708
|
+
var findCorrespondingNode = (node, type) => {
|
|
1709
|
+
let sibling = node;
|
|
1710
|
+
do {
|
|
1711
|
+
sibling = sibling.nextSibling;
|
|
1712
|
+
} while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
|
|
1713
|
+
return sibling;
|
|
1714
|
+
};
|
|
1715
|
+
var createSupportsRuleRe = (selector) => {
|
|
1716
|
+
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
1717
|
+
return new RegExp(
|
|
1718
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
1719
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
1720
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
1721
|
+
"g"
|
|
1722
|
+
);
|
|
1723
|
+
};
|
|
1724
|
+
createSupportsRuleRe("::slotted");
|
|
1725
|
+
createSupportsRuleRe(":host");
|
|
1726
|
+
createSupportsRuleRe(":host-context");
|
|
553
1727
|
|
|
554
1728
|
// src/runtime/mode.ts
|
|
555
1729
|
var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
|
|
556
1730
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
557
|
-
var getMode = (ref) =>
|
|
558
|
-
var
|
|
1731
|
+
var getMode = (ref) => {
|
|
1732
|
+
var _a;
|
|
1733
|
+
return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
|
|
1734
|
+
};
|
|
1735
|
+
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
1736
|
+
if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
1737
|
+
propValue = deserializeProperty(propValue);
|
|
1738
|
+
return propValue;
|
|
1739
|
+
}
|
|
1740
|
+
if (typeof propValue === "string" && (propType & 16 /* Unknown */ || propType & 8 /* Any */) && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
|
|
1741
|
+
try {
|
|
1742
|
+
return JSON.parse(propValue);
|
|
1743
|
+
} catch (e) {
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
559
1746
|
if (propValue != null && !isComplexType(propValue)) {
|
|
560
1747
|
if (propType & 4 /* Boolean */) {
|
|
561
|
-
|
|
1748
|
+
{
|
|
1749
|
+
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
1750
|
+
}
|
|
562
1751
|
}
|
|
563
1752
|
if (propType & 2 /* Number */) {
|
|
564
|
-
return parseFloat(propValue);
|
|
1753
|
+
return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
|
|
565
1754
|
}
|
|
566
1755
|
if (propType & 1 /* String */) {
|
|
567
1756
|
return String(propValue);
|
|
@@ -570,7 +1759,10 @@ var parsePropertyValue = (propValue, propType) => {
|
|
|
570
1759
|
}
|
|
571
1760
|
return propValue;
|
|
572
1761
|
};
|
|
573
|
-
var getElement = (ref) =>
|
|
1762
|
+
var getElement = (ref) => {
|
|
1763
|
+
var _a;
|
|
1764
|
+
return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
|
|
1765
|
+
};
|
|
574
1766
|
|
|
575
1767
|
// src/runtime/event-emitter.ts
|
|
576
1768
|
var createEvent = (ref, name, flags) => {
|
|
@@ -591,205 +1783,160 @@ var emitEvent = (elm, name, opts) => {
|
|
|
591
1783
|
elm.dispatchEvent(ev);
|
|
592
1784
|
return ev;
|
|
593
1785
|
};
|
|
594
|
-
var
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
598
|
-
style = style || new CSSStyleSheet();
|
|
599
|
-
if (typeof style === "string") {
|
|
600
|
-
style = cssText;
|
|
601
|
-
} else {
|
|
602
|
-
style.replaceSync(cssText);
|
|
603
|
-
}
|
|
604
|
-
} else {
|
|
605
|
-
style = cssText;
|
|
606
|
-
}
|
|
607
|
-
styles.set(scopeId2, style);
|
|
608
|
-
};
|
|
609
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
610
|
-
var _a;
|
|
611
|
-
const scopeId2 = getScopeId(cmpMeta, mode);
|
|
612
|
-
const style = styles.get(scopeId2);
|
|
613
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
614
|
-
if (style) {
|
|
615
|
-
if (typeof style === "string") {
|
|
616
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
617
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
618
|
-
let styleElm;
|
|
619
|
-
if (!appliedStyles) {
|
|
620
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
621
|
-
}
|
|
622
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
623
|
-
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
624
|
-
styleElm.innerHTML = style;
|
|
625
|
-
} else {
|
|
626
|
-
styleElm = doc.createElement("style");
|
|
627
|
-
styleElm.innerHTML = style;
|
|
628
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
629
|
-
if (nonce != null) {
|
|
630
|
-
styleElm.setAttribute("nonce", nonce);
|
|
631
|
-
}
|
|
632
|
-
const injectStyle = (
|
|
633
|
-
/**
|
|
634
|
-
* we render a scoped component
|
|
635
|
-
*/
|
|
636
|
-
!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
|
|
637
|
-
* we are using shadow dom and render the style tag within the shadowRoot
|
|
638
|
-
*/
|
|
639
|
-
cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
|
|
640
|
-
);
|
|
641
|
-
if (injectStyle) {
|
|
642
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
646
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
647
|
-
}
|
|
648
|
-
if (appliedStyles) {
|
|
649
|
-
appliedStyles.add(scopeId2);
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
653
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
return scopeId2;
|
|
657
|
-
};
|
|
658
|
-
var attachStyles = (hostRef) => {
|
|
659
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
660
|
-
const elm = hostRef.$hostElement$;
|
|
661
|
-
const flags = cmpMeta.$flags$;
|
|
662
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
663
|
-
const scopeId2 = addStyle(
|
|
664
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
665
|
-
cmpMeta,
|
|
666
|
-
hostRef.$modeName$
|
|
667
|
-
);
|
|
668
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
669
|
-
elm["s-sc"] = scopeId2;
|
|
670
|
-
elm.classList.add(scopeId2 + "-h");
|
|
671
|
-
if (flags & 2 /* scopedCssEncapsulation */) {
|
|
672
|
-
elm.classList.add(scopeId2 + "-s");
|
|
673
|
-
}
|
|
1786
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
1787
|
+
if (oldValue === newValue) {
|
|
1788
|
+
return;
|
|
674
1789
|
}
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
let
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
1790
|
+
let isProp = isMemberInElement(elm, memberName);
|
|
1791
|
+
let ln = memberName.toLowerCase();
|
|
1792
|
+
if (memberName === "class") {
|
|
1793
|
+
const classList = elm.classList;
|
|
1794
|
+
const oldClasses = parseClassList(oldValue);
|
|
1795
|
+
let newClasses = parseClassList(newValue);
|
|
1796
|
+
if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
|
|
1797
|
+
const scopeId2 = elm["s-sc"] || elm["s-si"];
|
|
1798
|
+
newClasses.push(scopeId2);
|
|
1799
|
+
oldClasses.forEach((c) => {
|
|
1800
|
+
if (c.startsWith(scopeId2)) newClasses.push(c);
|
|
1801
|
+
});
|
|
1802
|
+
newClasses = [...new Set(newClasses)].filter((c) => c);
|
|
1803
|
+
classList.add(...newClasses);
|
|
1804
|
+
} else {
|
|
686
1805
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
687
1806
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
elm.style.removeProperty(prop);
|
|
694
|
-
} else {
|
|
695
|
-
elm.style[prop] = "";
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
for (const prop in newValue) {
|
|
701
|
-
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
1807
|
+
}
|
|
1808
|
+
} else if (memberName === "style") {
|
|
1809
|
+
{
|
|
1810
|
+
for (const prop in oldValue) {
|
|
1811
|
+
if (!newValue || newValue[prop] == null) {
|
|
702
1812
|
if (prop.includes("-")) {
|
|
703
|
-
elm.style.
|
|
1813
|
+
elm.style.removeProperty(prop);
|
|
704
1814
|
} else {
|
|
705
|
-
elm.style[prop] =
|
|
1815
|
+
elm.style[prop] = "";
|
|
706
1816
|
}
|
|
707
1817
|
}
|
|
708
1818
|
}
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
} else if (isMemberInElement(win, ln)) {
|
|
717
|
-
memberName = ln.slice(2);
|
|
718
|
-
} else {
|
|
719
|
-
memberName = ln[2] + memberName.slice(3);
|
|
720
|
-
}
|
|
721
|
-
if (oldValue || newValue) {
|
|
722
|
-
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
723
|
-
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
|
724
|
-
if (oldValue) {
|
|
725
|
-
plt.rel(elm, memberName, oldValue, capture);
|
|
726
|
-
}
|
|
727
|
-
if (newValue) {
|
|
728
|
-
plt.ael(elm, memberName, newValue, capture);
|
|
1819
|
+
}
|
|
1820
|
+
for (const prop in newValue) {
|
|
1821
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
1822
|
+
if (prop.includes("-")) {
|
|
1823
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
1824
|
+
} else {
|
|
1825
|
+
elm.style[prop] = newValue[prop];
|
|
729
1826
|
}
|
|
730
1827
|
}
|
|
1828
|
+
}
|
|
1829
|
+
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
1830
|
+
if (newValue) {
|
|
1831
|
+
newValue(elm);
|
|
1832
|
+
}
|
|
1833
|
+
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
1834
|
+
if (memberName[2] === "-") {
|
|
1835
|
+
memberName = memberName.slice(3);
|
|
1836
|
+
} else if (isMemberInElement(win, ln)) {
|
|
1837
|
+
memberName = ln.slice(2);
|
|
731
1838
|
} else {
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
1839
|
+
memberName = ln[2] + memberName.slice(3);
|
|
1840
|
+
}
|
|
1841
|
+
if (oldValue || newValue) {
|
|
1842
|
+
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
1843
|
+
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
|
1844
|
+
if (oldValue) {
|
|
1845
|
+
plt.rel(elm, memberName, oldValue, capture);
|
|
1846
|
+
}
|
|
1847
|
+
if (newValue) {
|
|
1848
|
+
plt.ael(elm, memberName, newValue, capture);
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
} else {
|
|
1852
|
+
const isComplex = isComplexType(newValue);
|
|
1853
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
1854
|
+
try {
|
|
1855
|
+
if (!elm.tagName.includes("-")) {
|
|
1856
|
+
const n = newValue == null ? "" : newValue;
|
|
1857
|
+
if (memberName === "list") {
|
|
1858
|
+
isProp = false;
|
|
1859
|
+
} else if (oldValue == null || elm[memberName] != n) {
|
|
1860
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
740
1861
|
elm[memberName] = n;
|
|
1862
|
+
} else {
|
|
1863
|
+
elm.setAttribute(memberName, n);
|
|
741
1864
|
}
|
|
742
|
-
} else {
|
|
743
|
-
elm[memberName] = newValue;
|
|
744
1865
|
}
|
|
745
|
-
}
|
|
1866
|
+
} else if (elm[memberName] !== newValue) {
|
|
1867
|
+
elm[memberName] = newValue;
|
|
746
1868
|
}
|
|
1869
|
+
} catch (e) {
|
|
747
1870
|
}
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
1871
|
+
}
|
|
1872
|
+
let xlink = false;
|
|
1873
|
+
{
|
|
1874
|
+
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
|
1875
|
+
memberName = ln;
|
|
1876
|
+
xlink = true;
|
|
754
1877
|
}
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
759
|
-
} else {
|
|
760
|
-
elm.removeAttribute(memberName);
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
764
|
-
newValue = newValue === true ? "" : newValue;
|
|
1878
|
+
}
|
|
1879
|
+
if (newValue == null || newValue === false) {
|
|
1880
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
765
1881
|
if (xlink) {
|
|
766
|
-
elm.
|
|
1882
|
+
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
767
1883
|
} else {
|
|
768
|
-
elm.
|
|
1884
|
+
elm.removeAttribute(memberName);
|
|
769
1885
|
}
|
|
770
1886
|
}
|
|
1887
|
+
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
|
1888
|
+
newValue = newValue === true ? "" : newValue;
|
|
1889
|
+
if (xlink) {
|
|
1890
|
+
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
1891
|
+
} else {
|
|
1892
|
+
elm.setAttribute(memberName, newValue);
|
|
1893
|
+
}
|
|
771
1894
|
}
|
|
772
1895
|
}
|
|
773
1896
|
};
|
|
774
1897
|
var parseClassListRegex = /\s/;
|
|
775
|
-
var parseClassList = (value) =>
|
|
1898
|
+
var parseClassList = (value) => {
|
|
1899
|
+
if (typeof value === "object" && value && "baseVal" in value) {
|
|
1900
|
+
value = value.baseVal;
|
|
1901
|
+
}
|
|
1902
|
+
if (!value || typeof value !== "string") {
|
|
1903
|
+
return [];
|
|
1904
|
+
}
|
|
1905
|
+
return value.split(parseClassListRegex);
|
|
1906
|
+
};
|
|
776
1907
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
777
1908
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
778
1909
|
|
|
779
1910
|
// src/runtime/vdom/update-element.ts
|
|
780
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
1911
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
|
|
781
1912
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
782
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
783
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
1913
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
|
|
1914
|
+
const newVnodeAttrs = newVnode.$attrs$ || {};
|
|
784
1915
|
{
|
|
785
1916
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
786
1917
|
if (!(memberName in newVnodeAttrs)) {
|
|
787
|
-
setAccessor(
|
|
1918
|
+
setAccessor(
|
|
1919
|
+
elm,
|
|
1920
|
+
memberName,
|
|
1921
|
+
oldVnodeAttrs[memberName],
|
|
1922
|
+
void 0,
|
|
1923
|
+
isSvgMode2,
|
|
1924
|
+
newVnode.$flags$,
|
|
1925
|
+
isInitialRender
|
|
1926
|
+
);
|
|
788
1927
|
}
|
|
789
1928
|
}
|
|
790
1929
|
}
|
|
791
1930
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
792
|
-
setAccessor(
|
|
1931
|
+
setAccessor(
|
|
1932
|
+
elm,
|
|
1933
|
+
memberName,
|
|
1934
|
+
oldVnodeAttrs[memberName],
|
|
1935
|
+
newVnodeAttrs[memberName],
|
|
1936
|
+
isSvgMode2,
|
|
1937
|
+
newVnode.$flags$,
|
|
1938
|
+
isInitialRender
|
|
1939
|
+
);
|
|
793
1940
|
}
|
|
794
1941
|
};
|
|
795
1942
|
function sortedAttrNames(attrNames) {
|
|
@@ -810,7 +1957,7 @@ var useNativeShadowDom = false;
|
|
|
810
1957
|
var checkSlotFallbackVisibility = false;
|
|
811
1958
|
var checkSlotRelocate = false;
|
|
812
1959
|
var isSvgMode = false;
|
|
813
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex
|
|
1960
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
814
1961
|
var _a;
|
|
815
1962
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
816
1963
|
let i2 = 0;
|
|
@@ -820,9 +1967,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
820
1967
|
if (!useNativeShadowDom) {
|
|
821
1968
|
checkSlotRelocate = true;
|
|
822
1969
|
if (newVNode2.$tag$ === "slot") {
|
|
823
|
-
if (scopeId) {
|
|
824
|
-
parentElm.classList.add(scopeId + "-s");
|
|
825
|
-
}
|
|
826
1970
|
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
|
827
1971
|
// slot element has fallback content
|
|
828
1972
|
// still create an element that "mocks" the slot element
|
|
@@ -836,14 +1980,22 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
836
1980
|
}
|
|
837
1981
|
}
|
|
838
1982
|
if (newVNode2.$text$ !== null) {
|
|
839
|
-
elm = newVNode2.$elm$ =
|
|
1983
|
+
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
840
1984
|
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
841
|
-
elm = newVNode2.$elm$ =
|
|
1985
|
+
elm = newVNode2.$elm$ = win.document.createTextNode("");
|
|
1986
|
+
{
|
|
1987
|
+
updateElement(null, newVNode2, isSvgMode);
|
|
1988
|
+
}
|
|
842
1989
|
} else {
|
|
843
1990
|
if (!isSvgMode) {
|
|
844
1991
|
isSvgMode = newVNode2.$tag$ === "svg";
|
|
845
1992
|
}
|
|
846
|
-
|
|
1993
|
+
if (!win.document) {
|
|
1994
|
+
throw new Error(
|
|
1995
|
+
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
|
1996
|
+
);
|
|
1997
|
+
}
|
|
1998
|
+
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
847
1999
|
isSvgMode ? SVG_NS : HTML_NS,
|
|
848
2000
|
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
849
2001
|
) ;
|
|
@@ -853,17 +2005,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
853
2005
|
{
|
|
854
2006
|
updateElement(null, newVNode2, isSvgMode);
|
|
855
2007
|
}
|
|
856
|
-
|
|
857
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
858
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
2008
|
+
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
859
2009
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
860
2010
|
}
|
|
861
|
-
{
|
|
862
|
-
updateElementScopeIds(elm, parentElm);
|
|
863
|
-
}
|
|
864
2011
|
if (newVNode2.$children$) {
|
|
865
2012
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
866
|
-
childNode = createElm(oldParentVNode, newVNode2, i2
|
|
2013
|
+
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
867
2014
|
if (childNode) {
|
|
868
2015
|
elm.appendChild(childNode);
|
|
869
2016
|
}
|
|
@@ -884,12 +2031,16 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
884
2031
|
elm["s-cr"] = contentRef;
|
|
885
2032
|
elm["s-sn"] = newVNode2.$name$ || "";
|
|
886
2033
|
elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
|
|
2034
|
+
patchSlotNode(elm);
|
|
887
2035
|
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
888
2036
|
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
889
2037
|
{
|
|
890
2038
|
relocateToHostRoot(oldParentVNode.$elm$);
|
|
891
2039
|
}
|
|
892
2040
|
}
|
|
2041
|
+
{
|
|
2042
|
+
addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
|
|
2043
|
+
}
|
|
893
2044
|
}
|
|
894
2045
|
}
|
|
895
2046
|
return elm;
|
|
@@ -898,8 +2049,12 @@ var relocateToHostRoot = (parentElm) => {
|
|
|
898
2049
|
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
899
2050
|
const host = parentElm.closest(hostTagName.toLowerCase());
|
|
900
2051
|
if (host != null) {
|
|
901
|
-
const contentRefNode = Array.from(host.childNodes).find(
|
|
902
|
-
|
|
2052
|
+
const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
|
|
2053
|
+
(ref) => ref["s-cr"]
|
|
2054
|
+
);
|
|
2055
|
+
const childNodeArray = Array.from(
|
|
2056
|
+
parentElm.__childNodes || parentElm.childNodes
|
|
2057
|
+
);
|
|
903
2058
|
for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
|
|
904
2059
|
if (childNode["s-sh"] != null) {
|
|
905
2060
|
insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
|
|
@@ -908,11 +2063,11 @@ var relocateToHostRoot = (parentElm) => {
|
|
|
908
2063
|
}
|
|
909
2064
|
}
|
|
910
2065
|
}
|
|
911
|
-
plt.$flags$ &=
|
|
2066
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
912
2067
|
};
|
|
913
2068
|
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
914
2069
|
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
915
|
-
const oldSlotChildNodes = Array.from(parentElm.childNodes);
|
|
2070
|
+
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
916
2071
|
if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
|
|
917
2072
|
let node = parentElm;
|
|
918
2073
|
while (node = node.nextSibling) {
|
|
@@ -924,7 +2079,7 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
924
2079
|
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
925
2080
|
const childNode = oldSlotChildNodes[i2];
|
|
926
2081
|
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
927
|
-
insertBefore(
|
|
2082
|
+
insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
|
|
928
2083
|
childNode["s-ol"].remove();
|
|
929
2084
|
childNode["s-ol"] = void 0;
|
|
930
2085
|
childNode["s-sh"] = void 0;
|
|
@@ -934,7 +2089,7 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
934
2089
|
putBackInOriginalLocation(childNode, recursive);
|
|
935
2090
|
}
|
|
936
2091
|
}
|
|
937
|
-
plt.$flags$ &=
|
|
2092
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
938
2093
|
};
|
|
939
2094
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
940
2095
|
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
@@ -944,7 +2099,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
944
2099
|
}
|
|
945
2100
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
946
2101
|
if (vnodes[startIdx]) {
|
|
947
|
-
childNode = createElm(null, parentVNode, startIdx
|
|
2102
|
+
childNode = createElm(null, parentVNode, startIdx);
|
|
948
2103
|
if (childNode) {
|
|
949
2104
|
vnodes[startIdx].$elm$ = childNode;
|
|
950
2105
|
insertBefore(containerElm, childNode, referenceNode(before) );
|
|
@@ -1031,7 +2186,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1031
2186
|
if (idxInOld >= 0) {
|
|
1032
2187
|
elmToMove = oldCh[idxInOld];
|
|
1033
2188
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
1034
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld
|
|
2189
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
|
1035
2190
|
} else {
|
|
1036
2191
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
1037
2192
|
oldCh[idxInOld] = void 0;
|
|
@@ -1039,12 +2194,16 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1039
2194
|
}
|
|
1040
2195
|
newStartVnode = newCh[++newStartIdx];
|
|
1041
2196
|
} else {
|
|
1042
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx
|
|
2197
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
1043
2198
|
newStartVnode = newCh[++newStartIdx];
|
|
1044
2199
|
}
|
|
1045
2200
|
if (node) {
|
|
1046
2201
|
{
|
|
1047
|
-
insertBefore(
|
|
2202
|
+
insertBefore(
|
|
2203
|
+
referenceNode(oldStartVnode.$elm$).parentNode,
|
|
2204
|
+
node,
|
|
2205
|
+
referenceNode(oldStartVnode.$elm$)
|
|
2206
|
+
);
|
|
1048
2207
|
}
|
|
1049
2208
|
}
|
|
1050
2209
|
}
|
|
@@ -1065,28 +2224,19 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1065
2224
|
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
1066
2225
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
1067
2226
|
if (leftVNode.$tag$ === "slot") {
|
|
1068
|
-
if (
|
|
1069
|
-
// The component gets hydrated and no VDOM has been initialized.
|
|
1070
|
-
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
1071
|
-
"$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
|
|
1072
|
-
// hydration comments to be removed
|
|
1073
|
-
leftVNode.$elm$.nodeType !== 8
|
|
1074
|
-
) {
|
|
1075
|
-
return false;
|
|
1076
|
-
}
|
|
1077
2227
|
return leftVNode.$name$ === rightVNode.$name$;
|
|
1078
2228
|
}
|
|
1079
2229
|
if (!isInitialRender) {
|
|
1080
2230
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
1081
2231
|
}
|
|
2232
|
+
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
2233
|
+
leftVNode.$key$ = rightVNode.$key$;
|
|
2234
|
+
}
|
|
1082
2235
|
return true;
|
|
1083
2236
|
}
|
|
1084
2237
|
return false;
|
|
1085
2238
|
};
|
|
1086
|
-
var referenceNode = (node) =>
|
|
1087
|
-
return node && node["s-ol"] || node;
|
|
1088
|
-
};
|
|
1089
|
-
var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
|
|
2239
|
+
var referenceNode = (node) => node && node["s-ol"] || node;
|
|
1090
2240
|
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
1091
2241
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
1092
2242
|
const oldChildren = oldVNode.$children$;
|
|
@@ -1104,9 +2254,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1104
2254
|
newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
|
|
1105
2255
|
relocateToHostRoot(newVNode2.$elm$.parentElement);
|
|
1106
2256
|
}
|
|
1107
|
-
} else {
|
|
1108
|
-
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
1109
2257
|
}
|
|
2258
|
+
updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
|
|
1110
2259
|
}
|
|
1111
2260
|
if (oldChildren !== null && newChildren !== null) {
|
|
1112
2261
|
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
@@ -1120,6 +2269,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1120
2269
|
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
1121
2270
|
) {
|
|
1122
2271
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
2272
|
+
} else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
|
|
2273
|
+
newVNode2.$children$ = oldChildren;
|
|
1123
2274
|
}
|
|
1124
2275
|
if (isSvgMode && tag === "svg") {
|
|
1125
2276
|
isSvgMode = false;
|
|
@@ -1130,41 +2281,15 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1130
2281
|
elm.data = text;
|
|
1131
2282
|
}
|
|
1132
2283
|
};
|
|
1133
|
-
var updateFallbackSlotVisibility = (elm) => {
|
|
1134
|
-
const childNodes = elm.childNodes;
|
|
1135
|
-
for (const childNode of childNodes) {
|
|
1136
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1137
|
-
if (childNode["s-sr"]) {
|
|
1138
|
-
const slotName = childNode["s-sn"];
|
|
1139
|
-
childNode.hidden = false;
|
|
1140
|
-
for (const siblingNode of childNodes) {
|
|
1141
|
-
if (siblingNode !== childNode) {
|
|
1142
|
-
if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
|
|
1143
|
-
if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
|
|
1144
|
-
childNode.hidden = true;
|
|
1145
|
-
break;
|
|
1146
|
-
}
|
|
1147
|
-
} else {
|
|
1148
|
-
if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
|
|
1149
|
-
childNode.hidden = true;
|
|
1150
|
-
break;
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
updateFallbackSlotVisibility(childNode);
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
};
|
|
1160
2284
|
var relocateNodes = [];
|
|
1161
2285
|
var markSlotContentForRelocation = (elm) => {
|
|
1162
2286
|
let node;
|
|
1163
2287
|
let hostContentNodes;
|
|
1164
2288
|
let j;
|
|
1165
|
-
|
|
2289
|
+
const children = elm.__childNodes || elm.childNodes;
|
|
2290
|
+
for (const childNode of children) {
|
|
1166
2291
|
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
|
1167
|
-
hostContentNodes = node.parentNode.childNodes;
|
|
2292
|
+
hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
|
|
1168
2293
|
const slotName = childNode["s-sn"];
|
|
1169
2294
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1170
2295
|
node = hostContentNodes[j];
|
|
@@ -1206,21 +2331,6 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
1206
2331
|
}
|
|
1207
2332
|
}
|
|
1208
2333
|
};
|
|
1209
|
-
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
1210
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1211
|
-
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
1212
|
-
return true;
|
|
1213
|
-
}
|
|
1214
|
-
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
1215
|
-
return true;
|
|
1216
|
-
}
|
|
1217
|
-
return false;
|
|
1218
|
-
}
|
|
1219
|
-
if (nodeToRelocate["s-sn"] === slotName) {
|
|
1220
|
-
return true;
|
|
1221
|
-
}
|
|
1222
|
-
return slotName === "";
|
|
1223
|
-
};
|
|
1224
2334
|
var nullifyVNodeRefs = (vNode) => {
|
|
1225
2335
|
{
|
|
1226
2336
|
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
@@ -1228,44 +2338,51 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
1228
2338
|
}
|
|
1229
2339
|
};
|
|
1230
2340
|
var insertBefore = (parent, newNode, reference) => {
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
);
|
|
2341
|
+
if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
|
|
2342
|
+
addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
|
|
2343
|
+
} else if (typeof newNode["s-sn"] === "string") {
|
|
2344
|
+
if (parent.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
|
|
2345
|
+
patchParentNode(newNode);
|
|
2346
|
+
}
|
|
2347
|
+
parent.insertBefore(newNode, reference);
|
|
2348
|
+
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
2349
|
+
if (slotNode) dispatchSlotChangeEvent(slotNode);
|
|
2350
|
+
return newNode;
|
|
2351
|
+
}
|
|
2352
|
+
if (parent.__insertBefore) {
|
|
2353
|
+
return parent.__insertBefore(newNode, reference);
|
|
2354
|
+
} else {
|
|
2355
|
+
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
1246
2356
|
}
|
|
1247
|
-
return scopeIds;
|
|
1248
2357
|
};
|
|
1249
|
-
|
|
1250
|
-
var _a;
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
2358
|
+
function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
2359
|
+
var _a, _b;
|
|
2360
|
+
let scopeId2;
|
|
2361
|
+
if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
|
|
2362
|
+
const scopeName = slotNode["s-sn"];
|
|
2363
|
+
const hostName = slotNode["s-hn"];
|
|
2364
|
+
(_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
|
|
2365
|
+
if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
|
|
2366
|
+
let child = (oldParent.__childNodes || oldParent.childNodes)[0];
|
|
2367
|
+
let found = false;
|
|
2368
|
+
while (child) {
|
|
2369
|
+
if (child["s-sn"] !== scopeName && child["s-hn"] === hostName && !!child["s-sr"]) {
|
|
2370
|
+
found = true;
|
|
2371
|
+
break;
|
|
1258
2372
|
}
|
|
2373
|
+
child = child.nextSibling;
|
|
1259
2374
|
}
|
|
2375
|
+
if (!found) oldParent.classList.remove(scopeId2 + "-s");
|
|
1260
2376
|
}
|
|
1261
2377
|
}
|
|
1262
|
-
}
|
|
2378
|
+
}
|
|
1263
2379
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
1264
2380
|
var _a, _b, _c, _d, _e;
|
|
1265
2381
|
const hostElm = hostRef.$hostElement$;
|
|
1266
2382
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1267
2383
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
1268
|
-
const
|
|
2384
|
+
const isHostElement = isHost(renderFnResults);
|
|
2385
|
+
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
1269
2386
|
hostTagName = hostElm.tagName;
|
|
1270
2387
|
if (cmpMeta.$attrsToReflect$) {
|
|
1271
2388
|
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
@@ -1287,7 +2404,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1287
2404
|
{
|
|
1288
2405
|
scopeId = hostElm["s-sc"];
|
|
1289
2406
|
}
|
|
1290
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)
|
|
2407
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
1291
2408
|
{
|
|
1292
2409
|
contentRef = hostElm["s-cr"];
|
|
1293
2410
|
checkSlotFallbackVisibility = false;
|
|
@@ -1299,8 +2416,8 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1299
2416
|
markSlotContentForRelocation(rootVnode.$elm$);
|
|
1300
2417
|
for (const relocateData of relocateNodes) {
|
|
1301
2418
|
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1302
|
-
if (!nodeToRelocate["s-ol"]) {
|
|
1303
|
-
const orgLocationNode =
|
|
2419
|
+
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
2420
|
+
const orgLocationNode = win.document.createTextNode("");
|
|
1304
2421
|
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
1305
2422
|
insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
|
|
1306
2423
|
}
|
|
@@ -1311,11 +2428,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1311
2428
|
if (slotRefNode) {
|
|
1312
2429
|
const parentNodeRef = slotRefNode.parentNode;
|
|
1313
2430
|
let insertBeforeNode = slotRefNode.nextSibling;
|
|
1314
|
-
if (insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
|
|
2431
|
+
if ((insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */)) {
|
|
1315
2432
|
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
|
1316
2433
|
while (orgLocationNode) {
|
|
1317
2434
|
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
|
1318
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
|
|
2435
|
+
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
|
1319
2436
|
refNode = refNode.nextSibling;
|
|
1320
2437
|
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
1321
2438
|
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
@@ -1328,15 +2445,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1328
2445
|
orgLocationNode = orgLocationNode.previousSibling;
|
|
1329
2446
|
}
|
|
1330
2447
|
}
|
|
1331
|
-
|
|
2448
|
+
const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
|
|
2449
|
+
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
2450
|
+
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
1332
2451
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
1333
2452
|
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
1334
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
2453
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
1335
2454
|
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
|
1336
2455
|
}
|
|
1337
2456
|
}
|
|
1338
2457
|
}
|
|
1339
|
-
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](
|
|
2458
|
+
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
|
1340
2459
|
} else {
|
|
1341
2460
|
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1342
2461
|
if (isInitialLoad) {
|
|
@@ -1350,11 +2469,12 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1350
2469
|
if (checkSlotFallbackVisibility) {
|
|
1351
2470
|
updateFallbackSlotVisibility(rootVnode.$elm$);
|
|
1352
2471
|
}
|
|
1353
|
-
plt.$flags$ &=
|
|
2472
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
1354
2473
|
relocateNodes.length = 0;
|
|
1355
2474
|
}
|
|
1356
2475
|
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
1357
|
-
|
|
2476
|
+
const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
|
|
2477
|
+
for (const childNode of children) {
|
|
1358
2478
|
if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
|
|
1359
2479
|
if (isInitialLoad && childNode["s-ih"] == null) {
|
|
1360
2480
|
childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
|
|
@@ -1369,7 +2489,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1369
2489
|
// src/runtime/update-component.ts
|
|
1370
2490
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1371
2491
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
1372
|
-
ancestorComponent["s-p"].push(
|
|
2492
|
+
const index = ancestorComponent["s-p"].push(
|
|
2493
|
+
new Promise(
|
|
2494
|
+
(r) => hostRef.$onRenderResolve$ = () => {
|
|
2495
|
+
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
2496
|
+
r();
|
|
2497
|
+
}
|
|
2498
|
+
)
|
|
2499
|
+
);
|
|
1373
2500
|
}
|
|
1374
2501
|
};
|
|
1375
2502
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -1382,6 +2509,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
1382
2509
|
}
|
|
1383
2510
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
1384
2511
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
2512
|
+
if (isInitialLoad) {
|
|
2513
|
+
queueMicrotask(() => {
|
|
2514
|
+
dispatch();
|
|
2515
|
+
});
|
|
2516
|
+
return;
|
|
2517
|
+
}
|
|
1385
2518
|
return writeTask(dispatch) ;
|
|
1386
2519
|
};
|
|
1387
2520
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
@@ -1398,17 +2531,15 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1398
2531
|
{
|
|
1399
2532
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
1400
2533
|
if (hostRef.$queuedListeners$) {
|
|
1401
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
2534
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
|
|
1402
2535
|
hostRef.$queuedListeners$ = void 0;
|
|
1403
2536
|
}
|
|
1404
2537
|
}
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
}
|
|
1409
|
-
{
|
|
1410
|
-
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
|
|
2538
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
2539
|
+
} else {
|
|
2540
|
+
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
1411
2541
|
}
|
|
2542
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
|
1412
2543
|
endSchedule();
|
|
1413
2544
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1414
2545
|
};
|
|
@@ -1451,7 +2582,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
|
1451
2582
|
try {
|
|
1452
2583
|
instance = instance.render && instance.render();
|
|
1453
2584
|
{
|
|
1454
|
-
hostRef.$flags$ &=
|
|
2585
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
|
1455
2586
|
}
|
|
1456
2587
|
{
|
|
1457
2588
|
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
@@ -1474,17 +2605,13 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1474
2605
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
1475
2606
|
const instance = hostRef.$lazyInstance$ ;
|
|
1476
2607
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1477
|
-
|
|
1478
|
-
safeCall(instance, "componentDidRender");
|
|
1479
|
-
}
|
|
2608
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
|
1480
2609
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1481
2610
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1482
2611
|
{
|
|
1483
2612
|
addHydratedFlag(elm);
|
|
1484
2613
|
}
|
|
1485
|
-
|
|
1486
|
-
safeCall(instance, "componentDidLoad");
|
|
1487
|
-
}
|
|
2614
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
1488
2615
|
endPostUpdate();
|
|
1489
2616
|
{
|
|
1490
2617
|
hostRef.$onReadyResolve$(elm);
|
|
@@ -1493,9 +2620,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1493
2620
|
}
|
|
1494
2621
|
}
|
|
1495
2622
|
} else {
|
|
1496
|
-
|
|
1497
|
-
safeCall(instance, "componentDidUpdate");
|
|
1498
|
-
}
|
|
2623
|
+
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
1499
2624
|
endPostUpdate();
|
|
1500
2625
|
}
|
|
1501
2626
|
{
|
|
@@ -1509,13 +2634,14 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1509
2634
|
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
1510
2635
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
1511
2636
|
}
|
|
1512
|
-
hostRef.$flags$ &=
|
|
2637
|
+
hostRef.$flags$ &= -517;
|
|
1513
2638
|
}
|
|
1514
2639
|
};
|
|
1515
2640
|
var forceUpdate = (ref) => {
|
|
2641
|
+
var _a;
|
|
1516
2642
|
{
|
|
1517
2643
|
const hostRef = getHostRef(ref);
|
|
1518
|
-
const isConnected = hostRef.$hostElement
|
|
2644
|
+
const isConnected = (_a = hostRef == null ? void 0 : hostRef.$hostElement$) == null ? void 0 : _a.isConnected;
|
|
1519
2645
|
if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1520
2646
|
scheduleUpdate(hostRef, false);
|
|
1521
2647
|
}
|
|
@@ -1523,17 +2649,20 @@ var forceUpdate = (ref) => {
|
|
|
1523
2649
|
}
|
|
1524
2650
|
};
|
|
1525
2651
|
var appDidLoad = (who) => {
|
|
2652
|
+
var _a;
|
|
2653
|
+
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1526
2654
|
{
|
|
1527
|
-
|
|
2655
|
+
if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
|
|
2656
|
+
plt.$orgLocNodes$.clear();
|
|
2657
|
+
}
|
|
1528
2658
|
}
|
|
1529
|
-
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1530
2659
|
};
|
|
1531
|
-
var safeCall = (instance, method, arg) => {
|
|
2660
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
1532
2661
|
if (instance && instance[method]) {
|
|
1533
2662
|
try {
|
|
1534
2663
|
return instance[method](arg);
|
|
1535
2664
|
} catch (e) {
|
|
1536
|
-
consoleError(e);
|
|
2665
|
+
consoleError(e, elm);
|
|
1537
2666
|
}
|
|
1538
2667
|
}
|
|
1539
2668
|
return void 0;
|
|
@@ -1547,16 +2676,21 @@ var addHydratedFlag = (elm) => {
|
|
|
1547
2676
|
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1548
2677
|
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1549
2678
|
const hostRef = getHostRef(ref);
|
|
2679
|
+
if (!hostRef) {
|
|
2680
|
+
return;
|
|
2681
|
+
}
|
|
1550
2682
|
if (!hostRef) {
|
|
1551
2683
|
throw new Error(
|
|
1552
|
-
`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/
|
|
2684
|
+
`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/stenciljs/core/issues/5457).`
|
|
1553
2685
|
);
|
|
1554
2686
|
}
|
|
1555
2687
|
const elm = hostRef.$hostElement$ ;
|
|
1556
2688
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
1557
2689
|
const flags = hostRef.$flags$;
|
|
1558
2690
|
const instance = hostRef.$lazyInstance$ ;
|
|
1559
|
-
newVal = parsePropertyValue(
|
|
2691
|
+
newVal = parsePropertyValue(
|
|
2692
|
+
newVal,
|
|
2693
|
+
cmpMeta.$members$[propName][0]);
|
|
1560
2694
|
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1561
2695
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1562
2696
|
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
@@ -1575,6 +2709,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1575
2709
|
}
|
|
1576
2710
|
}
|
|
1577
2711
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
2712
|
+
if (instance.componentShouldUpdate) {
|
|
2713
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
2714
|
+
return;
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
1578
2717
|
scheduleUpdate(hostRef, false);
|
|
1579
2718
|
}
|
|
1580
2719
|
}
|
|
@@ -1592,15 +2731,77 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1592
2731
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1593
2732
|
members.map(([memberName, [memberFlags]]) => {
|
|
1594
2733
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
2734
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
2735
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
2736
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
2737
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
2738
|
+
Object.defineProperty(prototype, memberName, {
|
|
2739
|
+
get() {
|
|
2740
|
+
{
|
|
2741
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
2742
|
+
return getValue(this, memberName);
|
|
2743
|
+
}
|
|
2744
|
+
const ref = getHostRef(this);
|
|
2745
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
2746
|
+
if (!instance) return;
|
|
2747
|
+
return instance[memberName];
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
configurable: true,
|
|
2751
|
+
enumerable: true
|
|
2752
|
+
});
|
|
2753
|
+
}
|
|
1595
2754
|
Object.defineProperty(prototype, memberName, {
|
|
1596
|
-
get() {
|
|
1597
|
-
return getValue(this, memberName);
|
|
1598
|
-
},
|
|
1599
2755
|
set(newValue) {
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
2756
|
+
const ref = getHostRef(this);
|
|
2757
|
+
if (!ref) {
|
|
2758
|
+
return;
|
|
2759
|
+
}
|
|
2760
|
+
if (origSetter) {
|
|
2761
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2762
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
2763
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
2764
|
+
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2765
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
2766
|
+
}
|
|
2767
|
+
origSetter.apply(this, [
|
|
2768
|
+
parsePropertyValue(
|
|
2769
|
+
newValue,
|
|
2770
|
+
memberFlags)
|
|
2771
|
+
]);
|
|
2772
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2773
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
2774
|
+
return;
|
|
2775
|
+
}
|
|
2776
|
+
{
|
|
2777
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
2778
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
2779
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
2780
|
+
ref.$onReadyPromise$.then(() => {
|
|
2781
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
2782
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
2783
|
+
}
|
|
2784
|
+
});
|
|
2785
|
+
}
|
|
2786
|
+
return;
|
|
2787
|
+
}
|
|
2788
|
+
const setterSetVal = () => {
|
|
2789
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
2790
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2791
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
2792
|
+
}
|
|
2793
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(
|
|
2794
|
+
newValue,
|
|
2795
|
+
memberFlags);
|
|
2796
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
2797
|
+
};
|
|
2798
|
+
if (ref.$lazyInstance$) {
|
|
2799
|
+
setterSetVal();
|
|
2800
|
+
} else {
|
|
2801
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
2802
|
+
}
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
1604
2805
|
});
|
|
1605
2806
|
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
|
|
1606
2807
|
Object.defineProperty(prototype, memberName, {
|
|
@@ -1621,7 +2822,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1621
2822
|
plt.jmp(() => {
|
|
1622
2823
|
var _a2;
|
|
1623
2824
|
const propName = attrNameToPropName.get(attrName);
|
|
1624
|
-
if (this.hasOwnProperty(propName)) {
|
|
2825
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
1625
2826
|
newValue = this[propName];
|
|
1626
2827
|
delete this[propName];
|
|
1627
2828
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1630,7 +2831,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1630
2831
|
} else if (propName == null) {
|
|
1631
2832
|
const hostRef = getHostRef(this);
|
|
1632
2833
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
1633
|
-
if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
|
2834
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
|
1634
2835
|
const instance = hostRef.$lazyInstance$ ;
|
|
1635
2836
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
1636
2837
|
entry == null ? void 0 : entry.forEach((callbackName) => {
|
|
@@ -1641,7 +2842,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1641
2842
|
}
|
|
1642
2843
|
return;
|
|
1643
2844
|
}
|
|
1644
|
-
|
|
2845
|
+
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
2846
|
+
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
2847
|
+
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
2848
|
+
this[propName] = newValue;
|
|
2849
|
+
}
|
|
1645
2850
|
});
|
|
1646
2851
|
};
|
|
1647
2852
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1670,7 +2875,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1670
2875
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1671
2876
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1672
2877
|
if (bundleId) {
|
|
1673
|
-
const CstrImport = loadModule(cmpMeta);
|
|
2878
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
1674
2879
|
if (CstrImport && "then" in CstrImport) {
|
|
1675
2880
|
const endLoad = uniqueTime();
|
|
1676
2881
|
Cstr = await CstrImport;
|
|
@@ -1695,16 +2900,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1695
2900
|
try {
|
|
1696
2901
|
new Cstr(hostRef);
|
|
1697
2902
|
} catch (e) {
|
|
1698
|
-
consoleError(e);
|
|
2903
|
+
consoleError(e, elm);
|
|
1699
2904
|
}
|
|
1700
2905
|
{
|
|
1701
|
-
hostRef.$flags$ &=
|
|
2906
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
1702
2907
|
}
|
|
1703
2908
|
{
|
|
1704
2909
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1705
2910
|
}
|
|
1706
2911
|
endNewInstance();
|
|
1707
|
-
fireConnectedCallback(hostRef.$lazyInstance
|
|
2912
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1708
2913
|
} else {
|
|
1709
2914
|
Cstr = elm.constructor;
|
|
1710
2915
|
const cmpTag = elm.localName;
|
|
@@ -1736,9 +2941,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1736
2941
|
schedule();
|
|
1737
2942
|
}
|
|
1738
2943
|
};
|
|
1739
|
-
var fireConnectedCallback = (instance) => {
|
|
2944
|
+
var fireConnectedCallback = (instance, elm) => {
|
|
1740
2945
|
{
|
|
1741
|
-
safeCall(instance, "connectedCallback");
|
|
2946
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
1742
2947
|
}
|
|
1743
2948
|
};
|
|
1744
2949
|
|
|
@@ -1746,6 +2951,9 @@ var fireConnectedCallback = (instance) => {
|
|
|
1746
2951
|
var connectedCallback = (elm) => {
|
|
1747
2952
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1748
2953
|
const hostRef = getHostRef(elm);
|
|
2954
|
+
if (!hostRef) {
|
|
2955
|
+
return;
|
|
2956
|
+
}
|
|
1749
2957
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1750
2958
|
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
1751
2959
|
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
@@ -1757,6 +2965,9 @@ var connectedCallback = (elm) => {
|
|
|
1757
2965
|
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1758
2966
|
const scopeId2 = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute("s-mode")) ;
|
|
1759
2967
|
elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
|
|
2968
|
+
} else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
2969
|
+
const scopeId2 = getScopeId(cmpMeta, elm.getAttribute("s-mode") );
|
|
2970
|
+
elm["s-sc"] = scopeId2;
|
|
1760
2971
|
}
|
|
1761
2972
|
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1762
2973
|
}
|
|
@@ -1791,342 +3002,77 @@ var connectedCallback = (elm) => {
|
|
|
1791
3002
|
} else {
|
|
1792
3003
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1793
3004
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1794
|
-
fireConnectedCallback(hostRef.$lazyInstance
|
|
3005
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1795
3006
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1796
|
-
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance
|
|
3007
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
1797
3008
|
}
|
|
1798
3009
|
}
|
|
1799
3010
|
endConnected();
|
|
1800
3011
|
}
|
|
1801
3012
|
};
|
|
1802
3013
|
var setContentReference = (elm) => {
|
|
1803
|
-
|
|
3014
|
+
if (!win.document) {
|
|
3015
|
+
return;
|
|
3016
|
+
}
|
|
3017
|
+
const contentRefElm = elm["s-cr"] = win.document.createComment(
|
|
1804
3018
|
""
|
|
1805
3019
|
);
|
|
1806
3020
|
contentRefElm["s-cn"] = true;
|
|
1807
3021
|
insertBefore(elm, contentRefElm, elm.firstChild);
|
|
1808
3022
|
};
|
|
1809
|
-
var disconnectInstance = (instance) => {
|
|
3023
|
+
var disconnectInstance = (instance, elm) => {
|
|
1810
3024
|
{
|
|
1811
|
-
safeCall(instance, "disconnectedCallback");
|
|
3025
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
1812
3026
|
}
|
|
1813
3027
|
};
|
|
1814
3028
|
var disconnectedCallback = async (elm) => {
|
|
1815
3029
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1816
3030
|
const hostRef = getHostRef(elm);
|
|
1817
3031
|
{
|
|
1818
|
-
if (hostRef.$rmListeners$) {
|
|
3032
|
+
if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
|
|
1819
3033
|
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
1820
3034
|
hostRef.$rmListeners$ = void 0;
|
|
1821
3035
|
}
|
|
1822
3036
|
}
|
|
1823
3037
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1824
|
-
disconnectInstance(hostRef.$lazyInstance
|
|
3038
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
1825
3039
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1826
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance
|
|
1827
|
-
}
|
|
1828
|
-
}
|
|
1829
|
-
};
|
|
1830
|
-
var patchPseudoShadowDom = (hostElementPrototype, descriptorPrototype) => {
|
|
1831
|
-
patchCloneNode(hostElementPrototype);
|
|
1832
|
-
patchSlotAppendChild(hostElementPrototype);
|
|
1833
|
-
patchSlotAppend(hostElementPrototype);
|
|
1834
|
-
patchSlotPrepend(hostElementPrototype);
|
|
1835
|
-
patchSlotInsertAdjacentElement(hostElementPrototype);
|
|
1836
|
-
patchSlotInsertAdjacentHTML(hostElementPrototype);
|
|
1837
|
-
patchSlotInsertAdjacentText(hostElementPrototype);
|
|
1838
|
-
patchTextContent(hostElementPrototype);
|
|
1839
|
-
patchChildSlotNodes(hostElementPrototype, descriptorPrototype);
|
|
1840
|
-
patchSlotRemoveChild(hostElementPrototype);
|
|
1841
|
-
};
|
|
1842
|
-
var patchCloneNode = (HostElementPrototype) => {
|
|
1843
|
-
const orgCloneNode = HostElementPrototype.cloneNode;
|
|
1844
|
-
HostElementPrototype.cloneNode = function(deep) {
|
|
1845
|
-
const srcNode = this;
|
|
1846
|
-
const isShadowDom = srcNode.shadowRoot && supportsShadow ;
|
|
1847
|
-
const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
|
|
1848
|
-
if (!isShadowDom && deep) {
|
|
1849
|
-
let i2 = 0;
|
|
1850
|
-
let slotted, nonStencilNode;
|
|
1851
|
-
const stencilPrivates = [
|
|
1852
|
-
"s-id",
|
|
1853
|
-
"s-cr",
|
|
1854
|
-
"s-lr",
|
|
1855
|
-
"s-rc",
|
|
1856
|
-
"s-sc",
|
|
1857
|
-
"s-p",
|
|
1858
|
-
"s-cn",
|
|
1859
|
-
"s-sr",
|
|
1860
|
-
"s-sn",
|
|
1861
|
-
"s-hn",
|
|
1862
|
-
"s-ol",
|
|
1863
|
-
"s-nr",
|
|
1864
|
-
"s-si",
|
|
1865
|
-
"s-rf",
|
|
1866
|
-
"s-scs"
|
|
1867
|
-
];
|
|
1868
|
-
for (; i2 < srcNode.childNodes.length; i2++) {
|
|
1869
|
-
slotted = srcNode.childNodes[i2]["s-nr"];
|
|
1870
|
-
nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i2][privateField]);
|
|
1871
|
-
if (slotted) {
|
|
1872
|
-
if (clonedNode.__appendChild) {
|
|
1873
|
-
clonedNode.__appendChild(slotted.cloneNode(true));
|
|
1874
|
-
} else {
|
|
1875
|
-
clonedNode.appendChild(slotted.cloneNode(true));
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
if (nonStencilNode) {
|
|
1879
|
-
clonedNode.appendChild(srcNode.childNodes[i2].cloneNode(true));
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
}
|
|
1883
|
-
return clonedNode;
|
|
1884
|
-
};
|
|
1885
|
-
};
|
|
1886
|
-
var patchSlotAppendChild = (HostElementPrototype) => {
|
|
1887
|
-
HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
|
|
1888
|
-
HostElementPrototype.appendChild = function(newChild) {
|
|
1889
|
-
const slotName = newChild["s-sn"] = getSlotName(newChild);
|
|
1890
|
-
const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);
|
|
1891
|
-
if (slotNode) {
|
|
1892
|
-
const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
|
|
1893
|
-
const appendAfter = slotChildNodes[slotChildNodes.length - 1];
|
|
1894
|
-
const insertedNode = insertBefore(appendAfter.parentNode, newChild, appendAfter.nextSibling);
|
|
1895
|
-
updateFallbackSlotVisibility(this);
|
|
1896
|
-
return insertedNode;
|
|
1897
|
-
}
|
|
1898
|
-
return this.__appendChild(newChild);
|
|
1899
|
-
};
|
|
1900
|
-
};
|
|
1901
|
-
var patchSlotRemoveChild = (ElementPrototype) => {
|
|
1902
|
-
ElementPrototype.__removeChild = ElementPrototype.removeChild;
|
|
1903
|
-
ElementPrototype.removeChild = function(toRemove) {
|
|
1904
|
-
if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
|
|
1905
|
-
const slotNode = getHostSlotNode(this.childNodes, toRemove["s-sn"], this.tagName);
|
|
1906
|
-
if (slotNode) {
|
|
1907
|
-
const slotChildNodes = getHostSlotChildNodes(slotNode, toRemove["s-sn"]);
|
|
1908
|
-
const existingNode = slotChildNodes.find((n) => n === toRemove);
|
|
1909
|
-
if (existingNode) {
|
|
1910
|
-
existingNode.remove();
|
|
1911
|
-
updateFallbackSlotVisibility(this);
|
|
1912
|
-
return;
|
|
1913
|
-
}
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
|
-
return this.__removeChild(toRemove);
|
|
1917
|
-
};
|
|
1918
|
-
};
|
|
1919
|
-
var patchSlotPrepend = (HostElementPrototype) => {
|
|
1920
|
-
const originalPrepend = HostElementPrototype.prepend;
|
|
1921
|
-
HostElementPrototype.prepend = function(...newChildren) {
|
|
1922
|
-
newChildren.forEach((newChild) => {
|
|
1923
|
-
if (typeof newChild === "string") {
|
|
1924
|
-
newChild = this.ownerDocument.createTextNode(newChild);
|
|
1925
|
-
}
|
|
1926
|
-
const slotName = newChild["s-sn"] = getSlotName(newChild);
|
|
1927
|
-
const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);
|
|
1928
|
-
if (slotNode) {
|
|
1929
|
-
const slotPlaceholder = document.createTextNode("");
|
|
1930
|
-
slotPlaceholder["s-nr"] = newChild;
|
|
1931
|
-
slotNode["s-cr"].parentNode.__appendChild(slotPlaceholder);
|
|
1932
|
-
newChild["s-ol"] = slotPlaceholder;
|
|
1933
|
-
const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
|
|
1934
|
-
const appendAfter = slotChildNodes[0];
|
|
1935
|
-
return insertBefore(appendAfter.parentNode, newChild, appendAfter.nextSibling);
|
|
1936
|
-
}
|
|
1937
|
-
if (newChild.nodeType === 1 && !!newChild.getAttribute("slot")) {
|
|
1938
|
-
newChild.hidden = true;
|
|
1939
|
-
}
|
|
1940
|
-
return originalPrepend.call(this, newChild);
|
|
1941
|
-
});
|
|
1942
|
-
};
|
|
1943
|
-
};
|
|
1944
|
-
var patchSlotAppend = (HostElementPrototype) => {
|
|
1945
|
-
HostElementPrototype.append = function(...newChildren) {
|
|
1946
|
-
newChildren.forEach((newChild) => {
|
|
1947
|
-
if (typeof newChild === "string") {
|
|
1948
|
-
newChild = this.ownerDocument.createTextNode(newChild);
|
|
1949
|
-
}
|
|
1950
|
-
this.appendChild(newChild);
|
|
1951
|
-
});
|
|
1952
|
-
};
|
|
1953
|
-
};
|
|
1954
|
-
var patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
|
|
1955
|
-
const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
|
|
1956
|
-
HostElementPrototype.insertAdjacentHTML = function(position, text) {
|
|
1957
|
-
if (position !== "afterbegin" && position !== "beforeend") {
|
|
1958
|
-
return originalInsertAdjacentHtml.call(this, position, text);
|
|
1959
|
-
}
|
|
1960
|
-
const container = this.ownerDocument.createElement("_");
|
|
1961
|
-
let node;
|
|
1962
|
-
container.innerHTML = text;
|
|
1963
|
-
if (position === "afterbegin") {
|
|
1964
|
-
while (node = container.firstChild) {
|
|
1965
|
-
this.prepend(node);
|
|
1966
|
-
}
|
|
1967
|
-
} else if (position === "beforeend") {
|
|
1968
|
-
while (node = container.firstChild) {
|
|
1969
|
-
this.append(node);
|
|
1970
|
-
}
|
|
1971
|
-
}
|
|
1972
|
-
};
|
|
1973
|
-
};
|
|
1974
|
-
var patchSlotInsertAdjacentText = (HostElementPrototype) => {
|
|
1975
|
-
HostElementPrototype.insertAdjacentText = function(position, text) {
|
|
1976
|
-
this.insertAdjacentHTML(position, text);
|
|
1977
|
-
};
|
|
1978
|
-
};
|
|
1979
|
-
var patchSlotInsertAdjacentElement = (HostElementPrototype) => {
|
|
1980
|
-
const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
|
|
1981
|
-
HostElementPrototype.insertAdjacentElement = function(position, element) {
|
|
1982
|
-
if (position !== "afterbegin" && position !== "beforeend") {
|
|
1983
|
-
return originalInsertAdjacentElement.call(this, position, element);
|
|
1984
|
-
}
|
|
1985
|
-
if (position === "afterbegin") {
|
|
1986
|
-
this.prepend(element);
|
|
1987
|
-
return element;
|
|
1988
|
-
} else if (position === "beforeend") {
|
|
1989
|
-
this.append(element);
|
|
1990
|
-
return element;
|
|
1991
|
-
}
|
|
1992
|
-
return element;
|
|
1993
|
-
};
|
|
1994
|
-
};
|
|
1995
|
-
var patchTextContent = (hostElementPrototype) => {
|
|
1996
|
-
const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, "textContent");
|
|
1997
|
-
Object.defineProperty(hostElementPrototype, "__textContent", descriptor);
|
|
1998
|
-
{
|
|
1999
|
-
Object.defineProperty(hostElementPrototype, "textContent", {
|
|
2000
|
-
// To mimic shadow root behavior, we need to return the text content of all
|
|
2001
|
-
// nodes in a slot reference node
|
|
2002
|
-
get() {
|
|
2003
|
-
const slotRefNodes = getAllChildSlotNodes(this.childNodes);
|
|
2004
|
-
const textContent = slotRefNodes.map((node) => {
|
|
2005
|
-
var _a, _b;
|
|
2006
|
-
const text = [];
|
|
2007
|
-
let slotContent = node.nextSibling;
|
|
2008
|
-
while (slotContent && slotContent["s-sn"] === node["s-sn"]) {
|
|
2009
|
-
if (slotContent.nodeType === 3 /* TEXT_NODE */ || slotContent.nodeType === 1 /* ELEMENT_NODE */) {
|
|
2010
|
-
text.push((_b = (_a = slotContent.textContent) == null ? void 0 : _a.trim()) != null ? _b : "");
|
|
2011
|
-
}
|
|
2012
|
-
slotContent = slotContent.nextSibling;
|
|
2013
|
-
}
|
|
2014
|
-
return text.filter((ref) => ref !== "").join(" ");
|
|
2015
|
-
}).filter((text) => text !== "").join(" ");
|
|
2016
|
-
return " " + textContent + " ";
|
|
2017
|
-
},
|
|
2018
|
-
// To mimic shadow root behavior, we need to overwrite all nodes in a slot
|
|
2019
|
-
// reference node. If a default slot reference node exists, the text content will be
|
|
2020
|
-
// placed there. Otherwise, the new text node will be hidden
|
|
2021
|
-
set(value) {
|
|
2022
|
-
const slotRefNodes = getAllChildSlotNodes(this.childNodes);
|
|
2023
|
-
slotRefNodes.forEach((node) => {
|
|
2024
|
-
let slotContent = node.nextSibling;
|
|
2025
|
-
while (slotContent && slotContent["s-sn"] === node["s-sn"]) {
|
|
2026
|
-
const tmp = slotContent;
|
|
2027
|
-
slotContent = slotContent.nextSibling;
|
|
2028
|
-
tmp.remove();
|
|
2029
|
-
}
|
|
2030
|
-
if (node["s-sn"] === "") {
|
|
2031
|
-
const textNode = this.ownerDocument.createTextNode(value);
|
|
2032
|
-
textNode["s-sn"] = "";
|
|
2033
|
-
insertBefore(node.parentElement, textNode, node.nextSibling);
|
|
2034
|
-
} else {
|
|
2035
|
-
node.remove();
|
|
2036
|
-
}
|
|
2037
|
-
});
|
|
2038
|
-
}
|
|
2039
|
-
});
|
|
2040
|
-
}
|
|
2041
|
-
};
|
|
2042
|
-
var patchChildSlotNodes = (elm, cmpMeta) => {
|
|
2043
|
-
class FakeNodeList extends Array {
|
|
2044
|
-
item(n) {
|
|
2045
|
-
return this[n];
|
|
2046
|
-
}
|
|
2047
|
-
}
|
|
2048
|
-
if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {
|
|
2049
|
-
const childNodesFn = elm.__lookupGetter__("childNodes");
|
|
2050
|
-
Object.defineProperty(elm, "children", {
|
|
2051
|
-
get() {
|
|
2052
|
-
return this.childNodes.map((n) => n.nodeType === 1);
|
|
2053
|
-
}
|
|
2054
|
-
});
|
|
2055
|
-
Object.defineProperty(elm, "childElementCount", {
|
|
2056
|
-
get() {
|
|
2057
|
-
return elm.children.length;
|
|
2058
|
-
}
|
|
2059
|
-
});
|
|
2060
|
-
Object.defineProperty(elm, "childNodes", {
|
|
2061
|
-
get() {
|
|
2062
|
-
const childNodes = childNodesFn.call(this);
|
|
2063
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0 && getHostRef(this).$flags$ & 2 /* hasRendered */) {
|
|
2064
|
-
const result = new FakeNodeList();
|
|
2065
|
-
for (let i2 = 0; i2 < childNodes.length; i2++) {
|
|
2066
|
-
const slot = childNodes[i2]["s-nr"];
|
|
2067
|
-
if (slot) {
|
|
2068
|
-
result.push(slot);
|
|
2069
|
-
}
|
|
2070
|
-
}
|
|
2071
|
-
return result;
|
|
2072
|
-
}
|
|
2073
|
-
return FakeNodeList.from(childNodes);
|
|
2074
|
-
}
|
|
2075
|
-
});
|
|
2076
|
-
}
|
|
2077
|
-
};
|
|
2078
|
-
var getAllChildSlotNodes = (childNodes) => {
|
|
2079
|
-
const slotRefNodes = [];
|
|
2080
|
-
for (const childNode of Array.from(childNodes)) {
|
|
2081
|
-
if (childNode["s-sr"]) {
|
|
2082
|
-
slotRefNodes.push(childNode);
|
|
3040
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
2083
3041
|
}
|
|
2084
|
-
slotRefNodes.push(...getAllChildSlotNodes(childNode.childNodes));
|
|
2085
3042
|
}
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
var getSlotName = (node) => node["s-sn"] || node.nodeType === 1 && node.getAttribute("slot") || "";
|
|
2089
|
-
var getHostSlotNode = (childNodes, slotName, hostName) => {
|
|
2090
|
-
let i2 = 0;
|
|
2091
|
-
let childNode;
|
|
2092
|
-
for (; i2 < childNodes.length; i2++) {
|
|
2093
|
-
childNode = childNodes[i2];
|
|
2094
|
-
if (childNode["s-sr"] && childNode["s-sn"] === slotName && childNode["s-hn"] === hostName) {
|
|
2095
|
-
return childNode;
|
|
2096
|
-
}
|
|
2097
|
-
childNode = getHostSlotNode(childNode.childNodes, slotName, hostName);
|
|
2098
|
-
if (childNode) {
|
|
2099
|
-
return childNode;
|
|
2100
|
-
}
|
|
3043
|
+
if (rootAppliedStyles.has(elm)) {
|
|
3044
|
+
rootAppliedStyles.delete(elm);
|
|
2101
3045
|
}
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
var getHostSlotChildNodes = (n, slotName) => {
|
|
2105
|
-
const childNodes = [n];
|
|
2106
|
-
while ((n = n.nextSibling) && n["s-sn"] === slotName) {
|
|
2107
|
-
childNodes.push(n);
|
|
3046
|
+
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
3047
|
+
rootAppliedStyles.delete(elm.shadowRoot);
|
|
2108
3048
|
}
|
|
2109
|
-
return childNodes;
|
|
2110
3049
|
};
|
|
2111
3050
|
|
|
2112
3051
|
// src/runtime/bootstrap-lazy.ts
|
|
2113
3052
|
var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
2114
3053
|
var _a;
|
|
3054
|
+
if (!win.document) {
|
|
3055
|
+
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
|
3056
|
+
return;
|
|
3057
|
+
}
|
|
2115
3058
|
const endBootstrap = createTime();
|
|
2116
3059
|
const cmpTags = [];
|
|
2117
3060
|
const exclude = options.exclude || [];
|
|
2118
3061
|
const customElements2 = win.customElements;
|
|
2119
|
-
const head =
|
|
3062
|
+
const head = win.document.head;
|
|
2120
3063
|
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
|
2121
|
-
const dataStyles = /* @__PURE__ */
|
|
3064
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
|
2122
3065
|
const deferredConnectedCallbacks = [];
|
|
2123
3066
|
let appLoadFallback;
|
|
2124
3067
|
let isBootstrapping = true;
|
|
2125
3068
|
Object.assign(plt, options);
|
|
2126
|
-
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./",
|
|
3069
|
+
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
2127
3070
|
{
|
|
2128
3071
|
plt.$flags$ |= 2 /* appLoaded */;
|
|
2129
3072
|
}
|
|
3073
|
+
{
|
|
3074
|
+
hydrateScopedToShadow();
|
|
3075
|
+
}
|
|
2130
3076
|
let hasSlotRelocation = false;
|
|
2131
3077
|
lazyBundles.map((lazyBundle) => {
|
|
2132
3078
|
lazyBundle[1].map((compactMeta) => {
|
|
@@ -2163,12 +3109,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2163
3109
|
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
2164
3110
|
{
|
|
2165
3111
|
if (!self.shadowRoot) {
|
|
2166
|
-
|
|
2167
|
-
self.attachShadow({
|
|
2168
|
-
mode: "open",
|
|
2169
|
-
delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
|
|
2170
|
-
});
|
|
2171
|
-
}
|
|
3112
|
+
createShadowRoot.call(self, cmpMeta);
|
|
2172
3113
|
} else {
|
|
2173
3114
|
if (self.shadowRoot.mode !== "open") {
|
|
2174
3115
|
throw new Error(
|
|
@@ -2181,6 +3122,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2181
3122
|
}
|
|
2182
3123
|
connectedCallback() {
|
|
2183
3124
|
const hostRef = getHostRef(this);
|
|
3125
|
+
if (!hostRef) {
|
|
3126
|
+
return;
|
|
3127
|
+
}
|
|
2184
3128
|
if (!this.hasRegisteredEventListeners) {
|
|
2185
3129
|
this.hasRegisteredEventListeners = true;
|
|
2186
3130
|
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
|
@@ -2197,14 +3141,29 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2197
3141
|
}
|
|
2198
3142
|
disconnectedCallback() {
|
|
2199
3143
|
plt.jmp(() => disconnectedCallback(this));
|
|
3144
|
+
plt.raf(() => {
|
|
3145
|
+
var _a3;
|
|
3146
|
+
const hostRef = getHostRef(this);
|
|
3147
|
+
if (!hostRef) {
|
|
3148
|
+
return;
|
|
3149
|
+
}
|
|
3150
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
3151
|
+
if (i2 > -1) {
|
|
3152
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
3153
|
+
}
|
|
3154
|
+
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
3155
|
+
delete hostRef.$vnode$.$elm$;
|
|
3156
|
+
}
|
|
3157
|
+
});
|
|
2200
3158
|
}
|
|
2201
3159
|
componentOnReady() {
|
|
2202
|
-
|
|
3160
|
+
var _a3;
|
|
3161
|
+
return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
|
|
2203
3162
|
}
|
|
2204
3163
|
};
|
|
2205
|
-
{
|
|
2206
|
-
|
|
2207
|
-
patchPseudoShadowDom(HostElement.prototype
|
|
3164
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasRenderFn */) {
|
|
3165
|
+
{
|
|
3166
|
+
patchPseudoShadowDom(HostElement.prototype);
|
|
2208
3167
|
}
|
|
2209
3168
|
}
|
|
2210
3169
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
@@ -2226,7 +3185,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2226
3185
|
}
|
|
2227
3186
|
if (dataStyles.innerHTML.length) {
|
|
2228
3187
|
dataStyles.setAttribute("data-styles", "");
|
|
2229
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
3188
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
2230
3189
|
if (nonce != null) {
|
|
2231
3190
|
dataStyles.setAttribute("nonce", nonce);
|
|
2232
3191
|
}
|
|
@@ -2243,10 +3202,13 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2243
3202
|
}
|
|
2244
3203
|
endBootstrap();
|
|
2245
3204
|
};
|
|
3205
|
+
|
|
3206
|
+
// src/runtime/fragment.ts
|
|
3207
|
+
var Fragment = (_, children) => children;
|
|
2246
3208
|
var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
2247
|
-
if (listeners) {
|
|
3209
|
+
if (listeners && win.document) {
|
|
2248
3210
|
listeners.map(([flags, name, method]) => {
|
|
2249
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
3211
|
+
const target = getHostListenerTarget(win.document, elm, flags) ;
|
|
2250
3212
|
const handler = hostListenerProxy(hostRef, method);
|
|
2251
3213
|
const opts = hostListenerOpts(flags);
|
|
2252
3214
|
plt.ael(target, name, handler, opts);
|
|
@@ -2265,13 +3227,19 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
2265
3227
|
}
|
|
2266
3228
|
}
|
|
2267
3229
|
} catch (e) {
|
|
2268
|
-
consoleError(e);
|
|
3230
|
+
consoleError(e, hostRef.$hostElement$);
|
|
2269
3231
|
}
|
|
2270
3232
|
};
|
|
2271
|
-
var getHostListenerTarget = (elm, flags) => {
|
|
2272
|
-
if (flags & 4 /* TargetDocument */)
|
|
2273
|
-
|
|
2274
|
-
|
|
3233
|
+
var getHostListenerTarget = (doc, elm, flags) => {
|
|
3234
|
+
if (flags & 4 /* TargetDocument */) {
|
|
3235
|
+
return doc;
|
|
3236
|
+
}
|
|
3237
|
+
if (flags & 8 /* TargetWindow */) {
|
|
3238
|
+
return win;
|
|
3239
|
+
}
|
|
3240
|
+
if (flags & 16 /* TargetBody */) {
|
|
3241
|
+
return doc.body;
|
|
3242
|
+
}
|
|
2275
3243
|
return elm;
|
|
2276
3244
|
};
|
|
2277
3245
|
var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
@@ -2282,4 +3250,4 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
2282
3250
|
// src/runtime/nonce.ts
|
|
2283
3251
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
2284
3252
|
|
|
2285
|
-
export { Build as B, H,
|
|
3253
|
+
export { Build as B, Fragment as F, H, LogLevel as L, readTask as a, bootstrapLazy as b, createEvent as c, Host as d, config as e, printIonWarning as f, getElement as g, h, forceUpdate as i, printIonError as j, getAssetPath as k, configFromSession as l, configFromURL as m, saveConfig as n, getMode as o, promiseResolve as p, setMode as q, registerInstance as r, setNonce as s, printRequiredElementError as t, writeTask as w };
|