@ionic/core 8.4.2-dev.11736277041.14f34ba1 → 8.4.2-dev.11736797843.16cc5058
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 +32 -16
- package/components/alert.js +36 -18
- package/components/backdrop.js +9 -0
- package/components/button.js +25 -17
- package/components/buttons.js +12 -0
- package/components/checkbox.js +32 -9
- package/components/content.js +22 -2
- package/components/focus-visible.js +34 -4
- package/components/header.js +9 -2
- package/components/ion-accordion-group.js +17 -2
- package/components/ion-accordion.js +28 -8
- package/components/ion-back-button.js +8 -7
- package/components/ion-badge.js +0 -1
- package/components/ion-breadcrumb.js +17 -13
- package/components/ion-breadcrumbs.js +12 -6
- package/components/ion-card-header.js +5 -1
- package/components/ion-card-subtitle.js +0 -1
- package/components/ion-card-title.js +0 -1
- package/components/ion-card.js +13 -6
- package/components/ion-chip.js +6 -1
- package/components/ion-col.js +0 -24
- package/components/ion-datetime-button.js +12 -8
- package/components/ion-datetime.js +117 -42
- package/components/ion-fab-button.js +33 -14
- package/components/ion-fab-list.js +6 -0
- package/components/ion-fab.js +9 -2
- package/components/ion-footer.js +10 -3
- package/components/ion-grid.js +3 -0
- package/components/ion-img.js +0 -4
- package/components/ion-infinite-scroll-content.js +0 -2
- package/components/ion-infinite-scroll.js +26 -4
- package/components/ion-input-password-toggle.js +4 -4
- package/components/ion-input.js +65 -35
- package/components/ion-item-divider.js +7 -1
- package/components/ion-item-option.js +12 -8
- package/components/ion-item-options.js +4 -0
- package/components/ion-item-sliding.js +3 -0
- package/components/ion-loading.js +31 -12
- package/components/ion-menu-button.js +12 -5
- package/components/ion-menu-toggle.js +8 -3
- package/components/ion-menu.js +21 -3
- package/components/ion-nav-link.js +4 -4
- package/components/ion-nav.js +3 -5
- package/components/ion-note.js +0 -1
- package/components/ion-picker-legacy.js +39 -17
- package/components/ion-progress-bar.js +16 -1
- package/components/ion-range.js +61 -19
- package/components/ion-refresher-content.js +0 -4
- package/components/ion-refresher.js +50 -0
- package/components/ion-reorder-group.js +3 -0
- package/components/ion-route-redirect.js +0 -2
- package/components/ion-route.js +6 -4
- package/components/ion-router-link.js +5 -6
- package/components/ion-router-outlet.js +6 -3
- package/components/ion-router.js +18 -0
- package/components/ion-searchbar.js +75 -24
- package/components/ion-segment-button.js +17 -6
- package/components/ion-segment-view.js +3 -1
- package/components/ion-segment.js +20 -7
- package/components/ion-select-option.js +3 -1
- package/components/ion-select.js +45 -20
- package/components/ion-skeleton-text.js +3 -0
- package/components/ion-split-pane.js +8 -1
- package/components/ion-tab-bar.js +5 -2
- package/components/ion-tab-button.js +8 -8
- package/components/ion-tab.js +1 -3
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +0 -1
- package/components/ion-textarea.js +59 -29
- package/components/ion-toast.js +48 -23
- package/components/ion-toggle.js +33 -10
- package/components/item.js +16 -8
- package/components/label.js +0 -2
- package/components/list-header.js +0 -2
- package/components/list.js +3 -1
- package/components/modal.js +92 -25
- package/components/picker-column-option.js +16 -1
- package/components/picker-column.js +22 -6
- package/components/picker-column2.js +0 -1
- package/components/popover.js +122 -28
- package/components/radio-group.js +8 -4
- package/components/radio.js +25 -9
- package/components/ripple-effect.js +9 -0
- package/components/select-modal.js +3 -5
- package/components/select-popover.js +3 -4
- package/components/spinner.js +3 -3
- package/components/title.js +0 -2
- package/components/toolbar.js +0 -1
- package/dist/cjs/{app-globals-21afee77.js → app-globals-d2d85416.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-8d4c8099.js} +1 -1
- package/dist/cjs/{focus-visible-8657bbbf.js → focus-visible-7a0ce04f.js} +34 -4
- package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-f0972dab.js} +2 -2
- package/dist/cjs/{index-f05acd21.js → index-213cabf1.js} +4 -4
- package/dist/cjs/{index-73f75efb.js → index-2e7a27db.js} +1205 -837
- package/dist/cjs/{index-8e789962.js → index-38a015a8.js} +2 -2
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/ion-accordion_2.cjs.entry.js +47 -12
- package/dist/cjs/ion-action-sheet.cjs.entry.js +37 -21
- package/dist/cjs/ion-alert.cjs.entry.js +41 -23
- package/dist/cjs/ion-app_8.cjs.entry.js +66 -20
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +10 -9
- package/dist/cjs/ion-backdrop.cjs.entry.js +11 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +31 -21
- package/dist/cjs/ion-button_2.cjs.entry.js +27 -19
- package/dist/cjs/ion-card_5.cjs.entry.js +20 -11
- package/dist/cjs/ion-checkbox.cjs.entry.js +34 -11
- package/dist/cjs/ion-chip.cjs.entry.js +8 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +5 -26
- package/dist/cjs/ion-datetime-button.cjs.entry.js +14 -10
- package/dist/cjs/ion-datetime_3.cjs.entry.js +161 -65
- package/dist/cjs/ion-fab_3.cjs.entry.js +50 -18
- package/dist/cjs/ion-img.cjs.entry.js +2 -6
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +28 -8
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +6 -6
- package/dist/cjs/ion-input.cjs.entry.js +67 -37
- package/dist/cjs/ion-item-option_3.cjs.entry.js +21 -10
- package/dist/cjs/ion-item_8.cjs.entry.js +31 -17
- package/dist/cjs/ion-loading.cjs.entry.js +35 -16
- package/dist/cjs/ion-menu_3.cjs.entry.js +46 -16
- package/dist/cjs/ion-modal.cjs.entry.js +97 -30
- package/dist/cjs/ion-nav_2.cjs.entry.js +10 -12
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +18 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +24 -8
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +127 -33
- package/dist/cjs/ion-progress-bar.cjs.entry.js +18 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +35 -15
- package/dist/cjs/ion-range.cjs.entry.js +63 -21
- package/dist/cjs/ion-refresher_2.cjs.entry.js +52 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +11 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +31 -14
- package/dist/cjs/ion-searchbar.cjs.entry.js +77 -26
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +4 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +39 -15
- package/dist/cjs/ion-select-modal.cjs.entry.js +7 -9
- package/dist/cjs/ion-select_3.cjs.entry.js +55 -29
- package/dist/cjs/ion-spinner.cjs.entry.js +5 -5
- package/dist/cjs/ion-split-pane.cjs.entry.js +10 -3
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +15 -12
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -6
- package/dist/cjs/ion-text.cjs.entry.js +2 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +61 -31
- package/dist/cjs/ion-toast.cjs.entry.js +52 -27
- package/dist/cjs/ion-toggle.cjs.entry.js +35 -12
- package/dist/cjs/{ionic-global-d9a8bb5b.js → ionic-global-3c758a1a.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-ac964d6c.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-ededf99f.js → md.transition-45089eda.js} +3 -3
- package/dist/cjs/{overlays-aa669eb8.js → overlays-56fecd6c.js} +2 -2
- package/dist/cjs/{status-tap-37681226.js → status-tap-84e22ef3.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +38 -8
- package/dist/collection/components/accordion-group/accordion-group.js +29 -2
- package/dist/collection/components/action-sheet/action-sheet.js +68 -20
- package/dist/collection/components/alert/alert.js +76 -22
- package/dist/collection/components/back-button/back-button.js +23 -8
- package/dist/collection/components/backdrop/backdrop.js +15 -0
- package/dist/collection/components/badge/badge.js +2 -3
- package/dist/collection/components/breadcrumb/breadcrumb.js +44 -14
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +20 -6
- package/dist/collection/components/button/button.js +58 -18
- package/dist/collection/components/buttons/buttons.js +14 -0
- package/dist/collection/components/card/card.js +34 -7
- package/dist/collection/components/card-header/card-header.js +9 -1
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -3
- package/dist/collection/components/card-title/card-title.js +2 -3
- package/dist/collection/components/checkbox/checkbox.js +50 -9
- package/dist/collection/components/chip/chip.js +12 -1
- package/dist/collection/components/col/col.js +48 -26
- package/dist/collection/components/content/content.js +36 -2
- package/dist/collection/components/datetime/datetime.js +181 -46
- package/dist/collection/components/datetime-button/datetime-button.js +18 -8
- package/dist/collection/components/fab/fab.js +17 -2
- package/dist/collection/components/fab-button/fab-button.js +62 -15
- package/dist/collection/components/fab-list/fab-list.js +10 -0
- package/dist/collection/components/footer/footer.js +14 -3
- package/dist/collection/components/grid/grid.js +5 -0
- package/dist/collection/components/header/header.js +13 -2
- package/dist/collection/components/img/img.js +4 -4
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +32 -4
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +4 -2
- package/dist/collection/components/input/input.js +134 -36
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -4
- package/dist/collection/components/item/item.js +43 -9
- package/dist/collection/components/item-divider/item-divider.js +11 -1
- package/dist/collection/components/item-option/item-option.js +28 -8
- package/dist/collection/components/item-options/item-options.js +6 -0
- package/dist/collection/components/item-sliding/item-sliding.js +5 -0
- package/dist/collection/components/label/label.js +4 -2
- package/dist/collection/components/list/list.js +7 -1
- package/dist/collection/components/list-header/list-header.js +4 -4
- package/dist/collection/components/loading/loading.js +69 -16
- package/dist/collection/components/menu/menu.js +35 -3
- package/dist/collection/components/menu-button/menu-button.js +22 -5
- package/dist/collection/components/menu-toggle/menu-toggle.js +12 -3
- package/dist/collection/components/modal/modal.js +147 -32
- package/dist/collection/components/nav/nav.js +18 -8
- package/dist/collection/components/nav-link/nav-link.js +14 -6
- package/dist/collection/components/note/note.js +2 -3
- package/dist/collection/components/picker-column/picker-column.js +30 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +22 -1
- package/dist/collection/components/picker-legacy/picker.js +75 -21
- package/dist/collection/components/picker-legacy-column/picker-column.js +3 -2
- package/dist/collection/components/popover/popover.js +181 -33
- package/dist/collection/components/progress-bar/progress-bar.js +26 -1
- package/dist/collection/components/radio/radio.js +39 -9
- package/dist/collection/components/radio-group/radio-group.js +16 -4
- package/dist/collection/components/range/range.js +93 -19
- package/dist/collection/components/refresher/refresher.js +62 -0
- package/dist/collection/components/refresher-content/refresher-content.js +8 -4
- package/dist/collection/components/reorder-group/reorder-group.js +5 -0
- package/dist/collection/components/ripple-effect/ripple-effect.js +11 -0
- package/dist/collection/components/route/route.js +19 -7
- package/dist/collection/components/route-redirect/route-redirect.js +4 -4
- package/dist/collection/components/router/router.js +22 -0
- package/dist/collection/components/router-link/router-link.js +18 -7
- package/dist/collection/components/router-outlet/router-outlet.js +19 -6
- package/dist/collection/components/searchbar/searchbar.js +119 -24
- package/dist/collection/components/segment/segment.js +32 -7
- package/dist/collection/components/segment-button/segment-button.js +27 -6
- package/dist/collection/components/segment-view/segment-view.js +5 -1
- package/dist/collection/components/select/select.js +83 -20
- package/dist/collection/components/select-modal/select-modal.ios.css +186 -0
- package/dist/collection/components/select-modal/select-modal.js +8 -4
- package/dist/collection/components/select-option/select-option.js +7 -1
- package/dist/collection/components/select-popover/select-popover.js +13 -4
- package/dist/collection/components/skeleton-text/skeleton-text.js +5 -0
- package/dist/collection/components/spinner/spinner.js +11 -3
- package/dist/collection/components/split-pane/split-pane.js +14 -1
- package/dist/collection/components/tab/tab.js +10 -4
- package/dist/collection/components/tab-bar/tab-bar.js +11 -2
- package/dist/collection/components/tab-button/tab-button.js +24 -8
- package/dist/collection/components/tabs/tabs.js +4 -2
- package/dist/collection/components/text/text.js +2 -3
- package/dist/collection/components/textarea/textarea.js +116 -30
- package/dist/collection/components/title/title.js +4 -4
- package/dist/collection/components/toast/toast.js +97 -28
- package/dist/collection/components/toggle/toggle.js +51 -10
- package/dist/collection/components/toolbar/toolbar.js +2 -1
- package/dist/collection/utils/focus-visible.js +34 -4
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +1710 -572
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-1318774c.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-10b36beb.js} +1 -1
- package/dist/esm/{focus-visible-ea5a37bc.js → focus-visible-dd40d69f.js} +34 -4
- package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-0a284222.js} +2 -2
- package/dist/esm/{index-3ad7f18b.js → index-13b48bcb.js} +4 -4
- package/dist/esm/{index-24b48b06.js → index-ed9a6c67.js} +2 -2
- package/dist/esm/{index-28849c61.js → index-fcdfc1aa.js} +1205 -837
- package/dist/esm/index.js +8 -8
- package/dist/esm/ion-accordion_2.entry.js +47 -12
- package/dist/esm/ion-action-sheet.entry.js +37 -21
- package/dist/esm/ion-alert.entry.js +41 -23
- package/dist/esm/ion-app_8.entry.js +66 -20
- package/dist/esm/ion-avatar_3.entry.js +2 -3
- package/dist/esm/ion-back-button.entry.js +10 -9
- package/dist/esm/ion-backdrop.entry.js +11 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +31 -21
- package/dist/esm/ion-button_2.entry.js +27 -19
- package/dist/esm/ion-card_5.entry.js +20 -11
- package/dist/esm/ion-checkbox.entry.js +34 -11
- package/dist/esm/ion-chip.entry.js +8 -3
- package/dist/esm/ion-col_3.entry.js +5 -26
- package/dist/esm/ion-datetime-button.entry.js +14 -10
- package/dist/esm/ion-datetime_3.entry.js +161 -65
- package/dist/esm/ion-fab_3.entry.js +50 -18
- package/dist/esm/ion-img.entry.js +2 -6
- package/dist/esm/ion-infinite-scroll_2.entry.js +28 -8
- package/dist/esm/ion-input-password-toggle.entry.js +6 -6
- package/dist/esm/ion-input.entry.js +67 -37
- package/dist/esm/ion-item-option_3.entry.js +21 -10
- package/dist/esm/ion-item_8.entry.js +31 -17
- package/dist/esm/ion-loading.entry.js +35 -16
- package/dist/esm/ion-menu_3.entry.js +46 -16
- package/dist/esm/ion-modal.entry.js +97 -30
- package/dist/esm/ion-nav_2.entry.js +10 -12
- package/dist/esm/ion-picker-column-option.entry.js +18 -3
- package/dist/esm/ion-picker-column.entry.js +24 -8
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +127 -33
- package/dist/esm/ion-progress-bar.entry.js +18 -3
- package/dist/esm/ion-radio_2.entry.js +35 -15
- package/dist/esm/ion-range.entry.js +63 -21
- package/dist/esm/ion-refresher_2.entry.js +52 -6
- package/dist/esm/ion-reorder_2.entry.js +5 -2
- package/dist/esm/ion-ripple-effect.entry.js +11 -2
- package/dist/esm/ion-route_4.entry.js +31 -14
- package/dist/esm/ion-searchbar.entry.js +77 -26
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +4 -2
- package/dist/esm/ion-segment_2.entry.js +39 -15
- package/dist/esm/ion-select-modal.entry.js +7 -9
- package/dist/esm/ion-select_3.entry.js +55 -29
- package/dist/esm/ion-spinner.entry.js +5 -5
- package/dist/esm/ion-split-pane.entry.js +10 -3
- package/dist/esm/ion-tab-bar_2.entry.js +15 -12
- package/dist/esm/ion-tab_2.entry.js +4 -6
- package/dist/esm/ion-text.entry.js +2 -3
- package/dist/esm/ion-textarea.entry.js +61 -31
- package/dist/esm/ion-toast.entry.js +52 -27
- package/dist/esm/ion-toggle.entry.js +35 -12
- package/dist/esm/{ionic-global-c81d82ab.js → ionic-global-6b9f2b5a.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-1cb16beb.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-5106a0d2.js → md.transition-20f80721.js} +3 -3
- package/dist/esm/{overlays-e7b9d6d9.js → overlays-6163edd5.js} +2 -2
- package/dist/esm/{status-tap-f472b09f.js → status-tap-6971c722.js} +1 -1
- package/dist/esm-es5/app-globals-1318774c.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-10b36beb.js} +1 -1
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-0a284222.js} +1 -1
- package/dist/esm-es5/{index-3ad7f18b.js → index-13b48bcb.js} +1 -1
- package/dist/esm-es5/{index-24b48b06.js → index-ed9a6c67.js} +1 -1
- package/dist/esm-es5/index-fcdfc1aa.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-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.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-c81d82ab.js → ionic-global-6b9f2b5a.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-4ee1a3af.js → ios.transition-1cb16beb.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-20f80721.js +4 -0
- package/dist/esm-es5/{overlays-e7b9d6d9.js → overlays-6163edd5.js} +1 -1
- package/dist/esm-es5/{status-tap-f472b09f.js → status-tap-6971c722.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/p-009f82b0.entry.js +4 -0
- package/dist/ionic/{p-ed75fcfb.system.entry.js → p-00d0d756.system.entry.js} +1 -1
- package/dist/ionic/p-02a67bb6.entry.js +4 -0
- package/dist/ionic/p-06db9f72.system.entry.js +4 -0
- package/dist/ionic/p-0b7a6f61.system.entry.js +4 -0
- package/dist/ionic/p-0e3657b4.system.entry.js +4 -0
- package/dist/ionic/p-0f461830.entry.js +4 -0
- package/dist/ionic/p-1050c06b.entry.js +4 -0
- package/dist/ionic/p-10e0c150.entry.js +4 -0
- package/dist/ionic/p-12130ed6.entry.js +4 -0
- package/dist/ionic/{p-cac0e0b3.system.entry.js → p-12f321c2.system.entry.js} +1 -1
- package/dist/ionic/{p-e85d901b.system.entry.js → p-13672c38.system.entry.js} +1 -1
- package/dist/ionic/p-1424bf51.system.entry.js +4 -0
- package/dist/ionic/p-14862d17.js +4 -0
- package/dist/ionic/p-15764963.entry.js +4 -0
- package/dist/ionic/{p-d6841eac.js → p-178f8860.js} +1 -1
- package/dist/ionic/p-19d9e3c1.entry.js +4 -0
- package/dist/ionic/{p-322c5fb4.system.js → p-1a02bce6.system.js} +1 -1
- package/dist/ionic/{p-8b8be2fd.entry.js → p-1c152e5e.entry.js} +1 -1
- package/dist/ionic/{p-a4565eb5.system.js → p-1fd5d9bc.system.js} +1 -1
- package/dist/ionic/{p-33a8a71b.entry.js → p-20034878.entry.js} +1 -1
- package/dist/ionic/p-231bc1a6.entry.js +4 -0
- package/dist/ionic/p-256d6439.system.entry.js +4 -0
- package/dist/ionic/{p-424eb140.system.entry.js → p-25ffd217.system.entry.js} +1 -1
- package/dist/ionic/p-2799a566.entry.js +4 -0
- package/dist/ionic/p-27c32980.system.entry.js +4 -0
- package/dist/ionic/p-28dfa27e.entry.js +4 -0
- package/dist/ionic/p-2af55ad8.entry.js +4 -0
- package/dist/ionic/p-2d31d826.entry.js +4 -0
- package/dist/ionic/{p-0303d0f8.js → p-2e092bfc.js} +1 -1
- package/dist/ionic/{p-4439fc2a.entry.js → p-2e25154e.entry.js} +1 -1
- package/dist/ionic/p-33e4b80b.entry.js +4 -0
- package/dist/ionic/p-39d3c108.entry.js +4 -0
- package/dist/ionic/{p-1e010627.system.entry.js → p-39f7d87a.system.entry.js} +1 -1
- package/dist/ionic/{p-b335ffed.system.entry.js → p-3be897c8.system.entry.js} +1 -1
- package/dist/ionic/{p-5da94421.system.js → p-3e9fea9e.system.js} +1 -1
- package/dist/ionic/{p-88e63c7d.js → p-40b63137.js} +1 -1
- package/dist/ionic/{p-63b0abde.system.entry.js → p-47dc25dc.system.entry.js} +1 -1
- package/dist/ionic/p-48da821c.system.js +4 -0
- package/dist/ionic/p-49e8212a.entry.js +4 -0
- package/dist/ionic/p-4c553a2a.system.entry.js +4 -0
- package/dist/ionic/{p-6499df44.system.entry.js → p-4e9cfad5.system.entry.js} +2 -2
- package/dist/ionic/{p-5823babc.system.entry.js → p-50d264fa.system.entry.js} +1 -1
- package/dist/ionic/{p-7ddc46c3.system.entry.js → p-515d6848.system.entry.js} +1 -1
- package/dist/ionic/{p-ca065903.system.entry.js → p-548a72aa.system.entry.js} +1 -1
- package/dist/ionic/p-550a3b74.system.entry.js +4 -0
- package/dist/ionic/p-56b2ba69.system.entry.js +4 -0
- package/dist/ionic/{p-21e5e7e4.js → p-576c3a98.js} +1 -1
- package/dist/ionic/{p-14be4015.entry.js → p-58f53534.entry.js} +1 -1
- package/dist/ionic/p-5d9ac963.entry.js +4 -0
- package/dist/ionic/p-5ed6403e.system.entry.js +4 -0
- package/dist/ionic/{p-2507278c.system.entry.js → p-639d0578.system.entry.js} +1 -1
- package/dist/ionic/p-64bbdc67.entry.js +4 -0
- package/dist/ionic/p-65d01407.entry.js +4 -0
- package/dist/ionic/p-6b2e506b.entry.js +4 -0
- package/dist/ionic/{p-fca6ef5f.system.entry.js → p-6b6a8f94.system.entry.js} +1 -1
- package/dist/ionic/{p-7ed1657c.system.entry.js → p-6d119deb.system.entry.js} +1 -1
- package/dist/ionic/p-7148eaf9.system.js +4 -0
- package/dist/ionic/p-72bfbdb8.entry.js +4 -0
- package/dist/ionic/{p-d743e981.js → p-782beb5a.js} +1 -1
- package/dist/ionic/{p-a61cba41.entry.js → p-78667ff0.entry.js} +1 -1
- package/dist/ionic/{p-69666e8a.system.entry.js → p-78c786a5.system.entry.js} +2 -2
- package/dist/ionic/{p-3c8e5c23.system.js → p-7a1241fe.system.js} +1 -1
- package/dist/ionic/p-7b5771f9.entry.js +4 -0
- package/dist/ionic/p-7e58bbf9.system.js +5 -0
- package/dist/ionic/p-81757650.entry.js +4 -0
- package/dist/ionic/{p-14e159ea.system.entry.js → p-825e7bd7.system.entry.js} +1 -1
- package/dist/ionic/{p-6d32975a.entry.js → p-8318c25d.entry.js} +1 -1
- package/dist/ionic/p-861176bf.js +5 -0
- package/dist/ionic/p-87a5a16c.system.entry.js +4 -0
- package/dist/ionic/{p-f3102647.system.entry.js → p-87ce1c7b.system.entry.js} +1 -1
- package/dist/ionic/p-8dd3da91.entry.js +4 -0
- package/dist/ionic/p-8e640927.entry.js +4 -0
- package/dist/ionic/{p-ecceeb90.js → p-8ef7a3d4.js} +1 -1
- package/dist/ionic/{p-5fce0c0b.system.entry.js → p-900bf295.system.entry.js} +1 -1
- package/dist/ionic/{p-bc36ad98.system.entry.js → p-9437291a.system.entry.js} +1 -1
- package/dist/ionic/{p-372ae7f4.system.js → p-95902a17.system.js} +1 -1
- package/dist/ionic/p-976cffa3.js +4 -0
- package/dist/ionic/p-9a87fe2d.entry.js +4 -0
- package/dist/ionic/{p-1046866e.system.entry.js → p-9b48727c.system.entry.js} +1 -1
- package/dist/ionic/p-a049797d.system.entry.js +4 -0
- package/dist/ionic/p-a09686af.system.entry.js +4 -0
- package/dist/ionic/p-aa92906a.entry.js +4 -0
- package/dist/ionic/{p-2e46590d.system.entry.js → p-ae304d51.system.entry.js} +1 -1
- package/dist/ionic/p-ae830361.entry.js +4 -0
- package/dist/ionic/p-aee73160.entry.js +4 -0
- package/dist/ionic/p-af19e17f.entry.js +4 -0
- package/dist/ionic/{p-c449820c.system.js → p-b13c5a74.system.js} +1 -1
- package/dist/ionic/p-b5400a4e.entry.js +4 -0
- package/dist/ionic/{p-2bd0ae94.system.entry.js → p-b84b4728.system.entry.js} +2 -2
- package/dist/ionic/p-bc35609f.system.entry.js +4 -0
- package/dist/ionic/p-c29e3a26.entry.js +4 -0
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/p-c5bbf6c1.system.entry.js +4 -0
- package/dist/ionic/{p-a69b9fc5.system.js → p-c7d9e292.system.js} +1 -1
- package/dist/ionic/{p-2abae1cc.system.entry.js → p-ccba2087.system.entry.js} +1 -1
- package/dist/ionic/{p-567de071.system.entry.js → p-cdf6fc3a.system.entry.js} +1 -1
- package/dist/ionic/{p-f9a53abb.system.js → p-cec30029.system.js} +1 -1
- package/dist/ionic/p-d3e8f550.entry.js +4 -0
- package/dist/ionic/{p-37cb43bd.system.entry.js → p-d46804b1.system.entry.js} +1 -1
- package/dist/ionic/p-d47265c8.js +4 -0
- package/dist/ionic/p-da1d2cb3.entry.js +4 -0
- package/dist/ionic/p-dbdccd05.entry.js +4 -0
- package/dist/ionic/p-dc480111.entry.js +4 -0
- package/dist/ionic/{p-e4f69534.system.entry.js → p-dc75988a.system.entry.js} +1 -1
- package/dist/ionic/{p-0aa833fb.system.js → p-de104ff8.system.js} +1 -1
- package/dist/ionic/{p-16799667.system.entry.js → p-e3177e13.system.entry.js} +1 -1
- package/dist/ionic/p-e4e3296d.system.js +4 -0
- package/dist/ionic/{p-ebf042e0.system.entry.js → p-e8d1ae44.system.entry.js} +1 -1
- package/dist/ionic/{p-0574e87e.js → p-e992e256.js} +1 -1
- package/dist/ionic/p-eb82a2ad.entry.js +4 -0
- package/dist/ionic/p-ebef8e16.system.entry.js +4 -0
- package/dist/ionic/p-f03983ca.system.entry.js +4 -0
- package/dist/ionic/p-f244eea8.system.entry.js +4 -0
- package/dist/ionic/p-f2e5ec87.entry.js +4 -0
- package/dist/ionic/{p-f1acf541.system.entry.js → p-f5aef6f1.system.entry.js} +1 -1
- package/dist/ionic/p-f5b1cfba.entry.js +4 -0
- package/dist/ionic/p-f8ff5ad1.entry.js +4 -0
- package/dist/ionic/p-fa459c81.entry.js +4 -0
- package/dist/ionic/p-fa7120fe.entry.js +4 -0
- package/dist/ionic/{p-52d7a191.entry.js → p-fbebb25d.entry.js} +1 -1
- package/dist/ionic/{p-b2272f51.system.entry.js → p-fc8bdbc9.system.entry.js} +1 -1
- package/dist/ionic/{p-2799c6d3.system.entry.js → p-fca658be.system.entry.js} +1 -1
- package/dist/ionic/p-fdb92b6d.entry.js +4 -0
- package/dist/ionic/{p-e6635685.js → p-fe10600c.js} +1 -1
- package/dist/ionic/p-fe5dca01.system.entry.js +4 -0
- package/dist/ionic/p-fe6ab8d4.entry.js +4 -0
- package/dist/ionic/p-fee6c9c2.system.entry.js +4 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/hydrate/index.d.ts +10 -4
- package/hydrate/index.js +3057 -1456
- package/hydrate/index.mjs +3057 -1456
- package/package.json +3 -3
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/focus-visible-ea5a37bc.js +0 -4
- package/dist/esm-es5/index-28849c61.js +0 -5
- package/dist/esm-es5/md.transition-5106a0d2.js +0 -4
- package/dist/ionic/p-01186920.system.entry.js +0 -4
- package/dist/ionic/p-021c1da5.js +0 -4
- package/dist/ionic/p-081a4ce4.entry.js +0 -4
- package/dist/ionic/p-0bf0e55c.entry.js +0 -4
- package/dist/ionic/p-0c786bdf.system.entry.js +0 -4
- package/dist/ionic/p-12a722b8.system.entry.js +0 -4
- package/dist/ionic/p-141f79c7.entry.js +0 -4
- package/dist/ionic/p-15e76dd1.entry.js +0 -4
- package/dist/ionic/p-16188af7.entry.js +0 -4
- package/dist/ionic/p-16bfb979.system.entry.js +0 -4
- package/dist/ionic/p-17474161.system.js +0 -4
- package/dist/ionic/p-19ec4f42.entry.js +0 -4
- package/dist/ionic/p-1e67b266.system.entry.js +0 -4
- package/dist/ionic/p-2172893e.system.entry.js +0 -4
- package/dist/ionic/p-25180df3.system.js +0 -5
- package/dist/ionic/p-2b838f86.system.entry.js +0 -4
- package/dist/ionic/p-2b9b78c7.entry.js +0 -4
- package/dist/ionic/p-2fc0dafe.entry.js +0 -4
- package/dist/ionic/p-45693d7e.entry.js +0 -4
- package/dist/ionic/p-49a0e74c.entry.js +0 -4
- package/dist/ionic/p-4ec778aa.entry.js +0 -4
- package/dist/ionic/p-508d024a.entry.js +0 -4
- package/dist/ionic/p-58d5df0c.system.entry.js +0 -4
- package/dist/ionic/p-5ab1b709.entry.js +0 -4
- package/dist/ionic/p-5b932840.entry.js +0 -4
- package/dist/ionic/p-626fd66d.system.entry.js +0 -4
- package/dist/ionic/p-62af944c.entry.js +0 -4
- package/dist/ionic/p-66640ff7.system.entry.js +0 -4
- package/dist/ionic/p-69066a53.js +0 -4
- package/dist/ionic/p-6b280620.entry.js +0 -4
- package/dist/ionic/p-6d6cedc5.entry.js +0 -4
- package/dist/ionic/p-73dc4950.entry.js +0 -4
- package/dist/ionic/p-7458862e.system.entry.js +0 -4
- package/dist/ionic/p-797eeea8.system.entry.js +0 -4
- package/dist/ionic/p-7b9a2b23.entry.js +0 -4
- package/dist/ionic/p-8a5b9491.system.entry.js +0 -4
- package/dist/ionic/p-908d6080.entry.js +0 -4
- package/dist/ionic/p-937a7e21.entry.js +0 -4
- package/dist/ionic/p-942b5e13.entry.js +0 -4
- package/dist/ionic/p-95775830.entry.js +0 -4
- package/dist/ionic/p-982315a6.entry.js +0 -4
- package/dist/ionic/p-98231c01.system.entry.js +0 -4
- package/dist/ionic/p-985a7e17.system.entry.js +0 -4
- package/dist/ionic/p-98ff6b32.entry.js +0 -4
- package/dist/ionic/p-9df2c6fb.entry.js +0 -4
- package/dist/ionic/p-9ee1e8a6.entry.js +0 -4
- package/dist/ionic/p-9f3008d4.system.js +0 -4
- package/dist/ionic/p-9fa07aec.entry.js +0 -4
- package/dist/ionic/p-a43467d8.entry.js +0 -4
- package/dist/ionic/p-a49378bb.system.entry.js +0 -4
- package/dist/ionic/p-afecb188.entry.js +0 -4
- package/dist/ionic/p-b79ba17c.entry.js +0 -4
- package/dist/ionic/p-b82d4cab.js +0 -4
- package/dist/ionic/p-b9d7015f.entry.js +0 -4
- package/dist/ionic/p-bb0db172.entry.js +0 -4
- package/dist/ionic/p-bdad26e3.entry.js +0 -4
- package/dist/ionic/p-c29f8157.system.entry.js +0 -4
- package/dist/ionic/p-c41ac815.entry.js +0 -4
- package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
- package/dist/ionic/p-c9f3a539.entry.js +0 -4
- package/dist/ionic/p-cdc83025.entry.js +0 -4
- package/dist/ionic/p-cf130350.system.js +0 -4
- package/dist/ionic/p-d18ab582.system.entry.js +0 -4
- package/dist/ionic/p-d7aa6b00.entry.js +0 -4
- package/dist/ionic/p-d836d43e.js +0 -5
- package/dist/ionic/p-da074ff7.entry.js +0 -4
- package/dist/ionic/p-de930745.entry.js +0 -4
- package/dist/ionic/p-e4ee80be.system.entry.js +0 -4
- package/dist/ionic/p-e563a35c.entry.js +0 -4
- package/dist/ionic/p-e7ed4a7f.system.js +0 -4
- package/dist/ionic/p-eba29931.entry.js +0 -4
- package/dist/ionic/p-efaffe74.entry.js +0 -4
- package/dist/ionic/p-fec61c32.entry.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-
|
|
5
|
-
import { startFocusVisible } from './focus-visible-
|
|
4
|
+
import { r as registerInstance, d as createEvent, w as writeTask, h, f as Host, i as getElement } from './index-fcdfc1aa.js';
|
|
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-6b9f2b5a.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-6163edd5.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-0a284222.js';
|
|
19
19
|
import './framework-delegate-63d1a679.js';
|
|
20
20
|
import './gesture-controller-314a54f6.js';
|
|
21
21
|
import './capacitor-59395cbd.js';
|
|
@@ -247,6 +247,123 @@ const Datetime = class {
|
|
|
247
247
|
this.ionRender = createEvent(this, "ionRender", 7);
|
|
248
248
|
this.inputId = `ion-dt-${datetimeIds++}`;
|
|
249
249
|
this.prevPresentation = null;
|
|
250
|
+
this.showMonthAndYear = false;
|
|
251
|
+
this.activeParts = [];
|
|
252
|
+
this.workingParts = {
|
|
253
|
+
month: 5,
|
|
254
|
+
day: 28,
|
|
255
|
+
year: 2021,
|
|
256
|
+
hour: 13,
|
|
257
|
+
minute: 52,
|
|
258
|
+
ampm: 'pm',
|
|
259
|
+
};
|
|
260
|
+
this.isTimePopoverOpen = false;
|
|
261
|
+
/**
|
|
262
|
+
* The color to use from your application's color palette.
|
|
263
|
+
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
264
|
+
* For more information on colors, see [theming](/docs/theming/basics).
|
|
265
|
+
*/
|
|
266
|
+
this.color = 'primary';
|
|
267
|
+
/**
|
|
268
|
+
* The name of the control, which is submitted with the form data.
|
|
269
|
+
*/
|
|
270
|
+
this.name = this.inputId;
|
|
271
|
+
/**
|
|
272
|
+
* If `true`, the user cannot interact with the datetime.
|
|
273
|
+
*/
|
|
274
|
+
this.disabled = false;
|
|
275
|
+
/**
|
|
276
|
+
* If `true`, the datetime appears normal but the selected date cannot be changed.
|
|
277
|
+
*/
|
|
278
|
+
this.readonly = false;
|
|
279
|
+
/**
|
|
280
|
+
* Which values you want to select. `"date"` will show
|
|
281
|
+
* a calendar picker to select the month, day, and year. `"time"`
|
|
282
|
+
* will show a time picker to select the hour, minute, and (optionally)
|
|
283
|
+
* AM/PM. `"date-time"` will show the date picker first and time picker second.
|
|
284
|
+
* `"time-date"` will show the time picker first and date picker second.
|
|
285
|
+
*/
|
|
286
|
+
this.presentation = 'date-time';
|
|
287
|
+
/**
|
|
288
|
+
* The text to display on the picker's cancel button.
|
|
289
|
+
*/
|
|
290
|
+
this.cancelText = 'Cancel';
|
|
291
|
+
/**
|
|
292
|
+
* The text to display on the picker's "Done" button.
|
|
293
|
+
*/
|
|
294
|
+
this.doneText = 'Done';
|
|
295
|
+
/**
|
|
296
|
+
* The text to display on the picker's "Clear" button.
|
|
297
|
+
*/
|
|
298
|
+
this.clearText = 'Clear';
|
|
299
|
+
/**
|
|
300
|
+
* The locale to use for `ion-datetime`. This
|
|
301
|
+
* impacts month and day name formatting.
|
|
302
|
+
* The `"default"` value refers to the default
|
|
303
|
+
* locale set by your device.
|
|
304
|
+
*/
|
|
305
|
+
this.locale = 'default';
|
|
306
|
+
/**
|
|
307
|
+
* The first day of the week to use for `ion-datetime`. The
|
|
308
|
+
* default value is `0` and represents Sunday.
|
|
309
|
+
*/
|
|
310
|
+
this.firstDayOfWeek = 0;
|
|
311
|
+
/**
|
|
312
|
+
* If `true`, multiple dates can be selected at once. Only
|
|
313
|
+
* applies to `presentation="date"` and `preferWheel="false"`.
|
|
314
|
+
*/
|
|
315
|
+
this.multiple = false;
|
|
316
|
+
/**
|
|
317
|
+
* If `true`, a header will be shown above the calendar
|
|
318
|
+
* picker. This will include both the slotted title, and
|
|
319
|
+
* the selected date.
|
|
320
|
+
*/
|
|
321
|
+
this.showDefaultTitle = false;
|
|
322
|
+
/**
|
|
323
|
+
* If `true`, the default "Cancel" and "OK" buttons
|
|
324
|
+
* will be rendered at the bottom of the `ion-datetime`
|
|
325
|
+
* component. Developers can also use the `button` slot
|
|
326
|
+
* if they want to customize these buttons. If custom
|
|
327
|
+
* buttons are set in the `button` slot then the
|
|
328
|
+
* default buttons will not be rendered.
|
|
329
|
+
*/
|
|
330
|
+
this.showDefaultButtons = false;
|
|
331
|
+
/**
|
|
332
|
+
* If `true`, a "Clear" button will be rendered alongside
|
|
333
|
+
* the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime`
|
|
334
|
+
* component. Developers can also use the `button` slot
|
|
335
|
+
* if they want to customize these buttons. If custom
|
|
336
|
+
* buttons are set in the `button` slot then the
|
|
337
|
+
* default buttons will not be rendered.
|
|
338
|
+
*/
|
|
339
|
+
this.showClearButton = false;
|
|
340
|
+
/**
|
|
341
|
+
* If `true`, the default "Time" label will be rendered
|
|
342
|
+
* for the time selector of the `ion-datetime` component.
|
|
343
|
+
* Developers can also use the `time-label` slot
|
|
344
|
+
* if they want to customize this label. If a custom
|
|
345
|
+
* label is set in the `time-label` slot then the
|
|
346
|
+
* default label will not be rendered.
|
|
347
|
+
*/
|
|
348
|
+
this.showDefaultTimeLabel = true;
|
|
349
|
+
/**
|
|
350
|
+
* If `cover`, the `ion-datetime` will expand to cover the full width of its container.
|
|
351
|
+
* If `fixed`, the `ion-datetime` will have a fixed width.
|
|
352
|
+
*/
|
|
353
|
+
this.size = 'fixed';
|
|
354
|
+
/**
|
|
355
|
+
* If `true`, a wheel picker will be rendered instead of a calendar grid
|
|
356
|
+
* where possible. If `false`, a calendar grid will be rendered instead of
|
|
357
|
+
* a wheel picker where possible.
|
|
358
|
+
*
|
|
359
|
+
* A wheel picker can be rendered instead of a grid when `presentation` is
|
|
360
|
+
* one of the following values: `"date"`, `"date-time"`, or `"time-date"`.
|
|
361
|
+
*
|
|
362
|
+
* A wheel picker will always be rendered regardless of
|
|
363
|
+
* the `preferWheel` value when `presentation` is one of the following values:
|
|
364
|
+
* `"time"`, `"month"`, `"month-year"`, or `"year"`.
|
|
365
|
+
*/
|
|
366
|
+
this.preferWheel = false;
|
|
250
367
|
this.warnIfIncorrectValueUsage = () => {
|
|
251
368
|
const { multiple, value } = this;
|
|
252
369
|
if (!multiple && Array.isArray(value)) {
|
|
@@ -839,48 +956,6 @@ const Datetime = class {
|
|
|
839
956
|
this.toggleMonthAndYearView = () => {
|
|
840
957
|
this.showMonthAndYear = !this.showMonthAndYear;
|
|
841
958
|
};
|
|
842
|
-
this.showMonthAndYear = false;
|
|
843
|
-
this.activeParts = [];
|
|
844
|
-
this.workingParts = {
|
|
845
|
-
month: 5,
|
|
846
|
-
day: 28,
|
|
847
|
-
year: 2021,
|
|
848
|
-
hour: 13,
|
|
849
|
-
minute: 52,
|
|
850
|
-
ampm: 'pm',
|
|
851
|
-
};
|
|
852
|
-
this.isTimePopoverOpen = false;
|
|
853
|
-
this.forceRenderDate = undefined;
|
|
854
|
-
this.color = 'primary';
|
|
855
|
-
this.name = this.inputId;
|
|
856
|
-
this.disabled = false;
|
|
857
|
-
this.formatOptions = undefined;
|
|
858
|
-
this.readonly = false;
|
|
859
|
-
this.isDateEnabled = undefined;
|
|
860
|
-
this.min = undefined;
|
|
861
|
-
this.max = undefined;
|
|
862
|
-
this.presentation = 'date-time';
|
|
863
|
-
this.cancelText = 'Cancel';
|
|
864
|
-
this.doneText = 'Done';
|
|
865
|
-
this.clearText = 'Clear';
|
|
866
|
-
this.yearValues = undefined;
|
|
867
|
-
this.monthValues = undefined;
|
|
868
|
-
this.dayValues = undefined;
|
|
869
|
-
this.hourValues = undefined;
|
|
870
|
-
this.minuteValues = undefined;
|
|
871
|
-
this.locale = 'default';
|
|
872
|
-
this.firstDayOfWeek = 0;
|
|
873
|
-
this.titleSelectedDatesFormatter = undefined;
|
|
874
|
-
this.multiple = false;
|
|
875
|
-
this.highlightedDates = undefined;
|
|
876
|
-
this.value = undefined;
|
|
877
|
-
this.showDefaultTitle = false;
|
|
878
|
-
this.showDefaultButtons = false;
|
|
879
|
-
this.showClearButton = false;
|
|
880
|
-
this.showDefaultTimeLabel = true;
|
|
881
|
-
this.hourCycle = undefined;
|
|
882
|
-
this.size = 'fixed';
|
|
883
|
-
this.preferWheel = false;
|
|
884
959
|
}
|
|
885
960
|
formatOptionsChanged() {
|
|
886
961
|
const { el, formatOptions, presentation } = this;
|
|
@@ -1860,33 +1935,55 @@ const Picker = class {
|
|
|
1860
1935
|
this.delegateController = createDelegateController(this);
|
|
1861
1936
|
this.lockController = createLockController();
|
|
1862
1937
|
this.triggerController = createTriggerController();
|
|
1863
|
-
this.onBackdropTap = () => {
|
|
1864
|
-
this.dismiss(undefined, BACKDROP);
|
|
1865
|
-
};
|
|
1866
|
-
this.dispatchCancelHandler = (ev) => {
|
|
1867
|
-
const role = ev.detail.role;
|
|
1868
|
-
if (isCancel(role)) {
|
|
1869
|
-
const cancelButton = this.buttons.find((b) => b.role === 'cancel');
|
|
1870
|
-
this.callButtonHandler(cancelButton);
|
|
1871
|
-
}
|
|
1872
|
-
};
|
|
1873
1938
|
this.presented = false;
|
|
1874
|
-
|
|
1875
|
-
this.delegate = undefined;
|
|
1939
|
+
/** @internal */
|
|
1876
1940
|
this.hasController = false;
|
|
1941
|
+
/**
|
|
1942
|
+
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
1943
|
+
*/
|
|
1877
1944
|
this.keyboardClose = true;
|
|
1878
|
-
|
|
1879
|
-
|
|
1945
|
+
/**
|
|
1946
|
+
* Array of buttons to be displayed at the top of the picker.
|
|
1947
|
+
*/
|
|
1880
1948
|
this.buttons = [];
|
|
1949
|
+
/**
|
|
1950
|
+
* Array of columns to be displayed in the picker.
|
|
1951
|
+
*/
|
|
1881
1952
|
this.columns = [];
|
|
1882
|
-
|
|
1953
|
+
/**
|
|
1954
|
+
* Number of milliseconds to wait before dismissing the picker.
|
|
1955
|
+
*/
|
|
1883
1956
|
this.duration = 0;
|
|
1957
|
+
/**
|
|
1958
|
+
* If `true`, a backdrop will be displayed behind the picker.
|
|
1959
|
+
*/
|
|
1884
1960
|
this.showBackdrop = true;
|
|
1961
|
+
/**
|
|
1962
|
+
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
1963
|
+
*/
|
|
1885
1964
|
this.backdropDismiss = true;
|
|
1965
|
+
/**
|
|
1966
|
+
* If `true`, the picker will animate.
|
|
1967
|
+
*/
|
|
1886
1968
|
this.animated = true;
|
|
1887
|
-
|
|
1969
|
+
/**
|
|
1970
|
+
* If `true`, the picker will open. If `false`, the picker will close.
|
|
1971
|
+
* Use this if you need finer grained control over presentation, otherwise
|
|
1972
|
+
* just use the pickerController or the `trigger` property.
|
|
1973
|
+
* Note: `isOpen` will not automatically be set back to `false` when
|
|
1974
|
+
* the picker dismisses. You will need to do that in your code.
|
|
1975
|
+
*/
|
|
1888
1976
|
this.isOpen = false;
|
|
1889
|
-
this.
|
|
1977
|
+
this.onBackdropTap = () => {
|
|
1978
|
+
this.dismiss(undefined, BACKDROP);
|
|
1979
|
+
};
|
|
1980
|
+
this.dispatchCancelHandler = (ev) => {
|
|
1981
|
+
const role = ev.detail.role;
|
|
1982
|
+
if (isCancel(role)) {
|
|
1983
|
+
const cancelButton = this.buttons.find((b) => b.role === 'cancel');
|
|
1984
|
+
this.callButtonHandler(cancelButton);
|
|
1985
|
+
}
|
|
1986
|
+
};
|
|
1890
1987
|
}
|
|
1891
1988
|
onIsOpenChange(newValue, oldValue) {
|
|
1892
1989
|
if (newValue === true && oldValue === false) {
|
|
@@ -2076,7 +2173,6 @@ const PickerColumnCmp = class {
|
|
|
2076
2173
|
// Ex: column is created with 3 options. User updates the column data
|
|
2077
2174
|
// to have 5 options. The column will still think it only has 3 options.
|
|
2078
2175
|
this.colDidChange = false;
|
|
2079
|
-
this.col = undefined;
|
|
2080
2176
|
}
|
|
2081
2177
|
colChanged() {
|
|
2082
2178
|
this.colDidChange = true;
|
|
@@ -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-fcdfc1aa.js';
|
|
5
|
+
import { b as getIonMode } from './ionic-global-6b9f2b5a.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';
|
|
@@ -13,9 +13,16 @@ const IonFabStyle0 = fabCss;
|
|
|
13
13
|
const Fab = class {
|
|
14
14
|
constructor(hostRef) {
|
|
15
15
|
registerInstance(this, hostRef);
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
/**
|
|
17
|
+
* If `true`, the fab will display on the edge of the header if
|
|
18
|
+
* `vertical` is `"top"`, and on the edge of the footer if
|
|
19
|
+
* it is `"bottom"`. Should be used with a `fixed` slot.
|
|
20
|
+
*/
|
|
18
21
|
this.edge = false;
|
|
22
|
+
/**
|
|
23
|
+
* If `true`, both the `ion-fab-button` and all `ion-fab-list` inside `ion-fab` will become active.
|
|
24
|
+
* That means `ion-fab-button` will become a `close` icon and `ion-fab-list` will become visible.
|
|
25
|
+
*/
|
|
19
26
|
this.activated = false;
|
|
20
27
|
}
|
|
21
28
|
activatedChanged() {
|
|
@@ -82,6 +89,39 @@ const FabButton = class {
|
|
|
82
89
|
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
83
90
|
this.fab = null;
|
|
84
91
|
this.inheritedAttributes = {};
|
|
92
|
+
/**
|
|
93
|
+
* If `true`, the fab button will be show a close icon.
|
|
94
|
+
*/
|
|
95
|
+
this.activated = false;
|
|
96
|
+
/**
|
|
97
|
+
* If `true`, the user cannot interact with the fab button.
|
|
98
|
+
*/
|
|
99
|
+
this.disabled = false;
|
|
100
|
+
/**
|
|
101
|
+
* When using a router, it specifies the transition direction when navigating to
|
|
102
|
+
* another page using `href`.
|
|
103
|
+
*/
|
|
104
|
+
this.routerDirection = 'forward';
|
|
105
|
+
/**
|
|
106
|
+
* If `true`, the fab button will show when in a fab-list.
|
|
107
|
+
*/
|
|
108
|
+
this.show = false;
|
|
109
|
+
/**
|
|
110
|
+
* If `true`, the fab button will be translucent.
|
|
111
|
+
* Only applies when the mode is `"ios"` and the device supports
|
|
112
|
+
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
113
|
+
*/
|
|
114
|
+
this.translucent = false;
|
|
115
|
+
/**
|
|
116
|
+
* The type of the button.
|
|
117
|
+
*/
|
|
118
|
+
this.type = 'button';
|
|
119
|
+
/**
|
|
120
|
+
* The icon name to use for the close icon. This will appear when the fab button
|
|
121
|
+
* is pressed. Only applies if it is the main button inside of a fab containing a
|
|
122
|
+
* fab list.
|
|
123
|
+
*/
|
|
124
|
+
this.closeIcon = close;
|
|
85
125
|
this.onFocus = () => {
|
|
86
126
|
this.ionFocus.emit();
|
|
87
127
|
};
|
|
@@ -95,20 +135,6 @@ const FabButton = class {
|
|
|
95
135
|
}
|
|
96
136
|
fab.toggle();
|
|
97
137
|
};
|
|
98
|
-
this.color = undefined;
|
|
99
|
-
this.activated = false;
|
|
100
|
-
this.disabled = false;
|
|
101
|
-
this.download = undefined;
|
|
102
|
-
this.href = undefined;
|
|
103
|
-
this.rel = undefined;
|
|
104
|
-
this.routerDirection = 'forward';
|
|
105
|
-
this.routerAnimation = undefined;
|
|
106
|
-
this.target = undefined;
|
|
107
|
-
this.show = false;
|
|
108
|
-
this.translucent = false;
|
|
109
|
-
this.type = 'button';
|
|
110
|
-
this.size = undefined;
|
|
111
|
-
this.closeIcon = close;
|
|
112
138
|
}
|
|
113
139
|
connectedCallback() {
|
|
114
140
|
this.fab = this.el.closest('ion-fab');
|
|
@@ -155,7 +181,13 @@ const IonFabListStyle0 = fabListCss;
|
|
|
155
181
|
const FabList = class {
|
|
156
182
|
constructor(hostRef) {
|
|
157
183
|
registerInstance(this, hostRef);
|
|
184
|
+
/**
|
|
185
|
+
* If `true`, the fab list will show all fab buttons in the list.
|
|
186
|
+
*/
|
|
158
187
|
this.activated = false;
|
|
188
|
+
/**
|
|
189
|
+
* The side the fab list will show on relative to the main fab button.
|
|
190
|
+
*/
|
|
159
191
|
this.side = 'bottom';
|
|
160
192
|
}
|
|
161
193
|
activatedChanged(activated) {
|
|
@@ -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-fcdfc1aa.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-6b9f2b5a.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;
|
|
@@ -21,10 +21,6 @@ const Img = class {
|
|
|
21
21
|
this.onError = () => {
|
|
22
22
|
this.ionError.emit();
|
|
23
23
|
};
|
|
24
|
-
this.loadSrc = undefined;
|
|
25
|
-
this.loadError = undefined;
|
|
26
|
-
this.alt = undefined;
|
|
27
|
-
this.src = undefined;
|
|
28
24
|
}
|
|
29
25
|
srcChanged() {
|
|
30
26
|
this.addIO();
|
|
@@ -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-fcdfc1aa.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-6b9f2b5a.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';
|
|
@@ -26,6 +26,32 @@ const InfiniteScroll = class {
|
|
|
26
26
|
*/
|
|
27
27
|
this.didFire = false;
|
|
28
28
|
this.isBusy = false;
|
|
29
|
+
this.isLoading = false;
|
|
30
|
+
/**
|
|
31
|
+
* The threshold distance from the bottom
|
|
32
|
+
* of the content to call the `infinite` output event when scrolled.
|
|
33
|
+
* The threshold value can be either a percent, or
|
|
34
|
+
* in pixels. For example, use the value of `10%` for the `infinite`
|
|
35
|
+
* output event to get called when the user has scrolled 10%
|
|
36
|
+
* from the bottom of the page. Use the value `100px` when the
|
|
37
|
+
* scroll is within 100 pixels from the bottom of the page.
|
|
38
|
+
*/
|
|
39
|
+
this.threshold = '15%';
|
|
40
|
+
/**
|
|
41
|
+
* If `true`, the infinite scroll will be hidden and scroll event listeners
|
|
42
|
+
* will be removed.
|
|
43
|
+
*
|
|
44
|
+
* Set this to true to disable the infinite scroll from actively
|
|
45
|
+
* trying to receive new data while scrolling. This is useful
|
|
46
|
+
* when it is known that there is no more data that can be added, and
|
|
47
|
+
* the infinite scroll is no longer needed.
|
|
48
|
+
*/
|
|
49
|
+
this.disabled = false;
|
|
50
|
+
/**
|
|
51
|
+
* The position of the infinite scroll element.
|
|
52
|
+
* The value can be either `top` or `bottom`.
|
|
53
|
+
*/
|
|
54
|
+
this.position = 'bottom';
|
|
29
55
|
this.onScroll = () => {
|
|
30
56
|
const scrollEl = this.scrollEl;
|
|
31
57
|
if (!scrollEl || !this.canStart()) {
|
|
@@ -53,10 +79,6 @@ const InfiniteScroll = class {
|
|
|
53
79
|
}
|
|
54
80
|
return 4;
|
|
55
81
|
};
|
|
56
|
-
this.isLoading = false;
|
|
57
|
-
this.threshold = '15%';
|
|
58
|
-
this.disabled = false;
|
|
59
|
-
this.position = 'bottom';
|
|
60
82
|
}
|
|
61
83
|
thresholdChanged() {
|
|
62
84
|
const val = this.threshold;
|
|
@@ -200,8 +222,6 @@ const InfiniteScrollContent = class {
|
|
|
200
222
|
constructor(hostRef) {
|
|
201
223
|
registerInstance(this, hostRef);
|
|
202
224
|
this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);
|
|
203
|
-
this.loadingSpinner = undefined;
|
|
204
|
-
this.loadingText = undefined;
|
|
205
225
|
}
|
|
206
226
|
componentDidLoad() {
|
|
207
227
|
if (this.loadingSpinner === undefined) {
|
|
@@ -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-fcdfc1aa.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-6b9f2b5a.js';
|
|
9
9
|
|
|
10
10
|
const iosInputPasswordToggleCss = "";
|
|
11
11
|
const IonInputPasswordToggleIosStyle0 = iosInputPasswordToggleCss;
|
|
@@ -16,6 +16,10 @@ const IonInputPasswordToggleMdStyle0 = mdInputPasswordToggleCss;
|
|
|
16
16
|
const InputPasswordToggle = class {
|
|
17
17
|
constructor(hostRef) {
|
|
18
18
|
registerInstance(this, hostRef);
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
this.type = 'password';
|
|
19
23
|
this.togglePasswordVisibility = () => {
|
|
20
24
|
const { inputElRef } = this;
|
|
21
25
|
if (!inputElRef) {
|
|
@@ -23,10 +27,6 @@ const InputPasswordToggle = class {
|
|
|
23
27
|
}
|
|
24
28
|
inputElRef.type = inputElRef.type === 'text' ? 'password' : 'text';
|
|
25
29
|
};
|
|
26
|
-
this.color = undefined;
|
|
27
|
-
this.showIcon = undefined;
|
|
28
|
-
this.hideIcon = undefined;
|
|
29
|
-
this.type = 'password';
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Whenever the input type changes we need to re-run validation to ensure the password
|
|
@@ -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-fcdfc1aa.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-6b9f2b5a.js';
|
|
11
11
|
import './index-a5d50daf.js';
|
|
12
12
|
import './index-9b0d46f4.js';
|
|
13
13
|
|
|
@@ -36,6 +36,71 @@ const Input = class {
|
|
|
36
36
|
* Resets when the input loses focus.
|
|
37
37
|
*/
|
|
38
38
|
this.didInputClearOnEdit = false;
|
|
39
|
+
this.hasFocus = false;
|
|
40
|
+
/**
|
|
41
|
+
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
42
|
+
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
43
|
+
*/
|
|
44
|
+
this.autocapitalize = 'off';
|
|
45
|
+
/**
|
|
46
|
+
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
47
|
+
*/
|
|
48
|
+
this.autocomplete = 'off';
|
|
49
|
+
/**
|
|
50
|
+
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
|
51
|
+
*/
|
|
52
|
+
this.autocorrect = 'off';
|
|
53
|
+
/**
|
|
54
|
+
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.
|
|
55
|
+
*
|
|
56
|
+
* This may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.
|
|
57
|
+
*/
|
|
58
|
+
this.autofocus = false;
|
|
59
|
+
/**
|
|
60
|
+
* If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input.
|
|
61
|
+
*/
|
|
62
|
+
this.clearInput = false;
|
|
63
|
+
/**
|
|
64
|
+
* If `true`, a character counter will display the ratio of characters used and the total character limit. Developers must also set the `maxlength` property for the counter to be calculated correctly.
|
|
65
|
+
*/
|
|
66
|
+
this.counter = false;
|
|
67
|
+
/**
|
|
68
|
+
* If `true`, the user cannot interact with the input.
|
|
69
|
+
*/
|
|
70
|
+
this.disabled = false;
|
|
71
|
+
/**
|
|
72
|
+
* Where to place the label relative to the input.
|
|
73
|
+
* `"start"`: The label will appear to the left of the input in LTR and to the right in RTL.
|
|
74
|
+
* `"end"`: The label will appear to the right of the input in LTR and to the left in RTL.
|
|
75
|
+
* `"floating"`: The label will appear smaller and above the input when the input is focused or it has a value. Otherwise it will appear on top of the input.
|
|
76
|
+
* `"stacked"`: The label will appear smaller and above the input regardless even when the input is blurred or has no value.
|
|
77
|
+
* `"fixed"`: The label has the same behavior as `"start"` except it also has a fixed width. Long text will be truncated with ellipses ("...").
|
|
78
|
+
*/
|
|
79
|
+
this.labelPlacement = 'start';
|
|
80
|
+
/**
|
|
81
|
+
* The name of the control, which is submitted with the form data.
|
|
82
|
+
*/
|
|
83
|
+
this.name = this.inputId;
|
|
84
|
+
/**
|
|
85
|
+
* If `true`, the user cannot modify the value.
|
|
86
|
+
*/
|
|
87
|
+
this.readonly = false;
|
|
88
|
+
/**
|
|
89
|
+
* If `true`, the user must fill in a value before submitting a form.
|
|
90
|
+
*/
|
|
91
|
+
this.required = false;
|
|
92
|
+
/**
|
|
93
|
+
* If `true`, the element will have its spelling and grammar checked.
|
|
94
|
+
*/
|
|
95
|
+
this.spellcheck = false;
|
|
96
|
+
/**
|
|
97
|
+
* The type of control to display. The default type is text.
|
|
98
|
+
*/
|
|
99
|
+
this.type = 'text';
|
|
100
|
+
/**
|
|
101
|
+
* The value of the input.
|
|
102
|
+
*/
|
|
103
|
+
this.value = '';
|
|
39
104
|
this.onInput = (ev) => {
|
|
40
105
|
const input = ev.target;
|
|
41
106
|
if (input) {
|
|
@@ -82,41 +147,6 @@ const Input = class {
|
|
|
82
147
|
this.value = '';
|
|
83
148
|
this.emitInputChange(ev);
|
|
84
149
|
};
|
|
85
|
-
this.hasFocus = false;
|
|
86
|
-
this.color = undefined;
|
|
87
|
-
this.autocapitalize = 'off';
|
|
88
|
-
this.autocomplete = 'off';
|
|
89
|
-
this.autocorrect = 'off';
|
|
90
|
-
this.autofocus = false;
|
|
91
|
-
this.clearInput = false;
|
|
92
|
-
this.clearInputIcon = undefined;
|
|
93
|
-
this.clearOnEdit = undefined;
|
|
94
|
-
this.counter = false;
|
|
95
|
-
this.counterFormatter = undefined;
|
|
96
|
-
this.debounce = undefined;
|
|
97
|
-
this.disabled = false;
|
|
98
|
-
this.enterkeyhint = undefined;
|
|
99
|
-
this.errorText = undefined;
|
|
100
|
-
this.fill = undefined;
|
|
101
|
-
this.inputmode = undefined;
|
|
102
|
-
this.helperText = undefined;
|
|
103
|
-
this.label = undefined;
|
|
104
|
-
this.labelPlacement = 'start';
|
|
105
|
-
this.max = undefined;
|
|
106
|
-
this.maxlength = undefined;
|
|
107
|
-
this.min = undefined;
|
|
108
|
-
this.minlength = undefined;
|
|
109
|
-
this.multiple = undefined;
|
|
110
|
-
this.name = this.inputId;
|
|
111
|
-
this.pattern = undefined;
|
|
112
|
-
this.placeholder = undefined;
|
|
113
|
-
this.readonly = false;
|
|
114
|
-
this.required = false;
|
|
115
|
-
this.shape = undefined;
|
|
116
|
-
this.spellcheck = false;
|
|
117
|
-
this.step = undefined;
|
|
118
|
-
this.type = 'text';
|
|
119
|
-
this.value = '';
|
|
120
150
|
}
|
|
121
151
|
debounceChanged() {
|
|
122
152
|
const { ionInput, debounce, originalIonInput } = this;
|