voyager-ionic-core 8.0.1 → 8.1.0
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/checkbox.js +3 -3
- package/components/index2.js +119 -1
- package/components/ion-accordion-group.js +2 -2
- package/components/ion-content.js +6 -4
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +17 -14
- 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 +2 -2
- 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.js +3 -3
- package/components/ion-input.js +8 -4
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +10 -8
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- package/components/ion-toolbar.js +2 -2
- package/components/ios.transition.js +94 -67
- package/components/label.js +3 -3
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/overlays.js +3 -2
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +156 -4
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +6 -4
- package/components/radio-group.js +1 -1
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +2 -2
- package/components/spinner.js +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/palettes/dark.always.css +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css +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/typography.css.map +1 -1
- package/dist/cjs/{app-globals-542c4d91.js → app-globals-66b7dc06.js} +1 -1
- package/dist/cjs/{button-active-47528f4c.js → button-active-9135c809.js} +1 -1
- package/dist/cjs/{hardware-back-button-06ae4d9c.js → hardware-back-button-ed931127.js} +2 -2
- package/dist/cjs/index-8709af32.js +2234 -0
- package/dist/cjs/{index-c76a1d14.js → index-c0b7f8f4.js} +124 -6
- package/dist/cjs/{index-57b504ac.js → index-c54654c6.js} +2 -2
- package/dist/cjs/index.cjs.js +9 -9
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
- package/dist/cjs/ion-alert.cjs.entry.js +5 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +20 -19
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +25 -22
- package/dist/cjs/ion-fab_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +9 -6
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +15 -15
- package/dist/cjs/ion-loading.cjs.entry.js +6 -6
- package/dist/cjs/ion-menu_3.cjs.entry.js +11 -11
- package/dist/cjs/ion-modal.cjs.entry.js +13 -12
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +156 -6
- package/dist/cjs/ion-picker.cjs.entry.js +3 -3
- package/dist/cjs/ion-popover.cjs.entry.js +9 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-select_3.cjs.entry.js +9 -9
- 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 +6 -6
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +6 -6
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/{ionic-global-f3622afe.js → ionic-global-35b86a09.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-288dfa83.js → ios.transition-5ddf92f1.js} +98 -69
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-6e5f6a8d.js → md.transition-047c18c5.js} +4 -2
- package/dist/cjs/{overlays-32cfd236.js → overlays-cb04d075.js} +5 -3
- package/dist/cjs/{status-tap-c47ff5f5.js → status-tap-5b2775cd.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion-group/accordion-group.js +3 -3
- package/dist/collection/components/checkbox/checkbox.js +4 -4
- package/dist/collection/components/content/content.js +23 -4
- package/dist/collection/components/content/test/content.spec.js +27 -0
- package/dist/collection/components/datetime/datetime.js +18 -15
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +34 -0
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- 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-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.js +2 -2
- 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.js +25 -5
- package/dist/collection/components/input/test/input.spec.js +13 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item/test/a11y/item.e2e.js +24 -4
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.ios.css +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.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/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/gestures/sheet.js +3 -2
- package/dist/collection/components/modal/modal.js +25 -6
- package/dist/collection/components/modal/test/basic/modal.spec.js +19 -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.css +19 -0
- package/dist/collection/components/picker-column/picker-column.js +159 -4
- package/dist/collection/components/picker-column/test/picker-column.spec.js +83 -0
- 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 +23 -4
- package/dist/collection/components/popover/test/basic/popover.spec.js +19 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +4 -4
- package/dist/collection/components/refresher/refresher.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-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +5 -5
- package/dist/collection/components/segment/segment.js +3 -3
- package/dist/collection/components/segment-button/segment-button.js +3 -3
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select/test/fill/select.e2e.js +25 -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/select-popover.md.css +8 -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/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +4 -4
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/focus-controller/index.js +112 -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/overlays.js +2 -1
- package/dist/collection/utils/transition/index.js +11 -1
- package/dist/collection/utils/transition/ios.transition.js +94 -67
- package/dist/docs.json +109 -14
- package/dist/esm/{app-globals-3cbaf9d9.js → app-globals-b99e6d29.js} +1 -1
- package/dist/esm/{button-active-9e3c1f3b.js → button-active-920addb8.js} +1 -1
- package/dist/esm/{hardware-back-button-804f43bb.js → hardware-back-button-2d9760b6.js} +2 -2
- package/dist/esm/{index-8dbae644.js → index-7ae7186a.js} +2 -2
- package/dist/esm/{index-f7fbe1fb.js → index-8e6b6a24.js} +122 -4
- package/dist/esm/index-9aab3bcf.js +2196 -0
- package/dist/esm/index.js +9 -9
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +5 -5
- package/dist/esm/ion-alert.entry.js +5 -5
- package/dist/esm/ion-app_8.entry.js +20 -19
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +5 -5
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +5 -5
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +25 -22
- package/dist/esm/ion-fab_3.entry.js +8 -8
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-password-toggle.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +9 -6
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +15 -15
- package/dist/esm/ion-loading.entry.js +6 -6
- package/dist/esm/ion-menu_3.entry.js +11 -11
- package/dist/esm/ion-modal.entry.js +13 -12
- package/dist/esm/ion-nav_2.entry.js +6 -5
- package/dist/esm/ion-picker-column-option.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +156 -6
- package/dist/esm/ion-picker.entry.js +3 -3
- package/dist/esm/ion-popover.entry.js +9 -8
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +6 -6
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +7 -7
- package/dist/esm/ion-select_3.entry.js +9 -9
- 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 +6 -6
- package/dist/esm/ion-tab_2.entry.js +4 -4
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +6 -6
- package/dist/esm/ion-toggle.entry.js +5 -5
- package/dist/esm/{ionic-global-d2d8f882.js → ionic-global-4528d288.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-a0041e41.js → ios.transition-e35d0940.js} +98 -69
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-0c0602d9.js → md.transition-4b90a1f0.js} +4 -2
- package/dist/esm/{overlays-696d25f5.js → overlays-df2c06b2.js} +5 -4
- package/dist/esm/{status-tap-37a74d1c.js → status-tap-12c27922.js} +1 -1
- package/dist/esm-es5/app-globals-b99e6d29.js +4 -0
- package/dist/esm-es5/{button-active-9e3c1f3b.js → button-active-920addb8.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-804f43bb.js → hardware-back-button-2d9760b6.js} +1 -1
- package/dist/esm-es5/{index-8dbae644.js → index-7ae7186a.js} +1 -1
- package/dist/esm-es5/index-8e6b6a24.js +4 -0
- package/dist/esm-es5/index-9aab3bcf.js +5 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-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-d2d8f882.js → ionic-global-4528d288.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-e35d0940.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-4b90a1f0.js +4 -0
- package/dist/esm-es5/{overlays-696d25f5.js → overlays-df2c06b2.js} +1 -1
- package/dist/esm-es5/{status-tap-37a74d1c.js → status-tap-12c27922.js} +1 -1
- package/dist/html.html-data.json +24 -0
- 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-94731a92.system.entry.js → p-01a27023.system.entry.js} +1 -1
- package/dist/ionic/p-0395be73.entry.js +4 -0
- package/dist/ionic/p-03b86a5e.js +4 -0
- package/dist/ionic/{p-057b5866.entry.js → p-049d43bd.entry.js} +1 -1
- package/dist/ionic/p-0536574e.entry.js +4 -0
- package/dist/ionic/{p-e3005be4.system.entry.js → p-08ea3402.system.entry.js} +1 -1
- package/dist/ionic/{p-3f5b86b4.entry.js → p-09538818.entry.js} +1 -1
- package/dist/ionic/{p-470f73c4.entry.js → p-09b4e9ec.entry.js} +1 -1
- package/dist/ionic/{p-aa0ed22b.system.entry.js → p-0a6d801e.system.entry.js} +1 -1
- package/dist/ionic/{p-53a3b33c.system.entry.js → p-0b007acc.system.entry.js} +1 -1
- package/dist/ionic/{p-b76bcd9e.system.entry.js → p-10feef7e.system.entry.js} +1 -1
- package/dist/ionic/p-130299c9.entry.js +4 -0
- package/dist/ionic/p-15d1ddba.js +4 -0
- package/dist/ionic/{p-c3ca0292.system.entry.js → p-199f826f.system.entry.js} +1 -1
- package/dist/ionic/p-1b435d20.entry.js +4 -0
- package/dist/ionic/{p-c671b28e.js → p-1cc0b31f.js} +1 -1
- package/dist/ionic/{p-c4676693.entry.js → p-1eb63fa4.entry.js} +1 -1
- package/dist/ionic/{p-9b31ebfa.entry.js → p-207e11dc.entry.js} +1 -1
- package/dist/ionic/p-26bb6bb8.entry.js +4 -0
- package/dist/ionic/{p-5d3a8503.system.entry.js → p-279f3bac.system.entry.js} +1 -1
- package/dist/ionic/{p-e49099b0.entry.js → p-29de09dd.entry.js} +1 -1
- package/dist/ionic/{p-6730a2f1.entry.js → p-2c588aa2.entry.js} +1 -1
- package/dist/ionic/p-2ff0e0aa.system.js +4 -0
- package/dist/ionic/p-30baae57.system.js +4 -0
- package/dist/ionic/{p-806aad8f.system.js → p-31d27232.system.js} +1 -1
- package/dist/ionic/p-33e10509.system.js +4 -0
- package/dist/ionic/{p-a592f1b8.system.entry.js → p-380efbfa.system.entry.js} +1 -1
- package/dist/ionic/p-3c27be4a.entry.js +4 -0
- package/dist/ionic/p-3d015cdb.system.js +5 -0
- package/dist/ionic/{p-70181008.entry.js → p-3f53a0b1.entry.js} +1 -1
- package/dist/ionic/p-433157a4.entry.js +4 -0
- package/dist/ionic/{p-fc94e18f.entry.js → p-4824398b.entry.js} +1 -1
- package/dist/ionic/p-498eb648.system.entry.js +4 -0
- package/dist/ionic/{p-8caca06c.system.entry.js → p-4d8f408d.system.entry.js} +1 -1
- package/dist/ionic/{p-4c153abb.entry.js → p-5091f63c.entry.js} +1 -1
- package/dist/ionic/{p-42f00e72.system.entry.js → p-509620b8.system.entry.js} +1 -1
- package/dist/ionic/{p-d1a8f599.entry.js → p-5109a566.entry.js} +1 -1
- package/dist/ionic/{p-7f59064a.entry.js → p-52ce473d.entry.js} +1 -1
- package/dist/ionic/{p-33d926c3.entry.js → p-52f53904.entry.js} +1 -1
- package/dist/ionic/{p-4e548bd7.system.entry.js → p-55f99a39.system.entry.js} +1 -1
- package/dist/ionic/{p-1e4d7975.system.js → p-5734ac17.system.js} +1 -1
- package/dist/ionic/{p-2b1e669d.system.entry.js → p-57bc32e2.system.entry.js} +1 -1
- package/dist/ionic/{p-d11c336d.js → p-5cc6dcf5.js} +1 -1
- package/dist/ionic/p-5dc9f99a.entry.js +4 -0
- package/dist/ionic/p-5ec3bb70.system.entry.js +4 -0
- package/dist/ionic/{p-ebe0aa6d.entry.js → p-606f069c.entry.js} +1 -1
- package/dist/ionic/{p-93e43f42.system.entry.js → p-628967e3.system.entry.js} +1 -1
- package/dist/ionic/{p-5fbc2eae.system.entry.js → p-62e44e4a.system.entry.js} +1 -1
- package/dist/ionic/p-66ed603b.js +4 -0
- package/dist/ionic/{p-a801da4b.system.entry.js → p-670c9f57.system.entry.js} +1 -1
- package/dist/ionic/{p-fd392e7f.system.entry.js → p-6a2cf398.system.entry.js} +1 -1
- package/dist/ionic/{p-5a3a3373.entry.js → p-6c3666d5.entry.js} +1 -1
- package/dist/ionic/{p-1a5227b3.system.entry.js → p-6df12af0.system.entry.js} +1 -1
- package/dist/ionic/{p-bd6d9610.entry.js → p-6ec88301.entry.js} +1 -1
- package/dist/ionic/p-6f008ad2.js +4 -0
- package/dist/ionic/{p-2ab5db0d.system.entry.js → p-700567ab.system.entry.js} +1 -1
- package/dist/ionic/p-712d54ae.js +4 -0
- package/dist/ionic/{p-94180ecc.entry.js → p-7349de07.entry.js} +1 -1
- package/dist/ionic/p-7402fcdf.entry.js +4 -0
- package/dist/ionic/{p-5ff497dc.system.entry.js → p-77731f19.system.entry.js} +1 -1
- package/dist/ionic/{p-c07e7a5d.entry.js → p-78405458.entry.js} +1 -1
- package/dist/ionic/{p-748e6b2b.system.entry.js → p-7d6fd45f.system.entry.js} +1 -1
- package/dist/ionic/{p-720927ad.entry.js → p-7eb47906.entry.js} +1 -1
- package/dist/ionic/p-80265a58.entry.js +4 -0
- package/dist/ionic/{p-8627f783.system.entry.js → p-83d748f8.system.entry.js} +2 -2
- package/dist/ionic/p-842c9fca.system.js +4 -0
- package/dist/ionic/{p-c7e0b81a.entry.js → p-8a03fbee.entry.js} +1 -1
- package/dist/ionic/{p-576786c0.system.entry.js → p-8cb80f83.system.entry.js} +1 -1
- package/dist/ionic/{p-cdee3a44.system.entry.js → p-8d14ee8c.system.entry.js} +2 -2
- package/dist/ionic/p-90dfc454.system.entry.js +4 -0
- package/dist/ionic/{p-819e8479.system.entry.js → p-9213681c.system.entry.js} +1 -1
- package/dist/ionic/p-92d7e99d.system.js +4 -0
- package/dist/ionic/{p-d6229f05.system.entry.js → p-9664a1a2.system.entry.js} +1 -1
- package/dist/ionic/{p-b799a007.entry.js → p-9797f6eb.entry.js} +1 -1
- package/dist/ionic/{p-5d4d89e0.system.entry.js → p-9848d7be.system.entry.js} +1 -1
- package/dist/ionic/{p-9384565a.entry.js → p-98f6116f.entry.js} +1 -1
- package/dist/ionic/{p-c62571da.entry.js → p-99884813.entry.js} +1 -1
- package/dist/ionic/{p-48888af6.system.entry.js → p-99ca9787.system.entry.js} +1 -1
- package/dist/ionic/{p-45034312.system.entry.js → p-9bfd7cda.system.entry.js} +1 -1
- package/dist/ionic/p-9c6dcf78.system.entry.js +4 -0
- package/dist/ionic/{p-051d2d23.js → p-9da86308.js} +1 -1
- package/dist/ionic/{p-34511b1d.js → p-9ec42be0.js} +1 -1
- package/dist/ionic/{p-0d960144.system.entry.js → p-a2e94ade.system.entry.js} +1 -1
- package/dist/ionic/{p-1980c728.system.js → p-a39d3482.system.js} +1 -1
- package/dist/ionic/p-a488b7ab.system.js +4 -0
- package/dist/ionic/{p-5d80b741.entry.js → p-a4ab7449.entry.js} +1 -1
- package/dist/ionic/{p-2c3c7cb9.system.entry.js → p-a50f23bf.system.entry.js} +2 -2
- package/dist/ionic/{p-80f85095.system.entry.js → p-a76ab3ea.system.entry.js} +1 -1
- package/dist/ionic/{p-77ce6034.js → p-a953ef66.js} +1 -1
- package/dist/ionic/{p-08c4d048.entry.js → p-aaaaaea1.entry.js} +1 -1
- package/dist/ionic/{p-c23627c3.entry.js → p-b02eda30.entry.js} +1 -1
- package/dist/ionic/{p-49cdc4f2.entry.js → p-b04c27d8.entry.js} +1 -1
- package/dist/ionic/{p-0b12d1ee.system.entry.js → p-b07affd5.system.entry.js} +1 -1
- package/dist/ionic/{p-2f308f7f.system.entry.js → p-b28d3ccb.system.entry.js} +2 -2
- package/dist/ionic/{p-320cfcab.entry.js → p-b563b6ac.entry.js} +1 -1
- package/dist/ionic/p-b62ae60a.system.entry.js +4 -0
- package/dist/ionic/p-b9181033.system.entry.js +4 -0
- package/dist/ionic/{p-1930d8e7.entry.js → p-ba70039f.entry.js} +1 -1
- package/dist/ionic/{p-b571cab1.entry.js → p-bbbe869e.entry.js} +1 -1
- package/dist/ionic/{p-283fd4e1.system.entry.js → p-c41435e6.system.entry.js} +1 -1
- package/dist/ionic/p-cec8589b.system.js +4 -0
- package/dist/ionic/{p-bbbe3138.system.entry.js → p-d69b26d9.system.entry.js} +1 -1
- package/dist/ionic/p-d73a16e6.system.entry.js +4 -0
- package/dist/ionic/p-dba5cb84.js +5 -0
- package/dist/ionic/{p-63265e00.system.entry.js → p-dc0d9ff5.system.entry.js} +2 -2
- package/dist/ionic/{p-f5c42f72.entry.js → p-dc1e363a.entry.js} +1 -1
- package/dist/ionic/{p-c9ba1908.entry.js → p-df517d1f.entry.js} +1 -1
- package/dist/ionic/{p-2a3e98fb.system.entry.js → p-e0a8ffd0.system.entry.js} +1 -1
- package/dist/ionic/{p-e9ef13be.system.entry.js → p-e6e197f5.system.entry.js} +1 -1
- package/dist/ionic/{p-0af79ebd.entry.js → p-e6e88ab9.entry.js} +1 -1
- package/dist/ionic/{p-4e5288de.system.js → p-e81f22e3.system.js} +1 -1
- package/dist/ionic/{p-aa0f60b2.system.js → p-eb3023c9.system.js} +1 -1
- package/dist/ionic/p-ecbdbf25.system.entry.js +4 -0
- package/dist/ionic/{p-26d33af2.system.entry.js → p-ed5aebaa.system.entry.js} +1 -1
- package/dist/ionic/{p-23e440b6.entry.js → p-f357707e.entry.js} +1 -1
- package/dist/ionic/{p-e885f3c4.entry.js → p-f53bcebd.entry.js} +1 -1
- package/dist/ionic/p-f9baf25c.entry.js +4 -0
- package/dist/ionic/{p-ee3bbaf2.entry.js → p-fa8f2e62.entry.js} +1 -1
- package/dist/ionic/{p-6e9bd6ba.system.entry.js → p-fb21fd1c.system.entry.js} +1 -1
- package/dist/ionic/{p-bdd3053f.entry.js → p-fcecca8f.entry.js} +1 -1
- package/dist/types/components/accordion-group/accordion-group.d.ts +3 -4
- package/dist/types/components/checkbox/checkbox.d.ts +3 -4
- package/dist/types/components/content/content.d.ts +8 -0
- package/dist/types/components/datetime/datetime.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +6 -0
- package/dist/types/components/modal/modal-interface.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +18 -0
- package/dist/types/components/picker-column/picker-column.d.ts +37 -0
- package/dist/types/components/popover/popover-interface.d.ts +1 -0
- package/dist/types/components/popover/popover.d.ts +18 -0
- package/dist/types/components/radio-group/radio-group.d.ts +2 -0
- package/dist/types/components/range/range.d.ts +1 -1
- package/dist/types/components/searchbar/searchbar.d.ts +2 -0
- package/dist/types/components/segment/segment.d.ts +3 -2
- package/dist/types/components/select/select.d.ts +2 -0
- package/dist/types/components/textarea/textarea.d.ts +2 -0
- package/dist/types/components/toggle/toggle.d.ts +3 -2
- package/dist/types/components.d.ts +44 -12
- package/dist/types/utils/config.d.ts +9 -0
- package/dist/types/utils/focus-controller/index.d.ts +13 -0
- package/dist/types/utils/overlays.d.ts +1 -0
- package/hydrate/index.js +43566 -39256
- package/package.json +6 -6
- package/dist/cjs/index-1437d080.js +0 -11980
- package/dist/esm/index-5dc2b88e.js +0 -11942
- package/dist/esm-es5/app-globals-3cbaf9d9.js +0 -4
- package/dist/esm-es5/index-5dc2b88e.js +0 -18
- package/dist/esm-es5/index-f7fbe1fb.js +0 -4
- package/dist/esm-es5/ios.transition-a0041e41.js +0 -4
- package/dist/esm-es5/md.transition-0c0602d9.js +0 -4
- package/dist/ionic/p-06d5221c.js +0 -4
- package/dist/ionic/p-06fad524.system.js +0 -4
- package/dist/ionic/p-0d56dea9.entry.js +0 -4
- package/dist/ionic/p-13bfcef4.system.entry.js +0 -4
- package/dist/ionic/p-16016625.system.js +0 -4
- package/dist/ionic/p-20304962.js +0 -4
- package/dist/ionic/p-2dfdda15.system.entry.js +0 -4
- package/dist/ionic/p-2fa34b5c.entry.js +0 -4
- package/dist/ionic/p-32048e4c.system.js +0 -18
- package/dist/ionic/p-385964e6.entry.js +0 -4
- package/dist/ionic/p-4324e8a4.entry.js +0 -4
- package/dist/ionic/p-45664cb9.system.js +0 -4
- package/dist/ionic/p-4ad48ec9.system.entry.js +0 -4
- package/dist/ionic/p-4af0b730.js +0 -8
- package/dist/ionic/p-4fcef939.entry.js +0 -4
- package/dist/ionic/p-567a21a2.system.entry.js +0 -4
- package/dist/ionic/p-583f8865.system.entry.js +0 -4
- package/dist/ionic/p-58f89707.js +0 -4
- package/dist/ionic/p-7536b4b3.system.js +0 -4
- package/dist/ionic/p-7ef5bb32.entry.js +0 -4
- package/dist/ionic/p-8664c316.entry.js +0 -4
- package/dist/ionic/p-8c4fc85f.system.js +0 -4
- package/dist/ionic/p-8e031d97.entry.js +0 -4
- package/dist/ionic/p-8f48c966.system.entry.js +0 -4
- package/dist/ionic/p-adb896a0.entry.js +0 -4
- package/dist/ionic/p-b0093947.system.js +0 -4
- package/dist/ionic/p-cb4f96f3.system.js +0 -4
- package/dist/ionic/p-cc856712.entry.js +0 -4
- package/dist/ionic/p-cd1b9056.js +0 -4
- package/dist/ionic/p-d918e7ef.system.entry.js +0 -4
- package/dist/ionic/p-df062892.system.entry.js +0 -4
- package/dist/ionic/p-f0be340f.entry.js +0 -4
- package/dist/ionic/p-fdf40b09.js +0 -4
|
@@ -1,21 +1,21 @@
|
|
|
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, f as Host, i as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, d as createEvent, w as writeTask, h, f as Host, i as getElement } from './index-9aab3bcf.js';
|
|
5
5
|
import { startFocusVisible } from './focus-visible-dd40d69f.js';
|
|
6
6
|
import { r as raf, d as renderHiddenInput, g as getElementRoot, j as clamp } from './helpers-da915de8.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
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-
|
|
11
|
+
import { b as getIonMode } from './ionic-global-4528d288.js';
|
|
12
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-
|
|
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-df2c06b2.js';
|
|
15
15
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
16
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-
|
|
18
|
+
import './hardware-back-button-2d9760b6.js';
|
|
19
19
|
import './framework-delegate-63d1a679.js';
|
|
20
20
|
import './gesture-controller-314a54f6.js';
|
|
21
21
|
import './capacitor-59395cbd.js';
|
|
@@ -287,10 +287,10 @@ const Datetime = class {
|
|
|
287
287
|
const { activeParts } = this;
|
|
288
288
|
return Array.isArray(activeParts) ? activeParts[0] : activeParts;
|
|
289
289
|
};
|
|
290
|
-
this.closeParentOverlay = () => {
|
|
290
|
+
this.closeParentOverlay = (role) => {
|
|
291
291
|
const popoverOrModal = this.el.closest('ion-modal, ion-popover');
|
|
292
292
|
if (popoverOrModal) {
|
|
293
|
-
popoverOrModal.dismiss();
|
|
293
|
+
popoverOrModal.dismiss(undefined, role);
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
this.setWorkingParts = (parts) => {
|
|
@@ -521,7 +521,8 @@ const Datetime = class {
|
|
|
521
521
|
* Check below the next line ensures that we did not
|
|
522
522
|
* swipe and abort (i.e. we swiped but we are still on the current month).
|
|
523
523
|
*/
|
|
524
|
-
const
|
|
524
|
+
const condition = isRTL(this.el) ? calendarBodyRef.scrollLeft >= -2 : calendarBodyRef.scrollLeft <= 2;
|
|
525
|
+
const month = condition ? startMonth : endMonth;
|
|
525
526
|
/**
|
|
526
527
|
* The edge of the month must be lined up with
|
|
527
528
|
* the edge of the calendar body in order for
|
|
@@ -960,7 +961,7 @@ const Datetime = class {
|
|
|
960
961
|
}
|
|
961
962
|
}
|
|
962
963
|
if (closeOverlay) {
|
|
963
|
-
this.closeParentOverlay();
|
|
964
|
+
this.closeParentOverlay(CONFIRM_ROLE);
|
|
964
965
|
}
|
|
965
966
|
}
|
|
966
967
|
/**
|
|
@@ -980,7 +981,7 @@ const Datetime = class {
|
|
|
980
981
|
async cancel(closeOverlay = false) {
|
|
981
982
|
this.ionCancel.emit();
|
|
982
983
|
if (closeOverlay) {
|
|
983
|
-
this.closeParentOverlay();
|
|
984
|
+
this.closeParentOverlay(CANCEL_ROLE);
|
|
984
985
|
}
|
|
985
986
|
}
|
|
986
987
|
get isCalendarPicker() {
|
|
@@ -1292,7 +1293,7 @@ const Datetime = class {
|
|
|
1292
1293
|
const todayString = workingParts.day !== null
|
|
1293
1294
|
? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
|
|
1294
1295
|
: `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
|
|
1295
|
-
return (h("ion-picker-column", { class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
|
|
1296
|
+
return (h("ion-picker-column", { "aria-label": "Select a date", class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
|
|
1296
1297
|
const { value } = ev.detail;
|
|
1297
1298
|
const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
|
|
1298
1299
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
|
|
@@ -1367,7 +1368,7 @@ const Datetime = class {
|
|
|
1367
1368
|
const { disabled, workingParts } = this;
|
|
1368
1369
|
const activePart = this.getActivePartsWithFallback();
|
|
1369
1370
|
const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
|
|
1370
|
-
return (h("ion-picker-column", { class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
|
|
1371
|
+
return (h("ion-picker-column", { "aria-label": "Select a day", class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
|
|
1371
1372
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
|
|
1372
1373
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
|
|
1373
1374
|
ev.stopPropagation();
|
|
@@ -1379,7 +1380,7 @@ const Datetime = class {
|
|
|
1379
1380
|
}
|
|
1380
1381
|
const { disabled, workingParts } = this;
|
|
1381
1382
|
const activePart = this.getActivePartsWithFallback();
|
|
1382
|
-
return (h("ion-picker-column", { class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
|
|
1383
|
+
return (h("ion-picker-column", { "aria-label": "Select a month", class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
|
|
1383
1384
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
|
|
1384
1385
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
|
|
1385
1386
|
ev.stopPropagation();
|
|
@@ -1391,7 +1392,7 @@ const Datetime = class {
|
|
|
1391
1392
|
}
|
|
1392
1393
|
const { disabled, workingParts } = this;
|
|
1393
1394
|
const activePart = this.getActivePartsWithFallback();
|
|
1394
|
-
return (h("ion-picker-column", { class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
|
|
1395
|
+
return (h("ion-picker-column", { "aria-label": "Select a year", class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
|
|
1395
1396
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
|
|
1396
1397
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
|
|
1397
1398
|
ev.stopPropagation();
|
|
@@ -1424,7 +1425,7 @@ const Datetime = class {
|
|
|
1424
1425
|
if (hoursData.length === 0)
|
|
1425
1426
|
return [];
|
|
1426
1427
|
const activePart = this.getActivePartsWithFallback();
|
|
1427
|
-
return (h("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1428
|
+
return (h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1428
1429
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
|
|
1429
1430
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
|
|
1430
1431
|
ev.stopPropagation();
|
|
@@ -1435,7 +1436,7 @@ const Datetime = class {
|
|
|
1435
1436
|
if (minutesData.length === 0)
|
|
1436
1437
|
return [];
|
|
1437
1438
|
const activePart = this.getActivePartsWithFallback();
|
|
1438
|
-
return (h("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1439
|
+
return (h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1439
1440
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
|
|
1440
1441
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
|
|
1441
1442
|
ev.stopPropagation();
|
|
@@ -1448,7 +1449,7 @@ const Datetime = class {
|
|
|
1448
1449
|
}
|
|
1449
1450
|
const activePart = this.getActivePartsWithFallback();
|
|
1450
1451
|
const isDayPeriodRTL = isLocaleDayPeriodRTL(this.locale);
|
|
1451
|
-
return (h("ion-picker-column", { style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1452
|
+
return (h("ion-picker-column", { "aria-label": "Select a day period", style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1452
1453
|
const hour = calculateHourFromAMPM(workingParts, ev.detail.value);
|
|
1453
1454
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
|
|
1454
1455
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
|
|
@@ -1758,7 +1759,7 @@ const Datetime = class {
|
|
|
1758
1759
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1759
1760
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1760
1761
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1761
|
-
return (h(Host, { key: '
|
|
1762
|
+
return (h(Host, { key: '48313af4ec8e2a2666cd8c89932c5131dfa7b556', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1762
1763
|
[mode]: true,
|
|
1763
1764
|
['datetime-readonly']: readonly,
|
|
1764
1765
|
['datetime-disabled']: disabled,
|
|
@@ -1768,7 +1769,7 @@ const Datetime = class {
|
|
|
1768
1769
|
[`datetime-size-${size}`]: true,
|
|
1769
1770
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1770
1771
|
[`datetime-grid`]: isGridStyle,
|
|
1771
|
-
})) }, h("div", { key: '
|
|
1772
|
+
})) }, h("div", { key: 'b72570048236415aed915488305046d987d51dcf', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1772
1773
|
}
|
|
1773
1774
|
get el() { return getElement(this); }
|
|
1774
1775
|
static get watchers() { return {
|
|
@@ -1786,6 +1787,8 @@ const Datetime = class {
|
|
|
1786
1787
|
}; }
|
|
1787
1788
|
};
|
|
1788
1789
|
let datetimeIds = 0;
|
|
1790
|
+
const CANCEL_ROLE = 'datetime-cancel';
|
|
1791
|
+
const CONFIRM_ROLE = 'datetime-confirm';
|
|
1789
1792
|
const WHEEL_ITEM_PART = 'wheel-item';
|
|
1790
1793
|
const WHEEL_ITEM_ACTIVE_PART = `active`;
|
|
1791
1794
|
Datetime.style = {
|
|
@@ -2020,11 +2023,11 @@ const Picker = class {
|
|
|
2020
2023
|
render() {
|
|
2021
2024
|
const { htmlAttributes } = this;
|
|
2022
2025
|
const mode = getIonMode(this);
|
|
2023
|
-
return (h(Host, Object.assign({ key: '
|
|
2026
|
+
return (h(Host, Object.assign({ key: '26e3144adcdf01605271d01e468bb4a75ce854b1', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2024
2027
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2025
2028
|
}, class: Object.assign({ [mode]: true,
|
|
2026
2029
|
// Used internally for styling
|
|
2027
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
2030
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: 'fa212d21406606186cd95f8c7a4f119696ac8d4a', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '19ea889f65cb6a68a9db26cf9f83c6587cfcf07e', tabindex: "0" }), h("div", { key: '5fc0f5d26915ba353b9f0335946f94b6fda95e1e', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '3fa5bff4ac0013ef31845482a27a14caebbdcd2f', 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: '2ff6376956d01dcd9ec01b8d6972dd4b37ffb1a1', class: "picker-columns" }, h("div", { key: '4adcef77429f10a3faa50b41d1eaf3404387997c', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: 'e0f37d3e9896eb2bc0f0aef4762a897130851963', class: "picker-below-highlight" }))), h("div", { key: '671bb7d0f487b0d7c7fa70388f8fa1de77448b9f', tabindex: "0" })));
|
|
2028
2031
|
}
|
|
2029
2032
|
get el() { return getElement(this); }
|
|
2030
2033
|
static get watchers() { return {
|
|
@@ -2381,9 +2384,9 @@ const PickerColumnCmp = class {
|
|
|
2381
2384
|
render() {
|
|
2382
2385
|
const col = this.col;
|
|
2383
2386
|
const mode = getIonMode(this);
|
|
2384
|
-
return (h(Host, { key: '
|
|
2387
|
+
return (h(Host, { key: '56289a294e5c580f3e7fe5fc12777aa7f80ad19b', 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: {
|
|
2385
2388
|
'max-width': this.col.columnWidth,
|
|
2386
|
-
} }, col.prefix && (h("div", { key: '
|
|
2389
|
+
} }, col.prefix && (h("div", { key: 'd21f44667b5df567d6879723fe643ea7c2c60bef', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: 'bb427e5f24fd832703926e0e847ad05567597262', 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", { key: '0413f7c074b6534b8967387ecb9957a79a267aff', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2387
2390
|
}
|
|
2388
2391
|
get el() { return getElement(this); }
|
|
2389
2392
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-
|
|
5
|
-
import { b as getIonMode } from './ionic-global-
|
|
4
|
+
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-9aab3bcf.js';
|
|
5
|
+
import { b as getIonMode } from './ionic-global-4528d288.js';
|
|
6
6
|
import { i as inheritAriaAttributes } from './helpers-da915de8.js';
|
|
7
7
|
import { h as hostContext, o as openURL, c as createColorClasses } from './theme-01f3f29c.js';
|
|
8
8
|
import { t as close } from './index-e2cf2ceb.js';
|
|
@@ -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: 'cb44cf6486b0a6439b99da87c065b0b52e2514f4', 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: '1ed484c7ecb10cd81fbca9a4f5c4049bf82f9f8a' })));
|
|
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: 'eb347f7d6749c40637540d84778eb8d1b667a947', 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: '83e853c8815f41543c848eb2e05ec2bb1716110a' }, 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: '798deede94de658e4345acf7c2aafe2ab2567b0b', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '99252fde6de1aca73fc240a6da7e29acac9acb18', class: "button-inner" }, h("slot", { key: 'dc73e9b41bf1f0e385e5784f975dfb81e37c8dfb' })), mode === 'md' && h("ion-ripple-effect", { key: '8413e162f44a0350f54dff06cff7aad101de3549' }))));
|
|
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: 'fa1d195b9950654ba0e984bf61d981c977d05275', 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: '2ec738c66c05112e1e2521155d6adfc36d2fd1db' })));
|
|
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, f as Host, i as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-9aab3bcf.js';
|
|
5
5
|
import { h as inheritAttributes } from './helpers-da915de8.js';
|
|
6
|
-
import { b as getIonMode } from './ionic-global-
|
|
6
|
+
import { b as getIonMode } from './ionic-global-4528d288.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: '14d24d65ec8e5522192ca58035264971b1ab883b', class: getIonMode(this) }, h("img", { key: '345ba155a5fdce5e66c397a599b7333d37d9cb1d', 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,9 +1,9 @@
|
|
|
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, i as getElement, f as Host } from './index-
|
|
4
|
+
import { r as registerInstance, d as createEvent, w as writeTask, e as readTask, h, i as getElement, f as Host } from './index-9aab3bcf.js';
|
|
5
5
|
import { f as findClosestIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-5cc724f3.js';
|
|
6
|
-
import { b as getIonMode, c as config } from './ionic-global-
|
|
6
|
+
import { b as getIonMode, c as config } from './ionic-global-4528d288.js';
|
|
7
7
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
|
|
8
8
|
import './helpers-da915de8.js';
|
|
9
9
|
import './index-9b0d46f4.js';
|
|
@@ -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: '1444429a86950c449953cbf578436cc8cabf40ec', 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: '060278bf9cb0321e182352f9613be4ebbb028259', 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: '07d3cada920145f979ad315bd187fb878e0c3da3', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '6254f175d7543d09f3dd47cd0589a2809182cd8c', class: "infinite-loading-spinner" }, h("ion-spinner", { key: 'a6a816d1c65b60b786333b209b63492aa716a283', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
InfiniteScrollContent.style = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, f as Host, i as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, f as Host, i as getElement } from './index-9aab3bcf.js';
|
|
5
5
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
6
6
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
7
7
|
import { x as eye, y as eyeOff } from './index-e2cf2ceb.js';
|
|
8
|
-
import { b as getIonMode } from './ionic-global-
|
|
8
|
+
import { b as getIonMode } from './ionic-global-4528d288.js';
|
|
9
9
|
|
|
10
10
|
const iosInputPasswordToggleCss = "";
|
|
11
11
|
const IonInputPasswordToggleIosStyle0 = iosInputPasswordToggleCss;
|
|
@@ -65,16 +65,16 @@ const InputPasswordToggle = class {
|
|
|
65
65
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
66
66
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
67
67
|
const isPasswordVisible = type === 'text';
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'ed1c29726ce0c91548f0e2ada61e3f8b5c813d2d', class: createColorClasses(color, {
|
|
69
69
|
[mode]: true,
|
|
70
|
-
}) }, h("ion-button", { key: '
|
|
70
|
+
}) }, h("ion-button", { key: '9698eccdaedb86cf12d20acc53660371b3af3c55', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
|
|
71
71
|
/**
|
|
72
72
|
* This prevents mobile browsers from
|
|
73
73
|
* blurring the input when the password toggle
|
|
74
74
|
* button is activated.
|
|
75
75
|
*/
|
|
76
76
|
ev.preventDefault();
|
|
77
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
77
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '1f2119c30b56c800d9af44e6499445a0ebb466cf', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
78
78
|
}
|
|
79
79
|
get el() { return getElement(this); }
|
|
80
80
|
static get watchers() { return {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement, j as forceUpdate } from './index-
|
|
4
|
+
import { r as registerInstance, d as createEvent, h, f as Host, i as getElement, j as forceUpdate } from './index-9aab3bcf.js';
|
|
5
5
|
import { c as createNotchController } from './notch-controller-55b09e11.js';
|
|
6
6
|
import { e as debounceEvent, i as inheritAriaAttributes, h as inheritAttributes, c as componentOnReady } from './helpers-da915de8.js';
|
|
7
7
|
import { c as createSlotMutationController, g as getCounterText } from './input.utils-09c71bc7.js';
|
|
8
8
|
import { h as hostContext, c as createColorClasses } from './theme-01f3f29c.js';
|
|
9
9
|
import { b as closeCircle, d as closeSharp } from './index-e2cf2ceb.js';
|
|
10
|
-
import { b as getIonMode } from './ionic-global-
|
|
10
|
+
import { b as getIonMode } from './ionic-global-4528d288.js';
|
|
11
11
|
import './index-a5d50daf.js';
|
|
12
12
|
import './index-9b0d46f4.js';
|
|
13
13
|
|
|
@@ -87,6 +87,7 @@ const Input = class {
|
|
|
87
87
|
this.autocorrect = 'off';
|
|
88
88
|
this.autofocus = false;
|
|
89
89
|
this.clearInput = false;
|
|
90
|
+
this.clearInputIcon = undefined;
|
|
90
91
|
this.clearOnEdit = undefined;
|
|
91
92
|
this.counter = false;
|
|
92
93
|
this.counterFormatter = undefined;
|
|
@@ -377,11 +378,13 @@ const Input = class {
|
|
|
377
378
|
return this.renderLabel();
|
|
378
379
|
}
|
|
379
380
|
render() {
|
|
380
|
-
const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus } = this;
|
|
381
|
+
const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus, clearInputIcon } = this;
|
|
381
382
|
const mode = getIonMode(this);
|
|
382
383
|
const value = this.getValue();
|
|
383
384
|
const inItem = hostContext('ion-item', this.el);
|
|
384
385
|
const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;
|
|
386
|
+
const defaultClearIcon = mode === 'ios' ? closeCircle : closeSharp;
|
|
387
|
+
const clearIconData = clearInputIcon !== null && clearInputIcon !== void 0 ? clearInputIcon : defaultClearIcon;
|
|
385
388
|
const hasValue = this.hasValue();
|
|
386
389
|
const hasStartEndSlots = el.querySelector('[slot="start"], [slot="end"]') !== null;
|
|
387
390
|
/**
|
|
@@ -402,7 +405,7 @@ const Input = class {
|
|
|
402
405
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
403
406
|
*/
|
|
404
407
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
405
|
-
return (h(Host, { key: '
|
|
408
|
+
return (h(Host, { key: '907ce98a82b5cfae5a08504cd79e00a2330b7444', class: createColorClasses(this.color, {
|
|
406
409
|
[mode]: true,
|
|
407
410
|
'has-value': hasValue,
|
|
408
411
|
'has-focus': hasFocus,
|
|
@@ -413,7 +416,7 @@ const Input = class {
|
|
|
413
416
|
'in-item': inItem,
|
|
414
417
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
415
418
|
'input-disabled': disabled,
|
|
416
|
-
}) }, h("label", { key: '
|
|
419
|
+
}) }, h("label", { key: '59d5bb45d2a5b828bba0ed8687a632a551e2f4d8', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'f93f129d08246d0e9a601c100d718534d6403853', class: "native-wrapper" }, h("slot", { key: '54eeb1a6bace662b7eb0d7e27180ea3d7e3a3729', name: "start" }), h("input", Object.assign({ key: 'b3e0be55bc1a4a539ae3b0fdcf7fc078723cca16', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { key: '5f6373504a6d0d074bfbf875c794d45ea2748175', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
417
420
|
/**
|
|
418
421
|
* This prevents mobile browsers from
|
|
419
422
|
* blurring the input when the clear
|
|
@@ -428,7 +431,7 @@ const Input = class {
|
|
|
428
431
|
* for screen readers as it means users would be unable to swipe past the clear button.
|
|
429
432
|
*/
|
|
430
433
|
ev.stopPropagation();
|
|
431
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
434
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { key: '230d77973aa83458ceb32bf52e3abe9bc322cfe6', "aria-hidden": "true", icon: clearIconData }))), h("slot", { key: '9d69ac6e8a3c4b2b303dba2478f82695d5755ed2', name: "end" })), shouldRenderHighlight && h("div", { key: 'ac61f16237ce731e0745ab72d0fc3f066252464a', class: "input-highlight" })), this.renderBottomContent()));
|
|
432
435
|
}
|
|
433
436
|
get el() { return getElement(this); }
|
|
434
437
|
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, h, f as Host, i as getElement, d as createEvent } from './index-
|
|
4
|
+
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent } from './index-9aab3bcf.js';
|
|
5
5
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
6
|
-
import { b as getIonMode } from './ionic-global-
|
|
6
|
+
import { b as getIonMode } from './ionic-global-4528d288.js';
|
|
7
7
|
import { n as isEndSide } from './helpers-da915de8.js';
|
|
8
8
|
import { f as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index-5cc724f3.js';
|
|
9
9
|
import { w as watchForOptions } from './watch-options-c2911ace.js';
|
|
@@ -44,12 +44,12 @@ const ItemOption = class {
|
|
|
44
44
|
href: this.href,
|
|
45
45
|
target: this.target,
|
|
46
46
|
};
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '1900e015f593fefd710478a2088e052399c957eb', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
48
48
|
[mode]: true,
|
|
49
49
|
'item-option-disabled': disabled,
|
|
50
50
|
'item-option-expandable': expandable,
|
|
51
51
|
'ion-activatable': true,
|
|
52
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
52
|
+
}) }, h(TagType, Object.assign({ key: '5db2bb9bc72b7b00c324e4189cd1b5f862680ebb' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '6927e812ad001c5e7bd17f440d82c3830c58957b', class: "button-inner" }, h("slot", { key: '0fde4333def94c55d1318868c2bc71e780d5876a', name: "top" }), h("div", { key: '7ecc9ae8ddf66d7ed5d9f30becc9faf820e1c62e', class: "horizontal-wrapper" }, h("slot", { key: 'a15567fd4bd91080e9fbb6bb0c9b0e67d8a67051', name: "start" }), h("slot", { key: '7f86cdd28063e23f9d78997623333c5037c4f364', name: "icon-only" }), h("slot", { key: '4abb69ce3ad6c4917dd87b7b1eb0fa1c69917d73' }), h("slot", { key: '8b35a29f48722040465f182679ac17209937578d', name: "end" })), h("slot", { key: 'fa15a00891b41d66a4ccb51575dec54b72d0059e', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", { key: '0c071910c90fafca8026f59d78f4d9d5224d150a' }))));
|
|
53
53
|
}
|
|
54
54
|
get el() { return getElement(this); }
|
|
55
55
|
};
|
|
@@ -79,7 +79,7 @@ const ItemOptions = class {
|
|
|
79
79
|
render() {
|
|
80
80
|
const mode = getIonMode(this);
|
|
81
81
|
const isEnd = isEndSide(this.side);
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: 'e28cd6a236323b5cc203c9b96782aa81024da924', class: {
|
|
83
83
|
[mode]: true,
|
|
84
84
|
// Used internally for styling
|
|
85
85
|
[`item-options-${mode}`]: true,
|
|
@@ -487,7 +487,7 @@ const ItemSliding = class {
|
|
|
487
487
|
}
|
|
488
488
|
render() {
|
|
489
489
|
const mode = getIonMode(this);
|
|
490
|
-
return (h(Host, { key: '
|
|
490
|
+
return (h(Host, { key: '99f87c8bd794ae69830b407ba55013ac44793c26', class: {
|
|
491
491
|
[mode]: true,
|
|
492
492
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
493
493
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|