@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.js
CHANGED
|
@@ -8787,6 +8787,11 @@ class App {
|
|
|
8787
8787
|
}
|
|
8788
8788
|
componentDidLoad() {
|
|
8789
8789
|
}
|
|
8790
|
+
disconnectedCallback() {
|
|
8791
|
+
if (this.loadTimeout) {
|
|
8792
|
+
clearTimeout(this.loadTimeout);
|
|
8793
|
+
}
|
|
8794
|
+
}
|
|
8790
8795
|
/**
|
|
8791
8796
|
* Used to set focus on an element that uses `ion-focusable`.
|
|
8792
8797
|
* Do not use this if focusing the element as a result of a keyboard
|
|
@@ -8803,9 +8808,17 @@ class App {
|
|
|
8803
8808
|
this.focusVisible.setFocus(elements);
|
|
8804
8809
|
}
|
|
8805
8810
|
}
|
|
8811
|
+
rIC(callback) {
|
|
8812
|
+
if ('requestIdleCallback' in window) {
|
|
8813
|
+
window.requestIdleCallback(callback);
|
|
8814
|
+
}
|
|
8815
|
+
else {
|
|
8816
|
+
this.loadTimeout = setTimeout(callback, 32);
|
|
8817
|
+
}
|
|
8818
|
+
}
|
|
8806
8819
|
render() {
|
|
8807
8820
|
const mode = getIonMode$1(this);
|
|
8808
|
-
return (hAsync(Host, { key: '
|
|
8821
|
+
return (hAsync(Host, { key: '77a7459d3e42b3715a5a7e1cf468e2ebc99e54bb', class: {
|
|
8809
8822
|
[mode]: true,
|
|
8810
8823
|
'ion-page': true,
|
|
8811
8824
|
'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
|
|
@@ -10629,6 +10642,10 @@ class Content {
|
|
|
10629
10642
|
this.tabsElement = null;
|
|
10630
10643
|
this.tabsLoadCallback = undefined;
|
|
10631
10644
|
}
|
|
10645
|
+
if (this.resizeTimeout) {
|
|
10646
|
+
clearTimeout(this.resizeTimeout);
|
|
10647
|
+
this.resizeTimeout = null;
|
|
10648
|
+
}
|
|
10632
10649
|
}
|
|
10633
10650
|
/**
|
|
10634
10651
|
* Rotating certain devices can update
|
|
@@ -10849,7 +10866,7 @@ class Content {
|
|
|
10849
10866
|
const forceOverscroll = this.shouldForceOverscroll();
|
|
10850
10867
|
const transitionShadow = mode === 'ios';
|
|
10851
10868
|
this.resize();
|
|
10852
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
10869
|
+
return (hAsync(Host, Object.assign({ key: '287f5bb78888b0f66394a35ba2a3ad636d8f3412', role: isMainContent ? 'main' : undefined, class: createColorClasses$1(this.color, {
|
|
10853
10870
|
[mode]: true,
|
|
10854
10871
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
10855
10872
|
overscroll: forceOverscroll,
|
|
@@ -10857,12 +10874,12 @@ class Content {
|
|
|
10857
10874
|
}), style: {
|
|
10858
10875
|
'--offset-top': `${this.cTop}px`,
|
|
10859
10876
|
'--offset-bottom': `${this.cBottom}px`,
|
|
10860
|
-
} }, inheritedAttributes), hAsync("div", { key: '
|
|
10877
|
+
} }, 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: {
|
|
10861
10878
|
'inner-scroll': true,
|
|
10862
10879
|
'scroll-x': scrollX,
|
|
10863
10880
|
'scroll-y': scrollY,
|
|
10864
10881
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
10865
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, hAsync("slot", { key: '
|
|
10882
|
+
}, 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));
|
|
10866
10883
|
}
|
|
10867
10884
|
get el() { return getElement(this); }
|
|
10868
10885
|
static get style() { return contentCss; }
|
|
@@ -12859,7 +12876,7 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
12859
12876
|
}
|
|
12860
12877
|
};
|
|
12861
12878
|
|
|
12862
|
-
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%}";
|
|
12879
|
+
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%}";
|
|
12863
12880
|
|
|
12864
12881
|
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}";
|
|
12865
12882
|
|
|
@@ -13737,6 +13754,9 @@ class Datetime {
|
|
|
13737
13754
|
this.clearFocusVisible();
|
|
13738
13755
|
this.clearFocusVisible = undefined;
|
|
13739
13756
|
}
|
|
13757
|
+
if (this.loadTimeout) {
|
|
13758
|
+
clearTimeout(this.loadTimeout);
|
|
13759
|
+
}
|
|
13740
13760
|
}
|
|
13741
13761
|
initializeListeners() {
|
|
13742
13762
|
this.initializeCalendarListener();
|
|
@@ -13785,7 +13805,7 @@ class Datetime {
|
|
|
13785
13805
|
*
|
|
13786
13806
|
* We schedule this after everything has had a chance to run.
|
|
13787
13807
|
*/
|
|
13788
|
-
setTimeout(() => {
|
|
13808
|
+
this.loadTimeout = setTimeout(() => {
|
|
13789
13809
|
this.ensureReadyIfVisible();
|
|
13790
13810
|
}, 100);
|
|
13791
13811
|
/**
|
|
@@ -14543,7 +14563,7 @@ class Datetime {
|
|
|
14543
14563
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
14544
14564
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
14545
14565
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
14546
|
-
return (hAsync(Host, { key: '
|
|
14566
|
+
return (hAsync(Host, { key: 'b81c3531f4654be3f6948df5f790c0f6ab488000', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
14547
14567
|
[mode]: true,
|
|
14548
14568
|
['datetime-readonly']: readonly,
|
|
14549
14569
|
['datetime-disabled']: disabled,
|
|
@@ -14553,7 +14573,7 @@ class Datetime {
|
|
|
14553
14573
|
[`datetime-size-${size}`]: true,
|
|
14554
14574
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
14555
14575
|
[`datetime-grid`]: isGridStyle,
|
|
14556
|
-
})) }, hAsync("div", { key: '
|
|
14576
|
+
})) }, hAsync("div", { key: 'f7f39f8e56146186210d0ab70ae95e829573e549', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
14557
14577
|
}
|
|
14558
14578
|
get el() { return getElement(this); }
|
|
14559
14579
|
static get watchers() { return {
|
|
@@ -15208,6 +15228,7 @@ const fabListCss = ":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10
|
|
|
15208
15228
|
class FabList {
|
|
15209
15229
|
constructor(hostRef) {
|
|
15210
15230
|
registerInstance(this, hostRef);
|
|
15231
|
+
this.activateTimeouts = [];
|
|
15211
15232
|
/**
|
|
15212
15233
|
* If `true`, the fab list will show all fab buttons in the list.
|
|
15213
15234
|
*/
|
|
@@ -15218,20 +15239,26 @@ class FabList {
|
|
|
15218
15239
|
this.side = 'bottom';
|
|
15219
15240
|
}
|
|
15220
15241
|
activatedChanged(activated) {
|
|
15242
|
+
this.activateTimeouts.forEach(clearTimeout);
|
|
15243
|
+
this.activateTimeouts = [];
|
|
15221
15244
|
const fabs = Array.from(this.el.querySelectorAll('ion-fab-button'));
|
|
15222
15245
|
// if showing the fabs add a timeout, else show immediately
|
|
15223
15246
|
const timeout = activated ? 30 : 0;
|
|
15224
15247
|
fabs.forEach((fab, i) => {
|
|
15225
|
-
setTimeout(() => (fab.show = activated), i * timeout);
|
|
15248
|
+
this.activateTimeouts.push(setTimeout(() => (fab.show = activated), i * timeout));
|
|
15226
15249
|
});
|
|
15227
15250
|
}
|
|
15251
|
+
disconnectedCallback() {
|
|
15252
|
+
this.activateTimeouts.forEach(clearTimeout);
|
|
15253
|
+
this.activateTimeouts = [];
|
|
15254
|
+
}
|
|
15228
15255
|
render() {
|
|
15229
15256
|
const mode = getIonMode$1(this);
|
|
15230
|
-
return (hAsync(Host, { key: '
|
|
15257
|
+
return (hAsync(Host, { key: '03a8920c29a93c6df4bab14753a78a8a30722ce8', class: {
|
|
15231
15258
|
[mode]: true,
|
|
15232
15259
|
'fab-list-active': this.activated,
|
|
15233
15260
|
[`fab-list-side-${this.side}`]: true,
|
|
15234
|
-
} }, hAsync("slot", { key: '
|
|
15261
|
+
} }, hAsync("slot", { key: 'd9e1541cb044e209bc2dff14080f3b938a2b84ae' })));
|
|
15235
15262
|
}
|
|
15236
15263
|
get el() { return getElement(this); }
|
|
15237
15264
|
static get watchers() { return {
|
|
@@ -16437,7 +16464,16 @@ class Img {
|
|
|
16437
16464
|
componentDidLoad() {
|
|
16438
16465
|
this.addIO();
|
|
16439
16466
|
}
|
|
16467
|
+
disconnectedCallback() {
|
|
16468
|
+
if (this.loadTimeout) {
|
|
16469
|
+
clearTimeout(this.loadTimeout);
|
|
16470
|
+
}
|
|
16471
|
+
}
|
|
16440
16472
|
addIO() {
|
|
16473
|
+
if (this.loadTimeout) {
|
|
16474
|
+
clearTimeout(this.loadTimeout);
|
|
16475
|
+
this.loadTimeout = undefined;
|
|
16476
|
+
}
|
|
16441
16477
|
if (this.src === undefined) {
|
|
16442
16478
|
return;
|
|
16443
16479
|
}
|
|
@@ -16461,7 +16497,7 @@ class Img {
|
|
|
16461
16497
|
}
|
|
16462
16498
|
else {
|
|
16463
16499
|
// fall back to setTimeout for Safari and IE
|
|
16464
|
-
setTimeout(() => this.load(), 200);
|
|
16500
|
+
this.loadTimeout = setTimeout(() => this.load(), 200);
|
|
16465
16501
|
}
|
|
16466
16502
|
}
|
|
16467
16503
|
load() {
|
|
@@ -16478,7 +16514,7 @@ class Img {
|
|
|
16478
16514
|
render() {
|
|
16479
16515
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
16480
16516
|
const { draggable } = inheritedAttributes;
|
|
16481
|
-
return (hAsync(Host, { key: '
|
|
16517
|
+
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) })));
|
|
16482
16518
|
}
|
|
16483
16519
|
get el() { return getElement(this); }
|
|
16484
16520
|
static get watchers() { return {
|
|
@@ -18573,11 +18609,11 @@ class ItemDivider {
|
|
|
18573
18609
|
}
|
|
18574
18610
|
render() {
|
|
18575
18611
|
const mode = getIonMode$1(this);
|
|
18576
|
-
return (hAsync(Host, { key: '
|
|
18612
|
+
return (hAsync(Host, { key: 'ee8b2c8d5e415c0d8badf84fa7670932da4e809e', class: createColorClasses$1(this.color, {
|
|
18577
18613
|
[mode]: true,
|
|
18578
18614
|
'item-divider-sticky': this.sticky,
|
|
18579
18615
|
item: true,
|
|
18580
|
-
}) }, hAsync("slot", { key: '
|
|
18616
|
+
}) }, 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" }))));
|
|
18581
18617
|
}
|
|
18582
18618
|
get el() { return getElement(this); }
|
|
18583
18619
|
static get style() { return {
|
|
@@ -18607,7 +18643,7 @@ class ItemGroup {
|
|
|
18607
18643
|
}
|
|
18608
18644
|
render() {
|
|
18609
18645
|
const mode = getIonMode$1(this);
|
|
18610
|
-
return (hAsync(Host, { key: '
|
|
18646
|
+
return (hAsync(Host, { key: 'f1743af1d075682f63fae3802c5c5bf050507563', role: "group", class: {
|
|
18611
18647
|
[mode]: true,
|
|
18612
18648
|
// Used internally for styling
|
|
18613
18649
|
[`item-group-${mode}`]: true,
|
|
@@ -18677,12 +18713,12 @@ class ItemOption {
|
|
|
18677
18713
|
href: this.href,
|
|
18678
18714
|
target: this.target,
|
|
18679
18715
|
};
|
|
18680
|
-
return (hAsync(Host, { key: '
|
|
18716
|
+
return (hAsync(Host, { key: '058310ac361612c16f2ef70c74279ba7c24128c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18681
18717
|
[mode]: true,
|
|
18682
18718
|
'item-option-disabled': disabled,
|
|
18683
18719
|
'item-option-expandable': expandable,
|
|
18684
18720
|
'ion-activatable': true,
|
|
18685
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18721
|
+
}) }, 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' }))));
|
|
18686
18722
|
}
|
|
18687
18723
|
get el() { return getElement(this); }
|
|
18688
18724
|
static get style() { return {
|
|
@@ -18731,7 +18767,7 @@ class ItemOptions {
|
|
|
18731
18767
|
render() {
|
|
18732
18768
|
const mode = getIonMode$1(this);
|
|
18733
18769
|
const isEnd = isEndSide(this.side);
|
|
18734
|
-
return (hAsync(Host, { key: '
|
|
18770
|
+
return (hAsync(Host, { key: '7b4b93984182222c64c7a2a22a18e52ac19e3049', class: {
|
|
18735
18771
|
[mode]: true,
|
|
18736
18772
|
// Used internally for styling
|
|
18737
18773
|
[`item-options-${mode}`]: true,
|
|
@@ -19196,7 +19232,7 @@ class ItemSliding {
|
|
|
19196
19232
|
}
|
|
19197
19233
|
render() {
|
|
19198
19234
|
const mode = getIonMode$1(this);
|
|
19199
|
-
return (hAsync(Host, { key: '
|
|
19235
|
+
return (hAsync(Host, { key: '8fd81d74701402294a48b79c56d6eceadafd4881', class: {
|
|
19200
19236
|
[mode]: true,
|
|
19201
19237
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19202
19238
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19268,11 +19304,16 @@ class Label {
|
|
|
19268
19304
|
}
|
|
19269
19305
|
componentDidLoad() {
|
|
19270
19306
|
if (this.noAnimate) {
|
|
19271
|
-
setTimeout(() => {
|
|
19307
|
+
this.loadTimeout = setTimeout(() => {
|
|
19272
19308
|
this.noAnimate = false;
|
|
19273
19309
|
}, 1000);
|
|
19274
19310
|
}
|
|
19275
19311
|
}
|
|
19312
|
+
disconnectedCallback() {
|
|
19313
|
+
if (this.loadTimeout) {
|
|
19314
|
+
clearTimeout(this.loadTimeout);
|
|
19315
|
+
}
|
|
19316
|
+
}
|
|
19276
19317
|
colorChanged() {
|
|
19277
19318
|
this.emitColor();
|
|
19278
19319
|
}
|
|
@@ -19301,13 +19342,13 @@ class Label {
|
|
|
19301
19342
|
render() {
|
|
19302
19343
|
const position = this.position;
|
|
19303
19344
|
const mode = getIonMode$1(this);
|
|
19304
|
-
return (hAsync(Host, { key: '
|
|
19345
|
+
return (hAsync(Host, { key: 'd603670c442213c28737b0c052c094705b8c84ef', class: createColorClasses$1(this.color, {
|
|
19305
19346
|
[mode]: true,
|
|
19306
19347
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19307
19348
|
[`label-${position}`]: position !== undefined,
|
|
19308
19349
|
[`label-no-animate`]: this.noAnimate,
|
|
19309
19350
|
'label-rtl': document.dir === 'rtl',
|
|
19310
|
-
}) }, hAsync("slot", { key: '
|
|
19351
|
+
}) }, hAsync("slot", { key: 'a8c3aed240a20ee5856c423662878481a1e6d4cf' })));
|
|
19311
19352
|
}
|
|
19312
19353
|
get el() { return getElement(this); }
|
|
19313
19354
|
static get watchers() { return {
|
|
@@ -19405,10 +19446,10 @@ class ListHeader {
|
|
|
19405
19446
|
render() {
|
|
19406
19447
|
const { lines } = this;
|
|
19407
19448
|
const mode = getIonMode$1(this);
|
|
19408
|
-
return (hAsync(Host, { key: '
|
|
19449
|
+
return (hAsync(Host, { key: '2e529021279761b2b2889885437f619b0e8f71c4', class: createColorClasses$1(this.color, {
|
|
19409
19450
|
[mode]: true,
|
|
19410
19451
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19411
|
-
}) }, hAsync("div", { key: '
|
|
19452
|
+
}) }, hAsync("div", { key: '9a6a11b0db015df79374f6489a40b959bc80b3e4', class: "list-header-inner" }, hAsync("slot", { key: 'ef347fc6afb47850797e2e4d1aeefcd6a318f789' }))));
|
|
19412
19453
|
}
|
|
19413
19454
|
static get style() { return {
|
|
19414
19455
|
ios: listHeaderIosCss,
|
|
@@ -19693,9 +19734,9 @@ class Loading {
|
|
|
19693
19734
|
* Otherwise, don't set aria-labelledby.
|
|
19694
19735
|
*/
|
|
19695
19736
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19696
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19737
|
+
return (hAsync(Host, Object.assign({ key: 'f86ddbc600cb5c396b7de38fb5f49625388c3c3f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19697
19738
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19698
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19739
|
+
}, 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" })));
|
|
19699
19740
|
}
|
|
19700
19741
|
get el() { return getElement(this); }
|
|
19701
19742
|
static get watchers() { return {
|
|
@@ -20744,14 +20785,14 @@ class Menu {
|
|
|
20744
20785
|
* the ionBackButton listener in the menu controller
|
|
20745
20786
|
* will handle closing the menu when Escape is pressed.
|
|
20746
20787
|
*/
|
|
20747
|
-
return (hAsync(Host, { key: '
|
|
20788
|
+
return (hAsync(Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20748
20789
|
[mode]: true,
|
|
20749
20790
|
[`menu-type-${type}`]: true,
|
|
20750
20791
|
'menu-enabled': !disabled,
|
|
20751
20792
|
[`menu-side-${side}`]: true,
|
|
20752
20793
|
'menu-pane-visible': isPaneVisible,
|
|
20753
20794
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20754
|
-
} }, hAsync("div", { key: '
|
|
20795
|
+
} }, 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" })));
|
|
20755
20796
|
}
|
|
20756
20797
|
get el() { return getElement(this); }
|
|
20757
20798
|
static get watchers() { return {
|
|
@@ -20859,7 +20900,7 @@ class MenuButton {
|
|
|
20859
20900
|
type: this.type,
|
|
20860
20901
|
};
|
|
20861
20902
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20862
|
-
return (hAsync(Host, { key: '
|
|
20903
|
+
return (hAsync(Host, { key: 'dcade732e366f0687d92cb9ce4065b78b0b41d24', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20863
20904
|
[mode]: true,
|
|
20864
20905
|
button: true, // ion-buttons target .button
|
|
20865
20906
|
'menu-button-hidden': hidden,
|
|
@@ -20868,7 +20909,7 @@ class MenuButton {
|
|
|
20868
20909
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20869
20910
|
'ion-activatable': true,
|
|
20870
20911
|
'ion-focusable': true,
|
|
20871
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20912
|
+
}) }, 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" }))));
|
|
20872
20913
|
}
|
|
20873
20914
|
get el() { return getElement(this); }
|
|
20874
20915
|
static get style() { return {
|
|
@@ -20921,10 +20962,10 @@ class MenuToggle {
|
|
|
20921
20962
|
render() {
|
|
20922
20963
|
const mode = getIonMode$1(this);
|
|
20923
20964
|
const hidden = this.autoHide && !this.visible;
|
|
20924
|
-
return (hAsync(Host, { key: '
|
|
20965
|
+
return (hAsync(Host, { key: '55135952f3a42cb5d21916dfb7b169d894b381e3', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20925
20966
|
[mode]: true,
|
|
20926
20967
|
'menu-toggle-hidden': hidden,
|
|
20927
|
-
} }, hAsync("slot", { key: '
|
|
20968
|
+
} }, hAsync("slot", { key: 'e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03' })));
|
|
20928
20969
|
}
|
|
20929
20970
|
static get style() { return menuToggleCss; }
|
|
20930
20971
|
static get cmpMeta() { return {
|
|
@@ -24074,20 +24115,20 @@ class Modal {
|
|
|
24074
24115
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
24075
24116
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
24076
24117
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
24077
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
24118
|
+
return (hAsync(Host, Object.assign({ key: '952cbd52d1fc737332a23d523b02d5fa60abf30a', "no-router": true,
|
|
24078
24119
|
// Allow the modal to be navigable when the handle is focusable
|
|
24079
24120
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
24080
24121
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
24081
|
-
}, 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: '
|
|
24122
|
+
}, 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',
|
|
24082
24123
|
/*
|
|
24083
24124
|
role and aria-modal must be used on the
|
|
24084
24125
|
same element. They must also be set inside the
|
|
24085
24126
|
shadow DOM otherwise ion-button will not be highlighted
|
|
24086
24127
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
24087
24128
|
*/
|
|
24088
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
24129
|
+
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",
|
|
24089
24130
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
24090
|
-
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: '
|
|
24131
|
+
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 }))));
|
|
24091
24132
|
}
|
|
24092
24133
|
get el() { return getElement(this); }
|
|
24093
24134
|
static get watchers() { return {
|
|
@@ -25035,7 +25076,7 @@ class Nav {
|
|
|
25035
25076
|
}
|
|
25036
25077
|
}
|
|
25037
25078
|
render() {
|
|
25038
|
-
return hAsync("slot", { key: '
|
|
25079
|
+
return hAsync("slot", { key: 'a549286b51b1bb23c9ef51f71148452228d0ab14' });
|
|
25039
25080
|
}
|
|
25040
25081
|
get el() { return getElement(this); }
|
|
25041
25082
|
static get watchers() { return {
|
|
@@ -25108,7 +25149,7 @@ class NavLink {
|
|
|
25108
25149
|
};
|
|
25109
25150
|
}
|
|
25110
25151
|
render() {
|
|
25111
|
-
return hAsync(Host, { key: '
|
|
25152
|
+
return hAsync(Host, { key: 'd4d80feb51c0d92b0bedf6952c892f9df3002046', onClick: this.onClick });
|
|
25112
25153
|
}
|
|
25113
25154
|
get el() { return getElement(this); }
|
|
25114
25155
|
static get cmpMeta() { return {
|
|
@@ -25139,9 +25180,9 @@ class Note {
|
|
|
25139
25180
|
}
|
|
25140
25181
|
render() {
|
|
25141
25182
|
const mode = getIonMode$1(this);
|
|
25142
|
-
return (hAsync(Host, { key: '
|
|
25183
|
+
return (hAsync(Host, { key: 'b86a6acc9274df6528d224d4c11ab826a0f84dbc', class: createColorClasses$1(this.color, {
|
|
25143
25184
|
[mode]: true,
|
|
25144
|
-
}) }, hAsync("slot", { key: '
|
|
25185
|
+
}) }, hAsync("slot", { key: '5de76567ed7713827cd277a42db102faf34190c8' })));
|
|
25145
25186
|
}
|
|
25146
25187
|
static get style() { return {
|
|
25147
25188
|
ios: noteIosCss,
|
|
@@ -25901,11 +25942,11 @@ class Picker {
|
|
|
25901
25942
|
render() {
|
|
25902
25943
|
const { htmlAttributes } = this;
|
|
25903
25944
|
const mode = getIonMode$1(this);
|
|
25904
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25945
|
+
return (hAsync(Host, Object.assign({ key: '80f66d33780d8a1352d24be9cb63a0cc03d01ab5', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25905
25946
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25906
25947
|
}, class: Object.assign({ [mode]: true,
|
|
25907
25948
|
// Used internally for styling
|
|
25908
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25949
|
+
[`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" })));
|
|
25909
25950
|
}
|
|
25910
25951
|
get el() { return getElement(this); }
|
|
25911
25952
|
static get watchers() { return {
|
|
@@ -26874,9 +26915,9 @@ class PickerColumnCmp {
|
|
|
26874
26915
|
render() {
|
|
26875
26916
|
const col = this.col;
|
|
26876
26917
|
const mode = getIonMode$1(this);
|
|
26877
|
-
return (hAsync(Host, { key: '
|
|
26918
|
+
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: {
|
|
26878
26919
|
'max-width': this.col.columnWidth,
|
|
26879
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26920
|
+
} }, 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))));
|
|
26880
26921
|
}
|
|
26881
26922
|
get el() { return getElement(this); }
|
|
26882
26923
|
static get watchers() { return {
|
|
@@ -26993,10 +27034,10 @@ class PickerColumnOption {
|
|
|
26993
27034
|
render() {
|
|
26994
27035
|
const { color, disabled, ariaLabel } = this;
|
|
26995
27036
|
const mode = getIonMode$1(this);
|
|
26996
|
-
return (hAsync(Host, { key: '
|
|
27037
|
+
return (hAsync(Host, { key: 'c45a1c14a351bf57d7113671164852349be5aa8a', class: createColorClasses$1(color, {
|
|
26997
27038
|
[mode]: true,
|
|
26998
27039
|
['option-disabled']: disabled,
|
|
26999
|
-
}) }, hAsync("div", { key: '
|
|
27040
|
+
}) }, hAsync("div", { key: '824930b658c6e3fb493ac4c6c2451d38c6bc4829', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: '019df4dcf46e629bdbebcd46ed3ab29669feab27' }))));
|
|
27000
27041
|
}
|
|
27001
27042
|
get el() { return getElement(this); }
|
|
27002
27043
|
static get watchers() { return {
|
|
@@ -28559,9 +28600,9 @@ class Popover {
|
|
|
28559
28600
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28560
28601
|
const desktop = isPlatform('desktop');
|
|
28561
28602
|
const enableArrow = arrow && !parentPopover;
|
|
28562
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28603
|
+
return (hAsync(Host, Object.assign({ key: '2edd8333c630efbce59071f8a383e4326e928dbc', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28563
28604
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28564
|
-
}, 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: '
|
|
28605
|
+
}, 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' })))));
|
|
28565
28606
|
}
|
|
28566
28607
|
get el() { return getElement(this); }
|
|
28567
28608
|
static get watchers() { return {
|
|
@@ -28666,7 +28707,7 @@ class ProgressBar {
|
|
|
28666
28707
|
const mode = getIonMode$1(this);
|
|
28667
28708
|
// If the progress is displayed as a solid bar.
|
|
28668
28709
|
const progressSolid = buffer === 1;
|
|
28669
|
-
return (hAsync(Host, { key: '
|
|
28710
|
+
return (hAsync(Host, { key: 'c859e48f3d24a458239e36d925e5dc003ed07c6b', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28670
28711
|
[mode]: true,
|
|
28671
28712
|
[`progress-bar-${type}`]: true,
|
|
28672
28713
|
'progress-paused': paused,
|
|
@@ -28851,7 +28892,7 @@ class Radio {
|
|
|
28851
28892
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28852
28893
|
const mode = getIonMode$1(this);
|
|
28853
28894
|
const inItem = hostContext('ion-item', el);
|
|
28854
|
-
return (hAsync(Host, { key: '
|
|
28895
|
+
return (hAsync(Host, { key: 'af5dc59ed528150872e907ed1036e3e2decba939', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28855
28896
|
[mode]: true,
|
|
28856
28897
|
'in-item': inItem,
|
|
28857
28898
|
'radio-checked': checked,
|
|
@@ -28862,10 +28903,10 @@ class Radio {
|
|
|
28862
28903
|
// Focus and active styling should not apply when the radio is in an item
|
|
28863
28904
|
'ion-activatable': !inItem,
|
|
28864
28905
|
'ion-focusable': !inItem,
|
|
28865
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28906
|
+
}), 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: {
|
|
28866
28907
|
'label-text-wrapper': true,
|
|
28867
28908
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28868
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28909
|
+
}, part: "label" }, hAsync("slot", { key: '0a4613d29aa783d1882cf889377f7e4fd4fea51d' })), hAsync("div", { key: '191faea79dc4cd8befc4b873f5bd9f5af8ca2acc', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28869
28910
|
}
|
|
28870
28911
|
get el() { return getElement(this); }
|
|
28871
28912
|
static get watchers() { return {
|
|
@@ -28898,9 +28939,9 @@ class Radio {
|
|
|
28898
28939
|
}
|
|
28899
28940
|
let radioButtonIds = 0;
|
|
28900
28941
|
|
|
28901
|
-
const radioGroupIosCss = "ion-radio-group{vertical-align:top}.radio-group-
|
|
28942
|
+
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}";
|
|
28902
28943
|
|
|
28903
|
-
const radioGroupMdCss = "ion-radio-group{vertical-align:top}.radio-group-
|
|
28944
|
+
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}";
|
|
28904
28945
|
|
|
28905
28946
|
class RadioGroup {
|
|
28906
28947
|
constructor(hostRef) {
|
|
@@ -29104,7 +29145,7 @@ class RadioGroup {
|
|
|
29104
29145
|
const { label, labelId, el, name, value } = this;
|
|
29105
29146
|
const mode = getIonMode$1(this);
|
|
29106
29147
|
renderHiddenInput(true, el, name, value, false);
|
|
29107
|
-
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("
|
|
29148
|
+
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' })));
|
|
29108
29149
|
}
|
|
29109
29150
|
get el() { return getElement(this); }
|
|
29110
29151
|
static get watchers() { return {
|
|
@@ -29864,7 +29905,7 @@ class Range {
|
|
|
29864
29905
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29865
29906
|
const mode = getIonMode$1(this);
|
|
29866
29907
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29867
|
-
return (hAsync(Host, { key: '
|
|
29908
|
+
return (hAsync(Host, { key: 'affcac4709096a48a5b4c1864b209b6352f6b078', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29868
29909
|
[mode]: true,
|
|
29869
29910
|
'in-item': inItem,
|
|
29870
29911
|
'range-disabled': disabled,
|
|
@@ -29873,10 +29914,10 @@ class Range {
|
|
|
29873
29914
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29874
29915
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29875
29916
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29876
|
-
}) }, hAsync("label", { key: '
|
|
29917
|
+
}) }, hAsync("label", { key: 'c7cf95fa831d10b17c137995d0a9e0cf84006a76', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '5b8479c7939ae0f94a042c3aafd64316e4577d30', class: {
|
|
29877
29918
|
'label-text-wrapper': true,
|
|
29878
29919
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29879
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29920
|
+
}, 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" })))));
|
|
29880
29921
|
}
|
|
29881
29922
|
get el() { return getElement(this); }
|
|
29882
29923
|
static get watchers() { return {
|
|
@@ -30843,7 +30884,7 @@ class Refresher {
|
|
|
30843
30884
|
}
|
|
30844
30885
|
render() {
|
|
30845
30886
|
const mode = getIonMode$1(this);
|
|
30846
|
-
return (hAsync(Host, { key: '
|
|
30887
|
+
return (hAsync(Host, { key: '06d61cc53260ce146dd6906cc96597e9baaa17cf', slot: "fixed", class: {
|
|
30847
30888
|
[mode]: true,
|
|
30848
30889
|
// Used internally for styling
|
|
30849
30890
|
[`refresher-${mode}`]: true,
|
|
@@ -31067,7 +31108,7 @@ class RefresherContent {
|
|
|
31067
31108
|
const pullingIcon = this.pullingIcon;
|
|
31068
31109
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
31069
31110
|
const mode = getIonMode$1(this);
|
|
31070
|
-
return (hAsync(Host, { key: '
|
|
31111
|
+
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())));
|
|
31071
31112
|
}
|
|
31072
31113
|
get el() { return getElement(this); }
|
|
31073
31114
|
static get cmpMeta() { return {
|
|
@@ -31108,7 +31149,7 @@ class Reorder {
|
|
|
31108
31149
|
render() {
|
|
31109
31150
|
const mode = getIonMode$1(this);
|
|
31110
31151
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
31111
|
-
return (hAsync(Host, { key: '
|
|
31152
|
+
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" }))));
|
|
31112
31153
|
}
|
|
31113
31154
|
get el() { return getElement(this); }
|
|
31114
31155
|
static get style() { return {
|
|
@@ -31379,7 +31420,7 @@ class ReorderGroup {
|
|
|
31379
31420
|
}
|
|
31380
31421
|
render() {
|
|
31381
31422
|
const mode = getIonMode$1(this);
|
|
31382
|
-
return (hAsync(Host, { key: '
|
|
31423
|
+
return (hAsync(Host, { key: '9527bbdedaab63d31f562c874a7332ea60c4b47b', class: {
|
|
31383
31424
|
[mode]: true,
|
|
31384
31425
|
'reorder-enabled': !this.disabled,
|
|
31385
31426
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -31495,7 +31536,7 @@ class RippleEffect {
|
|
|
31495
31536
|
}
|
|
31496
31537
|
render() {
|
|
31497
31538
|
const mode = getIonMode$1(this);
|
|
31498
|
-
return (hAsync(Host, { key: '
|
|
31539
|
+
return (hAsync(Host, { key: '3b59cbb44741569a7350f9638b4392add673b6f1', role: "presentation", class: {
|
|
31499
31540
|
[mode]: true,
|
|
31500
31541
|
unbounded: this.unbounded,
|
|
31501
31542
|
} }));
|
|
@@ -32454,10 +32495,10 @@ class RouterLink {
|
|
|
32454
32495
|
rel: this.rel,
|
|
32455
32496
|
target: this.target,
|
|
32456
32497
|
};
|
|
32457
|
-
return (hAsync(Host, { key: '
|
|
32498
|
+
return (hAsync(Host, { key: '8372835161d507c7b821b7536c55f912eb6ce704', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32458
32499
|
[mode]: true,
|
|
32459
32500
|
'ion-activatable': true,
|
|
32460
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
32501
|
+
}) }, hAsync("a", Object.assign({ key: '315966e14a17760f3f64197e8315200039787897' }, attrs), hAsync("slot", { key: '95fc1697b884225e85e647dddcaa8f4af8b9a979' }))));
|
|
32461
32502
|
}
|
|
32462
32503
|
static get style() { return routerLinkCss; }
|
|
32463
32504
|
static get cmpMeta() { return {
|
|
@@ -32654,7 +32695,7 @@ class RouterOutlet {
|
|
|
32654
32695
|
return true;
|
|
32655
32696
|
}
|
|
32656
32697
|
render() {
|
|
32657
|
-
return hAsync("slot", { key: '
|
|
32698
|
+
return hAsync("slot", { key: '386c41745b61daba161cf75063da97fe29ba36cb' });
|
|
32658
32699
|
}
|
|
32659
32700
|
get el() { return getElement(this); }
|
|
32660
32701
|
static get watchers() { return {
|
|
@@ -32687,7 +32728,7 @@ class Row {
|
|
|
32687
32728
|
registerInstance(this, hostRef);
|
|
32688
32729
|
}
|
|
32689
32730
|
render() {
|
|
32690
|
-
return (hAsync(Host, { key: '
|
|
32731
|
+
return (hAsync(Host, { key: '8ba906a8cbea060a79ed658c9bf34906f0c11d38', class: getIonMode$1(this) }, hAsync("slot", { key: 'd1009176f45b588fa52c7d9eb336f3c6d3214bb8' })));
|
|
32691
32732
|
}
|
|
32692
32733
|
static get style() { return rowCss; }
|
|
32693
32734
|
static get cmpMeta() { return {
|
|
@@ -32800,11 +32841,14 @@ class Searchbar {
|
|
|
32800
32841
|
* Clears the input field and triggers the control change.
|
|
32801
32842
|
*/
|
|
32802
32843
|
this.onClearInput = async (shouldFocus) => {
|
|
32844
|
+
if (this.clearTimeout) {
|
|
32845
|
+
clearTimeout(this.clearTimeout);
|
|
32846
|
+
}
|
|
32803
32847
|
this.ionClear.emit();
|
|
32804
32848
|
return new Promise((resolve) => {
|
|
32805
32849
|
// setTimeout() fixes https://github.com/ionic-team/ionic-framework/issues/7527
|
|
32806
32850
|
// wait for 4 frames
|
|
32807
|
-
setTimeout(() => {
|
|
32851
|
+
this.clearTimeout = setTimeout(() => {
|
|
32808
32852
|
const value = this.getValue();
|
|
32809
32853
|
if (value !== '') {
|
|
32810
32854
|
this.value = '';
|
|
@@ -32936,10 +32980,18 @@ class Searchbar {
|
|
|
32936
32980
|
this.originalIonInput = this.ionInput;
|
|
32937
32981
|
this.positionElements();
|
|
32938
32982
|
this.debounceChanged();
|
|
32939
|
-
setTimeout(() => {
|
|
32983
|
+
this.loadTimeout = setTimeout(() => {
|
|
32940
32984
|
this.noAnimate = false;
|
|
32941
32985
|
}, 300);
|
|
32942
32986
|
}
|
|
32987
|
+
disconnectedCallback() {
|
|
32988
|
+
if (this.loadTimeout) {
|
|
32989
|
+
clearTimeout(this.loadTimeout);
|
|
32990
|
+
}
|
|
32991
|
+
if (this.clearTimeout) {
|
|
32992
|
+
clearTimeout(this.clearTimeout);
|
|
32993
|
+
}
|
|
32994
|
+
}
|
|
32943
32995
|
emitStyle() {
|
|
32944
32996
|
this.ionStyle.emit({
|
|
32945
32997
|
searchbar: true,
|
|
@@ -33128,8 +33180,8 @@ class Searchbar {
|
|
|
33128
33180
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
33129
33181
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
33130
33182
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
33131
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
33132
|
-
return (hAsync(Host, { key: '
|
|
33183
|
+
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))));
|
|
33184
|
+
return (hAsync(Host, { key: '219c263c1f3cc63e18bc2d2ba5d672b7806eddd0', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
33133
33185
|
[mode]: true,
|
|
33134
33186
|
'searchbar-animated': animated,
|
|
33135
33187
|
'searchbar-disabled': this.disabled,
|
|
@@ -33139,14 +33191,14 @@ class Searchbar {
|
|
|
33139
33191
|
'searchbar-has-focus': this.focused,
|
|
33140
33192
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
33141
33193
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
33142
|
-
}) }, hAsync("div", { key: '
|
|
33194
|
+
}) }, 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) => {
|
|
33143
33195
|
/**
|
|
33144
33196
|
* This prevents mobile browsers from
|
|
33145
33197
|
* blurring the input when the clear
|
|
33146
33198
|
* button is activated.
|
|
33147
33199
|
*/
|
|
33148
33200
|
ev.preventDefault();
|
|
33149
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
33201
|
+
}, 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));
|
|
33150
33202
|
}
|
|
33151
33203
|
get el() { return getElement(this); }
|
|
33152
33204
|
static get watchers() { return {
|
|
@@ -33741,14 +33793,14 @@ class Segment {
|
|
|
33741
33793
|
}
|
|
33742
33794
|
render() {
|
|
33743
33795
|
const mode = getIonMode$1(this);
|
|
33744
|
-
return (hAsync(Host, { key: '
|
|
33796
|
+
return (hAsync(Host, { key: '725cc37b25c539fa5e3ae8d90530ae33ededc3de', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33745
33797
|
[mode]: true,
|
|
33746
33798
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33747
33799
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33748
33800
|
'segment-activated': this.activated,
|
|
33749
33801
|
'segment-disabled': this.disabled,
|
|
33750
33802
|
'segment-scrollable': this.scrollable,
|
|
33751
|
-
}) }, hAsync("slot", { key: '
|
|
33803
|
+
}) }, hAsync("slot", { key: 'c51cf7ea50325866a9367d214e12bc3754870335', onSlotchange: this.onSlottedItemsChange })));
|
|
33752
33804
|
}
|
|
33753
33805
|
get el() { return getElement(this); }
|
|
33754
33806
|
static get watchers() { return {
|
|
@@ -33888,7 +33940,7 @@ class SegmentButton {
|
|
|
33888
33940
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33889
33941
|
const mode = getIonMode$1(this);
|
|
33890
33942
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33891
|
-
return (hAsync(Host, { key: '
|
|
33943
|
+
return (hAsync(Host, { key: 'f69e2a24198a7c57543dbe66902da039a6569c64', class: {
|
|
33892
33944
|
[mode]: true,
|
|
33893
33945
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33894
33946
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33904,7 +33956,7 @@ class SegmentButton {
|
|
|
33904
33956
|
'ion-activatable': true,
|
|
33905
33957
|
'ion-activatable-instant': true,
|
|
33906
33958
|
'ion-focusable': true,
|
|
33907
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33959
|
+
} }, 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" }))));
|
|
33908
33960
|
}
|
|
33909
33961
|
get el() { return getElement(this); }
|
|
33910
33962
|
static get watchers() { return {
|
|
@@ -33939,7 +33991,7 @@ class SegmentContent {
|
|
|
33939
33991
|
registerInstance(this, hostRef);
|
|
33940
33992
|
}
|
|
33941
33993
|
render() {
|
|
33942
|
-
return (hAsync(Host, { key: '
|
|
33994
|
+
return (hAsync(Host, { key: '665f41a854621f898eaf7ba9a49e77cc9326501e' }, hAsync("slot", { key: '635aa57fbf6167dcd36fe8dc5dfc1c313637ac04' })));
|
|
33943
33995
|
}
|
|
33944
33996
|
static get style() { return segmentContentCss; }
|
|
33945
33997
|
static get cmpMeta() { return {
|
|
@@ -34054,10 +34106,10 @@ class SegmentView {
|
|
|
34054
34106
|
}
|
|
34055
34107
|
render() {
|
|
34056
34108
|
const { disabled, isManualScroll } = this;
|
|
34057
|
-
return (hAsync(Host, { key: '
|
|
34109
|
+
return (hAsync(Host, { key: '1c9bfce83967a93d63c225031a5cd688509d8fc8', class: {
|
|
34058
34110
|
'segment-view-disabled': disabled,
|
|
34059
34111
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
34060
|
-
} }, hAsync("slot", { key: '
|
|
34112
|
+
} }, hAsync("slot", { key: '19fee034e76fffbdb5f622cb514037c00f9d55d5' })));
|
|
34061
34113
|
}
|
|
34062
34114
|
get el() { return getElement(this); }
|
|
34063
34115
|
static get style() { return {
|
|
@@ -34824,7 +34876,7 @@ class Select {
|
|
|
34824
34876
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34825
34877
|
*/
|
|
34826
34878
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34827
|
-
return (hAsync(Host, { key: '
|
|
34879
|
+
return (hAsync(Host, { key: '9f0a833ebc3df27a42146b07bcbb181c05f5e5c4', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34828
34880
|
[mode]: true,
|
|
34829
34881
|
'in-item': inItem,
|
|
34830
34882
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34842,7 +34894,7 @@ class Select {
|
|
|
34842
34894
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34843
34895
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34844
34896
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34845
|
-
}) }, hAsync("label", { key: '
|
|
34897
|
+
}) }, 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()));
|
|
34846
34898
|
}
|
|
34847
34899
|
get el() { return getElement(this); }
|
|
34848
34900
|
static get watchers() { return {
|
|
@@ -35003,7 +35055,7 @@ class SelectModal {
|
|
|
35003
35055
|
} }, option.text))));
|
|
35004
35056
|
}
|
|
35005
35057
|
render() {
|
|
35006
|
-
return (hAsync(Host, { key: '
|
|
35058
|
+
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()))));
|
|
35007
35059
|
}
|
|
35008
35060
|
get el() { return getElement(this); }
|
|
35009
35061
|
static get style() { return {
|
|
@@ -35037,7 +35089,7 @@ class SelectOption {
|
|
|
35037
35089
|
this.disabled = false;
|
|
35038
35090
|
}
|
|
35039
35091
|
render() {
|
|
35040
|
-
return hAsync(Host, { key: '
|
|
35092
|
+
return hAsync(Host, { key: '824730b6c1e4f15b716e91b05840e890af5f1577', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
35041
35093
|
}
|
|
35042
35094
|
get el() { return getElement(this); }
|
|
35043
35095
|
static get style() { return selectOptionCss; }
|
|
@@ -35154,7 +35206,7 @@ class SelectPopover {
|
|
|
35154
35206
|
render() {
|
|
35155
35207
|
const { header, message, options, subHeader } = this;
|
|
35156
35208
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
35157
|
-
return (hAsync(Host, { key: '
|
|
35209
|
+
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))));
|
|
35158
35210
|
}
|
|
35159
35211
|
get el() { return getElement(this); }
|
|
35160
35212
|
static get style() { return {
|
|
@@ -35204,11 +35256,11 @@ class SkeletonText {
|
|
|
35204
35256
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
35205
35257
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
35206
35258
|
const mode = getIonMode$1(this);
|
|
35207
|
-
return (hAsync(Host, { key: '
|
|
35259
|
+
return (hAsync(Host, { key: 'cb8da9aba121811b9a4ffdae60ed88105897cb3c', class: {
|
|
35208
35260
|
[mode]: true,
|
|
35209
35261
|
'skeleton-text-animated': animated,
|
|
35210
35262
|
'in-media': inMedia,
|
|
35211
|
-
} }, hAsync("span", { key: '
|
|
35263
|
+
} }, hAsync("span", { key: '5379deee3c76d46d615be0cba14b4f60129ffa25' }, "\u00A0")));
|
|
35212
35264
|
}
|
|
35213
35265
|
get el() { return getElement(this); }
|
|
35214
35266
|
static get style() { return skeletonTextCss; }
|
|
@@ -35260,7 +35312,7 @@ class Spinner {
|
|
|
35260
35312
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
35261
35313
|
}
|
|
35262
35314
|
}
|
|
35263
|
-
return (hAsync(Host, { key: '
|
|
35315
|
+
return (hAsync(Host, { key: 'dd1954e557fa14b943e761474e29e4316ba53938', class: createColorClasses$1(self.color, {
|
|
35264
35316
|
[mode]: true,
|
|
35265
35317
|
[`spinner-${spinnerName}`]: true,
|
|
35266
35318
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -35359,12 +35411,12 @@ class SplitPane {
|
|
|
35359
35411
|
}
|
|
35360
35412
|
render() {
|
|
35361
35413
|
const mode = getIonMode$1(this);
|
|
35362
|
-
return (hAsync(Host, { key: '
|
|
35414
|
+
return (hAsync(Host, { key: '05c88c009fbe2e223fd261760a2b49da1653ff62', class: {
|
|
35363
35415
|
[mode]: true,
|
|
35364
35416
|
// Used internally for styling
|
|
35365
35417
|
[`split-pane-${mode}`]: true,
|
|
35366
35418
|
'split-pane-visible': this.visible,
|
|
35367
|
-
} }, hAsync("slot", { key: '
|
|
35419
|
+
} }, hAsync("slot", { key: 'b35865082661253c4468520d79234fa5dab5bd35' })));
|
|
35368
35420
|
}
|
|
35369
35421
|
get el() { return getElement(this); }
|
|
35370
35422
|
static get watchers() { return {
|
|
@@ -35430,10 +35482,10 @@ class Tab {
|
|
|
35430
35482
|
}
|
|
35431
35483
|
render() {
|
|
35432
35484
|
const { tab, active, component } = this;
|
|
35433
|
-
return (hAsync(Host, { key: '
|
|
35485
|
+
return (hAsync(Host, { key: 'fbd837bad7a0632336d46a597ace23673b153e48', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
35434
35486
|
'ion-page': component === undefined,
|
|
35435
35487
|
'tab-hidden': !active,
|
|
35436
|
-
} }, hAsync("slot", { key: '
|
|
35488
|
+
} }, hAsync("slot", { key: '35c218169fda826c9c1337558e0278d0c7f5f26a' })));
|
|
35437
35489
|
}
|
|
35438
35490
|
get el() { return getElement(this); }
|
|
35439
35491
|
static get watchers() { return {
|
|
@@ -35545,11 +35597,11 @@ class TabBar {
|
|
|
35545
35597
|
const { color, translucent, keyboardVisible } = this;
|
|
35546
35598
|
const mode = getIonMode$1(this);
|
|
35547
35599
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35548
|
-
return (hAsync(Host, { key: '
|
|
35600
|
+
return (hAsync(Host, { key: '24e164eaf81a0bec9237b561465618f10990806c', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35549
35601
|
[mode]: true,
|
|
35550
35602
|
'tab-bar-translucent': translucent,
|
|
35551
35603
|
'tab-bar-hidden': shouldHide,
|
|
35552
|
-
}) }, hAsync("slot", { key: '
|
|
35604
|
+
}) }, hAsync("slot", { key: '0ca29a2d97a7c38bbf43f8d79e271b874b4d9be8' })));
|
|
35553
35605
|
}
|
|
35554
35606
|
get el() { return getElement(this); }
|
|
35555
35607
|
static get watchers() { return {
|
|
@@ -35645,7 +35697,7 @@ class TabButton {
|
|
|
35645
35697
|
rel,
|
|
35646
35698
|
target,
|
|
35647
35699
|
};
|
|
35648
|
-
return (hAsync(Host, { key: '
|
|
35700
|
+
return (hAsync(Host, { key: '638b93ef40701ec3aefb89b1579eb91aaf6d4f8a', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35649
35701
|
[mode]: true,
|
|
35650
35702
|
'tab-selected': selected,
|
|
35651
35703
|
'tab-disabled': disabled,
|
|
@@ -35657,7 +35709,7 @@ class TabButton {
|
|
|
35657
35709
|
'ion-activatable': true,
|
|
35658
35710
|
'ion-selectable': true,
|
|
35659
35711
|
'ion-focusable': true,
|
|
35660
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35712
|
+
} }, 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" }))));
|
|
35661
35713
|
}
|
|
35662
35714
|
get el() { return getElement(this); }
|
|
35663
35715
|
static get style() { return {
|
|
@@ -35848,7 +35900,7 @@ class Tabs {
|
|
|
35848
35900
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35849
35901
|
}
|
|
35850
35902
|
render() {
|
|
35851
|
-
return (hAsync(Host, { key: '
|
|
35903
|
+
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" })));
|
|
35852
35904
|
}
|
|
35853
35905
|
get el() { return getElement(this); }
|
|
35854
35906
|
static get style() { return tabsCss; }
|
|
@@ -35888,9 +35940,9 @@ class Text {
|
|
|
35888
35940
|
}
|
|
35889
35941
|
render() {
|
|
35890
35942
|
const mode = getIonMode$1(this);
|
|
35891
|
-
return (hAsync(Host, { key: '
|
|
35943
|
+
return (hAsync(Host, { key: 'bfaa49d35f43b8036725ae8a322c716fc6e43bdf', class: createColorClasses$1(this.color, {
|
|
35892
35944
|
[mode]: true,
|
|
35893
|
-
}) }, hAsync("slot", { key: '
|
|
35945
|
+
}) }, hAsync("slot", { key: 'c04880cd1935b42cbe60f58fd523b4d8a96072dc' })));
|
|
35894
35946
|
}
|
|
35895
35947
|
static get style() { return textCss; }
|
|
35896
35948
|
static get cmpMeta() { return {
|
|
@@ -36351,7 +36403,7 @@ class Textarea {
|
|
|
36351
36403
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
36352
36404
|
*/
|
|
36353
36405
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
36354
|
-
return (hAsync(Host, { key: '
|
|
36406
|
+
return (hAsync(Host, { key: '2c9de566803dd007cee3639ddd04accb68663b32', class: createColorClasses$1(this.color, {
|
|
36355
36407
|
[mode]: true,
|
|
36356
36408
|
'has-value': hasValue,
|
|
36357
36409
|
'has-focus': hasFocus,
|
|
@@ -36360,7 +36412,7 @@ class Textarea {
|
|
|
36360
36412
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
36361
36413
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
36362
36414
|
'textarea-disabled': disabled,
|
|
36363
|
-
}) }, hAsync("label", { key: '
|
|
36415
|
+
}) }, 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()));
|
|
36364
36416
|
}
|
|
36365
36417
|
get el() { return getElement(this); }
|
|
36366
36418
|
static get watchers() { return {
|
|
@@ -36423,7 +36475,7 @@ class Thumbnail {
|
|
|
36423
36475
|
registerInstance(this, hostRef);
|
|
36424
36476
|
}
|
|
36425
36477
|
render() {
|
|
36426
|
-
return (hAsync(Host, { key: '
|
|
36478
|
+
return (hAsync(Host, { key: 'b250e01664238f1dca8f9757b15bc3d5d9387ffa', class: getIonMode$1(this) }, hAsync("slot", { key: '72cb568bccabc983c5186a7596ef6c6d4ebf5ad9' })));
|
|
36427
36479
|
}
|
|
36428
36480
|
static get style() { return thumbnailCss; }
|
|
36429
36481
|
static get cmpMeta() { return {
|
|
@@ -37281,9 +37333,9 @@ class Toast {
|
|
|
37281
37333
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
37282
37334
|
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);
|
|
37283
37335
|
}
|
|
37284
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
37336
|
+
return (hAsync(Host, Object.assign({ key: '4a303f9ebb69614e9dca677d9d80a4a275de0d85', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
37285
37337
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
37286
|
-
}, 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: '
|
|
37338
|
+
}, 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')))));
|
|
37287
37339
|
}
|
|
37288
37340
|
get el() { return getElement(this); }
|
|
37289
37341
|
static get watchers() { return {
|
|
@@ -37595,7 +37647,7 @@ class Toggle {
|
|
|
37595
37647
|
const value = this.getValue();
|
|
37596
37648
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37597
37649
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37598
|
-
return (hAsync(Host, { key: '
|
|
37650
|
+
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, {
|
|
37599
37651
|
[mode]: true,
|
|
37600
37652
|
'in-item': hostContext('ion-item', el),
|
|
37601
37653
|
'toggle-activated': activated,
|
|
@@ -37605,10 +37657,10 @@ class Toggle {
|
|
|
37605
37657
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37606
37658
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37607
37659
|
[`toggle-${rtl}`]: true,
|
|
37608
|
-
}) }, hAsync("label", { key: '
|
|
37660
|
+
}) }, 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: {
|
|
37609
37661
|
'label-text-wrapper': true,
|
|
37610
37662
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37611
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37663
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '006dd3558264d69ab020c07005b348adc4ecdd5b' }), this.renderHintText()), hAsync("div", { key: 'dd4e52de31caabee41ec1bc58efecd1e213368c9', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37612
37664
|
}
|
|
37613
37665
|
get el() { return getElement(this); }
|
|
37614
37666
|
static get watchers() { return {
|
|
@@ -37718,10 +37770,10 @@ class Toolbar {
|
|
|
37718
37770
|
this.childrenStyles.forEach((value) => {
|
|
37719
37771
|
Object.assign(childStyles, value);
|
|
37720
37772
|
});
|
|
37721
|
-
return (hAsync(Host, { key: '
|
|
37773
|
+
return (hAsync(Host, { key: 'b849db2863778dee6c5a251bffa1b3a657aeb036', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37722
37774
|
[mode]: true,
|
|
37723
37775
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37724
|
-
})) }, hAsync("div", { key: '
|
|
37776
|
+
})) }, 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" }))));
|
|
37725
37777
|
}
|
|
37726
37778
|
get el() { return getElement(this); }
|
|
37727
37779
|
static get style() { return {
|
|
@@ -37767,11 +37819,11 @@ class ToolbarTitle {
|
|
|
37767
37819
|
render() {
|
|
37768
37820
|
const mode = getIonMode$1(this);
|
|
37769
37821
|
const size = this.getSize();
|
|
37770
|
-
return (hAsync(Host, { key: '
|
|
37822
|
+
return (hAsync(Host, { key: '44e63f8439df64c470692904427b417e19406476', class: createColorClasses$1(this.color, {
|
|
37771
37823
|
[mode]: true,
|
|
37772
37824
|
[`title-${size}`]: true,
|
|
37773
37825
|
'title-rtl': document.dir === 'rtl',
|
|
37774
|
-
}) }, hAsync("div", { key: '
|
|
37826
|
+
}) }, hAsync("div", { key: '784cf60a0db16045391891cc8fad0c7dbeba4039', class: "toolbar-title" }, hAsync("slot", { key: '0c720a50479ba257e8756337aeb9b0ab7516a227' }))));
|
|
37775
37827
|
}
|
|
37776
37828
|
get el() { return getElement(this); }
|
|
37777
37829
|
static get watchers() { return {
|