@ionic/core 8.0.0-dev.11709632212.139b6f63 → 8.0.0-dev.11711035263.183d2423
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 +3 -3
- package/components/alert.js +2 -2
- package/components/animation.js +9 -250
- package/components/backdrop.js +1 -1
- package/components/button.js +2 -2
- package/components/buttons.js +3 -3
- package/components/checkbox.js +3 -3
- package/components/data.js +23 -38
- package/components/haptic.js +6 -54
- package/components/hardware-back-button.js +3 -3
- package/components/helpers.js +1 -54
- package/components/index7.js +3 -1
- package/components/index9.js +1 -1
- package/components/input.utils.js +12 -0
- package/components/ion-app.js +4 -4
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -2
- package/components/ion-badge.js +2 -2
- package/components/ion-breadcrumb.js +2 -2
- package/components/ion-breadcrumbs.js +2 -2
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-content.js +3 -3
- package/components/ion-datetime-button.js +11 -10
- package/components/ion-datetime.js +75 -12
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-header.js +3 -3
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.d.ts +11 -0
- package/components/ion-input-password-toggle.js +132 -0
- package/components/ion-input.js +28 -9
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +3 -3
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +7 -28
- package/components/ion-modal.js +37 -5
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +43 -1
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +137 -45
- package/components/ion-refresher-content.js +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-router.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +35 -6
- package/components/ion-segment-button.js +3 -3
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +28 -34
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +5 -6
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +4 -4
- package/components/ion-toolbar.js +2 -2
- package/components/item.js +30 -97
- package/components/label.js +4 -4
- package/components/list-header.js +2 -2
- package/components/overlays.js +140 -55
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +25 -6
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +4 -4
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +13 -19
- package/components/spinner.js +1 -1
- package/css/palettes/dark.always.css.map +1 -0
- package/css/{themes → palettes}/dark.class.css +4 -4
- package/css/palettes/dark.class.css.map +1 -0
- package/css/palettes/dark.system.css.map +1 -0
- package/css/palettes/high-contrast-dark.always.css.map +1 -0
- package/css/{themes → palettes}/high-contrast-dark.class.css +10 -10
- package/css/palettes/high-contrast-dark.class.css.map +1 -0
- package/css/palettes/high-contrast-dark.system.css.map +1 -0
- package/css/palettes/high-contrast.always.css.map +1 -0
- package/css/{themes → palettes}/high-contrast.class.css +31 -31
- package/css/palettes/high-contrast.class.css.map +1 -0
- package/css/palettes/high-contrast.system.css.map +1 -0
- package/dist/cjs/{animation-4ad55058.js → animation-b4fdf128.js} +9 -250
- package/dist/cjs/{app-globals-92ad1b3d.js → app-globals-e132c781.js} +1 -1
- package/dist/cjs/{button-active-8f6a8e77.js → button-active-e2ed5329.js} +2 -2
- package/dist/cjs/{data-e2bf21de.js → data-21dc0f81.js} +22 -39
- package/dist/cjs/{framework-delegate-53817ef1.js → framework-delegate-df3a2b04.js} +1 -1
- package/dist/cjs/{haptic-b882e0bb.js → haptic-f6b37aa3.js} +6 -54
- package/dist/cjs/{hardware-back-button-2696acaf.js → hardware-back-button-1c67a5a2.js} +5 -5
- package/dist/cjs/{helpers-b71ca811.js → helpers-71097d9c.js} +0 -54
- package/dist/cjs/{index-f52c6d38.js → index-073c7cdc.js} +4 -0
- package/dist/cjs/{index-0ffe376d.js → index-2d21d526.js} +443 -14
- package/dist/cjs/{index-347883f6.js → index-7479ea5a.js} +1 -1
- package/dist/cjs/{index-7574e3d2.js → index-a91a3e24.js} +1 -1
- package/dist/cjs/{index-16fc2c94.js → index-c2191aa0.js} +4 -4
- package/dist/cjs/{index-88b3bd6f.js → index-ef9261f8.js} +4 -4
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-679d87bc.js → input-shims-77b14f24.js} +2 -2
- package/dist/cjs/{input.utils-5175aea1.js → input.utils-ca74d73a.js} +13 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +12 -12
- package/dist/cjs/ion-alert.cjs.entry.js +11 -11
- package/dist/cjs/ion-app_8.cjs.entry.js +30 -30
- package/dist/cjs/ion-avatar_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-back-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-button_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-card_5.cjs.entry.js +11 -11
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/ion-chip.cjs.entry.js +4 -4
- package/dist/cjs/ion-col_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -13
- package/dist/cjs/ion-datetime_3.cjs.entry.js +85 -25
- package/dist/cjs/ion-fab_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-img.cjs.entry.js +4 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +93 -0
- package/dist/cjs/ion-input.cjs.entry.js +30 -12
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +37 -92
- package/dist/cjs/ion-loading.cjs.entry.js +9 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +18 -39
- package/dist/cjs/ion-modal.cjs.entry.js +46 -14
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +29 -10
- package/dist/cjs/ion-picker.cjs.entry.js +4 -4
- package/dist/cjs/ion-popover.cjs.entry.js +11 -11
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +140 -48
- package/dist/cjs/ion-refresher_2.cjs.entry.js +9 -9
- package/dist/cjs/ion-reorder_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
- package/dist/cjs/ion-searchbar.cjs.entry.js +32 -8
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +18 -18
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +9 -10
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -8
- package/dist/cjs/{ionic-global-59a10130.js → ionic-global-5762eca9.js} +1 -1
- package/dist/cjs/ionic.cjs.js +28 -5
- package/dist/cjs/{ios.transition-b102ee38.js → ios.transition-2bb1c4d1.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-a5454240.js → md.transition-c0afd670.js} +4 -4
- package/dist/cjs/{notch-controller-8e0ae870.js → notch-controller-0042ad49.js} +1 -1
- package/dist/cjs/{overlays-6b7d156b.js → overlays-30b83581.js} +142 -56
- package/dist/cjs/{status-tap-b60dcbd8.js → status-tap-dc3b8fda.js} +3 -3
- package/dist/cjs/{swipe-back-72c5c8b7.js → swipe-back-29e88360.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/action-sheet/action-sheet.js +3 -3
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +2 -2
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +5 -1
- package/dist/collection/components/alert/test/basic/alert.e2e.js +1 -1
- package/dist/collection/components/app/app.js +4 -4
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/back-button/back-button.js +2 -2
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +1 -1
- package/dist/collection/components/backdrop/backdrop.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/test/a11y/button.e2e.js +2 -2
- package/dist/collection/components/buttons/buttons.js +2 -2
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/test/checkbox.spec.js +12 -0
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +56 -12
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +80 -1
- package/dist/collection/components/datetime/test/format.spec.js +65 -15
- package/dist/collection/components/datetime/utils/format.js +24 -37
- package/dist/collection/components/datetime/utils/validate.js +45 -0
- package/dist/collection/components/datetime-button/datetime-button.js +11 -10
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +65 -0
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +1 -1
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.ios.css +5 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/header/test/basic/header.e2e.js +77 -0
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.ios.css +15 -3
- package/dist/collection/components/input/input.js +26 -29
- package/dist/collection/components/input/input.md.css +17 -5
- package/dist/collection/components/input/test/a11y/input.e2e.js +1 -1
- package/dist/collection/components/input/test/highlight/input.e2e.js +144 -0
- package/dist/collection/components/input/test/item/input.e2e.js +21 -0
- package/dist/collection/components/input/test/slot/input.e2e.js +8 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.ios.css +0 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +183 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.md.css +0 -0
- 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.ios.css +6 -198
- package/dist/collection/components/item/item.js +22 -170
- package/dist/collection/components/item/item.md.css +8 -361
- package/dist/collection/components/item/test/basic/item.e2e.js +0 -5
- package/dist/collection/components/item/test/buttons/item.e2e.js +20 -4
- package/dist/collection/components/item/test/item.spec.js +1 -1
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +1 -1
- package/dist/collection/components/label/label.ios.css +0 -5
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/label.md.css +0 -75
- package/dist/collection/components/label/test/a11y/label.e2e.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +16 -30
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +1 -1
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +37 -5
- package/dist/collection/components/modal/test/modal-attributes.spec.js +32 -0
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +25 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +5 -4
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +1 -1
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +1 -1
- package/dist/collection/components/range/range.js +137 -45
- package/dist/collection/components/range/test/a11y/range.e2e.js +1 -1
- package/dist/collection/components/range/test/label/range.spec.js +24 -0
- package/dist/collection/components/range/test/range-events.e2e.js +27 -0
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +1 -1
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +84 -5
- package/dist/collection/components/searchbar/test/searchbar.spec.js +20 -2
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +1 -1
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.ios.css +7 -2
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/select/select.md.css +6 -29
- package/dist/collection/components/select/test/a11y/select.e2e.js +1 -1
- package/dist/collection/components/select/test/highlight/select.e2e.js +88 -4
- package/dist/collection/components/select/test/select.spec.js +22 -0
- package/dist/collection/components/select/test/slot/select.e2e.js +8 -0
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +144 -0
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +21 -0
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +8 -0
- package/dist/collection/components/textarea/textarea.ios.css +4 -22
- package/dist/collection/components/textarea/textarea.js +2 -26
- package/dist/collection/components/textarea/textarea.md.css +6 -17
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/toggle.js +4 -4
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/css/test/a11y/typography.e2e.js +1 -1
- package/dist/collection/themes/test/colors/theme.e2e.js +2 -2
- package/dist/collection/utils/animation/animation-utils.js +0 -102
- package/dist/collection/utils/animation/animation.js +10 -141
- package/dist/collection/utils/animation/test/animation.spec.js +0 -89
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -4
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -7
- package/dist/collection/utils/focus-trap.js +78 -0
- package/dist/collection/utils/forms/index.js +0 -1
- package/dist/collection/utils/hardware-back-button.js +2 -2
- package/dist/collection/utils/helpers.js +0 -53
- package/dist/collection/utils/native/haptic.js +6 -54
- package/dist/collection/utils/overlays.js +64 -53
- package/dist/collection/utils/slot-mutation-controller.js +12 -0
- package/dist/collection/utils/test/overlays/overlays.spec.js +53 -0
- package/dist/collection/utils/test/playwright/generator.js +17 -17
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +6 -6
- package/dist/docs.json +341 -193
- package/dist/esm/{animation-a4acf150.js → animation-eab5a4ca.js} +9 -250
- package/dist/esm/{app-globals-5cf6195b.js → app-globals-80842d68.js} +1 -1
- package/dist/esm/{button-active-4407b98c.js → button-active-824983fa.js} +2 -2
- package/dist/esm/{data-691286f1.js → data-ae11fd43.js} +23 -38
- package/dist/esm/{framework-delegate-1eb3236c.js → framework-delegate-3dede018.js} +1 -1
- package/dist/esm/{haptic-554688a5.js → haptic-ac164e4c.js} +6 -54
- package/dist/esm/{hardware-back-button-b410a047.js → hardware-back-button-fb295e3a.js} +5 -5
- package/dist/esm/{helpers-ae74b3c9.js → helpers-eab4f597.js} +1 -54
- package/dist/esm/{index-8758824c.js → index-0089f1fa.js} +4 -4
- package/dist/esm/{index-66871a1d.js → index-044b5a86.js} +1 -1
- package/dist/esm/{index-4c30cddd.js → index-5d6a0317.js} +443 -15
- package/dist/esm/{index-f7dc70ba.js → index-e2cf2ceb.js} +3 -1
- package/dist/esm/{index-1eff8599.js → index-f27077ac.js} +4 -4
- package/dist/esm/{index-1f563746.js → index-fa221975.js} +1 -1
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-56c1f603.js → input-shims-196afa11.js} +2 -2
- package/dist/esm/{input.utils-482fc893.js → input.utils-426cc674.js} +13 -1
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +12 -12
- package/dist/esm/ion-alert.entry.js +11 -11
- package/dist/esm/ion-app_8.entry.js +30 -30
- package/dist/esm/ion-avatar_3.entry.js +6 -6
- package/dist/esm/ion-back-button.entry.js +6 -6
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +8 -8
- package/dist/esm/ion-button_2.entry.js +5 -5
- package/dist/esm/ion-card_5.entry.js +11 -11
- package/dist/esm/ion-checkbox.entry.js +6 -6
- package/dist/esm/ion-chip.entry.js +4 -4
- package/dist/esm/ion-col_3.entry.js +7 -7
- package/dist/esm/ion-datetime-button.entry.js +14 -13
- package/dist/esm/ion-datetime_3.entry.js +85 -25
- package/dist/esm/ion-fab_3.entry.js +10 -10
- package/dist/esm/ion-img.entry.js +4 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +7 -7
- package/dist/esm/ion-input-password-toggle.entry.js +89 -0
- package/dist/esm/ion-input.entry.js +30 -12
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +37 -92
- package/dist/esm/ion-loading.entry.js +9 -9
- package/dist/esm/ion-menu_3.entry.js +18 -39
- package/dist/esm/ion-modal.entry.js +46 -14
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-option.entry.js +5 -5
- package/dist/esm/ion-picker-column.entry.js +29 -10
- package/dist/esm/ion-picker.entry.js +4 -4
- package/dist/esm/ion-popover.entry.js +11 -11
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +140 -48
- package/dist/esm/ion-refresher_2.entry.js +9 -9
- package/dist/esm/ion-reorder_2.entry.js +8 -8
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +5 -5
- package/dist/esm/ion-searchbar.entry.js +32 -8
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +18 -18
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +7 -7
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +9 -10
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +8 -8
- package/dist/esm/{ionic-global-ad9a1810.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm/ionic.js +29 -6
- package/dist/esm/{ios.transition-189b73b7.js → ios.transition-632deb95.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-c9761eef.js → md.transition-3bcf4011.js} +4 -4
- package/dist/esm/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
- package/dist/esm/{overlays-c69d2a07.js → overlays-d41f74ac.js} +142 -57
- package/dist/esm/{status-tap-1d638ee6.js → status-tap-45595148.js} +3 -3
- package/dist/esm/{swipe-back-348f1971.js → swipe-back-57844616.js} +1 -1
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-80842d68.js +4 -0
- package/dist/esm-es5/{button-active-4407b98c.js → button-active-824983fa.js} +1 -1
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/{framework-delegate-1eb3236c.js → framework-delegate-3dede018.js} +1 -1
- package/dist/esm-es5/haptic-ac164e4c.js +4 -0
- package/dist/esm-es5/hardware-back-button-fb295e3a.js +4 -0
- package/dist/esm-es5/helpers-eab4f597.js +4 -0
- package/dist/esm-es5/{index-8758824c.js → index-0089f1fa.js} +1 -1
- package/dist/esm-es5/{index-66871a1d.js → index-044b5a86.js} +1 -1
- package/dist/esm-es5/index-5d6a0317.js +5 -0
- package/dist/esm-es5/{index-f7dc70ba.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm-es5/{index-1eff8599.js → index-f27077ac.js} +1 -1
- package/dist/esm-es5/{index-1f563746.js → index-fa221975.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-56c1f603.js → input-shims-196afa11.js} +1 -1
- package/dist/esm-es5/input.utils-426cc674.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 +4 -0
- 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-ad9a1810.js → ionic-global-a589c12c.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-189b73b7.js → ios.transition-632deb95.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-3bcf4011.js +4 -0
- package/dist/esm-es5/{notch-controller-18bf9f76.js → notch-controller-cff691e5.js} +1 -1
- package/dist/esm-es5/overlays-d41f74ac.js +4 -0
- package/dist/esm-es5/{status-tap-1d638ee6.js → status-tap-45595148.js} +1 -1
- package/dist/esm-es5/{swipe-back-348f1971.js → swipe-back-57844616.js} +1 -1
- package/dist/html.html-data.json +93 -27
- 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-5d7e32ce.js → p-031c5621.js} +1 -1
- package/dist/ionic/{p-1a4db355.system.entry.js → p-04bdc816.system.entry.js} +2 -2
- package/dist/ionic/p-07759435.system.js +4 -0
- package/dist/ionic/{p-4bbc949f.system.entry.js → p-07927036.system.entry.js} +1 -1
- package/dist/ionic/p-0e4c9e45.system.js +4 -0
- package/dist/ionic/{p-3c51cf97.system.entry.js → p-103ec049.system.entry.js} +1 -1
- package/dist/ionic/{p-f7d802e1.entry.js → p-126207f8.entry.js} +1 -1
- package/dist/ionic/{p-4dfe0487.system.entry.js → p-1d3f79b2.system.entry.js} +1 -1
- package/dist/ionic/{p-6e14d3ca.system.entry.js → p-1d528988.system.entry.js} +1 -1
- package/dist/ionic/p-1e955a45.system.js +4 -0
- package/dist/ionic/p-20bf9f84.entry.js +4 -0
- package/dist/ionic/{p-6dbea874.system.entry.js → p-210248f5.system.entry.js} +1 -1
- package/dist/ionic/{p-3d77b300.system.entry.js → p-219c17cf.system.entry.js} +1 -1
- package/dist/ionic/{p-de0a7606.system.entry.js → p-23838a94.system.entry.js} +1 -1
- package/dist/ionic/{p-ceceac26.js → p-239906f1.js} +1 -1
- package/dist/ionic/{p-916a4e14.entry.js → p-2807660b.entry.js} +1 -1
- package/dist/ionic/{p-0612cdcc.system.entry.js → p-282bd5f9.system.entry.js} +1 -1
- package/dist/ionic/p-29ef3b9b.entry.js +4 -0
- package/dist/ionic/{p-8a50f8d6.system.js → p-2cc2c631.system.js} +1 -1
- package/dist/ionic/p-2d34b04a.system.entry.js +4 -0
- package/dist/ionic/p-2f53c3eb.js +4 -0
- package/dist/ionic/{p-174856b4.system.js → p-31794e40.system.js} +1 -1
- package/dist/ionic/{p-c880c809.js → p-325c61a4.js} +1 -1
- package/dist/ionic/p-34b8c5bc.entry.js +4 -0
- package/dist/ionic/{p-cefbb7b7.entry.js → p-3599e243.entry.js} +1 -1
- package/dist/ionic/p-364044f0.js +4 -0
- package/dist/ionic/{p-3807cd45.system.entry.js → p-3739de23.system.entry.js} +1 -1
- package/dist/ionic/{p-d84c9fc4.entry.js → p-3785c067.entry.js} +1 -1
- package/dist/ionic/p-3895e131.system.entry.js +4 -0
- package/dist/ionic/p-38b129b6.entry.js +4 -0
- package/dist/ionic/p-38e25e67.js +4 -0
- package/dist/ionic/{p-3209217f.entry.js → p-3ad1b1c5.entry.js} +1 -1
- package/dist/ionic/p-3bf7a38d.system.entry.js +4 -0
- package/dist/ionic/{p-2dcf2ec2.system.entry.js → p-3c1aac30.system.entry.js} +1 -1
- package/dist/ionic/{p-d7c78a97.system.entry.js → p-3d55c50f.system.entry.js} +1 -1
- package/dist/ionic/{p-fd783a38.system.entry.js → p-3e6e53fe.system.entry.js} +1 -1
- package/dist/ionic/{p-174b0d50.system.entry.js → p-40976b1c.system.entry.js} +1 -1
- package/dist/ionic/{p-acf70e64.system.entry.js → p-456ae20a.system.entry.js} +1 -1
- package/dist/ionic/p-468e20c0.system.entry.js +4 -0
- package/dist/ionic/p-49e5401f.entry.js +4 -0
- package/dist/ionic/{p-c9e21694.system.entry.js → p-4a20a758.system.entry.js} +1 -1
- package/dist/ionic/p-4a3055ef.system.js +4 -0
- package/dist/ionic/{p-e46adaf1.system.entry.js → p-4b318f5e.system.entry.js} +1 -1
- package/dist/ionic/{p-b2d58604.system.entry.js → p-4d21e85e.system.entry.js} +2 -2
- package/dist/ionic/p-4decdc16.system.entry.js +4 -0
- package/dist/ionic/{p-ef9736b9.entry.js → p-50633cad.entry.js} +1 -1
- package/dist/ionic/{p-1f79e54a.entry.js → p-527e1d8a.entry.js} +1 -1
- package/dist/ionic/{p-6aeb0272.entry.js → p-5644df37.entry.js} +1 -1
- package/dist/ionic/p-564554d0.system.js +4 -0
- package/dist/ionic/{p-16e06393.system.js → p-56864c25.system.js} +1 -1
- package/dist/ionic/{p-f7c3d736.system.entry.js → p-57a3b59e.system.entry.js} +1 -1
- package/dist/ionic/{p-8fe3c4ef.entry.js → p-5b4b977f.entry.js} +1 -1
- package/dist/ionic/p-5b52897c.js +4 -0
- package/dist/ionic/{p-415ccddd.entry.js → p-5c6d4276.entry.js} +1 -1
- package/dist/ionic/{p-9f84474d.entry.js → p-5f6c0372.entry.js} +1 -1
- package/dist/ionic/{p-97248203.system.entry.js → p-647981a4.system.entry.js} +1 -1
- package/dist/ionic/{p-f0a7e80b.js → p-652a7913.js} +1 -1
- package/dist/ionic/p-659d8f84.entry.js +4 -0
- package/dist/ionic/p-668607c2.system.js +4 -0
- package/dist/ionic/{p-5d530ae5.entry.js → p-66e50777.entry.js} +1 -1
- package/dist/ionic/{p-eb9803e9.system.js → p-6a62da36.system.js} +1 -1
- package/dist/ionic/p-6f734552.system.entry.js +4 -0
- package/dist/ionic/{p-1df25966.entry.js → p-7002bc75.entry.js} +1 -1
- package/dist/ionic/{p-de55ec45.js → p-78b3da77.js} +1 -1
- package/dist/ionic/{p-5133c4a3.system.entry.js → p-7abeea68.system.entry.js} +1 -1
- package/dist/ionic/{p-df6a1571.entry.js → p-7b8ece87.entry.js} +1 -1
- package/dist/ionic/p-7c4c37ae.system.js +4 -0
- package/dist/ionic/p-7c7e495d.system.js +4 -0
- package/dist/ionic/p-84025e3c.entry.js +4 -0
- package/dist/ionic/{p-ec77b7ad.system.entry.js → p-8412860b.system.entry.js} +1 -1
- package/dist/ionic/p-8543c360.system.entry.js +4 -0
- package/dist/ionic/{p-12b55b00.system.entry.js → p-86bdb32e.system.entry.js} +1 -1
- package/dist/ionic/p-8818519d.entry.js +4 -0
- package/dist/ionic/{p-ef636601.entry.js → p-887984fc.entry.js} +1 -1
- package/dist/ionic/p-89b61afc.js +4 -0
- package/dist/ionic/{p-1d545773.entry.js → p-8ed900e4.entry.js} +1 -1
- package/dist/ionic/p-9146695e.system.js +4 -0
- package/dist/ionic/{p-0dca0eee.system.entry.js → p-91567c90.system.entry.js} +1 -1
- package/dist/ionic/{p-f2473724.js → p-91a83ede.js} +1 -1
- package/dist/ionic/{p-c8d61b6c.system.entry.js → p-92b05b70.system.entry.js} +1 -1
- package/dist/ionic/p-96c06026.entry.js +4 -0
- package/dist/ionic/p-978f4710.js +4 -0
- package/dist/ionic/{p-973c7550.system.entry.js → p-9a4b9c91.system.entry.js} +1 -1
- package/dist/ionic/p-9b5d033a.system.entry.js +4 -0
- package/dist/ionic/p-9d00a694.system.entry.js +4 -0
- package/dist/ionic/{p-6525a8cd.system.js → p-9e3177a5.system.js} +1 -1
- package/dist/ionic/p-9fd5857a.system.entry.js +4 -0
- package/dist/ionic/{p-1e07fdb2.system.entry.js → p-a2dc2ef1.system.entry.js} +2 -2
- package/dist/ionic/p-a3dae2ce.js +4 -0
- package/dist/ionic/{p-8d4d902b.js → p-a600a3e3.js} +1 -1
- package/dist/ionic/{p-5f9fbad0.entry.js → p-a668e0d4.entry.js} +1 -1
- package/dist/ionic/{p-80704be1.entry.js → p-a6ac25f2.entry.js} +1 -1
- package/dist/ionic/p-a6bce1f5.js +4 -0
- package/dist/ionic/{p-34d0f143.system.entry.js → p-a7270027.system.entry.js} +1 -1
- package/dist/ionic/p-a93873de.system.js +4 -0
- package/dist/ionic/p-a9d2fa95.entry.js +4 -0
- package/dist/ionic/{p-98e6b3b8.system.js → p-ab6879e7.system.js} +1 -1
- package/dist/ionic/{p-717c4b72.entry.js → p-ac585dba.entry.js} +1 -1
- package/dist/ionic/{p-89ca4c4b.system.js → p-af9256a0.system.js} +1 -1
- package/dist/ionic/p-b05c33d0.system.entry.js +4 -0
- package/dist/ionic/{p-2b3544ad.entry.js → p-b141e253.entry.js} +1 -1
- package/dist/ionic/{p-5d64e680.entry.js → p-b6d1ce6c.entry.js} +1 -1
- package/dist/ionic/p-bb01ff24.system.entry.js +4 -0
- package/dist/ionic/p-bb151f4b.entry.js +4 -0
- package/dist/ionic/p-c385e49d.entry.js +4 -0
- package/dist/ionic/p-c3f5d0e7.js +4 -0
- package/dist/ionic/p-c629d22b.system.js +5 -0
- package/dist/ionic/{p-15708968.js → p-c6f9f3eb.js} +1 -1
- package/dist/ionic/p-c7e16491.js +4 -0
- package/dist/ionic/p-c83741f7.entry.js +4 -0
- package/dist/ionic/{p-993da5df.entry.js → p-c8383c20.entry.js} +1 -1
- package/dist/ionic/{p-d7dc29c5.entry.js → p-c947155d.entry.js} +1 -1
- package/dist/ionic/{p-00a762c9.entry.js → p-cb970588.entry.js} +1 -1
- package/dist/ionic/{p-31e02742.system.js → p-cbb9269d.system.js} +1 -1
- package/dist/ionic/{p-dd7c79ce.system.entry.js → p-cc769fb6.system.entry.js} +1 -1
- package/dist/ionic/{p-5797981d.system.entry.js → p-cc978d16.system.entry.js} +2 -2
- package/dist/ionic/{p-b434ded7.system.entry.js → p-ce436e94.system.entry.js} +1 -1
- package/dist/ionic/{p-6ad90d41.entry.js → p-ce9eafa3.entry.js} +1 -1
- package/dist/ionic/p-cf07fee5.entry.js +4 -0
- package/dist/ionic/p-d0adc028.system.entry.js +4 -0
- package/dist/ionic/p-d0d674d0.entry.js +4 -0
- package/dist/ionic/p-d35d485c.entry.js +4 -0
- package/dist/ionic/p-d60342e3.js +4 -0
- package/dist/ionic/{p-816476b0.system.js → p-d704f798.system.js} +1 -1
- package/dist/ionic/p-d80b7e31.system.js +4 -0
- package/dist/ionic/p-d834c508.entry.js +4 -0
- package/dist/ionic/p-da2b833b.js +4 -0
- package/dist/ionic/{p-385f66bc.entry.js → p-da5bbd4f.entry.js} +1 -1
- package/dist/ionic/{p-5e70f800.system.entry.js → p-dbd782ec.system.entry.js} +1 -1
- package/dist/ionic/{p-e1819aee.js → p-e066780e.js} +1 -1
- package/dist/ionic/{p-1ea88de9.system.js → p-e0d52ee3.system.js} +2 -2
- package/dist/ionic/p-e170e351.js +4 -0
- package/dist/ionic/{p-0a8a78db.system.entry.js → p-e1d4298f.system.entry.js} +1 -1
- package/dist/ionic/p-e7b0b64d.system.js +4 -0
- package/dist/ionic/p-e7cd7553.system.js +4 -0
- package/dist/ionic/p-f270059b.entry.js +4 -0
- package/dist/ionic/p-f40aa619.entry.js +4 -0
- package/dist/ionic/{p-c6dbc089.system.entry.js → p-f47c47f2.system.entry.js} +1 -1
- package/dist/ionic/p-f687573e.system.js +4 -0
- package/dist/ionic/p-f8502e85.js +5 -0
- package/dist/ionic/p-facad328.entry.js +4 -0
- package/dist/ionic/{p-ab427719.entry.js → p-fbf23235.entry.js} +1 -1
- package/dist/ionic/{p-3c47c5c8.system.entry.js → p-fe5ff8fb.system.entry.js} +1 -1
- package/dist/ionic/{p-9d795c4b.entry.js → p-fe8f0dd2.entry.js} +1 -1
- package/dist/types/components/datetime/datetime-interface.d.ts +10 -0
- package/dist/types/components/datetime/datetime.d.ts +10 -1
- package/dist/types/components/datetime/utils/format.d.ts +7 -13
- package/dist/types/components/datetime/utils/validate.d.ts +8 -0
- package/dist/types/components/input/input.d.ts +7 -6
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +37 -0
- package/dist/types/components/item/item.d.ts +0 -32
- package/dist/types/components/menu/menu-interface.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +2 -4
- package/dist/types/components/range/range.d.ts +29 -0
- package/dist/types/components/searchbar/searchbar.d.ts +38 -0
- package/dist/types/components/textarea/textarea.d.ts +1 -6
- package/dist/types/components/toggle/toggle.d.ts +1 -1
- package/dist/types/components.d.ts +86 -50
- package/dist/types/utils/animation/animation-utils.d.ts +0 -12
- package/dist/types/utils/focus-trap.d.ts +35 -0
- package/dist/types/utils/forms/index.d.ts +0 -1
- package/dist/types/utils/hardware-back-button.d.ts +1 -1
- package/dist/types/utils/helpers.d.ts +0 -19
- package/dist/types/utils/overlays.d.ts +0 -6
- package/dist/types/utils/test/playwright/generator.d.ts +3 -3
- package/hydrate/index.js +853 -821
- package/package.json +7 -2
- package/components/note.js +0 -48
- package/css/themes/dark.always.css.map +0 -1
- package/css/themes/dark.class.css.map +0 -1
- package/css/themes/dark.system.css.map +0 -1
- package/css/themes/high-contrast-dark.always.css.map +0 -1
- package/css/themes/high-contrast-dark.class.css.map +0 -1
- package/css/themes/high-contrast-dark.system.css.map +0 -1
- package/css/themes/high-contrast.always.css.map +0 -1
- package/css/themes/high-contrast.class.css.map +0 -1
- package/css/themes/high-contrast.system.css.map +0 -1
- package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +0 -14
- package/dist/collection/components/modal/test/a11y/modal.spec.js +0 -22
- package/dist/collection/utils/forms/form-controller.js +0 -61
- package/dist/collection/utils/test/aria.spec.js +0 -80
- package/dist/esm-es5/animation-a4acf150.js +0 -4
- package/dist/esm-es5/app-globals-5cf6195b.js +0 -4
- package/dist/esm-es5/data-691286f1.js +0 -4
- package/dist/esm-es5/haptic-554688a5.js +0 -4
- package/dist/esm-es5/hardware-back-button-b410a047.js +0 -4
- package/dist/esm-es5/helpers-ae74b3c9.js +0 -4
- package/dist/esm-es5/index-4c30cddd.js +0 -5
- package/dist/esm-es5/input.utils-482fc893.js +0 -4
- package/dist/esm-es5/md.transition-c9761eef.js +0 -4
- package/dist/esm-es5/overlays-c69d2a07.js +0 -4
- package/dist/ionic/p-069388dd.system.js +0 -4
- package/dist/ionic/p-0b34d3a7.system.js +0 -4
- package/dist/ionic/p-0dfbbdbe.entry.js +0 -4
- package/dist/ionic/p-0f25a7bb.system.js +0 -4
- package/dist/ionic/p-11bb459e.system.entry.js +0 -4
- package/dist/ionic/p-13e8ad2e.entry.js +0 -4
- package/dist/ionic/p-17082c91.system.js +0 -4
- package/dist/ionic/p-19f6ac6c.system.js +0 -4
- package/dist/ionic/p-1deadb7f.system.js +0 -4
- package/dist/ionic/p-2c768965.entry.js +0 -4
- package/dist/ionic/p-32fb7d95.entry.js +0 -4
- package/dist/ionic/p-42f189f4.js +0 -4
- package/dist/ionic/p-446f3909.system.entry.js +0 -4
- package/dist/ionic/p-4a8f173c.system.js +0 -4
- package/dist/ionic/p-4aba0454.system.entry.js +0 -4
- package/dist/ionic/p-4e7abe76.js +0 -4
- package/dist/ionic/p-5289aade.js +0 -4
- package/dist/ionic/p-5dbf7222.entry.js +0 -4
- package/dist/ionic/p-5eabaa80.js +0 -4
- package/dist/ionic/p-60a92a48.system.entry.js +0 -4
- package/dist/ionic/p-640fac4a.system.entry.js +0 -4
- package/dist/ionic/p-66e6860f.system.js +0 -4
- package/dist/ionic/p-67c4deed.system.entry.js +0 -4
- package/dist/ionic/p-6d659d62.entry.js +0 -4
- package/dist/ionic/p-7292add8.entry.js +0 -4
- package/dist/ionic/p-72fa96bf.system.js +0 -5
- package/dist/ionic/p-75861cd3.entry.js +0 -4
- package/dist/ionic/p-760dbd5e.js +0 -4
- package/dist/ionic/p-7e185a31.entry.js +0 -4
- package/dist/ionic/p-831269de.js +0 -4
- package/dist/ionic/p-842777af.js +0 -4
- package/dist/ionic/p-892e2567.system.entry.js +0 -4
- package/dist/ionic/p-8ab308e9.js +0 -4
- package/dist/ionic/p-8b8b900d.entry.js +0 -4
- package/dist/ionic/p-93e79b55.js +0 -4
- package/dist/ionic/p-94f85e19.system.entry.js +0 -4
- package/dist/ionic/p-96107183.js +0 -4
- package/dist/ionic/p-986a47ee.system.entry.js +0 -4
- package/dist/ionic/p-9c93fdcd.js +0 -4
- package/dist/ionic/p-9d6f351e.js +0 -4
- package/dist/ionic/p-9e3b3f15.system.js +0 -4
- package/dist/ionic/p-9ecc1e42.entry.js +0 -4
- package/dist/ionic/p-a6cc38d4.js +0 -4
- package/dist/ionic/p-aaaefef6.entry.js +0 -4
- package/dist/ionic/p-bca27ea7.entry.js +0 -4
- package/dist/ionic/p-c68e75ea.system.js +0 -4
- package/dist/ionic/p-c995da88.system.js +0 -4
- package/dist/ionic/p-cb944b1a.system.js +0 -4
- package/dist/ionic/p-cd0ffc8c.entry.js +0 -4
- package/dist/ionic/p-d13689a6.entry.js +0 -4
- package/dist/ionic/p-d47a1a78.system.entry.js +0 -4
- package/dist/ionic/p-d8643420.system.entry.js +0 -4
- package/dist/ionic/p-d9b6b588.entry.js +0 -4
- package/dist/ionic/p-df504a37.system.js +0 -4
- package/dist/ionic/p-dfb6de03.system.js +0 -4
- package/dist/ionic/p-e311af42.entry.js +0 -4
- package/dist/ionic/p-e4eeb3af.entry.js +0 -4
- package/dist/ionic/p-e755046f.system.entry.js +0 -4
- package/dist/ionic/p-ed7a529f.js +0 -5
- package/dist/ionic/p-f7ccf8d9.entry.js +0 -4
- package/dist/types/utils/forms/form-controller.d.ts +0 -15
- package/css/{themes → palettes}/dark.always.css +0 -0
- package/css/{themes → palettes}/dark.css +0 -0
- package/css/{themes → palettes}/dark.css.map +0 -0
- package/css/{themes → palettes}/dark.system.css +0 -0
- package/css/{themes → palettes}/high-contrast-dark.always.css +1 -1
- package/css/{themes → palettes}/high-contrast-dark.css +0 -0
- package/css/{themes → palettes}/high-contrast-dark.css.map +0 -0
- package/css/{themes → palettes}/high-contrast-dark.system.css +1 -1
- package/css/{themes → palettes}/high-contrast.always.css +25 -25
- package/css/{themes → palettes}/high-contrast.css +0 -0
- package/css/{themes → palettes}/high-contrast.css.map +0 -0
- package/css/{themes → palettes}/high-contrast.system.css +25 -25
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, w as writeTask, h,
|
|
4
|
+
import { r as registerInstance, d as createEvent, w as writeTask, h, f as Host, i as getElement } from './index-5d6a0317.js';
|
|
5
5
|
import { startFocusVisible } from './focus-visible-dd40d69f.js';
|
|
6
|
-
import { r as raf, d as renderHiddenInput, g as getElementRoot, j as clamp } from './helpers-
|
|
6
|
+
import { r as raf, d as renderHiddenInput, g as getElementRoot, j as clamp } from './helpers-eab4f597.js';
|
|
7
7
|
import { a as printIonError, p as printIonWarning } from './index-9b0d46f4.js';
|
|
8
8
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
9
9
|
import { c as createColorClasses, g as getClassMap } from './theme-01f3f29c.js';
|
|
10
|
-
import { c as chevronBack, o as chevronForward, l as chevronDown, p as caretUpSharp, q as caretDownSharp } from './index-
|
|
11
|
-
import { b as getIonMode } from './ionic-global-
|
|
12
|
-
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getDaysOfWeek, J as getMonthAndYear, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as
|
|
10
|
+
import { c as chevronBack, o as chevronForward, l as chevronDown, p as caretUpSharp, q as caretDownSharp } from './index-e2cf2ceb.js';
|
|
11
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
12
|
+
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getDaysOfWeek, J as getMonthAndYear, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data-ae11fd43.js';
|
|
13
13
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
14
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-
|
|
15
|
-
import { c as createAnimation } from './animation-
|
|
16
|
-
import { b as hapticSelectionChanged, h as hapticSelectionEnd, a as hapticSelectionStart } from './haptic-
|
|
14
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-d41f74ac.js';
|
|
15
|
+
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
16
|
+
import { b as hapticSelectionChanged, h as hapticSelectionEnd, a as hapticSelectionStart } from './haptic-ac164e4c.js';
|
|
17
17
|
import './index-a5d50daf.js';
|
|
18
|
-
import './hardware-back-button-
|
|
19
|
-
import './framework-delegate-
|
|
18
|
+
import './hardware-back-button-fb295e3a.js';
|
|
19
|
+
import './framework-delegate-3dede018.js';
|
|
20
20
|
import './gesture-controller-314a54f6.js';
|
|
21
21
|
import './capacitor-59395cbd.js';
|
|
22
22
|
|
|
@@ -187,6 +187,48 @@ const getHighlightStyles = (highlightedDates, dateIsoString, el) => {
|
|
|
187
187
|
return undefined;
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
+
/**
|
|
191
|
+
* If a time zone is provided in the format options, the rendered text could
|
|
192
|
+
* differ from what was selected in the Datetime, which could cause
|
|
193
|
+
* confusion.
|
|
194
|
+
*/
|
|
195
|
+
const warnIfTimeZoneProvided = (el, formatOptions) => {
|
|
196
|
+
var _a, _b, _c, _d;
|
|
197
|
+
if (((_a = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.date) === null || _a === void 0 ? void 0 : _a.timeZone) ||
|
|
198
|
+
((_b = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.date) === null || _b === void 0 ? void 0 : _b.timeZoneName) ||
|
|
199
|
+
((_c = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time) === null || _c === void 0 ? void 0 : _c.timeZone) ||
|
|
200
|
+
((_d = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time) === null || _d === void 0 ? void 0 : _d.timeZoneName)) {
|
|
201
|
+
printIonWarning('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".', el);
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
const checkForPresentationFormatMismatch = (el, presentation, formatOptions) => {
|
|
205
|
+
// formatOptions is not required
|
|
206
|
+
if (!formatOptions)
|
|
207
|
+
return;
|
|
208
|
+
// If formatOptions is provided, the date and/or time objects are required, depending on the presentation
|
|
209
|
+
switch (presentation) {
|
|
210
|
+
case 'date':
|
|
211
|
+
case 'month-year':
|
|
212
|
+
case 'month':
|
|
213
|
+
case 'year':
|
|
214
|
+
if (formatOptions.date === undefined) {
|
|
215
|
+
printIonWarning(`Datetime: The '${presentation}' presentation requires a date object in formatOptions.`, el);
|
|
216
|
+
}
|
|
217
|
+
break;
|
|
218
|
+
case 'time':
|
|
219
|
+
if (formatOptions.time === undefined) {
|
|
220
|
+
printIonWarning(`Datetime: The 'time' presentation requires a time object in formatOptions.`, el);
|
|
221
|
+
}
|
|
222
|
+
break;
|
|
223
|
+
case 'date-time':
|
|
224
|
+
case 'time-date':
|
|
225
|
+
if (formatOptions.date === undefined && formatOptions.time === undefined) {
|
|
226
|
+
printIonWarning(`Datetime: The '${presentation}' presentation requires either a date or time object (or both) in formatOptions.`, el);
|
|
227
|
+
}
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
|
|
190
232
|
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%}";
|
|
191
233
|
const IonDatetimeIosStyle0 = datetimeIosCss;
|
|
192
234
|
|
|
@@ -811,6 +853,7 @@ const Datetime = class {
|
|
|
811
853
|
this.color = 'primary';
|
|
812
854
|
this.name = this.inputId;
|
|
813
855
|
this.disabled = false;
|
|
856
|
+
this.formatOptions = undefined;
|
|
814
857
|
this.readonly = false;
|
|
815
858
|
this.isDateEnabled = undefined;
|
|
816
859
|
this.min = undefined;
|
|
@@ -838,6 +881,11 @@ const Datetime = class {
|
|
|
838
881
|
this.size = 'fixed';
|
|
839
882
|
this.preferWheel = false;
|
|
840
883
|
}
|
|
884
|
+
formatOptionsChanged() {
|
|
885
|
+
const { el, formatOptions, presentation } = this;
|
|
886
|
+
checkForPresentationFormatMismatch(el, presentation, formatOptions);
|
|
887
|
+
warnIfTimeZoneProvided(el, formatOptions);
|
|
888
|
+
}
|
|
841
889
|
disabledChanged() {
|
|
842
890
|
this.emitStyle();
|
|
843
891
|
}
|
|
@@ -847,6 +895,10 @@ const Datetime = class {
|
|
|
847
895
|
maxChanged() {
|
|
848
896
|
this.processMaxParts();
|
|
849
897
|
}
|
|
898
|
+
presentationChanged() {
|
|
899
|
+
const { el, formatOptions, presentation } = this;
|
|
900
|
+
checkForPresentationFormatMismatch(el, presentation, formatOptions);
|
|
901
|
+
}
|
|
850
902
|
get isGridStyle() {
|
|
851
903
|
const { presentation, preferWheel } = this;
|
|
852
904
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
@@ -949,6 +1001,7 @@ const Datetime = class {
|
|
|
949
1001
|
this.initializeKeyboardListeners();
|
|
950
1002
|
}
|
|
951
1003
|
componentDidLoad() {
|
|
1004
|
+
const { el, intersectionTrackerRef } = this;
|
|
952
1005
|
/**
|
|
953
1006
|
* If a scrollable element is hidden using `display: none`,
|
|
954
1007
|
* it will not have a scroll height meaning we cannot scroll elements
|
|
@@ -974,14 +1027,14 @@ const Datetime = class {
|
|
|
974
1027
|
this.el.classList.add('datetime-ready');
|
|
975
1028
|
});
|
|
976
1029
|
};
|
|
977
|
-
const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01 });
|
|
1030
|
+
const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01, root: el });
|
|
978
1031
|
/**
|
|
979
1032
|
* Use raf to avoid a race condition between the component loading and
|
|
980
1033
|
* its display animation starting (such as when shown in a modal). This
|
|
981
1034
|
* could cause the datetime to start at a visibility of 0, erroneously
|
|
982
1035
|
* triggering the `hiddenIO` observer below.
|
|
983
1036
|
*/
|
|
984
|
-
raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(
|
|
1037
|
+
raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(intersectionTrackerRef));
|
|
985
1038
|
/**
|
|
986
1039
|
* We need to clean up listeners when the datetime is hidden
|
|
987
1040
|
* in a popover/modal so that we can properly scroll containers
|
|
@@ -1007,8 +1060,8 @@ const Datetime = class {
|
|
|
1007
1060
|
this.el.classList.remove('datetime-ready');
|
|
1008
1061
|
});
|
|
1009
1062
|
};
|
|
1010
|
-
const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0 });
|
|
1011
|
-
raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(
|
|
1063
|
+
const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0, root: el });
|
|
1064
|
+
raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(intersectionTrackerRef));
|
|
1012
1065
|
/**
|
|
1013
1066
|
* Datetime uses Ionic components that emit
|
|
1014
1067
|
* ionFocus and ionBlur. These events are
|
|
@@ -1082,7 +1135,7 @@ const Datetime = class {
|
|
|
1082
1135
|
});
|
|
1083
1136
|
}
|
|
1084
1137
|
componentWillLoad() {
|
|
1085
|
-
const { el, highlightedDates, multiple, presentation, preferWheel } = this;
|
|
1138
|
+
const { el, formatOptions, highlightedDates, multiple, presentation, preferWheel } = this;
|
|
1086
1139
|
if (multiple) {
|
|
1087
1140
|
if (presentation !== 'date') {
|
|
1088
1141
|
printIonWarning('Multiple date selection is only supported for presentation="date".', el);
|
|
@@ -1099,6 +1152,10 @@ const Datetime = class {
|
|
|
1099
1152
|
printIonWarning('The highlightedDates property is not supported with preferWheel="true".', el);
|
|
1100
1153
|
}
|
|
1101
1154
|
}
|
|
1155
|
+
if (formatOptions) {
|
|
1156
|
+
checkForPresentationFormatMismatch(el, presentation, formatOptions);
|
|
1157
|
+
warnIfTimeZoneProvided(el, formatOptions);
|
|
1158
|
+
}
|
|
1102
1159
|
const hourValues = (this.parsedHourValues = convertToArrayOfNumbers(this.hourValues));
|
|
1103
1160
|
const minuteValues = (this.parsedMinuteValues = convertToArrayOfNumbers(this.minuteValues));
|
|
1104
1161
|
const monthValues = (this.parsedMonthValues = convertToArrayOfNumbers(this.monthValues));
|
|
@@ -1552,7 +1609,7 @@ const Datetime = class {
|
|
|
1552
1609
|
return h("slot", { name: "time-label" }, "Time");
|
|
1553
1610
|
}
|
|
1554
1611
|
renderTimeOverlay() {
|
|
1555
|
-
const { disabled, hourCycle, isTimePopoverOpen, locale } = this;
|
|
1612
|
+
const { disabled, hourCycle, isTimePopoverOpen, locale, formatOptions } = this;
|
|
1556
1613
|
const computedHourCycle = getHourCycle(locale, hourCycle);
|
|
1557
1614
|
const activePart = this.getActivePartsWithFallback();
|
|
1558
1615
|
return [
|
|
@@ -1572,7 +1629,7 @@ const Datetime = class {
|
|
|
1572
1629
|
await popoverRef.onWillDismiss();
|
|
1573
1630
|
this.isTimePopoverOpen = false;
|
|
1574
1631
|
}
|
|
1575
|
-
} }, getLocalizedTime(locale, activePart, computedHourCycle)),
|
|
1632
|
+
} }, getLocalizedTime(locale, activePart, computedHourCycle, formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time)),
|
|
1576
1633
|
h("ion-popover", { alignment: "center", translucent: true, overlayIndex: 1, arrow: false, onWillPresent: (ev) => {
|
|
1577
1634
|
/**
|
|
1578
1635
|
* Intersection Observers do not consistently fire between Blink and Webkit
|
|
@@ -1595,7 +1652,8 @@ const Datetime = class {
|
|
|
1595
1652
|
];
|
|
1596
1653
|
}
|
|
1597
1654
|
getHeaderSelectedDateText() {
|
|
1598
|
-
|
|
1655
|
+
var _a;
|
|
1656
|
+
const { activeParts, formatOptions, multiple, titleSelectedDatesFormatter } = this;
|
|
1599
1657
|
const isArray = Array.isArray(activeParts);
|
|
1600
1658
|
let headerText;
|
|
1601
1659
|
if (multiple && isArray && activeParts.length !== 1) {
|
|
@@ -1611,7 +1669,7 @@ const Datetime = class {
|
|
|
1611
1669
|
}
|
|
1612
1670
|
else {
|
|
1613
1671
|
// for exactly 1 day selected (multiple set or not), show a formatted version of that
|
|
1614
|
-
headerText =
|
|
1672
|
+
headerText = getLocalizedDateTime(this.locale, this.getActivePartsWithFallback(), (_a = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.date) !== null && _a !== void 0 ? _a : { weekday: 'short', month: 'short', day: 'numeric' });
|
|
1615
1673
|
}
|
|
1616
1674
|
return headerText;
|
|
1617
1675
|
}
|
|
@@ -1700,7 +1758,7 @@ const Datetime = class {
|
|
|
1700
1758
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1701
1759
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1702
1760
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1703
|
-
return (h(Host, { key: '
|
|
1761
|
+
return (h(Host, { key: '79357d753d003539aaadbc30aa0ca7e2ab97415d', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1704
1762
|
[mode]: true,
|
|
1705
1763
|
['datetime-readonly']: readonly,
|
|
1706
1764
|
['datetime-disabled']: disabled,
|
|
@@ -1710,13 +1768,15 @@ const Datetime = class {
|
|
|
1710
1768
|
[`datetime-size-${size}`]: true,
|
|
1711
1769
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1712
1770
|
[`datetime-grid`]: isGridStyle,
|
|
1713
|
-
})) }, this.renderDatetime(mode)));
|
|
1771
|
+
})) }, h("div", { key: '18b6631ffcf028c5062659e75be5d6712ac30402', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1714
1772
|
}
|
|
1715
1773
|
get el() { return getElement(this); }
|
|
1716
1774
|
static get watchers() { return {
|
|
1775
|
+
"formatOptions": ["formatOptionsChanged"],
|
|
1717
1776
|
"disabled": ["disabledChanged"],
|
|
1718
1777
|
"min": ["minChanged"],
|
|
1719
1778
|
"max": ["maxChanged"],
|
|
1779
|
+
"presentation": ["presentationChanged"],
|
|
1720
1780
|
"yearValues": ["yearValuesChanged"],
|
|
1721
1781
|
"monthValues": ["monthValuesChanged"],
|
|
1722
1782
|
"dayValues": ["dayValuesChanged"],
|
|
@@ -1960,11 +2020,11 @@ const Picker = class {
|
|
|
1960
2020
|
render() {
|
|
1961
2021
|
const { htmlAttributes } = this;
|
|
1962
2022
|
const mode = getIonMode(this);
|
|
1963
|
-
return (h(Host, Object.assign({ key: '
|
|
2023
|
+
return (h(Host, Object.assign({ key: '91d3d127c46d125a2a86222e3002d804ebd8bc84', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
1964
2024
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1965
2025
|
}, class: Object.assign({ [mode]: true,
|
|
1966
2026
|
// Used internally for styling
|
|
1967
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
2027
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '63140c43f7a2e3000076adec0406197cb569f985', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '3e86ec5e61adf40983a1d33ef24f66f4f75307e8', tabindex: "0" }), h("div", { key: '3c3844f369da33e35c9a498d88d1b7e4d686b8ce', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: 'e03200231976723409505b0c4070e7f596815e50', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: 'd59de79e8c364376bc16d2edae3672b21443f3fe', class: "picker-columns" }, h("div", { key: 'e79cb88c5397047bc8c7e71efb4f1a338773e744', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '776de64da09485ad1dbf78d4d402e297b94348a6', class: "picker-below-highlight" }))), h("div", { key: 'f0aa77e3b467c3fb4950389d27c13769dc913b14', tabindex: "0" })));
|
|
1968
2028
|
}
|
|
1969
2029
|
get el() { return getElement(this); }
|
|
1970
2030
|
static get watchers() { return {
|
|
@@ -2321,9 +2381,9 @@ const PickerColumnCmp = class {
|
|
|
2321
2381
|
render() {
|
|
2322
2382
|
const col = this.col;
|
|
2323
2383
|
const mode = getIonMode(this);
|
|
2324
|
-
return (h(Host, { key: '
|
|
2384
|
+
return (h(Host, { key: '90b9d07917c0643cf8a622f090abefcd2846ac96', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
2325
2385
|
'max-width': this.col.columnWidth,
|
|
2326
|
-
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '
|
|
2386
|
+
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '4adca834de9295a18bdb355ebbfa49813f0f93f8', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2327
2387
|
}
|
|
2328
2388
|
get el() { return getElement(this); }
|
|
2329
2389
|
static get watchers() { return {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h,
|
|
5
|
-
import { b as getIonMode } from './ionic-global-
|
|
6
|
-
import { i as inheritAriaAttributes } from './helpers-
|
|
4
|
+
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-5d6a0317.js';
|
|
5
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
6
|
+
import { i as inheritAriaAttributes } from './helpers-eab4f597.js';
|
|
7
7
|
import { h as hostContext, o as openURL, c as createColorClasses } from './theme-01f3f29c.js';
|
|
8
|
-
import { t as close } from './index-
|
|
8
|
+
import { t as close } from './index-e2cf2ceb.js';
|
|
9
9
|
|
|
10
10
|
const fabCss = ":host{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;z-index:999}:host(.fab-horizontal-center){left:0px;right:0px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-start:dir(rtl)){right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-end:dir(rtl)){left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:0}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-top:calc((-100% + 16px) / 2)}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-top:calc(50% + 10px)}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:0}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-bottom:calc((-100% + 16px) / 2)}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-bottom:calc(50% + 10px)}:host(.fab-vertical-center){top:0px;bottom:0px;margin-top:auto;margin-bottom:auto}";
|
|
11
11
|
const IonFabStyle0 = fabCss;
|
|
@@ -55,12 +55,12 @@ const Fab = class {
|
|
|
55
55
|
render() {
|
|
56
56
|
const { horizontal, vertical, edge } = this;
|
|
57
57
|
const mode = getIonMode(this);
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'a25aae31396546595b21a760ced22ee92d2379d6', class: {
|
|
59
59
|
[mode]: true,
|
|
60
60
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
61
61
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
62
62
|
'fab-edge': edge,
|
|
63
|
-
} }, h("slot", { key: '
|
|
63
|
+
} }, h("slot", { key: 'b01cc2572213bfa6c12111e32e2f7702e6d93621' })));
|
|
64
64
|
}
|
|
65
65
|
get el() { return getElement(this); }
|
|
66
66
|
static get watchers() { return {
|
|
@@ -129,7 +129,7 @@ const FabButton = class {
|
|
|
129
129
|
rel: this.rel,
|
|
130
130
|
target: this.target,
|
|
131
131
|
};
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: 'f342fbd54263de388bc49e54af61ce4aaaef1f2e', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
133
133
|
[mode]: true,
|
|
134
134
|
'fab-button-in-list': inList,
|
|
135
135
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -140,7 +140,7 @@ const FabButton = class {
|
|
|
140
140
|
'ion-activatable': true,
|
|
141
141
|
'ion-focusable': true,
|
|
142
142
|
[`fab-button-${size}`]: size !== undefined,
|
|
143
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
143
|
+
}) }, h(TagType, Object.assign({ key: 'cd29a22c7d8ea02ab3469ba8a5878fd1cb28286a' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: '046a1254b728b43e2f4496ad96fff7bb8827df19', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '9b5c11105d2b7c37c82f7eea2264e29c5f939262', class: "button-inner" }, h("slot", { key: '283fe50749e5537bc7d21159c36c9eb3fbe45415' })), mode === 'md' && h("ion-ripple-effect", null))));
|
|
144
144
|
}
|
|
145
145
|
get el() { return getElement(this); }
|
|
146
146
|
};
|
|
@@ -168,11 +168,11 @@ const FabList = class {
|
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
170
|
const mode = getIonMode(this);
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '62d22c1907677360d91fc0386ab05379bcc9de8a', class: {
|
|
172
172
|
[mode]: true,
|
|
173
173
|
'fab-list-active': this.activated,
|
|
174
174
|
[`fab-list-side-${this.side}`]: true,
|
|
175
|
-
} }, h("slot", { key: '
|
|
175
|
+
} }, h("slot", { key: '4f9b6b9620c0ec79006663c5981140184129b7ce' })));
|
|
176
176
|
}
|
|
177
177
|
get el() { return getElement(this); }
|
|
178
178
|
static get watchers() { return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, h,
|
|
5
|
-
import { h as inheritAttributes } from './helpers-
|
|
6
|
-
import { b as getIonMode } from './ionic-global-
|
|
4
|
+
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-5d6a0317.js';
|
|
5
|
+
import { h as inheritAttributes } from './helpers-eab4f597.js';
|
|
6
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
7
7
|
|
|
8
8
|
const imgCss = ":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}";
|
|
9
9
|
const IonImgStyle0 = imgCss;
|
|
@@ -76,7 +76,7 @@ const Img = class {
|
|
|
76
76
|
render() {
|
|
77
77
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
78
78
|
const { draggable } = inheritedAttributes;
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'fa0d0e73693f4d5454dde2397a333143ab00a145', class: getIonMode(this) }, h("img", { key: '70198693643ab6a33816c6e1b0ed23b368208fbb', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
80
80
|
}
|
|
81
81
|
get el() { return getElement(this); }
|
|
82
82
|
static get watchers() { return {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, w as writeTask, e as readTask, h,
|
|
5
|
-
import { f as findClosestIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-
|
|
6
|
-
import { b as getIonMode, c as config } from './ionic-global-
|
|
4
|
+
import { r as registerInstance, d as createEvent, w as writeTask, e as readTask, h, i as getElement, f as Host } from './index-5d6a0317.js';
|
|
5
|
+
import { f as findClosestIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-044b5a86.js';
|
|
6
|
+
import { b as getIonMode, c as config } from './ionic-global-a589c12c.js';
|
|
7
7
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
|
|
8
|
-
import './helpers-
|
|
8
|
+
import './helpers-eab4f597.js';
|
|
9
9
|
import './index-9b0d46f4.js';
|
|
10
10
|
|
|
11
11
|
const infiniteScrollCss = "ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";
|
|
@@ -176,7 +176,7 @@ const InfiniteScroll = class {
|
|
|
176
176
|
render() {
|
|
177
177
|
const mode = getIonMode(this);
|
|
178
178
|
const disabled = this.disabled;
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: 'be1a720fcf686dc48468de968d84ea58bfe0a06d', class: {
|
|
180
180
|
[mode]: true,
|
|
181
181
|
'infinite-scroll-loading': this.isLoading,
|
|
182
182
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -218,11 +218,11 @@ const InfiniteScrollContent = class {
|
|
|
218
218
|
}
|
|
219
219
|
render() {
|
|
220
220
|
const mode = getIonMode(this);
|
|
221
|
-
return (h(Host, { key: '
|
|
221
|
+
return (h(Host, { key: '44b11681f802fb0d1c565810f71f7672453e16ca', class: {
|
|
222
222
|
[mode]: true,
|
|
223
223
|
// Used internally for styling
|
|
224
224
|
[`infinite-scroll-content-${mode}`]: true,
|
|
225
|
-
} }, h("div", { key: '
|
|
225
|
+
} }, h("div", { key: 'd7e7d5beedf1e22a009e87790ca024b8f15c462b', class: "infinite-loading" }, this.loadingSpinner && (h("div", { class: "infinite-loading-spinner" }, h("ion-spinner", { name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
InfiniteScrollContent.style = {
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { r as registerInstance, h, f as Host, i as getElement } from './index-5d6a0317.js';
|
|
5
|
+
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
6
|
+
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
7
|
+
import { x as eye, y as eyeOff } from './index-e2cf2ceb.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global-a589c12c.js';
|
|
9
|
+
|
|
10
|
+
const inputPasswordToggleIosCss = "";
|
|
11
|
+
const IonInputPasswordToggleIosStyle0 = inputPasswordToggleIosCss;
|
|
12
|
+
|
|
13
|
+
const inputPasswordToggleMdCss = "";
|
|
14
|
+
const IonInputPasswordToggleMdStyle0 = inputPasswordToggleMdCss;
|
|
15
|
+
|
|
16
|
+
const InputPasswordToggle = class {
|
|
17
|
+
constructor(hostRef) {
|
|
18
|
+
registerInstance(this, hostRef);
|
|
19
|
+
this.togglePasswordVisibility = () => {
|
|
20
|
+
const { inputElRef } = this;
|
|
21
|
+
if (!inputElRef) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
inputElRef.type = inputElRef.type === 'text' ? 'password' : 'text';
|
|
25
|
+
};
|
|
26
|
+
this.color = undefined;
|
|
27
|
+
this.showIcon = undefined;
|
|
28
|
+
this.hideIcon = undefined;
|
|
29
|
+
this.type = 'password';
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Whenever the input type changes we need to re-run validation to ensure the password
|
|
33
|
+
* toggle is being used with the correct input type. If the application changes the type
|
|
34
|
+
* outside of this component we also need to re-render so the correct icon is shown.
|
|
35
|
+
*/
|
|
36
|
+
onTypeChange(newValue) {
|
|
37
|
+
if (newValue !== 'text' && newValue !== 'password') {
|
|
38
|
+
printIonWarning(`ion-input-password-toggle only supports inputs of type "text" or "password". Input of type "${newValue}" is not compatible.`, this.el);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
connectedCallback() {
|
|
43
|
+
const { el } = this;
|
|
44
|
+
const inputElRef = (this.inputElRef = el.closest('ion-input'));
|
|
45
|
+
if (!inputElRef) {
|
|
46
|
+
printIonWarning('No ancestor ion-input found for ion-input-password-toggle. This component must be slotted inside of an ion-input.', el);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Important: Set the type in connectedCallback because the default value
|
|
51
|
+
* of this.type may not always be accurate. Usually inputs have the "password" type
|
|
52
|
+
* but it is possible to have the input to initially have the "text" type. In that scenario
|
|
53
|
+
* the wrong icon will show briefly before switching to the correct icon. Setting the
|
|
54
|
+
* type here allows us to avoid that flicker.
|
|
55
|
+
*/
|
|
56
|
+
this.type = inputElRef.type;
|
|
57
|
+
}
|
|
58
|
+
disconnectedCallback() {
|
|
59
|
+
this.inputElRef = null;
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
var _a, _b;
|
|
63
|
+
const { color, type } = this;
|
|
64
|
+
const mode = getIonMode(this);
|
|
65
|
+
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
66
|
+
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
67
|
+
const isPasswordVisible = type === 'text';
|
|
68
|
+
return (h(Host, { key: 'cff2f6703d7c7741b16bcb719e322fd83fdec4ae', class: createColorClasses(color, {
|
|
69
|
+
[mode]: true,
|
|
70
|
+
}) }, h("ion-button", { key: 'a3fec07174f7b6a6b792d757b1a6b09d240de177', part: "button", mode: mode, color: color, fill: "clear", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
|
|
71
|
+
/**
|
|
72
|
+
* This prevents mobile browsers from
|
|
73
|
+
* blurring the input when the password toggle
|
|
74
|
+
* button is activated.
|
|
75
|
+
*/
|
|
76
|
+
ev.preventDefault();
|
|
77
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: 'e12bbcb67e0b680045ea585616e71f28804936e1', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
78
|
+
}
|
|
79
|
+
get el() { return getElement(this); }
|
|
80
|
+
static get watchers() { return {
|
|
81
|
+
"type": ["onTypeChange"]
|
|
82
|
+
}; }
|
|
83
|
+
};
|
|
84
|
+
InputPasswordToggle.style = {
|
|
85
|
+
ios: IonInputPasswordToggleIosStyle0,
|
|
86
|
+
md: IonInputPasswordToggleMdStyle0
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export { InputPasswordToggle as ion_input_password_toggle };
|