@ionic/core 8.7.18-dev.11771020096.1ca03a6d → 8.7.18-dev.11772037614.10c71570
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/index.js +13 -14
- package/components/ion-accordion-group.js +3 -4
- package/components/ion-accordion.js +6 -7
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-app.js +26 -22
- package/components/ion-avatar.js +3 -3
- package/components/ion-back-button.js +8 -9
- package/components/ion-backdrop.js +1 -1
- package/components/ion-badge.js +4 -4
- package/components/ion-breadcrumb.js +7 -7
- package/components/ion-breadcrumbs.js +4 -4
- package/components/ion-button.js +1 -1
- package/components/ion-buttons.js +1 -1
- package/components/ion-card-content.js +3 -3
- package/components/ion-card-header.js +4 -4
- package/components/ion-card-subtitle.js +4 -4
- package/components/ion-card-title.js +4 -4
- package/components/ion-card.js +6 -6
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +5 -5
- package/components/ion-col.js +3 -3
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +7 -8
- package/components/ion-datetime.js +26 -24
- package/components/ion-fab-button.js +8 -8
- package/components/ion-fab-list.js +13 -6
- package/components/ion-fab.js +3 -3
- package/components/ion-footer.js +6 -6
- package/components/ion-grid.js +3 -3
- package/components/ion-header.js +1 -1
- package/components/ion-icon.js +1 -1
- package/components/ion-img.js +15 -6
- package/components/ion-infinite-scroll-content.js +5 -6
- package/components/ion-infinite-scroll.js +4 -4
- package/components/ion-input-otp.js +6 -7
- package/components/ion-input-password-toggle.js +8 -9
- package/components/ion-input.js +13 -13
- package/components/ion-item-divider.js +6 -6
- package/components/ion-item-group.js +4 -4
- package/components/ion-item-option.js +7 -7
- package/components/ion-item-options.js +5 -5
- package/components/ion-item-sliding.js +8 -9
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +13 -14
- package/components/ion-menu-button.js +12 -13
- package/components/ion-menu-toggle.js +7 -7
- package/components/ion-menu.js +14 -18
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +3 -3
- package/components/ion-nav.js +9 -14
- package/components/ion-note.js +6 -6
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +12 -13
- package/components/ion-picker.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +6 -7
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +11 -12
- package/components/ion-refresher-content.js +9 -10
- package/components/ion-refresher.js +12 -13
- package/components/ion-reorder-group.js +8 -8
- package/components/ion-reorder.js +6 -6
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-route-redirect.js +2 -2
- package/components/ion-route.js +2 -2
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +10 -11
- package/components/ion-router.js +3 -4
- package/components/ion-row.js +4 -4
- package/components/ion-searchbar.js +25 -15
- package/components/ion-segment-button.js +8 -9
- package/components/ion-segment-content.js +3 -3
- package/components/ion-segment-view.js +5 -5
- package/components/ion-segment.js +9 -9
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +4 -4
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +36 -37
- package/components/ion-skeleton-text.js +6 -7
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +5 -12
- package/components/ion-tab-bar.js +7 -7
- package/components/ion-tab-button.js +7 -8
- package/components/ion-tab.js +5 -14
- package/components/ion-tabs.js +3 -4
- package/components/ion-text.js +6 -6
- package/components/ion-textarea.js +13 -13
- package/components/ion-thumbnail.js +4 -4
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +17 -20
- package/components/ion-toggle.js +15 -16
- package/components/ion-toolbar.js +1 -1
- package/components/{list.js → p-B25GjpND.js} +3 -3
- package/components/{radio-group.js → p-BANeLH_G.js} +9 -9
- package/components/{buttons.js → p-BBFQmhcD.js} +3 -3
- package/components/{index5.js → p-BC-awmYt.js} +6 -6
- package/components/{picker.js → p-BHbOsu99.js} +3 -3
- package/components/{title.js → p-BTlwXR9e.js} +6 -6
- package/components/{alert.js → p-BcazQttQ.js} +12 -13
- package/components/{spinner.js → p-BdGshsIJ.js} +5 -6
- package/components/{input.utils.js → p-BfS7vSpC.js} +3 -3
- package/components/{ios.transition.js → p-BhRFCLuX.js} +2 -2
- package/components/{backdrop.js → p-Bhnhnzjz.js} +3 -3
- package/components/{notch-controller.js → p-BmcqD0EN.js} +2 -2
- package/components/{hardware-back-button.js → p-Boi6hecl.js} +2 -2
- package/components/{radio.js → p-Bt_moUyl.js} +8 -8
- package/components/{ionic-global.js → p-Bxl5etF4.js} +1 -2
- package/components/{picker-column-option.js → p-ByjmWt3s.js} +7 -7
- package/components/{md.transition.js → p-C04oPyjT.js} +2 -2
- package/components/{popover.js → p-C6dkQWq2.js} +13 -14
- package/components/{select-modal.js → p-CFZWrvIQ.js} +19 -19
- package/components/{capacitor.js → p-CIGNaXM1.js} +1 -1
- package/components/{config.js → p-CIJwkzL6.js} +1 -1
- package/components/{animation.js → p-CL12ApCQ.js} +2 -2
- package/components/{action-sheet.js → p-CXJR56Oq.js} +12 -12
- package/components/{label.js → p-Cdm3dKWf.js} +12 -7
- package/components/{index3.js → p-Cl0B-RWe.js} +1 -1
- package/components/{select-popover.js → p-CslsoGzv.js} +15 -15
- package/components/{keyboard-controller.js → p-CtWGkNnJ.js} +2 -2
- package/components/{index7.js → p-Cyd00tgZ.js} +2 -2
- package/components/{picker-column2.js → p-CzAJ3ArC.js} +9 -9
- package/components/{menu-toggle-util.js → p-CzW34QBh.js} +1 -1
- package/components/{refresher.utils.js → p-D0zXRwcr.js} +3 -3
- package/components/{keyboard2.js → p-D13Eaw-8.js} +1 -1
- package/components/{helpers.js → p-D5hF6rwn.js} +1 -1
- package/components/{keyboard.js → p-D6Ynv7Xh.js} +1 -1
- package/components/{button-active.js → p-D8eD2iBA.js} +3 -3
- package/components/{content.js → p-DGOrLIyS.js} +14 -10
- package/components/{button.js → p-DK2Bn1Mc.js} +6 -7
- package/components/{picker-column.js → p-DKRQWlK2.js} +7 -7
- package/components/{index8.js → p-DNDUsygf.js} +2 -2
- package/components/{index2.js → p-DTWZF6wg.js} +4 -5
- package/components/p-DWoUQeZ3.js +3012 -0
- package/components/{header.js → p-DX0w75a9.js} +6 -6
- package/components/{toolbar.js → p-Dt8zaCLQ.js} +6 -6
- package/components/{checkbox.js → p-DyFBFrV7.js} +7 -7
- package/components/{status-tap.js → p-DyHPCMyn.js} +3 -3
- package/components/{ripple-effect.js → p-LgLeKTkH.js} +4 -4
- package/components/{list-header.js → p-NhiRFRn9.js} +6 -6
- package/components/{input-shims.js → p-OuiHmXO5.js} +4 -4
- package/components/{icon.js → p-Wro9IPHE.js} +6 -6
- package/components/{item.js → p-aIWC4ZEV.js} +8 -8
- package/components/{overlays.js → p-c-XJ9XhZ.js} +7 -7
- package/components/{haptic.js → p-cyNmxje6.js} +1 -1
- package/components/{swipe-back.js → p-fVuFT3Wd.js} +3 -3
- package/components/{modal.js → p-iyo0Toaz.js} +22 -23
- package/components/{framework-delegate.js → p-l_lso3Zl.js} +1 -1
- package/components/{data.js → p-mQp4lwQD.js} +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +27 -18
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +11 -8
- package/dist/cjs/ion-fab_3.cjs.entry.js +10 -3
- package/dist/cjs/ion-img.cjs.entry.js +11 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +17 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +17 -6
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/collection/components/app/app.js +15 -10
- package/dist/collection/components/content/content.js +7 -3
- package/dist/collection/components/datetime/datetime.ios.css +2 -4
- package/dist/collection/components/datetime/datetime.js +6 -3
- package/dist/collection/components/fab-list/fab-list.js +10 -3
- package/dist/collection/components/img/img.js +11 -2
- 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.js +8 -3
- 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/modal.js +4 -4
- 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-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 +2 -2
- 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.ios.css +0 -4
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group/radio-group.md.css +0 -4
- package/dist/collection/components/range/range.js +3 -3
- 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 +17 -6
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- 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/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 +2 -2
- 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 +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +1 -1
- package/dist/esm/ion-app_8.entry.js +29 -20
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +11 -8
- package/dist/esm/ion-fab_3.entry.js +10 -3
- package/dist/esm/ion-img.entry.js +11 -2
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +17 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +6 -6
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +17 -6
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0ca0fe9c.entry.js +4 -0
- package/dist/ionic/{p-316c0420.entry.js → p-221a3d8c.entry.js} +1 -1
- package/dist/ionic/{p-3a6caca9.entry.js → p-2668188b.entry.js} +1 -1
- package/dist/ionic/{p-4e41ea20.entry.js → p-2ac254dc.entry.js} +1 -1
- package/dist/ionic/{p-d3014190.entry.js → p-2bd1ea35.entry.js} +1 -1
- package/dist/ionic/{p-a127bee2.entry.js → p-30333874.entry.js} +1 -1
- package/dist/ionic/{p-0e8c8a10.entry.js → p-31db96da.entry.js} +1 -1
- package/dist/ionic/{p-1647c46c.entry.js → p-363d1209.entry.js} +1 -1
- package/dist/ionic/{p-db82892c.entry.js → p-46a38cfd.entry.js} +1 -1
- package/dist/ionic/{p-eb024a5b.entry.js → p-4eec1a5e.entry.js} +1 -1
- package/dist/ionic/{p-0dfa5a37.entry.js → p-530fcd71.entry.js} +1 -1
- package/dist/ionic/{p-72c38b88.entry.js → p-5c8f7253.entry.js} +1 -1
- package/dist/ionic/{p-172a579f.entry.js → p-5d6fb6e3.entry.js} +1 -1
- package/dist/ionic/{p-dbbe606a.entry.js → p-652318c3.entry.js} +1 -1
- package/dist/ionic/{p-2a939845.entry.js → p-6f37536a.entry.js} +1 -1
- package/dist/ionic/p-7cad388a.entry.js +4 -0
- package/dist/ionic/p-7f98e710.entry.js +4 -0
- package/dist/ionic/{p-6d070558.entry.js → p-82d5bb3d.entry.js} +1 -1
- package/dist/ionic/p-906bb44d.entry.js +4 -0
- package/dist/ionic/{p-cc3446d5.entry.js → p-915b3e3d.entry.js} +1 -1
- package/dist/ionic/{p-2dbb90cb.entry.js → p-97eb0812.entry.js} +1 -1
- package/dist/ionic/p-9b6d46f2.entry.js +4 -0
- package/dist/ionic/{p-31f7095f.entry.js → p-a4a9f5ae.entry.js} +1 -1
- package/dist/ionic/{p-6241ce47.entry.js → p-b0ebf9f8.entry.js} +1 -1
- package/dist/ionic/{p-86f53961.entry.js → p-b8551510.entry.js} +1 -1
- package/dist/ionic/{p-d126e8d3.entry.js → p-bce86e56.entry.js} +1 -1
- package/dist/ionic/{p-02d76786.entry.js → p-be263062.entry.js} +1 -1
- package/dist/ionic/{p-639dd543.entry.js → p-c175d792.entry.js} +1 -1
- package/dist/ionic/{p-020af078.entry.js → p-cc2a9936.entry.js} +1 -1
- package/dist/ionic/p-e4c57008.entry.js +4 -0
- package/dist/ionic/{p-3e69999d.entry.js → p-e5d6d0f0.entry.js} +1 -1
- package/dist/ionic/p-f1dfee25.entry.js +4 -0
- package/dist/ionic/{p-6444c606.entry.js → p-f9f7b9db.entry.js} +1 -1
- package/dist/ionic/{p-f8f22cc0.entry.js → p-fb0271ae.entry.js} +1 -1
- package/dist/ionic/{p-370e4237.entry.js → p-fbb00634.entry.js} +1 -1
- package/dist/types/components/app/app.d.ts +3 -0
- package/dist/types/components/datetime/datetime.d.ts +1 -0
- package/dist/types/components/fab-list/fab-list.d.ts +2 -0
- package/dist/types/components/img/img.d.ts +2 -0
- package/dist/types/components/label/label.d.ts +2 -0
- package/dist/types/components/searchbar/searchbar.d.ts +3 -0
- package/hydrate/index.js +164 -112
- package/hydrate/index.mjs +164 -112
- package/package.json +1 -1
- package/components/index4.js +0 -121
- package/dist/ionic/p-074839fc.entry.js +0 -4
- package/dist/ionic/p-1ccd6829.entry.js +0 -4
- package/dist/ionic/p-46d74291.entry.js +0 -4
- package/dist/ionic/p-51a60e0f.entry.js +0 -4
- package/dist/ionic/p-94de5cfa.entry.js +0 -4
- package/dist/ionic/p-c19af093.entry.js +0 -4
- package/dist/ionic/p-dd1aef77.entry.js +0 -4
- /package/components/{lock-controller.js → p-B-hirT0v.js} +0 -0
- /package/components/{gesture-controller.js → p-BTEOs1at.js} +0 -0
- /package/components/{focus-visible.js → p-BmVRXR1y.js} +0 -0
- /package/components/{dir.js → p-C53feagD.js} +0 -0
- /package/components/{index6.js → p-CO7fmmxt.js} +0 -0
- /package/components/{validity.js → p-DJztqcrH.js} +0 -0
- /package/components/{theme.js → p-DiVJyqlX.js} +0 -0
- /package/components/{watch-options.js → p-Dtdm8lKC.js} +0 -0
- /package/components/{index9.js → p-ZjP4CjeZ.js} +0 -0
- /package/components/{cubic-bezier.js → p-hHmYLOfE.js} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -8785,6 +8785,11 @@ class App {
|
|
|
8785
8785
|
}
|
|
8786
8786
|
componentDidLoad() {
|
|
8787
8787
|
}
|
|
8788
|
+
disconnectedCallback() {
|
|
8789
|
+
if (this.loadTimeout) {
|
|
8790
|
+
clearTimeout(this.loadTimeout);
|
|
8791
|
+
}
|
|
8792
|
+
}
|
|
8788
8793
|
/**
|
|
8789
8794
|
* Used to set focus on an element that uses `ion-focusable`.
|
|
8790
8795
|
* Do not use this if focusing the element as a result of a keyboard
|
|
@@ -8801,9 +8806,17 @@ class App {
|
|
|
8801
8806
|
this.focusVisible.setFocus(elements);
|
|
8802
8807
|
}
|
|
8803
8808
|
}
|
|
8809
|
+
rIC(callback) {
|
|
8810
|
+
if ('requestIdleCallback' in window) {
|
|
8811
|
+
window.requestIdleCallback(callback);
|
|
8812
|
+
}
|
|
8813
|
+
else {
|
|
8814
|
+
this.loadTimeout = setTimeout(callback, 32);
|
|
8815
|
+
}
|
|
8816
|
+
}
|
|
8804
8817
|
render() {
|
|
8805
8818
|
const mode = getIonMode$1(this);
|
|
8806
|
-
return (hAsync(Host, { key: '
|
|
8819
|
+
return (hAsync(Host, { key: '77a7459d3e42b3715a5a7e1cf468e2ebc99e54bb', class: {
|
|
8807
8820
|
[mode]: true,
|
|
8808
8821
|
'ion-page': true,
|
|
8809
8822
|
'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
|
|
@@ -10627,6 +10640,10 @@ class Content {
|
|
|
10627
10640
|
this.tabsElement = null;
|
|
10628
10641
|
this.tabsLoadCallback = undefined;
|
|
10629
10642
|
}
|
|
10643
|
+
if (this.resizeTimeout) {
|
|
10644
|
+
clearTimeout(this.resizeTimeout);
|
|
10645
|
+
this.resizeTimeout = null;
|
|
10646
|
+
}
|
|
10630
10647
|
}
|
|
10631
10648
|
/**
|
|
10632
10649
|
* Rotating certain devices can update
|
|
@@ -10847,7 +10864,7 @@ class Content {
|
|
|
10847
10864
|
const forceOverscroll = this.shouldForceOverscroll();
|
|
10848
10865
|
const transitionShadow = mode === 'ios';
|
|
10849
10866
|
this.resize();
|
|
10850
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
10867
|
+
return (hAsync(Host, Object.assign({ key: '287f5bb78888b0f66394a35ba2a3ad636d8f3412', role: isMainContent ? 'main' : undefined, class: createColorClasses$1(this.color, {
|
|
10851
10868
|
[mode]: true,
|
|
10852
10869
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
10853
10870
|
overscroll: forceOverscroll,
|
|
@@ -10855,12 +10872,12 @@ class Content {
|
|
|
10855
10872
|
}), style: {
|
|
10856
10873
|
'--offset-top': `${this.cTop}px`,
|
|
10857
10874
|
'--offset-bottom': `${this.cBottom}px`,
|
|
10858
|
-
} }, inheritedAttributes), hAsync("div", { key: '
|
|
10875
|
+
} }, inheritedAttributes), hAsync("div", { key: '2e70e5e0ab4209478ea711a630058fa0e83af7f8', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? hAsync("slot", { name: "fixed" }) : null, hAsync("div", { key: '018a83406173ec7f7725f09b4bd1c0d964874ee4', class: {
|
|
10859
10876
|
'inner-scroll': true,
|
|
10860
10877
|
'scroll-x': scrollX,
|
|
10861
10878
|
'scroll-y': scrollY,
|
|
10862
10879
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
10863
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, hAsync("slot", { key: '
|
|
10880
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, hAsync("slot", { key: '6f028eeb7c9dc7e1b82a8e549e1dd8aaf1d15fca' })), transitionShadow ? (hAsync("div", { class: "transition-effect" }, hAsync("div", { class: "transition-cover" }), hAsync("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? hAsync("slot", { name: "fixed" }) : null));
|
|
10864
10881
|
}
|
|
10865
10882
|
get el() { return getElement(this); }
|
|
10866
10883
|
static get style() { return contentCss; }
|
|
@@ -12857,7 +12874,7 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
12857
12874
|
}
|
|
12858
12875
|
};
|
|
12859
12876
|
|
|
12860
|
-
const datetimeIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
|
|
12877
|
+
const datetimeIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{-ms-flex-align:stretch;align-items:stretch;height:100%}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
|
|
12861
12878
|
|
|
12862
12879
|
const datetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active,.calendar-day.calendar-day-active:focus{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}";
|
|
12863
12880
|
|
|
@@ -13735,6 +13752,9 @@ class Datetime {
|
|
|
13735
13752
|
this.clearFocusVisible();
|
|
13736
13753
|
this.clearFocusVisible = undefined;
|
|
13737
13754
|
}
|
|
13755
|
+
if (this.loadTimeout) {
|
|
13756
|
+
clearTimeout(this.loadTimeout);
|
|
13757
|
+
}
|
|
13738
13758
|
}
|
|
13739
13759
|
initializeListeners() {
|
|
13740
13760
|
this.initializeCalendarListener();
|
|
@@ -13783,7 +13803,7 @@ class Datetime {
|
|
|
13783
13803
|
*
|
|
13784
13804
|
* We schedule this after everything has had a chance to run.
|
|
13785
13805
|
*/
|
|
13786
|
-
setTimeout(() => {
|
|
13806
|
+
this.loadTimeout = setTimeout(() => {
|
|
13787
13807
|
this.ensureReadyIfVisible();
|
|
13788
13808
|
}, 100);
|
|
13789
13809
|
/**
|
|
@@ -14541,7 +14561,7 @@ class Datetime {
|
|
|
14541
14561
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
14542
14562
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
14543
14563
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
14544
|
-
return (hAsync(Host, { key: '
|
|
14564
|
+
return (hAsync(Host, { key: 'b81c3531f4654be3f6948df5f790c0f6ab488000', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
14545
14565
|
[mode]: true,
|
|
14546
14566
|
['datetime-readonly']: readonly,
|
|
14547
14567
|
['datetime-disabled']: disabled,
|
|
@@ -14551,7 +14571,7 @@ class Datetime {
|
|
|
14551
14571
|
[`datetime-size-${size}`]: true,
|
|
14552
14572
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
14553
14573
|
[`datetime-grid`]: isGridStyle,
|
|
14554
|
-
})) }, hAsync("div", { key: '
|
|
14574
|
+
})) }, hAsync("div", { key: 'f7f39f8e56146186210d0ab70ae95e829573e549', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
14555
14575
|
}
|
|
14556
14576
|
get el() { return getElement(this); }
|
|
14557
14577
|
static get watchers() { return {
|
|
@@ -15206,6 +15226,7 @@ const fabListCss = ":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10
|
|
|
15206
15226
|
class FabList {
|
|
15207
15227
|
constructor(hostRef) {
|
|
15208
15228
|
registerInstance(this, hostRef);
|
|
15229
|
+
this.activateTimeouts = [];
|
|
15209
15230
|
/**
|
|
15210
15231
|
* If `true`, the fab list will show all fab buttons in the list.
|
|
15211
15232
|
*/
|
|
@@ -15216,20 +15237,26 @@ class FabList {
|
|
|
15216
15237
|
this.side = 'bottom';
|
|
15217
15238
|
}
|
|
15218
15239
|
activatedChanged(activated) {
|
|
15240
|
+
this.activateTimeouts.forEach(clearTimeout);
|
|
15241
|
+
this.activateTimeouts = [];
|
|
15219
15242
|
const fabs = Array.from(this.el.querySelectorAll('ion-fab-button'));
|
|
15220
15243
|
// if showing the fabs add a timeout, else show immediately
|
|
15221
15244
|
const timeout = activated ? 30 : 0;
|
|
15222
15245
|
fabs.forEach((fab, i) => {
|
|
15223
|
-
setTimeout(() => (fab.show = activated), i * timeout);
|
|
15246
|
+
this.activateTimeouts.push(setTimeout(() => (fab.show = activated), i * timeout));
|
|
15224
15247
|
});
|
|
15225
15248
|
}
|
|
15249
|
+
disconnectedCallback() {
|
|
15250
|
+
this.activateTimeouts.forEach(clearTimeout);
|
|
15251
|
+
this.activateTimeouts = [];
|
|
15252
|
+
}
|
|
15226
15253
|
render() {
|
|
15227
15254
|
const mode = getIonMode$1(this);
|
|
15228
|
-
return (hAsync(Host, { key: '
|
|
15255
|
+
return (hAsync(Host, { key: '03a8920c29a93c6df4bab14753a78a8a30722ce8', class: {
|
|
15229
15256
|
[mode]: true,
|
|
15230
15257
|
'fab-list-active': this.activated,
|
|
15231
15258
|
[`fab-list-side-${this.side}`]: true,
|
|
15232
|
-
} }, hAsync("slot", { key: '
|
|
15259
|
+
} }, hAsync("slot", { key: 'd9e1541cb044e209bc2dff14080f3b938a2b84ae' })));
|
|
15233
15260
|
}
|
|
15234
15261
|
get el() { return getElement(this); }
|
|
15235
15262
|
static get watchers() { return {
|
|
@@ -16435,7 +16462,16 @@ class Img {
|
|
|
16435
16462
|
componentDidLoad() {
|
|
16436
16463
|
this.addIO();
|
|
16437
16464
|
}
|
|
16465
|
+
disconnectedCallback() {
|
|
16466
|
+
if (this.loadTimeout) {
|
|
16467
|
+
clearTimeout(this.loadTimeout);
|
|
16468
|
+
}
|
|
16469
|
+
}
|
|
16438
16470
|
addIO() {
|
|
16471
|
+
if (this.loadTimeout) {
|
|
16472
|
+
clearTimeout(this.loadTimeout);
|
|
16473
|
+
this.loadTimeout = undefined;
|
|
16474
|
+
}
|
|
16439
16475
|
if (this.src === undefined) {
|
|
16440
16476
|
return;
|
|
16441
16477
|
}
|
|
@@ -16459,7 +16495,7 @@ class Img {
|
|
|
16459
16495
|
}
|
|
16460
16496
|
else {
|
|
16461
16497
|
// fall back to setTimeout for Safari and IE
|
|
16462
|
-
setTimeout(() => this.load(), 200);
|
|
16498
|
+
this.loadTimeout = setTimeout(() => this.load(), 200);
|
|
16463
16499
|
}
|
|
16464
16500
|
}
|
|
16465
16501
|
load() {
|
|
@@ -16476,7 +16512,7 @@ class Img {
|
|
|
16476
16512
|
render() {
|
|
16477
16513
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
16478
16514
|
const { draggable } = inheritedAttributes;
|
|
16479
|
-
return (hAsync(Host, { key: '
|
|
16515
|
+
return (hAsync(Host, { key: '9bfaa659b0680189fd29f3acb2fdce7f70be6060', class: getIonMode$1(this) }, hAsync("img", { key: 'd484beae0d5cbe0406958bfad40cdd6c05625340', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
16480
16516
|
}
|
|
16481
16517
|
get el() { return getElement(this); }
|
|
16482
16518
|
static get watchers() { return {
|
|
@@ -18571,11 +18607,11 @@ class ItemDivider {
|
|
|
18571
18607
|
}
|
|
18572
18608
|
render() {
|
|
18573
18609
|
const mode = getIonMode$1(this);
|
|
18574
|
-
return (hAsync(Host, { key: '
|
|
18610
|
+
return (hAsync(Host, { key: 'ee8b2c8d5e415c0d8badf84fa7670932da4e809e', class: createColorClasses$1(this.color, {
|
|
18575
18611
|
[mode]: true,
|
|
18576
18612
|
'item-divider-sticky': this.sticky,
|
|
18577
18613
|
item: true,
|
|
18578
|
-
}) }, hAsync("slot", { key: '
|
|
18614
|
+
}) }, hAsync("slot", { key: 'a1b7bbb1a008b0a56887f130d166931033801746', name: "start" }), hAsync("div", { key: '9d572da46ab616bdf881098e96aa6796a249507f', class: "item-divider-inner" }, hAsync("div", { key: 'a57a2c17093b74b9e4f8fd2778230a440b293aa1', class: "item-divider-wrapper" }, hAsync("slot", { key: 'ef15ebf58f3acd4b4d1b7c51144e26c3759dba49' })), hAsync("slot", { key: '1787c2400534301fe72b8ec213d0ce1e8f75b65a', name: "end" }))));
|
|
18579
18615
|
}
|
|
18580
18616
|
get el() { return getElement(this); }
|
|
18581
18617
|
static get style() { return {
|
|
@@ -18605,7 +18641,7 @@ class ItemGroup {
|
|
|
18605
18641
|
}
|
|
18606
18642
|
render() {
|
|
18607
18643
|
const mode = getIonMode$1(this);
|
|
18608
|
-
return (hAsync(Host, { key: '
|
|
18644
|
+
return (hAsync(Host, { key: 'f1743af1d075682f63fae3802c5c5bf050507563', role: "group", class: {
|
|
18609
18645
|
[mode]: true,
|
|
18610
18646
|
// Used internally for styling
|
|
18611
18647
|
[`item-group-${mode}`]: true,
|
|
@@ -18675,12 +18711,12 @@ class ItemOption {
|
|
|
18675
18711
|
href: this.href,
|
|
18676
18712
|
target: this.target,
|
|
18677
18713
|
};
|
|
18678
|
-
return (hAsync(Host, { key: '
|
|
18714
|
+
return (hAsync(Host, { key: '058310ac361612c16f2ef70c74279ba7c24128c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18679
18715
|
[mode]: true,
|
|
18680
18716
|
'item-option-disabled': disabled,
|
|
18681
18717
|
'item-option-expandable': expandable,
|
|
18682
18718
|
'ion-activatable': true,
|
|
18683
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18719
|
+
}) }, hAsync(TagType, Object.assign({ key: '045052656ab652bec065d421950fe9ea00dc1141' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '988b9166c0dda3c822a99ceace4c105339b2465b', class: "button-inner" }, hAsync("slot", { key: '8050b870ada6b09283f8acbcbb6d2bd1c76508b3', name: "top" }), hAsync("div", { key: 'a206e7b09e660c878ce3c5b61d018e8cdd89dc55', class: "horizontal-wrapper" }, hAsync("slot", { key: '394e5e4ce14cd19b5d5eafca29bb9f971f5f0741', name: "start" }), hAsync("slot", { key: 'dd4c3a1bee7622df40a3d8f2a298045b772f1600', name: "icon-only" }), hAsync("slot", { key: '318f3ec97b722c5e7df1a78b1e0439f919d0aacc' }), hAsync("slot", { key: 'fff6a9a602cf7bd698528982f91742a2d36ea245', name: "end" })), hAsync("slot", { key: '26b4bb155701d8080b486dbad7bb9a6d2e35182c', name: "bottom" })), mode === 'md' && hAsync("ion-ripple-effect", { key: '152b74643bf0f5725c39bfdbb940f0f32ec83d58' }))));
|
|
18684
18720
|
}
|
|
18685
18721
|
get el() { return getElement(this); }
|
|
18686
18722
|
static get style() { return {
|
|
@@ -18729,7 +18765,7 @@ class ItemOptions {
|
|
|
18729
18765
|
render() {
|
|
18730
18766
|
const mode = getIonMode$1(this);
|
|
18731
18767
|
const isEnd = isEndSide(this.side);
|
|
18732
|
-
return (hAsync(Host, { key: '
|
|
18768
|
+
return (hAsync(Host, { key: '7b4b93984182222c64c7a2a22a18e52ac19e3049', class: {
|
|
18733
18769
|
[mode]: true,
|
|
18734
18770
|
// Used internally for styling
|
|
18735
18771
|
[`item-options-${mode}`]: true,
|
|
@@ -19194,7 +19230,7 @@ class ItemSliding {
|
|
|
19194
19230
|
}
|
|
19195
19231
|
render() {
|
|
19196
19232
|
const mode = getIonMode$1(this);
|
|
19197
|
-
return (hAsync(Host, { key: '
|
|
19233
|
+
return (hAsync(Host, { key: '8fd81d74701402294a48b79c56d6eceadafd4881', class: {
|
|
19198
19234
|
[mode]: true,
|
|
19199
19235
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19200
19236
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19266,11 +19302,16 @@ class Label {
|
|
|
19266
19302
|
}
|
|
19267
19303
|
componentDidLoad() {
|
|
19268
19304
|
if (this.noAnimate) {
|
|
19269
|
-
setTimeout(() => {
|
|
19305
|
+
this.loadTimeout = setTimeout(() => {
|
|
19270
19306
|
this.noAnimate = false;
|
|
19271
19307
|
}, 1000);
|
|
19272
19308
|
}
|
|
19273
19309
|
}
|
|
19310
|
+
disconnectedCallback() {
|
|
19311
|
+
if (this.loadTimeout) {
|
|
19312
|
+
clearTimeout(this.loadTimeout);
|
|
19313
|
+
}
|
|
19314
|
+
}
|
|
19274
19315
|
colorChanged() {
|
|
19275
19316
|
this.emitColor();
|
|
19276
19317
|
}
|
|
@@ -19299,13 +19340,13 @@ class Label {
|
|
|
19299
19340
|
render() {
|
|
19300
19341
|
const position = this.position;
|
|
19301
19342
|
const mode = getIonMode$1(this);
|
|
19302
|
-
return (hAsync(Host, { key: '
|
|
19343
|
+
return (hAsync(Host, { key: 'd603670c442213c28737b0c052c094705b8c84ef', class: createColorClasses$1(this.color, {
|
|
19303
19344
|
[mode]: true,
|
|
19304
19345
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19305
19346
|
[`label-${position}`]: position !== undefined,
|
|
19306
19347
|
[`label-no-animate`]: this.noAnimate,
|
|
19307
19348
|
'label-rtl': document.dir === 'rtl',
|
|
19308
|
-
}) }, hAsync("slot", { key: '
|
|
19349
|
+
}) }, hAsync("slot", { key: 'a8c3aed240a20ee5856c423662878481a1e6d4cf' })));
|
|
19309
19350
|
}
|
|
19310
19351
|
get el() { return getElement(this); }
|
|
19311
19352
|
static get watchers() { return {
|
|
@@ -19403,10 +19444,10 @@ class ListHeader {
|
|
|
19403
19444
|
render() {
|
|
19404
19445
|
const { lines } = this;
|
|
19405
19446
|
const mode = getIonMode$1(this);
|
|
19406
|
-
return (hAsync(Host, { key: '
|
|
19447
|
+
return (hAsync(Host, { key: '2e529021279761b2b2889885437f619b0e8f71c4', class: createColorClasses$1(this.color, {
|
|
19407
19448
|
[mode]: true,
|
|
19408
19449
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19409
|
-
}) }, hAsync("div", { key: '
|
|
19450
|
+
}) }, hAsync("div", { key: '9a6a11b0db015df79374f6489a40b959bc80b3e4', class: "list-header-inner" }, hAsync("slot", { key: 'ef347fc6afb47850797e2e4d1aeefcd6a318f789' }))));
|
|
19410
19451
|
}
|
|
19411
19452
|
static get style() { return {
|
|
19412
19453
|
ios: listHeaderIosCss,
|
|
@@ -19691,9 +19732,9 @@ class Loading {
|
|
|
19691
19732
|
* Otherwise, don't set aria-labelledby.
|
|
19692
19733
|
*/
|
|
19693
19734
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19694
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19735
|
+
return (hAsync(Host, Object.assign({ key: 'f86ddbc600cb5c396b7de38fb5f49625388c3c3f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19695
19736
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19696
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19737
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'b53727aaddc37ef3c685fcc150c6d5193290a847', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '4c61bede8e0a4e47daa6f1f9d0f364ef6aec0bc3', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '84e51ceb07118f1eaeb757df28801c255496931b', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: 'fc97f1912e0fc558b7c309a5bc084415f5f620b2', class: "loading-spinner" }, hAsync("ion-spinner", { key: '6e186d856cd3f10f22c3e317ef00f31b4216459c', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: 'dcbe9d9a619daa1c08174e73827bdabeb59dde92', tabindex: "0", "aria-hidden": "true" })));
|
|
19697
19738
|
}
|
|
19698
19739
|
get el() { return getElement(this); }
|
|
19699
19740
|
static get watchers() { return {
|
|
@@ -20742,14 +20783,14 @@ class Menu {
|
|
|
20742
20783
|
* the ionBackButton listener in the menu controller
|
|
20743
20784
|
* will handle closing the menu when Escape is pressed.
|
|
20744
20785
|
*/
|
|
20745
|
-
return (hAsync(Host, { key: '
|
|
20786
|
+
return (hAsync(Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20746
20787
|
[mode]: true,
|
|
20747
20788
|
[`menu-type-${type}`]: true,
|
|
20748
20789
|
'menu-enabled': !disabled,
|
|
20749
20790
|
[`menu-side-${side}`]: true,
|
|
20750
20791
|
'menu-pane-visible': isPaneVisible,
|
|
20751
20792
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20752
|
-
} }, hAsync("div", { key: '
|
|
20793
|
+
} }, hAsync("div", { key: '22e44f7bd602ee0c96550f0dfc22ac81c0033ad6', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '7bbef92fe03bb3ce4d3981eb8535aab449aab2fc' })), hAsync("ion-backdrop", { key: '9ab8d5b61563e16b212c71c03869d4fc23a0400b', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
20753
20794
|
}
|
|
20754
20795
|
get el() { return getElement(this); }
|
|
20755
20796
|
static get watchers() { return {
|
|
@@ -20857,7 +20898,7 @@ class MenuButton {
|
|
|
20857
20898
|
type: this.type,
|
|
20858
20899
|
};
|
|
20859
20900
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20860
|
-
return (hAsync(Host, { key: '
|
|
20901
|
+
return (hAsync(Host, { key: 'dcade732e366f0687d92cb9ce4065b78b0b41d24', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20861
20902
|
[mode]: true,
|
|
20862
20903
|
button: true, // ion-buttons target .button
|
|
20863
20904
|
'menu-button-hidden': hidden,
|
|
@@ -20866,7 +20907,7 @@ class MenuButton {
|
|
|
20866
20907
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20867
20908
|
'ion-activatable': true,
|
|
20868
20909
|
'ion-focusable': true,
|
|
20869
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20910
|
+
}) }, hAsync("button", Object.assign({ key: '7c4a449e239679376f38471d95fd602f9caec5f6' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: '8bb5bf453280a66109198c970b678ad800c7a8cf', class: "button-inner" }, hAsync("slot", { key: '7f78b1e7a0695f2bd600d13ca81f50dd8b965726' }, hAsync("ion-icon", { key: '9f67f5bb06b1f03a6e5df9ecbe23ebf69fb40756', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && hAsync("ion-ripple-effect", { key: '10be7145c614144e94c3cc0b92dc5ee4e1587fe6', type: "unbounded" }))));
|
|
20870
20911
|
}
|
|
20871
20912
|
get el() { return getElement(this); }
|
|
20872
20913
|
static get style() { return {
|
|
@@ -20919,10 +20960,10 @@ class MenuToggle {
|
|
|
20919
20960
|
render() {
|
|
20920
20961
|
const mode = getIonMode$1(this);
|
|
20921
20962
|
const hidden = this.autoHide && !this.visible;
|
|
20922
|
-
return (hAsync(Host, { key: '
|
|
20963
|
+
return (hAsync(Host, { key: '55135952f3a42cb5d21916dfb7b169d894b381e3', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20923
20964
|
[mode]: true,
|
|
20924
20965
|
'menu-toggle-hidden': hidden,
|
|
20925
|
-
} }, hAsync("slot", { key: '
|
|
20966
|
+
} }, hAsync("slot", { key: 'e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03' })));
|
|
20926
20967
|
}
|
|
20927
20968
|
static get style() { return menuToggleCss; }
|
|
20928
20969
|
static get cmpMeta() { return {
|
|
@@ -24072,20 +24113,20 @@ class Modal {
|
|
|
24072
24113
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
24073
24114
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
24074
24115
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
24075
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
24116
|
+
return (hAsync(Host, Object.assign({ key: '952cbd52d1fc737332a23d523b02d5fa60abf30a', "no-router": true,
|
|
24076
24117
|
// Allow the modal to be navigable when the handle is focusable
|
|
24077
24118
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
24078
24119
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
24079
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), hAsync("ion-backdrop", { key: '
|
|
24120
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), hAsync("ion-backdrop", { key: '66e3658cfcc2961d99ecc1174f26b1794ceb65e9', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: '3d1b9b26daf87374e2029d0e0a7fc09b9257fd77', class: "modal-shadow" }), hAsync("div", Object.assign({ key: 'e652c2b3eb66afa8367d94c3b14ba0e825877a82',
|
|
24080
24121
|
/*
|
|
24081
24122
|
role and aria-modal must be used on the
|
|
24082
24123
|
same element. They must also be set inside the
|
|
24083
24124
|
shadow DOM otherwise ion-button will not be highlighted
|
|
24084
24125
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
24085
24126
|
*/
|
|
24086
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
24127
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '41662183450e8ef2f7d96dac2bea5952bad8b7a5', class: "modal-handle",
|
|
24087
24128
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
24088
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: '
|
|
24129
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: '4aac4e2928929b9e5e59b33c83395182105da529', onSlotchange: this.onSlotChange }))));
|
|
24089
24130
|
}
|
|
24090
24131
|
get el() { return getElement(this); }
|
|
24091
24132
|
static get watchers() { return {
|
|
@@ -25033,7 +25074,7 @@ class Nav {
|
|
|
25033
25074
|
}
|
|
25034
25075
|
}
|
|
25035
25076
|
render() {
|
|
25036
|
-
return hAsync("slot", { key: '
|
|
25077
|
+
return hAsync("slot", { key: 'a549286b51b1bb23c9ef51f71148452228d0ab14' });
|
|
25037
25078
|
}
|
|
25038
25079
|
get el() { return getElement(this); }
|
|
25039
25080
|
static get watchers() { return {
|
|
@@ -25106,7 +25147,7 @@ class NavLink {
|
|
|
25106
25147
|
};
|
|
25107
25148
|
}
|
|
25108
25149
|
render() {
|
|
25109
|
-
return hAsync(Host, { key: '
|
|
25150
|
+
return hAsync(Host, { key: 'd4d80feb51c0d92b0bedf6952c892f9df3002046', onClick: this.onClick });
|
|
25110
25151
|
}
|
|
25111
25152
|
get el() { return getElement(this); }
|
|
25112
25153
|
static get cmpMeta() { return {
|
|
@@ -25137,9 +25178,9 @@ class Note {
|
|
|
25137
25178
|
}
|
|
25138
25179
|
render() {
|
|
25139
25180
|
const mode = getIonMode$1(this);
|
|
25140
|
-
return (hAsync(Host, { key: '
|
|
25181
|
+
return (hAsync(Host, { key: 'b86a6acc9274df6528d224d4c11ab826a0f84dbc', class: createColorClasses$1(this.color, {
|
|
25141
25182
|
[mode]: true,
|
|
25142
|
-
}) }, hAsync("slot", { key: '
|
|
25183
|
+
}) }, hAsync("slot", { key: '5de76567ed7713827cd277a42db102faf34190c8' })));
|
|
25143
25184
|
}
|
|
25144
25185
|
static get style() { return {
|
|
25145
25186
|
ios: noteIosCss,
|
|
@@ -25899,11 +25940,11 @@ class Picker {
|
|
|
25899
25940
|
render() {
|
|
25900
25941
|
const { htmlAttributes } = this;
|
|
25901
25942
|
const mode = getIonMode$1(this);
|
|
25902
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25943
|
+
return (hAsync(Host, Object.assign({ key: '80f66d33780d8a1352d24be9cb63a0cc03d01ab5', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25903
25944
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25904
25945
|
}, class: Object.assign({ [mode]: true,
|
|
25905
25946
|
// Used internally for styling
|
|
25906
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25947
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '97fb8e10ba08b197610cb8c0cdea61103883d55f', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'b3969cb6fbf7153623d14e3ca1493d3370efb211', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '299268483c3727e698d9135bfdf40349a7050ac1', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '95394de3ef691899b7dbf416f56fd3e86bbdce3f', class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { key: '05f18bb8d00dc0e22f691b7e41f90f729a6c66d7', class: "picker-columns" }, hAsync("div", { key: '4a8fdf224effc0af67fd413e2e6aca8a78d1cf43', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'e50a31db45e3f39e9d0fed36a21be9257eec09bf', class: "picker-below-highlight" }))), hAsync("div", { key: '5a78cb2176ac807ea0c195c6b76cd0e8eef9d4c0', tabindex: "0", "aria-hidden": "true" })));
|
|
25907
25948
|
}
|
|
25908
25949
|
get el() { return getElement(this); }
|
|
25909
25950
|
static get watchers() { return {
|
|
@@ -26872,9 +26913,9 @@ class PickerColumnCmp {
|
|
|
26872
26913
|
render() {
|
|
26873
26914
|
const col = this.col;
|
|
26874
26915
|
const mode = getIonMode$1(this);
|
|
26875
|
-
return (hAsync(Host, { key: '
|
|
26916
|
+
return (hAsync(Host, { key: '86125e95f18837dfd021db01777d72a1562d8ee3', 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: {
|
|
26876
26917
|
'max-width': this.col.columnWidth,
|
|
26877
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26918
|
+
} }, col.prefix && (hAsync("div", { key: 'b0f3d39e0bd128781066ffefb7a1e40d12a9e76d', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '0b106ac4d56916eaaa7f09d1b68348b3754b7bba', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (hAsync("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (hAsync("div", { key: '00ff2f9dbb4561787e5a5223327c6a2a33f8362e', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
26878
26919
|
}
|
|
26879
26920
|
get el() { return getElement(this); }
|
|
26880
26921
|
static get watchers() { return {
|
|
@@ -26991,10 +27032,10 @@ class PickerColumnOption {
|
|
|
26991
27032
|
render() {
|
|
26992
27033
|
const { color, disabled, ariaLabel } = this;
|
|
26993
27034
|
const mode = getIonMode$1(this);
|
|
26994
|
-
return (hAsync(Host, { key: '
|
|
27035
|
+
return (hAsync(Host, { key: 'c45a1c14a351bf57d7113671164852349be5aa8a', class: createColorClasses$1(color, {
|
|
26995
27036
|
[mode]: true,
|
|
26996
27037
|
['option-disabled']: disabled,
|
|
26997
|
-
}) }, hAsync("div", { key: '
|
|
27038
|
+
}) }, hAsync("div", { key: '824930b658c6e3fb493ac4c6c2451d38c6bc4829', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: '019df4dcf46e629bdbebcd46ed3ab29669feab27' }))));
|
|
26998
27039
|
}
|
|
26999
27040
|
get el() { return getElement(this); }
|
|
27000
27041
|
static get watchers() { return {
|
|
@@ -28557,9 +28598,9 @@ class Popover {
|
|
|
28557
28598
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28558
28599
|
const desktop = isPlatform('desktop');
|
|
28559
28600
|
const enableArrow = arrow && !parentPopover;
|
|
28560
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28601
|
+
return (hAsync(Host, Object.assign({ key: '2edd8333c630efbce59071f8a383e4326e928dbc', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28561
28602
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28562
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: '
|
|
28603
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: 'aac4e68b08197534375e8ea3f8c9ea0c10ab2af4', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'b7f4ebf57d4148b32856b0075d286f454be8de5d', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '607d94c28d73e8e957175a7c0f6e8a99ec4dcd53', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '4366a5a5de550c09895e923f345583508e1ec30c', class: "popover-content", part: "content" }, hAsync("slot", { key: 'eb7886fbc99c15b667b7d825d24f1c12d9380f03' })))));
|
|
28563
28604
|
}
|
|
28564
28605
|
get el() { return getElement(this); }
|
|
28565
28606
|
static get watchers() { return {
|
|
@@ -28664,7 +28705,7 @@ class ProgressBar {
|
|
|
28664
28705
|
const mode = getIonMode$1(this);
|
|
28665
28706
|
// If the progress is displayed as a solid bar.
|
|
28666
28707
|
const progressSolid = buffer === 1;
|
|
28667
|
-
return (hAsync(Host, { key: '
|
|
28708
|
+
return (hAsync(Host, { key: 'c859e48f3d24a458239e36d925e5dc003ed07c6b', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28668
28709
|
[mode]: true,
|
|
28669
28710
|
[`progress-bar-${type}`]: true,
|
|
28670
28711
|
'progress-paused': paused,
|
|
@@ -28849,7 +28890,7 @@ class Radio {
|
|
|
28849
28890
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28850
28891
|
const mode = getIonMode$1(this);
|
|
28851
28892
|
const inItem = hostContext('ion-item', el);
|
|
28852
|
-
return (hAsync(Host, { key: '
|
|
28893
|
+
return (hAsync(Host, { key: 'af5dc59ed528150872e907ed1036e3e2decba939', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28853
28894
|
[mode]: true,
|
|
28854
28895
|
'in-item': inItem,
|
|
28855
28896
|
'radio-checked': checked,
|
|
@@ -28860,10 +28901,10 @@ class Radio {
|
|
|
28860
28901
|
// Focus and active styling should not apply when the radio is in an item
|
|
28861
28902
|
'ion-activatable': !inItem,
|
|
28862
28903
|
'ion-focusable': !inItem,
|
|
28863
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28904
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '1312aba3259a87fe23a6911cdfa477e309469c8b', class: "radio-wrapper" }, hAsync("div", { key: 'b342aa27e240a300836d2a135658d346b95daf09', class: {
|
|
28864
28905
|
'label-text-wrapper': true,
|
|
28865
28906
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28866
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28907
|
+
}, part: "label" }, hAsync("slot", { key: '0a4613d29aa783d1882cf889377f7e4fd4fea51d' })), hAsync("div", { key: '191faea79dc4cd8befc4b873f5bd9f5af8ca2acc', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28867
28908
|
}
|
|
28868
28909
|
get el() { return getElement(this); }
|
|
28869
28910
|
static get watchers() { return {
|
|
@@ -28896,9 +28937,9 @@ class Radio {
|
|
|
28896
28937
|
}
|
|
28897
28938
|
let radioButtonIds = 0;
|
|
28898
28939
|
|
|
28899
|
-
const radioGroupIosCss = "ion-radio-group{vertical-align:top}.radio-group-
|
|
28940
|
+
const radioGroupIosCss = "ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}";
|
|
28900
28941
|
|
|
28901
|
-
const radioGroupMdCss = "ion-radio-group{vertical-align:top}.radio-group-
|
|
28942
|
+
const radioGroupMdCss = "ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}";
|
|
28902
28943
|
|
|
28903
28944
|
class RadioGroup {
|
|
28904
28945
|
constructor(hostRef) {
|
|
@@ -29102,7 +29143,7 @@ class RadioGroup {
|
|
|
29102
29143
|
const { label, labelId, el, name, value } = this;
|
|
29103
29144
|
const mode = getIonMode$1(this);
|
|
29104
29145
|
renderHiddenInput(true, el, name, value, false);
|
|
29105
|
-
return (hAsync(Host, { key: 'db593b3ed511e9395e3c7bfd91b787328692cd6d', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("
|
|
29146
|
+
return (hAsync(Host, { key: 'db593b3ed511e9395e3c7bfd91b787328692cd6d', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("slot", { key: 'd683b01c1ba34fe843c4b320bce4661a117472a5' })));
|
|
29106
29147
|
}
|
|
29107
29148
|
get el() { return getElement(this); }
|
|
29108
29149
|
static get watchers() { return {
|
|
@@ -29862,7 +29903,7 @@ class Range {
|
|
|
29862
29903
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29863
29904
|
const mode = getIonMode$1(this);
|
|
29864
29905
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29865
|
-
return (hAsync(Host, { key: '
|
|
29906
|
+
return (hAsync(Host, { key: 'affcac4709096a48a5b4c1864b209b6352f6b078', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29866
29907
|
[mode]: true,
|
|
29867
29908
|
'in-item': inItem,
|
|
29868
29909
|
'range-disabled': disabled,
|
|
@@ -29871,10 +29912,10 @@ class Range {
|
|
|
29871
29912
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29872
29913
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29873
29914
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29874
|
-
}) }, hAsync("label", { key: '
|
|
29915
|
+
}) }, hAsync("label", { key: 'c7cf95fa831d10b17c137995d0a9e0cf84006a76', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '5b8479c7939ae0f94a042c3aafd64316e4577d30', class: {
|
|
29875
29916
|
'label-text-wrapper': true,
|
|
29876
29917
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29877
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29918
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '3c275d822b29a8008e044722e8b6bdabd3ecfad7', class: "native-wrapper" }, hAsync("slot", { key: '03c849d0aa708914984ad57ca292bc5fc66ecad5', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '10ca7b8152cac00b45d8fa98ad91410f59fd176a', name: "end" })))));
|
|
29878
29919
|
}
|
|
29879
29920
|
get el() { return getElement(this); }
|
|
29880
29921
|
static get watchers() { return {
|
|
@@ -30841,7 +30882,7 @@ class Refresher {
|
|
|
30841
30882
|
}
|
|
30842
30883
|
render() {
|
|
30843
30884
|
const mode = getIonMode$1(this);
|
|
30844
|
-
return (hAsync(Host, { key: '
|
|
30885
|
+
return (hAsync(Host, { key: '06d61cc53260ce146dd6906cc96597e9baaa17cf', slot: "fixed", class: {
|
|
30845
30886
|
[mode]: true,
|
|
30846
30887
|
// Used internally for styling
|
|
30847
30888
|
[`refresher-${mode}`]: true,
|
|
@@ -31065,7 +31106,7 @@ class RefresherContent {
|
|
|
31065
31106
|
const pullingIcon = this.pullingIcon;
|
|
31066
31107
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
31067
31108
|
const mode = getIonMode$1(this);
|
|
31068
|
-
return (hAsync(Host, { key: '
|
|
31109
|
+
return (hAsync(Host, { key: '4add42b9fdfded359d1b054d04c2c6ff48e028c8', class: mode }, hAsync("div", { key: '45d4e4e0adfed7f96dd1849767aa2cde947de044', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: '6bd6c8ef5bf6e10699eec3bd8646431bfe1077a0', class: "refresher-pulling-icon" }, hAsync("div", { key: '852d20414da53352c8e58bc627e0fda38eff97cb', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: '0dde3578a80cc4b77a07c4d1db1af80c7eb10c27', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (hAsync("div", { key: 'c71dbfcf416a19c30fed38f722ebf0358c2181dd', class: "arrow-container" }, hAsync("ion-icon", { key: 'fa7c2cf624e7a9c41964e66cabc88c594da6d1fd', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '3dd68c9968b421c379d1c4349ba619ee0a189c6d', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: 'f83bceceae4fa8245f91939fb6db589a595e975b', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: '98e22ceb0f7883e871f815f6199f5cb313e2e086', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: 'faabe8a9b61c02a00994ef978bb82b9ba4537214', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '029a0c073ee1a07f01211e12ba2abc985cf21ed7', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
31069
31110
|
}
|
|
31070
31111
|
get el() { return getElement(this); }
|
|
31071
31112
|
static get cmpMeta() { return {
|
|
@@ -31106,7 +31147,7 @@ class Reorder {
|
|
|
31106
31147
|
render() {
|
|
31107
31148
|
const mode = getIonMode$1(this);
|
|
31108
31149
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
31109
|
-
return (hAsync(Host, { key: '
|
|
31150
|
+
return (hAsync(Host, { key: 'b869db61ca6393cf1476f2111a66b387b567c6d1', class: mode }, hAsync("slot", { key: 'a78edd1776835282b8b5c841377018f36c83296c' }, hAsync("ion-icon", { key: '7fb067c47bbb9a7258e5063f028282cc097d0f94', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
31110
31151
|
}
|
|
31111
31152
|
get el() { return getElement(this); }
|
|
31112
31153
|
static get style() { return {
|
|
@@ -31377,7 +31418,7 @@ class ReorderGroup {
|
|
|
31377
31418
|
}
|
|
31378
31419
|
render() {
|
|
31379
31420
|
const mode = getIonMode$1(this);
|
|
31380
|
-
return (hAsync(Host, { key: '
|
|
31421
|
+
return (hAsync(Host, { key: '9527bbdedaab63d31f562c874a7332ea60c4b47b', class: {
|
|
31381
31422
|
[mode]: true,
|
|
31382
31423
|
'reorder-enabled': !this.disabled,
|
|
31383
31424
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -31493,7 +31534,7 @@ class RippleEffect {
|
|
|
31493
31534
|
}
|
|
31494
31535
|
render() {
|
|
31495
31536
|
const mode = getIonMode$1(this);
|
|
31496
|
-
return (hAsync(Host, { key: '
|
|
31537
|
+
return (hAsync(Host, { key: '3b59cbb44741569a7350f9638b4392add673b6f1', role: "presentation", class: {
|
|
31497
31538
|
[mode]: true,
|
|
31498
31539
|
unbounded: this.unbounded,
|
|
31499
31540
|
} }));
|
|
@@ -32452,10 +32493,10 @@ class RouterLink {
|
|
|
32452
32493
|
rel: this.rel,
|
|
32453
32494
|
target: this.target,
|
|
32454
32495
|
};
|
|
32455
|
-
return (hAsync(Host, { key: '
|
|
32496
|
+
return (hAsync(Host, { key: '8372835161d507c7b821b7536c55f912eb6ce704', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32456
32497
|
[mode]: true,
|
|
32457
32498
|
'ion-activatable': true,
|
|
32458
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
32499
|
+
}) }, hAsync("a", Object.assign({ key: '315966e14a17760f3f64197e8315200039787897' }, attrs), hAsync("slot", { key: '95fc1697b884225e85e647dddcaa8f4af8b9a979' }))));
|
|
32459
32500
|
}
|
|
32460
32501
|
static get style() { return routerLinkCss; }
|
|
32461
32502
|
static get cmpMeta() { return {
|
|
@@ -32652,7 +32693,7 @@ class RouterOutlet {
|
|
|
32652
32693
|
return true;
|
|
32653
32694
|
}
|
|
32654
32695
|
render() {
|
|
32655
|
-
return hAsync("slot", { key: '
|
|
32696
|
+
return hAsync("slot", { key: '386c41745b61daba161cf75063da97fe29ba36cb' });
|
|
32656
32697
|
}
|
|
32657
32698
|
get el() { return getElement(this); }
|
|
32658
32699
|
static get watchers() { return {
|
|
@@ -32685,7 +32726,7 @@ class Row {
|
|
|
32685
32726
|
registerInstance(this, hostRef);
|
|
32686
32727
|
}
|
|
32687
32728
|
render() {
|
|
32688
|
-
return (hAsync(Host, { key: '
|
|
32729
|
+
return (hAsync(Host, { key: '8ba906a8cbea060a79ed658c9bf34906f0c11d38', class: getIonMode$1(this) }, hAsync("slot", { key: 'd1009176f45b588fa52c7d9eb336f3c6d3214bb8' })));
|
|
32689
32730
|
}
|
|
32690
32731
|
static get style() { return rowCss; }
|
|
32691
32732
|
static get cmpMeta() { return {
|
|
@@ -32798,11 +32839,14 @@ class Searchbar {
|
|
|
32798
32839
|
* Clears the input field and triggers the control change.
|
|
32799
32840
|
*/
|
|
32800
32841
|
this.onClearInput = async (shouldFocus) => {
|
|
32842
|
+
if (this.clearTimeout) {
|
|
32843
|
+
clearTimeout(this.clearTimeout);
|
|
32844
|
+
}
|
|
32801
32845
|
this.ionClear.emit();
|
|
32802
32846
|
return new Promise((resolve) => {
|
|
32803
32847
|
// setTimeout() fixes https://github.com/ionic-team/ionic-framework/issues/7527
|
|
32804
32848
|
// wait for 4 frames
|
|
32805
|
-
setTimeout(() => {
|
|
32849
|
+
this.clearTimeout = setTimeout(() => {
|
|
32806
32850
|
const value = this.getValue();
|
|
32807
32851
|
if (value !== '') {
|
|
32808
32852
|
this.value = '';
|
|
@@ -32934,10 +32978,18 @@ class Searchbar {
|
|
|
32934
32978
|
this.originalIonInput = this.ionInput;
|
|
32935
32979
|
this.positionElements();
|
|
32936
32980
|
this.debounceChanged();
|
|
32937
|
-
setTimeout(() => {
|
|
32981
|
+
this.loadTimeout = setTimeout(() => {
|
|
32938
32982
|
this.noAnimate = false;
|
|
32939
32983
|
}, 300);
|
|
32940
32984
|
}
|
|
32985
|
+
disconnectedCallback() {
|
|
32986
|
+
if (this.loadTimeout) {
|
|
32987
|
+
clearTimeout(this.loadTimeout);
|
|
32988
|
+
}
|
|
32989
|
+
if (this.clearTimeout) {
|
|
32990
|
+
clearTimeout(this.clearTimeout);
|
|
32991
|
+
}
|
|
32992
|
+
}
|
|
32941
32993
|
emitStyle() {
|
|
32942
32994
|
this.ionStyle.emit({
|
|
32943
32995
|
searchbar: true,
|
|
@@ -33126,8 +33178,8 @@ class Searchbar {
|
|
|
33126
33178
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
33127
33179
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
33128
33180
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
33129
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
33130
|
-
return (hAsync(Host, { key: '
|
|
33181
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '9e9f3a7f6ee66140181f8c3cfa42bbeee75adafc', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: '5f83fbcc0708830637815e8c0b69356cad381870', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
33182
|
+
return (hAsync(Host, { key: '219c263c1f3cc63e18bc2d2ba5d672b7806eddd0', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
33131
33183
|
[mode]: true,
|
|
33132
33184
|
'searchbar-animated': animated,
|
|
33133
33185
|
'searchbar-disabled': this.disabled,
|
|
@@ -33137,14 +33189,14 @@ class Searchbar {
|
|
|
33137
33189
|
'searchbar-has-focus': this.focused,
|
|
33138
33190
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
33139
33191
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
33140
|
-
}) }, hAsync("div", { key: '
|
|
33192
|
+
}) }, hAsync("div", { key: '3f1c25442d6d87c0df67f79482a925b80dcc403d', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: 'a386fecafda0fab449ea1488906ba6cfc55e2b5c', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, hAsync("ion-icon", { key: '5f81642628335def39a14f0726e0fafdc7203776', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: 'da3073646f2d7f639261b556517fbadabc3c10e9', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
33141
33193
|
/**
|
|
33142
33194
|
* This prevents mobile browsers from
|
|
33143
33195
|
* blurring the input when the clear
|
|
33144
33196
|
* button is activated.
|
|
33145
33197
|
*/
|
|
33146
33198
|
ev.preventDefault();
|
|
33147
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
33199
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '065cd6c707ae462c0767df1bab04ce8045f340a4', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
33148
33200
|
}
|
|
33149
33201
|
get el() { return getElement(this); }
|
|
33150
33202
|
static get watchers() { return {
|
|
@@ -33739,14 +33791,14 @@ class Segment {
|
|
|
33739
33791
|
}
|
|
33740
33792
|
render() {
|
|
33741
33793
|
const mode = getIonMode$1(this);
|
|
33742
|
-
return (hAsync(Host, { key: '
|
|
33794
|
+
return (hAsync(Host, { key: '725cc37b25c539fa5e3ae8d90530ae33ededc3de', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33743
33795
|
[mode]: true,
|
|
33744
33796
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33745
33797
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33746
33798
|
'segment-activated': this.activated,
|
|
33747
33799
|
'segment-disabled': this.disabled,
|
|
33748
33800
|
'segment-scrollable': this.scrollable,
|
|
33749
|
-
}) }, hAsync("slot", { key: '
|
|
33801
|
+
}) }, hAsync("slot", { key: 'c51cf7ea50325866a9367d214e12bc3754870335', onSlotchange: this.onSlottedItemsChange })));
|
|
33750
33802
|
}
|
|
33751
33803
|
get el() { return getElement(this); }
|
|
33752
33804
|
static get watchers() { return {
|
|
@@ -33886,7 +33938,7 @@ class SegmentButton {
|
|
|
33886
33938
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33887
33939
|
const mode = getIonMode$1(this);
|
|
33888
33940
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33889
|
-
return (hAsync(Host, { key: '
|
|
33941
|
+
return (hAsync(Host, { key: 'f69e2a24198a7c57543dbe66902da039a6569c64', class: {
|
|
33890
33942
|
[mode]: true,
|
|
33891
33943
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33892
33944
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33902,7 +33954,7 @@ class SegmentButton {
|
|
|
33902
33954
|
'ion-activatable': true,
|
|
33903
33955
|
'ion-activatable-instant': true,
|
|
33904
33956
|
'ion-focusable': true,
|
|
33905
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33957
|
+
} }, hAsync("button", Object.assign({ key: '0a6fea3a374074af19f7ece0ba3a7cf1e269ab6d', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '991018a38c59a6f3d76b2e952e5569c874d2c13e', class: "button-inner" }, hAsync("slot", { key: '23c547c80108025027b913c7fcbec189286627a3' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '7faa9d06ab6aa7346d16b0b6808979759a79650c' })), hAsync("div", { key: '0d61badf2c227dc38e20185b2b2bb590a5efa434', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'a84035752b78491c344179d1e61d109fb4bd1cf1', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
33906
33958
|
}
|
|
33907
33959
|
get el() { return getElement(this); }
|
|
33908
33960
|
static get watchers() { return {
|
|
@@ -33937,7 +33989,7 @@ class SegmentContent {
|
|
|
33937
33989
|
registerInstance(this, hostRef);
|
|
33938
33990
|
}
|
|
33939
33991
|
render() {
|
|
33940
|
-
return (hAsync(Host, { key: '
|
|
33992
|
+
return (hAsync(Host, { key: '665f41a854621f898eaf7ba9a49e77cc9326501e' }, hAsync("slot", { key: '635aa57fbf6167dcd36fe8dc5dfc1c313637ac04' })));
|
|
33941
33993
|
}
|
|
33942
33994
|
static get style() { return segmentContentCss; }
|
|
33943
33995
|
static get cmpMeta() { return {
|
|
@@ -34052,10 +34104,10 @@ class SegmentView {
|
|
|
34052
34104
|
}
|
|
34053
34105
|
render() {
|
|
34054
34106
|
const { disabled, isManualScroll } = this;
|
|
34055
|
-
return (hAsync(Host, { key: '
|
|
34107
|
+
return (hAsync(Host, { key: '1c9bfce83967a93d63c225031a5cd688509d8fc8', class: {
|
|
34056
34108
|
'segment-view-disabled': disabled,
|
|
34057
34109
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
34058
|
-
} }, hAsync("slot", { key: '
|
|
34110
|
+
} }, hAsync("slot", { key: '19fee034e76fffbdb5f622cb514037c00f9d55d5' })));
|
|
34059
34111
|
}
|
|
34060
34112
|
get el() { return getElement(this); }
|
|
34061
34113
|
static get style() { return {
|
|
@@ -34822,7 +34874,7 @@ class Select {
|
|
|
34822
34874
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34823
34875
|
*/
|
|
34824
34876
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34825
|
-
return (hAsync(Host, { key: '
|
|
34877
|
+
return (hAsync(Host, { key: '9f0a833ebc3df27a42146b07bcbb181c05f5e5c4', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34826
34878
|
[mode]: true,
|
|
34827
34879
|
'in-item': inItem,
|
|
34828
34880
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34840,7 +34892,7 @@ class Select {
|
|
|
34840
34892
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34841
34893
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34842
34894
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34843
|
-
}) }, hAsync("label", { key: '
|
|
34895
|
+
}) }, hAsync("label", { key: '4b32396d8557c0d1cba13440a11e66b8eb7b13a9', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'd226cc8e30cd5202c235476cfa1632fc40bc609f', class: "select-wrapper-inner" }, hAsync("slot", { key: 'df813ff3b7de518c70ea4fedd25bcb965607026d', name: "start" }), hAsync("div", { key: '4a4e9348a136c598b7b08f80ecdcca268afec2d5', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: 'f168d8b42a1e193ad27d09e5f1553b231f0332e5', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: 'ec3deede22dd403cb16a08f532ae4809cf86a3e7', class: "select-highlight" })), this.renderBottomContent()));
|
|
34844
34896
|
}
|
|
34845
34897
|
get el() { return getElement(this); }
|
|
34846
34898
|
static get watchers() { return {
|
|
@@ -35001,7 +35053,7 @@ class SelectModal {
|
|
|
35001
35053
|
} }, option.text))));
|
|
35002
35054
|
}
|
|
35003
35055
|
render() {
|
|
35004
|
-
return (hAsync(Host, { key: '
|
|
35056
|
+
return (hAsync(Host, { key: '5bffdb106e6f628dae2e2aeb9ee8008b5c547b3a', class: getIonMode$1(this) }, hAsync("ion-header", { key: '4de1c33b0504372f8a0a26123e4e086080ee1ecb' }, hAsync("ion-toolbar", { key: '5d55a67d1db4352c260e9e0457d5dac6110b6598' }, this.header !== undefined && hAsync("ion-title", { key: '4f07fe8a9af8c9bd0852af2a9b95517d16356e50' }, this.header), hAsync("ion-buttons", { key: 'ca676a34f7cd3dd6b465b0d803434c2e2c8536c5', slot: "end" }, hAsync("ion-button", { key: '801ed63a357c7c9d354668851db65e5c1b0e1abe', onClick: () => this.closeModal() }, "Close")))), hAsync("ion-content", { key: 'f3c239ec9d84b8ed7413ea9db6efa18e29aca285' }, hAsync("ion-list", { key: '40c157e9abe477171a39ae7e6e1cd4ed08735cb4' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
35005
35057
|
}
|
|
35006
35058
|
get el() { return getElement(this); }
|
|
35007
35059
|
static get style() { return {
|
|
@@ -35035,7 +35087,7 @@ class SelectOption {
|
|
|
35035
35087
|
this.disabled = false;
|
|
35036
35088
|
}
|
|
35037
35089
|
render() {
|
|
35038
|
-
return hAsync(Host, { key: '
|
|
35090
|
+
return hAsync(Host, { key: '824730b6c1e4f15b716e91b05840e890af5f1577', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
35039
35091
|
}
|
|
35040
35092
|
get el() { return getElement(this); }
|
|
35041
35093
|
static get style() { return selectOptionCss; }
|
|
@@ -35152,7 +35204,7 @@ class SelectPopover {
|
|
|
35152
35204
|
render() {
|
|
35153
35205
|
const { header, message, options, subHeader } = this;
|
|
35154
35206
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
35155
|
-
return (hAsync(Host, { key: '
|
|
35207
|
+
return (hAsync(Host, { key: '0c9845a40d3fc392b0a7d64e2a6ed27d94bb7634', class: getIonMode$1(this) }, hAsync("ion-list", { key: '84a30f6661b0f8c00e6fa199658ed2adbcf27358' }, header !== undefined && hAsync("ion-list-header", { key: '13f5f56bbfbc06751fa516291a2da72629b60ece' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: '3d39d18e720e798bbde334e79e6832091c7dfb81' }, hAsync("ion-label", { key: 'd3051b0d140120b44bf5e79572f6f287e7cfb03a', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: 'b16805956f3316f8ec703c123b76f717488e8637' }, subHeader), message !== undefined && hAsync("p", { key: '2215ac4ab4146a14e75a79192e319a8016286b5f' }, message)))), this.renderOptions(options))));
|
|
35156
35208
|
}
|
|
35157
35209
|
get el() { return getElement(this); }
|
|
35158
35210
|
static get style() { return {
|
|
@@ -35202,11 +35254,11 @@ class SkeletonText {
|
|
|
35202
35254
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
35203
35255
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
35204
35256
|
const mode = getIonMode$1(this);
|
|
35205
|
-
return (hAsync(Host, { key: '
|
|
35257
|
+
return (hAsync(Host, { key: 'cb8da9aba121811b9a4ffdae60ed88105897cb3c', class: {
|
|
35206
35258
|
[mode]: true,
|
|
35207
35259
|
'skeleton-text-animated': animated,
|
|
35208
35260
|
'in-media': inMedia,
|
|
35209
|
-
} }, hAsync("span", { key: '
|
|
35261
|
+
} }, hAsync("span", { key: '5379deee3c76d46d615be0cba14b4f60129ffa25' }, "\u00A0")));
|
|
35210
35262
|
}
|
|
35211
35263
|
get el() { return getElement(this); }
|
|
35212
35264
|
static get style() { return skeletonTextCss; }
|
|
@@ -35258,7 +35310,7 @@ class Spinner {
|
|
|
35258
35310
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
35259
35311
|
}
|
|
35260
35312
|
}
|
|
35261
|
-
return (hAsync(Host, { key: '
|
|
35313
|
+
return (hAsync(Host, { key: 'dd1954e557fa14b943e761474e29e4316ba53938', class: createColorClasses$1(self.color, {
|
|
35262
35314
|
[mode]: true,
|
|
35263
35315
|
[`spinner-${spinnerName}`]: true,
|
|
35264
35316
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -35357,12 +35409,12 @@ class SplitPane {
|
|
|
35357
35409
|
}
|
|
35358
35410
|
render() {
|
|
35359
35411
|
const mode = getIonMode$1(this);
|
|
35360
|
-
return (hAsync(Host, { key: '
|
|
35412
|
+
return (hAsync(Host, { key: '05c88c009fbe2e223fd261760a2b49da1653ff62', class: {
|
|
35361
35413
|
[mode]: true,
|
|
35362
35414
|
// Used internally for styling
|
|
35363
35415
|
[`split-pane-${mode}`]: true,
|
|
35364
35416
|
'split-pane-visible': this.visible,
|
|
35365
|
-
} }, hAsync("slot", { key: '
|
|
35417
|
+
} }, hAsync("slot", { key: 'b35865082661253c4468520d79234fa5dab5bd35' })));
|
|
35366
35418
|
}
|
|
35367
35419
|
get el() { return getElement(this); }
|
|
35368
35420
|
static get watchers() { return {
|
|
@@ -35428,10 +35480,10 @@ class Tab {
|
|
|
35428
35480
|
}
|
|
35429
35481
|
render() {
|
|
35430
35482
|
const { tab, active, component } = this;
|
|
35431
|
-
return (hAsync(Host, { key: '
|
|
35483
|
+
return (hAsync(Host, { key: 'fbd837bad7a0632336d46a597ace23673b153e48', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
35432
35484
|
'ion-page': component === undefined,
|
|
35433
35485
|
'tab-hidden': !active,
|
|
35434
|
-
} }, hAsync("slot", { key: '
|
|
35486
|
+
} }, hAsync("slot", { key: '35c218169fda826c9c1337558e0278d0c7f5f26a' })));
|
|
35435
35487
|
}
|
|
35436
35488
|
get el() { return getElement(this); }
|
|
35437
35489
|
static get watchers() { return {
|
|
@@ -35543,11 +35595,11 @@ class TabBar {
|
|
|
35543
35595
|
const { color, translucent, keyboardVisible } = this;
|
|
35544
35596
|
const mode = getIonMode$1(this);
|
|
35545
35597
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35546
|
-
return (hAsync(Host, { key: '
|
|
35598
|
+
return (hAsync(Host, { key: '24e164eaf81a0bec9237b561465618f10990806c', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35547
35599
|
[mode]: true,
|
|
35548
35600
|
'tab-bar-translucent': translucent,
|
|
35549
35601
|
'tab-bar-hidden': shouldHide,
|
|
35550
|
-
}) }, hAsync("slot", { key: '
|
|
35602
|
+
}) }, hAsync("slot", { key: '0ca29a2d97a7c38bbf43f8d79e271b874b4d9be8' })));
|
|
35551
35603
|
}
|
|
35552
35604
|
get el() { return getElement(this); }
|
|
35553
35605
|
static get watchers() { return {
|
|
@@ -35643,7 +35695,7 @@ class TabButton {
|
|
|
35643
35695
|
rel,
|
|
35644
35696
|
target,
|
|
35645
35697
|
};
|
|
35646
|
-
return (hAsync(Host, { key: '
|
|
35698
|
+
return (hAsync(Host, { key: '638b93ef40701ec3aefb89b1579eb91aaf6d4f8a', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35647
35699
|
[mode]: true,
|
|
35648
35700
|
'tab-selected': selected,
|
|
35649
35701
|
'tab-disabled': disabled,
|
|
@@ -35655,7 +35707,7 @@ class TabButton {
|
|
|
35655
35707
|
'ion-activatable': true,
|
|
35656
35708
|
'ion-selectable': true,
|
|
35657
35709
|
'ion-focusable': true,
|
|
35658
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35710
|
+
} }, hAsync("a", Object.assign({ key: 'c053d32fbcdad8d5e4a409956b47164d7a080c6b' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), hAsync("span", { key: 'b3b460d33ec978a46b069442280d31b23bc8e794', class: "button-inner" }, hAsync("slot", { key: '87b3928475c941263261101b8fae27c6370d4671' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '6532e5b4546aebe4becaebe1c93ce0e6aedaffe7', type: "unbounded" }))));
|
|
35659
35711
|
}
|
|
35660
35712
|
get el() { return getElement(this); }
|
|
35661
35713
|
static get style() { return {
|
|
@@ -35846,7 +35898,7 @@ class Tabs {
|
|
|
35846
35898
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35847
35899
|
}
|
|
35848
35900
|
render() {
|
|
35849
|
-
return (hAsync(Host, { key: '
|
|
35901
|
+
return (hAsync(Host, { key: 'c7131135b31aa312dc0207602561e1c0f4ac3e53', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '6c46e91c0389bbcea1f15f35cf3ea513a74ac545', name: "top" }), hAsync("div", { key: '4f1b649d8bb60b61402b97359de204979c5eda52', class: "tabs-inner" }, hAsync("slot", { key: '8d1ef4952be4fb33567376e1083ea4da697fcae0' })), hAsync("slot", { key: '260b8da8031494e9cb4635b3d22c49a433042db1', name: "bottom" })));
|
|
35850
35902
|
}
|
|
35851
35903
|
get el() { return getElement(this); }
|
|
35852
35904
|
static get style() { return tabsCss; }
|
|
@@ -35886,9 +35938,9 @@ class Text {
|
|
|
35886
35938
|
}
|
|
35887
35939
|
render() {
|
|
35888
35940
|
const mode = getIonMode$1(this);
|
|
35889
|
-
return (hAsync(Host, { key: '
|
|
35941
|
+
return (hAsync(Host, { key: 'bfaa49d35f43b8036725ae8a322c716fc6e43bdf', class: createColorClasses$1(this.color, {
|
|
35890
35942
|
[mode]: true,
|
|
35891
|
-
}) }, hAsync("slot", { key: '
|
|
35943
|
+
}) }, hAsync("slot", { key: 'c04880cd1935b42cbe60f58fd523b4d8a96072dc' })));
|
|
35892
35944
|
}
|
|
35893
35945
|
static get style() { return textCss; }
|
|
35894
35946
|
static get cmpMeta() { return {
|
|
@@ -36349,7 +36401,7 @@ class Textarea {
|
|
|
36349
36401
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
36350
36402
|
*/
|
|
36351
36403
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
36352
|
-
return (hAsync(Host, { key: '
|
|
36404
|
+
return (hAsync(Host, { key: '2c9de566803dd007cee3639ddd04accb68663b32', class: createColorClasses$1(this.color, {
|
|
36353
36405
|
[mode]: true,
|
|
36354
36406
|
'has-value': hasValue,
|
|
36355
36407
|
'has-focus': hasFocus,
|
|
@@ -36358,7 +36410,7 @@ class Textarea {
|
|
|
36358
36410
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
36359
36411
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
36360
36412
|
'textarea-disabled': disabled,
|
|
36361
|
-
}) }, hAsync("label", { key: '
|
|
36413
|
+
}) }, hAsync("label", { key: 'a0602b57fae26f148729b19c296de31b4923ad44', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '4ff96c999ba015c6c94be888da76d2dbd33020d7', class: "textarea-wrapper-inner" }, hAsync("div", { key: '8827db21d38d6c0bc2949f183b976eca692210be', class: "start-slot-wrapper" }, hAsync("slot", { key: 'e90b69e2b427a51f9a6ec201053e55b914ef5b9d', name: "start" })), hAsync("div", { key: '22de2b64734d6a677939ff372df9de13b58923e6', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, hAsync("textarea", Object.assign({ key: '0e125c47ae292bea21484824746dbee922e728b0', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), hAsync("div", { key: '52d8f9048596cd598a99b74e3d0b322890d8513d', class: "end-slot-wrapper" }, hAsync("slot", { key: 'd9c8a7c33c47533dfe2eb8b12006c7f38d3cd11b', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: 'aaf672b846a35f0aeb0b3ec172dc808eb871eb5a', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
36362
36414
|
}
|
|
36363
36415
|
get el() { return getElement(this); }
|
|
36364
36416
|
static get watchers() { return {
|
|
@@ -36421,7 +36473,7 @@ class Thumbnail {
|
|
|
36421
36473
|
registerInstance(this, hostRef);
|
|
36422
36474
|
}
|
|
36423
36475
|
render() {
|
|
36424
|
-
return (hAsync(Host, { key: '
|
|
36476
|
+
return (hAsync(Host, { key: 'b250e01664238f1dca8f9757b15bc3d5d9387ffa', class: getIonMode$1(this) }, hAsync("slot", { key: '72cb568bccabc983c5186a7596ef6c6d4ebf5ad9' })));
|
|
36425
36477
|
}
|
|
36426
36478
|
static get style() { return thumbnailCss; }
|
|
36427
36479
|
static get cmpMeta() { return {
|
|
@@ -37279,9 +37331,9 @@ class Toast {
|
|
|
37279
37331
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
37280
37332
|
printIonWarning('[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
37281
37333
|
}
|
|
37282
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
37334
|
+
return (hAsync(Host, Object.assign({ key: '4a303f9ebb69614e9dca677d9d80a4a275de0d85', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
37283
37335
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
37284
|
-
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '
|
|
37336
|
+
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '4f58fcbba8dce9834eab743fc91715935216f3d0', class: wrapperClass }, hAsync("div", { key: 'bbc7b73b186432bd4be8247c5de2ce3b2551fb0a', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: '0b953478eb739ceb864373416183bfbf5ce2f9f1', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: '7a63497d1c0440256218426194851a969b042ca6', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
37285
37337
|
}
|
|
37286
37338
|
get el() { return getElement(this); }
|
|
37287
37339
|
static get watchers() { return {
|
|
@@ -37593,7 +37645,7 @@ class Toggle {
|
|
|
37593
37645
|
const value = this.getValue();
|
|
37594
37646
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37595
37647
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37596
|
-
return (hAsync(Host, { key: '
|
|
37648
|
+
return (hAsync(Host, { key: '736e1dcfca34fd41f6f0632652e7f86d6996a232', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: createColorClasses$1(color, {
|
|
37597
37649
|
[mode]: true,
|
|
37598
37650
|
'in-item': hostContext('ion-item', el),
|
|
37599
37651
|
'toggle-activated': activated,
|
|
@@ -37603,10 +37655,10 @@ class Toggle {
|
|
|
37603
37655
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37604
37656
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37605
37657
|
[`toggle-${rtl}`]: true,
|
|
37606
|
-
}) }, hAsync("label", { key: '
|
|
37658
|
+
}) }, hAsync("label", { key: 'e697739fd3964c1c6c23331cf7e38a9841c46a6a', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '3d500b8c1bc879591249d183c1abb3f5f26aff6b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), hAsync("div", { key: 'e38f3fe0e66b4ca434fd81514f5ef771c2960841', class: {
|
|
37607
37659
|
'label-text-wrapper': true,
|
|
37608
37660
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37609
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37661
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '006dd3558264d69ab020c07005b348adc4ecdd5b' }), this.renderHintText()), hAsync("div", { key: 'dd4e52de31caabee41ec1bc58efecd1e213368c9', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37610
37662
|
}
|
|
37611
37663
|
get el() { return getElement(this); }
|
|
37612
37664
|
static get watchers() { return {
|
|
@@ -37716,10 +37768,10 @@ class Toolbar {
|
|
|
37716
37768
|
this.childrenStyles.forEach((value) => {
|
|
37717
37769
|
Object.assign(childStyles, value);
|
|
37718
37770
|
});
|
|
37719
|
-
return (hAsync(Host, { key: '
|
|
37771
|
+
return (hAsync(Host, { key: 'b849db2863778dee6c5a251bffa1b3a657aeb036', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37720
37772
|
[mode]: true,
|
|
37721
37773
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37722
|
-
})) }, hAsync("div", { key: '
|
|
37774
|
+
})) }, hAsync("div", { key: '67f5bba9c4f527c3f35bfe1313a2b85741f9b246', class: "toolbar-background", part: "background" }), hAsync("div", { key: '085e8c68f056e5b0deb9d1606431fbeb45dae8e5', class: "toolbar-container", part: "container" }, hAsync("slot", { key: '15227c79c3baf883fd8c43fdb7e1313453933c79', name: "start" }), hAsync("slot", { key: '0b8a7f7e685aa31c80d9bc03446ccc3a9d07e0e8', name: "secondary" }), hAsync("div", { key: '57e4628c1fa89df79dd80456259db961bb691404', class: "toolbar-content", part: "content" }, hAsync("slot", { key: '82c2f6e1acf8d96db259bd8baf295881801edbd5' })), hAsync("slot", { key: 'b2d4afb15214199f206c0a5e08b581e4c9c2f58a', name: "primary" }), hAsync("slot", { key: 'bfb909a0c472f8834046c2ea23bef2f562167ad3', name: "end" }))));
|
|
37723
37775
|
}
|
|
37724
37776
|
get el() { return getElement(this); }
|
|
37725
37777
|
static get style() { return {
|
|
@@ -37765,11 +37817,11 @@ class ToolbarTitle {
|
|
|
37765
37817
|
render() {
|
|
37766
37818
|
const mode = getIonMode$1(this);
|
|
37767
37819
|
const size = this.getSize();
|
|
37768
|
-
return (hAsync(Host, { key: '
|
|
37820
|
+
return (hAsync(Host, { key: '44e63f8439df64c470692904427b417e19406476', class: createColorClasses$1(this.color, {
|
|
37769
37821
|
[mode]: true,
|
|
37770
37822
|
[`title-${size}`]: true,
|
|
37771
37823
|
'title-rtl': document.dir === 'rtl',
|
|
37772
|
-
}) }, hAsync("div", { key: '
|
|
37824
|
+
}) }, hAsync("div", { key: '784cf60a0db16045391891cc8fad0c7dbeba4039', class: "toolbar-title" }, hAsync("slot", { key: '0c720a50479ba257e8756337aeb9b0ab7516a227' }))));
|
|
37773
37825
|
}
|
|
37774
37826
|
get el() { return getElement(this); }
|
|
37775
37827
|
static get watchers() { return {
|