voyager-ionic-core 7.4.4 → 7.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +2 -2
- package/components/alert.js +10 -2
- package/components/button.js +2 -2
- package/components/buttons.js +2 -2
- package/components/checkbox.js +1 -1
- package/components/data.js +96 -22
- package/components/haptic.js +1 -0
- package/components/icon.js +31 -18
- package/components/index.js +1 -0
- package/components/index4.js +26 -19
- package/components/index7.js +1 -1
- package/components/ion-back-button.js +2 -2
- package/components/ion-badge.js +2 -2
- package/components/ion-breadcrumb.js +2 -2
- package/components/ion-card-content.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-card.js +2 -2
- package/components/ion-chip.js +8 -3
- package/components/ion-datetime-button.js +6 -6
- package/components/ion-datetime.js +6 -6
- package/components/ion-header.js +1 -1
- package/components/ion-input.js +2 -2
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +2 -2
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu.js +0 -12
- package/components/ion-nav.js +1 -0
- package/components/ion-range.js +2 -2
- package/components/ion-reorder.js +2 -2
- package/components/ion-router.js +3 -0
- package/components/ion-searchbar.js +9 -3
- package/components/ion-select.js +3 -3
- package/components/ion-textarea.js +2 -2
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +159 -15
- package/components/ion-toolbar.js +1 -1
- package/components/ios.transition.js +212 -43
- package/components/item.js +2 -2
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/note.js +2 -2
- package/components/overlays.js +1 -0
- package/components/radio.js +2 -2
- package/css/core.css +100 -0
- package/css/core.css.map +1 -1
- package/css/display.css +33 -0
- package/css/display.css.map +1 -1
- package/css/float-elements.css +33 -0
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +84 -6
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +33 -0
- 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/padding.css +33 -0
- package/css/padding.css.map +1 -1
- package/css/structure.css +33 -0
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +33 -0
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +33 -0
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +51 -6
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +165 -0
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{button-active-0932cee9.js → button-active-c0ff1915.js} +1 -1
- package/dist/cjs/{data-db832785.js → data-c8d21093.js} +96 -22
- package/dist/cjs/{haptic-c5f6b4d5.js → haptic-678abc9f.js} +1 -0
- package/dist/cjs/{index-d8d1fc0b.js → index-09471526.js} +1 -1
- package/dist/cjs/{index-f94cbab1.js → index-5e7529f6.js} +26 -19
- package/dist/cjs/{index-d3568232.js → index-eccba000.js} +2 -2
- package/dist/cjs/index.cjs.js +8 -6
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
- package/dist/cjs/ion-alert.cjs.entry.js +13 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +33 -20
- package/dist/cjs/ion-card_5.cjs.entry.js +8 -8
- package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ion-chip.cjs.entry.js +7 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +11 -11
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -19
- package/dist/cjs/ion-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -1
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -0
- package/dist/cjs/ion-searchbar.cjs.entry.js +10 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +176 -34
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ionic.cjs.js +2 -2
- package/dist/cjs/{ios.transition-7d688757.js → ios.transition-5af5991e.js} +213 -44
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-d77d3c2e.js → md.transition-1e740a6a.js} +1 -1
- package/dist/cjs/{overlays-7e1a08fa.js → overlays-1a734051.js} +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.ios.css +66 -0
- package/dist/collection/components/accordion/accordion.md.css +33 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +66 -0
- package/dist/collection/components/accordion-group/accordion-group.md.css +99 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +80 -12
- package/dist/collection/components/action-sheet/action-sheet.md.css +76 -8
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +27 -0
- package/dist/collection/components/alert/alert.ios.css +138 -21
- package/dist/collection/components/alert/alert.js +8 -0
- package/dist/collection/components/alert/alert.md.css +108 -8
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +122 -0
- package/dist/collection/components/avatar/avatar.ios.css +66 -0
- package/dist/collection/components/avatar/avatar.md.css +66 -0
- package/dist/collection/components/back-button/back-button.ios.css +83 -1
- package/dist/collection/components/back-button/back-button.md.css +75 -3
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +26 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +66 -0
- package/dist/collection/components/backdrop/backdrop.md.css +66 -0
- package/dist/collection/components/badge/badge.ios.css +75 -1
- package/dist/collection/components/badge/badge.md.css +67 -1
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +22 -0
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +80 -3
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +69 -3
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +33 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +33 -0
- package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +21 -0
- package/dist/collection/components/button/button.ios.css +118 -19
- package/dist/collection/components/button/button.md.css +69 -3
- package/dist/collection/components/button/test/a11y/button.e2e.js +61 -0
- package/dist/collection/components/buttons/buttons.ios.css +102 -3
- package/dist/collection/components/buttons/buttons.md.css +101 -2
- package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +74 -0
- package/dist/collection/components/card/card.ios.css +67 -1
- package/dist/collection/components/card/card.md.css +67 -1
- package/dist/collection/components/card/test/a11y/card.e2e.js +31 -0
- package/dist/collection/components/card-content/card-content.ios.css +71 -5
- package/dist/collection/components/card-content/card-content.md.css +71 -5
- package/dist/collection/components/card-header/card-header.ios.css +66 -0
- package/dist/collection/components/card-header/card-header.md.css +66 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +67 -1
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +67 -1
- package/dist/collection/components/card-title/card-title.ios.css +67 -1
- package/dist/collection/components/card-title/card-title.md.css +67 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +101 -2
- package/dist/collection/components/checkbox/checkbox.md.css +99 -0
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +18 -0
- package/dist/collection/components/chip/chip.ios.css +190 -0
- package/dist/collection/components/chip/chip.js +4 -2
- package/dist/collection/components/chip/{chip.css → chip.md.css} +43 -7
- package/dist/collection/components/chip/test/a11y/chip.e2e.js +58 -0
- package/dist/collection/components/col/col.css +66 -0
- package/dist/collection/components/content/content.css +33 -0
- package/dist/collection/components/datetime/datetime.ios.css +198 -7
- package/dist/collection/components/datetime/datetime.js +13 -7
- package/dist/collection/components/datetime/datetime.md.css +97 -5
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +28 -0
- package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +14 -0
- package/dist/collection/components/datetime/utils/data.js +33 -7
- package/dist/collection/components/datetime/utils/format.js +27 -10
- package/dist/collection/components/datetime/utils/helpers.js +37 -5
- package/dist/collection/components/datetime-button/datetime-button.css +36 -2
- package/dist/collection/components/datetime-button/datetime-button.js +4 -4
- package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +38 -0
- package/dist/collection/components/fab/fab.css +132 -0
- package/dist/collection/components/fab-button/fab-button.ios.css +66 -0
- package/dist/collection/components/fab-button/fab-button.md.css +66 -0
- package/dist/collection/components/fab-list/fab-list.css +66 -0
- package/dist/collection/components/footer/footer.ios.css +66 -0
- package/dist/collection/components/footer/footer.md.css +66 -0
- package/dist/collection/components/grid/grid.css +66 -0
- package/dist/collection/components/header/header.ios.css +71 -2
- package/dist/collection/components/header/header.md.css +66 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +66 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +66 -0
- package/dist/collection/components/input/input.ios.css +100 -1
- package/dist/collection/components/input/input.md.css +199 -1
- package/dist/collection/components/input/test/a11y/input.e2e.js +15 -1
- package/dist/collection/components/item/item.ios.css +70 -4
- package/dist/collection/components/item/item.md.css +138 -6
- package/dist/collection/components/item/test/a11y/item.e2e.js +116 -1
- package/dist/collection/components/item-divider/item-divider.ios.css +101 -9
- package/dist/collection/components/item-divider/item-divider.md.css +103 -11
- package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +44 -0
- package/dist/collection/components/item-group/item-group.ios.css +68 -1
- package/dist/collection/components/item-group/item-group.md.css +68 -1
- package/dist/collection/components/item-option/item-option.ios.css +67 -1
- package/dist/collection/components/item-option/item-option.md.css +67 -1
- package/dist/collection/components/item-options/item-options.ios.css +99 -1
- package/dist/collection/components/item-options/item-options.md.css +99 -1
- package/dist/collection/components/item-sliding/item-sliding.css +33 -0
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +34 -0
- package/dist/collection/components/label/label.ios.css +105 -6
- package/dist/collection/components/label/label.md.css +104 -5
- package/dist/collection/components/label/test/a11y/label.e2e.js +66 -0
- package/dist/collection/components/list/list.ios.css +99 -0
- package/dist/collection/components/list/list.md.css +99 -0
- package/dist/collection/components/list-header/list-header.ios.css +100 -1
- package/dist/collection/components/list-header/list-header.md.css +100 -1
- package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +24 -0
- package/dist/collection/components/loading/loading.ios.css +67 -1
- package/dist/collection/components/loading/loading.md.css +67 -1
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +19 -0
- package/dist/collection/components/menu/menu.ios.css +66 -0
- package/dist/collection/components/menu/menu.js +0 -12
- package/dist/collection/components/menu/menu.md.css +66 -0
- package/dist/collection/components/menu/test/multiple/menu.e2e.js +60 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +70 -2
- package/dist/collection/components/menu-button/menu-button.md.css +71 -3
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +20 -1
- package/dist/collection/components/modal/modal.ios.css +66 -0
- package/dist/collection/components/modal/modal.md.css +66 -0
- package/dist/collection/components/nav/nav.css +33 -0
- package/dist/collection/components/nav/nav.js +1 -0
- package/dist/collection/components/note/note.ios.css +67 -0
- package/dist/collection/components/note/note.md.css +67 -1
- package/dist/collection/components/note/test/a11y/note.e2e.js +52 -0
- package/dist/collection/components/picker/picker.ios.css +66 -0
- package/dist/collection/components/picker/picker.md.css +66 -0
- package/dist/collection/components/picker-column/picker-column.ios.css +66 -0
- package/dist/collection/components/picker-column/picker-column.md.css +66 -0
- package/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +33 -0
- package/dist/collection/components/picker-column-internal/picker-column-internal.md.css +66 -0
- package/dist/collection/components/picker-internal/picker-internal.ios.css +66 -0
- package/dist/collection/components/picker-internal/picker-internal.md.css +66 -0
- package/dist/collection/components/popover/popover.ios.css +66 -0
- package/dist/collection/components/popover/popover.md.css +66 -0
- package/dist/collection/components/progress-bar/progress-bar.ios.css +33 -0
- package/dist/collection/components/progress-bar/progress-bar.md.css +33 -0
- package/dist/collection/components/radio/radio.ios.css +104 -5
- package/dist/collection/components/radio/radio.md.css +104 -5
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +21 -0
- package/dist/collection/components/range/range.ios.css +82 -8
- package/dist/collection/components/range/range.md.css +99 -11
- package/dist/collection/components/range/test/a11y/range.e2e.js +22 -0
- package/dist/collection/components/refresher/refresher.ios.css +66 -0
- package/dist/collection/components/refresher/refresher.md.css +66 -0
- package/dist/collection/components/reorder/reorder.ios.css +75 -2
- package/dist/collection/components/reorder/reorder.md.css +75 -2
- package/dist/collection/components/reorder-group/reorder-group.css +33 -0
- package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +33 -0
- package/dist/collection/components/ripple-effect/ripple-effect.css +33 -0
- package/dist/collection/components/router/router.js +2 -0
- package/dist/collection/components/router/utils/path.js +1 -0
- package/dist/collection/components/router-link/router-link.css +33 -0
- package/dist/collection/components/router-outlet/router-outlet.css +33 -0
- package/dist/collection/components/row/row.css +66 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +95 -16
- package/dist/collection/components/searchbar/searchbar.js +7 -1
- package/dist/collection/components/searchbar/searchbar.md.css +77 -10
- package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +37 -0
- package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +18 -0
- package/dist/collection/components/segment/segment.ios.css +99 -0
- package/dist/collection/components/segment/segment.md.css +99 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +66 -0
- package/dist/collection/components/segment-button/segment-button.md.css +66 -0
- package/dist/collection/components/select/select.ios.css +102 -3
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select/select.md.css +167 -2
- package/dist/collection/components/select/test/a11y/select.e2e.js +22 -0
- package/dist/collection/components/select-popover/select-popover.ios.css +101 -1
- package/dist/collection/components/select-popover/select-popover.md.css +99 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +33 -0
- package/dist/collection/components/spinner/spinner.css +33 -0
- package/dist/collection/components/split-pane/split-pane.ios.css +99 -0
- package/dist/collection/components/split-pane/split-pane.md.css +99 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +99 -0
- package/dist/collection/components/tab-bar/tab-bar.md.css +99 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +66 -0
- package/dist/collection/components/tab-button/tab-button.md.css +66 -0
- package/dist/collection/components/tabs/tabs.css +33 -0
- package/dist/collection/components/text/text.css +33 -0
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +15 -1
- package/dist/collection/components/textarea/textarea.ios.css +133 -1
- package/dist/collection/components/textarea/textarea.md.css +199 -1
- package/dist/collection/components/thumbnail/thumbnail.css +33 -0
- package/dist/collection/components/title/test/a11y/title.e2e.js +61 -0
- package/dist/collection/components/title/title.ios.css +52 -10
- package/dist/collection/components/title/title.md.css +35 -2
- package/dist/collection/components/toast/animations/ios.enter.js +2 -3
- package/dist/collection/components/toast/animations/ios.leave.js +2 -3
- package/dist/collection/components/toast/animations/md.enter.js +2 -3
- package/dist/collection/components/toast/animations/utils.js +85 -0
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +98 -1
- package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +45 -0
- package/dist/collection/components/toast/toast.ios.css +74 -3
- package/dist/collection/components/toast/toast.js +98 -9
- package/dist/collection/components/toast/toast.md.css +74 -4
- package/dist/collection/components/toggle/toggle.ios.css +99 -0
- package/dist/collection/components/toggle/toggle.md.css +99 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +66 -14
- package/dist/collection/components/toolbar/toolbar.md.css +66 -0
- package/dist/collection/css/test/a11y/typography.e2e.js +32 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/menu-controller/index.js +26 -19
- package/dist/collection/utils/native/haptic.js +1 -0
- package/dist/collection/utils/overlays.js +1 -0
- package/dist/collection/utils/transition/ios.transition.js +212 -43
- package/dist/docs.json +74 -11
- package/dist/esm/{button-active-5136c12d.js → button-active-d926d4f4.js} +1 -1
- package/dist/esm/{data-009dbf15.js → data-44d9e816.js} +96 -22
- package/dist/esm/{haptic-6447af60.js → haptic-1243b917.js} +1 -0
- package/dist/esm/{index-641aeeed.js → index-a09eac70.js} +2 -2
- package/dist/esm/{index-ecfc2c9f.js → index-c132c5f1.js} +1 -1
- package/dist/esm/{index-d78b533e.js → index-df55802d.js} +26 -19
- package/dist/esm/index.js +7 -6
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +5 -5
- package/dist/esm/ion-alert.entry.js +13 -5
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +33 -20
- package/dist/esm/ion-card_5.entry.js +8 -8
- package/dist/esm/ion-checkbox.entry.js +1 -1
- package/dist/esm/ion-chip.entry.js +7 -2
- package/dist/esm/ion-datetime-button.entry.js +6 -6
- package/dist/esm/ion-datetime_3.entry.js +9 -9
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +3 -3
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +11 -11
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +7 -18
- package/dist/esm/ion-modal.entry.js +2 -2
- package/dist/esm/ion-nav_2.entry.js +2 -1
- package/dist/esm/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-route_4.entry.js +3 -0
- package/dist/esm/ion-searchbar.entry.js +10 -4
- package/dist/esm/ion-select_3.entry.js +5 -5
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +159 -17
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/ionic.js +2 -2
- package/dist/esm/{ios.transition-04c9a97a.js → ios.transition-4d1322d6.js} +213 -44
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-67a8aabd.js → md.transition-66b425d0.js} +1 -1
- package/dist/esm/{overlays-2fa52617.js → overlays-cec6bac8.js} +1 -0
- package/dist/esm-es5/{button-active-5136c12d.js → button-active-d926d4f4.js} +1 -1
- package/dist/esm-es5/data-44d9e816.js +4 -0
- package/dist/esm-es5/index-a09eac70.js +4 -0
- package/dist/esm-es5/index-df55802d.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- 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-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-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-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-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.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-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.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.js +1 -1
- package/dist/esm-es5/ios.transition-4d1322d6.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-66b425d0.js +4 -0
- package/dist/html.html-data.json +11 -1
- 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-012952cd.system.entry.js +4 -0
- package/dist/ionic/p-091c8792.system.js +4 -0
- package/dist/ionic/{p-4b8db805.entry.js → p-0ac3fb2c.entry.js} +1 -1
- package/dist/ionic/{p-ec9052a4.entry.js → p-0b00b937.entry.js} +1 -1
- package/dist/ionic/{p-9b4a77fc.system.entry.js → p-0b7c25ee.system.entry.js} +1 -1
- package/dist/ionic/p-0bbede6a.system.entry.js +4 -0
- package/dist/ionic/{p-1d0aa82f.system.entry.js → p-0f1f59da.system.entry.js} +1 -1
- package/dist/ionic/p-17240d90.js +4 -0
- package/dist/ionic/p-19fba51c.entry.js +4 -0
- package/dist/ionic/p-1a463b1e.system.entry.js +4 -0
- package/dist/ionic/p-1edb53a1.entry.js +4 -0
- package/dist/ionic/p-1f260a7b.entry.js +4 -0
- package/dist/ionic/{p-1c82e9ff.js → p-28ea45b9.js} +1 -1
- package/dist/ionic/p-2a8eeef7.system.js +4 -0
- package/dist/ionic/p-303bf1e8.system.entry.js +4 -0
- package/dist/ionic/p-31119a15.entry.js +4 -0
- package/dist/ionic/p-34259245.system.entry.js +4 -0
- package/dist/ionic/{p-914ac0fc.entry.js → p-35b26732.entry.js} +1 -1
- package/dist/ionic/p-35e399bd.entry.js +4 -0
- package/dist/ionic/{p-4dd96c8d.entry.js → p-38089641.entry.js} +1 -1
- package/dist/ionic/{p-f588e951.entry.js → p-3818f63f.entry.js} +1 -1
- package/dist/ionic/p-38c5fe2b.system.entry.js +4 -0
- package/dist/ionic/p-4215652f.system.entry.js +4 -0
- package/dist/ionic/p-4e50b8d1.entry.js +4 -0
- package/dist/ionic/p-4f97c112.entry.js +4 -0
- package/dist/ionic/p-54200074.entry.js +4 -0
- package/dist/ionic/p-572cce26.system.entry.js +4 -0
- package/dist/ionic/p-61b192a4.system.entry.js +4 -0
- package/dist/ionic/p-62e7d4fa.js +4 -0
- package/dist/ionic/p-673846f6.entry.js +4 -0
- package/dist/ionic/p-6ce0a709.system.entry.js +4 -0
- package/dist/ionic/p-6f6646bf.system.entry.js +4 -0
- package/dist/ionic/{p-2a7c0093.entry.js → p-7423746f.entry.js} +1 -1
- package/dist/ionic/p-755b2917.system.js +4 -0
- package/dist/ionic/p-78030c1f.system.entry.js +4 -0
- package/dist/ionic/p-8083aadb.entry.js +4 -0
- package/dist/ionic/p-81ef7437.system.entry.js +4 -0
- package/dist/ionic/{p-deb6ddad.entry.js → p-8209372c.entry.js} +1 -1
- package/dist/ionic/p-8c1805f4.system.entry.js +4 -0
- package/dist/ionic/p-8d6728a1.system.entry.js +4 -0
- package/dist/ionic/p-9dc85536.system.entry.js +4 -0
- package/dist/ionic/p-9e106f58.entry.js +4 -0
- package/dist/ionic/p-a164e3ab.system.entry.js +4 -0
- package/dist/ionic/{p-5efb899f.entry.js → p-a200a7fc.entry.js} +1 -1
- package/dist/ionic/p-a34fc12e.system.entry.js +4 -0
- package/dist/ionic/p-a9c32660.entry.js +4 -0
- package/dist/ionic/{p-5ece7025.system.js → p-aa377971.system.js} +1 -1
- package/dist/ionic/p-ad48dd13.system.js +4 -0
- package/dist/ionic/{p-d89d0de0.entry.js → p-afb6658f.entry.js} +1 -1
- package/dist/ionic/{p-6fb80ef3.system.entry.js → p-b753ec0d.system.entry.js} +1 -1
- package/dist/ionic/p-b8c3f071.system.js +4 -0
- package/dist/ionic/p-bb055450.system.entry.js +4 -0
- package/dist/ionic/p-c105bd36.entry.js +4 -0
- package/dist/ionic/p-c42c86c0.system.entry.js +4 -0
- package/dist/ionic/p-c44fe9fd.js +4 -0
- package/dist/ionic/p-c575a7b8.system.entry.js +4 -0
- package/dist/ionic/{p-3c2c6fce.entry.js → p-c679fcb5.entry.js} +1 -1
- package/dist/ionic/p-c8c9d699.system.entry.js +4 -0
- package/dist/ionic/p-c92f0a6d.system.entry.js +4 -0
- package/dist/ionic/p-c956e82c.system.entry.js +4 -0
- package/dist/ionic/p-cabd2c6d.entry.js +4 -0
- package/dist/ionic/p-cd2d17c3.system.entry.js +4 -0
- package/dist/ionic/{p-238f0ac5.system.entry.js → p-ce7d67a7.system.entry.js} +1 -1
- package/dist/ionic/p-d6e53e66.entry.js +4 -0
- package/dist/ionic/p-de68588d.js +4 -0
- package/dist/ionic/p-e028178a.system.js +4 -0
- package/dist/ionic/p-e0f0d55f.system.js +4 -0
- package/dist/ionic/p-e1d5752d.system.entry.js +4 -0
- package/dist/ionic/{p-f623aa6d.entry.js → p-e25cb483.entry.js} +1 -1
- package/dist/ionic/p-e65ebe96.entry.js +4 -0
- package/dist/ionic/p-e74faf2a.entry.js +4 -0
- package/dist/ionic/p-eb7d0922.js +4 -0
- package/dist/ionic/p-eb8dc56f.system.entry.js +4 -0
- package/dist/ionic/{p-8297652e.entry.js → p-f4309ac7.entry.js} +1 -1
- package/dist/ionic/p-f5bf698b.entry.js +4 -0
- package/dist/ionic/p-f7566bad.entry.js +4 -0
- package/dist/ionic/p-f919c026.entry.js +4 -0
- package/dist/ionic/{p-5cd791b3.system.entry.js → p-f9fa802c.system.entry.js} +1 -1
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +49 -6
- package/dist/types/components/datetime/datetime-interface.d.ts +1 -0
- package/dist/types/components/datetime/datetime.d.ts +2 -2
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime/utils/format.d.ts +3 -3
- package/dist/types/components/datetime/utils/helpers.d.ts +15 -1
- package/dist/types/components/menu/menu-interface.d.ts +15 -5
- package/dist/types/components/toast/animations/ios.enter.d.ts +2 -1
- package/dist/types/components/toast/animations/ios.leave.d.ts +2 -2
- package/dist/types/components/toast/animations/md.enter.d.ts +2 -1
- package/dist/types/components/toast/animations/utils.d.ts +18 -0
- package/dist/types/components/toast/toast-interface.d.ts +11 -0
- package/dist/types/components/toast/toast.d.ts +21 -1
- package/dist/types/components.d.ts +16 -8
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +19 -0
- package/dist/types/utils/menu-controller/index.d.ts +2 -22
- package/hydrate/index.js +630 -204
- package/package.json +10 -12
- package/dist/esm-es5/data-009dbf15.js +0 -4
- package/dist/esm-es5/index-641aeeed.js +0 -4
- package/dist/esm-es5/index-d78b533e.js +0 -4
- package/dist/esm-es5/ios.transition-04c9a97a.js +0 -4
- package/dist/esm-es5/md.transition-67a8aabd.js +0 -4
- package/dist/ionic/p-02a4e81a.js +0 -4
- package/dist/ionic/p-03c381ec.system.entry.js +0 -4
- package/dist/ionic/p-048f1ebe.entry.js +0 -4
- package/dist/ionic/p-04e7c8fd.entry.js +0 -4
- package/dist/ionic/p-05ae600a.system.js +0 -4
- package/dist/ionic/p-0c37546b.system.entry.js +0 -4
- package/dist/ionic/p-117cd69f.system.entry.js +0 -4
- package/dist/ionic/p-13d6e57a.js +0 -4
- package/dist/ionic/p-164b0e76.entry.js +0 -4
- package/dist/ionic/p-170e9de0.system.entry.js +0 -4
- package/dist/ionic/p-19384b9e.entry.js +0 -4
- package/dist/ionic/p-2784263e.system.entry.js +0 -4
- package/dist/ionic/p-29e3a9bb.entry.js +0 -4
- package/dist/ionic/p-32717950.system.entry.js +0 -4
- package/dist/ionic/p-32d364f0.entry.js +0 -4
- package/dist/ionic/p-35818410.entry.js +0 -4
- package/dist/ionic/p-37448ac1.entry.js +0 -4
- package/dist/ionic/p-38ccfd71.system.entry.js +0 -4
- package/dist/ionic/p-44ef7224.system.js +0 -4
- package/dist/ionic/p-45f5c8ba.system.entry.js +0 -4
- package/dist/ionic/p-47db15c6.entry.js +0 -4
- package/dist/ionic/p-4811e4af.system.entry.js +0 -4
- package/dist/ionic/p-4bb26b01.system.entry.js +0 -4
- package/dist/ionic/p-4d6ac0fe.system.entry.js +0 -4
- package/dist/ionic/p-51269f3b.system.js +0 -4
- package/dist/ionic/p-55d3a9b2.entry.js +0 -4
- package/dist/ionic/p-576e6d0f.system.entry.js +0 -4
- package/dist/ionic/p-5b32b053.entry.js +0 -4
- package/dist/ionic/p-5bc5008c.entry.js +0 -4
- package/dist/ionic/p-5c3e72a8.system.js +0 -4
- package/dist/ionic/p-5c651aab.system.entry.js +0 -4
- package/dist/ionic/p-64e20cd9.entry.js +0 -4
- package/dist/ionic/p-65a5761f.js +0 -4
- package/dist/ionic/p-6ac3e877.system.entry.js +0 -4
- package/dist/ionic/p-706a0391.entry.js +0 -4
- package/dist/ionic/p-72aea40e.system.entry.js +0 -4
- package/dist/ionic/p-73ed9a91.js +0 -4
- package/dist/ionic/p-7cfd253c.js +0 -4
- package/dist/ionic/p-839276d4.entry.js +0 -4
- package/dist/ionic/p-8ee012cb.system.entry.js +0 -4
- package/dist/ionic/p-908720f3.system.entry.js +0 -4
- package/dist/ionic/p-95b14c73.system.entry.js +0 -4
- package/dist/ionic/p-99dfa53f.system.entry.js +0 -4
- package/dist/ionic/p-a18ec02b.entry.js +0 -4
- package/dist/ionic/p-b109a3d7.system.entry.js +0 -4
- package/dist/ionic/p-b3690814.system.entry.js +0 -4
- package/dist/ionic/p-c3efbcf5.system.js +0 -4
- package/dist/ionic/p-c48fc95d.system.entry.js +0 -4
- package/dist/ionic/p-c7428627.system.entry.js +0 -4
- package/dist/ionic/p-d0ad0430.system.entry.js +0 -4
- package/dist/ionic/p-d55c9f92.system.entry.js +0 -4
- package/dist/ionic/p-d7b8d224.entry.js +0 -4
- package/dist/ionic/p-df5fe0be.system.js +0 -4
- package/dist/ionic/p-e1ac688a.entry.js +0 -4
- package/dist/ionic/p-e2fd0895.entry.js +0 -4
- package/dist/ionic/p-f960fd84.system.entry.js +0 -4
- package/dist/ionic/p-fbcb157b.system.js +0 -4
- package/dist/ionic/p-fccfe602.entry.js +0 -4
- package/dist/ionic/p-ff555f6f.system.entry.js +0 -4
- /package/dist/esm-es5/{haptic-6447af60.js → haptic-1243b917.js} +0 -0
- /package/dist/esm-es5/{index-ecfc2c9f.js → index-c132c5f1.js} +0 -0
- /package/dist/esm-es5/{overlays-2fa52617.js → overlays-cec6bac8.js} +0 -0
- /package/dist/ionic/{p-8985b268.system.js → p-8050b9b9.system.js} +0 -0
- /package/dist/ionic/{p-6ba7fad7.system.js → p-8f01a9a2.system.js} +0 -0
- /package/dist/ionic/{p-14d7b7e2.system.js → p-b4b4bb29.system.js} +0 -0
- /package/dist/ionic/{p-bb6f38ed.js → p-b923f3d7.js} +0 -0
- /package/dist/ionic/{p-63505fbb.js → p-cf62e1c8.js} +0 -0
- /package/dist/ionic/{p-0a87858b.js → p-ea96fa73.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function i(t){try{s(o.next(t))}catch(t){a(t)}}function l(t){try{s(o["throw"](t))}catch(t){a(t)}}function s(t){t.done?n(t.value):r(t.value).then(i,l)}s((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,r,a,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(t){return function(e){return s([t,e])}}function s(l){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,l[0]&&(n=0)),n)try{if(o=1,r&&(a=l[0]&2?r["return"]:l[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;if(r=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;r=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1];a=l;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(l);break}if(a[2])n.ops.pop();n.trys.pop();continue}l=e.call(t,n)}catch(t){l=[6,t];r=0}finally{o=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-629aa3fd.system.js","./p-3d726a67.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-14d7b7e2.system.js","./p-819ff3b9.system.js","./p-44bc8b45.system.js","./p-8985b268.system.js","./p-939e0fa1.system.js","./p-ccdcb022.system.js","./p-0e94957a.system.js"],(function(t,e){"use strict";var n,o,r,a,i,l,s,g,c,d,p,h,b,m,u,f,w,x,k;return{setters:[function(t){n=t.r;o=t.d;r=t.h;a=t.H;i=t.f},function(t){l=t.c},function(t){s=t.i;g=t.d;c=t.e},function(t){d=t.p},function(t){p=t.c},function(t){h=t.i},function(t){b=t.c;m=t.h},function(t){u=t.f;f=t.r;w=t.g},function(t){x=t.c;k=t.b},function(){},function(){}],execute:function(){var v=":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}:host(.legacy-toggle){width:51px;height:32px;contain:strict;overflow:hidden}.native-wrapper .toggle-icon{width:51px;height:32px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:6px;padding-bottom:5px}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:6px;padding-bottom:5px}";var y=":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.legacy-toggle){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:12px;padding-bottom:12px;cursor:pointer}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px;padding-top:12px;padding-bottom:12px}";var j=t("ion_toggle",function(){function t(t){var r=this;n(this,t);this.ionChange=o(this,"ionChange",7);this.ionFocus=o(this,"ionFocus",7);this.ionBlur=o(this,"ionBlur",7);this.ionStyle=o(this,"ionStyle",7);this.inputId="ion-tg-".concat(L++);this.lastDrag=0;this.inheritedAttributes={};this.didLoad=false;this.hasLoggedDeprecationWarning=false;this.setupGesture=function(){return __awaiter(r,void 0,void 0,(function(){var t,n;var o=this;return __generator(this,(function(r){switch(r.label){case 0:t=this.toggleTrack;if(!t)return[3,2];n=this;return[4,e.import("./p-fa8d4788.system.js")];case 1:n.gesture=r.sent().createGesture({el:t,gestureName:"toggle",gesturePriority:100,threshold:5,passive:false,onStart:function(){return o.onStart()},onMove:function(t){return o.onMove(t)},onEnd:function(t){return o.onEnd(t)}});this.disabledChanged();r.label=2;case 2:return[2]}}))}))};this.onClick=function(t){if(r.disabled){return}t.preventDefault();if(r.lastDrag+300<Date.now()){r.toggleChecked()}};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.ionBlur.emit()};this.getSwitchLabelIcon=function(t,e){if(t==="md"){return e?u:f}return e?f:w};this.activated=false;this.color=undefined;this.name=this.inputId;this.checked=false;this.disabled=false;this.value="on";this.enableOnOffLabels=x.get("toggleOnOffLabels");this.labelPlacement="start";this.legacy=undefined;this.justify="space-between";this.alignment="center"}t.prototype.disabledChanged=function(){this.emitStyle();if(this.gesture){this.gesture.enable(!this.disabled)}};t.prototype.toggleChecked=function(){var t=this,e=t.checked,n=t.value;var o=!e;this.checked=o;this.ionChange.emit({checked:o,value:n})};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.legacyFormController=l(this.el);if(this.didLoad){this.setupGesture()}return[2]}))}))};t.prototype.componentDidLoad=function(){this.setupGesture();this.didLoad=true};t.prototype.disconnectedCallback=function(){if(this.gesture){this.gesture.destroy();this.gesture=undefined}};t.prototype.componentWillLoad=function(){this.emitStyle();if(!this.legacyFormController.hasLegacyControl()){this.inheritedAttributes=Object.assign({},s(this.el))}};t.prototype.emitStyle=function(){if(this.legacyFormController.hasLegacyControl()){this.ionStyle.emit({"interactive-disabled":this.disabled})}};t.prototype.onStart=function(){this.activated=true;this.setFocus()};t.prototype.onMove=function(t){if(C(h(this.el),this.checked,t.deltaX,-10)){this.toggleChecked();p()}};t.prototype.onEnd=function(t){this.activated=false;this.lastDrag=Date.now();t.event.preventDefault();t.event.stopImmediatePropagation()};t.prototype.getValue=function(){return this.value||""};t.prototype.setFocus=function(){if(this.focusEl){this.focusEl.focus()}};t.prototype.renderOnOffSwitchLabels=function(t,e){var n=this.getSwitchLabelIcon(t,e);return r("ion-icon",{class:{"toggle-switch-icon":true,"toggle-switch-icon-checked":e},icon:n,"aria-hidden":"true"})};t.prototype.renderToggleControl=function(){var t=this;var e=k(this);var n=this,o=n.enableOnOffLabels,a=n.checked;return r("div",{class:"toggle-icon",part:"track",ref:function(e){return t.toggleTrack=e}},o&&e==="ios"&&[this.renderOnOffSwitchLabels(e,true),this.renderOnOffSwitchLabels(e,false)],r("div",{class:"toggle-icon-wrapper"},r("div",{class:"toggle-inner",part:"handle"},o&&e==="md"&&this.renderOnOffSwitchLabels(e,a))))};Object.defineProperty(t.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});t.prototype.render=function(){var t=this.legacyFormController;return t.hasLegacyControl()?this.renderLegacyToggle():this.renderToggle()};t.prototype.renderToggle=function(){var t;var e=this;var n=this,o=n.activated,i=n.color,l=n.checked,s=n.disabled,c=n.el,d=n.justify,p=n.labelPlacement,u=n.inputId,f=n.name,w=n.alignment;var x=k(this);var v=this.getValue();var y=h(c)?"rtl":"ltr";g(true,c,f,l?v:"",s);return r(a,{onClick:this.onClick,class:b(i,(t={},t[x]=true,t["in-item"]=m("ion-item",c),t["toggle-activated"]=o,t["toggle-checked"]=l,t["toggle-disabled"]=s,t["toggle-justify-".concat(d)]=true,t["toggle-alignment-".concat(w)]=true,t["toggle-label-placement-".concat(p)]=true,t["toggle-".concat(y)]=true,t))},r("label",{class:"toggle-wrapper"},r("input",Object.assign({type:"checkbox",role:"switch","aria-checked":"".concat(l),checked:l,disabled:s,id:u,onFocus:function(){return e.onFocus()},onBlur:function(){return e.onBlur()},ref:function(t){return e.focusEl=t}},this.inheritedAttributes)),r("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!this.hasLabel}},r("slot",null)),r("div",{class:"native-wrapper"},this.renderToggleControl())))};t.prototype.renderLegacyToggle=function(){var t;var e=this;if(!this.hasLoggedDeprecationWarning){d('ion-toggle now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-toggle>Email</ion-toggle>\nExample with aria-label: <ion-toggle aria-label="Email"></ion-toggle>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){d('ion-toggle is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new toggle syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var n=this,o=n.activated,i=n.color,l=n.checked,s=n.disabled,p=n.el,u=n.inputId,f=n.name;var w=k(this);var x=c(p,u),v=x.label,y=x.labelId,j=x.labelText;var C=this.getValue();var L=h(p)?"rtl":"ltr";g(true,p,f,l?C:"",s);return r(a,{onClick:this.onClick,"aria-labelledby":v?y:null,"aria-checked":"".concat(l),"aria-hidden":s?"true":null,role:"switch",class:b(i,(t={},t[w]=true,t["in-item"]=m("ion-item",p),t["toggle-activated"]=o,t["toggle-checked"]=l,t["toggle-disabled"]=s,t["legacy-toggle"]=true,t.interactive=true,t["toggle-".concat(L)]=true,t))},this.renderToggleControl(),r("label",{htmlFor:u},j),r("input",{type:"checkbox",role:"switch","aria-checked":"".concat(l),disabled:s,id:u,onFocus:function(){return e.onFocus()},onBlur:function(){return e.onBlur()},ref:function(t){return e.focusEl=t}}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledChanged"]}},enumerable:false,configurable:true});return t}());var C=function(t,e,n,o){if(e){return!t&&o>n||t&&-o<n}else{return!t&&-o<n||t&&o>n}};var L=0;j.style={ios:v,md:y}}}}));
|
|
4
|
+
*/System.register(["./p-629aa3fd.system.js","./p-3d726a67.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-b4b4bb29.system.js","./p-819ff3b9.system.js","./p-44bc8b45.system.js","./p-8050b9b9.system.js","./p-939e0fa1.system.js","./p-ccdcb022.system.js","./p-0e94957a.system.js"],(function(t,e){"use strict";var n,o,r,a,i,l,s,g,c,d,p,h,b,m,u,f,w,x,k;return{setters:[function(t){n=t.r;o=t.d;r=t.h;a=t.H;i=t.f},function(t){l=t.c},function(t){s=t.i;g=t.d;c=t.e},function(t){d=t.p},function(t){p=t.c},function(t){h=t.i},function(t){b=t.c;m=t.h},function(t){u=t.f;f=t.r;w=t.g},function(t){x=t.c;k=t.b},function(){},function(){}],execute:function(){var v=":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}:host(.legacy-toggle){width:51px;height:32px;contain:strict;overflow:hidden}.native-wrapper .toggle-icon{width:51px;height:32px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:6px;padding-bottom:5px}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:6px;padding-bottom:5px}";var y=":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.legacy-toggle){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:12px;padding-bottom:12px;cursor:pointer}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px;padding-top:12px;padding-bottom:12px}";var j=t("ion_toggle",function(){function t(t){var r=this;n(this,t);this.ionChange=o(this,"ionChange",7);this.ionFocus=o(this,"ionFocus",7);this.ionBlur=o(this,"ionBlur",7);this.ionStyle=o(this,"ionStyle",7);this.inputId="ion-tg-".concat(L++);this.lastDrag=0;this.inheritedAttributes={};this.didLoad=false;this.hasLoggedDeprecationWarning=false;this.setupGesture=function(){return __awaiter(r,void 0,void 0,(function(){var t,n;var o=this;return __generator(this,(function(r){switch(r.label){case 0:t=this.toggleTrack;if(!t)return[3,2];n=this;return[4,e.import("./p-fa8d4788.system.js")];case 1:n.gesture=r.sent().createGesture({el:t,gestureName:"toggle",gesturePriority:100,threshold:5,passive:false,onStart:function(){return o.onStart()},onMove:function(t){return o.onMove(t)},onEnd:function(t){return o.onEnd(t)}});this.disabledChanged();r.label=2;case 2:return[2]}}))}))};this.onClick=function(t){if(r.disabled){return}t.preventDefault();if(r.lastDrag+300<Date.now()){r.toggleChecked()}};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.ionBlur.emit()};this.getSwitchLabelIcon=function(t,e){if(t==="md"){return e?u:f}return e?f:w};this.activated=false;this.color=undefined;this.name=this.inputId;this.checked=false;this.disabled=false;this.value="on";this.enableOnOffLabels=x.get("toggleOnOffLabels");this.labelPlacement="start";this.legacy=undefined;this.justify="space-between";this.alignment="center"}t.prototype.disabledChanged=function(){this.emitStyle();if(this.gesture){this.gesture.enable(!this.disabled)}};t.prototype.toggleChecked=function(){var t=this,e=t.checked,n=t.value;var o=!e;this.checked=o;this.ionChange.emit({checked:o,value:n})};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.legacyFormController=l(this.el);if(this.didLoad){this.setupGesture()}return[2]}))}))};t.prototype.componentDidLoad=function(){this.setupGesture();this.didLoad=true};t.prototype.disconnectedCallback=function(){if(this.gesture){this.gesture.destroy();this.gesture=undefined}};t.prototype.componentWillLoad=function(){this.emitStyle();if(!this.legacyFormController.hasLegacyControl()){this.inheritedAttributes=Object.assign({},s(this.el))}};t.prototype.emitStyle=function(){if(this.legacyFormController.hasLegacyControl()){this.ionStyle.emit({"interactive-disabled":this.disabled})}};t.prototype.onStart=function(){this.activated=true;this.setFocus()};t.prototype.onMove=function(t){if(C(h(this.el),this.checked,t.deltaX,-10)){this.toggleChecked();p()}};t.prototype.onEnd=function(t){this.activated=false;this.lastDrag=Date.now();t.event.preventDefault();t.event.stopImmediatePropagation()};t.prototype.getValue=function(){return this.value||""};t.prototype.setFocus=function(){if(this.focusEl){this.focusEl.focus()}};t.prototype.renderOnOffSwitchLabels=function(t,e){var n=this.getSwitchLabelIcon(t,e);return r("ion-icon",{class:{"toggle-switch-icon":true,"toggle-switch-icon-checked":e},icon:n,"aria-hidden":"true"})};t.prototype.renderToggleControl=function(){var t=this;var e=k(this);var n=this,o=n.enableOnOffLabels,a=n.checked;return r("div",{class:"toggle-icon",part:"track",ref:function(e){return t.toggleTrack=e}},o&&e==="ios"&&[this.renderOnOffSwitchLabels(e,true),this.renderOnOffSwitchLabels(e,false)],r("div",{class:"toggle-icon-wrapper"},r("div",{class:"toggle-inner",part:"handle"},o&&e==="md"&&this.renderOnOffSwitchLabels(e,a))))};Object.defineProperty(t.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});t.prototype.render=function(){var t=this.legacyFormController;return t.hasLegacyControl()?this.renderLegacyToggle():this.renderToggle()};t.prototype.renderToggle=function(){var t;var e=this;var n=this,o=n.activated,i=n.color,l=n.checked,s=n.disabled,c=n.el,d=n.justify,p=n.labelPlacement,u=n.inputId,f=n.name,w=n.alignment;var x=k(this);var v=this.getValue();var y=h(c)?"rtl":"ltr";g(true,c,f,l?v:"",s);return r(a,{onClick:this.onClick,class:b(i,(t={},t[x]=true,t["in-item"]=m("ion-item",c),t["toggle-activated"]=o,t["toggle-checked"]=l,t["toggle-disabled"]=s,t["toggle-justify-".concat(d)]=true,t["toggle-alignment-".concat(w)]=true,t["toggle-label-placement-".concat(p)]=true,t["toggle-".concat(y)]=true,t))},r("label",{class:"toggle-wrapper"},r("input",Object.assign({type:"checkbox",role:"switch","aria-checked":"".concat(l),checked:l,disabled:s,id:u,onFocus:function(){return e.onFocus()},onBlur:function(){return e.onBlur()},ref:function(t){return e.focusEl=t}},this.inheritedAttributes)),r("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!this.hasLabel}},r("slot",null)),r("div",{class:"native-wrapper"},this.renderToggleControl())))};t.prototype.renderLegacyToggle=function(){var t;var e=this;if(!this.hasLoggedDeprecationWarning){d('ion-toggle now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-toggle>Email</ion-toggle>\nExample with aria-label: <ion-toggle aria-label="Email"></ion-toggle>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){d('ion-toggle is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new toggle syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var n=this,o=n.activated,i=n.color,l=n.checked,s=n.disabled,p=n.el,u=n.inputId,f=n.name;var w=k(this);var x=c(p,u),v=x.label,y=x.labelId,j=x.labelText;var C=this.getValue();var L=h(p)?"rtl":"ltr";g(true,p,f,l?C:"",s);return r(a,{onClick:this.onClick,"aria-labelledby":v?y:null,"aria-checked":"".concat(l),"aria-hidden":s?"true":null,role:"switch",class:b(i,(t={},t[w]=true,t["in-item"]=m("ion-item",p),t["toggle-activated"]=o,t["toggle-checked"]=l,t["toggle-disabled"]=s,t["legacy-toggle"]=true,t.interactive=true,t["toggle-".concat(L)]=true,t))},this.renderToggleControl(),r("label",{htmlFor:u},j),r("input",{type:"checkbox",role:"switch","aria-checked":"".concat(l),disabled:s,id:u,onFocus:function(){return e.onFocus()},onBlur:function(){return e.onBlur()},ref:function(t){return e.focusEl=t}}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledChanged"]}},enumerable:false,configurable:true});return t}());var C=function(t,e,n,o){if(e){return!t&&o>n||t&&-o<n}else{return!t&&-o<n||t&&o>n}};var L=0;j.style={ios:v,md:y}}}}));
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
fill: currentColor;
|
|
10
10
|
|
|
11
11
|
box-sizing: content-box !important;
|
|
12
|
+
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
:host .ionicon {
|
|
@@ -33,29 +34,71 @@ svg {
|
|
|
33
34
|
width: 100%;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
|
-
|
|
37
37
|
/* Icon RTL
|
|
38
38
|
* -----------------------------------------------------------
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Safari <16.4 incorrectly reports
|
|
43
|
+
* that it supports :dir(rtl) when it does not.
|
|
44
|
+
* This @supports statement lets us target
|
|
45
|
+
* WebKit browsers to apply the RTL fallback.
|
|
46
|
+
* -webkit-named-image only exists on WebKit.
|
|
47
|
+
* For WebKit browsers that do support :dir(rtl)
|
|
48
|
+
* (i.e. Safari >= 16.4) then the :dir(rtl)
|
|
49
|
+
* code farther down on the page will take
|
|
50
|
+
* effect and override this fallback.
|
|
51
|
+
*/
|
|
52
|
+
@supports (background: -webkit-named-image(i)) {
|
|
53
|
+
:host(.icon-rtl) .icon-inner {
|
|
54
|
+
transform: scaleX(-1);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Fallback for browsers that support
|
|
60
|
+
* neither :host-context nor :dir.
|
|
61
|
+
* The icon will not react to dir
|
|
62
|
+
* changes, but it will at least
|
|
63
|
+
* respect the dir on component load.
|
|
64
|
+
*/
|
|
65
|
+
@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])) {
|
|
66
|
+
:host(.icon-rtl) .icon-inner {
|
|
67
|
+
transform: scaleX(-1);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* :host-context is supported in chromium; :dir is supported in safari & firefox */
|
|
72
|
+
:host(.flip-rtl):host-context([dir='rtl']) .icon-inner {
|
|
42
73
|
transform: scaleX(-1);
|
|
43
74
|
}
|
|
44
75
|
|
|
76
|
+
@supports selector(:dir(rtl)) {
|
|
77
|
+
:host(.flip-rtl:dir(rtl)) .icon-inner {
|
|
78
|
+
transform: scaleX(-1);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* This is needed for WebKit otherwise the fallback
|
|
82
|
+
* will always cause the icon to be flipped if the document
|
|
83
|
+
* loads in RTL.
|
|
84
|
+
*/
|
|
85
|
+
:host(.flip-rtl:dir(ltr)) .icon-inner {
|
|
86
|
+
transform: scaleX(1);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
45
89
|
|
|
46
90
|
/* Icon Sizes
|
|
47
91
|
* -----------------------------------------------------------
|
|
48
92
|
*/
|
|
49
93
|
|
|
50
94
|
:host(.icon-small) {
|
|
51
|
-
font-size:
|
|
95
|
+
font-size: 1.125rem !important;
|
|
52
96
|
}
|
|
53
97
|
|
|
54
|
-
:host(.icon-large){
|
|
55
|
-
font-size:
|
|
98
|
+
:host(.icon-large) {
|
|
99
|
+
font-size: 2rem !important;
|
|
56
100
|
}
|
|
57
101
|
|
|
58
|
-
|
|
59
102
|
/* Icon Colors
|
|
60
103
|
* -----------------------------------------------------------
|
|
61
104
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import type { Color, StyleEventDetail } from '../../interface';
|
|
3
|
-
import type { DatetimePresentation, DatetimeChangeEventDetail, DatetimeParts, TitleSelectedDatesFormatter, DatetimeHighlight, DatetimeHighlightCallback } from './datetime-interface';
|
|
3
|
+
import type { DatetimePresentation, DatetimeChangeEventDetail, DatetimeParts, TitleSelectedDatesFormatter, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle } from './datetime-interface';
|
|
4
4
|
/**
|
|
5
5
|
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
6
6
|
*
|
|
@@ -259,7 +259,7 @@ export declare class Datetime implements ComponentInterface {
|
|
|
259
259
|
* The hour cycle of the `ion-datetime`. If no value is set, this is
|
|
260
260
|
* specified by the current locale.
|
|
261
261
|
*/
|
|
262
|
-
hourCycle?:
|
|
262
|
+
hourCycle?: DatetimeHourCycle;
|
|
263
263
|
/**
|
|
264
264
|
* If `cover`, the `ion-datetime` will expand to cover the full width of its container.
|
|
265
265
|
* If `fixed`, the `ion-datetime` will have a fixed width.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Mode } from '../../../interface';
|
|
2
2
|
import type { PickerColumnItem } from '../../picker-column-internal/picker-column-internal-interfaces';
|
|
3
|
-
import type { DatetimeParts } from '../datetime-interface';
|
|
3
|
+
import type { DatetimeParts, DatetimeHourCycle } from '../datetime-interface';
|
|
4
4
|
/**
|
|
5
5
|
* Returns the current date as
|
|
6
6
|
* an ISO string in the user's
|
|
@@ -35,7 +35,7 @@ export declare const getDaysOfMonth: (month: number, year: number, firstDayOfWee
|
|
|
35
35
|
* max/min bound datetime parts, calculate the acceptable
|
|
36
36
|
* hour and minute values according to the bounds and locale.
|
|
37
37
|
*/
|
|
38
|
-
export declare const generateTime: (refParts: DatetimeParts, hourCycle?:
|
|
38
|
+
export declare const generateTime: (locale: string, refParts: DatetimeParts, hourCycle?: DatetimeHourCycle, minParts?: DatetimeParts, maxParts?: DatetimeParts, hourValues?: number[], minuteValues?: number[]) => {
|
|
39
39
|
hours: number[];
|
|
40
40
|
minutes: number[];
|
|
41
41
|
am: boolean;
|
|
@@ -70,7 +70,7 @@ interface CombinedDateColumnData {
|
|
|
70
70
|
* Example: "Thu, Jun 2"
|
|
71
71
|
*/
|
|
72
72
|
export declare const getCombinedDateColumnData: (locale: string, todayParts: DatetimeParts, minParts: DatetimeParts, maxParts: DatetimeParts, dayValues?: number[], monthValues?: number[]) => CombinedDateColumnData;
|
|
73
|
-
export declare const getTimeColumnsData: (locale: string, refParts: DatetimeParts, hourCycle?:
|
|
73
|
+
export declare const getTimeColumnsData: (locale: string, refParts: DatetimeParts, hourCycle?: DatetimeHourCycle, minParts?: DatetimeParts, maxParts?: DatetimeParts, allowedHourValues?: number[], allowedMinuteValues?: number[]) => {
|
|
74
74
|
[key: string]: PickerColumnItem[];
|
|
75
75
|
};
|
|
76
76
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DatetimeParts } from '../datetime-interface';
|
|
2
|
-
export declare const getLocalizedTime: (locale: string, refParts: DatetimeParts,
|
|
1
|
+
import type { DatetimeParts, DatetimeHourCycle } from '../datetime-interface';
|
|
2
|
+
export declare const getLocalizedTime: (locale: string, refParts: DatetimeParts, hourCycle: DatetimeHourCycle) => string;
|
|
3
3
|
/**
|
|
4
4
|
* Adds padding to a time value so
|
|
5
5
|
* that it is always 2 digits.
|
|
@@ -11,7 +11,7 @@ export declare const addTimePadding: (value: number) => string;
|
|
|
11
11
|
* 12 hour times it ensures that
|
|
12
12
|
* hour 0 is formatted as '12'.
|
|
13
13
|
*/
|
|
14
|
-
export declare const getFormattedHour: (hour: number,
|
|
14
|
+
export declare const getFormattedHour: (hour: number, hourCycle: DatetimeHourCycle) => string;
|
|
15
15
|
/**
|
|
16
16
|
* Generates an aria-label to be read by screen readers
|
|
17
17
|
* given a local, a date, and whether or not that date is
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { DatetimeHourCycle } from '../datetime-interface';
|
|
1
2
|
/**
|
|
2
3
|
* Determines if given year is a
|
|
3
4
|
* leap year. Returns `true` if year
|
|
@@ -5,7 +6,20 @@
|
|
|
5
6
|
* otherwise.
|
|
6
7
|
*/
|
|
7
8
|
export declare const isLeapYear: (year: number) => boolean;
|
|
8
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Determines the hour cycle for a user.
|
|
11
|
+
* If the hour cycle is explicitly defined, just use that.
|
|
12
|
+
* Otherwise, we try to derive it from either the specified
|
|
13
|
+
* locale extension tags or from Intl.DateTimeFormat directly.
|
|
14
|
+
*/
|
|
15
|
+
export declare const getHourCycle: (locale: string, hourCycle?: DatetimeHourCycle) => DatetimeHourCycle;
|
|
16
|
+
/**
|
|
17
|
+
* Determine if the hour cycle uses a 24-hour format.
|
|
18
|
+
* Returns true for h23 and h24. Returns false otherwise.
|
|
19
|
+
* If you don't know the hourCycle, use getHourCycle above
|
|
20
|
+
* and pass the result into this function.
|
|
21
|
+
*/
|
|
22
|
+
export declare const is24Hour: (hourCycle: DatetimeHourCycle) => boolean;
|
|
9
23
|
/**
|
|
10
24
|
* Given a date object, returns the number
|
|
11
25
|
* of days in that month.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Animation } from
|
|
1
|
+
import type { Animation, AnimationBuilder } from "../../utils/animation/animation-interface";
|
|
2
2
|
export type Side = 'start' | 'end';
|
|
3
3
|
export interface MenuI {
|
|
4
4
|
el: HTMLIonMenuElement;
|
|
@@ -21,13 +21,23 @@ export interface MenuI {
|
|
|
21
21
|
_setOpen(shouldOpen: boolean, animated?: boolean): Promise<boolean>;
|
|
22
22
|
}
|
|
23
23
|
export interface MenuControllerI {
|
|
24
|
+
registerAnimation(name: string, animation: AnimationBuilder): void;
|
|
25
|
+
get(menu?: string | null, logOnMultipleSideMenus?: boolean): Promise<HTMLIonMenuElement | undefined>;
|
|
26
|
+
getMenus(): Promise<HTMLIonMenuElement[]>;
|
|
27
|
+
getOpen(): Promise<HTMLIonMenuElement | undefined>;
|
|
28
|
+
isEnabled(menu?: string | null): Promise<boolean>;
|
|
29
|
+
swipeGesture(shouldEnable: boolean, menu?: string | null): Promise<HTMLIonMenuElement | undefined>;
|
|
30
|
+
isAnimating(): Promise<boolean>;
|
|
31
|
+
isOpen(menu?: string | null): Promise<boolean>;
|
|
32
|
+
enable(shouldEnable: boolean, menu?: string | null): Promise<HTMLIonMenuElement | undefined>;
|
|
33
|
+
toggle(menu?: string | null): Promise<boolean>;
|
|
34
|
+
close(menu?: string | null): Promise<boolean>;
|
|
35
|
+
open(menu?: string | null): Promise<boolean>;
|
|
36
|
+
_getOpenSync(): HTMLIonMenuElement | undefined;
|
|
24
37
|
_createAnimation(type: string, menuCmp: MenuI): Promise<Animation>;
|
|
25
|
-
_setOpen(menu: MenuI, shouldOpen: boolean, animated: boolean): Promise<boolean>;
|
|
26
38
|
_register(menu: MenuI): void;
|
|
27
39
|
_unregister(menu: MenuI): void;
|
|
28
|
-
|
|
29
|
-
getMenus(): Promise<HTMLIonMenuElement[]>;
|
|
30
|
-
getOpenSync(): HTMLIonMenuElement | undefined;
|
|
40
|
+
_setOpen(menu: MenuI, shouldOpen: boolean, animated: boolean): Promise<boolean>;
|
|
31
41
|
}
|
|
32
42
|
export interface MenuChangeEventDetail {
|
|
33
43
|
disabled: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Animation } from '../../../interface';
|
|
2
|
+
import type { ToastPresentOptions } from '../toast-interface';
|
|
2
3
|
/**
|
|
3
4
|
* iOS Toast Enter Animation
|
|
4
5
|
*/
|
|
5
|
-
export declare const iosEnterAnimation: (baseEl: HTMLElement,
|
|
6
|
+
export declare const iosEnterAnimation: (baseEl: HTMLElement, opts: ToastPresentOptions) => Animation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Animation } from '../../../interface';
|
|
1
|
+
import type { Animation, ToastDismissOptions } from '../../../interface';
|
|
2
2
|
/**
|
|
3
3
|
* iOS Toast Leave Animation
|
|
4
4
|
*/
|
|
5
|
-
export declare const iosLeaveAnimation: (baseEl: HTMLElement,
|
|
5
|
+
export declare const iosLeaveAnimation: (baseEl: HTMLElement, opts: ToastDismissOptions) => Animation;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Animation } from '../../../interface';
|
|
2
|
+
import type { ToastPresentOptions } from '../toast-interface';
|
|
2
3
|
/**
|
|
3
4
|
* MD Toast Enter Animation
|
|
4
5
|
*/
|
|
5
|
-
export declare const mdEnterAnimation: (baseEl: HTMLElement,
|
|
6
|
+
export declare const mdEnterAnimation: (baseEl: HTMLElement, opts: ToastPresentOptions) => Animation;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Mode } from "../../../interface";
|
|
2
|
+
import type { ToastAnimationPosition, ToastPosition } from '../toast-interface';
|
|
3
|
+
/**
|
|
4
|
+
* Calculate the CSS top and bottom position of the toast, to be used
|
|
5
|
+
* as starting points for the animation keyframes.
|
|
6
|
+
*
|
|
7
|
+
* Note that MD animates bottom-positioned toasts using style.bottom,
|
|
8
|
+
* which calculates from the bottom edge of the screen, while iOS uses
|
|
9
|
+
* translateY, which calculates from the top edge of the screen. This
|
|
10
|
+
* is why the bottom calculates differ slightly between modes.
|
|
11
|
+
*
|
|
12
|
+
* @param position The value of the toast's position prop.
|
|
13
|
+
* @param positionAnchor The element the toast should be anchored to,
|
|
14
|
+
* if applicable.
|
|
15
|
+
* @param mode The toast component's mode (md, ios, etc).
|
|
16
|
+
* @param toast A reference to the toast element itself.
|
|
17
|
+
*/
|
|
18
|
+
export declare function getAnimationPosition(position: ToastPosition, positionAnchor: HTMLElement | undefined, mode: Mode, toast: HTMLElement): ToastAnimationPosition;
|
|
@@ -7,6 +7,7 @@ export interface ToastOptions {
|
|
|
7
7
|
duration?: number;
|
|
8
8
|
buttons?: (ToastButton | string)[];
|
|
9
9
|
position?: 'top' | 'bottom' | 'middle';
|
|
10
|
+
positionAnchor?: HTMLElement | string;
|
|
10
11
|
translucent?: boolean;
|
|
11
12
|
animated?: boolean;
|
|
12
13
|
icon?: string;
|
|
@@ -37,3 +38,13 @@ export interface ToastButton {
|
|
|
37
38
|
handler?: () => boolean | void | Promise<boolean | void>;
|
|
38
39
|
}
|
|
39
40
|
export type ToastPosition = 'top' | 'bottom' | 'middle';
|
|
41
|
+
interface ToastPositionAlias {
|
|
42
|
+
position: ToastPosition;
|
|
43
|
+
}
|
|
44
|
+
export interface ToastAnimationPosition {
|
|
45
|
+
top: string;
|
|
46
|
+
bottom: string;
|
|
47
|
+
}
|
|
48
|
+
export type ToastPresentOptions = ToastPositionAlias & ToastAnimationPosition;
|
|
49
|
+
export type ToastDismissOptions = ToastPositionAlias & ToastAnimationPosition;
|
|
50
|
+
export {};
|
|
@@ -19,6 +19,12 @@ export declare class Toast implements ComponentInterface, OverlayInterface {
|
|
|
19
19
|
private readonly triggerController;
|
|
20
20
|
private customHTMLEnabled;
|
|
21
21
|
private durationTimeout?;
|
|
22
|
+
/**
|
|
23
|
+
* Holds the position of the toast calculated in the present
|
|
24
|
+
* animation, to be passed along to the dismiss animation so
|
|
25
|
+
* we don't have to calculate the position twice.
|
|
26
|
+
*/
|
|
27
|
+
private lastPresentedPosition?;
|
|
22
28
|
presented: boolean;
|
|
23
29
|
/**
|
|
24
30
|
* When `true`, content inside of .toast-content
|
|
@@ -84,9 +90,17 @@ export declare class Toast implements ComponentInterface, OverlayInterface {
|
|
|
84
90
|
*/
|
|
85
91
|
keyboardClose: boolean;
|
|
86
92
|
/**
|
|
87
|
-
* The position of the toast on the screen.
|
|
93
|
+
* The starting position of the toast on the screen. Can be tweaked further
|
|
94
|
+
* using the `positionAnchor` property.
|
|
88
95
|
*/
|
|
89
96
|
position: ToastPosition;
|
|
97
|
+
/**
|
|
98
|
+
* The element to anchor the toast's position to. Can be set as a direct reference
|
|
99
|
+
* or the ID of the element. With `position="bottom"`, the toast will sit above the
|
|
100
|
+
* chosen element. With `position="top"`, the toast will sit below the chosen element.
|
|
101
|
+
* With `position="middle"`, the value of `positionAnchor` is ignored.
|
|
102
|
+
*/
|
|
103
|
+
positionAnchor?: HTMLElement | string;
|
|
90
104
|
/**
|
|
91
105
|
* An array of buttons for the toast.
|
|
92
106
|
*/
|
|
@@ -190,6 +204,12 @@ export declare class Toast implements ComponentInterface, OverlayInterface {
|
|
|
190
204
|
*/
|
|
191
205
|
onWillDismiss<T = any>(): Promise<OverlayEventDetail<T>>;
|
|
192
206
|
private getButtons;
|
|
207
|
+
/**
|
|
208
|
+
* Returns the element specified by the positionAnchor prop,
|
|
209
|
+
* or undefined if prop's value is an ID string and the element
|
|
210
|
+
* is not found in the DOM.
|
|
211
|
+
*/
|
|
212
|
+
private getAnchorElement;
|
|
193
213
|
private buttonClick;
|
|
194
214
|
private callButtonHandler;
|
|
195
215
|
private dispatchCancelHandler;
|
|
@@ -15,7 +15,7 @@ import { RouteID, RouterDirection, RouterEventDetail, RouteWrite } from "./compo
|
|
|
15
15
|
import { BreadcrumbCollapsedClickEventDetail } from "./components/breadcrumb/breadcrumb-interface";
|
|
16
16
|
import { CheckboxChangeEventDetail } from "./components/checkbox/checkbox-interface";
|
|
17
17
|
import { ScrollBaseDetail, ScrollDetail } from "./components/content/content-interface";
|
|
18
|
-
import { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimePresentation, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
|
|
18
|
+
import { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle, DatetimePresentation, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
|
|
19
19
|
import { SpinnerTypes } from "./components/spinner/spinner-configs";
|
|
20
20
|
import { InputChangeEventDetail, InputInputEventDetail } from "./components/input/input-interface";
|
|
21
21
|
import { CounterFormatter } from "./components/item/item-interface";
|
|
@@ -39,7 +39,7 @@ import { SelectChangeEventDetail, SelectCompareFn, SelectInterface } from "./com
|
|
|
39
39
|
import { SelectPopoverOption } from "./components/select-popover/select-popover-interface";
|
|
40
40
|
import { TabBarChangedEventDetail, TabButtonClickEventDetail, TabButtonLayout } from "./components/tab-bar/tab-bar-interface";
|
|
41
41
|
import { TextareaChangeEventDetail, TextareaInputEventDetail } from "./components/textarea/textarea-interface";
|
|
42
|
-
import { ToastButton, ToastLayout, ToastPosition } from "./components/toast/toast-interface";
|
|
42
|
+
import { ToastButton, ToastDismissOptions, ToastLayout, ToastPosition, ToastPresentOptions } from "./components/toast/toast-interface";
|
|
43
43
|
import { ToggleChangeEventDetail } from "./components/toggle/toggle-interface";
|
|
44
44
|
export { AccordionGroupChangeEventDetail } from "./components/accordion-group/accordion-group-interface";
|
|
45
45
|
export { AnimationBuilder, AutocompleteTypes, Color, ComponentProps, ComponentRef, FrameworkDelegate, StyleEventDetail, TextFieldTypes } from "./interface";
|
|
@@ -51,7 +51,7 @@ export { RouteID, RouterDirection, RouterEventDetail, RouteWrite } from "./compo
|
|
|
51
51
|
export { BreadcrumbCollapsedClickEventDetail } from "./components/breadcrumb/breadcrumb-interface";
|
|
52
52
|
export { CheckboxChangeEventDetail } from "./components/checkbox/checkbox-interface";
|
|
53
53
|
export { ScrollBaseDetail, ScrollDetail } from "./components/content/content-interface";
|
|
54
|
-
export { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimePresentation, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
|
|
54
|
+
export { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle, DatetimePresentation, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
|
|
55
55
|
export { SpinnerTypes } from "./components/spinner/spinner-configs";
|
|
56
56
|
export { InputChangeEventDetail, InputInputEventDetail } from "./components/input/input-interface";
|
|
57
57
|
export { CounterFormatter } from "./components/item/item-interface";
|
|
@@ -75,7 +75,7 @@ export { SelectChangeEventDetail, SelectCompareFn, SelectInterface } from "./com
|
|
|
75
75
|
export { SelectPopoverOption } from "./components/select-popover/select-popover-interface";
|
|
76
76
|
export { TabBarChangedEventDetail, TabButtonClickEventDetail, TabButtonLayout } from "./components/tab-bar/tab-bar-interface";
|
|
77
77
|
export { TextareaChangeEventDetail, TextareaInputEventDetail } from "./components/textarea/textarea-interface";
|
|
78
|
-
export { ToastButton, ToastLayout, ToastPosition } from "./components/toast/toast-interface";
|
|
78
|
+
export { ToastButton, ToastDismissOptions, ToastLayout, ToastPosition, ToastPresentOptions } from "./components/toast/toast-interface";
|
|
79
79
|
export { ToggleChangeEventDetail } from "./components/toggle/toggle-interface";
|
|
80
80
|
export namespace Components {
|
|
81
81
|
interface IonAccordion {
|
|
@@ -865,7 +865,7 @@ export namespace Components {
|
|
|
865
865
|
/**
|
|
866
866
|
* The hour cycle of the `ion-datetime`. If no value is set, this is specified by the current locale.
|
|
867
867
|
*/
|
|
868
|
-
"hourCycle"?:
|
|
868
|
+
"hourCycle"?: DatetimeHourCycle;
|
|
869
869
|
/**
|
|
870
870
|
* Values used to create the list of selectable hours. By default the hour values range from `0` to `23` for 24-hour, or `1` to `12` for 12-hour. However, to control exactly which hours to display, the `hourValues` input can take a number, an array of numbers, or a string of comma separated numbers.
|
|
871
871
|
*/
|
|
@@ -3157,9 +3157,13 @@ export namespace Components {
|
|
|
3157
3157
|
"onWillDismiss": <T = any>() => Promise<OverlayEventDetail<T>>;
|
|
3158
3158
|
"overlayIndex": number;
|
|
3159
3159
|
/**
|
|
3160
|
-
* The position of the toast on the screen.
|
|
3160
|
+
* The starting position of the toast on the screen. Can be tweaked further using the `positionAnchor` property.
|
|
3161
3161
|
*/
|
|
3162
3162
|
"position": ToastPosition;
|
|
3163
|
+
/**
|
|
3164
|
+
* The element to anchor the toast's position to. Can be set as a direct reference or the ID of the element. With `position="bottom"`, the toast will sit above the chosen element. With `position="top"`, the toast will sit below the chosen element. With `position="middle"`, the value of `positionAnchor` is ignored.
|
|
3165
|
+
*/
|
|
3166
|
+
"positionAnchor"?: HTMLElement | string;
|
|
3163
3167
|
/**
|
|
3164
3168
|
* Present the toast overlay after it has been created.
|
|
3165
3169
|
*/
|
|
@@ -4868,7 +4872,7 @@ declare namespace LocalJSX {
|
|
|
4868
4872
|
/**
|
|
4869
4873
|
* The hour cycle of the `ion-datetime`. If no value is set, this is specified by the current locale.
|
|
4870
4874
|
*/
|
|
4871
|
-
"hourCycle"?:
|
|
4875
|
+
"hourCycle"?: DatetimeHourCycle;
|
|
4872
4876
|
/**
|
|
4873
4877
|
* Values used to create the list of selectable hours. By default the hour values range from `0` to `23` for 24-hour, or `1` to `12` for 12-hour. However, to control exactly which hours to display, the `hourValues` input can take a number, an array of numbers, or a string of comma separated numbers.
|
|
4874
4878
|
*/
|
|
@@ -7152,9 +7156,13 @@ declare namespace LocalJSX {
|
|
|
7152
7156
|
*/
|
|
7153
7157
|
"onWillPresent"?: (event: IonToastCustomEvent<void>) => void;
|
|
7154
7158
|
/**
|
|
7155
|
-
* The position of the toast on the screen.
|
|
7159
|
+
* The starting position of the toast on the screen. Can be tweaked further using the `positionAnchor` property.
|
|
7156
7160
|
*/
|
|
7157
7161
|
"position"?: ToastPosition;
|
|
7162
|
+
/**
|
|
7163
|
+
* The element to anchor the toast's position to. Can be set as a direct reference or the ID of the element. With `position="bottom"`, the toast will sit above the chosen element. With `position="top"`, the toast will sit below the chosen element. With `position="middle"`, the value of `positionAnchor` is ignored.
|
|
7164
|
+
*/
|
|
7165
|
+
"positionAnchor"?: HTMLElement | string;
|
|
7158
7166
|
/**
|
|
7159
7167
|
* If `true`, the toast will be translucent. Only applies when the mode is `"ios"` and the device supports [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
7160
7168
|
*/
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { componentOnReady } from './utils/helpers';
|
|
|
10
10
|
export { isPlatform, Platforms, PlatformConfig, getPlatforms } from './utils/platform';
|
|
11
11
|
export { IonicSafeString } from './utils/sanitization';
|
|
12
12
|
export { IonicConfig, getMode, setupConfig } from './utils/config';
|
|
13
|
+
export { openURL } from './utils/theme';
|
|
13
14
|
export { LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, } from './components/nav/constants';
|
|
14
15
|
export { menuController } from './utils/menu-controller';
|
|
15
16
|
export { alertController, actionSheetController, modalController, loadingController, pickerController, popoverController, toastController, } from './utils/overlays';
|
|
@@ -3,6 +3,16 @@ export interface ComponentDecorator {
|
|
|
3
3
|
(opts?: ComponentOptions): ClassDecorator;
|
|
4
4
|
}
|
|
5
5
|
export interface ComponentOptions {
|
|
6
|
+
/**
|
|
7
|
+
* When set to `true` this component will be form-associated. See
|
|
8
|
+
* https://stenciljs.com/docs/next/form-associated documentation on how to
|
|
9
|
+
* build form-associated Stencil components that integrate into forms like
|
|
10
|
+
* native browser elements such as `<input>` and `<textarea>`.
|
|
11
|
+
*
|
|
12
|
+
* The {@link AttachInternals} decorator allows for access to the
|
|
13
|
+
* `ElementInternals` object to modify the associated form.
|
|
14
|
+
*/
|
|
15
|
+
formAssociated?: boolean;
|
|
6
16
|
/**
|
|
7
17
|
* Tag name of the web component. Ideally, the tag name must be globally unique,
|
|
8
18
|
* so it's recommended to choose an unique prefix for all your components within the same collection.
|
|
@@ -107,6 +117,9 @@ export interface EventOptions {
|
|
|
107
117
|
*/
|
|
108
118
|
composed?: boolean;
|
|
109
119
|
}
|
|
120
|
+
export interface AttachInternalsDecorator {
|
|
121
|
+
(): PropertyDecorator;
|
|
122
|
+
}
|
|
110
123
|
export interface ListenDecorator {
|
|
111
124
|
(eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
|
|
112
125
|
}
|
|
@@ -175,6 +188,12 @@ export declare const Element: ElementDecorator;
|
|
|
175
188
|
* https://stenciljs.com/docs/events
|
|
176
189
|
*/
|
|
177
190
|
export declare const Event: EventDecorator;
|
|
191
|
+
/**
|
|
192
|
+
* If the `formAssociated` option is set in options passed to the
|
|
193
|
+
* `@Component()` decorator then this decorator may be used to get access to the
|
|
194
|
+
* `ElementInternals` instance associated with the component.
|
|
195
|
+
*/
|
|
196
|
+
export declare const AttachInternals: AttachInternalsDecorator;
|
|
178
197
|
/**
|
|
179
198
|
* The `Listen()` decorator is for listening DOM events, including the ones
|
|
180
199
|
* dispatched from `@Events()`.
|
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const menuController: {
|
|
4
|
-
registerAnimation: (name: string, animation: AnimationBuilder) => void;
|
|
5
|
-
get: (menu?: string | null) => Promise<HTMLIonMenuElement | undefined>;
|
|
6
|
-
getMenus: () => Promise<HTMLIonMenuElement[]>;
|
|
7
|
-
getOpen: () => Promise<HTMLIonMenuElement | undefined>;
|
|
8
|
-
isEnabled: (menu?: string | null) => Promise<boolean>;
|
|
9
|
-
swipeGesture: (shouldEnable: boolean, menu?: string | null) => Promise<HTMLIonMenuElement | undefined>;
|
|
10
|
-
isAnimating: () => Promise<boolean>;
|
|
11
|
-
isOpen: (menu?: string | null) => Promise<boolean>;
|
|
12
|
-
enable: (shouldEnable: boolean, menu?: string | null) => Promise<HTMLIonMenuElement | undefined>;
|
|
13
|
-
toggle: (menu?: string | null) => Promise<boolean>;
|
|
14
|
-
close: (menu?: string | null) => Promise<boolean>;
|
|
15
|
-
open: (menu?: string | null) => Promise<boolean>;
|
|
16
|
-
_getOpenSync: () => HTMLIonMenuElement | undefined;
|
|
17
|
-
_createAnimation: (type: string, menuCmp: MenuI) => any;
|
|
18
|
-
_register: (menu: MenuI) => void;
|
|
19
|
-
_unregister: (menu: MenuI) => void;
|
|
20
|
-
_setOpen: (menu: MenuI, shouldOpen: boolean, animated: boolean) => Promise<boolean>;
|
|
21
|
-
_setActiveMenu: (menu: MenuI) => void;
|
|
22
|
-
};
|
|
1
|
+
import type { MenuControllerI } from '../../components/menu/menu-interface';
|
|
2
|
+
export declare const menuController: MenuControllerI;
|