@ionic/core 8.2.3-dev.11719525475.1157acc5 → 8.2.3-dev.11719565135.1ab35bb2
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 +13 -8
- package/components/alert.js +14 -10
- package/components/backdrop.js +10 -6
- package/components/button.js +41 -12
- package/components/buttons.js +11 -7
- package/components/caret-down.js +6 -0
- package/components/caret-left.js +6 -0
- package/components/caret-right.js +6 -0
- package/components/checkbox.js +30 -13
- package/components/data.js +4 -4
- package/components/index2.js +1 -2
- package/components/index4.js +8 -7
- package/components/index6.js +27 -30
- package/components/index7.js +124 -27
- package/components/index8.js +150 -111
- package/components/input-shims.js +1 -1
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +9 -6
- package/components/ion-accordion.js +31 -9
- package/components/ion-app.js +5 -6
- package/components/ion-avatar.js +52 -3
- package/components/ion-back-button.js +28 -19
- package/components/ion-badge.js +42 -6
- package/components/ion-breadcrumb.js +44 -11
- package/components/ion-breadcrumbs.js +9 -5
- package/components/ion-card-content.js +9 -5
- package/components/ion-card-header.js +9 -5
- package/components/ion-card-subtitle.js +9 -5
- package/components/ion-card-title.js +9 -5
- package/components/ion-card.js +17 -9
- package/components/ion-chip.js +45 -8
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +11 -11
- package/components/ion-datetime-button.js +9 -6
- package/components/ion-datetime.js +98 -20
- package/components/ion-fab-button.js +32 -10
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +15 -11
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +20 -13
- package/components/ion-img.js +5 -2
- package/components/ion-infinite-scroll-content.js +12 -8
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +44 -10
- package/components/ion-input.js +108 -20
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +9 -5
- package/components/ion-item-option.js +28 -8
- package/components/ion-item-options.js +9 -5
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +12 -8
- package/components/ion-menu-button.js +27 -10
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +11 -7
- package/components/ion-modal.js +14 -11
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +7 -6
- package/components/ion-note.js +9 -5
- package/components/ion-picker-legacy.js +7 -8
- package/components/ion-progress-bar.js +10 -6
- package/components/ion-range.js +11 -8
- package/components/ion-refresher-content.js +27 -9
- package/components/ion-refresher.js +11 -7
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +30 -5
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +2 -2
- package/components/ion-row.js +5 -2
- package/components/ion-searchbar.js +92 -16
- package/components/ion-segment-button.js +12 -8
- package/components/ion-segment.js +9 -5
- package/components/ion-select-option.js +5 -2
- package/components/ion-select.js +76 -28
- package/components/ion-skeleton-text.js +5 -5
- package/components/ion-split-pane.js +12 -8
- package/components/ion-tab-bar.js +11 -7
- package/components/ion-tab-button.js +11 -7
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +13 -9
- package/components/ion-thumbnail.js +5 -2
- package/components/ion-title.js +11 -7
- package/components/ion-toast.js +13 -9
- package/components/ion-toggle.js +73 -18
- package/components/ion-toolbar.js +16 -8
- package/components/ionic-global.js +191 -14
- package/components/ios.transition.js +1 -0
- package/components/item.js +34 -12
- package/components/label.js +9 -5
- package/components/list-header.js +9 -5
- package/components/list.js +29 -6
- package/components/list2.js +6 -0
- package/components/overlays.js +1 -2
- package/components/picker-column-option.js +9 -5
- package/components/picker-column.js +7 -7
- package/components/picker-column2.js +4 -4
- package/components/picker.js +8 -4
- package/components/popover.js +11 -8
- package/components/radio-group.js +5 -3
- package/components/radio.js +12 -8
- package/components/ripple-effect.js +5 -5
- package/components/select-popover.js +9 -2
- package/components/spinner.js +6 -6
- package/components/status-tap.js +1 -1
- package/components/x.js +6 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-be430589.js → app-globals-5b0a3f95.js} +1 -1
- package/dist/cjs/{button-active-5ccc5212.js → button-active-b75108e6.js} +1 -1
- package/dist/cjs/caret-down-3c215cff.js +8 -0
- package/dist/cjs/caret-left-2bb66970.js +8 -0
- package/dist/cjs/caret-right-88e03970.js +8 -0
- package/dist/cjs/{data-21dc0f81.js → data-7d67d1e3.js} +6 -6
- package/dist/cjs/{hardware-back-button-c8e15834.js → hardware-back-button-a90bf4cd.js} +2 -2
- package/dist/cjs/{index-08a41eaf.js → index-59095e03.js} +13 -12
- package/dist/cjs/{index-74e0fcb9.js → index-71f7488c.js} +7 -8
- package/dist/cjs/{index-44d397da.js → index-7f6ce0b7.js} +170 -185
- package/dist/cjs/{index-5b6a7459.js → index-ca6de37f.js} +2 -2
- package/dist/cjs/index.cjs.js +8 -9
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-58aadbb2.js} +3 -2
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-d9907cfc.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +40 -15
- package/dist/cjs/ion-action-sheet.cjs.entry.js +17 -13
- package/dist/cjs/ion-alert.cjs.entry.js +18 -15
- package/dist/cjs/ion-app_8.cjs.entry.js +97 -73
- package/dist/cjs/ion-avatar_3.cjs.entry.js +91 -8
- package/dist/cjs/ion-back-button.cjs.entry.js +28 -19
- package/dist/cjs/ion-backdrop.cjs.entry.js +11 -7
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +52 -15
- package/dist/cjs/ion-button_2.cjs.entry.js +45 -16
- package/dist/cjs/ion-card_5.cjs.entry.js +49 -26
- package/dist/cjs/ion-checkbox.cjs.entry.js +28 -13
- package/dist/cjs/ion-chip.cjs.entry.js +43 -8
- package/dist/cjs/ion-col_3.cjs.entry.js +14 -11
- package/dist/cjs/ion-datetime-button.cjs.entry.js +15 -12
- package/dist/cjs/ion-datetime_3.cjs.entry.js +186 -108
- package/dist/cjs/ion-fab_3.cjs.entry.js +41 -19
- package/dist/cjs/ion-img.cjs.entry.js +6 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +17 -14
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +47 -13
- package/dist/cjs/ion-input.cjs.entry.js +107 -21
- package/dist/cjs/ion-item-option_3.cjs.entry.js +39 -17
- package/dist/cjs/ion-item_8.cjs.entry.js +104 -40
- package/dist/cjs/ion-loading.cjs.entry.js +15 -12
- package/dist/cjs/ion-menu_3.cjs.entry.js +44 -24
- package/dist/cjs/ion-modal.cjs.entry.js +23 -20
- package/dist/cjs/ion-nav_2.cjs.entry.js +10 -9
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +10 -6
- package/dist/cjs/ion-picker-column.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker.cjs.entry.js +9 -5
- package/dist/cjs/ion-popover.cjs.entry.js +18 -15
- package/dist/cjs/ion-progress-bar.cjs.entry.js +11 -7
- package/dist/cjs/ion-radio_2.cjs.entry.js +17 -11
- package/dist/cjs/ion-range.cjs.entry.js +17 -14
- package/dist/cjs/ion-refresher_2.cjs.entry.js +36 -15
- package/dist/cjs/ion-reorder_2.cjs.entry.js +34 -10
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +6 -6
- package/dist/cjs/ion-route_4.cjs.entry.js +7 -7
- package/dist/cjs/ion-searchbar.cjs.entry.js +92 -16
- package/dist/cjs/ion-segment_2.cjs.entry.js +21 -13
- package/dist/cjs/ion-select_3.cjs.entry.js +90 -33
- package/dist/cjs/ion-spinner.cjs.entry.js +7 -7
- package/dist/cjs/ion-split-pane.cjs.entry.js +13 -9
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +22 -14
- package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-text.cjs.entry.js +6 -6
- package/dist/cjs/ion-textarea.cjs.entry.js +15 -12
- package/dist/cjs/ion-toast.cjs.entry.js +36 -32
- package/dist/cjs/ion-toggle.cjs.entry.js +73 -18
- package/dist/cjs/ionic-global-2bd379ad.js +418 -0
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-8be1e851.js → ios.transition-4a91b726.js} +4 -4
- package/dist/cjs/list-2930c629.js +8 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-9b8536b3.js → md.transition-1d783fa9.js} +3 -4
- package/dist/cjs/{overlays-1761ff75.js → overlays-0c0d0193.js} +3 -4
- package/dist/cjs/{status-tap-6e71b616.js → status-tap-87959a2f.js} +3 -3
- package/dist/cjs/x-81a8f51c.js +8 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.ios.css +12 -0
- package/dist/collection/components/accordion/accordion.js +35 -15
- package/dist/collection/components/accordion/accordion.md.css +6 -0
- package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +40 -0
- package/dist/collection/components/accordion/test/accordion.spec.js +195 -0
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +52 -0
- package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +94 -0
- package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +26 -0
- package/dist/collection/components/accordion/test/nested/accordion.e2e.js +24 -0
- package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +94 -0
- package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +15 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +12 -0
- package/dist/collection/components/accordion-group/accordion-group.js +11 -8
- package/dist/collection/components/accordion-group/accordion-group.md.css +18 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +18 -6
- package/dist/collection/components/action-sheet/action-sheet.js +14 -10
- package/dist/collection/components/action-sheet/action-sheet.md.css +17 -5
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +99 -0
- package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +32 -0
- package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +60 -0
- package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +142 -0
- package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +40 -0
- package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +33 -0
- package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +18 -0
- package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +29 -0
- package/dist/collection/components/alert/alert.ios.css +19 -1
- package/dist/collection/components/alert/alert.js +15 -12
- package/dist/collection/components/alert/alert.md.css +19 -1
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +247 -0
- package/dist/collection/components/alert/test/alert-id.spec.js +32 -0
- package/dist/collection/components/alert/test/alert.spec.js +37 -0
- package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +40 -0
- package/dist/collection/components/alert/test/basic/alert.e2e.js +135 -0
- package/dist/collection/components/alert/test/is-open/alert.e2e.js +33 -0
- package/dist/collection/components/alert/test/standalone/alert.e2e.js +17 -0
- package/dist/collection/components/alert/test/trigger/alert.e2e.js +29 -0
- package/dist/collection/components/app/app.js +8 -4
- package/dist/collection/components/app/test/safe-area/app.e2e.js +35 -0
- package/dist/collection/components/avatar/avatar.ionic.css +255 -0
- package/dist/collection/components/avatar/avatar.ios.css +12 -0
- package/dist/collection/components/avatar/avatar.js +92 -4
- package/dist/collection/components/avatar/avatar.md.css +12 -0
- package/dist/collection/components/avatar/test/basic/avatar.e2e.js +24 -0
- package/dist/collection/components/avatar/test/shape/avatar.e2e.js +134 -0
- package/dist/collection/components/avatar/test/size/avatar.e2e.js +147 -0
- package/dist/collection/components/back-button/back-button.ios.css +60 -48
- package/dist/collection/components/back-button/back-button.js +27 -19
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +47 -0
- package/dist/collection/components/back-button/test/back-button.spec.js +86 -0
- package/dist/collection/components/back-button/test/basic/back-button.e2e.js +14 -0
- package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +14 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +13 -1
- package/dist/collection/components/backdrop/backdrop.js +12 -6
- package/dist/collection/components/backdrop/backdrop.md.css +13 -1
- package/dist/collection/components/badge/badge.ionic.css +256 -0
- package/dist/collection/components/badge/badge.ios.css +12 -0
- package/dist/collection/components/badge/badge.js +75 -8
- package/dist/collection/components/badge/badge.md.css +12 -0
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +40 -0
- package/dist/collection/components/badge/test/basic/badge.e2e.js +14 -0
- package/dist/collection/components/badge/test/shape/badge.e2e.js +84 -0
- package/dist/collection/components/badge/test/size/badge.e2e.js +96 -0
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +43 -11
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
- package/dist/collection/components/breadcrumb/test/aria.spec.js +22 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +36 -0
- package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +14 -0
- package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +58 -0
- package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +14 -0
- package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +51 -0
- package/dist/collection/components/button/button.ionic.css +417 -0
- package/dist/collection/components/button/button.ios.css +42 -16
- package/dist/collection/components/button/button.js +46 -17
- package/dist/collection/components/button/button.md.css +33 -20
- package/dist/collection/components/button/test/a11y/button.e2e.js +109 -0
- package/dist/collection/components/button/test/basic/button.e2e.js +51 -0
- package/dist/collection/components/button/test/clear/button.e2e.js +17 -0
- package/dist/collection/components/button/test/expand/button.e2e.js +17 -0
- package/dist/collection/components/button/test/form-reference/button.e2e.js +135 -0
- package/dist/collection/components/button/test/form-reference/button.spec.js +26 -0
- package/dist/collection/components/button/test/icon/button.e2e.js +14 -0
- package/dist/collection/components/button/test/outline/button.e2e.js +15 -0
- package/dist/collection/components/button/test/shape/button.e2e.js +250 -0
- package/dist/collection/components/button/test/size/button.e2e.js +60 -0
- package/dist/collection/components/button/test/states/button.e2e.js +51 -0
- package/dist/collection/components/button/test/strong/button.e2e.js +48 -0
- package/dist/collection/components/button/test/wrap/button.e2e.js +126 -0
- package/dist/collection/components/buttons/buttons.ionic.css +101 -0
- package/dist/collection/components/buttons/buttons.ios.css +59 -7
- package/dist/collection/components/buttons/buttons.js +14 -8
- package/dist/collection/components/buttons/buttons.md.css +55 -3
- package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +74 -0
- package/dist/collection/components/card/card.ionic.css +88 -0
- package/dist/collection/components/card/card.ios.css +30 -4
- package/dist/collection/components/card/card.js +34 -10
- package/dist/collection/components/card/card.md.css +30 -4
- package/dist/collection/components/card/test/a11y/card.e2e.js +31 -0
- package/dist/collection/components/card/test/aria.spec.js +16 -0
- package/dist/collection/components/card/test/basic/card.e2e.js +151 -0
- package/dist/collection/components/card/test/shape/card.e2e.js +40 -0
- package/dist/collection/components/card-content/card-content.ios.css +12 -0
- package/dist/collection/components/card-content/card-content.js +11 -8
- package/dist/collection/components/card-content/card-content.md.css +12 -0
- package/dist/collection/components/card-header/card-header.ios.css +12 -0
- package/dist/collection/components/card-header/card-header.js +12 -9
- package/dist/collection/components/card-header/card-header.md.css +12 -0
- package/dist/collection/components/card-header/test/basic/card-header.e2e.js +14 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +12 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +12 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +389 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +20 -2
- package/dist/collection/components/checkbox/checkbox.js +63 -14
- package/dist/collection/components/checkbox/checkbox.md.css +21 -3
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +42 -0
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +152 -0
- package/dist/collection/components/checkbox/test/checkbox.spec.js +46 -0
- package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +23 -0
- package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +14 -0
- package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +74 -0
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +122 -0
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +68 -0
- package/dist/collection/components/chip/chip.ionic.css +141 -0
- package/dist/collection/components/chip/chip.ios.css +20 -1
- package/dist/collection/components/chip/chip.js +77 -8
- package/dist/collection/components/chip/chip.md.css +20 -1
- package/dist/collection/components/chip/test/a11y/chip.e2e.js +58 -0
- package/dist/collection/components/chip/test/basic/chip.e2e.js +81 -0
- package/dist/collection/components/chip/test/shape/chip.e2e.js +39 -0
- package/dist/collection/components/chip/test/size/chip.e2e.js +26 -0
- package/dist/collection/components/chip/test/states/chip.e2e.js +51 -0
- package/dist/collection/components/col/col.css +12 -0
- package/dist/collection/components/col/col.js +9 -5
- package/dist/collection/components/content/content.css +8 -2
- package/dist/collection/components/content/content.js +13 -10
- package/dist/collection/components/content/test/basic/content.e2e.js +17 -0
- package/dist/collection/components/content/test/content.spec.js +27 -0
- package/dist/collection/components/content/test/fixed/content.e2e.js +17 -0
- package/dist/collection/components/content/test/fullscreen/content.e2e.js +17 -0
- package/dist/collection/components/content/test/standalone/content.e2e.js +16 -0
- package/dist/collection/components/datetime/datetime.ios.css +15 -3
- package/dist/collection/components/datetime/datetime.js +97 -19
- package/dist/collection/components/datetime/datetime.md.css +15 -3
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +94 -0
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +40 -0
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +493 -0
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +27 -0
- package/dist/collection/components/datetime/test/comparison.spec.js +43 -0
- package/dist/collection/components/datetime/test/custom/datetime.e2e.js +52 -0
- package/dist/collection/components/datetime/test/data.spec.js +456 -0
- package/dist/collection/components/datetime/test/datetime.e2e.js +39 -0
- package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +150 -0
- package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +68 -0
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +33 -0
- package/dist/collection/components/datetime/test/display/datetime.e2e.js +121 -0
- package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +14 -0
- package/dist/collection/components/datetime/test/format.spec.js +174 -0
- package/dist/collection/components/datetime/test/helpers.spec.js +72 -0
- package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +86 -0
- package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +37 -0
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +129 -0
- package/dist/collection/components/datetime/test/manipulation.spec.js +565 -0
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +266 -0
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +29 -0
- package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +242 -0
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +34 -0
- package/dist/collection/components/datetime/test/parse.spec.js +222 -0
- package/dist/collection/components/datetime/test/position/datetime.e2e.js +22 -0
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +502 -0
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +27 -0
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +169 -0
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +113 -0
- package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +50 -0
- package/dist/collection/components/datetime/test/state.spec.js +114 -0
- package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +25 -0
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +143 -0
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -8
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +38 -0
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +254 -0
- package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +27 -0
- package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +96 -0
- package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +143 -0
- package/dist/collection/components/fab/fab.css +25 -1
- package/dist/collection/components/fab/fab.js +9 -5
- package/dist/collection/components/fab/test/basic/fab.e2e.js +65 -0
- package/dist/collection/components/fab/test/custom-size/fab.e2e.js +17 -0
- package/dist/collection/components/fab/test/safe-area/fab.e2e.js +63 -0
- package/dist/collection/components/fab/test/states/fab.e2e.js +14 -0
- package/dist/collection/components/fab/test/translucent/fab.e2e.js +28 -0
- package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
- package/dist/collection/components/fab-button/fab-button.js +36 -15
- package/dist/collection/components/fab-button/fab-button.md.css +20 -8
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +66 -0
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/fab-list/fab-list.js +9 -5
- package/dist/collection/components/footer/footer.ios.css +14 -2
- package/dist/collection/components/footer/footer.js +17 -14
- package/dist/collection/components/footer/footer.md.css +12 -0
- package/dist/collection/components/footer/test/basic/footer.e2e.js +61 -0
- package/dist/collection/components/footer/test/fade/footer.e2e.js +21 -0
- package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +26 -0
- package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +17 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/grid/grid.js +9 -5
- package/dist/collection/components/grid/test/basic/grid.e2e.js +17 -0
- package/dist/collection/components/grid/test/offsets/grid.e2e.js +17 -0
- package/dist/collection/components/grid/test/padding/grid.e2e.js +17 -0
- package/dist/collection/components/grid/test/sizes/grid.e2e.js +17 -0
- package/dist/collection/components/header/header.ionic.css +88 -0
- package/dist/collection/components/header/header.ios.css +25 -10
- package/dist/collection/components/header/header.js +38 -15
- package/dist/collection/components/header/header.md.css +23 -8
- package/dist/collection/components/header/test/a11y/header.e2e.js +29 -0
- package/dist/collection/components/header/test/basic/header.e2e.js +156 -0
- package/dist/collection/components/header/test/condense/header.e2e.js +33 -0
- package/dist/collection/components/header/test/fade/header.e2e.js +21 -0
- package/dist/collection/components/header/test/scroll-target/header.e2e.js +26 -0
- package/dist/collection/components/icon/test/basic/icon.e2e.js +16 -0
- package/dist/collection/components/icon/test/dir/icon.e2e.js +23 -0
- package/dist/collection/components/img/img.js +8 -2
- package/dist/collection/components/img/test/basic/img.e2e.js +73 -0
- package/dist/collection/components/img/test/draggable/img.e2e.js +21 -0
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +8 -4
- package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +19 -0
- package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +19 -0
- package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +31 -0
- package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +19 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +37 -0
- package/dist/collection/components/input/input.ionic.css +1031 -0
- package/dist/collection/components/input/input.ios.css +21 -2
- package/dist/collection/components/input/input.js +134 -29
- package/dist/collection/components/input/input.md.css +43 -4
- package/dist/collection/components/input/test/a11y/input.e2e.js +67 -0
- package/dist/collection/components/input/test/basic/input.e2e.js +168 -0
- package/dist/collection/components/input/test/bottom-content/input.e2e.js +164 -0
- package/dist/collection/components/input/test/card/input.e2e.js +22 -0
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +53 -0
- package/dist/collection/components/input/test/color/input.e2e.js +130 -0
- package/dist/collection/components/input/test/fill/input.e2e.js +201 -0
- package/dist/collection/components/input/test/highlight/input.e2e.js +394 -0
- package/dist/collection/components/input/test/input.e2e.js +17 -0
- package/dist/collection/components/input/test/input.spec.js +98 -0
- package/dist/collection/components/input/test/item/input.e2e.js +64 -0
- package/dist/collection/components/input/test/label-placement/input.e2e.js +165 -0
- package/dist/collection/components/input/test/shape/input.e2e.js +165 -0
- package/dist/collection/components/input/test/size/input.e2e.js +164 -0
- package/dist/collection/components/input/test/slot/input.e2e.js +77 -0
- package/dist/collection/components/input/test/states/input.e2e.js +196 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +42 -8
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +21 -0
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +38 -0
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +76 -0
- package/dist/collection/components/item/item.ionic.css +169 -0
- package/dist/collection/components/item/item.ios.css +20 -8
- package/dist/collection/components/item/item.js +38 -17
- package/dist/collection/components/item/item.md.css +31 -7
- package/dist/collection/components/item/test/a11y/item.e2e.js +123 -0
- package/dist/collection/components/item/test/a11y/item.spec.js +48 -0
- package/dist/collection/components/item/test/alignment/item.e2e.js +14 -0
- package/dist/collection/components/item/test/basic/item.e2e.js +35 -0
- package/dist/collection/components/item/test/buttons/item.e2e.js +45 -0
- package/dist/collection/components/item/test/colors/item.e2e.js +17 -0
- package/dist/collection/components/item/test/css-variables/item.e2e.js +17 -0
- package/dist/collection/components/item/test/disabled/item.e2e.js +17 -0
- package/dist/collection/components/item/test/dividers/item.e2e.js +14 -0
- package/dist/collection/components/item/test/groups/item.e2e.js +16 -0
- package/dist/collection/components/item/test/icons/item.e2e.js +14 -0
- package/dist/collection/components/item/test/images/item.e2e.js +14 -0
- package/dist/collection/components/item/test/inputs/item.e2e.js +199 -0
- package/dist/collection/components/item/test/item.spec.js +20 -0
- package/dist/collection/components/item/test/lines/item.e2e.js +14 -0
- package/dist/collection/components/item/test/media/item.e2e.js +14 -0
- package/dist/collection/components/item/test/reorder/item.e2e.js +16 -0
- package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +149 -0
- package/dist/collection/components/item/test/states/item.e2e.js +17 -0
- package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
- package/dist/collection/components/item-divider/item-divider.js +11 -8
- package/dist/collection/components/item-divider/item-divider.md.css +18 -0
- package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +44 -0
- package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +60 -0
- package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +16 -0
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.js +13 -7
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ionic.css +334 -0
- package/dist/collection/components/item-option/item-option.ios.css +14 -2
- package/dist/collection/components/item-option/item-option.js +43 -8
- package/dist/collection/components/item-option/item-option.md.css +14 -2
- package/dist/collection/components/item-options/item-options.ionic.css +260 -0
- package/dist/collection/components/item-options/item-options.ios.css +18 -0
- package/dist/collection/components/item-options/item-options.js +13 -7
- package/dist/collection/components/item-options/item-options.md.css +18 -0
- package/dist/collection/components/item-sliding/item-sliding.css +6 -0
- package/dist/collection/components/item-sliding/item-sliding.js +8 -4
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +62 -0
- package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +33 -0
- package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +162 -0
- package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +35 -0
- package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +29 -0
- package/dist/collection/components/item-sliding/test/shapes/item-sliding.e2e.js +28 -0
- package/dist/collection/components/item-sliding/test/states/item-sliding.e2e.js +26 -0
- package/dist/collection/components/label/label.ios.css +18 -0
- package/dist/collection/components/label/label.js +11 -8
- package/dist/collection/components/label/label.md.css +18 -0
- package/dist/collection/components/label/test/a11y/label.e2e.js +111 -0
- package/dist/collection/components/label/test/basic/label.e2e.js +45 -0
- package/dist/collection/components/label/test/color/label.e2e.js +39 -0
- package/dist/collection/components/label/test/headings/label.e2e.js +13 -0
- package/dist/collection/components/label/test/item/item.e2e.js +24 -0
- package/dist/collection/components/list/list.ionic.css +174 -0
- package/dist/collection/components/list/list.ios.css +18 -0
- package/dist/collection/components/list/list.js +47 -9
- package/dist/collection/components/list/list.md.css +20 -2
- package/dist/collection/components/list/test/a11y/list.e2e.js +15 -0
- package/dist/collection/components/list/test/basic/list.e2e.js +24 -0
- package/dist/collection/components/list/test/inset/list.e2e.js +69 -0
- package/dist/collection/components/list/test/lines/list.e2e.js +167 -0
- package/dist/collection/components/list/test/shape/list.e2e.js +204 -0
- package/dist/collection/components/list-header/list-header.ionic.css +238 -0
- package/dist/collection/components/list-header/list-header.ios.css +18 -0
- package/dist/collection/components/list-header/list-header.js +11 -8
- package/dist/collection/components/list-header/list-header.md.css +18 -0
- package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +24 -0
- package/dist/collection/components/list-header/test/basic/list-header.e2e.js +42 -0
- package/dist/collection/components/loading/loading.ios.css +13 -1
- package/dist/collection/components/loading/loading.js +13 -10
- package/dist/collection/components/loading/loading.md.css +13 -1
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +61 -0
- package/dist/collection/components/loading/test/basic/loading.e2e.js +80 -0
- package/dist/collection/components/loading/test/basic/loading.spec.js +16 -0
- package/dist/collection/components/loading/test/is-open/loading.e2e.js +28 -0
- package/dist/collection/components/loading/test/loading-id.spec.js +32 -0
- package/dist/collection/components/loading/test/loading.spec.js +37 -0
- package/dist/collection/components/loading/test/standalone/loading.e2e.js +21 -0
- package/dist/collection/components/loading/test/trigger/loading.e2e.js +32 -0
- package/dist/collection/components/menu/menu.ios.css +15 -3
- package/dist/collection/components/menu/menu.js +12 -7
- package/dist/collection/components/menu/menu.md.css +15 -3
- package/dist/collection/components/menu/test/a11y/menu.e2e.js +22 -0
- package/dist/collection/components/menu/test/basic/menu.e2e.js +124 -0
- package/dist/collection/components/menu/test/custom/menu.e2e.js +61 -0
- package/dist/collection/components/menu/test/disable/menu.e2e.js +55 -0
- package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +72 -0
- package/dist/collection/components/menu/test/multiple/menu.e2e.js +60 -0
- package/dist/collection/components/menu/test/safe-area/menu.e2e.js +87 -0
- package/dist/collection/components/menu-button/menu-button.ionic.css +240 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +48 -14
- package/dist/collection/components/menu-button/menu-button.js +26 -10
- package/dist/collection/components/menu-button/menu-button.md.css +49 -15
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +48 -0
- package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +23 -0
- package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +14 -0
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +43 -0
- package/dist/collection/components/modal/modal.ios.css +14 -2
- package/dist/collection/components/modal/modal.js +13 -10
- package/dist/collection/components/modal/modal.md.css +14 -2
- package/dist/collection/components/modal/test/a11y/modal.e2e.js +21 -0
- package/dist/collection/components/modal/test/animations/modal.e2e.js +36 -0
- package/dist/collection/components/modal/test/basic/modal.e2e.js +125 -0
- package/dist/collection/components/modal/test/basic/modal.spec.js +35 -0
- package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +55 -0
- package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +73 -0
- package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +27 -0
- package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +191 -0
- package/dist/collection/components/modal/test/card/modal-card.e2e.js +83 -0
- package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +82 -0
- package/dist/collection/components/modal/test/card-nav/modal.e2e.js +38 -0
- package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +22 -0
- package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +42 -0
- package/dist/collection/components/modal/test/custom/modal.e2e.js +24 -0
- package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +20 -0
- package/dist/collection/components/modal/test/dark-mode/model.e2e.js +20 -0
- package/dist/collection/components/modal/test/inline/modal.e2e.js +48 -0
- package/dist/collection/components/modal/test/is-open/modal.e2e.js +25 -0
- package/dist/collection/components/modal/test/modal-attributes.spec.js +32 -0
- package/dist/collection/components/modal/test/modal-id.spec.js +32 -0
- package/dist/collection/components/modal/test/sheet/modal.e2e.js +212 -0
- package/dist/collection/components/modal/test/standalone/modal.e2e.js +19 -0
- package/dist/collection/components/modal/test/trigger/modal.e2e.js +31 -0
- package/dist/collection/components/modal/utils.spec.js +13 -0
- package/dist/collection/components/nav/nav.css +7 -1
- package/dist/collection/components/nav/nav.js +11 -5
- package/dist/collection/components/nav/test/basic/nav.e2e.js +69 -0
- package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +65 -0
- package/dist/collection/components/nav/test/nav-controller.spec.js +749 -0
- package/dist/collection/components/nav/test/nested/nav.e2e.js +66 -0
- package/dist/collection/components/nav/test/routing/nav.e2e.js +87 -0
- package/dist/collection/components/nav-link/nav-link.js +5 -1
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.js +11 -8
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/note/test/a11y/note.e2e.js +95 -0
- package/dist/collection/components/note/test/basic/note.e2e.js +78 -0
- package/dist/collection/components/picker/picker.ios.css +15 -3
- package/dist/collection/components/picker/picker.js +8 -5
- package/dist/collection/components/picker/picker.md.css +15 -3
- package/dist/collection/components/picker/test/a11y/picker.e2e.js +15 -0
- package/dist/collection/components/picker/test/basic/picker.e2e.js +111 -0
- package/dist/collection/components/picker/test/custom/picker.e2e.js +85 -0
- package/dist/collection/components/picker/test/keyboard-entry/picker.e2e.js +183 -0
- package/dist/collection/components/picker-column/picker-column.css +9 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -7
- package/dist/collection/components/picker-column/test/basic/picker-column.e2e.js +64 -0
- package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +91 -0
- package/dist/collection/components/picker-column/test/picker-column.spec.js +83 -0
- package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +39 -0
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +18 -0
- package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +37 -0
- package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +29 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +13 -1
- package/dist/collection/components/picker-legacy/picker.js +7 -6
- package/dist/collection/components/picker-legacy/picker.md.css +13 -1
- package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +25 -0
- package/dist/collection/components/picker-legacy/test/is-open/picker.e2e.js +28 -0
- package/dist/collection/components/picker-legacy/test/picker-id.spec.js +32 -0
- package/dist/collection/components/picker-legacy/test/trigger/picker.e2e.js +32 -0
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
- package/dist/collection/components/picker-legacy-column/test/picker-column-aria.spec.js +35 -0
- package/dist/collection/components/picker-legacy-column/test/picker-column-dynamic.spec.js +29 -0
- package/dist/collection/components/picker-legacy-column/test/picker-column.spec.js +17 -0
- package/dist/collection/components/picker-legacy-column/test/standalone/picker-column.e2e.js +35 -0
- package/dist/collection/components/popover/popover.ios.css +13 -1
- package/dist/collection/components/popover/popover.js +15 -12
- package/dist/collection/components/popover/popover.md.css +13 -1
- package/dist/collection/components/popover/test/adjustment/popover.e2e.js +33 -0
- package/dist/collection/components/popover/test/arrow/popover.e2e.js +27 -0
- package/dist/collection/components/popover/test/async/popover.e2e.js +42 -0
- package/dist/collection/components/popover/test/basic/popover.e2e.js +211 -0
- package/dist/collection/components/popover/test/basic/popover.spec.js +35 -0
- package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +38 -0
- package/dist/collection/components/popover/test/inline/popover.e2e.js +32 -0
- package/dist/collection/components/popover/test/is-open/popover.e2e.js +13 -0
- package/dist/collection/components/popover/test/nested/popover.e2e.js +92 -0
- package/dist/collection/components/popover/test/popover-id.spec.js +32 -0
- package/dist/collection/components/popover/test/position/popover.e2e.js +27 -0
- package/dist/collection/components/popover/test/reference/popover.e2e.js +22 -0
- package/dist/collection/components/popover/test/size/popover.e2e.js +41 -0
- package/dist/collection/components/popover/test/standalone/popover.e2e.js +15 -0
- package/dist/collection/components/popover/test/trigger/popover.e2e.js +46 -0
- package/dist/collection/components/popover/test/util.spec.js +53 -0
- package/dist/collection/components/progress-bar/progress-bar.ios.css +8 -2
- package/dist/collection/components/progress-bar/progress-bar.js +10 -7
- package/dist/collection/components/progress-bar/progress-bar.md.css +8 -2
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +24 -0
- package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +14 -0
- package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +20 -0
- package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +20 -0
- package/dist/collection/components/radio/radio.ios.css +20 -2
- package/dist/collection/components/radio/radio.js +12 -9
- package/dist/collection/components/radio/radio.md.css +20 -2
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +152 -0
- package/dist/collection/components/radio/test/color/radio.e2e.js +27 -0
- package/dist/collection/components/radio/test/item/radio.e2e.js +92 -0
- package/dist/collection/components/radio/test/label-placement/radio.e2e.js +135 -0
- package/dist/collection/components/radio/test/radio.spec.js +60 -0
- package/dist/collection/components/radio/test/states/radio.e2e.js +45 -0
- package/dist/collection/components/radio-group/radio-group.js +9 -3
- package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +85 -0
- package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +56 -0
- package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +80 -0
- package/dist/collection/components/radio-group/test/radio-group.spec.js +69 -0
- package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +35 -0
- package/dist/collection/components/range/range.ios.css +12 -0
- package/dist/collection/components/range/range.js +12 -9
- package/dist/collection/components/range/range.md.css +12 -0
- package/dist/collection/components/range/test/a11y/range.e2e.js +89 -0
- package/dist/collection/components/range/test/active-bar-start/range.e2e.js +14 -0
- package/dist/collection/components/range/test/basic/range.e2e.js +31 -0
- package/dist/collection/components/range/test/color/range.e2e.js +20 -0
- package/dist/collection/components/range/test/custom/range.e2e.js +14 -0
- package/dist/collection/components/range/test/item/range.e2e.js +70 -0
- package/dist/collection/components/range/test/label/range.e2e.js +179 -0
- package/dist/collection/components/range/test/label/range.spec.js +47 -0
- package/dist/collection/components/range/test/range-events.e2e.js +179 -0
- package/dist/collection/components/range/test/range.spec.js +209 -0
- package/dist/collection/components/range/test/scroll-target/range.e2e.js +35 -0
- package/dist/collection/components/range/test/states/range.e2e.js +53 -0
- package/dist/collection/components/refresher/refresher.ios.css +14 -1
- package/dist/collection/components/refresher/refresher.js +11 -8
- package/dist/collection/components/refresher/refresher.md.css +15 -2
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +26 -0
- package/dist/collection/components/refresher/test/basic/refresher.e2e.js +38 -0
- package/dist/collection/components/refresher/test/fullscreen/refresher.e2e.js +77 -0
- package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +38 -0
- package/dist/collection/components/refresher-content/refresher-content.css +0 -0
- package/dist/collection/components/refresher-content/refresher-content.js +28 -7
- package/dist/collection/components/refresher-content/test/refresher-content.spec.js +46 -0
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +33 -6
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.js +8 -4
- package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +33 -0
- package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +36 -0
- package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +32 -0
- package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +32 -0
- package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +32 -0
- package/dist/collection/components/ripple-effect/ripple-effect.css +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +8 -4
- package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +66 -0
- package/dist/collection/components/route/route.js +4 -0
- package/dist/collection/components/router/router.js +4 -0
- package/dist/collection/components/router/test/basic/router.e2e.js +68 -0
- package/dist/collection/components/router/test/guards/href/router.e2e.js +60 -0
- package/dist/collection/components/router/test/guards/link/router.e2e.js +60 -0
- package/dist/collection/components/router/test/guards/push/router.e2e.js +60 -0
- package/dist/collection/components/router/test/guards/router.e2e.js +13 -0
- package/dist/collection/components/router/test/matching.spec.js +250 -0
- package/dist/collection/components/router/test/parser.spec.js +133 -0
- package/dist/collection/components/router/test/path.spec.js +218 -0
- package/dist/collection/components/router/test/router.spec.js +55 -0
- package/dist/collection/components/router-link/router-link.css +8 -2
- package/dist/collection/components/router-link/router-link.js +9 -5
- package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +23 -0
- package/dist/collection/components/router-outlet/router-outlet.css +7 -1
- package/dist/collection/components/router-outlet/router-outlet.js +5 -2
- package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +39 -0
- package/dist/collection/components/row/row.css +12 -0
- package/dist/collection/components/row/row.js +9 -2
- package/dist/collection/components/searchbar/searchbar.ionic.css +270 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +56 -18
- package/dist/collection/components/searchbar/searchbar.js +96 -24
- package/dist/collection/components/searchbar/searchbar.md.css +56 -18
- package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +37 -0
- package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +161 -0
- package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +67 -0
- package/dist/collection/components/searchbar/test/searchbar.spec.js +33 -0
- package/dist/collection/components/segment/segment.ios.css +18 -0
- package/dist/collection/components/segment/segment.js +11 -8
- package/dist/collection/components/segment/segment.md.css +18 -0
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +69 -0
- package/dist/collection/components/segment/test/basic/segment.e2e.js +84 -0
- package/dist/collection/components/segment/test/custom/segment.e2e.js +14 -0
- package/dist/collection/components/segment/test/icon/segment.e2e.js +29 -0
- package/dist/collection/components/segment/test/modes/segment.e2e.js +38 -0
- package/dist/collection/components/segment/test/scrollable/segment.e2e.js +83 -0
- package/dist/collection/components/segment/test/segment-events.e2e.js +209 -0
- package/dist/collection/components/segment/test/segment.spec.js +37 -0
- package/dist/collection/components/segment/test/toolbar/segment.e2e.js +122 -0
- package/dist/collection/components/segment/test/wrap/segment.e2e.js +85 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +16 -4
- package/dist/collection/components/segment-button/segment-button.js +12 -9
- package/dist/collection/components/segment-button/segment-button.md.css +18 -6
- package/dist/collection/components/select/select.ios.css +22 -3
- package/dist/collection/components/select/select.js +79 -31
- package/dist/collection/components/select/select.md.css +38 -5
- package/dist/collection/components/select/test/a11y/select.e2e.js +101 -0
- package/dist/collection/components/select/test/async/select.e2e.js +25 -0
- package/dist/collection/components/select/test/basic/select.e2e.js +195 -0
- package/dist/collection/components/select/test/card/select.e2e.js +22 -0
- package/dist/collection/components/select/test/color/select.e2e.js +42 -0
- package/dist/collection/components/select/test/compare-with/select.e2e.js +67 -0
- package/dist/collection/components/select/test/custom/select.e2e.js +68 -0
- package/dist/collection/components/select/test/disabled/select.e2e.js +30 -0
- package/dist/collection/components/select/test/fill/select.e2e.js +217 -0
- package/dist/collection/components/select/test/highlight/select.e2e.js +209 -0
- package/dist/collection/components/select/test/item/select.e2e.js +56 -0
- package/dist/collection/components/select/test/label/select.e2e.js +245 -0
- package/dist/collection/components/select/test/popover-size/select.e2e.js +80 -0
- package/dist/collection/components/select/test/select.spec.js +96 -0
- package/dist/collection/components/select/test/slot/select.e2e.js +79 -0
- package/dist/collection/components/select/test/states/select.e2e.js +41 -0
- package/dist/collection/components/select/test/toggle-icon/select.e2e.js +30 -0
- package/dist/collection/components/select/test/wrapping/select.e2e.js +36 -0
- package/dist/collection/components/select-option/select-option.js +9 -2
- package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
- package/dist/collection/components/select-popover/select-popover.js +12 -4
- package/dist/collection/components/select-popover/select-popover.md.css +18 -0
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +32 -0
- package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +77 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
- package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +14 -0
- package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +14 -0
- package/dist/collection/components/spinner/spinner.css +6 -0
- package/dist/collection/components/spinner/spinner.js +10 -6
- package/dist/collection/components/spinner/test/basic/spinner.e2e.js +18 -0
- package/dist/collection/components/spinner/test/color/spinner.e2e.js +21 -0
- package/dist/collection/components/spinner/test/resize/spinner.e2e.js +35 -0
- package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
- package/dist/collection/components/split-pane/split-pane.js +14 -8
- package/dist/collection/components/split-pane/split-pane.md.css +20 -2
- package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +29 -0
- package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +31 -0
- package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +41 -0
- package/dist/collection/components/tab/tab.js +6 -2
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +200 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +64 -43
- package/dist/collection/components/tab-bar/tab-bar.js +12 -9
- package/dist/collection/components/tab-bar/tab-bar.md.css +64 -43
- package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +77 -0
- package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +14 -0
- package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +70 -0
- package/dist/collection/components/tab-button/tab-button.ionic.css +273 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +103 -88
- package/dist/collection/components/tab-button/tab-button.js +11 -8
- package/dist/collection/components/tab-button/tab-button.md.css +103 -88
- package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +15 -0
- package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +81 -0
- package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +123 -0
- package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +65 -0
- package/dist/collection/components/tabs/tabs.css +7 -1
- package/dist/collection/components/tabs/tabs.js +4 -1
- package/dist/collection/components/tabs/test/basic/tabs.e2e.js +32 -0
- package/dist/collection/components/tabs/test/placements/tabs.e2e.js +39 -0
- package/dist/collection/components/text/test/basic/text.e2e.js +30 -0
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/text/text.js +7 -6
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +67 -0
- package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +48 -0
- package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +120 -0
- package/dist/collection/components/textarea/test/card/textarea.e2e.js +22 -0
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +61 -0
- package/dist/collection/components/textarea/test/color/textarea.e2e.js +131 -0
- package/dist/collection/components/textarea/test/cols/textarea.e2e.js +37 -0
- package/dist/collection/components/textarea/test/fill/textarea.e2e.js +205 -0
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +303 -0
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +64 -0
- package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +224 -0
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +63 -0
- package/dist/collection/components/textarea/test/states/textarea.e2e.js +23 -0
- package/dist/collection/components/textarea/test/textarea-events.e2e.js +70 -0
- package/dist/collection/components/textarea/test/textarea.spec.js +59 -0
- package/dist/collection/components/textarea/textarea.ios.css +26 -1
- package/dist/collection/components/textarea/textarea.js +15 -12
- package/dist/collection/components/textarea/textarea.md.css +39 -2
- package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +48 -0
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/test/a11y/title.e2e.js +61 -0
- package/dist/collection/components/title/test/basic/title.e2e.js +30 -0
- package/dist/collection/components/title/title.ionic.css +147 -0
- package/dist/collection/components/title/title.ios.css +32 -4
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +32 -4
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +210 -0
- package/dist/collection/components/toast/test/basic/toast.e2e.js +123 -0
- package/dist/collection/components/toast/test/is-open/toast.e2e.js +28 -0
- package/dist/collection/components/toast/test/layout/toast.e2e.js +17 -0
- package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +45 -0
- package/dist/collection/components/toast/test/standalone/toast.e2e.js +21 -0
- package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +84 -0
- package/dist/collection/components/toast/test/toast-config.spec.js +25 -0
- package/dist/collection/components/toast/test/toast-id.spec.js +32 -0
- package/dist/collection/components/toast/test/toast.spec.js +212 -0
- package/dist/collection/components/toast/test/trigger/toast.e2e.js +32 -0
- package/dist/collection/components/toast/toast.ios.css +12 -0
- package/dist/collection/components/toast/toast.js +15 -11
- package/dist/collection/components/toast/toast.md.css +12 -0
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +21 -0
- package/dist/collection/components/toggle/test/color/toggle.e2e.js +23 -0
- package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +61 -0
- package/dist/collection/components/toggle/test/item/toggle.e2e.js +104 -0
- package/dist/collection/components/toggle/test/label/toggle.e2e.js +120 -0
- package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +14 -0
- package/dist/collection/components/toggle/test/states/toggle.e2e.js +30 -0
- package/dist/collection/components/toggle/test/toggle.spec.js +67 -0
- package/dist/collection/components/toggle/toggle.ios.css +23 -2
- package/dist/collection/components/toggle/toggle.js +70 -18
- package/dist/collection/components/toggle/toggle.md.css +20 -2
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +143 -0
- package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +17 -0
- package/dist/collection/components/toolbar/toolbar.ionic.css +239 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +90 -47
- package/dist/collection/components/toolbar/toolbar.js +34 -10
- package/dist/collection/components/toolbar/toolbar.md.css +90 -47
- package/dist/collection/css/test/link/basic/link.e2e.js +35 -0
- package/dist/collection/css/test/typography/a11y/typography.e2e.js +50 -0
- package/dist/collection/css/test/typography/basic/typography.e2e.js +14 -0
- package/dist/collection/global/ionic-global.js +161 -13
- package/dist/collection/global/test/config-controller.spec.js +85 -0
- package/dist/collection/global/test/ionic-global.spec.js +109 -0
- package/dist/collection/themes/native/test/colors/theme.e2e.js +170 -0
- package/dist/collection/utils/animation/test/animation.spec.js +358 -0
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +31 -0
- package/dist/collection/utils/animation/test/basic/animation.e2e.js +17 -0
- package/dist/collection/utils/animation/test/display/animation.e2e.js +24 -0
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +45 -0
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +30 -0
- package/dist/collection/utils/content/content.utils.spec.js +137 -0
- package/dist/collection/utils/floating-point/floating-point.spec.js +22 -0
- package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +52 -0
- package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +52 -0
- package/dist/collection/utils/helpers.spec.js +36 -0
- package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +115 -0
- package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +21 -0
- package/dist/collection/utils/keyboard/test/keyboard.spec.js +214 -0
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +2 -1
- package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
- package/dist/collection/utils/rtl/dir.spec.js +25 -0
- package/dist/collection/utils/sanitization/test/sanitization.spec.js +43 -0
- package/dist/collection/utils/tap-click/test/tap-click.e2e.js +25 -0
- package/dist/collection/utils/test/attributes.spec.js +53 -0
- package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +33 -0
- package/dist/collection/utils/test/hardware-back-button.spec.js +91 -0
- package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +65 -0
- package/dist/collection/utils/test/overlays/overlays.e2e.js +301 -0
- package/dist/collection/utils/test/overlays/overlays.spec.js +206 -0
- package/dist/collection/utils/test/platform.spec.js +132 -0
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/page/utils/goto.js +14 -5
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +13 -1
- package/dist/collection/utils/test/ready.spec.js +39 -0
- package/dist/collection/utils/test/theme.spec.js +56 -0
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +6553 -327
- package/dist/esm/{app-globals-d2bbf400.js → app-globals-1fabe499.js} +1 -1
- package/dist/esm/{button-active-fe4a550b.js → button-active-367a8e84.js} +1 -1
- package/dist/esm/caret-down-3eaad1cc.js +6 -0
- package/dist/esm/caret-left-33424bb0.js +6 -0
- package/dist/esm/caret-right-68d856ad.js +6 -0
- package/dist/esm/{data-ae11fd43.js → data-63b889c5.js} +4 -4
- package/dist/esm/{hardware-back-button-c807ed8f.js → hardware-back-button-2da817f5.js} +2 -2
- package/dist/esm/{index-5cc724f3.js → index-00b4cca5.js} +1 -1
- package/dist/esm/{index-d0939b0d.js → index-3321c202.js} +171 -186
- package/dist/esm/{index-c0c6139c.js → index-33a3d901.js} +4 -5
- package/dist/esm/{index-e42295b5.js → index-44013081.js} +9 -8
- package/dist/esm/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm/index.js +8 -9
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-c142630d.js} +3 -2
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-68c66dbc.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +40 -15
- package/dist/esm/ion-action-sheet.entry.js +17 -13
- package/dist/esm/ion-alert.entry.js +18 -15
- package/dist/esm/ion-app_8.entry.js +86 -62
- package/dist/esm/ion-avatar_3.entry.js +91 -8
- package/dist/esm/ion-back-button.entry.js +29 -20
- package/dist/esm/ion-backdrop.entry.js +11 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +53 -16
- package/dist/esm/ion-button_2.entry.js +42 -13
- package/dist/esm/ion-card_5.entry.js +49 -26
- package/dist/esm/ion-checkbox.entry.js +28 -13
- package/dist/esm/ion-chip.entry.js +43 -8
- package/dist/esm/ion-col_3.entry.js +14 -11
- package/dist/esm/ion-datetime-button.entry.js +11 -8
- package/dist/esm/ion-datetime_3.entry.js +111 -33
- package/dist/esm/ion-fab_3.entry.js +42 -20
- package/dist/esm/ion-img.entry.js +6 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +17 -14
- package/dist/esm/ion-input-password-toggle.entry.js +45 -11
- package/dist/esm/ion-input.entry.js +108 -22
- package/dist/esm/ion-item-option_3.entry.js +39 -17
- package/dist/esm/ion-item_8.entry.js +105 -41
- package/dist/esm/ion-loading.entry.js +15 -12
- package/dist/esm/ion-menu_3.entry.js +45 -25
- package/dist/esm/ion-modal.entry.js +18 -15
- package/dist/esm/ion-nav_2.entry.js +10 -9
- package/dist/esm/ion-picker-column-option.entry.js +10 -6
- package/dist/esm/ion-picker-column.entry.js +8 -8
- package/dist/esm/ion-picker.entry.js +9 -5
- package/dist/esm/ion-popover.entry.js +15 -12
- package/dist/esm/ion-progress-bar.entry.js +11 -7
- package/dist/esm/ion-radio_2.entry.js +17 -11
- package/dist/esm/ion-range.entry.js +12 -9
- package/dist/esm/ion-refresher_2.entry.js +37 -16
- package/dist/esm/ion-reorder_2.entry.js +35 -11
- package/dist/esm/ion-ripple-effect.entry.js +6 -6
- package/dist/esm/ion-route_4.entry.js +7 -7
- package/dist/esm/ion-searchbar.entry.js +93 -17
- package/dist/esm/ion-segment_2.entry.js +21 -13
- package/dist/esm/ion-select_3.entry.js +91 -34
- package/dist/esm/ion-spinner.entry.js +7 -7
- package/dist/esm/ion-split-pane.entry.js +13 -9
- package/dist/esm/ion-tab-bar_2.entry.js +22 -14
- package/dist/esm/ion-tab_2.entry.js +5 -5
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +15 -12
- package/dist/esm/ion-toast.entry.js +16 -12
- package/dist/esm/ion-toggle.entry.js +74 -19
- package/dist/esm/ionic-global-be8fa30a.js +408 -0
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-a7de9ae0.js → ios.transition-688eab99.js} +4 -4
- package/dist/esm/list-6524700c.js +6 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-afeeb8ad.js → md.transition-0540d1d2.js} +3 -4
- package/dist/esm/{overlays-b38bea39.js → overlays-a0e93007.js} +2 -3
- package/dist/esm/{status-tap-24635649.js → status-tap-8d02be66.js} +3 -3
- package/dist/esm/x-a64bcd9f.js +6 -0
- package/dist/esm-es5/app-globals-1fabe499.js +4 -0
- package/dist/esm-es5/{button-active-fe4a550b.js → button-active-367a8e84.js} +1 -1
- package/dist/esm-es5/caret-down-3eaad1cc.js +4 -0
- package/dist/esm-es5/caret-left-33424bb0.js +4 -0
- package/dist/esm-es5/caret-right-68d856ad.js +4 -0
- package/dist/esm-es5/data-63b889c5.js +4 -0
- package/dist/esm-es5/{hardware-back-button-c807ed8f.js → hardware-back-button-2da817f5.js} +1 -1
- package/dist/esm-es5/index-00b4cca5.js +4 -0
- package/dist/esm-es5/index-3321c202.js +5 -0
- package/dist/esm-es5/index-33a3d901.js +4 -0
- package/dist/esm-es5/index-44013081.js +4 -0
- package/dist/esm-es5/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-c142630d.js +4 -0
- package/dist/esm-es5/input.utils-68c66dbc.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-be8fa30a.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-688eab99.js +4 -0
- package/dist/esm-es5/list-6524700c.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-0540d1d2.js +4 -0
- package/dist/esm-es5/overlays-a0e93007.js +4 -0
- package/dist/esm-es5/status-tap-8d02be66.js +4 -0
- package/dist/esm-es5/x-a64bcd9f.js +4 -0
- package/dist/html.html-data.json +2114 -125
- 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-01ae1aa0.entry.js +4 -0
- package/dist/ionic/p-01d80901.system.js +4 -0
- package/dist/ionic/p-021bee2f.system.entry.js +4 -0
- package/dist/ionic/p-06ec4706.js +4 -0
- package/dist/ionic/p-07012c84.system.entry.js +4 -0
- package/dist/ionic/p-0a93c048.system.js +4 -0
- package/dist/ionic/{p-1e955a45.system.js → p-115d74cd.system.js} +1 -1
- package/dist/ionic/p-1219eea0.system.entry.js +4 -0
- package/dist/ionic/{p-047f956b.system.entry.js → p-128f0f15.system.entry.js} +2 -2
- package/dist/ionic/{p-14f12331.js → p-15901e6c.js} +1 -1
- package/dist/ionic/p-17cd5a7d.system.entry.js +4 -0
- package/dist/ionic/{p-9ea607bd.system.js → p-1b75a2d2.system.js} +2 -2
- package/dist/ionic/p-1dbb7fa3.entry.js +4 -0
- package/dist/ionic/p-1e965028.system.entry.js +4 -0
- package/dist/ionic/p-1ecfe64f.system.js +4 -0
- package/dist/ionic/p-223bc7dd.system.entry.js +4 -0
- package/dist/ionic/p-22fef691.js +4 -0
- package/dist/ionic/p-243adf8c.js +4 -0
- package/dist/ionic/p-24592a4d.system.entry.js +4 -0
- package/dist/ionic/p-2755ad75.system.entry.js +4 -0
- package/dist/ionic/p-27e42c9e.system.js +4 -0
- package/dist/ionic/p-28649e61.entry.js +4 -0
- package/dist/ionic/p-28a10445.system.js +4 -0
- package/dist/ionic/{p-0c06e09b.system.js → p-2ac68c59.system.js} +1 -1
- package/dist/ionic/{p-be223ece.system.entry.js → p-2d618ba6.system.entry.js} +1 -1
- package/dist/ionic/p-2df16673.system.js +5 -0
- package/dist/ionic/{p-06e58c4e.js → p-2fa9c16c.js} +1 -1
- package/dist/ionic/p-359afeb0.system.entry.js +4 -0
- package/dist/ionic/{p-daed612a.system.entry.js → p-3862d08b.system.entry.js} +1 -1
- package/dist/ionic/p-3c18022f.entry.js +4 -0
- package/dist/ionic/p-3db8f80a.system.entry.js +4 -0
- package/dist/ionic/p-3dcadd72.entry.js +4 -0
- package/dist/ionic/p-3e2568b9.system.js +4 -0
- package/dist/ionic/p-3e9a1680.js +4 -0
- package/dist/ionic/{p-d4e4843b.entry.js → p-4058051c.entry.js} +1 -1
- package/dist/ionic/{p-5792993b.entry.js → p-4079d071.entry.js} +1 -1
- package/dist/ionic/p-40c14f53.system.entry.js +4 -0
- package/dist/ionic/{p-0b36037f.entry.js → p-41c9fb60.entry.js} +1 -1
- package/dist/ionic/p-42452dc9.entry.js +4 -0
- package/dist/ionic/p-42816eab.entry.js +4 -0
- package/dist/ionic/p-429dd2b5.system.js +4 -0
- package/dist/ionic/p-4346453b.entry.js +4 -0
- package/dist/ionic/p-45ca3acb.system.entry.js +4 -0
- package/dist/ionic/p-479bec54.entry.js +4 -0
- package/dist/ionic/p-493a4548.js +5 -0
- package/dist/ionic/p-4b9c6418.system.entry.js +4 -0
- package/dist/ionic/p-4d6c2031.system.entry.js +4 -0
- package/dist/ionic/p-546438d8.js +4 -0
- package/dist/ionic/p-56041398.entry.js +4 -0
- package/dist/ionic/p-563a8d3b.entry.js +4 -0
- package/dist/ionic/p-56c72f65.system.entry.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-58f16ef6.js} +1 -1
- package/dist/ionic/p-5b57d327.system.js +4 -0
- package/dist/ionic/p-607c9c33.js +4 -0
- package/dist/ionic/p-610df697.entry.js +4 -0
- package/dist/ionic/p-61ddbdb9.entry.js +4 -0
- package/dist/ionic/p-644c505f.js +4 -0
- package/dist/ionic/p-645a7748.entry.js +4 -0
- package/dist/ionic/p-659ffb2c.entry.js +4 -0
- package/dist/ionic/{p-d60342e3.js → p-6649365e.js} +1 -1
- package/dist/ionic/{p-ad379d5f.system.entry.js → p-67f85d9a.system.entry.js} +1 -1
- package/dist/ionic/p-6a0dd6bc.js +4 -0
- package/dist/ionic/p-6ac07175.system.entry.js +4 -0
- package/dist/ionic/p-6c57ed08.js +4 -0
- package/dist/ionic/p-6ced0cc0.entry.js +4 -0
- package/dist/ionic/p-6daa3633.entry.js +4 -0
- package/dist/ionic/p-7176128c.entry.js +4 -0
- package/dist/ionic/p-72e98815.system.js +4 -0
- package/dist/ionic/p-79113968.js +4 -0
- package/dist/ionic/p-7ab9c88c.system.entry.js +4 -0
- package/dist/ionic/p-7b590e46.system.js +4 -0
- package/dist/ionic/p-7b914bfb.entry.js +4 -0
- package/dist/ionic/p-7bf2087e.entry.js +4 -0
- package/dist/ionic/p-7dad531c.system.entry.js +4 -0
- package/dist/ionic/p-7f8960a9.system.entry.js +4 -0
- package/dist/ionic/p-8102551e.system.entry.js +4 -0
- package/dist/ionic/p-82df3737.system.entry.js +4 -0
- package/dist/ionic/p-87e823ce.js +4 -0
- package/dist/ionic/p-8a04868b.system.entry.js +4 -0
- package/dist/ionic/p-8ac5efa9.entry.js +4 -0
- package/dist/ionic/p-8b8aacb5.system.entry.js +4 -0
- package/dist/ionic/p-8ed0cef4.system.entry.js +4 -0
- package/dist/ionic/p-90027267.system.js +4 -0
- package/dist/ionic/p-924deb6b.entry.js +4 -0
- package/dist/ionic/p-935801cc.entry.js +4 -0
- package/dist/ionic/p-93c51199.system.entry.js +4 -0
- package/dist/ionic/p-9771abb4.entry.js +4 -0
- package/dist/ionic/p-9a793db6.entry.js +4 -0
- package/dist/ionic/p-9b925d37.system.entry.js +4 -0
- package/dist/ionic/p-9ead4417.js +4 -0
- package/dist/ionic/{p-bcce7e0e.system.js → p-a06d7e6a.system.js} +1 -1
- package/dist/ionic/p-a2830649.system.entry.js +4 -0
- package/dist/ionic/{p-0fe97ea1.system.entry.js → p-a2b60239.system.entry.js} +1 -1
- package/dist/ionic/p-a3b856e6.system.entry.js +4 -0
- package/dist/ionic/{p-1389c4d5.js → p-a42e4adb.js} +1 -1
- package/dist/ionic/p-a63acaa5.entry.js +4 -0
- package/dist/ionic/p-a9af4103.js +4 -0
- package/dist/ionic/p-ab038d73.system.entry.js +4 -0
- package/dist/ionic/p-ab08cad3.entry.js +4 -0
- package/dist/ionic/p-ada5e8bb.entry.js +4 -0
- package/dist/ionic/p-b0c99bd1.system.entry.js +4 -0
- package/dist/ionic/p-b374abe2.entry.js +4 -0
- package/dist/ionic/{p-1249fc03.system.entry.js → p-b5cc6e57.system.entry.js} +2 -2
- package/dist/ionic/p-b5e5f6f4.entry.js +4 -0
- package/dist/ionic/p-bab398d1.entry.js +4 -0
- package/dist/ionic/p-bae1a2ac.entry.js +4 -0
- package/dist/ionic/p-bb7162de.system.js +4 -0
- package/dist/ionic/p-c1930bc2.entry.js +4 -0
- package/dist/ionic/p-c20e6ebc.system.entry.js +4 -0
- package/dist/ionic/{p-a477e09f.entry.js → p-c23822f8.entry.js} +1 -1
- package/dist/ionic/p-c248c88d.system.js +4 -0
- package/dist/ionic/p-c374ab05.system.js +4 -0
- package/dist/ionic/{p-006f399f.entry.js → p-c47b75e3.entry.js} +1 -1
- package/dist/ionic/p-c6a59587.entry.js +4 -0
- package/dist/ionic/p-c79decb5.system.entry.js +4 -0
- package/dist/ionic/p-ca5aaed3.system.entry.js +4 -0
- package/dist/ionic/{p-96cc4814.js → p-cd99310b.js} +1 -1
- package/dist/ionic/p-d281c150.system.entry.js +4 -0
- package/dist/ionic/p-d2a580db.entry.js +4 -0
- package/dist/ionic/p-d4f55a93.entry.js +4 -0
- package/dist/ionic/p-d8893d17.entry.js +4 -0
- package/dist/ionic/{p-f687573e.system.js → p-d98a1d99.system.js} +1 -1
- package/dist/ionic/p-db08a2d0.system.entry.js +4 -0
- package/dist/ionic/p-dc60009b.system.entry.js +4 -0
- package/dist/ionic/p-dc8a3888.entry.js +4 -0
- package/dist/ionic/p-e2313846.entry.js +4 -0
- package/dist/ionic/p-e2bc9ce2.system.entry.js +4 -0
- package/dist/ionic/p-e3b70846.system.js +4 -0
- package/dist/ionic/{p-90b828d6.entry.js → p-e59d16bd.entry.js} +1 -1
- package/dist/ionic/{p-9556c360.system.entry.js → p-e7e3ba54.system.entry.js} +1 -1
- package/dist/ionic/p-e8aa220a.js +4 -0
- package/dist/ionic/p-ebc71ff5.system.entry.js +4 -0
- package/dist/ionic/p-f0fab903.system.entry.js +4 -0
- package/dist/ionic/p-f621b019.entry.js +4 -0
- package/dist/ionic/p-f6597755.system.entry.js +4 -0
- package/dist/ionic/p-f865b10c.entry.js +4 -0
- package/dist/ionic/{p-7b898c20.system.js → p-fa019443.system.js} +1 -1
- package/dist/ionic/p-fb17d462.entry.js +4 -0
- package/dist/ionic/{p-84d98719.system.js → p-fc9f9e4d.system.js} +2 -2
- package/dist/ionic/p-fcb1218a.system.entry.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +4 -2
- package/dist/types/components/accordion-group/accordion-group.d.ts +2 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
- package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
- package/dist/types/components/alert/alert-interface.d.ts +3 -7
- package/dist/types/components/alert/alert.d.ts +3 -2
- package/dist/types/components/app/app.d.ts +4 -0
- package/dist/types/components/avatar/avatar.d.ts +25 -0
- package/dist/types/components/back-button/back-button.d.ts +2 -1
- package/dist/types/components/backdrop/backdrop.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +23 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +4 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +15 -4
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +8 -1
- package/dist/types/components/card-content/card-content.d.ts +2 -1
- package/dist/types/components/card-header/card-header.d.ts +3 -2
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
- package/dist/types/components/card-title/card-title.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +14 -4
- package/dist/types/components/chip/chip.d.ts +19 -1
- package/dist/types/components/col/col.d.ts +4 -0
- package/dist/types/components/content/content.d.ts +3 -0
- package/dist/types/components/datetime/datetime.d.ts +26 -1
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
- package/dist/types/components/fab/fab.d.ts +4 -0
- package/dist/types/components/fab-button/fab-button.d.ts +5 -3
- package/dist/types/components/fab-list/fab-list.d.ts +4 -0
- package/dist/types/components/footer/footer.d.ts +4 -3
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/header/header.d.ts +9 -3
- package/dist/types/components/img/img.d.ts +3 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +4 -0
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +30 -5
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +2 -0
- package/dist/types/components/item/item.d.ts +6 -4
- package/dist/types/components/item-divider/item-divider.d.ts +2 -1
- package/dist/types/components/item-group/item-group.d.ts +4 -0
- package/dist/types/components/item-option/item-option.d.ts +11 -1
- package/dist/types/components/item-options/item-options.d.ts +4 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +4 -0
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +15 -1
- package/dist/types/components/list-header/list-header.d.ts +2 -1
- package/dist/types/components/loading/loading-interface.d.ts +2 -7
- package/dist/types/components/loading/loading.d.ts +3 -2
- package/dist/types/components/menu/menu.d.ts +3 -0
- package/dist/types/components/menu-button/menu-button.d.ts +3 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/modal-interface.d.ts +3 -7
- package/dist/types/components/modal/modal.d.ts +2 -1
- package/dist/types/components/nav/nav-interface.d.ts +9 -1
- package/dist/types/components/nav/nav.d.ts +5 -1
- package/dist/types/components/nav-link/nav-link.d.ts +4 -0
- package/dist/types/components/note/note.d.ts +2 -1
- package/dist/types/components/picker/picker.d.ts +2 -1
- package/dist/types/components/picker-column/picker-column.d.ts +2 -1
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
- package/dist/types/components/picker-legacy/picker.d.ts +2 -1
- package/dist/types/components/popover/popover-interface.d.ts +3 -6
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/progress-bar/progress-bar.d.ts +2 -1
- package/dist/types/components/radio/radio.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/range/range.d.ts +2 -1
- package/dist/types/components/refresher/refresher.d.ts +2 -1
- package/dist/types/components/refresher-content/refresher-content.d.ts +4 -0
- package/dist/types/components/reorder/reorder.d.ts +9 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
- package/dist/types/components/route/route.d.ts +4 -0
- package/dist/types/components/router/router.d.ts +4 -0
- package/dist/types/components/router-link/router-link.d.ts +4 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
- package/dist/types/components/row/row.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +30 -8
- package/dist/types/components/segment/segment.d.ts +2 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +20 -5
- package/dist/types/components/select-option/select-option.d.ts +4 -0
- package/dist/types/components/select-popover/select-popover.d.ts +3 -0
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
- package/dist/types/components/spinner/spinner.d.ts +4 -0
- package/dist/types/components/split-pane/split-pane.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +3 -2
- package/dist/types/components/tab-button/tab-button.d.ts +2 -1
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/text/text.d.ts +2 -1
- package/dist/types/components/textarea/textarea.d.ts +3 -2
- package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
- package/dist/types/components/title/title.d.ts +4 -0
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +3 -7
- package/dist/types/components/toast/toast.d.ts +3 -2
- package/dist/types/components/toggle/toggle.d.ts +15 -1
- package/dist/types/components/toolbar/toolbar.d.ts +9 -3
- package/dist/types/components.d.ts +1310 -174
- package/dist/types/global/ionic-global.d.ts +25 -2
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +2 -0
- package/dist/types/utils/config.d.ts +99 -2
- package/dist/types/utils/overlays-interface.d.ts +31 -1
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/hydrate/index.d.ts +11 -29
- package/hydrate/index.js +2194 -944
- package/hydrate/package.json +1 -7
- package/loader/index.d.ts +0 -3
- package/package.json +11 -7
- package/components/index9.js +0 -167
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/ionic-global-76e8c0ab.js +0 -237
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/ionic-global-8a5e1a22.js +0 -231
- package/dist/esm-es5/app-globals-d2bbf400.js +0 -4
- package/dist/esm-es5/data-ae11fd43.js +0 -4
- package/dist/esm-es5/index-5cc724f3.js +0 -4
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/index-c0c6139c.js +0 -4
- package/dist/esm-es5/index-d0939b0d.js +0 -5
- package/dist/esm-es5/index-e42295b5.js +0 -4
- package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
- package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
- package/dist/esm-es5/ionic-global-8a5e1a22.js +0 -4
- package/dist/esm-es5/ios.transition-a7de9ae0.js +0 -4
- package/dist/esm-es5/md.transition-afeeb8ad.js +0 -4
- package/dist/esm-es5/overlays-b38bea39.js +0 -4
- package/dist/esm-es5/status-tap-24635649.js +0 -4
- package/dist/ionic/p-032843c9.entry.js +0 -4
- package/dist/ionic/p-03795d2b.entry.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-08b88555.entry.js +0 -4
- package/dist/ionic/p-0cbdf0c9.system.entry.js +0 -4
- package/dist/ionic/p-0eb4718b.entry.js +0 -4
- package/dist/ionic/p-11122cae.system.entry.js +0 -4
- package/dist/ionic/p-13e359bc.system.entry.js +0 -4
- package/dist/ionic/p-142992cc.system.entry.js +0 -4
- package/dist/ionic/p-16552182.entry.js +0 -4
- package/dist/ionic/p-183d0bcb.js +0 -4
- package/dist/ionic/p-1ad14c4b.entry.js +0 -4
- package/dist/ionic/p-1d492de9.entry.js +0 -4
- package/dist/ionic/p-1de1c7a5.entry.js +0 -4
- package/dist/ionic/p-1ea2ddc8.system.entry.js +0 -4
- package/dist/ionic/p-2069132e.entry.js +0 -4
- package/dist/ionic/p-21918c51.system.entry.js +0 -4
- package/dist/ionic/p-25fa6509.system.entry.js +0 -4
- package/dist/ionic/p-2612efb0.entry.js +0 -4
- package/dist/ionic/p-263f0c7a.system.entry.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-2c8cbbb8.entry.js +0 -4
- package/dist/ionic/p-2fe8485a.entry.js +0 -4
- package/dist/ionic/p-365739fe.entry.js +0 -4
- package/dist/ionic/p-3b37bbb4.entry.js +0 -4
- package/dist/ionic/p-3f496020.system.entry.js +0 -4
- package/dist/ionic/p-411c5669.system.entry.js +0 -4
- package/dist/ionic/p-4560ade8.system.entry.js +0 -4
- package/dist/ionic/p-45cfeed7.system.entry.js +0 -4
- package/dist/ionic/p-46d5cb1f.entry.js +0 -4
- package/dist/ionic/p-48721892.system.entry.js +0 -4
- package/dist/ionic/p-48acbfbf.system.js +0 -4
- package/dist/ionic/p-497871d7.entry.js +0 -4
- package/dist/ionic/p-53fca07b.entry.js +0 -4
- package/dist/ionic/p-56fdb560.entry.js +0 -4
- package/dist/ionic/p-5b2d254f.entry.js +0 -4
- package/dist/ionic/p-5c069142.entry.js +0 -4
- package/dist/ionic/p-5d8d3855.entry.js +0 -4
- package/dist/ionic/p-5d9b263d.entry.js +0 -4
- package/dist/ionic/p-604ff5b4.entry.js +0 -4
- package/dist/ionic/p-648a5be7.entry.js +0 -4
- package/dist/ionic/p-69a7697a.system.entry.js +0 -4
- package/dist/ionic/p-6b3e204b.entry.js +0 -4
- package/dist/ionic/p-6de13fb8.system.entry.js +0 -4
- package/dist/ionic/p-70780833.entry.js +0 -4
- package/dist/ionic/p-79ce0263.js +0 -4
- package/dist/ionic/p-79f2b80a.js +0 -4
- package/dist/ionic/p-7a12e2b1.system.entry.js +0 -4
- package/dist/ionic/p-7a4e352f.system.js +0 -4
- package/dist/ionic/p-7b7a832f.system.entry.js +0 -4
- package/dist/ionic/p-81dc3d4b.system.entry.js +0 -4
- package/dist/ionic/p-83654567.system.entry.js +0 -4
- package/dist/ionic/p-83ecf213.entry.js +0 -4
- package/dist/ionic/p-841756f4.entry.js +0 -4
- package/dist/ionic/p-8a34da00.entry.js +0 -4
- package/dist/ionic/p-8c631495.entry.js +0 -4
- package/dist/ionic/p-8d012519.system.entry.js +0 -4
- package/dist/ionic/p-8dcff877.system.entry.js +0 -4
- package/dist/ionic/p-8fab5bf7.system.entry.js +0 -4
- package/dist/ionic/p-910347cc.js +0 -4
- package/dist/ionic/p-91855af0.system.entry.js +0 -4
- package/dist/ionic/p-92c8e74a.js +0 -5
- package/dist/ionic/p-99873a66.system.entry.js +0 -4
- package/dist/ionic/p-99b6a64d.system.entry.js +0 -4
- package/dist/ionic/p-9c030564.js +0 -4
- package/dist/ionic/p-9d00c801.system.entry.js +0 -4
- package/dist/ionic/p-9e577ae7.entry.js +0 -4
- package/dist/ionic/p-9fc948d6.system.entry.js +0 -4
- package/dist/ionic/p-a1f3fba3.system.js +0 -4
- package/dist/ionic/p-a20e3a62.system.entry.js +0 -4
- package/dist/ionic/p-a2e951a8.system.entry.js +0 -4
- package/dist/ionic/p-a39248f7.system.js +0 -4
- package/dist/ionic/p-a67df3cf.entry.js +0 -4
- package/dist/ionic/p-a6d47c7f.system.entry.js +0 -4
- package/dist/ionic/p-a7b7a59f.system.js +0 -4
- package/dist/ionic/p-abd6754f.js +0 -4
- package/dist/ionic/p-ad5edd29.system.entry.js +0 -4
- package/dist/ionic/p-ae1618e7.system.js +0 -4
- package/dist/ionic/p-b14a495d.system.entry.js +0 -4
- package/dist/ionic/p-b5219c37.entry.js +0 -4
- package/dist/ionic/p-b7c69630.system.entry.js +0 -4
- package/dist/ionic/p-b87915cc.system.entry.js +0 -4
- package/dist/ionic/p-b92a973e.entry.js +0 -4
- package/dist/ionic/p-bcfe3f36.entry.js +0 -4
- package/dist/ionic/p-c461cb11.system.entry.js +0 -4
- package/dist/ionic/p-c92e3c5a.system.js +0 -4
- package/dist/ionic/p-c95903d0.system.js +0 -5
- package/dist/ionic/p-c9beb347.entry.js +0 -4
- package/dist/ionic/p-ccbe6428.system.entry.js +0 -4
- package/dist/ionic/p-ce5d8c97.system.entry.js +0 -4
- package/dist/ionic/p-d77a4e9c.entry.js +0 -4
- package/dist/ionic/p-d985aed6.js +0 -4
- package/dist/ionic/p-df5e35aa.system.entry.js +0 -4
- package/dist/ionic/p-dfb78785.system.js +0 -4
- package/dist/ionic/p-e14265bf.system.entry.js +0 -4
- package/dist/ionic/p-e3910d88.entry.js +0 -4
- package/dist/ionic/p-e57d2079.system.entry.js +0 -4
- package/dist/ionic/p-e6a16cac.js +0 -4
- package/dist/ionic/p-e73690a1.entry.js +0 -4
- package/dist/ionic/p-e9a3e4be.entry.js +0 -4
- package/dist/ionic/p-f05e3612.system.entry.js +0 -4
- package/dist/ionic/p-f5800672.entry.js +0 -4
- package/dist/ionic/p-f83276cf.system.js +0 -4
- package/dist/ionic/p-fc3a5f55.system.js +0 -4
- package/dist/ionic/p-fe83c805.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
- package/hydrate/index.mjs +0 -48653
|
@@ -5,25 +5,29 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index
|
|
8
|
+
const index = require('./index-7f6ce0b7.js');
|
|
9
|
+
const caretDown = require('./caret-down-3c215cff.js');
|
|
10
|
+
const caretLeft = require('./caret-left-2bb66970.js');
|
|
11
|
+
const caretRight = require('./caret-right-88e03970.js');
|
|
9
12
|
const focusVisible = require('./focus-visible-7a0ce04f.js');
|
|
10
13
|
const helpers = require('./helpers-afaa9001.js');
|
|
11
|
-
const
|
|
14
|
+
const ionicGlobal = require('./ionic-global-2bd379ad.js');
|
|
12
15
|
const dir = require('./dir-94c21456.js');
|
|
13
16
|
const theme = require('./theme-d1c573d2.js');
|
|
14
|
-
const index$
|
|
15
|
-
const
|
|
16
|
-
const data = require('./data-21dc0f81.js');
|
|
17
|
+
const index$1 = require('./index-073c7cdc.js');
|
|
18
|
+
const data = require('./data-7d67d1e3.js');
|
|
17
19
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
20
|
+
const overlays = require('./overlays-0c0d0193.js');
|
|
19
21
|
const animation = require('./animation-b4fdf128.js');
|
|
20
22
|
const haptic = require('./haptic-f6b37aa3.js');
|
|
21
23
|
require('./index-c8d52405.js');
|
|
22
|
-
require('./hardware-back-button-
|
|
24
|
+
require('./hardware-back-button-a90bf4cd.js');
|
|
23
25
|
require('./framework-delegate-55f5683a.js');
|
|
24
26
|
require('./gesture-controller-9436f482.js');
|
|
25
27
|
require('./capacitor-c04564bf.js');
|
|
26
28
|
|
|
29
|
+
const caretUpSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMTMuNjYsMTY1LjY2YTgsOCwwLDAsMS0xMS4zMiwwTDEyOCw5MS4zMSw1My42NiwxNjUuNjZhOCw4LDAsMCwxLTExLjMyLTExLjMybDgwLTgwYTgsOCwwLDAsMSwxMS4zMiwwbDgwLDgwQTgsOCwwLDAsMSwyMTMuNjYsMTY1LjY2WiIvPjwvc3ZnPg==';
|
|
30
|
+
|
|
27
31
|
const isYearDisabled = (refYear, minParts, maxParts) => {
|
|
28
32
|
if (minParts && minParts.year > refYear) {
|
|
29
33
|
return true;
|
|
@@ -185,7 +189,7 @@ const getHighlightStyles = (highlightedDates, dateIsoString, el) => {
|
|
|
185
189
|
return highlightedDates(dateIsoString);
|
|
186
190
|
}
|
|
187
191
|
catch (e) {
|
|
188
|
-
|
|
192
|
+
ionicGlobal.printIonError('Exception thrown from provided `highlightedDates` callback. Please check your function and try again.', el, e);
|
|
189
193
|
}
|
|
190
194
|
}
|
|
191
195
|
return undefined;
|
|
@@ -202,7 +206,7 @@ const warnIfTimeZoneProvided = (el, formatOptions) => {
|
|
|
202
206
|
((_b = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.date) === null || _b === void 0 ? void 0 : _b.timeZoneName) ||
|
|
203
207
|
((_c = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time) === null || _c === void 0 ? void 0 : _c.timeZone) ||
|
|
204
208
|
((_d = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time) === null || _d === void 0 ? void 0 : _d.timeZoneName)) {
|
|
205
|
-
|
|
209
|
+
ionicGlobal.printIonWarning('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".', el);
|
|
206
210
|
}
|
|
207
211
|
};
|
|
208
212
|
const checkForPresentationFormatMismatch = (el, presentation, formatOptions) => {
|
|
@@ -216,39 +220,42 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
216
220
|
case 'month':
|
|
217
221
|
case 'year':
|
|
218
222
|
if (formatOptions.date === undefined) {
|
|
219
|
-
|
|
223
|
+
ionicGlobal.printIonWarning(`Datetime: The '${presentation}' presentation requires a date object in formatOptions.`, el);
|
|
220
224
|
}
|
|
221
225
|
break;
|
|
222
226
|
case 'time':
|
|
223
227
|
if (formatOptions.time === undefined) {
|
|
224
|
-
|
|
228
|
+
ionicGlobal.printIonWarning(`Datetime: The 'time' presentation requires a time object in formatOptions.`, el);
|
|
225
229
|
}
|
|
226
230
|
break;
|
|
227
231
|
case 'date-time':
|
|
228
232
|
case 'time-date':
|
|
229
233
|
if (formatOptions.date === undefined && formatOptions.time === undefined) {
|
|
230
|
-
|
|
234
|
+
ionicGlobal.printIonWarning(`Datetime: The '${presentation}' presentation requires either a date or time object (or both) in formatOptions.`, el);
|
|
231
235
|
}
|
|
232
236
|
break;
|
|
233
237
|
}
|
|
234
238
|
};
|
|
235
239
|
|
|
236
|
-
const datetimeIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
|
|
240
|
+
const ionicDatetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}";
|
|
241
|
+
const IonDatetimeIonicStyle0 = ionicDatetimeMdCss;
|
|
242
|
+
|
|
243
|
+
const datetimeIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
|
|
237
244
|
const IonDatetimeIosStyle0 = datetimeIosCss;
|
|
238
245
|
|
|
239
|
-
const datetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-
|
|
246
|
+
const datetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}";
|
|
240
247
|
const IonDatetimeMdStyle0 = datetimeMdCss;
|
|
241
248
|
|
|
242
249
|
const Datetime = class {
|
|
243
250
|
constructor(hostRef) {
|
|
244
|
-
index
|
|
245
|
-
this.ionCancel = index
|
|
246
|
-
this.ionChange = index
|
|
247
|
-
this.ionValueChange = index
|
|
248
|
-
this.ionFocus = index
|
|
249
|
-
this.ionBlur = index
|
|
250
|
-
this.ionStyle = index
|
|
251
|
-
this.ionRender = index
|
|
251
|
+
index.registerInstance(this, hostRef);
|
|
252
|
+
this.ionCancel = index.createEvent(this, "ionCancel", 7);
|
|
253
|
+
this.ionChange = index.createEvent(this, "ionChange", 7);
|
|
254
|
+
this.ionValueChange = index.createEvent(this, "ionValueChange", 7);
|
|
255
|
+
this.ionFocus = index.createEvent(this, "ionFocus", 7);
|
|
256
|
+
this.ionBlur = index.createEvent(this, "ionBlur", 7);
|
|
257
|
+
this.ionStyle = index.createEvent(this, "ionStyle", 7);
|
|
258
|
+
this.ionRender = index.createEvent(this, "ionRender", 7);
|
|
252
259
|
this.inputId = `ion-dt-${datetimeIds++}`;
|
|
253
260
|
this.prevPresentation = null;
|
|
254
261
|
this.warnIfIncorrectValueUsage = () => {
|
|
@@ -262,7 +269,7 @@ const Datetime = class {
|
|
|
262
269
|
* Default toString() behavior: a,b
|
|
263
270
|
* Custom behavior: ['a', 'b']
|
|
264
271
|
*/
|
|
265
|
-
|
|
272
|
+
ionicGlobal.printIonWarning(`ion-datetime was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".
|
|
266
273
|
|
|
267
274
|
Value Passed: [${value.map((v) => `'${v}'`).join(', ')}]
|
|
268
275
|
`, this.el);
|
|
@@ -511,7 +518,7 @@ const Datetime = class {
|
|
|
511
518
|
* scrollIntoView() will scroll entire page
|
|
512
519
|
* if element is not in viewport. Use scrollLeft instead.
|
|
513
520
|
*/
|
|
514
|
-
index
|
|
521
|
+
index.writeTask(() => {
|
|
515
522
|
calendarBodyRef.scrollLeft = startMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
|
|
516
523
|
const getChangedMonth = (parts) => {
|
|
517
524
|
const box = calendarBodyRef.getBoundingClientRect();
|
|
@@ -603,7 +610,7 @@ const Datetime = class {
|
|
|
603
610
|
* but older/slower device may have a flicker
|
|
604
611
|
* if we did not do this.
|
|
605
612
|
*/
|
|
606
|
-
index
|
|
613
|
+
index.writeTask(() => {
|
|
607
614
|
this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month, day: day, year }));
|
|
608
615
|
calendarBodyRef.scrollLeft = workingMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
|
|
609
616
|
calendarBodyRef.style.removeProperty('overflow');
|
|
@@ -1028,7 +1035,7 @@ const Datetime = class {
|
|
|
1028
1035
|
* is that the content will pop into view a frame after. Maybe there
|
|
1029
1036
|
* is a better way to handle this?
|
|
1030
1037
|
*/
|
|
1031
|
-
index
|
|
1038
|
+
index.writeTask(() => {
|
|
1032
1039
|
this.el.classList.add('datetime-ready');
|
|
1033
1040
|
});
|
|
1034
1041
|
};
|
|
@@ -1061,7 +1068,7 @@ const Datetime = class {
|
|
|
1061
1068
|
* As a result, the wrong month will be shown.
|
|
1062
1069
|
*/
|
|
1063
1070
|
this.showMonthAndYear = false;
|
|
1064
|
-
index
|
|
1071
|
+
index.writeTask(() => {
|
|
1065
1072
|
this.el.classList.remove('datetime-ready');
|
|
1066
1073
|
});
|
|
1067
1074
|
};
|
|
@@ -1143,18 +1150,18 @@ const Datetime = class {
|
|
|
1143
1150
|
const { el, formatOptions, highlightedDates, multiple, presentation, preferWheel } = this;
|
|
1144
1151
|
if (multiple) {
|
|
1145
1152
|
if (presentation !== 'date') {
|
|
1146
|
-
|
|
1153
|
+
ionicGlobal.printIonWarning('Multiple date selection is only supported for presentation="date".', el);
|
|
1147
1154
|
}
|
|
1148
1155
|
if (preferWheel) {
|
|
1149
|
-
|
|
1156
|
+
ionicGlobal.printIonWarning('Multiple date selection is not supported with preferWheel="true".', el);
|
|
1150
1157
|
}
|
|
1151
1158
|
}
|
|
1152
1159
|
if (highlightedDates !== undefined) {
|
|
1153
1160
|
if (presentation !== 'date' && presentation !== 'date-time' && presentation !== 'time-date') {
|
|
1154
|
-
|
|
1161
|
+
ionicGlobal.printIonWarning('The highlightedDates property is only supported with the date, date-time, and time-date presentations.', el);
|
|
1155
1162
|
}
|
|
1156
1163
|
if (preferWheel) {
|
|
1157
|
-
|
|
1164
|
+
ionicGlobal.printIonWarning('The highlightedDates property is not supported with preferWheel="true".', el);
|
|
1158
1165
|
}
|
|
1159
1166
|
}
|
|
1160
1167
|
if (formatOptions) {
|
|
@@ -1217,10 +1224,10 @@ const Datetime = class {
|
|
|
1217
1224
|
* OK - Dismisses the datetime and
|
|
1218
1225
|
* updates the `value` prop.
|
|
1219
1226
|
*/
|
|
1220
|
-
return (index
|
|
1227
|
+
return (index.h("div", { class: "datetime-footer" }, index.h("div", { class: "datetime-buttons" }, index.h("div", { class: {
|
|
1221
1228
|
['datetime-action-buttons']: true,
|
|
1222
1229
|
['has-clear-button']: this.showClearButton,
|
|
1223
|
-
} }, index
|
|
1230
|
+
} }, index.h("slot", { name: "buttons" }, index.h("ion-buttons", null, showDefaultButtons && (index.h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true), disabled: isButtonDisabled }, this.cancelText)), index.h("div", { class: "datetime-action-buttons-container" }, showClearButton && (index.h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick(), disabled: isButtonDisabled }, this.clearText)), showDefaultButtons && (index.h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true), disabled: isButtonDisabled }, this.doneText)))))))));
|
|
1224
1231
|
}
|
|
1225
1232
|
/**
|
|
1226
1233
|
* Wheel picker render methods
|
|
@@ -1238,7 +1245,7 @@ const Datetime = class {
|
|
|
1238
1245
|
const renderArray = forcePresentation === 'time-date'
|
|
1239
1246
|
? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
|
|
1240
1247
|
: [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
|
|
1241
|
-
return index
|
|
1248
|
+
return index.h("ion-picker", null, renderArray);
|
|
1242
1249
|
}
|
|
1243
1250
|
renderDatePickerColumns(forcePresentation) {
|
|
1244
1251
|
return forcePresentation === 'date-time' || forcePresentation === 'time-date'
|
|
@@ -1273,8 +1280,8 @@ const Datetime = class {
|
|
|
1273
1280
|
let items = result.items;
|
|
1274
1281
|
const parts = result.parts;
|
|
1275
1282
|
if (isDateEnabled) {
|
|
1276
|
-
items = items.map((itemObject, index
|
|
1277
|
-
const referenceParts = parts[index
|
|
1283
|
+
items = items.map((itemObject, index) => {
|
|
1284
|
+
const referenceParts = parts[index];
|
|
1278
1285
|
let disabled;
|
|
1279
1286
|
try {
|
|
1280
1287
|
/**
|
|
@@ -1285,7 +1292,7 @@ const Datetime = class {
|
|
|
1285
1292
|
disabled = !isDateEnabled(data.convertDataToISO(referenceParts));
|
|
1286
1293
|
}
|
|
1287
1294
|
catch (e) {
|
|
1288
|
-
|
|
1295
|
+
ionicGlobal.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
|
|
1289
1296
|
}
|
|
1290
1297
|
return Object.assign(Object.assign({}, itemObject), { disabled });
|
|
1291
1298
|
});
|
|
@@ -1297,13 +1304,13 @@ const Datetime = class {
|
|
|
1297
1304
|
const todayString = workingParts.day !== null
|
|
1298
1305
|
? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
|
|
1299
1306
|
: `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
|
|
1300
|
-
return (index
|
|
1307
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a date", class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
|
|
1301
1308
|
const { value } = ev.detail;
|
|
1302
1309
|
const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
|
|
1303
1310
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
|
|
1304
1311
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), findPart));
|
|
1305
1312
|
ev.stopPropagation();
|
|
1306
|
-
} }, items.map((item) => (index
|
|
1313
|
+
} }, items.map((item) => (index.h("ion-picker-column-option", { part: item.value === todayString ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: item.value, disabled: item.disabled, value: item.value }, item.text)))));
|
|
1307
1314
|
}
|
|
1308
1315
|
renderIndividualDatePickerColumns(forcePresentation) {
|
|
1309
1316
|
const { workingParts, isDateEnabled } = this;
|
|
@@ -1334,7 +1341,7 @@ const Datetime = class {
|
|
|
1334
1341
|
disabled = !isDateEnabled(data.convertDataToISO(referenceParts));
|
|
1335
1342
|
}
|
|
1336
1343
|
catch (e) {
|
|
1337
|
-
|
|
1344
|
+
ionicGlobal.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
|
|
1338
1345
|
}
|
|
1339
1346
|
return Object.assign(Object.assign({}, dayObject), { disabled });
|
|
1340
1347
|
});
|
|
@@ -1372,11 +1379,11 @@ const Datetime = class {
|
|
|
1372
1379
|
const { disabled, workingParts } = this;
|
|
1373
1380
|
const activePart = this.getActivePartsWithFallback();
|
|
1374
1381
|
const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
|
|
1375
|
-
return (index
|
|
1382
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a day", class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
|
|
1376
1383
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
|
|
1377
1384
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
|
|
1378
1385
|
ev.stopPropagation();
|
|
1379
|
-
} }, days.map((day) => (index
|
|
1386
|
+
} }, days.map((day) => (index.h("ion-picker-column-option", { part: day.value === pickerColumnValue ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: day.value, disabled: day.disabled, value: day.value }, day.text)))));
|
|
1380
1387
|
}
|
|
1381
1388
|
renderMonthPickerColumn(months) {
|
|
1382
1389
|
if (months.length === 0) {
|
|
@@ -1384,11 +1391,11 @@ const Datetime = class {
|
|
|
1384
1391
|
}
|
|
1385
1392
|
const { disabled, workingParts } = this;
|
|
1386
1393
|
const activePart = this.getActivePartsWithFallback();
|
|
1387
|
-
return (index
|
|
1394
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a month", class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
|
|
1388
1395
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
|
|
1389
1396
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
|
|
1390
1397
|
ev.stopPropagation();
|
|
1391
|
-
} }, months.map((month) => (index
|
|
1398
|
+
} }, months.map((month) => (index.h("ion-picker-column-option", { part: month.value === workingParts.month ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: month.value, disabled: month.disabled, value: month.value }, month.text)))));
|
|
1392
1399
|
}
|
|
1393
1400
|
renderYearPickerColumn(years) {
|
|
1394
1401
|
if (years.length === 0) {
|
|
@@ -1396,11 +1403,11 @@ const Datetime = class {
|
|
|
1396
1403
|
}
|
|
1397
1404
|
const { disabled, workingParts } = this;
|
|
1398
1405
|
const activePart = this.getActivePartsWithFallback();
|
|
1399
|
-
return (index
|
|
1406
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a year", class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
|
|
1400
1407
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
|
|
1401
1408
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
|
|
1402
1409
|
ev.stopPropagation();
|
|
1403
|
-
} }, years.map((year) => (index
|
|
1410
|
+
} }, years.map((year) => (index.h("ion-picker-column-option", { part: year.value === workingParts.year ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: year.value, disabled: year.disabled, value: year.value }, year.text)))));
|
|
1404
1411
|
}
|
|
1405
1412
|
renderTimePickerColumns(forcePresentation) {
|
|
1406
1413
|
if (['date', 'month', 'month-year', 'year'].includes(forcePresentation)) {
|
|
@@ -1429,22 +1436,22 @@ const Datetime = class {
|
|
|
1429
1436
|
if (hoursData.length === 0)
|
|
1430
1437
|
return [];
|
|
1431
1438
|
const activePart = this.getActivePartsWithFallback();
|
|
1432
|
-
return (index
|
|
1439
|
+
return (index.h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1433
1440
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
|
|
1434
1441
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
|
|
1435
1442
|
ev.stopPropagation();
|
|
1436
|
-
} }, hoursData.map((hour) => (index
|
|
1443
|
+
} }, hoursData.map((hour) => (index.h("ion-picker-column-option", { part: hour.value === activePart.hour ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: hour.value, disabled: hour.disabled, value: hour.value }, hour.text)))));
|
|
1437
1444
|
}
|
|
1438
1445
|
renderMinutePickerColumn(minutesData) {
|
|
1439
1446
|
const { disabled, workingParts } = this;
|
|
1440
1447
|
if (minutesData.length === 0)
|
|
1441
1448
|
return [];
|
|
1442
1449
|
const activePart = this.getActivePartsWithFallback();
|
|
1443
|
-
return (index
|
|
1450
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1444
1451
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
|
|
1445
1452
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
|
|
1446
1453
|
ev.stopPropagation();
|
|
1447
|
-
} }, minutesData.map((minute) => (index
|
|
1454
|
+
} }, minutesData.map((minute) => (index.h("ion-picker-column-option", { part: minute.value === activePart.minute ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: minute.value, disabled: minute.disabled, value: minute.value }, minute.text)))));
|
|
1448
1455
|
}
|
|
1449
1456
|
renderDayPeriodPickerColumn(dayPeriodData) {
|
|
1450
1457
|
const { disabled, workingParts } = this;
|
|
@@ -1453,38 +1460,36 @@ const Datetime = class {
|
|
|
1453
1460
|
}
|
|
1454
1461
|
const activePart = this.getActivePartsWithFallback();
|
|
1455
1462
|
const isDayPeriodRTL = data.isLocaleDayPeriodRTL(this.locale);
|
|
1456
|
-
return (index
|
|
1463
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a day period", style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1457
1464
|
const hour = data.calculateHourFromAMPM(workingParts, ev.detail.value);
|
|
1458
1465
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
|
|
1459
1466
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
|
|
1460
1467
|
ev.stopPropagation();
|
|
1461
|
-
} }, dayPeriodData.map((dayPeriod) => (index
|
|
1468
|
+
} }, dayPeriodData.map((dayPeriod) => (index.h("ion-picker-column-option", { part: dayPeriod.value === activePart.ampm ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: dayPeriod.value, disabled: dayPeriod.disabled, value: dayPeriod.value }, dayPeriod.text)))));
|
|
1462
1469
|
}
|
|
1463
1470
|
renderWheelView(forcePresentation) {
|
|
1464
1471
|
const { locale } = this;
|
|
1465
1472
|
const showMonthFirst = data.isMonthFirstLocale(locale);
|
|
1466
1473
|
const columnOrder = showMonthFirst ? 'month-first' : 'year-first';
|
|
1467
|
-
return (index
|
|
1474
|
+
return (index.h("div", { class: {
|
|
1468
1475
|
[`wheel-order-${columnOrder}`]: true,
|
|
1469
1476
|
} }, this.renderWheelPicker(forcePresentation)));
|
|
1470
1477
|
}
|
|
1471
1478
|
/**
|
|
1472
1479
|
* Grid Render Methods
|
|
1473
1480
|
*/
|
|
1474
|
-
renderCalendarHeader(
|
|
1475
|
-
const { disabled } = this;
|
|
1476
|
-
const expandedIcon = mode === 'ios' ? index$2.chevronDown : index$2.caretUpSharp;
|
|
1477
|
-
const collapsedIcon = mode === 'ios' ? index$2.chevronForward : index$2.caretDownSharp;
|
|
1481
|
+
renderCalendarHeader(theme) {
|
|
1482
|
+
const { disabled, datetimeNextIcon, datetimePreviousIcon, datetimeCollapsedIcon, datetimeExpandedIcon } = this;
|
|
1478
1483
|
const prevMonthDisabled = disabled || isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
|
|
1479
1484
|
const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
|
|
1480
1485
|
// don't use the inheritAttributes util because it removes dir from the host, and we still need that
|
|
1481
1486
|
const hostDir = this.el.getAttribute('dir') || undefined;
|
|
1482
|
-
return (index
|
|
1487
|
+
return (index.h("div", { class: "calendar-header" }, index.h("div", { class: "calendar-action-buttons" }, index.h("div", { class: "calendar-month-year" }, index.h("button", { class: {
|
|
1483
1488
|
'calendar-month-year-toggle': true,
|
|
1484
1489
|
'ion-activatable': true,
|
|
1485
1490
|
'ion-focusable': true,
|
|
1486
|
-
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, index
|
|
1487
|
-
return index
|
|
1491
|
+
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, index.h("span", { id: "toggle-wrapper" }, data.getMonthAndYear(this.locale, this.workingParts), index.h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? datetimeExpandedIcon : datetimeCollapsedIcon, lazy: false, flipRtl: true })), theme === 'md' && index.h("ion-ripple-effect", null))), index.h("div", { class: "calendar-next-prev" }, index.h("ion-buttons", null, index.h("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, index.h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimePreviousIcon, lazy: false, flipRtl: true })), index.h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, index.h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimeNextIcon, lazy: false, flipRtl: true }))))), index.h("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, data.getDaysOfWeek(this.locale, theme, this.firstDayOfWeek % 7).map((d) => {
|
|
1492
|
+
return index.h("div", { class: "day-of-week" }, d);
|
|
1488
1493
|
}))));
|
|
1489
1494
|
}
|
|
1490
1495
|
renderMonth(month, year) {
|
|
@@ -1510,11 +1515,11 @@ const Datetime = class {
|
|
|
1510
1515
|
// can free-scroll the calendar.
|
|
1511
1516
|
const isWorkingMonth = this.workingParts.month === month && this.workingParts.year === year;
|
|
1512
1517
|
const activePart = this.getActivePartsWithFallback();
|
|
1513
|
-
return (index
|
|
1518
|
+
return (index.h("div", { "aria-hidden": !isWorkingMonth ? 'true' : null, class: {
|
|
1514
1519
|
'calendar-month': true,
|
|
1515
1520
|
// Prevents scroll snap swipe gestures for months outside of the min/max bounds
|
|
1516
1521
|
'calendar-month-disabled': !isWorkingMonth && swipeDisabled,
|
|
1517
|
-
} }, index
|
|
1522
|
+
} }, index.h("div", { class: "calendar-month-grid" }, data.getDaysOfMonth(month, year, this.firstDayOfWeek % 7).map((dateObject, index$1) => {
|
|
1518
1523
|
const { day, dayOfWeek } = dateObject;
|
|
1519
1524
|
const { el, highlightedDates, isDateEnabled, multiple } = this;
|
|
1520
1525
|
const referenceParts = { month, day, year };
|
|
@@ -1532,7 +1537,7 @@ const Datetime = class {
|
|
|
1532
1537
|
isCalDayDisabled = !isDateEnabled(dateIsoString);
|
|
1533
1538
|
}
|
|
1534
1539
|
catch (e) {
|
|
1535
|
-
|
|
1540
|
+
ionicGlobal.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', el, e);
|
|
1536
1541
|
}
|
|
1537
1542
|
}
|
|
1538
1543
|
/**
|
|
@@ -1556,7 +1561,7 @@ const Datetime = class {
|
|
|
1556
1561
|
if (!isCalendarPadding) {
|
|
1557
1562
|
dateParts = `calendar-day${isActive ? ' active' : ''}${isToday ? ' today' : ''}${isCalDayDisabled ? ' disabled' : ''}`;
|
|
1558
1563
|
}
|
|
1559
|
-
return (index
|
|
1564
|
+
return (index.h("div", { class: "calendar-day-wrapper" }, index.h("button", {
|
|
1560
1565
|
// We need to use !important for the inline styles here because
|
|
1561
1566
|
// otherwise the CSS shadow parts will override these styles.
|
|
1562
1567
|
// See https://github.com/WICG/webcomponents/issues/847
|
|
@@ -1568,7 +1573,7 @@ const Datetime = class {
|
|
|
1568
1573
|
el.style.setProperty('color', `${dateStyle ? dateStyle.textColor : ''}`, 'important');
|
|
1569
1574
|
el.style.setProperty('background-color', `${dateStyle ? dateStyle.backgroundColor : ''}`, 'important');
|
|
1570
1575
|
}
|
|
1571
|
-
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index$
|
|
1576
|
+
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index$1, "data-day-of-week": dayOfWeek, disabled: isButtonDisabled, class: {
|
|
1572
1577
|
'calendar-day-padding': isCalendarPadding,
|
|
1573
1578
|
'calendar-day': true,
|
|
1574
1579
|
'calendar-day-active': isActive,
|
|
@@ -1599,27 +1604,27 @@ const Datetime = class {
|
|
|
1599
1604
|
}))));
|
|
1600
1605
|
}
|
|
1601
1606
|
renderCalendarBody() {
|
|
1602
|
-
return (index
|
|
1607
|
+
return (index.h("div", { class: "calendar-body ion-focusable", ref: (el) => (this.calendarBodyRef = el), tabindex: "0" }, data.generateMonths(this.workingParts, this.forceRenderDate).map(({ month, year }) => {
|
|
1603
1608
|
return this.renderMonth(month, year);
|
|
1604
1609
|
})));
|
|
1605
1610
|
}
|
|
1606
|
-
renderCalendar(
|
|
1607
|
-
return (index
|
|
1611
|
+
renderCalendar(theme) {
|
|
1612
|
+
return (index.h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(theme), this.renderCalendarBody()));
|
|
1608
1613
|
}
|
|
1609
1614
|
renderTimeLabel() {
|
|
1610
1615
|
const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
|
|
1611
1616
|
if (!hasSlottedTimeLabel && !this.showDefaultTimeLabel) {
|
|
1612
1617
|
return;
|
|
1613
1618
|
}
|
|
1614
|
-
return index
|
|
1619
|
+
return index.h("slot", { name: "time-label" }, "Time");
|
|
1615
1620
|
}
|
|
1616
1621
|
renderTimeOverlay() {
|
|
1617
1622
|
const { disabled, hourCycle, isTimePopoverOpen, locale, formatOptions } = this;
|
|
1618
1623
|
const computedHourCycle = data.getHourCycle(locale, hourCycle);
|
|
1619
1624
|
const activePart = this.getActivePartsWithFallback();
|
|
1620
1625
|
return [
|
|
1621
|
-
index
|
|
1622
|
-
index
|
|
1626
|
+
index.h("div", { class: "time-header" }, this.renderTimeLabel()),
|
|
1627
|
+
index.h("button", { class: {
|
|
1623
1628
|
'time-body': true,
|
|
1624
1629
|
'time-body-active': isTimePopoverOpen,
|
|
1625
1630
|
}, part: `time-button${isTimePopoverOpen ? ' active' : ''}`, "aria-expanded": "false", "aria-haspopup": "true", disabled: disabled, onClick: async (ev) => {
|
|
@@ -1635,7 +1640,7 @@ const Datetime = class {
|
|
|
1635
1640
|
this.isTimePopoverOpen = false;
|
|
1636
1641
|
}
|
|
1637
1642
|
} }, data.getLocalizedTime(locale, activePart, computedHourCycle, formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time)),
|
|
1638
|
-
index
|
|
1643
|
+
index.h("ion-popover", { alignment: "center", translucent: true, overlayIndex: 1, arrow: false, onWillPresent: (ev) => {
|
|
1639
1644
|
/**
|
|
1640
1645
|
* Intersection Observers do not consistently fire between Blink and Webkit
|
|
1641
1646
|
* when toggling the visibility of the popover and trying to scroll the picker
|
|
@@ -1668,7 +1673,7 @@ const Datetime = class {
|
|
|
1668
1673
|
headerText = titleSelectedDatesFormatter(data.convertDataToISO(activeParts));
|
|
1669
1674
|
}
|
|
1670
1675
|
catch (e) {
|
|
1671
|
-
|
|
1676
|
+
ionicGlobal.printIonError('Exception in provided `titleSelectedDatesFormatter`: ', e);
|
|
1672
1677
|
}
|
|
1673
1678
|
}
|
|
1674
1679
|
}
|
|
@@ -1683,7 +1688,7 @@ const Datetime = class {
|
|
|
1683
1688
|
if (!hasSlottedTitle && !this.showDefaultTitle) {
|
|
1684
1689
|
return;
|
|
1685
1690
|
}
|
|
1686
|
-
return (index
|
|
1691
|
+
return (index.h("div", { class: "datetime-header" }, index.h("div", { class: "datetime-title" }, index.h("slot", { name: "title" }, "Select Date")), showExpandedHeader && index.h("div", { class: "datetime-selected-date" }, this.getHeaderSelectedDateText())));
|
|
1687
1692
|
}
|
|
1688
1693
|
/**
|
|
1689
1694
|
* Render time picker inside of datetime.
|
|
@@ -1695,7 +1700,7 @@ const Datetime = class {
|
|
|
1695
1700
|
renderTime() {
|
|
1696
1701
|
const { presentation } = this;
|
|
1697
1702
|
const timeOnlyPresentation = presentation === 'time';
|
|
1698
|
-
return (index
|
|
1703
|
+
return (index.h("div", { class: "datetime-time" }, timeOnlyPresentation ? this.renderWheelPicker() : this.renderTimeOverlay()));
|
|
1699
1704
|
}
|
|
1700
1705
|
/**
|
|
1701
1706
|
* Renders the month/year picker that is
|
|
@@ -1706,13 +1711,13 @@ const Datetime = class {
|
|
|
1706
1711
|
* toggle in the calendar header.
|
|
1707
1712
|
*/
|
|
1708
1713
|
renderCalendarViewMonthYearPicker() {
|
|
1709
|
-
return index
|
|
1714
|
+
return index.h("div", { class: "datetime-year" }, this.renderWheelView('month-year'));
|
|
1710
1715
|
}
|
|
1711
1716
|
/**
|
|
1712
1717
|
* Render entry point
|
|
1713
1718
|
* All presentation types are rendered from here.
|
|
1714
1719
|
*/
|
|
1715
|
-
renderDatetime(
|
|
1720
|
+
renderDatetime(theme) {
|
|
1716
1721
|
const { presentation, preferWheel } = this;
|
|
1717
1722
|
/**
|
|
1718
1723
|
* Certain presentation types have separate grid and wheel displays.
|
|
@@ -1726,7 +1731,7 @@ const Datetime = class {
|
|
|
1726
1731
|
case 'date-time':
|
|
1727
1732
|
return [
|
|
1728
1733
|
this.renderHeader(),
|
|
1729
|
-
this.renderCalendar(
|
|
1734
|
+
this.renderCalendar(theme),
|
|
1730
1735
|
this.renderCalendarViewMonthYearPicker(),
|
|
1731
1736
|
this.renderTime(),
|
|
1732
1737
|
this.renderFooter(),
|
|
@@ -1735,7 +1740,7 @@ const Datetime = class {
|
|
|
1735
1740
|
return [
|
|
1736
1741
|
this.renderHeader(),
|
|
1737
1742
|
this.renderTime(),
|
|
1738
|
-
this.renderCalendar(
|
|
1743
|
+
this.renderCalendar(theme),
|
|
1739
1744
|
this.renderCalendarViewMonthYearPicker(),
|
|
1740
1745
|
this.renderFooter(),
|
|
1741
1746
|
];
|
|
@@ -1748,23 +1753,95 @@ const Datetime = class {
|
|
|
1748
1753
|
default:
|
|
1749
1754
|
return [
|
|
1750
1755
|
this.renderHeader(),
|
|
1751
|
-
this.renderCalendar(
|
|
1756
|
+
this.renderCalendar(theme),
|
|
1752
1757
|
this.renderCalendarViewMonthYearPicker(),
|
|
1753
1758
|
this.renderFooter(),
|
|
1754
1759
|
];
|
|
1755
1760
|
}
|
|
1756
1761
|
}
|
|
1762
|
+
/**
|
|
1763
|
+
* Get the icon to use for the next icon.
|
|
1764
|
+
* Otherwise, use the icon set in the config.
|
|
1765
|
+
* If no icon is set in the config, use the default icon.
|
|
1766
|
+
*/
|
|
1767
|
+
get datetimeNextIcon() {
|
|
1768
|
+
// Determine the theme and map to default icons
|
|
1769
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
1770
|
+
const defaultIcons = {
|
|
1771
|
+
ios: index$1.chevronForward,
|
|
1772
|
+
ionic: caretRight.caretRightSvg,
|
|
1773
|
+
md: index$1.chevronForward,
|
|
1774
|
+
};
|
|
1775
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1776
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1777
|
+
// Return the configured datetime next icon or the default icon
|
|
1778
|
+
return ionicGlobal.config.get('datetimeNextIcon', defaultIcon);
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
* Get the icon to use for the previous icon.
|
|
1782
|
+
* Otherwise, use the icon set in the config.
|
|
1783
|
+
* If no icon is set in the config, use the default icon.
|
|
1784
|
+
*/
|
|
1785
|
+
get datetimePreviousIcon() {
|
|
1786
|
+
// Determine the theme and map to default icons
|
|
1787
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
1788
|
+
const defaultIcons = {
|
|
1789
|
+
ios: index$1.chevronBack,
|
|
1790
|
+
ionic: caretLeft.caretLeftSvg,
|
|
1791
|
+
md: index$1.chevronBack,
|
|
1792
|
+
};
|
|
1793
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1794
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1795
|
+
// Return the configured datetime previous icon or the default icon
|
|
1796
|
+
return ionicGlobal.config.get('datetimePreviousIcon', defaultIcon);
|
|
1797
|
+
}
|
|
1798
|
+
/**
|
|
1799
|
+
* Get the icon to use for the show month and year icon.
|
|
1800
|
+
* Otherwise, use the icon set in the config.
|
|
1801
|
+
* If no icon is set in the config, use the default icon.
|
|
1802
|
+
*/
|
|
1803
|
+
get datetimeCollapsedIcon() {
|
|
1804
|
+
// Determine the theme and map to default icons
|
|
1805
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
1806
|
+
const defaultIcons = {
|
|
1807
|
+
ios: index$1.chevronForward,
|
|
1808
|
+
ionic: caretDown.caretDownSvg,
|
|
1809
|
+
md: index$1.caretDownSharp,
|
|
1810
|
+
};
|
|
1811
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1812
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1813
|
+
// Return the configured datetime show month and year icon or the default icon
|
|
1814
|
+
return ionicGlobal.config.get('datetimeCollapsedIcon', defaultIcon);
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* Get the icon to use for the hide month and year icon.
|
|
1818
|
+
* Otherwise, use the icon set in the config.
|
|
1819
|
+
* If no icon is set in the config, use the default icon.
|
|
1820
|
+
*/
|
|
1821
|
+
get datetimeExpandedIcon() {
|
|
1822
|
+
// Determine the theme and map to default icons
|
|
1823
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
1824
|
+
const defaultIcons = {
|
|
1825
|
+
ios: index$1.chevronDown,
|
|
1826
|
+
ionic: caretUpSvg,
|
|
1827
|
+
md: index$1.caretUpSharp,
|
|
1828
|
+
};
|
|
1829
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1830
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1831
|
+
// Return the configured datetime hide month and year icon or the default icon
|
|
1832
|
+
return ionicGlobal.config.get('datetimeExpandedIcon', defaultIcon);
|
|
1833
|
+
}
|
|
1757
1834
|
render() {
|
|
1758
1835
|
const { name, value, disabled, el, color, readonly, showMonthAndYear, preferWheel, presentation, size, isGridStyle, } = this;
|
|
1759
|
-
const
|
|
1836
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
1760
1837
|
const isMonthAndYearPresentation = presentation === 'year' || presentation === 'month' || presentation === 'month-year';
|
|
1761
1838
|
const shouldShowMonthAndYear = showMonthAndYear || isMonthAndYearPresentation;
|
|
1762
1839
|
const monthYearPickerOpen = showMonthAndYear && !isMonthAndYearPresentation;
|
|
1763
1840
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1764
1841
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1765
1842
|
helpers.renderHiddenInput(true, el, name, data.formatValue(value), disabled);
|
|
1766
|
-
return (index
|
|
1767
|
-
[
|
|
1843
|
+
return (index.h(index.Host, { key: '94e9712d7c8aad9cda2c836354bbb8446be7e8fe', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, theme.createColorClasses(color, {
|
|
1844
|
+
[theme$1]: true,
|
|
1768
1845
|
['datetime-readonly']: readonly,
|
|
1769
1846
|
['datetime-disabled']: disabled,
|
|
1770
1847
|
'show-month-and-year': shouldShowMonthAndYear,
|
|
@@ -1773,9 +1850,9 @@ const Datetime = class {
|
|
|
1773
1850
|
[`datetime-size-${size}`]: true,
|
|
1774
1851
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1775
1852
|
[`datetime-grid`]: isGridStyle,
|
|
1776
|
-
})) }, index
|
|
1853
|
+
})) }, index.h("div", { key: 'c0a289fbc88f6c22e0c70cc86f78dc9fec87d73c', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme$1)));
|
|
1777
1854
|
}
|
|
1778
|
-
get el() { return index
|
|
1855
|
+
get el() { return index.getElement(this); }
|
|
1779
1856
|
static get watchers() { return {
|
|
1780
1857
|
"formatOptions": ["formatOptionsChanged"],
|
|
1781
1858
|
"disabled": ["disabledChanged"],
|
|
@@ -1796,6 +1873,7 @@ const CONFIRM_ROLE = 'datetime-confirm';
|
|
|
1796
1873
|
const WHEEL_ITEM_PART = 'wheel-item';
|
|
1797
1874
|
const WHEEL_ITEM_ACTIVE_PART = `active`;
|
|
1798
1875
|
Datetime.style = {
|
|
1876
|
+
ionic: IonDatetimeIonicStyle0,
|
|
1799
1877
|
ios: IonDatetimeIosStyle0,
|
|
1800
1878
|
md: IonDatetimeMdStyle0
|
|
1801
1879
|
};
|
|
@@ -1844,23 +1922,23 @@ const iosLeaveAnimation = (baseEl) => {
|
|
|
1844
1922
|
.addAnimation([backdropAnimation, wrapperAnimation]);
|
|
1845
1923
|
};
|
|
1846
1924
|
|
|
1847
|
-
const pickerIosCss = ".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);
|
|
1925
|
+
const pickerIosCss = ".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);right:0;left:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}";
|
|
1848
1926
|
const IonPickerLegacyIosStyle0 = pickerIosCss;
|
|
1849
1927
|
|
|
1850
|
-
const pickerMdCss = ".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);
|
|
1928
|
+
const pickerMdCss = ".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);right:0;left:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}";
|
|
1851
1929
|
const IonPickerLegacyMdStyle0 = pickerMdCss;
|
|
1852
1930
|
|
|
1853
1931
|
const Picker = class {
|
|
1854
1932
|
constructor(hostRef) {
|
|
1855
|
-
index
|
|
1856
|
-
this.didPresent = index
|
|
1857
|
-
this.willPresent = index
|
|
1858
|
-
this.willDismiss = index
|
|
1859
|
-
this.didDismiss = index
|
|
1860
|
-
this.didPresentShorthand = index
|
|
1861
|
-
this.willPresentShorthand = index
|
|
1862
|
-
this.willDismissShorthand = index
|
|
1863
|
-
this.didDismissShorthand = index
|
|
1933
|
+
index.registerInstance(this, hostRef);
|
|
1934
|
+
this.didPresent = index.createEvent(this, "ionPickerDidPresent", 7);
|
|
1935
|
+
this.willPresent = index.createEvent(this, "ionPickerWillPresent", 7);
|
|
1936
|
+
this.willDismiss = index.createEvent(this, "ionPickerWillDismiss", 7);
|
|
1937
|
+
this.didDismiss = index.createEvent(this, "ionPickerDidDismiss", 7);
|
|
1938
|
+
this.didPresentShorthand = index.createEvent(this, "didPresent", 7);
|
|
1939
|
+
this.willPresentShorthand = index.createEvent(this, "willPresent", 7);
|
|
1940
|
+
this.willDismissShorthand = index.createEvent(this, "willDismiss", 7);
|
|
1941
|
+
this.didDismissShorthand = index.createEvent(this, "didDismiss", 7);
|
|
1864
1942
|
this.delegateController = overlays.createDelegateController(this);
|
|
1865
1943
|
this.lockController = lockController.createLockController();
|
|
1866
1944
|
this.triggerController = overlays.createTriggerController();
|
|
@@ -1917,7 +1995,7 @@ const Picker = class {
|
|
|
1917
1995
|
overlays.setOverlayId(this.el);
|
|
1918
1996
|
}
|
|
1919
1997
|
componentDidLoad() {
|
|
1920
|
-
|
|
1998
|
+
ionicGlobal.printIonWarning('ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.', this.el);
|
|
1921
1999
|
/**
|
|
1922
2000
|
* If picker was rendered with isOpen="true"
|
|
1923
2001
|
* then we should open picker immediately.
|
|
@@ -2026,14 +2104,14 @@ const Picker = class {
|
|
|
2026
2104
|
}
|
|
2027
2105
|
render() {
|
|
2028
2106
|
const { htmlAttributes } = this;
|
|
2029
|
-
const
|
|
2030
|
-
return (index
|
|
2107
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2108
|
+
return (index.h(index.Host, Object.assign({ key: 'ffcf8aef8706c54b9035e17adf6fe1137ab734d7', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2031
2109
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2032
|
-
}, class: Object.assign({ [
|
|
2110
|
+
}, class: Object.assign({ [theme$1]: true,
|
|
2033
2111
|
// Used internally for styling
|
|
2034
|
-
[`picker-${
|
|
2112
|
+
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: 'c53339b9d0a55a94a441a1e0b21be1d52e0c8859', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'f049a8dacc8e1c5cf81e055aeacb1ad5c6141651', tabindex: "0" }), index.h("div", { key: '4d1c8bf231647abe9ca188241ad2782143fd1348', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index.h("div", { key: '4361af012394bd4683277a7d418fd6f1aa2b585b', class: "picker-toolbar" }, this.buttons.map((b) => (index.h("div", { class: buttonWrapperClass(b) }, index.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index.h("div", { key: '55556fdb2606f33c64a255b5d010eafac0447415', class: "picker-columns" }, index.h("div", { key: '4fbd0651149cf490cd1996831746e9a7ae96a4d4', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index.h("ion-picker-legacy-column", { col: c })), index.h("div", { key: '94826601e132fd7bac190f6ceb996674c16a7d17', class: "picker-below-highlight" }))), index.h("div", { key: 'e2bc6b9fe33fc5d80c611ec5382b7399d1e8d7fd', tabindex: "0" })));
|
|
2035
2113
|
}
|
|
2036
|
-
get el() { return index
|
|
2114
|
+
get el() { return index.getElement(this); }
|
|
2037
2115
|
static get watchers() { return {
|
|
2038
2116
|
"isOpen": ["onIsOpenChange"],
|
|
2039
2117
|
"trigger": ["triggerChanged"]
|
|
@@ -2061,8 +2139,8 @@ const IonPickerLegacyColumnMdStyle0 = pickerColumnMdCss;
|
|
|
2061
2139
|
|
|
2062
2140
|
const PickerColumnCmp = class {
|
|
2063
2141
|
constructor(hostRef) {
|
|
2064
|
-
index
|
|
2065
|
-
this.ionPickerColChange = index
|
|
2142
|
+
index.registerInstance(this, hostRef);
|
|
2143
|
+
this.ionPickerColChange = index.createEvent(this, "ionPickerColChange", 7);
|
|
2066
2144
|
this.optHeight = 0;
|
|
2067
2145
|
this.rotateFactor = 0;
|
|
2068
2146
|
this.scaleFactor = 1;
|
|
@@ -2387,12 +2465,12 @@ const PickerColumnCmp = class {
|
|
|
2387
2465
|
}
|
|
2388
2466
|
render() {
|
|
2389
2467
|
const col = this.col;
|
|
2390
|
-
const
|
|
2391
|
-
return (index
|
|
2468
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2469
|
+
return (index.h(index.Host, { key: 'c27a6cefcbe86c84423d9e3bf07aecb692d0cbc0', class: Object.assign({ [theme$1]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2392
2470
|
'max-width': this.col.columnWidth,
|
|
2393
|
-
} }, col.prefix && (index
|
|
2471
|
+
} }, col.prefix && (index.h("div", { key: '46e316911e42570f50e81c16026a784d474a11ce', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index.h("div", { key: '139092ca616fafdb338bf6018929698f6b6f39b5', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index$1) => (index.h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index$1 }, o.text)))), col.suffix && (index.h("div", { key: '4343e0f17f3d6951afe7c4e376e38e7a95bedc7d', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2394
2472
|
}
|
|
2395
|
-
get el() { return index
|
|
2473
|
+
get el() { return index.getElement(this); }
|
|
2396
2474
|
static get watchers() { return {
|
|
2397
2475
|
"col": ["colChanged"]
|
|
2398
2476
|
}; }
|