@ionic/core 8.2.3-dev.11719301373.17616928 → 8.2.3-dev.11719439159.152ff050
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 +8 -13
- package/components/alert.js +10 -14
- package/components/backdrop.js +6 -10
- package/components/button.js +12 -41
- package/components/buttons.js +7 -11
- package/components/checkbox.js +13 -26
- package/components/data.js +4 -4
- package/components/index2.js +2 -1
- package/components/index4.js +7 -8
- package/components/index6.js +30 -27
- package/components/index7.js +27 -124
- package/components/index8.js +111 -150
- package/components/index9.js +167 -0
- package/components/input-shims.js +1 -1
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +6 -9
- package/components/ion-accordion.js +9 -15
- package/components/ion-app.js +6 -5
- package/components/ion-avatar.js +3 -52
- package/components/ion-back-button.js +11 -15
- package/components/ion-badge.js +6 -42
- package/components/ion-breadcrumb.js +10 -16
- package/components/ion-breadcrumbs.js +5 -9
- package/components/ion-card-content.js +5 -9
- package/components/ion-card-header.js +5 -9
- package/components/ion-card-subtitle.js +5 -9
- package/components/ion-card-title.js +5 -9
- package/components/ion-card.js +9 -17
- package/components/ion-chip.js +8 -45
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +11 -11
- package/components/ion-datetime-button.js +6 -9
- package/components/ion-datetime.js +20 -47
- package/components/ion-fab-button.js +9 -15
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +11 -15
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +12 -16
- package/components/ion-img.js +2 -5
- package/components/ion-infinite-scroll-content.js +8 -12
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +8 -7
- package/components/ion-input.js +20 -101
- package/components/ion-item-divider.js +5 -9
- package/components/ion-item-group.js +5 -9
- package/components/ion-item-option.js +8 -28
- package/components/ion-item-options.js +5 -9
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +8 -12
- package/components/ion-menu-button.js +9 -13
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +7 -11
- package/components/ion-modal.js +11 -14
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +6 -7
- package/components/ion-note.js +5 -9
- package/components/ion-picker-legacy.js +8 -7
- package/components/ion-progress-bar.js +6 -10
- package/components/ion-range.js +8 -11
- package/components/ion-refresher-content.js +8 -9
- package/components/ion-refresher.js +7 -11
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +5 -23
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +2 -2
- package/components/ion-row.js +2 -5
- package/components/ion-searchbar.js +16 -62
- package/components/ion-segment-button.js +8 -12
- package/components/ion-segment.js +5 -9
- package/components/ion-select-option.js +2 -5
- package/components/ion-select.js +28 -67
- package/components/ion-skeleton-text.js +5 -5
- package/components/ion-split-pane.js +8 -12
- package/components/ion-tab-bar.js +7 -11
- package/components/ion-tab-button.js +7 -11
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +9 -13
- package/components/ion-thumbnail.js +2 -5
- package/components/ion-title.js +7 -11
- package/components/ion-toast.js +9 -13
- package/components/ion-toggle.js +18 -56
- package/components/ion-toolbar.js +8 -16
- package/components/ionic-global.js +14 -191
- package/components/ios.transition.js +0 -1
- package/components/item.js +12 -18
- package/components/label.js +5 -9
- package/components/list-header.js +5 -9
- package/components/list.js +6 -29
- package/components/overlays.js +2 -1
- package/components/picker-column-option.js +5 -9
- package/components/picker-column.js +7 -7
- package/components/picker-column2.js +4 -4
- package/components/picker.js +4 -8
- package/components/popover.js +8 -11
- package/components/radio-group.js +3 -5
- package/components/radio.js +8 -12
- package/components/ripple-effect.js +5 -5
- package/components/select-popover.js +2 -9
- package/components/spinner.js +6 -6
- package/components/status-tap.js +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-5b0a3f95.js → app-globals-fa7f31d6.js} +1 -1
- package/dist/cjs/{button-active-b75108e6.js → button-active-24593fe7.js} +1 -1
- package/dist/cjs/{data-7d67d1e3.js → data-21dc0f81.js} +6 -6
- package/dist/cjs/{hardware-back-button-a90bf4cd.js → hardware-back-button-afaf185c.js} +2 -2
- package/dist/cjs/{index-59095e03.js → index-28e4e7aa.js} +12 -13
- package/dist/cjs/index-5915f9b3.js +38 -0
- package/dist/cjs/{index-ca6de37f.js → index-5b6a7459.js} +2 -2
- package/dist/cjs/{index-7f6ce0b7.js → index-cbd1dbd9.js} +185 -170
- package/dist/cjs/{index-71f7488c.js → index-e2659e6c.js} +8 -7
- package/dist/cjs/index.cjs.js +9 -8
- package/dist/cjs/{input-shims-58aadbb2.js → input-shims-9e59ef62.js} +2 -3
- package/dist/cjs/{input.utils-d9907cfc.js → input.utils-611cde0b.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +15 -24
- package/dist/cjs/ion-action-sheet.cjs.entry.js +13 -17
- package/dist/cjs/ion-alert.cjs.entry.js +15 -18
- package/dist/cjs/ion-app_8.cjs.entry.js +72 -94
- package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -91
- package/dist/cjs/ion-back-button.cjs.entry.js +11 -15
- package/dist/cjs/ion-backdrop.cjs.entry.js +7 -11
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +14 -24
- package/dist/cjs/ion-button_2.cjs.entry.js +16 -45
- package/dist/cjs/ion-card_5.cjs.entry.js +26 -49
- package/dist/cjs/ion-checkbox.cjs.entry.js +13 -24
- package/dist/cjs/ion-chip.cjs.entry.js +8 -43
- package/dist/cjs/ion-col_3.cjs.entry.js +11 -14
- package/dist/cjs/ion-datetime-button.cjs.entry.js +12 -15
- package/dist/cjs/ion-datetime_3.cjs.entry.js +108 -135
- package/dist/cjs/ion-fab_3.cjs.entry.js +18 -24
- package/dist/cjs/ion-img.cjs.entry.js +3 -6
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +14 -17
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +11 -10
- package/dist/cjs/ion-input.cjs.entry.js +21 -100
- package/dist/cjs/ion-item-option_3.cjs.entry.js +17 -39
- package/dist/cjs/ion-item_8.cjs.entry.js +40 -88
- package/dist/cjs/ion-loading.cjs.entry.js +12 -15
- package/dist/cjs/ion-menu_3.cjs.entry.js +23 -30
- package/dist/cjs/ion-modal.cjs.entry.js +20 -23
- package/dist/cjs/ion-nav_2.cjs.entry.js +9 -10
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +6 -10
- package/dist/cjs/ion-picker-column.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker.cjs.entry.js +5 -9
- package/dist/cjs/ion-popover.cjs.entry.js +15 -18
- package/dist/cjs/ion-progress-bar.cjs.entry.js +7 -11
- package/dist/cjs/ion-radio_2.cjs.entry.js +11 -17
- package/dist/cjs/ion-range.cjs.entry.js +14 -17
- package/dist/cjs/ion-refresher_2.cjs.entry.js +15 -19
- package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -27
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +6 -6
- package/dist/cjs/ion-route_4.cjs.entry.js +7 -7
- package/dist/cjs/ion-searchbar.cjs.entry.js +16 -62
- package/dist/cjs/ion-segment_2.cjs.entry.js +13 -21
- package/dist/cjs/ion-select_3.cjs.entry.js +33 -81
- package/dist/cjs/ion-spinner.cjs.entry.js +7 -7
- package/dist/cjs/ion-split-pane.cjs.entry.js +9 -13
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +14 -22
- package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-text.cjs.entry.js +6 -6
- package/dist/cjs/ion-textarea.cjs.entry.js +12 -15
- package/dist/cjs/ion-toast.cjs.entry.js +32 -36
- package/dist/cjs/ion-toggle.cjs.entry.js +18 -56
- package/dist/cjs/ionic-global-965d38d0.js +237 -0
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-4a91b726.js → ios.transition-6e9c7e9b.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-1d783fa9.js → md.transition-a9d8f0eb.js} +4 -3
- package/dist/cjs/{overlays-0c0d0193.js → overlays-cc4ac193.js} +4 -3
- package/dist/cjs/{status-tap-87959a2f.js → status-tap-f0912d4a.js} +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.ios.css +0 -12
- package/dist/collection/components/accordion/accordion.js +15 -19
- package/dist/collection/components/accordion/accordion.md.css +0 -6
- package/dist/collection/components/accordion-group/accordion-group.ios.css +0 -12
- package/dist/collection/components/accordion-group/accordion-group.js +8 -11
- package/dist/collection/components/accordion-group/accordion-group.md.css +0 -18
- package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -18
- package/dist/collection/components/action-sheet/action-sheet.js +10 -14
- package/dist/collection/components/action-sheet/action-sheet.md.css +5 -17
- package/dist/collection/components/alert/alert.ios.css +1 -19
- package/dist/collection/components/alert/alert.js +12 -15
- package/dist/collection/components/alert/alert.md.css +1 -19
- package/dist/collection/components/app/app.js +4 -8
- package/dist/collection/components/avatar/avatar.ios.css +0 -12
- package/dist/collection/components/avatar/avatar.js +4 -92
- package/dist/collection/components/avatar/avatar.md.css +0 -12
- package/dist/collection/components/back-button/back-button.ios.css +48 -60
- package/dist/collection/components/back-button/back-button.js +11 -14
- package/dist/collection/components/back-button/back-button.md.css +48 -60
- package/dist/collection/components/backdrop/backdrop.ios.css +1 -13
- package/dist/collection/components/backdrop/backdrop.js +6 -12
- package/dist/collection/components/backdrop/backdrop.md.css +1 -13
- package/dist/collection/components/badge/badge.ios.css +0 -12
- package/dist/collection/components/badge/badge.js +8 -75
- package/dist/collection/components/badge/badge.md.css +0 -12
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
- package/dist/collection/components/breadcrumb/breadcrumb.js +10 -16
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
- package/dist/collection/components/button/button.ios.css +16 -42
- package/dist/collection/components/button/button.js +17 -46
- package/dist/collection/components/button/button.md.css +20 -33
- package/dist/collection/components/buttons/buttons.ios.css +7 -59
- package/dist/collection/components/buttons/buttons.js +8 -14
- package/dist/collection/components/buttons/buttons.md.css +3 -55
- package/dist/collection/components/card/card.ios.css +4 -30
- package/dist/collection/components/card/card.js +10 -34
- package/dist/collection/components/card/card.md.css +4 -30
- package/dist/collection/components/card-content/card-content.ios.css +0 -12
- package/dist/collection/components/card-content/card-content.js +8 -11
- package/dist/collection/components/card-content/card-content.md.css +0 -12
- package/dist/collection/components/card-header/card-header.ios.css +0 -12
- package/dist/collection/components/card-header/card-header.js +9 -12
- package/dist/collection/components/card-header/card-header.md.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
- package/dist/collection/components/card-title/card-title.ios.css +0 -12
- package/dist/collection/components/card-title/card-title.js +8 -11
- package/dist/collection/components/card-title/card-title.md.css +0 -12
- package/dist/collection/components/checkbox/checkbox.ios.css +2 -20
- package/dist/collection/components/checkbox/checkbox.js +14 -59
- package/dist/collection/components/checkbox/checkbox.md.css +3 -21
- package/dist/collection/components/chip/chip.ios.css +1 -20
- package/dist/collection/components/chip/chip.js +8 -77
- package/dist/collection/components/chip/chip.md.css +1 -20
- package/dist/collection/components/col/col.css +0 -12
- package/dist/collection/components/col/col.js +5 -9
- package/dist/collection/components/content/content.css +2 -8
- package/dist/collection/components/content/content.js +10 -13
- package/dist/collection/components/datetime/datetime.ios.css +3 -15
- package/dist/collection/components/datetime/datetime.js +19 -47
- package/dist/collection/components/datetime/datetime.md.css +3 -15
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
- package/dist/collection/components/datetime-button/datetime-button.js +8 -11
- package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
- package/dist/collection/components/fab/fab.css +1 -25
- package/dist/collection/components/fab/fab.js +5 -9
- package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
- package/dist/collection/components/fab-button/fab-button.js +14 -19
- package/dist/collection/components/fab-button/fab-button.md.css +8 -20
- package/dist/collection/components/fab-list/fab-list.css +0 -12
- package/dist/collection/components/fab-list/fab-list.js +5 -9
- package/dist/collection/components/footer/footer.ios.css +2 -14
- package/dist/collection/components/footer/footer.js +14 -17
- package/dist/collection/components/footer/footer.md.css +0 -12
- package/dist/collection/components/grid/grid.css +0 -12
- package/dist/collection/components/grid/grid.js +5 -9
- package/dist/collection/components/header/header.ios.css +10 -25
- package/dist/collection/components/header/header.js +14 -17
- package/dist/collection/components/header/header.md.css +8 -23
- package/dist/collection/components/img/img.js +2 -8
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
- package/dist/collection/components/input/input.ios.css +2 -21
- package/dist/collection/components/input/input.js +29 -127
- package/dist/collection/components/input/input.md.css +4 -43
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +5 -6
- package/dist/collection/components/item/item.ios.css +8 -20
- package/dist/collection/components/item/item.js +17 -22
- package/dist/collection/components/item/item.md.css +7 -31
- package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
- package/dist/collection/components/item-divider/item-divider.js +8 -11
- package/dist/collection/components/item-divider/item-divider.md.css +0 -18
- package/dist/collection/components/item-group/item-group.ios.css +0 -12
- package/dist/collection/components/item-group/item-group.js +7 -13
- package/dist/collection/components/item-group/item-group.md.css +0 -12
- package/dist/collection/components/item-option/item-option.ios.css +2 -14
- package/dist/collection/components/item-option/item-option.js +8 -43
- package/dist/collection/components/item-option/item-option.md.css +2 -14
- package/dist/collection/components/item-options/item-options.ios.css +0 -18
- package/dist/collection/components/item-options/item-options.js +7 -13
- package/dist/collection/components/item-options/item-options.md.css +0 -18
- package/dist/collection/components/item-sliding/item-sliding.css +0 -6
- package/dist/collection/components/item-sliding/item-sliding.js +4 -8
- package/dist/collection/components/label/label.ios.css +0 -18
- package/dist/collection/components/label/label.js +8 -11
- package/dist/collection/components/label/label.md.css +0 -18
- package/dist/collection/components/list/list.ios.css +0 -18
- package/dist/collection/components/list/list.js +9 -47
- package/dist/collection/components/list/list.md.css +2 -20
- package/dist/collection/components/list-header/list-header.ios.css +0 -18
- package/dist/collection/components/list-header/list-header.js +8 -11
- package/dist/collection/components/list-header/list-header.md.css +0 -18
- package/dist/collection/components/loading/loading.ios.css +1 -13
- package/dist/collection/components/loading/loading.js +10 -13
- package/dist/collection/components/loading/loading.md.css +1 -13
- package/dist/collection/components/menu/menu.ios.css +3 -15
- package/dist/collection/components/menu/menu.js +7 -12
- package/dist/collection/components/menu/menu.md.css +3 -15
- package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
- package/dist/collection/components/menu-button/menu-button.js +9 -12
- package/dist/collection/components/menu-button/menu-button.md.css +15 -49
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
- package/dist/collection/components/modal/modal.ios.css +2 -14
- package/dist/collection/components/modal/modal.js +10 -13
- package/dist/collection/components/modal/modal.md.css +2 -14
- package/dist/collection/components/nav/nav.css +1 -7
- package/dist/collection/components/nav/nav.js +5 -11
- package/dist/collection/components/nav-link/nav-link.js +1 -5
- package/dist/collection/components/note/note.ios.css +0 -12
- package/dist/collection/components/note/note.js +8 -11
- package/dist/collection/components/note/note.md.css +0 -12
- package/dist/collection/components/picker/picker.ios.css +3 -15
- package/dist/collection/components/picker/picker.js +5 -8
- package/dist/collection/components/picker/picker.md.css +3 -15
- package/dist/collection/components/picker-column/picker-column.css +2 -9
- package/dist/collection/components/picker-column/picker-column.js +7 -8
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
- package/dist/collection/components/picker-legacy/picker.ios.css +1 -13
- package/dist/collection/components/picker-legacy/picker.js +6 -7
- package/dist/collection/components/picker-legacy/picker.md.css +1 -13
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
- package/dist/collection/components/popover/popover.ios.css +1 -13
- package/dist/collection/components/popover/popover.js +12 -15
- package/dist/collection/components/popover/popover.md.css +1 -13
- package/dist/collection/components/progress-bar/progress-bar.ios.css +2 -8
- package/dist/collection/components/progress-bar/progress-bar.js +7 -10
- package/dist/collection/components/progress-bar/progress-bar.md.css +2 -8
- package/dist/collection/components/radio/radio.ios.css +2 -20
- package/dist/collection/components/radio/radio.js +9 -12
- package/dist/collection/components/radio/radio.md.css +2 -20
- package/dist/collection/components/radio-group/radio-group.js +3 -9
- package/dist/collection/components/range/range.ios.css +0 -12
- package/dist/collection/components/range/range.js +9 -12
- package/dist/collection/components/range/range.md.css +0 -12
- package/dist/collection/components/refresher/refresher.ios.css +1 -14
- package/dist/collection/components/refresher/refresher.js +8 -11
- package/dist/collection/components/refresher/refresher.md.css +2 -15
- package/dist/collection/components/refresher-content/refresher-content.js +7 -12
- package/dist/collection/components/reorder/reorder.ios.css +0 -6
- package/dist/collection/components/reorder/reorder.js +6 -26
- package/dist/collection/components/reorder/reorder.md.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.js +4 -8
- package/dist/collection/components/ripple-effect/ripple-effect.css +1 -7
- package/dist/collection/components/ripple-effect/ripple-effect.js +4 -8
- package/dist/collection/components/route/route.js +0 -4
- package/dist/collection/components/router/router.js +0 -4
- package/dist/collection/components/router-link/router-link.css +2 -8
- package/dist/collection/components/router-link/router-link.js +5 -9
- package/dist/collection/components/router-outlet/router-outlet.css +1 -7
- package/dist/collection/components/router-outlet/router-outlet.js +2 -5
- package/dist/collection/components/row/row.css +0 -12
- package/dist/collection/components/row/row.js +2 -9
- package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
- package/dist/collection/components/searchbar/searchbar.js +24 -68
- package/dist/collection/components/searchbar/searchbar.md.css +18 -56
- package/dist/collection/components/segment/segment.ios.css +0 -18
- package/dist/collection/components/segment/segment.js +8 -11
- package/dist/collection/components/segment/segment.md.css +0 -18
- package/dist/collection/components/segment-button/segment-button.ios.css +4 -16
- package/dist/collection/components/segment-button/segment-button.js +9 -12
- package/dist/collection/components/segment-button/segment-button.md.css +6 -18
- package/dist/collection/components/select/select.ios.css +3 -22
- package/dist/collection/components/select/select.js +31 -70
- package/dist/collection/components/select/select.md.css +5 -38
- package/dist/collection/components/select-option/select-option.js +2 -9
- package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
- package/dist/collection/components/select-popover/select-popover.js +4 -12
- package/dist/collection/components/select-popover/select-popover.md.css +0 -18
- package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
- package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
- package/dist/collection/components/spinner/spinner.css +0 -6
- package/dist/collection/components/spinner/spinner.js +6 -10
- package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
- package/dist/collection/components/split-pane/split-pane.js +8 -14
- package/dist/collection/components/split-pane/split-pane.md.css +2 -20
- package/dist/collection/components/tab/tab.js +2 -6
- package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -64
- package/dist/collection/components/tab-bar/tab-bar.js +9 -12
- package/dist/collection/components/tab-bar/tab-bar.md.css +43 -64
- package/dist/collection/components/tab-button/tab-button.ios.css +3 -15
- package/dist/collection/components/tab-button/tab-button.js +8 -11
- package/dist/collection/components/tab-button/tab-button.md.css +3 -15
- package/dist/collection/components/tabs/tabs.css +1 -7
- package/dist/collection/components/tabs/tabs.js +1 -4
- package/dist/collection/components/text/text.css +0 -6
- package/dist/collection/components/text/text.js +6 -7
- package/dist/collection/components/textarea/textarea.ios.css +1 -26
- package/dist/collection/components/textarea/textarea.js +12 -15
- package/dist/collection/components/textarea/textarea.md.css +2 -39
- package/dist/collection/components/thumbnail/thumbnail.css +0 -6
- package/dist/collection/components/thumbnail/thumbnail.js +2 -9
- package/dist/collection/components/title/title.ios.css +4 -32
- package/dist/collection/components/title/title.js +7 -13
- package/dist/collection/components/title/title.md.css +4 -32
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +0 -12
- package/dist/collection/components/toast/toast.js +11 -15
- package/dist/collection/components/toast/toast.md.css +0 -12
- package/dist/collection/components/toggle/toggle.ios.css +2 -23
- package/dist/collection/components/toggle/toggle.js +18 -55
- package/dist/collection/components/toggle/toggle.md.css +2 -20
- package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
- package/dist/collection/components/toolbar/toolbar.js +10 -34
- package/dist/collection/components/toolbar/toolbar.md.css +47 -90
- package/dist/collection/global/ionic-global.js +13 -161
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +1 -2
- package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
- package/dist/collection/utils/test/playwright/generator.js +23 -48
- package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -13
- package/dist/collection/utils/transition/ios.transition.js +0 -1
- package/dist/docs.json +212 -6414
- package/dist/esm/{app-globals-1fabe499.js → app-globals-a53a506f.js} +1 -1
- package/dist/esm/{button-active-367a8e84.js → button-active-ff6f2f4b.js} +1 -1
- package/dist/esm/{data-63b889c5.js → data-ae11fd43.js} +4 -4
- package/dist/esm/{hardware-back-button-2da817f5.js → hardware-back-button-fb02649b.js} +2 -2
- package/dist/esm/{index-44013081.js → index-1d0629cf.js} +8 -9
- package/dist/esm/{index-33a3d901.js → index-2f8c4022.js} +5 -4
- package/dist/esm/{index-00b4cca5.js → index-5cc724f3.js} +1 -1
- package/dist/esm/index-9b0d46f4.js +34 -0
- package/dist/esm/{index-3321c202.js → index-e06ef154.js} +186 -171
- package/dist/esm/index.js +9 -8
- package/dist/esm/{input-shims-c142630d.js → input-shims-0314bbe5.js} +2 -3
- package/dist/esm/{input.utils-68c66dbc.js → input.utils-09c71bc7.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +14 -23
- package/dist/esm/ion-action-sheet.entry.js +13 -17
- package/dist/esm/ion-alert.entry.js +15 -18
- package/dist/esm/ion-app_8.entry.js +61 -83
- package/dist/esm/ion-avatar_3.entry.js +8 -91
- package/dist/esm/ion-back-button.entry.js +11 -15
- package/dist/esm/ion-backdrop.entry.js +7 -11
- package/dist/esm/ion-breadcrumb_2.entry.js +14 -24
- package/dist/esm/ion-button_2.entry.js +13 -42
- package/dist/esm/ion-card_5.entry.js +26 -49
- package/dist/esm/ion-checkbox.entry.js +13 -24
- package/dist/esm/ion-chip.entry.js +8 -43
- package/dist/esm/ion-col_3.entry.js +11 -14
- package/dist/esm/ion-datetime-button.entry.js +8 -11
- package/dist/esm/ion-datetime_3.entry.js +33 -60
- package/dist/esm/ion-fab_3.entry.js +18 -24
- package/dist/esm/ion-img.entry.js +3 -6
- package/dist/esm/ion-infinite-scroll_2.entry.js +14 -17
- package/dist/esm/ion-input-password-toggle.entry.js +8 -7
- package/dist/esm/ion-input.entry.js +21 -100
- package/dist/esm/ion-item-option_3.entry.js +17 -39
- package/dist/esm/ion-item_8.entry.js +40 -88
- package/dist/esm/ion-loading.entry.js +12 -15
- package/dist/esm/ion-menu_3.entry.js +23 -30
- package/dist/esm/ion-modal.entry.js +15 -18
- package/dist/esm/ion-nav_2.entry.js +9 -10
- package/dist/esm/ion-picker-column-option.entry.js +6 -10
- package/dist/esm/ion-picker-column.entry.js +8 -8
- package/dist/esm/ion-picker.entry.js +5 -9
- package/dist/esm/ion-popover.entry.js +12 -15
- package/dist/esm/ion-progress-bar.entry.js +7 -11
- package/dist/esm/ion-radio_2.entry.js +11 -17
- package/dist/esm/ion-range.entry.js +9 -12
- package/dist/esm/ion-refresher_2.entry.js +15 -19
- package/dist/esm/ion-reorder_2.entry.js +10 -27
- package/dist/esm/ion-ripple-effect.entry.js +6 -6
- package/dist/esm/ion-route_4.entry.js +7 -7
- package/dist/esm/ion-searchbar.entry.js +16 -62
- package/dist/esm/ion-segment_2.entry.js +13 -21
- package/dist/esm/ion-select_3.entry.js +33 -81
- package/dist/esm/ion-spinner.entry.js +7 -7
- package/dist/esm/ion-split-pane.entry.js +9 -13
- package/dist/esm/ion-tab-bar_2.entry.js +14 -22
- package/dist/esm/ion-tab_2.entry.js +5 -5
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +12 -15
- package/dist/esm/ion-toast.entry.js +12 -16
- package/dist/esm/ion-toggle.entry.js +18 -56
- package/dist/esm/ionic-global-d92bc7d9.js +231 -0
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-688eab99.js → ios.transition-b70d7564.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-0540d1d2.js → md.transition-cd8b30a7.js} +4 -3
- package/dist/esm/{overlays-a0e93007.js → overlays-6e1a7f53.js} +3 -2
- package/dist/esm/{status-tap-8d02be66.js → status-tap-89432b2d.js} +3 -3
- package/dist/esm-es5/app-globals-a53a506f.js +4 -0
- package/dist/esm-es5/{button-active-367a8e84.js → button-active-ff6f2f4b.js} +1 -1
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/{hardware-back-button-2da817f5.js → hardware-back-button-fb02649b.js} +1 -1
- package/dist/esm-es5/index-1d0629cf.js +4 -0
- package/dist/esm-es5/index-2f8c4022.js +4 -0
- package/dist/esm-es5/index-5cc724f3.js +4 -0
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/index-e06ef154.js +5 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
- package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-d92bc7d9.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-b70d7564.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-cd8b30a7.js +4 -0
- package/dist/esm-es5/overlays-6e1a7f53.js +4 -0
- package/dist/esm-es5/status-tap-89432b2d.js +4 -0
- package/dist/html.html-data.json +113 -2101
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/p-032df8ba.system.entry.js +4 -0
- package/dist/ionic/p-05cc8aee.system.entry.js +4 -0
- package/dist/ionic/{p-2fa9c16c.js → p-06e58c4e.js} +1 -1
- package/dist/ionic/p-06ebecaf.entry.js +4 -0
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/{p-4079d071.entry.js → p-083bbf52.entry.js} +1 -1
- package/dist/ionic/p-0be9ba18.system.entry.js +4 -0
- package/dist/ionic/{p-2ac68c59.system.js → p-0c06e09b.system.js} +1 -1
- package/dist/ionic/p-0ddd9286.system.entry.js +4 -0
- package/dist/ionic/p-12292d37.entry.js +4 -0
- package/dist/ionic/p-127dfa94.system.entry.js +4 -0
- package/dist/ionic/p-1304b2f4.entry.js +4 -0
- package/dist/ionic/p-144b1092.entry.js +4 -0
- package/dist/ionic/p-14b28c4d.system.entry.js +4 -0
- package/dist/ionic/{p-1ecfe64f.system.js → p-187ca590.system.js} +1 -1
- package/dist/ionic/p-1bb21eb2.system.entry.js +4 -0
- package/dist/ionic/{p-128f0f15.system.entry.js → p-1c9205c6.system.entry.js} +2 -2
- package/dist/ionic/p-1df99167.system.js +4 -0
- package/dist/ionic/p-1e9bc4e0.system.entry.js +4 -0
- package/dist/ionic/{p-a42e4adb.js → p-200c7b0a.js} +1 -1
- package/dist/ionic/p-21c31c91.entry.js +4 -0
- package/dist/ionic/p-2212b3dd.entry.js +4 -0
- package/dist/ionic/p-251e35bf.system.entry.js +4 -0
- package/dist/ionic/p-2690b1de.js +4 -0
- package/dist/ionic/p-29e70980.system.entry.js +4 -0
- package/dist/ionic/p-2b50ae21.entry.js +4 -0
- package/dist/ionic/p-2f51a59e.system.entry.js +4 -0
- package/dist/ionic/p-3251f335.system.entry.js +4 -0
- package/dist/ionic/p-3289aa03.entry.js +4 -0
- package/dist/ionic/p-368bd8e0.entry.js +4 -0
- package/dist/ionic/p-36d47091.entry.js +4 -0
- package/dist/ionic/p-38857824.entry.js +4 -0
- package/dist/ionic/{p-3862d08b.system.entry.js → p-3b3d4722.system.entry.js} +1 -1
- package/dist/ionic/p-3fc4ade9.system.entry.js +4 -0
- package/dist/ionic/p-46453157.entry.js +4 -0
- package/dist/ionic/p-4a56ed61.system.js +4 -0
- package/dist/ionic/p-4b9f2be3.entry.js +4 -0
- package/dist/ionic/p-4e71d73a.system.entry.js +4 -0
- package/dist/ionic/p-504b58cb.system.js +4 -0
- package/dist/ionic/p-5172d29f.entry.js +4 -0
- package/dist/ionic/p-541189ff.entry.js +4 -0
- package/dist/ionic/p-571b616a.js +4 -0
- package/dist/ionic/p-597849ee.entry.js +4 -0
- package/dist/ionic/p-59da9e8c.entry.js +4 -0
- package/dist/ionic/{p-a06d7e6a.system.js → p-5cf05ae4.system.js} +1 -1
- package/dist/ionic/p-5d030f7f.system.entry.js +4 -0
- package/dist/ionic/p-619129e1.system.js +4 -0
- package/dist/ionic/{p-e7e3ba54.system.entry.js → p-635c947e.system.entry.js} +1 -1
- package/dist/ionic/p-63ad45da.system.entry.js +4 -0
- package/dist/ionic/p-646ecffd.system.entry.js +4 -0
- package/dist/ionic/p-64c31fa6.entry.js +4 -0
- package/dist/ionic/p-660aa713.system.entry.js +4 -0
- package/dist/ionic/p-6621dd27.system.entry.js +4 -0
- package/dist/ionic/p-662a0f75.entry.js +4 -0
- package/dist/ionic/p-6859acef.system.entry.js +4 -0
- package/dist/ionic/p-704d249b.system.entry.js +4 -0
- package/dist/ionic/{p-41c9fb60.entry.js → p-712f4ef9.entry.js} +1 -1
- package/dist/ionic/p-71d0f3b5.entry.js +4 -0
- package/dist/ionic/p-724156b4.system.entry.js +4 -0
- package/dist/ionic/p-72a09ad4.js +4 -0
- package/dist/ionic/p-751d9583.entry.js +4 -0
- package/dist/ionic/p-7708f99f.system.entry.js +4 -0
- package/dist/ionic/{p-4058051c.entry.js → p-77a18aee.entry.js} +1 -1
- package/dist/ionic/p-77db4711.entry.js +4 -0
- package/dist/ionic/p-78b156e3.system.entry.js +4 -0
- package/dist/ionic/p-7975ca12.entry.js +4 -0
- package/dist/ionic/p-7e1e459c.system.entry.js +4 -0
- package/dist/ionic/p-8211deec.entry.js +4 -0
- package/dist/ionic/p-84fabe48.js +4 -0
- package/dist/ionic/p-86b152cd.entry.js +4 -0
- package/dist/ionic/p-880030e5.entry.js +4 -0
- package/dist/ionic/p-8bbc2e78.js +4 -0
- package/dist/ionic/p-8c4a8b15.system.entry.js +4 -0
- package/dist/ionic/{p-a2b60239.system.entry.js → p-8cb94ab0.system.entry.js} +1 -1
- package/dist/ionic/p-8d781910.system.entry.js +4 -0
- package/dist/ionic/p-8fb9a997.system.entry.js +4 -0
- package/dist/ionic/{p-cd99310b.js → p-96cc4814.js} +1 -1
- package/dist/ionic/{p-fa019443.system.js → p-98701ffb.system.js} +1 -1
- package/dist/ionic/p-9b0315b8.system.entry.js +4 -0
- package/dist/ionic/{p-c23822f8.entry.js → p-9c328f29.entry.js} +1 -1
- package/dist/ionic/{p-1b75a2d2.system.js → p-9ea607bd.system.js} +2 -2
- package/dist/ionic/p-9f25dac5.system.js +4 -0
- package/dist/ionic/p-9f66851e.entry.js +4 -0
- package/dist/ionic/{p-67f85d9a.system.entry.js → p-a13d5fdc.system.entry.js} +1 -1
- package/dist/ionic/p-a29432a7.system.js +5 -0
- package/dist/ionic/p-a4869688.js +4 -0
- package/dist/ionic/p-a5b7a083.system.entry.js +4 -0
- package/dist/ionic/{p-e59d16bd.entry.js → p-a790dcd8.entry.js} +1 -1
- package/dist/ionic/{p-c47b75e3.entry.js → p-ab11f574.entry.js} +1 -1
- package/dist/ionic/p-af19e2b0.system.entry.js +4 -0
- package/dist/ionic/p-af4e7c44.entry.js +4 -0
- package/dist/ionic/p-b27b19c5.js +4 -0
- package/dist/ionic/p-b5feddc3.js +5 -0
- package/dist/ionic/p-bf602e15.entry.js +4 -0
- package/dist/ionic/p-c0b66c05.entry.js +4 -0
- package/dist/ionic/p-c22a5a42.system.entry.js +4 -0
- package/dist/ionic/p-c5904db9.js +4 -0
- package/dist/ionic/p-ca09cfeb.system.js +4 -0
- package/dist/ionic/{p-b5cc6e57.system.entry.js → p-ca370b5c.system.entry.js} +2 -2
- package/dist/ionic/p-cc5d299d.system.entry.js +4 -0
- package/dist/ionic/p-cf0cb1fe.system.js +4 -0
- package/dist/ionic/p-d043806a.system.entry.js +4 -0
- package/dist/ionic/p-d3a59491.system.entry.js +4 -0
- package/dist/ionic/{p-6649365e.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-d82e2857.entry.js +4 -0
- package/dist/ionic/{p-2d618ba6.system.entry.js → p-dd0f72f1.system.entry.js} +1 -1
- package/dist/ionic/p-dfb78785.system.js +4 -0
- package/dist/ionic/p-e0c85680.system.js +4 -0
- package/dist/ionic/p-e1693e82.entry.js +4 -0
- package/dist/ionic/p-e1accd5b.entry.js +4 -0
- package/dist/ionic/p-e3407e40.entry.js +4 -0
- package/dist/ionic/p-e43c3327.entry.js +4 -0
- package/dist/ionic/p-e549747a.entry.js +4 -0
- package/dist/ionic/p-e6114d2e.entry.js +4 -0
- package/dist/ionic/p-e72ce03d.entry.js +4 -0
- package/dist/ionic/p-e7a7a142.js +4 -0
- package/dist/ionic/p-e8a328c9.entry.js +4 -0
- package/dist/ionic/p-e8fd9c89.system.entry.js +4 -0
- package/dist/ionic/p-e97b8dc6.entry.js +4 -0
- package/dist/ionic/{p-fc9f9e4d.system.js → p-f2103451.system.js} +1 -1
- package/dist/ionic/p-f3bbe501.system.entry.js +4 -0
- package/dist/ionic/{p-15901e6c.js → p-f5d40d6e.js} +1 -1
- package/dist/ionic/{p-d98a1d99.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-f7508243.system.entry.js +4 -0
- package/dist/ionic/p-f7f0eb36.entry.js +4 -0
- package/dist/ionic/p-f85fc0e3.system.entry.js +4 -0
- package/dist/ionic/p-fa058cd0.system.entry.js +4 -0
- package/dist/ionic/p-fd108dce.system.entry.js +4 -0
- package/dist/ionic/p-feb153ae.entry.js +4 -0
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +2 -3
- package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
- package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
- package/dist/types/components/alert/alert-interface.d.ts +7 -3
- package/dist/types/components/alert/alert.d.ts +2 -3
- package/dist/types/components/app/app.d.ts +0 -4
- package/dist/types/components/avatar/avatar.d.ts +0 -25
- package/dist/types/components/back-button/back-button.d.ts +1 -2
- package/dist/types/components/backdrop/backdrop.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +1 -23
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -2
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +4 -15
- package/dist/types/components/buttons/buttons.d.ts +1 -5
- package/dist/types/components/card/card.d.ts +1 -8
- package/dist/types/components/card-content/card-content.d.ts +1 -2
- package/dist/types/components/card-header/card-header.d.ts +2 -3
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
- package/dist/types/components/card-title/card-title.d.ts +1 -2
- package/dist/types/components/checkbox/checkbox.d.ts +4 -14
- package/dist/types/components/chip/chip.d.ts +1 -19
- package/dist/types/components/col/col.d.ts +0 -4
- package/dist/types/components/content/content.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +1 -18
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
- package/dist/types/components/fab/fab.d.ts +0 -4
- package/dist/types/components/fab-button/fab-button.d.ts +3 -4
- package/dist/types/components/fab-list/fab-list.d.ts +0 -4
- package/dist/types/components/footer/footer.d.ts +3 -4
- package/dist/types/components/grid/grid.d.ts +0 -4
- package/dist/types/components/header/header.d.ts +3 -4
- package/dist/types/components/img/img.d.ts +0 -3
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
- package/dist/types/components/input/input.d.ts +5 -31
- package/dist/types/components/item/item.d.ts +4 -5
- package/dist/types/components/item-divider/item-divider.d.ts +1 -2
- package/dist/types/components/item-group/item-group.d.ts +0 -4
- package/dist/types/components/item-option/item-option.d.ts +1 -11
- package/dist/types/components/item-options/item-options.d.ts +0 -4
- package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
- package/dist/types/components/label/label.d.ts +1 -2
- package/dist/types/components/list/list.d.ts +1 -15
- package/dist/types/components/list-header/list-header.d.ts +1 -2
- package/dist/types/components/loading/loading-interface.d.ts +7 -2
- package/dist/types/components/loading/loading.d.ts +2 -3
- package/dist/types/components/menu/menu.d.ts +0 -3
- package/dist/types/components/menu-button/menu-button.d.ts +1 -2
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
- package/dist/types/components/modal/modal-interface.d.ts +7 -3
- package/dist/types/components/modal/modal.d.ts +1 -2
- package/dist/types/components/nav/nav-interface.d.ts +1 -9
- package/dist/types/components/nav/nav.d.ts +1 -5
- package/dist/types/components/nav-link/nav-link.d.ts +0 -4
- package/dist/types/components/note/note.d.ts +1 -2
- package/dist/types/components/picker/picker.d.ts +1 -2
- package/dist/types/components/picker-column/picker-column.d.ts +1 -2
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
- package/dist/types/components/picker-legacy/picker.d.ts +1 -2
- package/dist/types/components/popover/popover-interface.d.ts +6 -3
- package/dist/types/components/popover/popover.d.ts +5 -6
- package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
- package/dist/types/components/radio/radio.d.ts +1 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -4
- package/dist/types/components/range/range.d.ts +1 -2
- package/dist/types/components/refresher/refresher.d.ts +1 -2
- package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
- package/dist/types/components/reorder/reorder.d.ts +0 -11
- package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
- package/dist/types/components/route/route.d.ts +0 -4
- package/dist/types/components/router/router.d.ts +0 -4
- package/dist/types/components/router-link/router-link.d.ts +0 -4
- package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
- package/dist/types/components/row/row.d.ts +0 -4
- package/dist/types/components/searchbar/searchbar.d.ts +8 -27
- package/dist/types/components/segment/segment.d.ts +1 -2
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/components/select/select.d.ts +5 -24
- package/dist/types/components/select-option/select-option.d.ts +0 -4
- package/dist/types/components/select-popover/select-popover.d.ts +0 -3
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
- package/dist/types/components/spinner/spinner.d.ts +0 -4
- package/dist/types/components/split-pane/split-pane.d.ts +0 -4
- package/dist/types/components/tab/tab.d.ts +0 -4
- package/dist/types/components/tab-bar/tab-bar.d.ts +2 -3
- package/dist/types/components/tab-button/tab-button.d.ts +1 -2
- package/dist/types/components/tabs/tabs.d.ts +0 -3
- package/dist/types/components/text/text.d.ts +1 -2
- package/dist/types/components/textarea/textarea.d.ts +2 -3
- package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
- package/dist/types/components/title/title.d.ts +0 -4
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +7 -3
- package/dist/types/components/toast/toast.d.ts +2 -3
- package/dist/types/components/toggle/toggle.d.ts +1 -19
- package/dist/types/components/toolbar/toolbar.d.ts +3 -9
- package/dist/types/components.d.ts +174 -1302
- package/dist/types/global/ionic-global.d.ts +2 -25
- package/dist/types/interface.d.ts +0 -3
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/dist/types/utils/config.d.ts +2 -99
- package/dist/types/utils/overlays-interface.d.ts +1 -31
- package/dist/types/utils/test/playwright/generator.d.ts +2 -31
- package/hydrate/index.d.ts +29 -11
- package/hydrate/index.js +927 -1907
- package/hydrate/index.mjs +48653 -0
- package/hydrate/package.json +7 -1
- package/loader/index.d.ts +3 -0
- package/package.json +7 -10
- package/css/ionic/bundle.ionic.css +0 -1
- package/css/ionic/bundle.ionic.css.map +0 -1
- package/css/ionic/core.ionic.css +0 -1
- package/css/ionic/core.ionic.css.map +0 -1
- package/css/ionic/global.bundle.ionic.css +0 -1
- package/css/ionic/global.bundle.ionic.css.map +0 -1
- package/css/ionic/ionic-swiper.ionic.css +0 -1
- package/css/ionic/ionic-swiper.ionic.css.map +0 -1
- package/css/ionic/link.ionic.css +0 -1
- package/css/ionic/link.ionic.css.map +0 -1
- package/css/ionic/structure.ionic.css +0 -1
- package/css/ionic/structure.ionic.css.map +0 -1
- package/css/ionic/typography.ionic.css +0 -1
- package/css/ionic/typography.ionic.css.map +0 -1
- package/css/ionic/utils.bundle.ionic.css +0 -1
- package/css/ionic/utils.bundle.ionic.css.map +0 -1
- package/dist/cjs/ionic-global-2bd379ad.js +0 -418
- package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +0 -40
- package/dist/collection/components/accordion/test/accordion.spec.js +0 -195
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -52
- package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -94
- package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +0 -26
- package/dist/collection/components/accordion/test/nested/accordion.e2e.js +0 -24
- package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +0 -94
- package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +0 -15
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +0 -99
- package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +0 -32
- package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +0 -60
- package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +0 -142
- package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +0 -40
- package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +0 -33
- package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +0 -18
- package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +0 -29
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +0 -247
- package/dist/collection/components/alert/test/alert-id.spec.js +0 -32
- package/dist/collection/components/alert/test/alert.spec.js +0 -37
- package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +0 -40
- package/dist/collection/components/alert/test/basic/alert.e2e.js +0 -135
- package/dist/collection/components/alert/test/is-open/alert.e2e.js +0 -33
- package/dist/collection/components/alert/test/standalone/alert.e2e.js +0 -17
- package/dist/collection/components/alert/test/trigger/alert.e2e.js +0 -29
- package/dist/collection/components/app/test/safe-area/app.e2e.js +0 -35
- package/dist/collection/components/avatar/avatar.ionic.css +0 -255
- package/dist/collection/components/avatar/test/basic/avatar.e2e.js +0 -24
- package/dist/collection/components/avatar/test/shape/avatar.e2e.js +0 -134
- package/dist/collection/components/avatar/test/size/avatar.e2e.js +0 -147
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +0 -47
- package/dist/collection/components/back-button/test/back-button.spec.js +0 -86
- package/dist/collection/components/back-button/test/basic/back-button.e2e.js +0 -14
- package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +0 -14
- package/dist/collection/components/badge/badge.ionic.css +0 -256
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +0 -40
- package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -14
- package/dist/collection/components/badge/test/shape/badge.e2e.js +0 -84
- package/dist/collection/components/badge/test/size/badge.e2e.js +0 -96
- package/dist/collection/components/breadcrumb/test/aria.spec.js +0 -22
- package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +0 -36
- package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +0 -14
- package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +0 -58
- package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +0 -14
- package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +0 -51
- package/dist/collection/components/button/button.ionic.css +0 -417
- package/dist/collection/components/button/test/a11y/button.e2e.js +0 -109
- package/dist/collection/components/button/test/basic/button.e2e.js +0 -51
- package/dist/collection/components/button/test/clear/button.e2e.js +0 -17
- package/dist/collection/components/button/test/expand/button.e2e.js +0 -17
- package/dist/collection/components/button/test/form-reference/button.e2e.js +0 -135
- package/dist/collection/components/button/test/form-reference/button.spec.js +0 -26
- package/dist/collection/components/button/test/icon/button.e2e.js +0 -14
- package/dist/collection/components/button/test/outline/button.e2e.js +0 -15
- package/dist/collection/components/button/test/shape/button.e2e.js +0 -250
- package/dist/collection/components/button/test/size/button.e2e.js +0 -60
- package/dist/collection/components/button/test/states/button.e2e.js +0 -51
- package/dist/collection/components/button/test/strong/button.e2e.js +0 -48
- package/dist/collection/components/button/test/wrap/button.e2e.js +0 -126
- package/dist/collection/components/buttons/buttons.ionic.css +0 -101
- package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +0 -74
- package/dist/collection/components/card/card.ionic.css +0 -88
- package/dist/collection/components/card/test/a11y/card.e2e.js +0 -31
- package/dist/collection/components/card/test/aria.spec.js +0 -16
- package/dist/collection/components/card/test/basic/card.e2e.js +0 -151
- package/dist/collection/components/card/test/shape/card.e2e.js +0 -40
- package/dist/collection/components/card-header/test/basic/card-header.e2e.js +0 -14
- package/dist/collection/components/checkbox/checkbox.ionic.css +0 -391
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +0 -42
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +0 -152
- package/dist/collection/components/checkbox/test/checkbox.spec.js +0 -46
- package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +0 -23
- package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +0 -14
- package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +0 -74
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +0 -122
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +0 -68
- package/dist/collection/components/chip/chip.ionic.css +0 -141
- package/dist/collection/components/chip/test/a11y/chip.e2e.js +0 -58
- package/dist/collection/components/chip/test/basic/chip.e2e.js +0 -81
- package/dist/collection/components/chip/test/shape/chip.e2e.js +0 -39
- package/dist/collection/components/chip/test/size/chip.e2e.js +0 -26
- package/dist/collection/components/chip/test/states/chip.e2e.js +0 -51
- package/dist/collection/components/content/test/basic/content.e2e.js +0 -17
- package/dist/collection/components/content/test/content.spec.js +0 -27
- package/dist/collection/components/content/test/fixed/content.e2e.js +0 -17
- package/dist/collection/components/content/test/fullscreen/content.e2e.js +0 -17
- package/dist/collection/components/content/test/standalone/content.e2e.js +0 -16
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -94
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +0 -40
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +0 -493
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +0 -27
- package/dist/collection/components/datetime/test/comparison.spec.js +0 -43
- package/dist/collection/components/datetime/test/custom/datetime.e2e.js +0 -52
- package/dist/collection/components/datetime/test/data.spec.js +0 -456
- package/dist/collection/components/datetime/test/datetime.e2e.js +0 -39
- package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +0 -150
- package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +0 -68
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +0 -33
- package/dist/collection/components/datetime/test/display/datetime.e2e.js +0 -121
- package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +0 -14
- package/dist/collection/components/datetime/test/format.spec.js +0 -174
- package/dist/collection/components/datetime/test/helpers.spec.js +0 -72
- package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +0 -86
- package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +0 -37
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +0 -129
- package/dist/collection/components/datetime/test/manipulation.spec.js +0 -565
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +0 -266
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +0 -29
- package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +0 -242
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +0 -34
- package/dist/collection/components/datetime/test/parse.spec.js +0 -222
- package/dist/collection/components/datetime/test/position/datetime.e2e.js +0 -22
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +0 -502
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +0 -27
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +0 -169
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +0 -113
- package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +0 -50
- package/dist/collection/components/datetime/test/state.spec.js +0 -114
- package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +0 -25
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +0 -143
- package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +0 -38
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +0 -254
- package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +0 -27
- package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +0 -96
- package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +0 -143
- package/dist/collection/components/fab/test/basic/fab.e2e.js +0 -65
- package/dist/collection/components/fab/test/custom-size/fab.e2e.js +0 -17
- package/dist/collection/components/fab/test/safe-area/fab.e2e.js +0 -63
- package/dist/collection/components/fab/test/states/fab.e2e.js +0 -14
- package/dist/collection/components/fab/test/translucent/fab.e2e.js +0 -28
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +0 -66
- package/dist/collection/components/footer/test/basic/footer.e2e.js +0 -61
- package/dist/collection/components/footer/test/fade/footer.e2e.js +0 -21
- package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +0 -26
- package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +0 -17
- package/dist/collection/components/grid/test/basic/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/offsets/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/padding/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/sizes/grid.e2e.js +0 -17
- package/dist/collection/components/header/header.ionic.css +0 -80
- package/dist/collection/components/header/test/a11y/header.e2e.js +0 -29
- package/dist/collection/components/header/test/basic/header.e2e.js +0 -156
- package/dist/collection/components/header/test/condense/header.e2e.js +0 -33
- package/dist/collection/components/header/test/fade/header.e2e.js +0 -21
- package/dist/collection/components/header/test/scroll-target/header.e2e.js +0 -26
- package/dist/collection/components/icon/test/basic/icon.e2e.js +0 -16
- package/dist/collection/components/icon/test/dir/icon.e2e.js +0 -23
- package/dist/collection/components/img/test/basic/img.e2e.js +0 -73
- package/dist/collection/components/img/test/draggable/img.e2e.js +0 -21
- package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +0 -31
- package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +0 -37
- package/dist/collection/components/input/input.ionic.css +0 -1031
- package/dist/collection/components/input/test/a11y/input.e2e.js +0 -67
- package/dist/collection/components/input/test/basic/input.e2e.js +0 -168
- package/dist/collection/components/input/test/bottom-content/input.e2e.js +0 -164
- package/dist/collection/components/input/test/card/input.e2e.js +0 -22
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +0 -53
- package/dist/collection/components/input/test/color/input.e2e.js +0 -130
- package/dist/collection/components/input/test/fill/input.e2e.js +0 -201
- package/dist/collection/components/input/test/highlight/input.e2e.js +0 -394
- package/dist/collection/components/input/test/input.e2e.js +0 -17
- package/dist/collection/components/input/test/input.spec.js +0 -98
- package/dist/collection/components/input/test/item/input.e2e.js +0 -64
- package/dist/collection/components/input/test/label-placement/input.e2e.js +0 -165
- package/dist/collection/components/input/test/shape/input.e2e.js +0 -165
- package/dist/collection/components/input/test/size/input.e2e.js +0 -164
- package/dist/collection/components/input/test/slot/input.e2e.js +0 -77
- package/dist/collection/components/input/test/states/input.e2e.js +0 -196
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +0 -21
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +0 -38
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +0 -76
- package/dist/collection/components/item/item.ionic.css +0 -169
- package/dist/collection/components/item/test/a11y/item.e2e.js +0 -123
- package/dist/collection/components/item/test/a11y/item.spec.js +0 -48
- package/dist/collection/components/item/test/alignment/item.e2e.js +0 -14
- package/dist/collection/components/item/test/basic/item.e2e.js +0 -35
- package/dist/collection/components/item/test/buttons/item.e2e.js +0 -45
- package/dist/collection/components/item/test/colors/item.e2e.js +0 -17
- package/dist/collection/components/item/test/css-variables/item.e2e.js +0 -17
- package/dist/collection/components/item/test/disabled/item.e2e.js +0 -17
- package/dist/collection/components/item/test/dividers/item.e2e.js +0 -14
- package/dist/collection/components/item/test/groups/item.e2e.js +0 -16
- package/dist/collection/components/item/test/icons/item.e2e.js +0 -14
- package/dist/collection/components/item/test/images/item.e2e.js +0 -14
- package/dist/collection/components/item/test/inputs/item.e2e.js +0 -199
- package/dist/collection/components/item/test/item.spec.js +0 -20
- package/dist/collection/components/item/test/lines/item.e2e.js +0 -14
- package/dist/collection/components/item/test/media/item.e2e.js +0 -14
- package/dist/collection/components/item/test/reorder/item.e2e.js +0 -16
- package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +0 -149
- package/dist/collection/components/item/test/states/item.e2e.js +0 -17
- package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +0 -44
- package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +0 -60
- package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +0 -16
- package/dist/collection/components/item-option/item-option.ionic.css +0 -325
- package/dist/collection/components/item-options/item-options.ionic.css +0 -260
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +0 -62
- package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +0 -33
- package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +0 -162
- package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +0 -35
- package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +0 -29
- package/dist/collection/components/item-sliding/test/shapes/item-sliding.e2e.js +0 -28
- package/dist/collection/components/label/test/a11y/label.e2e.js +0 -111
- package/dist/collection/components/label/test/basic/label.e2e.js +0 -45
- package/dist/collection/components/label/test/color/label.e2e.js +0 -39
- package/dist/collection/components/label/test/headings/label.e2e.js +0 -13
- package/dist/collection/components/label/test/item/item.e2e.js +0 -24
- package/dist/collection/components/list/list.ionic.css +0 -174
- package/dist/collection/components/list/test/a11y/list.e2e.js +0 -15
- package/dist/collection/components/list/test/basic/list.e2e.js +0 -24
- package/dist/collection/components/list/test/inset/list.e2e.js +0 -69
- package/dist/collection/components/list/test/lines/list.e2e.js +0 -167
- package/dist/collection/components/list/test/shape/list.e2e.js +0 -204
- package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +0 -24
- package/dist/collection/components/list-header/test/basic/list-header.e2e.js +0 -42
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +0 -61
- package/dist/collection/components/loading/test/basic/loading.e2e.js +0 -80
- package/dist/collection/components/loading/test/basic/loading.spec.js +0 -16
- package/dist/collection/components/loading/test/is-open/loading.e2e.js +0 -28
- package/dist/collection/components/loading/test/loading-id.spec.js +0 -32
- package/dist/collection/components/loading/test/loading.spec.js +0 -37
- package/dist/collection/components/loading/test/standalone/loading.e2e.js +0 -21
- package/dist/collection/components/loading/test/trigger/loading.e2e.js +0 -32
- package/dist/collection/components/menu/test/a11y/menu.e2e.js +0 -22
- package/dist/collection/components/menu/test/basic/menu.e2e.js +0 -124
- package/dist/collection/components/menu/test/custom/menu.e2e.js +0 -61
- package/dist/collection/components/menu/test/disable/menu.e2e.js +0 -55
- package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +0 -72
- package/dist/collection/components/menu/test/multiple/menu.e2e.js +0 -60
- package/dist/collection/components/menu/test/safe-area/menu.e2e.js +0 -87
- package/dist/collection/components/menu-button/menu-button.ionic.css +0 -240
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +0 -48
- package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +0 -23
- package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +0 -14
- package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +0 -43
- package/dist/collection/components/modal/test/a11y/modal.e2e.js +0 -21
- package/dist/collection/components/modal/test/animations/modal.e2e.js +0 -36
- package/dist/collection/components/modal/test/basic/modal.e2e.js +0 -125
- package/dist/collection/components/modal/test/basic/modal.spec.js +0 -35
- package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +0 -55
- package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +0 -73
- package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +0 -27
- package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +0 -191
- package/dist/collection/components/modal/test/card/modal-card.e2e.js +0 -83
- package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +0 -82
- package/dist/collection/components/modal/test/card-nav/modal.e2e.js +0 -38
- package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +0 -22
- package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +0 -42
- package/dist/collection/components/modal/test/custom/modal.e2e.js +0 -24
- package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +0 -20
- package/dist/collection/components/modal/test/dark-mode/model.e2e.js +0 -20
- package/dist/collection/components/modal/test/inline/modal.e2e.js +0 -48
- package/dist/collection/components/modal/test/is-open/modal.e2e.js +0 -25
- package/dist/collection/components/modal/test/modal-attributes.spec.js +0 -32
- package/dist/collection/components/modal/test/modal-id.spec.js +0 -32
- package/dist/collection/components/modal/test/sheet/modal.e2e.js +0 -212
- package/dist/collection/components/modal/test/standalone/modal.e2e.js +0 -19
- package/dist/collection/components/modal/test/trigger/modal.e2e.js +0 -31
- package/dist/collection/components/modal/utils.spec.js +0 -13
- package/dist/collection/components/nav/test/basic/nav.e2e.js +0 -69
- package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +0 -65
- package/dist/collection/components/nav/test/nav-controller.spec.js +0 -749
- package/dist/collection/components/nav/test/nested/nav.e2e.js +0 -66
- package/dist/collection/components/nav/test/routing/nav.e2e.js +0 -87
- package/dist/collection/components/note/test/a11y/note.e2e.js +0 -95
- package/dist/collection/components/note/test/basic/note.e2e.js +0 -78
- package/dist/collection/components/picker/test/a11y/picker.e2e.js +0 -15
- package/dist/collection/components/picker/test/basic/picker.e2e.js +0 -111
- package/dist/collection/components/picker/test/custom/picker.e2e.js +0 -85
- package/dist/collection/components/picker/test/keyboard-entry/picker.e2e.js +0 -183
- package/dist/collection/components/picker-column/test/basic/picker-column.e2e.js +0 -64
- package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -91
- package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -83
- package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
- package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
- package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
- package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +0 -29
- package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
- package/dist/collection/components/picker-legacy/test/is-open/picker.e2e.js +0 -28
- package/dist/collection/components/picker-legacy/test/picker-id.spec.js +0 -32
- package/dist/collection/components/picker-legacy/test/trigger/picker.e2e.js +0 -32
- package/dist/collection/components/picker-legacy-column/test/picker-column-aria.spec.js +0 -35
- package/dist/collection/components/picker-legacy-column/test/picker-column-dynamic.spec.js +0 -29
- package/dist/collection/components/picker-legacy-column/test/picker-column.spec.js +0 -17
- package/dist/collection/components/picker-legacy-column/test/standalone/picker-column.e2e.js +0 -35
- package/dist/collection/components/popover/test/adjustment/popover.e2e.js +0 -33
- package/dist/collection/components/popover/test/arrow/popover.e2e.js +0 -27
- package/dist/collection/components/popover/test/async/popover.e2e.js +0 -42
- package/dist/collection/components/popover/test/basic/popover.e2e.js +0 -211
- package/dist/collection/components/popover/test/basic/popover.spec.js +0 -35
- package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +0 -38
- package/dist/collection/components/popover/test/inline/popover.e2e.js +0 -32
- package/dist/collection/components/popover/test/is-open/popover.e2e.js +0 -13
- package/dist/collection/components/popover/test/nested/popover.e2e.js +0 -92
- package/dist/collection/components/popover/test/popover-id.spec.js +0 -32
- package/dist/collection/components/popover/test/position/popover.e2e.js +0 -27
- package/dist/collection/components/popover/test/reference/popover.e2e.js +0 -22
- package/dist/collection/components/popover/test/size/popover.e2e.js +0 -41
- package/dist/collection/components/popover/test/standalone/popover.e2e.js +0 -15
- package/dist/collection/components/popover/test/trigger/popover.e2e.js +0 -46
- package/dist/collection/components/popover/test/util.spec.js +0 -53
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +0 -24
- package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +0 -14
- package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +0 -20
- package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +0 -20
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +0 -152
- package/dist/collection/components/radio/test/color/radio.e2e.js +0 -27
- package/dist/collection/components/radio/test/item/radio.e2e.js +0 -92
- package/dist/collection/components/radio/test/label-placement/radio.e2e.js +0 -135
- package/dist/collection/components/radio/test/radio.spec.js +0 -60
- package/dist/collection/components/radio/test/states/radio.e2e.js +0 -45
- package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +0 -85
- package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +0 -56
- package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +0 -80
- package/dist/collection/components/radio-group/test/radio-group.spec.js +0 -69
- package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +0 -35
- package/dist/collection/components/range/test/a11y/range.e2e.js +0 -89
- package/dist/collection/components/range/test/active-bar-start/range.e2e.js +0 -14
- package/dist/collection/components/range/test/basic/range.e2e.js +0 -31
- package/dist/collection/components/range/test/color/range.e2e.js +0 -20
- package/dist/collection/components/range/test/custom/range.e2e.js +0 -14
- package/dist/collection/components/range/test/item/range.e2e.js +0 -70
- package/dist/collection/components/range/test/label/range.e2e.js +0 -179
- package/dist/collection/components/range/test/label/range.spec.js +0 -47
- package/dist/collection/components/range/test/range-events.e2e.js +0 -179
- package/dist/collection/components/range/test/range.spec.js +0 -209
- package/dist/collection/components/range/test/scroll-target/range.e2e.js +0 -35
- package/dist/collection/components/range/test/states/range.e2e.js +0 -53
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +0 -26
- package/dist/collection/components/refresher/test/basic/refresher.e2e.js +0 -38
- package/dist/collection/components/refresher/test/fullscreen/refresher.e2e.js +0 -77
- package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +0 -38
- package/dist/collection/components/refresher-content/test/refresher-content.spec.js +0 -46
- package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +0 -33
- package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +0 -36
- package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +0 -32
- package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +0 -32
- package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +0 -32
- package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +0 -66
- package/dist/collection/components/router/test/basic/router.e2e.js +0 -68
- package/dist/collection/components/router/test/guards/href/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/link/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/push/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/router.e2e.js +0 -13
- package/dist/collection/components/router/test/matching.spec.js +0 -250
- package/dist/collection/components/router/test/parser.spec.js +0 -133
- package/dist/collection/components/router/test/path.spec.js +0 -218
- package/dist/collection/components/router/test/router.spec.js +0 -55
- package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +0 -23
- package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +0 -39
- package/dist/collection/components/searchbar/searchbar.ionic.css +0 -269
- package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +0 -37
- package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -161
- package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +0 -67
- package/dist/collection/components/searchbar/test/searchbar.spec.js +0 -33
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +0 -69
- package/dist/collection/components/segment/test/basic/segment.e2e.js +0 -84
- package/dist/collection/components/segment/test/custom/segment.e2e.js +0 -14
- package/dist/collection/components/segment/test/icon/segment.e2e.js +0 -29
- package/dist/collection/components/segment/test/modes/segment.e2e.js +0 -38
- package/dist/collection/components/segment/test/scrollable/segment.e2e.js +0 -83
- package/dist/collection/components/segment/test/segment-events.e2e.js +0 -209
- package/dist/collection/components/segment/test/segment.spec.js +0 -37
- package/dist/collection/components/segment/test/toolbar/segment.e2e.js +0 -122
- package/dist/collection/components/segment/test/wrap/segment.e2e.js +0 -85
- package/dist/collection/components/select/test/a11y/select.e2e.js +0 -101
- package/dist/collection/components/select/test/async/select.e2e.js +0 -25
- package/dist/collection/components/select/test/basic/select.e2e.js +0 -195
- package/dist/collection/components/select/test/card/select.e2e.js +0 -22
- package/dist/collection/components/select/test/color/select.e2e.js +0 -42
- package/dist/collection/components/select/test/compare-with/select.e2e.js +0 -67
- package/dist/collection/components/select/test/custom/select.e2e.js +0 -68
- package/dist/collection/components/select/test/disabled/select.e2e.js +0 -30
- package/dist/collection/components/select/test/fill/select.e2e.js +0 -217
- package/dist/collection/components/select/test/highlight/select.e2e.js +0 -209
- package/dist/collection/components/select/test/item/select.e2e.js +0 -56
- package/dist/collection/components/select/test/label/select.e2e.js +0 -245
- package/dist/collection/components/select/test/popover-size/select.e2e.js +0 -80
- package/dist/collection/components/select/test/select.spec.js +0 -96
- package/dist/collection/components/select/test/slot/select.e2e.js +0 -79
- package/dist/collection/components/select/test/states/select.e2e.js +0 -41
- package/dist/collection/components/select/test/toggle-icon/select.e2e.js +0 -30
- package/dist/collection/components/select/test/wrapping/select.e2e.js +0 -36
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +0 -32
- package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +0 -77
- package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +0 -14
- package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +0 -14
- package/dist/collection/components/spinner/test/basic/spinner.e2e.js +0 -18
- package/dist/collection/components/spinner/test/color/spinner.e2e.js +0 -21
- package/dist/collection/components/spinner/test/resize/spinner.e2e.js +0 -35
- package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +0 -29
- package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +0 -31
- package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +0 -41
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -200
- package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +0 -77
- package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +0 -14
- package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +0 -70
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -264
- package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +0 -15
- package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +0 -81
- package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +0 -123
- package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +0 -65
- package/dist/collection/components/tabs/test/basic/tabs.e2e.js +0 -32
- package/dist/collection/components/tabs/test/placements/tabs.e2e.js +0 -39
- package/dist/collection/components/text/test/basic/text.e2e.js +0 -30
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +0 -67
- package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +0 -48
- package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +0 -120
- package/dist/collection/components/textarea/test/card/textarea.e2e.js +0 -22
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +0 -61
- package/dist/collection/components/textarea/test/color/textarea.e2e.js +0 -131
- package/dist/collection/components/textarea/test/cols/textarea.e2e.js +0 -37
- package/dist/collection/components/textarea/test/fill/textarea.e2e.js +0 -205
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +0 -303
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +0 -64
- package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +0 -224
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +0 -63
- package/dist/collection/components/textarea/test/states/textarea.e2e.js +0 -23
- package/dist/collection/components/textarea/test/textarea-events.e2e.js +0 -70
- package/dist/collection/components/textarea/test/textarea.spec.js +0 -59
- package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +0 -48
- package/dist/collection/components/title/test/a11y/title.e2e.js +0 -61
- package/dist/collection/components/title/test/basic/title.e2e.js +0 -30
- package/dist/collection/components/title/test/theme-ionic/title.e2e.js +0 -14
- package/dist/collection/components/title/title.ionic.css +0 -155
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +0 -210
- package/dist/collection/components/toast/test/basic/toast.e2e.js +0 -123
- package/dist/collection/components/toast/test/is-open/toast.e2e.js +0 -28
- package/dist/collection/components/toast/test/layout/toast.e2e.js +0 -17
- package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +0 -45
- package/dist/collection/components/toast/test/standalone/toast.e2e.js +0 -21
- package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +0 -84
- package/dist/collection/components/toast/test/toast-config.spec.js +0 -25
- package/dist/collection/components/toast/test/toast-id.spec.js +0 -32
- package/dist/collection/components/toast/test/toast.spec.js +0 -212
- package/dist/collection/components/toast/test/trigger/toast.e2e.js +0 -32
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +0 -21
- package/dist/collection/components/toggle/test/color/toggle.e2e.js +0 -23
- package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +0 -61
- package/dist/collection/components/toggle/test/item/toggle.e2e.js +0 -104
- package/dist/collection/components/toggle/test/label/toggle.e2e.js +0 -120
- package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +0 -14
- package/dist/collection/components/toggle/test/states/toggle.e2e.js +0 -30
- package/dist/collection/components/toggle/test/toggle.spec.js +0 -67
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +0 -143
- package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +0 -17
- package/dist/collection/components/toolbar/toolbar.ionic.css +0 -233
- package/dist/collection/css/test/link/basic/link.e2e.js +0 -35
- package/dist/collection/css/test/typography/a11y/typography.e2e.js +0 -50
- package/dist/collection/css/test/typography/basic/typography.e2e.js +0 -14
- package/dist/collection/global/test/config-controller.spec.js +0 -85
- package/dist/collection/global/test/ionic-global.spec.js +0 -109
- package/dist/collection/themes/native/test/colors/theme.e2e.js +0 -170
- package/dist/collection/utils/animation/test/animation.spec.js +0 -358
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -31
- package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -17
- package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -24
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -45
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -30
- package/dist/collection/utils/content/content.utils.spec.js +0 -137
- package/dist/collection/utils/floating-point/floating-point.spec.js +0 -22
- package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +0 -52
- package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +0 -52
- package/dist/collection/utils/helpers.spec.js +0 -36
- package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +0 -115
- package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +0 -21
- package/dist/collection/utils/keyboard/test/keyboard.spec.js +0 -214
- package/dist/collection/utils/rtl/dir.spec.js +0 -25
- package/dist/collection/utils/sanitization/test/sanitization.spec.js +0 -43
- package/dist/collection/utils/tap-click/test/tap-click.e2e.js +0 -25
- package/dist/collection/utils/test/attributes.spec.js +0 -53
- package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +0 -33
- package/dist/collection/utils/test/hardware-back-button.spec.js +0 -91
- package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +0 -65
- package/dist/collection/utils/test/overlays/overlays.e2e.js +0 -301
- package/dist/collection/utils/test/overlays/overlays.spec.js +0 -206
- package/dist/collection/utils/test/platform.spec.js +0 -132
- package/dist/collection/utils/test/ready.spec.js +0 -39
- package/dist/collection/utils/test/theme.spec.js +0 -56
- package/dist/esm/ionic-global-be8fa30a.js +0 -408
- package/dist/esm-es5/app-globals-1fabe499.js +0 -4
- package/dist/esm-es5/data-63b889c5.js +0 -4
- package/dist/esm-es5/index-00b4cca5.js +0 -4
- package/dist/esm-es5/index-3321c202.js +0 -5
- package/dist/esm-es5/index-33a3d901.js +0 -4
- package/dist/esm-es5/index-44013081.js +0 -4
- package/dist/esm-es5/input-shims-c142630d.js +0 -4
- package/dist/esm-es5/input.utils-68c66dbc.js +0 -4
- package/dist/esm-es5/ionic-global-be8fa30a.js +0 -4
- package/dist/esm-es5/ios.transition-688eab99.js +0 -4
- package/dist/esm-es5/md.transition-0540d1d2.js +0 -4
- package/dist/esm-es5/overlays-a0e93007.js +0 -4
- package/dist/esm-es5/status-tap-8d02be66.js +0 -4
- package/dist/ionic/p-01ae1aa0.entry.js +0 -4
- package/dist/ionic/p-021bee2f.system.entry.js +0 -4
- package/dist/ionic/p-036d86ec.system.entry.js +0 -4
- package/dist/ionic/p-0a93c048.system.js +0 -4
- package/dist/ionic/p-1219eea0.system.entry.js +0 -4
- package/dist/ionic/p-12a0de44.system.entry.js +0 -4
- package/dist/ionic/p-132e1004.entry.js +0 -4
- package/dist/ionic/p-1d548fea.system.entry.js +0 -4
- package/dist/ionic/p-1dbb7fa3.entry.js +0 -4
- package/dist/ionic/p-214631b2.system.entry.js +0 -4
- package/dist/ionic/p-224ad51a.entry.js +0 -4
- package/dist/ionic/p-22fef691.js +0 -4
- package/dist/ionic/p-24592a4d.system.entry.js +0 -4
- package/dist/ionic/p-27e42c9e.system.js +0 -4
- package/dist/ionic/p-28a10445.system.js +0 -4
- package/dist/ionic/p-2df16673.system.js +0 -5
- package/dist/ionic/p-302c9c7a.system.entry.js +0 -4
- package/dist/ionic/p-30b49657.system.entry.js +0 -4
- package/dist/ionic/p-359afeb0.system.entry.js +0 -4
- package/dist/ionic/p-3b989be4.entry.js +0 -4
- package/dist/ionic/p-3c031826.system.entry.js +0 -4
- package/dist/ionic/p-3c18022f.entry.js +0 -4
- package/dist/ionic/p-3c6eae03.system.entry.js +0 -4
- package/dist/ionic/p-3cccd1c7.system.entry.js +0 -4
- package/dist/ionic/p-3d25c6d9.entry.js +0 -4
- package/dist/ionic/p-3e2568b9.system.js +0 -4
- package/dist/ionic/p-3e9a1680.js +0 -4
- package/dist/ionic/p-40c14f53.system.entry.js +0 -4
- package/dist/ionic/p-42452dc9.entry.js +0 -4
- package/dist/ionic/p-42816eab.entry.js +0 -4
- package/dist/ionic/p-42bb5ed7.system.entry.js +0 -4
- package/dist/ionic/p-44314b44.system.entry.js +0 -4
- package/dist/ionic/p-479bec54.entry.js +0 -4
- package/dist/ionic/p-493a4548.js +0 -5
- package/dist/ionic/p-49fee3a3.entry.js +0 -4
- package/dist/ionic/p-4b9c6418.system.entry.js +0 -4
- package/dist/ionic/p-4d6c2031.system.entry.js +0 -4
- package/dist/ionic/p-4ec67d0a.entry.js +0 -4
- package/dist/ionic/p-546438d8.js +0 -4
- package/dist/ionic/p-563a8d3b.entry.js +0 -4
- package/dist/ionic/p-56c72f65.system.entry.js +0 -4
- package/dist/ionic/p-61ddbdb9.entry.js +0 -4
- package/dist/ionic/p-644c505f.js +0 -4
- package/dist/ionic/p-645a7748.entry.js +0 -4
- package/dist/ionic/p-663d8429.system.entry.js +0 -4
- package/dist/ionic/p-6746c32a.entry.js +0 -4
- package/dist/ionic/p-6c57ed08.js +0 -4
- package/dist/ionic/p-6daa3633.entry.js +0 -4
- package/dist/ionic/p-7141dfca.entry.js +0 -4
- package/dist/ionic/p-72e98815.system.js +0 -4
- package/dist/ionic/p-752e285d.entry.js +0 -4
- package/dist/ionic/p-79113968.js +0 -4
- package/dist/ionic/p-7b590e46.system.js +0 -4
- package/dist/ionic/p-7b914bfb.entry.js +0 -4
- package/dist/ionic/p-7bf2087e.entry.js +0 -4
- package/dist/ionic/p-7dad531c.system.entry.js +0 -4
- package/dist/ionic/p-7f5f8a14.entry.js +0 -4
- package/dist/ionic/p-8052f3ad.entry.js +0 -4
- package/dist/ionic/p-82297db9.system.entry.js +0 -4
- package/dist/ionic/p-82df3737.system.entry.js +0 -4
- package/dist/ionic/p-87e823ce.js +0 -4
- package/dist/ionic/p-8a04868b.system.entry.js +0 -4
- package/dist/ionic/p-8ac5efa9.entry.js +0 -4
- package/dist/ionic/p-8ed0cef4.system.entry.js +0 -4
- package/dist/ionic/p-90027267.system.js +0 -4
- package/dist/ionic/p-935801cc.entry.js +0 -4
- package/dist/ionic/p-96f109ca.entry.js +0 -4
- package/dist/ionic/p-9771abb4.entry.js +0 -4
- package/dist/ionic/p-9a52a085.entry.js +0 -4
- package/dist/ionic/p-9b925d37.system.entry.js +0 -4
- package/dist/ionic/p-9ead4417.js +0 -4
- package/dist/ionic/p-a3b856e6.system.entry.js +0 -4
- package/dist/ionic/p-ada5e8bb.entry.js +0 -4
- package/dist/ionic/p-b14d56c8.system.entry.js +0 -4
- package/dist/ionic/p-bab398d1.entry.js +0 -4
- package/dist/ionic/p-bb7162de.system.js +0 -4
- package/dist/ionic/p-bedf240b.entry.js +0 -4
- package/dist/ionic/p-bee73070.entry.js +0 -4
- package/dist/ionic/p-c24b81cc.entry.js +0 -4
- package/dist/ionic/p-c2eece5e.system.entry.js +0 -4
- package/dist/ionic/p-c374ab05.system.js +0 -4
- package/dist/ionic/p-c79decb5.system.entry.js +0 -4
- package/dist/ionic/p-ca5aaed3.system.entry.js +0 -4
- package/dist/ionic/p-cce8c245.entry.js +0 -4
- package/dist/ionic/p-cd9a7c32.entry.js +0 -4
- package/dist/ionic/p-d281c150.system.entry.js +0 -4
- package/dist/ionic/p-d2a580db.entry.js +0 -4
- package/dist/ionic/p-d4f55a93.entry.js +0 -4
- package/dist/ionic/p-d718695f.entry.js +0 -4
- package/dist/ionic/p-db08a2d0.system.entry.js +0 -4
- package/dist/ionic/p-db3f14c1.system.entry.js +0 -4
- package/dist/ionic/p-db8fac3d.system.entry.js +0 -4
- package/dist/ionic/p-dc60009b.system.entry.js +0 -4
- package/dist/ionic/p-dc8a3888.entry.js +0 -4
- package/dist/ionic/p-e2313846.entry.js +0 -4
- package/dist/ionic/p-e8aa220a.js +0 -4
- package/dist/ionic/p-e900eba2.system.entry.js +0 -4
- package/dist/ionic/p-ebc71ff5.system.entry.js +0 -4
- package/dist/ionic/p-f0fab903.system.entry.js +0 -4
- package/dist/ionic/p-f621b019.entry.js +0 -4
- package/dist/ionic/p-fb17d462.entry.js +0 -4
- package/dist/ionic/p-fb8ecdb4.system.entry.js +0 -4
- package/dist/ionic/p-fcb1218a.system.entry.js +0 -4
|
@@ -1,408 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { a as setPlatformHelpers, g as getElement, c as getMode, d as setMode } from './index-3321c202.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Logs a warning to the console with an Ionic prefix
|
|
8
|
-
* to indicate the library that is warning the developer.
|
|
9
|
-
*
|
|
10
|
-
* @param message - The string message to be logged to the console.
|
|
11
|
-
*/
|
|
12
|
-
const printIonWarning = (message, ...params) => {
|
|
13
|
-
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
14
|
-
};
|
|
15
|
-
/*
|
|
16
|
-
* Logs an error to the console with an Ionic prefix
|
|
17
|
-
* to indicate the library that is warning the developer.
|
|
18
|
-
*
|
|
19
|
-
* @param message - The string message to be logged to the console.
|
|
20
|
-
* @param params - Additional arguments to supply to the console.error.
|
|
21
|
-
*/
|
|
22
|
-
const printIonError = (message, ...params) => {
|
|
23
|
-
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Prints an error informing developers that an implementation requires an element to be used
|
|
27
|
-
* within a specific selector.
|
|
28
|
-
*
|
|
29
|
-
* @param el The web component element this is requiring the element.
|
|
30
|
-
* @param targetSelectors The selector or selectors that were not found.
|
|
31
|
-
*/
|
|
32
|
-
const printRequiredElementError = (el, ...targetSelectors) => {
|
|
33
|
-
return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
// TODO(FW-2832): types
|
|
37
|
-
class Config {
|
|
38
|
-
constructor() {
|
|
39
|
-
this.m = new Map();
|
|
40
|
-
}
|
|
41
|
-
reset(configObj) {
|
|
42
|
-
this.m = new Map(Object.entries(configObj));
|
|
43
|
-
}
|
|
44
|
-
get(key, fallback) {
|
|
45
|
-
const value = this.m.get(key);
|
|
46
|
-
return value !== undefined ? value : fallback;
|
|
47
|
-
}
|
|
48
|
-
getBoolean(key, fallback = false) {
|
|
49
|
-
const val = this.m.get(key);
|
|
50
|
-
if (val === undefined) {
|
|
51
|
-
return fallback;
|
|
52
|
-
}
|
|
53
|
-
if (typeof val === 'string') {
|
|
54
|
-
return val === 'true';
|
|
55
|
-
}
|
|
56
|
-
return !!val;
|
|
57
|
-
}
|
|
58
|
-
getNumber(key, fallback) {
|
|
59
|
-
const val = parseFloat(this.m.get(key));
|
|
60
|
-
return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
|
|
61
|
-
}
|
|
62
|
-
set(key, value) {
|
|
63
|
-
this.m.set(key, value);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
const config = /*@__PURE__*/ new Config();
|
|
67
|
-
const configFromSession = (win) => {
|
|
68
|
-
try {
|
|
69
|
-
const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
|
|
70
|
-
return configStr !== null ? JSON.parse(configStr) : {};
|
|
71
|
-
}
|
|
72
|
-
catch (e) {
|
|
73
|
-
return {};
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
const saveConfig = (win, c) => {
|
|
77
|
-
try {
|
|
78
|
-
win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
|
|
79
|
-
}
|
|
80
|
-
catch (e) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
const configFromURL = (win) => {
|
|
85
|
-
const configObj = {};
|
|
86
|
-
win.location.search
|
|
87
|
-
.slice(1)
|
|
88
|
-
.split('&')
|
|
89
|
-
.map((entry) => entry.split('='))
|
|
90
|
-
.map(([key, value]) => {
|
|
91
|
-
try {
|
|
92
|
-
return [decodeURIComponent(key), decodeURIComponent(value)];
|
|
93
|
-
}
|
|
94
|
-
catch (e) {
|
|
95
|
-
return ['', ''];
|
|
96
|
-
}
|
|
97
|
-
})
|
|
98
|
-
.filter(([key]) => startsWith(key, IONIC_PREFIX))
|
|
99
|
-
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
|
|
100
|
-
.forEach(([key, value]) => {
|
|
101
|
-
configObj[key] = value;
|
|
102
|
-
});
|
|
103
|
-
return configObj;
|
|
104
|
-
};
|
|
105
|
-
const startsWith = (input, search) => {
|
|
106
|
-
return input.substr(0, search.length) === search;
|
|
107
|
-
};
|
|
108
|
-
const IONIC_PREFIX = 'ionic:';
|
|
109
|
-
const IONIC_SESSION_KEY = 'ionic-persist-config';
|
|
110
|
-
|
|
111
|
-
const getPlatforms = (win) => setupPlatforms(win);
|
|
112
|
-
const isPlatform = (winOrPlatform, platform) => {
|
|
113
|
-
if (typeof winOrPlatform === 'string') {
|
|
114
|
-
platform = winOrPlatform;
|
|
115
|
-
winOrPlatform = undefined;
|
|
116
|
-
}
|
|
117
|
-
return getPlatforms(winOrPlatform).includes(platform);
|
|
118
|
-
};
|
|
119
|
-
const setupPlatforms = (win = window) => {
|
|
120
|
-
if (typeof win === 'undefined') {
|
|
121
|
-
return [];
|
|
122
|
-
}
|
|
123
|
-
win.Ionic = win.Ionic || {};
|
|
124
|
-
let platforms = win.Ionic.platforms;
|
|
125
|
-
if (platforms == null) {
|
|
126
|
-
platforms = win.Ionic.platforms = detectPlatforms(win);
|
|
127
|
-
platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));
|
|
128
|
-
}
|
|
129
|
-
return platforms;
|
|
130
|
-
};
|
|
131
|
-
const detectPlatforms = (win) => {
|
|
132
|
-
const customPlatformMethods = config.get('platform');
|
|
133
|
-
return Object.keys(PLATFORMS_MAP).filter((p) => {
|
|
134
|
-
const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
|
|
135
|
-
return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
|
|
136
|
-
});
|
|
137
|
-
};
|
|
138
|
-
const isMobileWeb = (win) => isMobile(win) && !isHybrid(win);
|
|
139
|
-
const isIpad = (win) => {
|
|
140
|
-
// iOS 12 and below
|
|
141
|
-
if (testUserAgent(win, /iPad/i)) {
|
|
142
|
-
return true;
|
|
143
|
-
}
|
|
144
|
-
// iOS 13+
|
|
145
|
-
if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
|
|
146
|
-
return true;
|
|
147
|
-
}
|
|
148
|
-
return false;
|
|
149
|
-
};
|
|
150
|
-
const isIphone = (win) => testUserAgent(win, /iPhone/i);
|
|
151
|
-
const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
|
|
152
|
-
const isAndroid = (win) => testUserAgent(win, /android|sink/i);
|
|
153
|
-
const isAndroidTablet = (win) => {
|
|
154
|
-
return isAndroid(win) && !testUserAgent(win, /mobile/i);
|
|
155
|
-
};
|
|
156
|
-
const isPhablet = (win) => {
|
|
157
|
-
const width = win.innerWidth;
|
|
158
|
-
const height = win.innerHeight;
|
|
159
|
-
const smallest = Math.min(width, height);
|
|
160
|
-
const largest = Math.max(width, height);
|
|
161
|
-
return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
|
|
162
|
-
};
|
|
163
|
-
const isTablet = (win) => {
|
|
164
|
-
const width = win.innerWidth;
|
|
165
|
-
const height = win.innerHeight;
|
|
166
|
-
const smallest = Math.min(width, height);
|
|
167
|
-
const largest = Math.max(width, height);
|
|
168
|
-
return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);
|
|
169
|
-
};
|
|
170
|
-
const isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');
|
|
171
|
-
const isDesktop = (win) => !isMobile(win);
|
|
172
|
-
const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
|
|
173
|
-
const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
|
|
174
|
-
const isCapacitorNative = (win) => {
|
|
175
|
-
const capacitor = win['Capacitor'];
|
|
176
|
-
return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);
|
|
177
|
-
};
|
|
178
|
-
const isElectron = (win) => testUserAgent(win, /electron/i);
|
|
179
|
-
const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
|
|
180
|
-
const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
|
|
181
|
-
const matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };
|
|
182
|
-
const PLATFORMS_MAP = {
|
|
183
|
-
ipad: isIpad,
|
|
184
|
-
iphone: isIphone,
|
|
185
|
-
ios: isIOS,
|
|
186
|
-
android: isAndroid,
|
|
187
|
-
phablet: isPhablet,
|
|
188
|
-
tablet: isTablet,
|
|
189
|
-
cordova: isCordova,
|
|
190
|
-
capacitor: isCapacitorNative,
|
|
191
|
-
electron: isElectron,
|
|
192
|
-
pwa: isPWA,
|
|
193
|
-
mobile: isMobile,
|
|
194
|
-
mobileweb: isMobileWeb,
|
|
195
|
-
desktop: isDesktop,
|
|
196
|
-
hybrid: isHybrid,
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
let defaultMode;
|
|
200
|
-
let defaultTheme = 'md';
|
|
201
|
-
/**
|
|
202
|
-
* Prints a warning message to the developer to inform them of
|
|
203
|
-
* an invalid configuration of mode and theme.
|
|
204
|
-
* @param mode The invalid mode configuration.
|
|
205
|
-
* @param theme The invalid theme configuration.
|
|
206
|
-
*/
|
|
207
|
-
const printInvalidModeWarning = (mode, theme, ref) => {
|
|
208
|
-
printIonWarning(`Invalid mode and theme combination provided: mode: ${mode}, theme: ${theme}. Fallback mode ${getDefaultModeForTheme(theme)} will be used.`, ref);
|
|
209
|
-
};
|
|
210
|
-
/**
|
|
211
|
-
* Validates if a mode is accepted for a theme configuration.
|
|
212
|
-
* @param mode The mode to validate.
|
|
213
|
-
* @param theme The theme the mode is being used with.
|
|
214
|
-
* @returns `true` if the mode is valid for the theme, `false` if invalid.
|
|
215
|
-
*/
|
|
216
|
-
const isModeValidForTheme = (mode, theme) => {
|
|
217
|
-
if (mode === 'md') {
|
|
218
|
-
return theme === 'md' || theme === 'ionic';
|
|
219
|
-
}
|
|
220
|
-
else if (mode === 'ios') {
|
|
221
|
-
return theme === 'ios' || theme === 'ionic';
|
|
222
|
-
}
|
|
223
|
-
return false;
|
|
224
|
-
};
|
|
225
|
-
/**
|
|
226
|
-
* Returns the default mode for a specified theme.
|
|
227
|
-
* @param theme The theme to return a default mode for.
|
|
228
|
-
* @returns The default mode, either `ios` or `md`.
|
|
229
|
-
*/
|
|
230
|
-
const getDefaultModeForTheme = (theme) => {
|
|
231
|
-
if (theme === 'ios') {
|
|
232
|
-
return 'ios';
|
|
233
|
-
}
|
|
234
|
-
return 'md';
|
|
235
|
-
};
|
|
236
|
-
/**
|
|
237
|
-
* Returns the default theme for a specified mode.
|
|
238
|
-
* @param mode The mode to return a default theme for.
|
|
239
|
-
* @returns The default theme.
|
|
240
|
-
*/
|
|
241
|
-
const getDefaultThemeForMode = (mode) => {
|
|
242
|
-
if (mode === 'ios') {
|
|
243
|
-
return 'ios';
|
|
244
|
-
}
|
|
245
|
-
return 'md';
|
|
246
|
-
};
|
|
247
|
-
const isModeSupported = (elmMode) => ['ios', 'md'].includes(elmMode);
|
|
248
|
-
const isThemeSupported = (theme) => ['ios', 'md', 'ionic'].includes(theme);
|
|
249
|
-
const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
|
|
250
|
-
/**
|
|
251
|
-
* Returns the mode value of the element reference or the closest
|
|
252
|
-
* parent with a valid mode.
|
|
253
|
-
* @param ref The element reference to look up the mode for.
|
|
254
|
-
* @param theme Optionally can provide the theme to avoid an additional look-up.
|
|
255
|
-
* @returns The mode value for the element reference.
|
|
256
|
-
*/
|
|
257
|
-
const getIonMode = (ref, theme = getIonTheme(ref)) => {
|
|
258
|
-
var _a;
|
|
259
|
-
if ((ref === null || ref === void 0 ? void 0 : ref.mode) && isModeValidForTheme(ref === null || ref === void 0 ? void 0 : ref.mode, theme)) {
|
|
260
|
-
/**
|
|
261
|
-
* If the reference already has a mode configuration,
|
|
262
|
-
* use it instead of performing a look-up.
|
|
263
|
-
*/
|
|
264
|
-
return ref.mode;
|
|
265
|
-
}
|
|
266
|
-
else {
|
|
267
|
-
const el = getElement(ref);
|
|
268
|
-
const mode = ((_a = el.closest('[mode]')) === null || _a === void 0 ? void 0 : _a.getAttribute('mode')) || defaultMode;
|
|
269
|
-
if (isModeValidForTheme(mode, theme)) {
|
|
270
|
-
/**
|
|
271
|
-
* The mode configuration is supported for the configured theme.
|
|
272
|
-
*/
|
|
273
|
-
return mode;
|
|
274
|
-
}
|
|
275
|
-
else {
|
|
276
|
-
printInvalidModeWarning(mode, theme, ref);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
return getDefaultModeForTheme(theme);
|
|
280
|
-
};
|
|
281
|
-
/**
|
|
282
|
-
* Returns the theme value of the element reference or the closest
|
|
283
|
-
* parent with a valid theme.
|
|
284
|
-
*
|
|
285
|
-
* @param ref The element reference to look up the theme for.
|
|
286
|
-
* @returns The theme value for the element reference, defaults to
|
|
287
|
-
* the default theme if it cannot be determined.
|
|
288
|
-
*/
|
|
289
|
-
const getIonTheme = (ref) => {
|
|
290
|
-
var _a, _b;
|
|
291
|
-
const theme = ref && getMode(ref);
|
|
292
|
-
if (theme) {
|
|
293
|
-
return theme;
|
|
294
|
-
}
|
|
295
|
-
/**
|
|
296
|
-
* If the theme cannot be detected, then fallback to using
|
|
297
|
-
* the `mode` attribute to determine the style sheets to use.
|
|
298
|
-
*/
|
|
299
|
-
const el = getElement(ref);
|
|
300
|
-
const mode = (_a = ref === null || ref === void 0 ? void 0 : ref.mode) !== null && _a !== void 0 ? _a : (_b = el.closest('[mode]')) === null || _b === void 0 ? void 0 : _b.getAttribute('mode');
|
|
301
|
-
if (mode) {
|
|
302
|
-
return getDefaultThemeForMode(mode);
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* If a mode is not detected, then fallback to using the
|
|
306
|
-
* default theme.
|
|
307
|
-
*/
|
|
308
|
-
return defaultTheme;
|
|
309
|
-
};
|
|
310
|
-
const initialize = (userConfig = {}) => {
|
|
311
|
-
if (typeof window === 'undefined') {
|
|
312
|
-
return;
|
|
313
|
-
}
|
|
314
|
-
const doc = window.document;
|
|
315
|
-
const win = window;
|
|
316
|
-
const Ionic = (win.Ionic = win.Ionic || {});
|
|
317
|
-
const platformHelpers = {};
|
|
318
|
-
if (userConfig._ael) {
|
|
319
|
-
platformHelpers.ael = userConfig._ael;
|
|
320
|
-
}
|
|
321
|
-
if (userConfig._rel) {
|
|
322
|
-
platformHelpers.rel = userConfig._rel;
|
|
323
|
-
}
|
|
324
|
-
if (userConfig._ce) {
|
|
325
|
-
platformHelpers.ce = userConfig._ce;
|
|
326
|
-
}
|
|
327
|
-
setPlatformHelpers(platformHelpers);
|
|
328
|
-
// create the Ionic.config from raw config object (if it exists)
|
|
329
|
-
// and convert Ionic.config into a ConfigApi that has a get() fn
|
|
330
|
-
const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
|
|
331
|
-
config.reset(configObj);
|
|
332
|
-
if (config.getBoolean('persistConfig')) {
|
|
333
|
-
saveConfig(win, configObj);
|
|
334
|
-
}
|
|
335
|
-
// Setup platforms
|
|
336
|
-
setupPlatforms(win);
|
|
337
|
-
Ionic.config = config;
|
|
338
|
-
/**
|
|
339
|
-
* Check if the mode was set as an attribute on <html>
|
|
340
|
-
* which could have been set by the user, or by pre-rendering
|
|
341
|
-
* otherwise get the mode via config settings, and fallback to md.
|
|
342
|
-
*/
|
|
343
|
-
Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
|
|
344
|
-
/**
|
|
345
|
-
* Check if the theme was set as an attribute on <html>
|
|
346
|
-
* which could have been set by the user, or by pre-rendering
|
|
347
|
-
* otherwise get the theme via config settings, and fallback to md.
|
|
348
|
-
*/
|
|
349
|
-
Ionic.theme = defaultTheme = config.get('theme', doc.documentElement.getAttribute('theme') || getDefaultThemeForMode(defaultMode));
|
|
350
|
-
if (!isModeValidForTheme(defaultMode, defaultTheme)) {
|
|
351
|
-
printInvalidModeWarning(defaultMode, defaultTheme, configObj);
|
|
352
|
-
defaultMode = getDefaultModeForTheme(defaultTheme);
|
|
353
|
-
}
|
|
354
|
-
config.set('mode', defaultMode);
|
|
355
|
-
doc.documentElement.setAttribute('mode', defaultMode);
|
|
356
|
-
doc.documentElement.classList.add(defaultMode);
|
|
357
|
-
config.set('theme', defaultTheme);
|
|
358
|
-
doc.documentElement.setAttribute('theme', defaultTheme);
|
|
359
|
-
doc.documentElement.classList.add(defaultTheme);
|
|
360
|
-
if (config.getBoolean('_testing')) {
|
|
361
|
-
config.set('animated', false);
|
|
362
|
-
}
|
|
363
|
-
setMode((elm) => {
|
|
364
|
-
/**
|
|
365
|
-
* Iterate over all the element nodes, to both validate and
|
|
366
|
-
* set the "mode" that is used for determining the styles to
|
|
367
|
-
* apply to the element.
|
|
368
|
-
*
|
|
369
|
-
* setMode refers to Stencil's internal metadata for "mode",
|
|
370
|
-
* which is used to set the correct styleUrl for the component.
|
|
371
|
-
*
|
|
372
|
-
* If the "theme" attribute or property is set, then use it
|
|
373
|
-
* to determine the style sheets to use.
|
|
374
|
-
*
|
|
375
|
-
* If the "mode" attribute or property is set, then use it
|
|
376
|
-
* to determine the style sheets to use. This is fallback
|
|
377
|
-
* behavior for applications that are not setting the "theme".
|
|
378
|
-
*/
|
|
379
|
-
while (elm) {
|
|
380
|
-
const theme = elm.getAttribute('theme');
|
|
381
|
-
if (theme) {
|
|
382
|
-
if (isThemeSupported(theme)) {
|
|
383
|
-
return theme;
|
|
384
|
-
}
|
|
385
|
-
else if (isIonicElement(elm)) {
|
|
386
|
-
printIonWarning(`Invalid theme: "${theme}". Supported themes include: "ios" or "md".`);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* If a theme is not detected, then fallback to using the
|
|
391
|
-
* `mode` attribute to determine the style sheets to use.
|
|
392
|
-
*/
|
|
393
|
-
const elmMode = elm.getAttribute('mode');
|
|
394
|
-
if (elmMode) {
|
|
395
|
-
if (isModeSupported(elmMode)) {
|
|
396
|
-
return elmMode;
|
|
397
|
-
}
|
|
398
|
-
else if (isIonicElement(elm)) {
|
|
399
|
-
printIonWarning(`Invalid mode: "${elmMode}". Ionic modes can be only "ios" or "md"`);
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
elm = elm.parentElement;
|
|
403
|
-
}
|
|
404
|
-
return defaultTheme;
|
|
405
|
-
});
|
|
406
|
-
};
|
|
407
|
-
|
|
408
|
-
export { isPlatform as a, getIonMode as b, config as c, getIonTheme as d, printIonError as e, printRequiredElementError as f, getPlatforms as g, initialize as i, printIonWarning as p };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{p as printIonWarning}from"./ionic-global-be8fa30a.js";var isSameDay=function(e,r){return e.month===r.month&&e.day===r.day&&e.year===r.year};var isBefore=function(e,r){return!!(e.year<r.year||e.year===r.year&&e.month<r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day<r.day)};var isAfter=function(e,r){return!!(e.year>r.year||e.year===r.year&&e.month>r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day>r.day)};var warnIfValueOutOfBounds=function(e,r,n){var a=Array.isArray(e)?e:[e];for(var t=0,i=a;t<i.length;t++){var u=i[t];if(r!==undefined&&isBefore(u,r)||n!==undefined&&isAfter(u,n)){printIonWarning("The value provided to ion-datetime is out of bounds.\n\n"+"Min: ".concat(JSON.stringify(r),"\n")+"Max: ".concat(JSON.stringify(n),"\n")+"Value: ".concat(JSON.stringify(e)));break}}};var isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0};var getHourCycle=function(e,r){if(r!==undefined){return r}var n=new Intl.DateTimeFormat(e,{hour:"numeric"});var a=n.resolvedOptions();if(a.hourCycle!==undefined){return a.hourCycle}var t=new Date("5/18/2021 00:00");var i=n.formatToParts(t);var u=i.find((function(e){return e.type==="hour"}));if(!u){throw new Error("Hour value not found from DateTimeFormat")}switch(u.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}};var is24Hour=function(e){return e==="h23"||e==="h24"};var getNumDaysInMonth=function(e,r){return e===4||e===6||e===9||e===11?30:e===2?isLeapYear(r)?29:28:31};var isMonthFirstLocale=function(e,r){if(r===void 0){r={month:"numeric",year:"numeric"}}var n=new Intl.DateTimeFormat(e,r).formatToParts(new Date);return n[0].type==="month"};var isLocaleDayPeriodRTL=function(e){var r=new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date);return r[0].type==="dayPeriod"};var ISO_8601_REGEXP=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var TIME_REGEXP=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var convertToArrayOfNumbers=function(e){if(e===undefined){return}var r=e;if(typeof e==="string"){r=e.replace(/\[|\]|\s/g,"").split(",")}var n;if(Array.isArray(r)){n=r.map((function(e){return parseInt(e,10)})).filter(isFinite)}else{n=[r]}return n};var getPartsFromCalendarDay=function(e){return{month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)}};function parseDate(e){if(Array.isArray(e)){var r=[];for(var n=0,a=e;n<a.length;n++){var t=a[n];var i=parseDate(t);if(!i){return undefined}r.push(i)}return r}var u=null;if(e!=null&&e!==""){u=TIME_REGEXP.exec(e);if(u){u.unshift(undefined,undefined);u[2]=u[3]=undefined}else{u=ISO_8601_REGEXP.exec(e)}}if(u===null){printIonWarning("Unable to parse date string: ".concat(e,". Please provide a valid ISO 8601 datetime string."));return undefined}for(var o=1;o<8;o++){u[o]=u[o]!==undefined?parseInt(u[o],10):undefined}return{year:u[1],month:u[2],day:u[3],hour:u[4],minute:u[5],ampm:u[4]<12?"am":"pm"}}var clampDate=function(e,r,n){if(r&&isBefore(e,r)){return r}else if(n&&isAfter(e,n)){return n}return e};var parseAmPm=function(e){return e>=12?"pm":"am"};var parseMaxParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;var d=i!==null&&i!==void 0?i:r.year;var f=a!==null&&a!==void 0?a:12;return{month:f,day:t!==null&&t!==void 0?t:getNumDaysInMonth(f,d),year:d,hour:u!==null&&u!==void 0?u:23,minute:o!==null&&o!==void 0?o:59}};var parseMinParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;return{month:a!==null&&a!==void 0?a:1,day:t!==null&&t!==void 0?t:1,year:i!==null&&i!==void 0?i:r.year,hour:u!==null&&u!==void 0?u:0,minute:o!==null&&o!==void 0?o:0}};var twoDigit=function(e){return("0"+(e!==undefined?Math.abs(e):"0")).slice(-2)};var fourDigit=function(e){return("000"+(e!==undefined?Math.abs(e):"0")).slice(-4)};function convertDataToISO(e){if(Array.isArray(e)){return e.map((function(e){return convertDataToISO(e)}))}var r="";if(e.year!==undefined){r=fourDigit(e.year);if(e.month!==undefined){r+="-"+twoDigit(e.month);if(e.day!==undefined){r+="-"+twoDigit(e.day);if(e.hour!==undefined){r+="T".concat(twoDigit(e.hour),":").concat(twoDigit(e.minute),":00")}}}}else if(e.hour!==undefined){r=twoDigit(e.hour)+":"+twoDigit(e.minute)}return r}var convert12HourTo24Hour=function(e,r){if(r===undefined){return e}if(r==="am"){if(e===12){return 0}return e}if(e===12){return 12}return e+12};var getStartOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return subtractDays(e,r)};var getEndOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return addDays(e,6-r)};var getNextDay=function(e){return addDays(e,1)};var getPreviousDay=function(e){return subtractDays(e,1)};var getPreviousWeek=function(e){return subtractDays(e,7)};var getNextWeek=function(e){return addDays(e,7)};var subtractDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};i.day=a-r;if(i.day<1){i.month-=1}if(i.month<1){i.month=12;i.year-=1}if(i.day<1){var u=getNumDaysInMonth(i.month,i.year);i.day=u+i.day}return i};var addDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};var u=getNumDaysInMonth(n,t);i.day=a+r;if(i.day>u){i.day-=u;i.month+=1}if(i.month>12){i.month=1;i.year+=1}return i};var getPreviousMonth=function(e){var r=e.month===1?12:e.month-1;var n=e.month===1?e.year-1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var getNextMonth=function(e){var r=e.month===12?1:e.month+1;var n=e.month===12?e.year+1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var changeYear=function(e,r){var n=e.month;var a=e.year+r;var t=getNumDaysInMonth(n,a);var i=t<e.day?t:e.day;return{month:n,year:a,day:i}};var getPreviousYear=function(e){return changeYear(e,-1)};var getNextYear=function(e){return changeYear(e,1)};var getInternalHourValue=function(e,r,n){if(r){return e}return convert12HourTo24Hour(e,n)};var calculateHourFromAMPM=function(e,r){var n=e.ampm,a=e.hour;var t=a;if(n==="am"&&r==="pm"){t=convert12HourTo24Hour(t,"pm")}else if(n==="pm"&&r==="am"){t=Math.abs(t-12)}return t};var validateParts=function(e,r,n){var a=e.month,t=e.day,i=e.year;var u=clampDate(Object.assign({},e),r,n);var o=getNumDaysInMonth(a,i);if(t!==null&&o<t){u.day=o}if(r!==undefined&&isSameDay(u,r)){if(u.hour!==undefined&&r.hour!==undefined){if(u.hour<r.hour){u.hour=r.hour;u.minute=r.minute}else if(u.hour===r.hour&&u.minute!==undefined&&r.minute!==undefined&&u.minute<r.minute){u.minute=r.minute}}}if(n!==undefined&&isSameDay(e,n)){if(u.hour!==undefined&&n.hour!==undefined){if(u.hour>n.hour){u.hour=n.hour;u.minute=n.minute}else if(u.hour===n.hour&&u.minute!==undefined&&n.minute!==undefined&&u.minute>n.minute){u.minute=n.minute}}}return u};var getClosestValidDate=function(e){var r=e.refParts,n=e.monthValues,a=e.dayValues,t=e.yearValues,i=e.hourValues,u=e.minuteValues,o=e.minParts,d=e.maxParts;var f=r.hour,v=r.minute,s=r.day,l=r.month,c=r.year;var m=Object.assign(Object.assign({},r),{dayOfWeek:undefined});if(t!==undefined){var y=t.filter((function(e){if(o!==undefined&&e<o.year){return false}if(d!==undefined&&e>d.year){return false}return true}));m.year=findClosestValue(c,y)}if(n!==undefined){var g=n.filter((function(e){if(o!==undefined&&m.year===o.year&&e<o.month){return false}if(d!==undefined&&m.year===d.year&&e>d.month){return false}return true}));m.month=findClosestValue(l,g)}if(s!==null&&a!==undefined){var D=a.filter((function(e){if(o!==undefined&&isBefore(Object.assign(Object.assign({},m),{day:e}),o)){return false}if(d!==undefined&&isAfter(Object.assign(Object.assign({},m),{day:e}),d)){return false}return true}));m.day=findClosestValue(s,D)}if(f!==undefined&&i!==undefined){var h=i.filter((function(e){if((o===null||o===void 0?void 0:o.hour)!==undefined&&isSameDay(m,o)&&e<o.hour){return false}if((d===null||d===void 0?void 0:d.hour)!==undefined&&isSameDay(m,d)&&e>d.hour){return false}return true}));m.hour=findClosestValue(f,h);m.ampm=parseAmPm(m.hour)}if(v!==undefined&&u!==undefined){var T=u.filter((function(e){if((o===null||o===void 0?void 0:o.minute)!==undefined&&isSameDay(m,o)&&m.hour===o.hour&&e<o.minute){return false}if((d===null||d===void 0?void 0:d.minute)!==undefined&&isSameDay(m,d)&&m.hour===d.hour&&e>d.minute){return false}return true}));m.minute=findClosestValue(v,T)}return m};var findClosestValue=function(e,r){var n=r[0];var a=Math.abs(n-e);for(var t=1;t<r.length;t++){var i=r[t];var u=Math.abs(i-e);if(u<a){n=i;a=u}}return n};var getFormattedDayPeriod=function(e){if(e===undefined){return""}return e.toUpperCase()};var stripTimeZone=function(e){return Object.assign(Object.assign({},e),{timeZone:"UTC",timeZoneName:undefined})};var getLocalizedTime=function(e,r,n,a){if(a===void 0){a={hour:"numeric",minute:"numeric"}}var t={hour:r.hour,minute:r.minute};if(t.hour===undefined||t.minute===undefined){return"Invalid Time"}return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},stripTimeZone(a)),{hourCycle:n})).format(new Date(convertDataToISO(Object.assign({year:2023,day:1,month:1},t))+"Z"))};var addTimePadding=function(e){var r=e.toString();if(r.length>1){return r}return"0".concat(r)};var getFormattedHour=function(e,r){if(e===0){switch(r){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}}var n=is24Hour(r);if(n){return addTimePadding(e)}return e.toString()};var generateDayAriaLabel=function(e,r,n){if(n.day===null){return null}var a=getNormalizedDate(n);var t=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(a);return r?"Today, ".concat(t):t};var getMonthAndYear=function(e,r){var n=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)};var getDay=function(e,r){return getLocalizedDateTimeParts(e,r,{day:"numeric"}).find((function(e){return e.type==="day"})).value};var getYear=function(e,r){return getLocalizedDateTime(e,r,{year:"numeric"})};var getNormalizedDate=function(e){var r,n,a;var t=e.hour!==undefined&&e.minute!==undefined?" ".concat(e.hour,":").concat(e.minute):"";return new Date("".concat((r=e.month)!==null&&r!==void 0?r:1,"/").concat((n=e.day)!==null&&n!==void 0?n:1,"/").concat((a=e.year)!==null&&a!==void 0?a:2023).concat(t," GMT+0000"))};var getLocalizedDateTime=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,stripTimeZone(n)).format(a)};var getLocalizedDateTimeParts=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,n).formatToParts(a)};var getDateTimeFormat=function(e,r){return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"}))};var getTodayLabel=function(e){if("RelativeTimeFormat"in Intl){var r=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return r.charAt(0).toUpperCase()+r.slice(1)}else{return"Today"}};var removeDateTzOffset=function(e){var r=e.getTimezoneOffset();e.setMinutes(e.getMinutes()-r);return e};var DATE_AM=removeDateTzOffset(new Date("2022T01:00"));var DATE_PM=removeDateTzOffset(new Date("2022T13:00"));var getLocalizedDayPeriod=function(e,r){var n=r==="am"?DATE_AM:DATE_PM;var a=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((function(e){return e.type==="dayPeriod"}));if(a){return a.value}return getFormattedDayPeriod(r)};var formatValue=function(e){return Array.isArray(e)?e.join(","):e};var getToday=function(){return removeDateTzOffset(new Date).toISOString()};var minutes=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59];var hour11=[0,1,2,3,4,5,6,7,8,9,10,11];var hour12=[0,1,2,3,4,5,6,7,8,9,10,11];var hour23=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23];var hour24=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0];var getDaysOfWeek=function(e,r,n){if(n===void 0){n=0}var a=r==="ios"?"short":"narrow";var t=new Intl.DateTimeFormat(e,{weekday:a});var i=new Date("11/01/2020");var u=[];for(var o=n;o<n+7;o++){var d=new Date(i);d.setDate(d.getDate()+o);u.push(t.format(d))}return u};var getDaysOfMonth=function(e,r,n){var a=getNumDaysInMonth(e,r);var t=new Date("".concat(e,"/1/").concat(r)).getDay();var i=t>=n?t-(n+1):6-(n-t);var u=[];for(var o=1;o<=a;o++){u.push({day:o,dayOfWeek:(i+o)%7})}for(var o=0;o<=i;o++){u=__spreadArray([{day:null,dayOfWeek:null}],u,true)}return u};var getHourData=function(e){switch(e){case"h11":return hour11;case"h12":return hour12;case"h23":return hour23;case"h24":return hour24;default:throw new Error('Invalid hour cycle "'.concat(e,'"'))}};var generateTime=function(e,r,n,a,t,i,u){if(n===void 0){n="h12"}var o=getHourCycle(e,n);var d=is24Hour(o);var f=getHourData(o);var v=minutes;var s=true;var l=true;if(i){f=f.filter((function(e){return i.includes(e)}))}if(u){v=v.filter((function(e){return u.includes(e)}))}if(a){if(isSameDay(r,a)){if(a.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)>=a.hour}));s=a.hour<13}if(a.minute!==undefined){var c=false;if(a.hour!==undefined&&r.hour!==undefined){if(r.hour>a.hour){c=true}}v=v.filter((function(e){if(c){return true}return e>=a.minute}))}}else if(isBefore(r,a)){f=[];v=[];s=l=false}}if(t){if(isSameDay(r,t)){if(t.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)<=t.hour}));l=t.hour>=12}if(t.minute!==undefined&&r.hour===t.hour){v=v.filter((function(e){return e<=t.minute}))}}else if(isAfter(r,t)){f=[];v=[];s=l=false}}return{hours:f,minutes:v,am:s,pm:l}};var generateMonths=function(e,r){var n={month:e.month,year:e.year,day:e.day};if(r!==undefined&&(e.month!==r.month||e.year!==r.year)){var a={month:r.month,year:r.year,day:r.day};var t=isBefore(a,n);return t?[a,n,getNextMonth(e)]:[getPreviousMonth(e),n,a]}return[getPreviousMonth(e),n,getNextMonth(e)]};var getMonthColumnData=function(e,r,n,a,t,i){if(i===void 0){i={month:"long"}}var u=r.year;var o=[];if(t!==undefined){var d=t;if((a===null||a===void 0?void 0:a.month)!==undefined){d=d.filter((function(e){return e<=a.month}))}if((n===null||n===void 0?void 0:n.month)!==undefined){d=d.filter((function(e){return e>=n.month}))}d.forEach((function(r){var n=new Date("".concat(r,"/1/").concat(u," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);o.push({text:a,value:r})}))}else{var f=a&&a.year===u?a.month:12;var v=n&&n.year===u?n.month:1;for(var s=v;s<=f;s++){var l=new Date("".concat(s,"/1/").concat(u," GMT+0000"));var c=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(l);o.push({text:c,value:s})}}return o};var getDayColumnData=function(e,r,n,a,t,i){if(i===void 0){i={day:"numeric"}}var u=r.month,o=r.year;var d=[];var f=getNumDaysInMonth(u,o);var v=(a===null||a===void 0?void 0:a.day)!==null&&(a===null||a===void 0?void 0:a.day)!==undefined&&a.year===o&&a.month===u?a.day:f;var s=(n===null||n===void 0?void 0:n.day)!==null&&(n===null||n===void 0?void 0:n.day)!==undefined&&n.year===o&&n.month===u?n.day:1;if(t!==undefined){var l=t;l=l.filter((function(e){return e>=s&&e<=v}));l.forEach((function(r){var n=new Date("".concat(u,"/").concat(r,"/").concat(o," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);d.push({text:a,value:r})}))}else{for(var c=s;c<=v;c++){var m=new Date("".concat(u,"/").concat(c,"/").concat(o," GMT+0000"));var y=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(m);d.push({text:y,value:c})}}return d};var getYearColumnData=function(e,r,n,a,t){var i,u;var o=[];if(t!==undefined){o=t;if((a===null||a===void 0?void 0:a.year)!==undefined){o=o.filter((function(e){return e<=a.year}))}if((n===null||n===void 0?void 0:n.year)!==undefined){o=o.filter((function(e){return e>=n.year}))}}else{var d=r.year;var f=(i=a===null||a===void 0?void 0:a.year)!==null&&i!==void 0?i:d;var v=(u=n===null||n===void 0?void 0:n.year)!==null&&u!==void 0?u:d-100;for(var s=v;s<=f;s++){o.push(s)}}return o.map((function(n){return{text:getYear(e,{year:n,month:r.month,day:r.day}),value:n}}))};var getAllMonthsInRange=function(e,r){if(e.month===r.month&&e.year===r.year){return[e]}return __spreadArray([e],getAllMonthsInRange(getNextMonth(e),r),true)};var getCombinedDateColumnData=function(e,r,n,a,t,i){var u=[];var o=[];var d=getAllMonthsInRange(n,a);if(i){d=d.filter((function(e){var r=e.month;return i.includes(r)}))}d.forEach((function(i){var d={month:i.month,day:null,year:i.year};var f=getDayColumnData(e,d,n,a,t,{month:"short",day:"numeric",weekday:"short"});var v=[];var s=[];f.forEach((function(n){var a=isSameDay(Object.assign(Object.assign({},d),{day:n.value}),r);s.push({text:a?getTodayLabel(e):n.text,value:"".concat(d.year,"-").concat(d.month,"-").concat(n.value)});v.push({month:d.month,year:d.year,day:n.value})}));o=__spreadArray(__spreadArray([],o,true),v,true);u=__spreadArray(__spreadArray([],u,true),s,true)}));return{parts:o,items:u}};var getTimeColumnsData=function(e,r,n,a,t,i,u){var o=getHourCycle(e,n);var d=is24Hour(o);var f=generateTime(e,r,o,a,t,i,u),v=f.hours,s=f.minutes,l=f.am,c=f.pm;var m=v.map((function(e){return{text:getFormattedHour(e,o),value:getInternalHourValue(e,d,r.ampm)}}));var y=s.map((function(e){return{text:addTimePadding(e),value:e}}));var g=[];if(l&&!d){g.push({text:getLocalizedDayPeriod(e,"am"),value:"am"})}if(c&&!d){g.push({text:getLocalizedDayPeriod(e,"pm"),value:"pm"})}return{minutesData:y,hoursData:m,dayPeriodData:g}};export{getNumDaysInMonth as A,getCombinedDateColumnData as B,getMonthColumnData as C,getDayColumnData as D,getYearColumnData as E,isMonthFirstLocale as F,getTimeColumnsData as G,isLocaleDayPeriodRTL as H,getDaysOfWeek as I,getMonthAndYear as J,getDaysOfMonth as K,getHourCycle as L,getLocalizedTime as M,getLocalizedDateTime as N,formatValue as O,clampDate as P,parseAmPm as Q,calculateHourFromAMPM as R,getDay as a,isAfter as b,isSameDay as c,getPreviousMonth as d,getNextMonth as e,getPartsFromCalendarDay as f,generateDayAriaLabel as g,getNextYear as h,isBefore as i,getPreviousYear as j,getEndOfWeek as k,getStartOfWeek as l,getPreviousDay as m,getNextDay as n,getPreviousWeek as o,getNextWeek as p,parseMinParts as q,parseMaxParts as r,parseDate as s,convertToArrayOfNumbers as t,convertDataToISO as u,validateParts as v,warnIfValueOutOfBounds as w,getToday as x,getClosestValidDate as y,generateMonths as z};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as componentOnReady}from"./helpers-da915de8.js";import{f as printRequiredElementError}from"./ionic-global-be8fa30a.js";var ION_CONTENT_TAG_NAME="ION-CONTENT";var ION_CONTENT_ELEMENT_SELECTOR="ion-content";var ION_CONTENT_CLASS_SELECTOR=".ion-content-scroll-host";var ION_CONTENT_SELECTOR="".concat(ION_CONTENT_ELEMENT_SELECTOR,", ").concat(ION_CONTENT_CLASS_SELECTOR);var isIonContent=function(n){return n.tagName===ION_CONTENT_TAG_NAME};var getScrollElement=function(n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!isIonContent(n))return[3,2];return[4,new Promise((function(r){return componentOnReady(n,r)}))];case 1:r.sent();return[2,n.getScrollElement()];case 2:return[2,n]}}))}))};var findIonContent=function(n){var r=n.querySelector(ION_CONTENT_CLASS_SELECTOR);if(r){return r}return n.querySelector(ION_CONTENT_SELECTOR)};var findClosestIonContent=function(n){return n.closest(ION_CONTENT_SELECTOR)};var scrollToTop=function(n,r){if(isIonContent(n)){var t=n;return t.scrollToTop(r)}return Promise.resolve(n.scrollTo({top:0,left:0,behavior:r>0?"smooth":"auto"}))};var scrollByPoint=function(n,r,t,o){if(isIonContent(n)){var e=n;return e.scrollByPoint(r,t,o)}return Promise.resolve(n.scrollBy({top:t,left:r,behavior:o>0?"smooth":"auto"}))};var printIonContentErrorMsg=function(n){return printRequiredElementError(n,ION_CONTENT_ELEMENT_SELECTOR)};var disableContentScrollY=function(n){if(isIonContent(n)){var r=n;var t=r.scrollY;r.scrollY=false;return t}else{n.style.setProperty("overflow","hidden");return true}};var resetContentScrollY=function(n,r){if(isIonContent(n)){n.scrollY=r}else{n.style.removeProperty("overflow")}};export{ION_CONTENT_CLASS_SELECTOR as I,findIonContent as a,ION_CONTENT_ELEMENT_SELECTOR as b,scrollByPoint as c,disableContentScrollY as d,findClosestIonContent as f,getScrollElement as g,isIonContent as i,printIonContentErrorMsg as p,resetContentScrollY as r,scrollToTop as s};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{__assign,__awaiter,__extends,__generator,__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/var NAMESPACE="ionic";var BUILD={allRenderFn:false,appendChildSlotFix:true,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:true,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:true,experimentalSlotFixes:true,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:true,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:true,scriptDataOpts:false,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var __defProp=Object.defineProperty;var __export=function(e,t){for(var r in t)__defProp(e,r,{get:t[r],enumerable:true})};var Build={isDev:false,isBrowser:true,isServer:false,isTesting:false};var getAssetPath=function(e){var t=new URL(e,plt.t);return t.origin!==win.location.origin?t.href:t.pathname};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,t){if(e.isOk){var r=t(e.value);if(r instanceof Promise){return r.then((function(e){return ok(e)}))}else{return ok(r)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var o=null;var l=false;var s=false;var u=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(l&&s){u[u.length-1].i+=a}else{u.push(l?newVNode(null,a):a)}s=l}}};f(r);if(t){if(t.key){i=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,u,vdomFnUtils)}var v=newVNode(e,null);v.o=t;if(u.length>0){v.l=u}{v.u=i}{v.v=o}return v};var newVNode=function(e,t){var r={p:0,h:e,i:t,m:null,l:null};{r.o=null}{r.u=null}{r.v=null}return r};var Host={};var isHost=function(e){return e&&e.h===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.o,vchildren:e.l,vkey:e.u,vname:e.v,vtag:e.h,vtext:e.i}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=__assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.o=e.vattrs;r.l=e.vchildren;r.u=e.vkey;r.v=e.vname;return r};var initializeClientHydrate=function(e,t,r,n){var a=createTime("hydrateClient",t);var i=e.shadowRoot;var o=[];var l=[];var s=i?[]:null;var u=n.S=newVNode(t,null);if(!plt.T){initializeDocumentHydrate(doc.body,plt.T=new Map)}e[HYDRATE_ID]=r;e.removeAttribute(HYDRATE_ID);clientHydrate(u,o,l,s,e,e,r);o.map((function(e){var r=e._+"."+e.C;var n=plt.T.get(r);var a=e.m;if(n&&supportsShadow&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}plt.T.delete(r)}));if(i){s.map((function(e){if(e){i.appendChild(e)}}))}a()};var clientHydrate=function(e,t,r,n,a,i,o){var l;var s;var u;var f;if(i.nodeType===1){l=i.getAttribute(HYDRATE_CHILD_ID);if(l){s=l.split(".");if(s[0]===o||s[0]==="0"){u={p:0,_:s[0],C:s[1],N:s[2],R:s[3],h:i.tagName.toLowerCase(),m:i,o:null,l:null,u:null,v:null,i:null};t.push(u);i.removeAttribute(HYDRATE_CHILD_ID);if(!e.l){e.l=[]}e.l[u.R]=u;e=u;if(n&&u.N==="0"){n[u.R]=u.m}}}for(f=i.childNodes.length-1;f>=0;f--){clientHydrate(e,t,r,n,a,i.childNodes[f],o)}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){clientHydrate(e,t,r,n,a,i.shadowRoot.childNodes[f],o)}}}else if(i.nodeType===8){s=i.nodeValue.split(".");if(s[1]===o||s[1]==="0"){l=s[0];u={p:0,_:s[1],C:s[2],N:s[3],R:s[4],m:i,o:null,l:null,u:null,v:null,h:null,i:null};if(l===TEXT_NODE_ID){u.m=i.nextSibling;if(u.m&&u.m.nodeType===3){u.i=u.m.textContent;t.push(u);i.remove();if(!e.l){e.l=[]}e.l[u.R]=u;if(n&&u.N==="0"){n[u.R]=u.m}}}else if(u._===o){if(l===SLOT_NODE_ID){u.h="slot";if(s[5]){i["s-sn"]=u.v=s[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){u.m=doc.createElement(u.h);if(u.v){u.m.setAttribute("name",u.v)}i.parentNode.insertBefore(u.m,i);i.remove();if(u.N==="0"){n[u.R]=u.m}}r.push(u);if(!e.l){e.l=[]}e.l[u.R]=u}else if(l===CONTENT_REF_ID){if(n){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.h==="style"){var c=newVNode(null,i.textContent);c.m=i;c.R="0";e.l=[c]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){initializeDocumentHydrate(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){initializeDocumentHydrate(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===ORG_LOCATION_ID){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var computeMode=function(e){return modeResolutionChain.map((function(t){return t(e)})).find((function(e){return!!e}))};var setMode=function(e){return modeResolutionChain.push(e)};var getMode=function(e){return getHostRef(e).D};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var a=getScopeId(t,r);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var l=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){if(e.host&&(l=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]')))){l.innerHTML=i}else{l=doc.createElement("style");l.innerHTML=i;var s=(n=plt.$)!=null?n:queryNonceMetaTagContent(doc);if(s!=null){l.setAttribute("nonce",s)}e.insertBefore(l,e.querySelector("link"))}if(t.p&4){l.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var t=e.k;var r=e.$hostElement$;var n=t.p;var a=createTime("attachStyles",t.A);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.D);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h");if(n&2){r.classList.add(i+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+(t&&e.p&32?e.A+"-"+t:e.A)};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var setAccessor=function(e,t,r,n,a,i){if(r!==n){var o=isMemberInElement(e,t);var l=t.toLowerCase();if(t==="class"){var s=e.classList;var u=parseClassList(r);var f=parseClassList(n);s.remove.apply(s,u.filter((function(e){return e&&!f.includes(e)})));s.add.apply(s,f.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var v=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,v)}if(n){plt.ael(e,t,n,v)}}}else{var d=isComplexType(n);if((o||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var h=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(h){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!d){n=n===true?"":n;if(h){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r){var n=t.m.nodeType===11&&t.m.host?t.m.host:t.m;var a=e&&e.o||EMPTY_OBJ;var i=t.o||EMPTY_OBJ;{for(var o=0,l=sortedAttrNames(Object.keys(a));o<l.length;o++){var s=l[o];if(!(s in i)){setAccessor(n,s,a[s],void 0,r,t.p)}}}for(var u=0,f=sortedAttrNames(Object.keys(i));u<f.length;u++){var s=f[u];setAccessor(n,s,a[s],i[s],r,t.p)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var createElm=function(e,t,r,n){var a;var i=t.l[r];var o=0;var l;var s;var u;if(!useNativeShadowDom){checkSlotRelocate=true;if(i.h==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}i.p|=i.l?2:1}}if(i.i!==null){l=i.m=doc.createTextNode(i.i)}else if(i.p&1){l=i.m=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=i.h==="svg"}l=i.m=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,i.p&2?"slot-fb":i.h);if(isSvgMode&&i.h==="foreignObject"){isSvgMode=false}{updateElement(null,i,isSvgMode)}if(isDef(scopeId)&&l["s-si"]!==scopeId){l.classList.add(l["s-si"]=scopeId)}{updateElementScopeIds(l,n)}if(i.l){for(o=0;o<i.l.length;++o){s=createElm(e,i,o,l);if(s){l.appendChild(s)}}}{if(i.h==="svg"){isSvgMode=false}else if(l.tagName==="foreignObject"){isSvgMode=true}}}l["s-hn"]=hostTagName;{if(i.p&(2|1)){l["s-sr"]=true;l["s-cr"]=contentRef;l["s-sn"]=i.v||"";l["s-rf"]=(a=i.o)==null?void 0:a.ref;u=e&&e.l&&e.l[r];if(u&&u.h===i.h&&e.m){{relocateToHostRoot(e.m)}}}}return l};var relocateToHostRoot=function(e){plt.p|=1;var t=e.closest(hostTagName.toLowerCase());if(t!=null){var r=Array.from(t.childNodes).find((function(e){return e["s-cr"]}));var n=Array.from(e.childNodes);for(var a=0,i=r?n.reverse():n;a<i.length;a++){var o=i[a];if(o["s-sh"]!=null){insertBefore(t,o,r!=null?r:null);o["s-sh"]=void 0;checkSlotRelocate=true}}}plt.p&=~1};var putBackInOriginalLocation=function(e,t){plt.p|=1;var r=Array.from(e.childNodes);if(e["s-sr"]&&BUILD.experimentalSlotFixes){var n=e;while(n=n.nextSibling){if(n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===hostTagName){r.push(n)}}}for(var a=r.length-1;a>=0;a--){var i=r[a];if(i["s-hn"]!==hostTagName&&i["s-ol"]){insertBefore(parentReferenceNode(i),i,referenceNode(i));i["s-ol"].remove();i["s-ol"]=void 0;i["s-sh"]=void 0;checkSlotRelocate=true}if(t){putBackInOriginalLocation(i,t)}}plt.p&=~1};var addVnodes=function(e,t,r,n,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){l=createElm(null,r,a,e);if(l){n[a].m=l;insertBefore(o,l,referenceNode(t))}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var a=e[n];if(a){var i=a.m;nullifyVNodeRefs(a);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,t,r,n,a){if(a===void 0){a=false}var i=0;var o=0;var l=0;var s=0;var u=t.length-1;var f=t[0];var c=t[u];var v=n.length-1;var d=n[0];var p=n[v];var h;var m;while(i<=u&&o<=v){if(f==null){f=t[++i]}else if(c==null){c=t[--u]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=t[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=t[--u];p=n[--v]}else if(isSameVnode(f,p,a)){if(f.h==="slot"||p.h==="slot"){putBackInOriginalLocation(f.m.parentNode,false)}patch(f,p,a);insertBefore(e,f.m,c.m.nextSibling);f=t[++i];p=n[--v]}else if(isSameVnode(c,d,a)){if(f.h==="slot"||p.h==="slot"){putBackInOriginalLocation(c.m.parentNode,false)}patch(c,d,a);insertBefore(e,c.m,f.m);c=t[--u];d=n[++o]}else{l=-1;{for(s=i;s<=u;++s){if(t[s]&&t[s].u!==null&&t[s].u===d.u){l=s;break}}}if(l>=0){m=t[l];if(m.h!==d.h){h=createElm(t&&t[o],r,l,e)}else{patch(m,d,a);t[l]=void 0;h=m.m}d=n[++o]}else{h=createElm(t&&t[o],r,o,e);d=n[++o]}if(h){{insertBefore(parentReferenceNode(f.m),h,referenceNode(f.m))}}}}if(i>u){addVnodes(e,n[v+1]==null?null:n[v+1].m,r,n,o,v)}else if(o>v){removeVnodes(t,i,u)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.h===t.h){if(e.h==="slot"){return e.v===t.v}if(!r){return e.u===t.u}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.m=e.m;var a=e.l;var i=t.l;var o=t.h;var l=t.i;var s;if(l===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot"&&!useNativeShadowDom){if(e.v!==t.v){t.m["s-sn"]=t.v||"";relocateToHostRoot(t.m.parentElement)}}else{updateElement(e,t,isSvgMode)}}if(a!==null&&i!==null){updateChildren(n,a,t,i,r)}else if(i!==null){if(e.i!==null){n.textContent=""}addVnodes(n,null,t,i,0,i.length-1)}else if(a!==null){removeVnodes(a,0,a.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(s=n["s-cr"]){s.parentNode.textContent=l}else if(e.i!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;for(var r=0,n=t;r<n.length;r++){var a=n[r];if(a.nodeType===1){if(a["s-sr"]){var i=a["s-sn"];a.hidden=false;for(var o=0,l=t;o<l.length;o++){var s=l[o];if(s!==a){if(s["s-hn"]!==a["s-hn"]||i!==""){if(s.nodeType===1&&(i===s.getAttribute("slot")||i===s["s-sn"])||s.nodeType===3&&i===s["s-sn"]){a.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){a.hidden=true;break}}}}}updateFallbackSlotVisibility(a)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;for(var a=0,i=e.childNodes;a<i.length;a++){var o=i[a];if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;var l=o["s-sn"];var s=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==o["s-hn"])){if(isNodeLocatedInSlot(t,l)){var e=relocateNodes.find((function(e){return e.H===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||l;if(e){e.H["s-sh"]=o["s-hn"];e.I=o}else{t["s-sh"]=o["s-hn"];relocateNodes.push({I:o,H:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.H,t["s-sn"])){e=relocateNodes.find((function(e){return e.H===t}));if(e&&!r.I){r.I=e.I}}}))}}else if(!relocateNodes.some((function(e){return e.H===t}))){relocateNodes.push({H:t})}}};for(n=r.length-1;n>=0;n--){s()}}if(o.nodeType===1){markSlotContentForRelocation(o)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var nullifyVNodeRefs=function(e){{e.o&&e.o.ref&&e.o.ref(null);e.l&&e.l.map(nullifyVNodeRefs)}};var insertBefore=function(e,t,r){var n=e==null?void 0:e.insertBefore(t,r);{updateElementScopeIds(t,e)}return n};var findScopeIds=function(e){var t=[];if(e){t.push.apply(t,__spreadArray(__spreadArray(__spreadArray([],e["s-scs"]||[],false),[e["s-si"],e["s-sc"]],false),findScopeIds(e.parentElement),false))}return t};var updateElementScopeIds=function(e,t,r){if(r===void 0){r=false}var n;if(e&&t&&e.nodeType===1){var a=new Set(findScopeIds(t).filter(Boolean));if(a.size){(n=e.classList)==null?void 0:n.add.apply(n,e["s-scs"]=__spreadArray([],a,true));if(e["s-ol"]||r){for(var i=0,o=Array.from(e.childNodes);i<o.length;i++){var l=o[i];updateElementScopeIds(l,e,true)}}}}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,a,i,o,l;var s=e.$hostElement$;var u=e.k;var f=e.S||newVNode(null,null);var c=isHost(t)?t:h(null,null,t);hostTagName=s.tagName;if(u.L){c.o=c.o||{};u.L.map((function(e){var t=e[0],r=e[1];return c.o[r]=s[t]}))}if(r&&c.o){for(var v=0,d=Object.keys(c.o);v<d.length;v++){var p=d[v];if(s.hasAttribute(p)&&!["key","ref","style","class"].includes(p)){c.o[p]=s[p]}}}c.h=null;c.p|=4;e.S=c;c.m=f.m=s.shadowRoot||s;{scopeId=s["s-sc"]}useNativeShadowDom=(u.p&1)!==0;{contentRef=s["s-cr"];checkSlotFallbackVisibility=false}patch(f,c,r);{plt.p|=1;if(checkSlotRelocate){markSlotContentForRelocation(c.m);for(var m=0,S=relocateNodes;m<S.length;m++){var g=S[m];var y=g.H;if(!y["s-ol"]){var T=doc.createTextNode("");T["s-nr"]=y;insertBefore(y.parentNode,y["s-ol"]=T,y)}}for(var _=0,C=relocateNodes;_<C.length;_++){var g=C[_];var y=g.H;var b=g.I;if(b){var N=b.parentNode;var w=b.nextSibling;if(w&&w.nodeType===1){var T=(n=y["s-ol"])==null?void 0:n.previousSibling;while(T){var E=(a=T["s-nr"])!=null?a:null;if(E&&E["s-sn"]===y["s-sn"]&&N===E.parentNode){E=E.nextSibling;while(E===y||(E==null?void 0:E["s-sr"])){E=E==null?void 0:E.nextSibling}if(!E||!E["s-nr"]){w=E;break}}T=T.previousSibling}}if(!w&&N!==y.parentNode||y.nextSibling!==w){if(y!==w){insertBefore(N,y,w);if(y.nodeType===1){y.hidden=(i=y["s-ih"])!=null?i:false}}}y&&typeof b["s-rf"]==="function"&&b["s-rf"](y)}else{if(y.nodeType===1){if(r){y["s-ih"]=(o=y.hidden)!=null?o:false}y.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(c.m)}plt.p&=~1;relocateNodes.length=0}if(u.p&2){for(var R=0,D=c.m.childNodes;R<D.length;R++){var $=D[R];if($["s-hn"]!==hostTagName&&!$["s-sh"]){if(r&&$["s-ih"]==null){$["s-ih"]=(l=$.hidden)!=null?l:false}$.hidden=true}}}contentRef=void 0};var attachToAncestor=function(e,t){if(t&&!e.O&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.O=t})))}};var scheduleUpdate=function(e,t){{e.p|=16}if(e.p&4){e.p|=512;return}attachToAncestor(e,e.M);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=e.$hostElement$;var n=createTime("scheduleUpdate",e.k.A);var a=e.V;if(!a){throw new Error("Can't render component <".concat(r.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var i;if(t){{e.p|=256;if(e.P){e.P.map((function(e){var t=e[0],r=e[1];return safeCall(a,t,r)}));e.P=void 0}}{i=safeCall(a,"componentWillLoad")}}{i=enqueue(i,(function(){return safeCall(a,"componentWillRender")}))}n();return enqueue(i,(function(){return updateComponent(e,a,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,s,u;return __generator(this,(function(f){a=e.$hostElement$;i=createTime("update",e.k.A);o=a["s-rc"];if(r){attachStyles(e)}l=createTime("render",e.k.A);{callRender(e,t,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=void 0}l();i();{s=(n=a["s-p"])!=null?n:[];u=function(){return postUpdateComponent(e)};if(s.length===0){u()}else{Promise.all(s).then(u);e.p|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render&&t.render();{e.p&=~16}{e.p|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.k.A;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.V;var i=e.M;{safeCall(a,"componentDidRender")}if(!(e.p&64)){e.p|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.F(r);if(!i){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.j(r)}{if(e.O){e.O();e.O=void 0}if(e.p&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.p&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var r=t.$hostElement$.isConnected;if(r&&(t.p&(2|16))===2){scheduleUpdate(t,false)}return r}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return void 0};var addHydratedFlag=function(e){var t;return e.classList.add((t=BUILD.hydratedSelectorName)!=null?t:"hydrated")};var getValue=function(e,t){return getHostRef(e).B.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);if(!a){throw new Error("Couldn't find host element for \"".concat(n.A,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var i=a.$hostElement$;var o=a.B.get(t);var l=a.p;var s=a.V;r=parsePropertyValue(r,n.U[t][0]);var u=Number.isNaN(o)&&Number.isNaN(r);var f=r!==o&&!u;if((!(l&8)||o===void 0)&&f){a.B.set(t,r);if(s){if(n.q&&l&128){var c=n.q[t];if(c){c.map((function(e){try{s[e](r,o,t)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){var n;var a=e.prototype;if(t.U){if(e.watchers){t.q=e.watchers}var i=Object.entries(t.U);i.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var a=getHostRef(this);return(r=a==null?void 0:a.Y)==null?void 0:r.then((function(){var t;return(t=a.V)==null?void 0:t[n].apply(t,e)}))}})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,n){var i=this;plt.jmp((function(){var l;var s=o.get(e);if(i.hasOwnProperty(s)){n=i[s];delete i[s]}else if(a.hasOwnProperty(s)&&typeof i[s]==="number"&&i[s]==n){return}else if(s==null){var u=getHostRef(i);var f=u==null?void 0:u.p;if(f&&!(f&8)&&f&128&&n!==r){var c=u.V;var v=(l=t.q)==null?void 0:l[e];v==null?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}i[s]=n===null&&typeof i[s]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=t.q)!=null?n:{}),true),i.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a;var i=n[1]||r;o.set(i,r);if(n[0]&512){(a=t.L)==null?void 0:a.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,s,u,f,c,v,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((t.p&32)===0))return[3,6];t.p|=32;a=r.W;if(!a)return[3,4];i=loadModule(r);if(!(i&&"then"in i))return[3,2];o=uniqueTime();return[4,i];case 1:n=p.sent();o();return[3,3];case 2:n=i;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(r.A,"#").concat(t.D,'" was not found'))}if(!n.isProxied){{r.q=n.watchers}proxyComponent(n,r,2);n.isProxied=true}l=createTime("createInstance",r.A);{t.p|=8}try{new n(t)}catch(e){consoleError(e)}{t.p&=~8}{t.p|=128}l();fireConnectedCallback(t.V);return[3,5];case 4:n=e.constructor;s=e.localName;customElements.whenDefined(s).then((function(){return t.p|=128}));p.label=5;case 5:if(n&&n.style){u=n.style;if(typeof u!=="string"){t.D=computeMode(e);if(t.D){u=u[t.D]}}f=getScopeId(r,t.D);if(!styles.has(f)){c=createTime("registerStyles",r.A);registerStyle(f,u,!!(r.p&1));c()}}p.label=6;case 6:v=t.M;d=function(){return scheduleUpdate(t,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.p&1)===0){var t=getHostRef(e);var r=t.k;var n=createTime("connectedCallback",r.A);if(!(t.p&1)){t.p|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(r.p&1){var i=addStyle(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(i+"-h",i+"-s")}initializeClientHydrate(e,r.A,a,t)}}if(!a){if(r.p&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.M=o);break}}}if(r.U){Object.entries(r.U).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.X);if(t==null?void 0:t.V){fireConnectedCallback(t.V)}else if(t==null?void 0:t.G){t.G.then((function(){return fireConnectedCallback(t.V)}))}}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;insertBefore(e,t,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.p&1)===0){t=getHostRef(e);{if(t.K){t.K.map((function(e){return e()}));t.K=void 0}}if(t==null?void 0:t.V){disconnectInstance(t.V)}else if(t==null?void 0:t.G){t.G.then((function(){return disconnectInstance(t.V)}))}}return[2]}))}))};var patchPseudoShadowDom=function(e,t){patchCloneNode(e);patchSlotAppendChild(e);patchSlotAppend(e);patchSlotPrepend(e);patchSlotInsertAdjacentElement(e);patchSlotInsertAdjacentHTML(e);patchSlotInsertAdjacentText(e);patchTextContent(e);patchChildSlotNodes(e,t);patchSlotRemoveChild(e)};var patchCloneNode=function(e){var t=e.cloneNode;e.cloneNode=function(e){var r=this;var n=r.shadowRoot&&supportsShadow;var a=t.call(r,n?e:false);if(!n&&e){var i=0;var o=void 0,l=void 0;var s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];for(;i<r.childNodes.length;i++){o=r.childNodes[i]["s-nr"];l=s.every((function(e){return!r.childNodes[i][e]}));if(o){if(a.__appendChild){a.__appendChild(o.cloneNode(true))}else{a.appendChild(o.cloneNode(true))}}if(l){a.appendChild(r.childNodes[i].cloneNode(true))}}}return a}};var patchSlotAppendChild=function(e){e.__appendChild=e.appendChild;e.appendChild=function(e){var t=e["s-sn"]=getSlotName(e);var r=getHostSlotNode(this.childNodes,t,this.tagName);if(r){var n=getHostSlotChildNodes(r,t);var a=n[n.length-1];var i=insertBefore(a.parentNode,e,a.nextSibling);updateFallbackSlotVisibility(this);return i}return this.__appendChild(e)}};var patchSlotRemoveChild=function(e){e.__removeChild=e.removeChild;e.removeChild=function(e){if(e&&typeof e["s-sn"]!=="undefined"){var t=getHostSlotNode(this.childNodes,e["s-sn"],this.tagName);if(t){var r=getHostSlotChildNodes(t,e["s-sn"]);var n=r.find((function(t){return t===e}));if(n){n.remove();updateFallbackSlotVisibility(this);return}}}return this.__removeChild(e)}};var patchSlotPrepend=function(e){var t=e.prepend;e.prepend=function(){var e=this;var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}r.forEach((function(r){if(typeof r==="string"){r=e.ownerDocument.createTextNode(r)}var n=r["s-sn"]=getSlotName(r);var a=getHostSlotNode(e.childNodes,n,e.tagName);if(a){var i=document.createTextNode("");i["s-nr"]=r;a["s-cr"].parentNode.__appendChild(i);r["s-ol"]=i;var o=getHostSlotChildNodes(a,n);var l=o[0];return insertBefore(l.parentNode,r,l.nextSibling)}if(r.nodeType===1&&!!r.getAttribute("slot")){r.hidden=true}return t.call(e,r)}))}};var patchSlotAppend=function(e){e.append=function(){var e=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}t.forEach((function(t){if(typeof t==="string"){t=e.ownerDocument.createTextNode(t)}e.appendChild(t)}))}};var patchSlotInsertAdjacentHTML=function(e){var t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}var n=this.ownerDocument.createElement("_");var a;n.innerHTML=r;if(e==="afterbegin"){while(a=n.firstChild){this.prepend(a)}}else if(e==="beforeend"){while(a=n.firstChild){this.append(a)}}}};var patchSlotInsertAdjacentText=function(e){e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}};var patchSlotInsertAdjacentElement=function(e){var t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}if(e==="afterbegin"){this.prepend(r);return r}else if(e==="beforeend"){this.append(r);return r}return r}};var patchTextContent=function(e){var t=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",t);{Object.defineProperty(e,"textContent",{get:function(){var e=getAllChildSlotNodes(this.childNodes);var t=e.map((function(e){var t,r;var n=[];var a=e.nextSibling;while(a&&a["s-sn"]===e["s-sn"]){if(a.nodeType===3||a.nodeType===1){n.push((r=(t=a.textContent)==null?void 0:t.trim())!=null?r:"")}a=a.nextSibling}return n.filter((function(e){return e!==""})).join(" ")})).filter((function(e){return e!==""})).join(" ");return" "+t+" "},set:function(e){var t=this;var r=getAllChildSlotNodes(this.childNodes);r.forEach((function(r){var n=r.nextSibling;while(n&&n["s-sn"]===r["s-sn"]){var a=n;n=n.nextSibling;a.remove()}if(r["s-sn"]===""){var i=t.ownerDocument.createTextNode(e);i["s-sn"]="";insertBefore(r.parentElement,i,r.nextSibling)}else{r.remove()}}))}})}};var patchChildSlotNodes=function(e,t){var r=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.p&8){var n=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=n.call(this);if((plt.p&1)===0&&getHostRef(this).p&2){var t=new r;for(var a=0;a<e.length;a++){var i=e[a]["s-nr"];if(i){t.push(i)}}return t}return r.from(e)}})}};var getAllChildSlotNodes=function(e){var t=[];for(var r=0,n=Array.from(e);r<n.length;r++){var a=n[r];if(a["s-sr"]){t.push(a)}t.push.apply(t,getAllChildSlotNodes(a.childNodes))}return t};var getSlotName=function(e){return e["s-sn"]||e.nodeType===1&&e.getAttribute("slot")||""};var getHostSlotNode=function(e,t,r){var n=0;var a;for(;n<e.length;n++){a=e[n];if(a["s-sr"]&&a["s-sn"]===t&&a["s-hn"]===r){return a}a=getHostSlotNode(a.childNodes,t,r);if(a){return a}}return null};var getHostSlotChildNodes=function(e,t){var r=[e];while((e=e.nextSibling)&&e["s-sn"]===t){r.push(e)}return r};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;var n=createTime();var a=[];var i=t.exclude||[];var o=win.customElements;var l=doc.head;var s=l.querySelector("meta[charset]");var u=doc.createElement("style");var f=[];var c=doc.querySelectorAll("[".concat(HYDRATED_STYLE_ID,"]"));var v;var d=true;var p=0;Object.assign(plt,t);plt.t=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.p|=2}{for(;p<c.length;p++){registerStyle(c[p].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow(c[p].innerHTML),true)}}var h=false;e.map((function(e){e[1].map((function(t){var r;var n={p:t[0],A:t[1],U:t[2],X:t[3]};if(n.p&4){h=true}{n.U=t[2]}{n.X=t[3]}{n.L=[]}{n.q=(r=t[4])!=null?r:{}}var l=n.A;var s=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.p&1){{{t.attachShadow({mode:"open",delegatesFocus:!!(n.p&16)})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).G};return t}(HTMLElement);{if(n.p&2){patchPseudoShadowDom(s.prototype,n)}}n.W=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,proxyComponent(s,n,1))}}))}));if(a.length>0){if(h){u.textContent+=SLOT_FB_CSS}{u.textContent+=a+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var m=(r=plt.$)!=null?r:queryNonceMetaTagContent(doc);if(m!=null){u.setAttribute("nonce",m)}l.insertBefore(u,s?s.nextSibling:l.firstChild)}}d=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return v=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var o=getHostListenerTarget(e,n);var l=hostListenerProxy(t,i);var s=hostListenerOpts(n);plt.ael(o,a,l,s);(t.K=t.K||[]).push((function(){return plt.rel(o,a,l,s)}))}))}};var hostListenerProxy=function(e,t){return function(r){var n;try{{if(e.p&256){(n=e.V)==null?void 0:n[t](r)}else{(e.P=e.P||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.$=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.V=e,t)};var registerHost=function(e,t){var r={p:0,$hostElement$:e,k:t,B:new Map};{r.Y=new Promise((function(e){return r.j=e}))}{r.G=new Promise((function(e){return r.F=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.X);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.A.replace(/-/g,"_");var a=e.W;if(!a){return void 0}var i=cmpModules.get(a);if(i){return i[n]}
|
|
5
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var modeResolutionChain=[];var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var H=win.HTMLElement||function(){function e(){}return e}();var plt={p:0,t:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var setPlatformHelpers=function(e){Object.assign(plt,e)};var supportsShadow=true;var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.p&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var readTask=queueTask(queueDomReads,false);var writeTask=queueTask(queueDomWrites,true);export{Build as B,H,setPlatformHelpers as a,bootstrapLazy as b,getMode as c,setMode as d,createEvent as e,readTask as f,getElement as g,h,Host as i,forceUpdate as j,getAssetPath as k,promiseResolve as p,registerInstance as r,setNonce as s,writeTask as w};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as config,p as printIonWarning}from"./ionic-global-be8fa30a.js";import{w as writeTask,B as Build}from"./index-3321c202.js";import{r as raf}from"./helpers-da915de8.js";var LIFECYCLE_WILL_ENTER="ionViewWillEnter";var LIFECYCLE_DID_ENTER="ionViewDidEnter";var LIFECYCLE_WILL_LEAVE="ionViewWillLeave";var LIFECYCLE_DID_LEAVE="ionViewDidLeave";var LIFECYCLE_WILL_UNLOAD="ionViewWillUnload";var moveFocus=function(n){n.tabIndex=-1;n.focus()};var isVisible=function(n){return n.offsetParent!==null};var createFocusController=function(){var n=function(n){var e=config.get("focusManagerPriority",false);if(e){var r=document.activeElement;if(r!==null&&(n===null||n===void 0?void 0:n.contains(r))){r.setAttribute(LAST_FOCUS,"true")}}};var e=function(n){var e=config.get("focusManagerPriority",false);if(Array.isArray(e)&&!n.contains(document.activeElement)){var r=n.querySelector("[".concat(LAST_FOCUS,"]"));if(r&&isVisible(r)){moveFocus(r);return}for(var i=0,t=e;i<t.length;i++){var a=t[i];switch(a){case"content":var o=n.querySelector('main, [role="main"]');if(o&&isVisible(o)){moveFocus(o);return}break;case"heading":var s=n.querySelector('h1, [role="heading"][aria-level="1"]');if(s&&isVisible(s)){moveFocus(s);return}break;case"banner":var u=n.querySelector('header, [role="banner"]');if(u&&isVisible(u)){moveFocus(u);return}break;default:printIonWarning("Unrecognized focus manager priority value ".concat(a));break}}moveFocus(n)}};return{saveViewFocus:n,setViewFocus:e}};var LAST_FOCUS="ion-last-focus";var iosTransitionAnimation=function(){return import("./ios.transition-688eab99.js")};var mdTransitionAnimation=function(){return import("./md.transition-0540d1d2.js")};var focusController=createFocusController();var transition=function(n){return new Promise((function(e,r){writeTask((function(){beforeTransition(n);runTransition(n).then((function(r){if(r.animation){r.animation.destroy()}afterTransition(n);e(r)}),(function(e){afterTransition(n);r(e)}))}))}))};var beforeTransition=function(n){var e=n.enteringEl;var r=n.leavingEl;focusController.saveViewFocus(r);setZIndex(e,r,n.direction);if(n.showGoBack){e.classList.add("can-go-back")}else{e.classList.remove("can-go-back")}setPageHidden(e,false);e.style.setProperty("pointer-events","none");if(r){setPageHidden(r,false);r.style.setProperty("pointer-events","none")}};var runTransition=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r;return __generator(this,(function(i){switch(i.label){case 0:return[4,getAnimationBuilder(n)];case 1:e=i.sent();r=e&&Build.isBrowser?animation(e,n):noAnimation(n);return[2,r]}}))}))};var afterTransition=function(n){var e=n.enteringEl;var r=n.leavingEl;e.classList.remove("ion-page-invisible");e.style.removeProperty("pointer-events");if(r!==undefined){r.classList.remove("ion-page-invisible");r.style.removeProperty("pointer-events")}focusController.setViewFocus(e)};var getAnimationBuilder=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r;return __generator(this,(function(i){switch(i.label){case 0:if(!n.leavingEl||!n.animated||n.duration===0){return[2,undefined]}if(n.animationBuilder){return[2,n.animationBuilder]}if(!(n.mode==="ios"))return[3,2];return[4,iosTransitionAnimation()];case 1:r=i.sent().iosTransitionAnimation;return[3,4];case 2:return[4,mdTransitionAnimation()];case 3:r=i.sent().mdTransitionAnimation;i.label=4;case 4:e=r;return[2,e]}}))}))};var animation=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){var r,i;return __generator(this,(function(t){switch(t.label){case 0:return[4,waitForReady(e,true)];case 1:t.sent();r=n(e.baseEl,e);fireWillEvents(e.enteringEl,e.leavingEl);return[4,playTransition(r,e)];case 2:i=t.sent();if(e.progressCallback){e.progressCallback(undefined)}if(i){fireDidEvents(e.enteringEl,e.leavingEl)}return[2,{hasCompleted:i,animation:r}]}}))}))};var noAnimation=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r,i;return __generator(this,(function(t){switch(t.label){case 0:e=n.enteringEl;r=n.leavingEl;i=config.get("focusManagerPriority",false);return[4,waitForReady(n,i)];case 1:t.sent();fireWillEvents(e,r);fireDidEvents(e,r);return[2,{hasCompleted:true}]}}))}))};var waitForReady=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=n.deepWait!==undefined?n.deepWait:e;if(!r)return[3,2];return[4,Promise.all([deepReady(n.enteringEl),deepReady(n.leavingEl)])];case 1:i.sent();i.label=2;case 2:return[4,notifyViewReady(n.viewIsReady,n.enteringEl)];case 3:i.sent();return[2]}}))}))};var notifyViewReady=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!n)return[3,2];return[4,n(e)];case 1:r.sent();r.label=2;case 2:return[2]}}))}))};var playTransition=function(n,e){var r=e.progressCallback;var i=new Promise((function(e){n.onFinish((function(n){return e(n===1)}))}));if(r){n.progressStart(true);r(n)}else{n.play()}return i};var fireWillEvents=function(n,e){lifecycle(e,LIFECYCLE_WILL_LEAVE);lifecycle(n,LIFECYCLE_WILL_ENTER)};var fireDidEvents=function(n,e){lifecycle(n,LIFECYCLE_DID_ENTER);lifecycle(e,LIFECYCLE_DID_LEAVE)};var lifecycle=function(n,e){if(n){var r=new CustomEvent(e,{bubbles:false,cancelable:false});n.dispatchEvent(r)}};var waitForMount=function(){return new Promise((function(n){return raf((function(){return raf((function(){return n()}))}))}))};var deepReady=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r,i;return __generator(this,(function(t){switch(t.label){case 0:e=n;if(!e)return[3,6];if(!(e.componentOnReady!=null))return[3,2];return[4,e.componentOnReady()];case 1:r=t.sent();if(r!=null){return[2]}return[3,4];case 2:if(!(e.__registerHost!=null))return[3,4];i=new Promise((function(n){return raf(n)}));return[4,i];case 3:t.sent();return[2];case 4:return[4,Promise.all(Array.from(e.children).map(deepReady))];case 5:t.sent();t.label=6;case 6:return[2]}}))}))};var setPageHidden=function(n,e){if(e){n.setAttribute("aria-hidden","true");n.classList.add("ion-page-hidden")}else{n.hidden=false;n.removeAttribute("aria-hidden");n.classList.remove("ion-page-hidden")}};var setZIndex=function(n,e,r){if(n!==undefined){n.style.zIndex=r==="back"?"99":"101"}if(e!==undefined){e.style.zIndex="100"}};var getIonPageElement=function(n){if(n.classList.contains("ion-page")){return n}var e=n.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");if(e){return e}return n};export{LIFECYCLE_WILL_ENTER as L,LIFECYCLE_DID_ENTER as a,LIFECYCLE_WILL_LEAVE as b,LIFECYCLE_DID_LEAVE as c,LIFECYCLE_WILL_UNLOAD as d,deepReady as e,getIonPageElement as g,lifecycle as l,setPageHidden as s,transition as t,waitForMount as w};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{d as doc}from"./index-a5d50daf.js";import{MENU_BACK_BUTTON_PRIORITY}from"./hardware-back-button-2da817f5.js";import{b as getIonMode,p as printIonWarning}from"./ionic-global-be8fa30a.js";import{c as componentOnReady}from"./helpers-da915de8.js";import{c as createAnimation}from"./animation-eab5a4ca.js";var baseAnimation=function(n){return createAnimation().duration(n?400:300)};var menuOverlayAnimation=function(n){var r;var e;var t=n.width+8;var i=createAnimation();var a=createAnimation();if(n.isEndSide){r=t+"px";e="0px"}else{r=-t+"px";e="0px"}i.addElement(n.menuInnerEl).fromTo("transform","translateX(".concat(r,")"),"translateX(".concat(e,")"));var o=getIonMode(n);var u=o==="ios";var s=u?.2:.25;a.addElement(n.backdropEl).fromTo("opacity",.01,s);return baseAnimation(u).addAnimation([i,a])};var menuPushAnimation=function(n){var r;var e;var t=getIonMode(n);var i=n.width;var a=t==="ios";if(n.isEndSide){r=-i+"px";e=i+"px"}else{r=i+"px";e=-i+"px"}var o=createAnimation().addElement(n.menuInnerEl).fromTo("transform","translateX(".concat(e,")"),"translateX(0px)");var u=createAnimation().addElement(n.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(r,")"));var s=createAnimation().addElement(n.backdropEl).fromTo("opacity",.01,.32);return baseAnimation(a).addAnimation([o,u,s])};var menuRevealAnimation=function(n){var r=getIonMode(n);var e=r==="ios";var t=n.width*(n.isEndSide?-1:1)+"px";var i=createAnimation().addElement(n.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(t,")"));return baseAnimation(e).addAnimation(i)};var createMenuController=function(){var n=new Map;var r=[];var e=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n,true)];case 1:r=e.sent();if(r){return[2,r.open()]}return[2,false]}}))}))};var t=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,n!==undefined?c(n,true):f()];case 1:r=e.sent();if(r!==undefined){return[2,r.close()]}return[2,false]}}))}))};var i=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n,true)];case 1:r=e.sent();if(r){return[2,r.toggle()]}return[2,false]}}))}))};var a=function(n,r){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,c(r)];case 1:e=t.sent();if(e){e.disabled=!n}return[2,e]}}))}))};var o=function(n,r){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,c(r)];case 1:e=t.sent();if(e){e.swipeGesture=n}return[2,e]}}))}))};var u=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r,r;return __generator(this,(function(e){switch(e.label){case 0:if(!(n!=null))return[3,2];return[4,c(n)];case 1:r=e.sent();return[2,r!==undefined&&r.isOpen()];case 2:return[4,f()];case 3:r=e.sent();return[2,r!==undefined]}}))}))};var s=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n)];case 1:r=e.sent();if(r){return[2,!r.disabled]}return[2,false]}}))}))};var c=function(n){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return __awaiter(void 0,__spreadArray([n],e,true),void 0,(function(n,e){var t,i,a;if(e===void 0){e=false}return __generator(this,(function(o){switch(o.label){case 0:return[4,I()];case 1:o.sent();if(n==="start"||n==="end"){t=r.filter((function(r){return r.side===n&&!r.disabled}));if(t.length>=1){if(t.length>1&&e){printIonWarning('menuController queried for a menu on the "'.concat(n,'" side, but ').concat(t.length," menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side."),t.map((function(n){return n.el})))}return[2,t[0].el]}i=r.filter((function(r){return r.side===n}));if(i.length>=1){if(i.length>1&&e){printIonWarning('menuController queried for a menu on the "'.concat(n,'" side, but ').concat(i.length," menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side."),i.map((function(n){return n.el})))}return[2,i[0].el]}}else if(n!=null){return[2,b((function(r){return r.menuId===n}))]}a=b((function(n){return!n.disabled}));if(a){return[2,a]}return[2,r.length>0?r[0].el:undefined]}}))}))};var f=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,I()];case 1:n.sent();return[2,w()]}}))}))};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,I()];case 1:n.sent();return[2,g()]}}))}))};var d=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,I()];case 1:n.sent();return[2,A()]}}))}))};var _=function(r,e){n.set(r,e)};var m=function(n){if(r.indexOf(n)<0){r.push(n)}};var l=function(n){var e=r.indexOf(n);if(e>-1){r.splice(e,1)}};var h=function(n,r,e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:if(A()){return[2,false]}if(!r)return[3,3];return[4,f()];case 1:t=i.sent();if(!(t&&n.el!==t))return[3,3];return[4,t.setOpen(false,false)];case 2:i.sent();i.label=3;case 3:return[2,n._setOpen(r,e)]}}))}))};var p=function(r,e){var t=n.get(r);if(!t){throw new Error("animation not registered")}var i=t(e);return i};var w=function(){return b((function(n){return n._isOpen}))};var g=function(){return r.map((function(n){return n.el}))};var A=function(){return r.some((function(n){return n.isAnimating}))};var b=function(n){var e=r.find(n);if(e!==undefined){return e.el}return undefined};var I=function(){return Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((function(n){return new Promise((function(r){return componentOnReady(n,r)}))})))};_("reveal",menuRevealAnimation);_("push",menuPushAnimation);_("overlay",menuOverlayAnimation);doc===null||doc===void 0?void 0:doc.addEventListener("ionBackButton",(function(n){var r=w();if(r){n.detail.register(MENU_BACK_BUTTON_PRIORITY,(function(){return r.close()}))}}));return{registerAnimation:_,get:c,getMenus:v,getOpen:f,isEnabled:s,swipeGesture:o,isAnimating:d,isOpen:u,enable:a,toggle:i,close:t,open:e,_getOpenSync:w,_createAnimation:p,_register:m,_unregister:l,_setOpen:h}};var menuController=createMenuController();export{menuController as m};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{w as win,d as doc}from"./index-a5d50daf.js";import{g as getScrollElement,c as scrollByPoint,f as findClosestIonContent}from"./index-00b4cca5.js";import{a as addEventListener,b as removeEventListener,r as raf,c as componentOnReady}from"./helpers-da915de8.js";import{a as KeyboardResize,K as Keyboard}from"./keyboard-73175e24.js";import"./ionic-global-be8fa30a.js";import"./index-3321c202.js";import"./capacitor-59395cbd.js";var cloneMap=new WeakMap;var relocateInput=function(r,n,e,t,i){if(t===void 0){t=0}if(i===void 0){i=false}if(cloneMap.has(r)===e){return}if(e){addClone(r,n,t,i)}else{removeClone(r,n)}};var isFocused=function(r){return r===r.getRootNode().activeElement};var addClone=function(r,n,e,t){if(t===void 0){t=false}var i=n.parentNode;var o=n.cloneNode(false);o.classList.add("cloned-input");o.tabIndex=-1;if(t){o.disabled=true}i.appendChild(o);cloneMap.set(r,o);var a=r.ownerDocument;var u=a.dir==="rtl"?9999:-9999;r.style.pointerEvents="none";n.style.transform="translate3d(".concat(u,"px,").concat(e,"px,0) scale(0)")};var removeClone=function(r,n){var e=cloneMap.get(r);if(e){cloneMap.delete(r);e.remove()}r.style.pointerEvents="";n.style.transform=""};var SCROLL_AMOUNT_PADDING=50;var enableHideCaretOnScroll=function(r,n,e){if(!e||!n){return function(){return}}var t=function(e){if(isFocused(n)){relocateInput(r,n,e)}};var i=function(){return relocateInput(r,n,false)};var o=function(){return t(true)};var a=function(){return t(false)};addEventListener(e,"ionScrollStart",o);addEventListener(e,"ionScrollEnd",a);n.addEventListener("blur",i);return function(){removeEventListener(e,"ionScrollStart",o);removeEventListener(e,"ionScrollEnd",a);n.removeEventListener("blur",i)}};var SKIP_SELECTOR="input, textarea, [no-blur], [contenteditable]";var enableInputBlurring=function(){var r=true;var n=false;var e=document;var t=function(){n=true};var i=function(){r=true};var o=function(t){if(n){n=false;return}var i=e.activeElement;if(!i){return}if(i.matches(SKIP_SELECTOR)){return}var o=t.target;if(o===i){return}if(o.matches(SKIP_SELECTOR)||o.closest(SKIP_SELECTOR)){return}r=false;setTimeout((function(){if(!r){i.blur()}}),50)};addEventListener(e,"ionScrollStart",t);e.addEventListener("focusin",i,true);e.addEventListener("touchend",o,false);return function(){removeEventListener(e,"ionScrollStart",t,true);e.removeEventListener("focusin",i,true);e.removeEventListener("touchend",o,false)}};var SCROLL_ASSIST_SPEED=.3;var getScrollData=function(r,n,e,t){var i;var o=(i=r.closest("ion-item,[ion-item]"))!==null&&i!==void 0?i:r;return calcScrollData(o.getBoundingClientRect(),n.getBoundingClientRect(),e,t)};var calcScrollData=function(r,n,e,t){var i=r.top;var o=r.bottom;var a=n.top;var u=Math.min(n.bottom,t-e);var c=a+15;var d=u-SCROLL_AMOUNT_PADDING;var l=d-o;var f=c-i;var s=Math.round(l<0?-l:f>0?-f:0);var v=Math.min(s,i-a);var S=Math.abs(v);var _=S/SCROLL_ASSIST_SPEED;var w=Math.min(400,Math.max(150,_));return{scrollAmount:v,scrollDuration:w,scrollPadding:e,inputSafeY:-(i-c)+4}};var PADDING_TIMER_KEY="$ionPaddingTimer";var setScrollPadding=function(r,n,e){var t=r[PADDING_TIMER_KEY];if(t){clearTimeout(t)}if(n>0){r.style.setProperty("--keyboard-offset","".concat(n,"px"))}else{r[PADDING_TIMER_KEY]=setTimeout((function(){r.style.setProperty("--keyboard-offset","0px");if(e){e()}}),120)}};var setClearScrollPaddingListener=function(r,n,e){var t=function(){if(n){setScrollPadding(n,0,e)}};r.addEventListener("focusout",t,{once:true})};var currentPadding=0;var SKIP_SCROLL_ASSIST="data-ionic-skip-scroll-assist";var enableScrollAssist=function(r,n,e,t,i,o,a,u){if(u===void 0){u=false}var c=o&&(a===undefined||a.mode===KeyboardResize.None);var d=false;var l=win!==undefined?win.innerHeight:0;var f=function(i){if(d===false){d=true;return}jsSetFocus(r,n,e,t,i.detail.keyboardHeight,c,u,l,false)};var s=function(){d=false;win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",f);r.removeEventListener("focusout",s)};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){if(n.hasAttribute(SKIP_SCROLL_ASSIST)){n.removeAttribute(SKIP_SCROLL_ASSIST);return[2]}jsSetFocus(r,n,e,t,i,c,u,l);win===null||win===void 0?void 0:win.addEventListener("ionKeyboardDidShow",f);r.addEventListener("focusout",s);return[2]}))}))};r.addEventListener("focusin",v);return function(){r.removeEventListener("focusin",v);win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",f);r.removeEventListener("focusout",s)}};var setManualFocus=function(r){if(document.activeElement===r){return}r.setAttribute(SKIP_SCROLL_ASSIST,"true");r.focus()};var jsSetFocus=function(r,n,e,t,i,o){var a=[];for(var u=6;u<arguments.length;u++){a[u-6]=arguments[u]}return __awaiter(void 0,__spreadArray([r,n,e,t,i,o],a,true),void 0,(function(r,n,e,t,i,o,a,u,c){var d,l,f,s,v,S;if(a===void 0){a=false}if(u===void 0){u=0}if(c===void 0){c=true}return __generator(this,(function(_){switch(_.label){case 0:if(!e&&!t){return[2]}d=getScrollData(r,e||t,i,u);if(e&&Math.abs(d.scrollAmount)<4){setManualFocus(n);if(o&&e!==null){setScrollPadding(e,currentPadding);setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}relocateInput(r,n,true,d.inputSafeY,a);setManualFocus(n);raf((function(){return r.click()}));if(o&&e){currentPadding=d.scrollPadding;setScrollPadding(e,currentPadding)}if(!(typeof window!=="undefined"))return[3,3];f=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(l!==undefined){clearTimeout(l)}window.removeEventListener("ionKeyboardDidShow",s);window.removeEventListener("ionKeyboardDidShow",f);if(!e)return[3,2];return[4,scrollByPoint(e,0,d.scrollAmount,d.scrollDuration)];case 1:t.sent();t.label=2;case 2:relocateInput(r,n,false,d.inputSafeY);setManualFocus(n);if(o){setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}}))}))};s=function(){window.removeEventListener("ionKeyboardDidShow",s);window.addEventListener("ionKeyboardDidShow",f)};if(!e)return[3,2];return[4,getScrollElement(e)];case 1:v=_.sent();S=v.scrollHeight-v.clientHeight;if(c&&d.scrollAmount>S-v.scrollTop){if(n.type==="password"){d.scrollAmount+=SCROLL_AMOUNT_PADDING;window.addEventListener("ionKeyboardDidShow",s)}else{window.addEventListener("ionKeyboardDidShow",f)}l=setTimeout(f,1e3);return[2]}_.label=2;case 2:f();_.label=3;case 3:return[2]}}))}))};var INPUT_BLURRING=true;var startInputShims=function(r,n){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,o,a,u,c,d,l,f,s,v,S,_,w,p;return __generator(this,(function(I){switch(I.label){case 0:if(doc===undefined){return[2]}e=n==="ios";t=n==="android";i=r.getNumber("keyboardHeight",290);o=r.getBoolean("scrollAssist",true);a=r.getBoolean("hideCaretOnScroll",e);u=r.getBoolean("inputBlurring",false);c=r.getBoolean("scrollPadding",true);d=Array.from(doc.querySelectorAll("ion-input, ion-textarea"));l=new WeakMap;f=new WeakMap;return[4,Keyboard.getResizeMode()];case 1:s=I.sent();v=function(r){return __awaiter(void 0,void 0,void 0,(function(){var n,e,u,d,v,S,v;return __generator(this,(function(_){switch(_.label){case 0:return[4,new Promise((function(n){return componentOnReady(r,n)}))];case 1:_.sent();n=r.shadowRoot||r;e=n.querySelector("input")||n.querySelector("textarea");u=findClosestIonContent(r);d=!u?r.closest("ion-footer"):null;if(!e){return[2]}if(!!u&&a&&!l.has(r)){v=enableHideCaretOnScroll(r,e,u);l.set(r,v)}S=e.type==="date"||e.type==="datetime-local";if(!S&&(!!u||!!d)&&o&&!f.has(r)){v=enableScrollAssist(r,e,u,d,i,c,s,t);f.set(r,v)}return[2]}}))}))};S=function(r){if(a){var n=l.get(r);if(n){n()}l.delete(r)}if(o){var n=f.get(r);if(n){n()}f.delete(r)}};if(u&&INPUT_BLURRING){enableInputBlurring()}for(_=0,w=d;_<w.length;_++){p=w[_];v(p)}doc.addEventListener("ionInputDidLoad",(function(r){v(r.detail)}));doc.addEventListener("ionInputDidUnload",(function(r){S(r.detail)}));return[2]}}))}))};export{startInputShims};
|