@ionic/core 9.0.12-nightly.20261116 → 9.0.12
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 +1 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-app.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-backdrop.js +1 -1
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-buttons.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-icon.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- 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 +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-route-redirect.js +1 -1
- package/components/ion-route.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-router.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-4z5TSFKN.js +4 -0
- package/components/p-B4e-N-iU.js +4 -0
- package/components/{p-DVa8nma_.js → p-BAId-lif.js} +1 -1
- package/components/{p-CsEqD5L_.js → p-BG2WJ00s.js} +1 -1
- package/components/p-BPHUpiiM.js +4 -0
- package/components/{p-C6Eoe8TE.js → p-BPhmNtm9.js} +1 -1
- package/components/{p-BAAtTHkh.js → p-BVP5mSVm.js} +1 -1
- package/components/p-BW8F7e0i.js +4 -0
- package/components/{p-CHw0oDIX.js → p-BbKlaMtT.js} +1 -1
- package/components/{p-5LnxYgt7.js → p-BeFfed0O.js} +1 -1
- package/components/{p-DVRS13xd.js → p-BiZyTqN_.js} +1 -1
- package/components/p-BjZLJLiN.js +4 -0
- package/components/{p-B89FqNe7.js → p-BmBGUFc2.js} +1 -1
- package/components/{p-D3Kil3Ox.js → p-Bs6l0hmn.js} +1 -1
- package/{dist/ionic/p-Cw2UdaY3.js → components/p-C1FMVh-c.js} +1 -1
- package/components/p-C2VUMtb_.js +4 -0
- package/components/{p-oTJGwohD.js → p-CEQhyzEV.js} +1 -1
- package/components/{p-D7J-iv5T.js → p-CGPlqk2U.js} +1 -1
- package/components/{p-B7yqIgHT.js → p-CIqj2_kr.js} +1 -1
- package/components/{p-Bp-vRdq-.js → p-CK5LoZgF.js} +1 -1
- package/components/p-CjipsCSh.js +4 -0
- package/components/{p-Zt5D5E38.js → p-CkBN8nLu.js} +1 -1
- package/components/{p-DC4wQB6i.js → p-CmuQBpNF.js} +1 -1
- package/components/{p-Dv4a334J.js → p-CnlUj9Gp.js} +1 -1
- package/components/{p-BU1um0go.js → p-CoZdMyjc.js} +1 -1
- package/components/p-Cu22S_Bl.js +4 -0
- package/components/{p-Cjd_foSx.js → p-CvJCRpUX.js} +1 -1
- package/components/{p-BE1iSZxK.js → p-Cw7d5DbA.js} +1 -1
- package/components/p-D-9Kbp9V.js +4 -0
- package/components/{p-BaD2k7-g.js → p-D76C9Iw8.js} +1 -1
- package/components/{p-BEN_dW38.js → p-DJGnlsxd.js} +1 -1
- package/{dist/ionic/p-Ci4965j8.js → components/p-DMViqAgW.js} +1 -1
- package/components/p-DXwlA9fK.js +4 -0
- package/components/p-DZnVmCdW.js +4 -0
- package/components/p-D_mpvgZo.js +4 -0
- package/components/p-DaM57RSp.js +4 -0
- package/components/p-Debuc-PI.js +4 -0
- package/components/p-Dga790ke.js +4 -0
- package/components/{p-DX2WL1Da.js → p-DjCSZZsZ.js} +1 -1
- package/components/{p-By_XQw23.js → p-DjaPZRNp.js} +1 -1
- package/components/{p-CSwBJDKF.js → p-DjkKiJ-Z.js} +1 -1
- package/components/{p-CyOxaozL.js → p-DluP6kjT.js} +1 -1
- package/components/{p-C7PoQnxN.js → p-DmMCzf7n.js} +1 -1
- package/components/{p-DrXp7JFH.js → p-DvVp-N7F.js} +1 -1
- package/components/p-H5MjXgsw.js +4 -0
- package/components/{p-CApfTEZu.js → p-MmeVOM-P.js} +1 -1
- package/{dist/ionic/p-7hQRImkK.js → components/p-QTccyPJk.js} +1 -1
- package/components/{p-2r7QpBW2.js → p-SWkzJ3qv.js} +1 -1
- package/components/p-V0GEPf8E.js +4 -0
- package/components/p-VYhssPGK.js +4 -0
- package/components/{p-BRwclc4v.js → p-XbNDx_fA.js} +1 -1
- package/components/p-d8PmTFON.js +4 -0
- package/components/{p-BPW1yhC5.js → p-oIGmkL03.js} +1 -1
- package/components/{p-Dt1Xl4fS.js → p-ofv0IK1O.js} +1 -1
- package/dist/cjs/{animation-B7oGwLLy.js → animation-DlzccfDd.js} +2 -2
- package/dist/cjs/{app-globals-CIBBAkMv.js → app-globals-BBnfXNGo.js} +1 -1
- package/dist/cjs/{attribute-controller-CWz9nryP.js → attribute-controller-DFB7TQyv.js} +1 -1
- package/dist/cjs/{button-active-B9Tkc4mf.js → button-active-BQ2S4ZWy.js} +2 -2
- package/dist/cjs/{capacitor-MxFQgshb.js → capacitor-C3jqMZUp.js} +1 -1
- package/dist/cjs/{format-CqApCy46.js → format-BYl04xWn.js} +1 -1
- package/dist/cjs/{framework-delegate-DAKg2Azt.js → framework-delegate-DaCOvv4f.js} +1 -1
- package/dist/cjs/{haptic-CRRCyhfL.js → haptic-CoLjHjMM.js} +1 -1
- package/dist/cjs/{helpers-BDvjDsXt.js → helpers-DNBm7IvL.js} +1 -1
- package/dist/cjs/{index-BashZvQB.js → index-B-9fVZ1n.js} +4 -4
- package/dist/cjs/{index-BecWuzkK.js → index-B9cvjLlx.js} +2 -2
- package/dist/cjs/{index-DJX-8rkB.js → index-BVExV68H.js} +1 -1
- package/dist/cjs/{index-D02LHDVd.js → index-BjukzfRx.js} +2 -2
- package/dist/cjs/{index-BUIZTwKD.js → index-COPA2qmr.js} +5 -5
- package/dist/cjs/{index-CKee8md4.js → index-vpLyKa3B.js} +16 -6
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-ClPpap7E.js → input-shims-C55ajY7V.js} +5 -5
- package/dist/cjs/{input.utils-DXw7l7p9.js → input.utils-CBj7zmfe.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +15 -14
- package/dist/cjs/ion-alert.cjs.entry.js +14 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +21 -21
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime.cjs.entry.js +6 -6
- package/dist/cjs/ion-fab_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +18 -8
- package/dist/cjs/ion-item-option_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-item_8.cjs.entry.js +8 -8
- package/dist/cjs/ion-loading.cjs.entry.js +10 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-modal.cjs.entry.js +18 -17
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +12 -11
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +7 -7
- package/dist/cjs/ion-refresher_2.cjs.entry.js +10 -10
- package/dist/cjs/ion-reorder_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +7 -7
- package/dist/cjs/ion-searchbar.cjs.entry.js +17 -7
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-select-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +13 -13
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +11 -11
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +7 -7
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +9 -9
- package/dist/cjs/{ionic-global-Bt1gOF3y.js → ionic-global-QTK6g1fO.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-CExZyoOI.js → ios.transition-B3ZEimAt.js} +4 -4
- package/dist/cjs/{item-multiple-inputs-DCadv5DD.js → item-multiple-inputs-BCXLvS-7.js} +1 -1
- package/dist/cjs/{keyboard-DcLeJI_8.js → keyboard-D09lu9Ui.js} +4 -4
- package/dist/cjs/{keyboard-controller-BMyz0P1a.js → keyboard-controller-DdjUnixl.js} +2 -2
- package/dist/cjs/{keyboard-OOIuCa13.js → keyboard-m0YvDiQo.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-DaAVTRvs.js → md.transition-C6bsrBL9.js} +4 -4
- package/dist/cjs/overlay-focus-boundary-CSrlxrNh.js +42 -0
- package/dist/cjs/{overlays-D4y6dLkd.js → overlays-CQn_A50_.js} +8 -43
- package/dist/cjs/page-restore-DAn6uyjc.js +51 -0
- package/dist/cjs/{select-option-render-XNNDfPjV.js → select-option-render-DlDqVzKp.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-DPIgf5CF.js → slot-mutation-controller-CefCz349.js} +1 -1
- package/dist/cjs/{status-tap-DsMxsZJD.js → status-tap-kGuqyCj0.js} +3 -3
- package/dist/cjs/{swipe-back-DTBGxsBq.js → swipe-back-qjHVCapG.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-sheet/action-sheet.js +4 -3
- package/dist/collection/components/alert/alert.js +3 -2
- package/dist/collection/components/input/input.js +19 -4
- package/dist/collection/components/loading/loading.js +3 -2
- package/dist/collection/components/modal/modal.ios.css +8 -0
- package/dist/collection/components/modal/modal.js +5 -4
- package/dist/collection/components/modal/modal.md.css +8 -0
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/popover/popover.ios.css +8 -0
- package/dist/collection/components/popover/popover.js +3 -2
- package/dist/collection/components/popover/popover.md.css +8 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- 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 +23 -4
- 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/collection/utils/forms/index.js +1 -0
- package/dist/collection/utils/forms/page-restore.js +46 -0
- package/dist/collection/utils/overlay-focus-boundary.js +37 -0
- package/dist/collection/utils/overlays.js +4 -39
- package/dist/docs.json +16 -3
- package/dist/esm/{animation-DC5AcIYI.js → animation-BYD6qYqw.js} +2 -2
- package/dist/esm/{app-globals-BFed4dT0.js → app-globals-CYnbK2w5.js} +1 -1
- package/dist/esm/{attribute-controller-CWhjOrjK.js → attribute-controller-CsxlVqNe.js} +1 -1
- package/dist/esm/{button-active-C2jz6R8a.js → button-active-DPPm_VjM.js} +2 -2
- package/dist/esm/{capacitor-Bt0eJ0hM.js → capacitor-BtVqr-0a.js} +1 -1
- package/dist/esm/{format-C833IXB1.js → format-BgKTubOe.js} +1 -1
- package/dist/esm/{framework-delegate-DnTzYR1W.js → framework-delegate-_-r5Mbs1.js} +1 -1
- package/dist/esm/{haptic-ChR8my2M.js → haptic-DatoB-5Q.js} +1 -1
- package/dist/esm/{helpers-BvbUHGGm.js → helpers-BGy986qP.js} +1 -1
- package/dist/esm/{index-BObCPR8a.js → index-BUron7QJ.js} +2 -2
- package/dist/esm/{index-MGm9Sl6h.js → index-D22yGpGL.js} +4 -4
- package/dist/esm/{index-DFG3GaUN.js → index-DINFvBJj.js} +2 -2
- package/dist/esm/{index-I3r9qsv0.js → index-QObOymXw.js} +1 -1
- package/dist/esm/{index-BGtO2Fhf.js → index-uFStprb5.js} +16 -6
- package/dist/esm/{index-BXaoLxIE.js → index-yy1nOLQ-.js} +5 -5
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-DmHorap3.js → input-shims-DxCUOpoX.js} +5 -5
- package/dist/esm/{input.utils-CBbgDLtb.js → input.utils-BIAhIO4-.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +15 -14
- package/dist/esm/ion-alert.entry.js +14 -13
- package/dist/esm/ion-app_8.entry.js +21 -21
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +4 -4
- package/dist/esm/ion-button_2.entry.js +4 -4
- package/dist/esm/ion-card_5.entry.js +4 -4
- package/dist/esm/ion-checkbox.entry.js +4 -4
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime.entry.js +6 -6
- package/dist/esm/ion-fab_3.entry.js +4 -4
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +18 -8
- package/dist/esm/ion-item-option_3.entry.js +5 -5
- package/dist/esm/ion-item_8.entry.js +8 -8
- package/dist/esm/ion-loading.entry.js +10 -9
- package/dist/esm/ion-menu_3.entry.js +8 -8
- package/dist/esm/ion-modal.entry.js +18 -17
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-option.entry.js +5 -5
- package/dist/esm/ion-picker-column.entry.js +5 -5
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +12 -11
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +7 -7
- package/dist/esm/ion-refresher_2.entry.js +10 -10
- package/dist/esm/ion-reorder_2.entry.js +8 -8
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +7 -7
- package/dist/esm/ion-searchbar.entry.js +17 -7
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +8 -8
- package/dist/esm/ion-select-modal.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +13 -13
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +11 -11
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +7 -7
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +9 -9
- package/dist/esm/{ionic-global-BDyJ_8I-.js → ionic-global-BUMBTNBh.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-BRRzMHfK.js → ios.transition-BpwDTdvj.js} +4 -4
- package/dist/esm/{item-multiple-inputs-IPlsPhUJ.js → item-multiple-inputs-0UgndTBq.js} +1 -1
- package/dist/esm/{keyboard-BFjnkNMv.js → keyboard-7B2XoG-w.js} +1 -1
- package/dist/esm/{keyboard-DUoJXTRE.js → keyboard-BYoxr1oW.js} +4 -4
- package/dist/esm/{keyboard-controller-BA84p4ML.js → keyboard-controller-YSWkCPGy.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-BlNVIP5o.js → md.transition-8JQ5A2YB.js} +4 -4
- package/dist/esm/overlay-focus-boundary-CWQiIajC.js +40 -0
- package/dist/esm/{overlays-DR4E-YYD.js → overlays-CzadOuIw.js} +9 -44
- package/dist/esm/page-restore-CNWCTzxd.js +49 -0
- package/dist/esm/{select-option-render-BUBAvw2_.js → select-option-render-DHHau8BW.js} +2 -2
- package/dist/esm/{slot-mutation-controller-DBmgz_0k.js → slot-mutation-controller-DNxd1bl7.js} +1 -1
- package/dist/esm/{status-tap-z4LuyVUt.js → status-tap-BiQx78ee.js} +3 -3
- package/dist/esm/{swipe-back-C1eBKfiK.js → swipe-back-CZd7IfGd.js} +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-061ba881.entry.js +4 -0
- package/dist/ionic/{p-05a057fb.entry.js → p-10ed267f.entry.js} +1 -1
- package/dist/ionic/p-156cd0c6.entry.js +4 -0
- package/dist/ionic/{p-1a4d6cf3.entry.js → p-16c12ab0.entry.js} +1 -1
- package/dist/ionic/{p-1616c2e3.entry.js → p-29b5c451.entry.js} +1 -1
- package/dist/ionic/{p-cece425e.entry.js → p-38b60d46.entry.js} +1 -1
- package/dist/ionic/{p-ec4dbb45.entry.js → p-39109311.entry.js} +1 -1
- package/dist/ionic/{p-2b7d88a2.entry.js → p-41595411.entry.js} +1 -1
- package/dist/ionic/{p-9e3b3263.entry.js → p-49353ba3.entry.js} +1 -1
- package/dist/ionic/{p-4f02f020.entry.js → p-502b3b55.entry.js} +1 -1
- package/dist/ionic/{p-1fbe7d66.entry.js → p-50e0cf1e.entry.js} +1 -1
- package/dist/ionic/{p-6a746af4.entry.js → p-59440b91.entry.js} +1 -1
- package/dist/ionic/{p-74dda4e5.entry.js → p-5a79d5f5.entry.js} +1 -1
- package/dist/ionic/{p-6e7d46fa.entry.js → p-5d45d791.entry.js} +1 -1
- package/dist/ionic/{p-ac85985b.entry.js → p-63be88eb.entry.js} +1 -1
- package/dist/ionic/{p-66adc5a1.entry.js → p-6f40f52a.entry.js} +1 -1
- package/dist/ionic/p-6fc4784d.entry.js +4 -0
- package/dist/ionic/{p-c1209b84.entry.js → p-725ca555.entry.js} +1 -1
- package/dist/ionic/{p-4ecf0d94.entry.js → p-74d4dcce.entry.js} +1 -1
- package/dist/ionic/p-7b0aef50.entry.js +4 -0
- package/dist/ionic/{p-79e645bd.entry.js → p-7c2e9d9f.entry.js} +1 -1
- package/dist/ionic/{p-6031e8ec.entry.js → p-81f1c2ae.entry.js} +1 -1
- package/dist/ionic/{p-465331aa.entry.js → p-8f9fa3c7.entry.js} +1 -1
- package/dist/ionic/{p-1b7a15d4.entry.js → p-9321f62f.entry.js} +1 -1
- package/dist/ionic/{p-b922806b.entry.js → p-952409d3.entry.js} +1 -1
- package/dist/ionic/{p-C7A9OQcL.js → p-BAqE8tUg.js} +1 -1
- package/dist/ionic/p-BBBnHcNG.js +4 -0
- package/dist/ionic/p-BFtwn6zO.js +4 -0
- package/dist/ionic/{p-de2BC0yO.js → p-BHPNO6ja.js} +1 -1
- package/dist/ionic/p-BRzjwFMi.js +4 -0
- package/dist/ionic/{p-Djxbup9p.js → p-BZf0THeN.js} +1 -1
- package/dist/ionic/p-B_Md9dSU.js +4 -0
- package/dist/ionic/{p-CNyAVKal.js → p-Behw7xh8.js} +1 -1
- package/dist/ionic/{p-ynrl9u5l.js → p-Bp47w0ZS.js} +1 -1
- package/dist/ionic/p-Bs8mucSo.js +4 -0
- package/dist/ionic/{p-DRGrDfWv.js → p-BxHLmLX1.js} +1 -1
- package/dist/ionic/{p-D0_5-Ckh.js → p-CGfIEco6.js} +1 -1
- package/{components/p-DDML-XXM.js → dist/ionic/p-CIlx2LFR.js} +1 -1
- package/dist/ionic/{p-BkcYeWXi.js → p-CJQh8p4r.js} +1 -1
- package/dist/ionic/p-CSH25_Bl.js +4 -0
- package/dist/ionic/{p-C_0lvVN_.js → p-C_a0nr27.js} +1 -1
- package/dist/ionic/{p-DJqMQDf-.js → p-D981kEuI.js} +1 -1
- package/dist/ionic/p-DNevhlPw.js +4 -0
- package/dist/ionic/p-DOAJgEZe.js +4 -0
- package/dist/ionic/p-DQEwYoYk.js +4 -0
- package/{components/p-D2CH_C1y.js → dist/ionic/p-DW5lJnDf.js} +1 -1
- package/dist/ionic/p-DZWBS9J6.js +4 -0
- package/dist/ionic/p-Dnxv8bGO.js +4 -0
- package/dist/ionic/{p-CjUT_VTP.js → p-DtzLTqLT.js} +1 -1
- package/dist/ionic/{p-B9cO-kYV.js → p-Dy5ODIkp.js} +1 -1
- package/dist/ionic/p-TucAhQ7c.js +4 -0
- package/dist/ionic/p-YsbDGprQ.js +4 -0
- package/dist/ionic/{p-d0d4482d.entry.js → p-a63e20ae.entry.js} +1 -1
- package/dist/ionic/p-b2693dfd.entry.js +4 -0
- package/dist/ionic/{p-b872f43e.entry.js → p-b33969da.entry.js} +1 -1
- package/dist/ionic/{p-d4afa00a.entry.js → p-b5d7df34.entry.js} +1 -1
- package/dist/ionic/p-b9dd7fd3.entry.js +4 -0
- package/dist/ionic/{p-53b6ab69.entry.js → p-bd6286d3.entry.js} +1 -1
- package/dist/ionic/{p-10461bd8.entry.js → p-c19b22e4.entry.js} +1 -1
- package/dist/ionic/{p-42602b39.entry.js → p-c1c958b6.entry.js} +1 -1
- package/dist/ionic/{p-17217288.entry.js → p-c328ccd2.entry.js} +1 -1
- package/dist/ionic/{p-03bb02b6.entry.js → p-c391fa2d.entry.js} +1 -1
- package/dist/ionic/p-c6cf173a.entry.js +4 -0
- package/dist/ionic/{p-bf720fd6.entry.js → p-c82b9058.entry.js} +1 -1
- package/dist/ionic/{p-605d5a7e.entry.js → p-c8a48b15.entry.js} +1 -1
- package/dist/ionic/{p-1ae4b282.entry.js → p-ca65a767.entry.js} +1 -1
- package/dist/ionic/{p-df8a4ddd.entry.js → p-cbe648c7.entry.js} +1 -1
- package/dist/ionic/{p-624a5dd0.entry.js → p-d30489e6.entry.js} +1 -1
- package/dist/ionic/{p-4df1b117.entry.js → p-dc6be1a6.entry.js} +1 -1
- package/dist/ionic/{p-2090c9dd.entry.js → p-e17dba82.entry.js} +1 -1
- package/dist/ionic/{p-ca608663.entry.js → p-ea467e6b.entry.js} +1 -1
- package/dist/ionic/p-ecc36a41.entry.js +4 -0
- package/dist/ionic/p-f2500ead.entry.js +4 -0
- package/dist/ionic/{p-1238548e.entry.js → p-f437b1c1.entry.js} +1 -1
- package/dist/ionic/p-f693211b.entry.js +4 -0
- package/dist/ionic/{p-2fab8bf5.entry.js → p-f79b8489.entry.js} +1 -1
- package/dist/ionic/p-fa800994.entry.js +4 -0
- package/dist/ionic/{p-c394744f.entry.js → p-fe2072b9.entry.js} +1 -1
- package/dist/ionic/{p-c7315410.entry.js → p-fe2ddbef.entry.js} +1 -1
- package/dist/ionic/p-l87wJDEi.js +4 -0
- package/dist/ionic/p-u2H7Vgbn.js +4 -0
- package/dist/ionic/p-uFStprb5.js +6 -0
- package/dist/ionic/p-uie7xeDT.js +4 -0
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +4 -0
- package/dist/types/utils/forms/index.d.ts +1 -0
- package/dist/types/utils/forms/page-restore.d.ts +21 -0
- package/dist/types/utils/overlay-focus-boundary.d.ts +15 -0
- package/hydrate/index.js +183 -124
- package/hydrate/index.mjs +183 -124
- package/package.json +4 -4
- package/components/p-28_KCxSf.js +0 -4
- package/components/p-B8IkLUt6.js +0 -4
- package/components/p-BKzm8GnQ.js +0 -4
- package/components/p-Bl36leJI.js +0 -4
- package/components/p-BqRR1T5F.js +0 -4
- package/components/p-C6mx0RsH.js +0 -4
- package/components/p-CHtaS-1H.js +0 -4
- package/components/p-CVWleXIL.js +0 -4
- package/components/p-CekDicbC.js +0 -4
- package/components/p-Cs66-da5.js +0 -4
- package/components/p-CxYMGJTr.js +0 -4
- package/components/p-DBdOjgB_.js +0 -4
- package/components/p-DPypH5J1.js +0 -4
- package/components/p-DSGxE4YQ.js +0 -4
- package/components/p-Dhhot0Wu.js +0 -4
- package/components/p-Di_8hcJD.js +0 -4
- package/components/p-dgUknkY4.js +0 -4
- package/components/p-fCziDtBc.js +0 -4
- package/dist/ionic/p-1419107d.entry.js +0 -4
- package/dist/ionic/p-1feuPAQy.js +0 -4
- package/dist/ionic/p-26aa0bea.entry.js +0 -4
- package/dist/ionic/p-2f68b3c0.entry.js +0 -4
- package/dist/ionic/p-46f2c59f.entry.js +0 -4
- package/dist/ionic/p-52186d6b.entry.js +0 -4
- package/dist/ionic/p-88cf20d2.entry.js +0 -4
- package/dist/ionic/p-BGtO2Fhf.js +0 -6
- package/dist/ionic/p-BNupGwtk.js +0 -4
- package/dist/ionic/p-BmeHOspf.js +0 -4
- package/dist/ionic/p-CBq1CZwb.js +0 -4
- package/dist/ionic/p-CRgN46qV.js +0 -4
- package/dist/ionic/p-CYKfkI6i.js +0 -4
- package/dist/ionic/p-D5TRCRie.js +0 -4
- package/dist/ionic/p-DCzujr0Q.js +0 -4
- package/dist/ionic/p-Dqz9qh-H.js +0 -4
- package/dist/ionic/p-RJtRqfIz.js +0 -4
- package/dist/ionic/p-SfKXFiOB.js +0 -4
- package/dist/ionic/p-UUJgswAN.js +0 -4
- package/dist/ionic/p-a4df0e91.entry.js +0 -4
- package/dist/ionic/p-d7749f70.entry.js +0 -4
- package/dist/ionic/p-df9ebba7.entry.js +0 -4
- package/dist/ionic/p-e3355fe5.entry.js +0 -4
- package/dist/ionic/p-eb93c676.entry.js +0 -4
- package/dist/ionic/p-rXvVaOP9.js +0 -4
package/hydrate/index.mjs
CHANGED
|
@@ -466,7 +466,7 @@ const appGlobalScript = initialize || (() => {});
|
|
|
466
466
|
const globalScripts = appGlobalScript;
|
|
467
467
|
|
|
468
468
|
/*
|
|
469
|
-
Stencil Hydrate Platform v4.45.
|
|
469
|
+
Stencil Hydrate Platform v4.45.4 | MIT Licensed | https://stenciljs.com
|
|
470
470
|
*/
|
|
471
471
|
var __create = Object.create;
|
|
472
472
|
var __defProp = Object.defineProperty;
|
|
@@ -8055,6 +8055,39 @@ const focusElementInContext = (hostToFocus, fallbackElement) => {
|
|
|
8055
8055
|
}
|
|
8056
8056
|
};
|
|
8057
8057
|
|
|
8058
|
+
/**
|
|
8059
|
+
* Moves focus off a boundary. Focus arriving from inside the overlay
|
|
8060
|
+
* wraps to the opposite end. Focus arriving from outside enters at the
|
|
8061
|
+
* nearest end.
|
|
8062
|
+
*/
|
|
8063
|
+
const onBoundaryFocus = (overlay, ev, edge) => {
|
|
8064
|
+
/**
|
|
8065
|
+
* Shadow overlays search their slotted content. Scoped overlays search
|
|
8066
|
+
* their wrapper, since the boundaries are siblings of it in the same
|
|
8067
|
+
* tree and would otherwise be found first.
|
|
8068
|
+
*/
|
|
8069
|
+
const container = overlay.shadowRoot ? overlay : overlay.querySelector('.ion-overlay-wrapper');
|
|
8070
|
+
if (!container) {
|
|
8071
|
+
return;
|
|
8072
|
+
}
|
|
8073
|
+
const from = ev.relatedTarget;
|
|
8074
|
+
const fromInside = from !== null && from !== overlay && (overlay.contains(from) || overlay.shadowRoot?.contains(from) === true);
|
|
8075
|
+
const focusFirst = edge === 'start' ? !fromInside : fromInside;
|
|
8076
|
+
if (focusFirst) {
|
|
8077
|
+
focusFirstDescendant(container, overlay);
|
|
8078
|
+
}
|
|
8079
|
+
else {
|
|
8080
|
+
focusLastDescendant(container, overlay);
|
|
8081
|
+
}
|
|
8082
|
+
};
|
|
8083
|
+
/**
|
|
8084
|
+
* Renders a focusable element before or after an overlay's content that
|
|
8085
|
+
* keeps Tab inside the overlay. The document focus listener in overlays.ts
|
|
8086
|
+
* cannot do this alone, since browsers can move focus past the end of the
|
|
8087
|
+
* page without firing a focus event.
|
|
8088
|
+
*/
|
|
8089
|
+
const OverlayFocusBoundary = ({ overlay, edge }) => (hAsync("div", { class: "ion-overlay-focus-boundary", tabIndex: 0, "aria-hidden": "true", onFocus: (ev) => onBoundaryFocus(overlay, ev, edge) }));
|
|
8090
|
+
|
|
8058
8091
|
/**
|
|
8059
8092
|
* CloseWatcher is a newer API that lets
|
|
8060
8093
|
* use detect the hardware back button event
|
|
@@ -8387,18 +8420,10 @@ const trapKeyboardFocus = (ev, doc) => {
|
|
|
8387
8420
|
focusElementInOverlay(lastOverlay.lastFocus, lastOverlay);
|
|
8388
8421
|
/**
|
|
8389
8422
|
* Otherwise, we must be focusing an element
|
|
8390
|
-
* inside of the overlay.
|
|
8391
|
-
* here are an input/button/etc or the ion-focus-trap
|
|
8392
|
-
* element. The focus trap element is used to prevent
|
|
8393
|
-
* the keyboard focus from leaving the overlay when
|
|
8394
|
-
* using Tab or screen assistants.
|
|
8423
|
+
* inside of the overlay.
|
|
8395
8424
|
*/
|
|
8396
8425
|
}
|
|
8397
8426
|
else {
|
|
8398
|
-
/**
|
|
8399
|
-
* We do not want to focus the traps, so get the overlay
|
|
8400
|
-
* wrapper element as the traps live outside of the wrapper.
|
|
8401
|
-
*/
|
|
8402
8427
|
const overlayRoot = getElementRoot(lastOverlay);
|
|
8403
8428
|
if (!overlayRoot.contains(target)) {
|
|
8404
8429
|
return;
|
|
@@ -8413,40 +8438,13 @@ const trapKeyboardFocus = (ev, doc) => {
|
|
|
8413
8438
|
* Additionally, if the backdrop was tapped we should not
|
|
8414
8439
|
* move focus back inside the wrapper as that could cause
|
|
8415
8440
|
* an interactive elements focus state to activate.
|
|
8441
|
+
*
|
|
8442
|
+
* The focus boundaries outside of the wrapper move
|
|
8443
|
+
* focus back inside on their own.
|
|
8416
8444
|
*/
|
|
8417
8445
|
if (overlayWrapper.contains(target) || target === overlayRoot.querySelector('ion-backdrop')) {
|
|
8418
8446
|
lastOverlay.lastFocus = target;
|
|
8419
8447
|
}
|
|
8420
|
-
else {
|
|
8421
|
-
/**
|
|
8422
|
-
* Otherwise, we must have focused one of the focus traps.
|
|
8423
|
-
* We need to wrap the focus to either the first element
|
|
8424
|
-
* or the last element.
|
|
8425
|
-
*/
|
|
8426
|
-
/**
|
|
8427
|
-
* Once we call `focusFirstDescendant` and focus the first
|
|
8428
|
-
* descendant, another focus event will fire which will
|
|
8429
|
-
* cause `lastOverlay.lastFocus` to be updated before
|
|
8430
|
-
* we can run the code after that. We will cache the value
|
|
8431
|
-
* here to avoid that.
|
|
8432
|
-
*/
|
|
8433
|
-
const lastFocus = lastOverlay.lastFocus;
|
|
8434
|
-
// Focus the first element in the overlay wrapper
|
|
8435
|
-
focusFirstDescendant(overlayWrapper, lastOverlay);
|
|
8436
|
-
/**
|
|
8437
|
-
* If the cached last focused element is the
|
|
8438
|
-
* same as the active element, then we need
|
|
8439
|
-
* to wrap focus to the last descendant. This happens
|
|
8440
|
-
* when the first descendant is focused, and the user
|
|
8441
|
-
* presses Shift + Tab. The previous line will focus
|
|
8442
|
-
* the same descendant again (the first one), causing
|
|
8443
|
-
* last focus to equal the active element.
|
|
8444
|
-
*/
|
|
8445
|
-
if (lastFocus === doc.activeElement) {
|
|
8446
|
-
focusLastDescendant(overlayWrapper, lastOverlay);
|
|
8447
|
-
}
|
|
8448
|
-
lastOverlay.lastFocus = doc.activeElement;
|
|
8449
|
-
}
|
|
8450
8448
|
}
|
|
8451
8449
|
};
|
|
8452
8450
|
const trapShadowFocus = () => {
|
|
@@ -11024,17 +11022,17 @@ class ActionSheet {
|
|
|
11024
11022
|
const cancelButton = allButtons.find((b) => b.role === 'cancel');
|
|
11025
11023
|
const buttons = allButtons.filter((b) => b.role !== 'cancel');
|
|
11026
11024
|
const headerID = `action-sheet-${overlayIndex}-header`;
|
|
11027
|
-
return (hAsync(Host, { key: '
|
|
11025
|
+
return (hAsync(Host, { key: 'ed65bc1dcf597ea52e1f6e2330a0177348a98357', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1", ...htmlAttributes, style: {
|
|
11028
11026
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
11029
11027
|
}, class: {
|
|
11030
11028
|
[mode]: true,
|
|
11031
11029
|
...getClassMap(this.cssClass),
|
|
11032
11030
|
'overlay-hidden': true,
|
|
11033
11031
|
'action-sheet-translucent': this.translucent,
|
|
11034
|
-
}, onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: '
|
|
11032
|
+
}, onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: '946a3b5df13b2f081b950ddce1902a4315851d6b', tappable: this.backdropDismiss }), hAsync(OverlayFocusBoundary, { key: '9b451f47e9d6dd55ea6e235810887b0e3f96fb12', overlay: this.el, edge: "start" }), hAsync("div", { key: '871885e5bca1b5a028ba0ba2242a9957f72aee04', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, hAsync("div", { key: '5f98d1128a2a7b2382167ec5de64b592ca29e346', class: "action-sheet-container" }, hAsync("div", { key: '377e746f88d40af840b3c7e84c81c40bd7b09485', class: "action-sheet-group", ref: (el) => (this.groupEl = el), role: hasRadioButtons ? 'radiogroup' : undefined }, header !== undefined && (hAsync("div", { key: '6c1f72d6ae62eb50d52a1ae902918683e1024c1e', id: headerID, class: {
|
|
11035
11033
|
'action-sheet-title': true,
|
|
11036
11034
|
'action-sheet-has-sub-title': this.subHeader !== undefined,
|
|
11037
|
-
} }, header, this.subHeader && hAsync("div", { key: '
|
|
11035
|
+
} }, header, this.subHeader && hAsync("div", { key: '94209ddc4dedff0550b9a7e3a6953ed5ce0fc62b', class: "action-sheet-sub-title" }, this.subHeader))), this.renderActionSheetButtons(buttons)), cancelButton && (hAsync("div", { key: 'c0de69a3b8e2d974045179d3482b69f3cba98347', class: "action-sheet-group action-sheet-group-cancel" }, hAsync("button", { key: '185dae7d9f8a33495a17866ba51b7451f704cf8d', ...cancelButton.htmlAttributes, type: "button", class: buttonClass$2(cancelButton), onClick: () => this.buttonClick(cancelButton) }, hAsync("span", { key: 'bf38d3f1eede9dbba7dbec02d901d8fd5361c7b7', class: "action-sheet-button-inner" }, cancelButton.icon && (hAsync("ion-icon", { key: '350d3227d71620a43fd6be17b4a295f3d3384578', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && hAsync("ion-ripple-effect", { key: '122be9b9f233d54258c568b86a88429257720213' })))))), hAsync(OverlayFocusBoundary, { key: '6dff9b0eeaa4677285673645094efad788e4bf3c', overlay: this.el, edge: "end" })));
|
|
11038
11036
|
}
|
|
11039
11037
|
get el() { return getElement(this); }
|
|
11040
11038
|
static get watchers() { return {
|
|
@@ -11781,14 +11779,14 @@ class Alert {
|
|
|
11781
11779
|
* If neither are defined, do not set aria-labelledby.
|
|
11782
11780
|
*/
|
|
11783
11781
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
11784
|
-
return (hAsync(Host, { key: '
|
|
11782
|
+
return (hAsync(Host, { key: 'b650ede6e9475db0ee22f3b144178cc35bbb37bc', tabindex: "-1", style: {
|
|
11785
11783
|
zIndex: `${20000 + overlayIndex}`,
|
|
11786
11784
|
}, class: {
|
|
11787
11785
|
...getClassMap(this.cssClass),
|
|
11788
11786
|
[mode]: true,
|
|
11789
11787
|
'overlay-hidden': true,
|
|
11790
11788
|
'alert-translucent': this.translucent,
|
|
11791
|
-
}, onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: '
|
|
11789
|
+
}, onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: 'a2f5f314c9f87ebc5c20b2d618587a8254deb8f2', tappable: this.backdropDismiss }), hAsync(OverlayFocusBoundary, { key: '9b5b9d5c65cf1849c1c1736d185bb4acc992df50', overlay: this.el, edge: "start" }), hAsync("div", { key: '9a7bc59ef57f54a3466a092c25dad4ad72298fef', class: "alert-wrapper ion-overlay-wrapper", role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "0", ref: (el) => (this.wrapperEl = el), ...htmlAttributes }, hAsync("div", { key: 'e6a4843f8efc9f26a03278b0b853ee3ab769c91f', class: "alert-head" }, header && (hAsync("h2", { key: 'c9979c124fe9f2515b0dcf98f2944cfc34682338', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (hAsync("h2", { key: 'a7454486d3c2ff3d1088a235e679bb193cd326ac', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (hAsync("h3", { key: '594862f712d17033f6f897295958ad283dc57a5d', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), hAsync(OverlayFocusBoundary, { key: '03987719e8d60d3bd7792ed303471dd341e23b34', overlay: this.el, edge: "end" })));
|
|
11792
11790
|
}
|
|
11793
11791
|
get el() { return getElement(this); }
|
|
11794
11792
|
static get watchers() { return {
|
|
@@ -13780,6 +13778,49 @@ const checkInvalidState = (el) => {
|
|
|
13780
13778
|
return hasIonTouched && hasIonInvalid;
|
|
13781
13779
|
};
|
|
13782
13780
|
|
|
13781
|
+
/**
|
|
13782
|
+
* How long, in milliseconds, the field is checked after a restore. The clear
|
|
13783
|
+
* can land a few frames after `pageshow`, such as when Web Inspector is open.
|
|
13784
|
+
*/
|
|
13785
|
+
const PAGE_RESTORE_CHECK_DURATION = 500;
|
|
13786
|
+
/**
|
|
13787
|
+
* Safari clears password and autocomplete="off" fields after restoring a
|
|
13788
|
+
* page from the back/forward cache, without firing `input`. The clear lands
|
|
13789
|
+
* after `pageshow`, so the field is checked each frame until it differs from
|
|
13790
|
+
* the value or the check duration ends.
|
|
13791
|
+
*
|
|
13792
|
+
* A cleared password field stays cleared, as a native one does, and the
|
|
13793
|
+
* value follows it. Any other field is cleared only because autocomplete
|
|
13794
|
+
* defaults to "off", so its text is put back from the value.
|
|
13795
|
+
*
|
|
13796
|
+
* @param ev The `pageshow` event. Only a restored page (`persisted`) is checked.
|
|
13797
|
+
* @param nativeInput The input whose text is read on each check.
|
|
13798
|
+
* @param getValue Returns the component's value when each check runs.
|
|
13799
|
+
* @param onPasswordCleared Called with the field's text when a password field differs from the value.
|
|
13800
|
+
*/
|
|
13801
|
+
const syncValueOnPageRestore = (ev, nativeInput, getValue, onPasswordCleared) => {
|
|
13802
|
+
if (!ev.persisted || !nativeInput) {
|
|
13803
|
+
return;
|
|
13804
|
+
}
|
|
13805
|
+
const start = Date.now();
|
|
13806
|
+
const check = () => {
|
|
13807
|
+
const value = getValue();
|
|
13808
|
+
if (nativeInput.value !== value) {
|
|
13809
|
+
if (nativeInput.type === 'password') {
|
|
13810
|
+
onPasswordCleared(nativeInput.value);
|
|
13811
|
+
}
|
|
13812
|
+
else {
|
|
13813
|
+
nativeInput.value = value;
|
|
13814
|
+
}
|
|
13815
|
+
return;
|
|
13816
|
+
}
|
|
13817
|
+
if (Date.now() - start < PAGE_RESTORE_CHECK_DURATION) {
|
|
13818
|
+
raf(check);
|
|
13819
|
+
}
|
|
13820
|
+
};
|
|
13821
|
+
raf(check);
|
|
13822
|
+
};
|
|
13823
|
+
|
|
13783
13824
|
const checkboxIosCss = () => `:host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{display:none}:host(:focus){outline:none}.native-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.ion-focused) .native-wrapper::after{border-radius:50%;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2;inset-block-start:calc(50% - 36px / 2);inset-inline-start:calc(50% - 36px / 2)}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}`;
|
|
13784
13825
|
|
|
13785
13826
|
const checkboxMdCss = () => `:host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{display:none}:host(:focus){outline:none}.native-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.ion-focused) .native-wrapper::after{border-radius:50%;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2;inset-block-start:calc(50% - 36px / 2);inset-inline-start:calc(50% - 36px / 2)}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}`;
|
|
@@ -21334,6 +21375,15 @@ class Input {
|
|
|
21334
21375
|
onClickCapture(ev) {
|
|
21335
21376
|
this.clickController?.handleClickCapture(ev);
|
|
21336
21377
|
}
|
|
21378
|
+
/**
|
|
21379
|
+
* Safari clears the field when it restores the page from the back/forward cache.
|
|
21380
|
+
*/
|
|
21381
|
+
onPageShow(ev) {
|
|
21382
|
+
syncValueOnPageRestore(ev, this.nativeInput, () => this.getValue(), (value) => {
|
|
21383
|
+
this.value = value;
|
|
21384
|
+
this.emitInputChange();
|
|
21385
|
+
});
|
|
21386
|
+
}
|
|
21337
21387
|
componentWillLoad() {
|
|
21338
21388
|
this.inheritedAttributes = {
|
|
21339
21389
|
...inheritAriaAttributes(this.el),
|
|
@@ -21603,7 +21653,7 @@ class Input {
|
|
|
21603
21653
|
* the input has a value or is focused.
|
|
21604
21654
|
*/
|
|
21605
21655
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus));
|
|
21606
|
-
return (hAsync(Host, { key: '
|
|
21656
|
+
return (hAsync(Host, { key: '58ba66ab5b3ba19aa39e0146c1f8c87899537cd7', class: createColorClasses$1(this.color, {
|
|
21607
21657
|
[mode]: true,
|
|
21608
21658
|
'has-value': hasValue,
|
|
21609
21659
|
'has-focus': hasFocus,
|
|
@@ -21614,14 +21664,14 @@ class Input {
|
|
|
21614
21664
|
'in-item': inItem,
|
|
21615
21665
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
21616
21666
|
'input-disabled': disabled,
|
|
21617
|
-
}) }, hAsync("label", { key: '
|
|
21667
|
+
}) }, hAsync("label", { key: '502a1a3a0118f8c8e392f990935caf10bb19151a', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, hasOutlineFill && this.renderOutlineContainer(), hAsync("div", { key: '36b96e5cfdab998b4f394d2a8a8e94d9647585b9', class: "input-start", ref: (el) => (this.startContainerEl = el) }, hAsync("slot", { key: 'a9fe3858bf55ff9478269c30a6b1f462569d16b9', name: "start" })), hAsync("div", { key: 'ad1c701819e2e356707a6a0af9e74d14816db986', class: "input-control" }, this.renderLabel(), hAsync("div", { key: '490710eb47264fa6e06deb19fd3307cc95754dd9', class: "native-wrapper", onClick: this.onLabelClick }, hAsync("input", { key: '2c2e40b080d1d597fd1367c8958f5e7439cf3f8e', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect ? 'on' : 'off', autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById(), ...this.inheritedAttributes }))), hAsync("div", { key: '0d5e8268990ee80b3c3b2cb85af90189ddd37f02', class: "input-end", ref: (el) => (this.endContainerEl = el) }, this.clearInput && !readonly && !disabled && (hAsync("button", { key: '6996efaee213860fd9616737dc0e4e2b0d9bbeb1', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
21618
21668
|
/**
|
|
21619
21669
|
* This prevents mobile browsers from
|
|
21620
21670
|
* blurring the input when the clear
|
|
21621
21671
|
* button is activated.
|
|
21622
21672
|
*/
|
|
21623
21673
|
ev.preventDefault();
|
|
21624
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
21674
|
+
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: 'b6951c5be30b344c48ed7d664bf6b9623882e0a1', "aria-hidden": "true", icon: clearIconData }))), hAsync("slot", { key: '47715231ec21b078bdaf6ebfe2d7e6603febd368', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '99a596344d049cfd6299e4b91a6d3867ce3fa33d', class: "input-highlight" })), this.renderBottomContent()));
|
|
21625
21675
|
}
|
|
21626
21676
|
get el() { return getElement(this); }
|
|
21627
21677
|
static get watchers() { return {
|
|
@@ -21685,7 +21735,7 @@ class Input {
|
|
|
21685
21735
|
"setFocus": [64],
|
|
21686
21736
|
"getInputElement": [64]
|
|
21687
21737
|
},
|
|
21688
|
-
"$listeners$": [[2, "click", "onClickCapture"]],
|
|
21738
|
+
"$listeners$": [[2, "click", "onClickCapture"], [8, "pageshow", "onPageShow"]],
|
|
21689
21739
|
"$lazyBundleId$": "-",
|
|
21690
21740
|
"$attrsToReflect$": [["color", "color"], ["disabled", "disabled"], ["readonly", "readonly"]]
|
|
21691
21741
|
}; }
|
|
@@ -24046,14 +24096,14 @@ class Loading {
|
|
|
24046
24096
|
* Otherwise, don't set aria-labelledby.
|
|
24047
24097
|
*/
|
|
24048
24098
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
24049
|
-
return (hAsync(Host, { key: '
|
|
24099
|
+
return (hAsync(Host, { key: '78b2e6736edcc5fe4ad987548be2756c5b61ac0e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
|
|
24050
24100
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
24051
24101
|
}, onIonBackdropTap: this.onBackdropTap, class: {
|
|
24052
24102
|
...getClassMap(this.cssClass),
|
|
24053
24103
|
[mode]: true,
|
|
24054
24104
|
'overlay-hidden': true,
|
|
24055
24105
|
'loading-translucent': this.translucent,
|
|
24056
|
-
} }, hAsync("ion-backdrop", { key: '
|
|
24106
|
+
} }, hAsync("ion-backdrop", { key: '0917bac1a418490b7ebebd77e7cebb132b01516c', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync(OverlayFocusBoundary, { key: 'e9d3262ef4d21f141b85502c171b27aaee1dbb6c', overlay: this.el, edge: "start" }), hAsync("div", { key: 'f1d574342f3a71530540ddd359ce8a902f5b59bd', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '3644f18d56fe0f520be73200bb1c74d6efb57820', class: "loading-spinner" }, hAsync("ion-spinner", { key: 'ab8c6426ac708d9d5830820d8914ff31a901b4fd', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync(OverlayFocusBoundary, { key: '0def8a091d0a09308b0c64fb71240c64d28a671a', overlay: this.el, edge: "end" })));
|
|
24057
24107
|
}
|
|
24058
24108
|
get el() { return getElement(this); }
|
|
24059
24109
|
static get watchers() { return {
|
|
@@ -27548,9 +27598,9 @@ const clearSafeAreaOverrides = (hostEl) => {
|
|
|
27548
27598
|
hostEl.style.removeProperty('--ion-safe-area-right');
|
|
27549
27599
|
};
|
|
27550
27600
|
|
|
27551
|
-
const modalIosCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}`;
|
|
27601
|
+
const modalIosCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}`;
|
|
27552
27602
|
|
|
27553
|
-
const modalMdCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}`;
|
|
27603
|
+
const modalMdCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:100%;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;outline:none}.modal-shadow{position:absolute;background:transparent}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}`;
|
|
27554
27604
|
|
|
27555
27605
|
// TODO(FW-2832): types
|
|
27556
27606
|
/**
|
|
@@ -28799,7 +28849,7 @@ class Modal {
|
|
|
28799
28849
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
28800
28850
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28801
28851
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28802
|
-
return (hAsync(Host, { key: '
|
|
28852
|
+
return (hAsync(Host, { key: '0f5bf017911db2f82bc69ba85b173b7573a21d6c', "no-router": true,
|
|
28803
28853
|
// Allow the modal to be navigable when the handle is focusable
|
|
28804
28854
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1, ...htmlAttributes, style: {
|
|
28805
28855
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
@@ -28812,7 +28862,7 @@ class Modal {
|
|
|
28812
28862
|
'overlay-hidden': true,
|
|
28813
28863
|
[FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
28814
28864
|
...getClassMap(this.cssClass),
|
|
28815
|
-
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, hAsync("ion-backdrop", { key: '
|
|
28865
|
+
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, hAsync("ion-backdrop", { key: '16ead017af217106e7eceb53a727f9b0b2dcf956', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: 'e040ccf1fd3757245c9804258e1d0d651a0af622', class: "modal-shadow" }), hAsync(OverlayFocusBoundary, { key: '462e5424d6e04684e68cfd71bf1e526af6446681', overlay: this.el, edge: "start" }), hAsync("div", { key: '98de2956a7dbbb3fd2709b689426ff00debf96d9',
|
|
28816
28866
|
/*
|
|
28817
28867
|
role and aria-modal must be used on the
|
|
28818
28868
|
same element. They must also be set inside the
|
|
@@ -28825,9 +28875,9 @@ class Modal {
|
|
|
28825
28875
|
without the tabindex focus() would be a no-op and screen readers
|
|
28826
28876
|
may not properly announce the dialog and its content when it opens.
|
|
28827
28877
|
*/
|
|
28828
|
-
role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (hAsync("button", { key: '
|
|
28878
|
+
role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (hAsync("button", { key: '33d09f0ec7ad39e64fef18271a15491ae1f48a18', class: "modal-handle",
|
|
28829
28879
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28830
|
-
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: '
|
|
28880
|
+
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: '950bf5bbf3f29ee2888d3a46a5f0dde6566af0e8', onSlotchange: this.onSlotChange })), hAsync(OverlayFocusBoundary, { key: '4d28b0066b3a0c57a315844761acc454055e6339', overlay: this.el, edge: "end" })));
|
|
28831
28881
|
}
|
|
28832
28882
|
get el() { return getElement(this); }
|
|
28833
28883
|
static get watchers() { return {
|
|
@@ -29696,7 +29746,7 @@ class Nav {
|
|
|
29696
29746
|
}
|
|
29697
29747
|
}
|
|
29698
29748
|
render() {
|
|
29699
|
-
return hAsync("slot", { key: '
|
|
29749
|
+
return hAsync("slot", { key: 'c5cac2d78cd795c13ff99c81fe1aa4b1eb56a26e' });
|
|
29700
29750
|
}
|
|
29701
29751
|
get el() { return getElement(this); }
|
|
29702
29752
|
static get watchers() { return {
|
|
@@ -29772,7 +29822,7 @@ class NavLink {
|
|
|
29772
29822
|
};
|
|
29773
29823
|
}
|
|
29774
29824
|
render() {
|
|
29775
|
-
return hAsync(Host, { key: '
|
|
29825
|
+
return hAsync(Host, { key: '02d9f90830b4055a424ce0f8f076361311e5380f', onClick: this.onClick });
|
|
29776
29826
|
}
|
|
29777
29827
|
get el() { return getElement(this); }
|
|
29778
29828
|
static get cmpMeta() { return {
|
|
@@ -29804,9 +29854,9 @@ class Note {
|
|
|
29804
29854
|
}
|
|
29805
29855
|
render() {
|
|
29806
29856
|
const mode = getIonMode$1(this);
|
|
29807
|
-
return (hAsync(Host, { key: '
|
|
29857
|
+
return (hAsync(Host, { key: '5e8f4fc23d1ddfb65db1ccbfd8c44ad81747b673', class: createColorClasses$1(this.color, {
|
|
29808
29858
|
[mode]: true,
|
|
29809
|
-
}) }, hAsync("slot", { key: '
|
|
29859
|
+
}) }, hAsync("slot", { key: '5d8395bf7b40e02e45eebc17afca608a39a0b7fb' })));
|
|
29810
29860
|
}
|
|
29811
29861
|
static get style() { return {
|
|
29812
29862
|
ios: noteIosCss(),
|
|
@@ -31139,10 +31189,10 @@ class PickerColumnOption {
|
|
|
31139
31189
|
render() {
|
|
31140
31190
|
const { color, disabled, ariaLabel } = this;
|
|
31141
31191
|
const mode = getIonMode$1(this);
|
|
31142
|
-
return (hAsync(Host, { key: '
|
|
31192
|
+
return (hAsync(Host, { key: 'd170c932c13716c1b383feb551efda3171de7b37', class: createColorClasses$1(color, {
|
|
31143
31193
|
[mode]: true,
|
|
31144
31194
|
['option-disabled']: disabled,
|
|
31145
|
-
}) }, hAsync("div", { key: '
|
|
31195
|
+
}) }, hAsync("div", { key: 'e598afe231cefe9cf0cd90d9283093ed06080d20', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'f2d18c46d237d08dd066728c339c960f6ada4c29' }))));
|
|
31146
31196
|
}
|
|
31147
31197
|
get el() { return getElement(this); }
|
|
31148
31198
|
static get watchers() { return {
|
|
@@ -32318,9 +32368,9 @@ const mdLeaveAnimation$1 = (baseEl) => {
|
|
|
32318
32368
|
.addAnimation([backdropAnimation, wrapperAnimation]);
|
|
32319
32369
|
};
|
|
32320
32370
|
|
|
32321
|
-
const popoverIosCss = () => `:host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}`;
|
|
32371
|
+
const popoverIosCss = () => `:host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}`;
|
|
32322
32372
|
|
|
32323
|
-
const popoverMdCss = () => `:host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}`;
|
|
32373
|
+
const popoverMdCss = () => `:host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}`;
|
|
32324
32374
|
|
|
32325
32375
|
// TODO(FW-2832): types
|
|
32326
32376
|
/**
|
|
@@ -32811,7 +32861,7 @@ class Popover {
|
|
|
32811
32861
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
32812
32862
|
const desktop = isPlatform('desktop');
|
|
32813
32863
|
const enableArrow = arrow && !parentPopover;
|
|
32814
|
-
return (hAsync(Host, { key: '
|
|
32864
|
+
return (hAsync(Host, { key: '1c5f06c725f90f8d907ae69ef9ef0eb0b5721e61', "aria-modal": "true", "no-router": true, tabindex: "-1", ...htmlAttributes, style: {
|
|
32815
32865
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
32816
32866
|
}, class: {
|
|
32817
32867
|
...getClassMap(this.cssClass),
|
|
@@ -32822,7 +32872,7 @@ class Popover {
|
|
|
32822
32872
|
[`popover-side-${side}`]: true,
|
|
32823
32873
|
[FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
32824
32874
|
'popover-nested': !!parentPopover,
|
|
32825
|
-
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && hAsync("ion-backdrop", { key: '
|
|
32875
|
+
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && hAsync("ion-backdrop", { key: '5cd1e9743febb32fa98b74de88bb2592968df69e', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync(OverlayFocusBoundary, { key: '9cad2862e34697abff6c39952b0b5f9dbc8c484e', overlay: this.el, edge: "start" }), hAsync("div", { key: 'e060966e7f2dc7a7bbdc854783ff6472924968fe', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '9f589822f54981a93ba71880b7402d51969e014a', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '2db9a75ef037c0a80507c2d7d363e28b80d82e0a', class: "popover-content", part: "content" }, hAsync("slot", { key: '0aafd5ff3244ff428ed7f7c94a6a0eaf75faac2f' }))), hAsync(OverlayFocusBoundary, { key: '9e4ea8d4aefb81f0955bf78781e7d95dfda34c94', overlay: this.el, edge: "end" })));
|
|
32826
32876
|
}
|
|
32827
32877
|
get el() { return getElement(this); }
|
|
32828
32878
|
static get watchers() { return {
|
|
@@ -32934,7 +32984,7 @@ class ProgressBar {
|
|
|
32934
32984
|
const mode = getIonMode$1(this);
|
|
32935
32985
|
// If the progress is displayed as a solid bar.
|
|
32936
32986
|
const progressSolid = buffer === 1;
|
|
32937
|
-
return (hAsync(Host, { key: '
|
|
32987
|
+
return (hAsync(Host, { key: '0dcbab9010dfe1acb14b1cc36fce4dd3679184c7', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
32938
32988
|
[mode]: true,
|
|
32939
32989
|
[`progress-bar-${type}`]: true,
|
|
32940
32990
|
'progress-paused': paused,
|
|
@@ -34242,7 +34292,7 @@ class Range {
|
|
|
34242
34292
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34243
34293
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34244
34294
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34245
|
-
return (hAsync(Host, { key: '
|
|
34295
|
+
return (hAsync(Host, { key: 'f63c0130ab45c80f07f3f3f9c8f1893535b2c2cd', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34246
34296
|
[mode]: true,
|
|
34247
34297
|
'in-item': inItem,
|
|
34248
34298
|
'range-disabled': disabled,
|
|
@@ -34256,10 +34306,10 @@ class Range {
|
|
|
34256
34306
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34257
34307
|
'range-value-min': valueAtMin,
|
|
34258
34308
|
'range-value-max': valueAtMax,
|
|
34259
|
-
}) }, hAsync("label", { key: '
|
|
34309
|
+
}) }, hAsync("label", { key: 'd71435fdcbffd880da8923b8225ae24776ff20de', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: 'd9145352c3565ea7dda02f3bee9aac97a8ce4a21', class: {
|
|
34260
34310
|
'label-text-wrapper': true,
|
|
34261
34311
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34262
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
34312
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: 'e5c316c2235f23b11cf12a735c7a9c480889d914', class: "native-wrapper" }, hAsync("slot", { key: 'a38e4241d08e0eeaf4c796a960108d07e51a9f74', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '5c19c866c0505f63fac5fcb60a843f0204451531', name: "end" })))));
|
|
34263
34313
|
}
|
|
34264
34314
|
get el() { return getElement(this); }
|
|
34265
34315
|
static get watchers() { return {
|
|
@@ -35367,7 +35417,7 @@ class Refresher {
|
|
|
35367
35417
|
}
|
|
35368
35418
|
render() {
|
|
35369
35419
|
const mode = getIonMode$1(this);
|
|
35370
|
-
return (hAsync(Host, { key: '
|
|
35420
|
+
return (hAsync(Host, { key: '70e690c0e25c011cdff74560ae8437c01081f63b', slot: "fixed", class: {
|
|
35371
35421
|
[mode]: true,
|
|
35372
35422
|
// Used internally for styling
|
|
35373
35423
|
[`refresher-${mode}`]: true,
|
|
@@ -35594,7 +35644,7 @@ class RefresherContent {
|
|
|
35594
35644
|
const pullingIcon = this.pullingIcon;
|
|
35595
35645
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
35596
35646
|
const mode = getIonMode$1(this);
|
|
35597
|
-
return (hAsync(Host, { key: '
|
|
35647
|
+
return (hAsync(Host, { key: '1bec5b4da221c69d856f3f5ddf40f2e03ebf2a4c', class: mode }, hAsync("div", { key: '4fcc526c4f1881e9368d9cd16bd7030919bd3841', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: 'a4e9e2e12c2d7faefc8303ec8c021f999ddf308e', class: "refresher-pulling-icon" }, hAsync("div", { key: '5a2d215feb7fb4b64d540d3a65c0f24b415a2433', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: 'abef2621d671ac6ff0abac43a702cbd825b7f127', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (hAsync("div", { key: '30087d672c3780672a05874cd93cd099b2855462', class: "arrow-container" }, hAsync("ion-icon", { key: '5e30333dee469aec0d8efc8c4e6dabb619c6f363', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '48fe72b5ce8ded633c6ee799cebb520b9c8be528', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: 'd8dfd5d42056b1c0a436c5006affb255407816c0', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: 'c2cbfb94f157c82601ffe7bb815ff82ebc7c0a49', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: '17f3ebe6a31768d5e389f45a2c12f68600185db9', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: 'e8e61f8d7189c9939bba184201c9509d1d5b0fad', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
35598
35648
|
}
|
|
35599
35649
|
get el() { return getElement(this); }
|
|
35600
35650
|
static get cmpMeta() { return {
|
|
@@ -35636,7 +35686,7 @@ class Reorder {
|
|
|
35636
35686
|
render() {
|
|
35637
35687
|
const mode = getIonMode$1(this);
|
|
35638
35688
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
35639
|
-
return (hAsync(Host, { key: '
|
|
35689
|
+
return (hAsync(Host, { key: '663d74e231e3af56b6298ee2539fdac9c8465839', class: mode }, hAsync("slot", { key: 'c7c384ab8c9ca8abdc89cd984a39dfde70e342ca' }, hAsync("ion-icon", { key: 'c8b6052db03d4b9e33a90e600c20861c73ee73ce', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
35640
35690
|
}
|
|
35641
35691
|
get el() { return getElement(this); }
|
|
35642
35692
|
static get style() { return {
|
|
@@ -35908,7 +35958,7 @@ class ReorderGroup {
|
|
|
35908
35958
|
}
|
|
35909
35959
|
render() {
|
|
35910
35960
|
const mode = getIonMode$1(this);
|
|
35911
|
-
return (hAsync(Host, { key: '
|
|
35961
|
+
return (hAsync(Host, { key: '241ce7193a6a7149480f8ca51ee17f9e42b251be', class: {
|
|
35912
35962
|
[mode]: true,
|
|
35913
35963
|
'reorder-enabled': !this.disabled,
|
|
35914
35964
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36027,7 +36077,7 @@ class RippleEffect {
|
|
|
36027
36077
|
}
|
|
36028
36078
|
render() {
|
|
36029
36079
|
const mode = getIonMode$1(this);
|
|
36030
|
-
return (hAsync(Host, { key: '
|
|
36080
|
+
return (hAsync(Host, { key: '2302f087ab1c6755355736e4ca77309c5fdcf185', role: "presentation", class: {
|
|
36031
36081
|
[mode]: true,
|
|
36032
36082
|
unbounded: this.unbounded,
|
|
36033
36083
|
} }));
|
|
@@ -37180,10 +37230,10 @@ class RouterLink {
|
|
|
37180
37230
|
rel: this.rel,
|
|
37181
37231
|
target: this.target,
|
|
37182
37232
|
};
|
|
37183
|
-
return (hAsync(Host, { key: '
|
|
37233
|
+
return (hAsync(Host, { key: 'f9d99a1f2d2518eec86cd27731c765cb129ca032', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37184
37234
|
[mode]: true,
|
|
37185
37235
|
'ion-activatable': true,
|
|
37186
|
-
}) }, hAsync("a", { key: '
|
|
37236
|
+
}) }, hAsync("a", { key: 'ad6c442b755b96957c311b3866738edccaa40e1b', ...attrs, ...tabindexAttributes }, hAsync("slot", { key: 'ab4aefba564839c658f8e6c5ca4ff1f8cf8b6c27' }))));
|
|
37187
37237
|
}
|
|
37188
37238
|
get el() { return getElement(this); }
|
|
37189
37239
|
static get style() { return routerLinkCss(); }
|
|
@@ -37427,7 +37477,7 @@ class RouterOutlet {
|
|
|
37427
37477
|
return true;
|
|
37428
37478
|
}
|
|
37429
37479
|
render() {
|
|
37430
|
-
return hAsync("slot", { key: '
|
|
37480
|
+
return hAsync("slot", { key: '4aba1441f005dc7f91408ccb26ac81875a948e67' });
|
|
37431
37481
|
}
|
|
37432
37482
|
get el() { return getElement(this); }
|
|
37433
37483
|
static get watchers() { return {
|
|
@@ -37467,7 +37517,7 @@ class Row {
|
|
|
37467
37517
|
registerInstance(this, hostRef);
|
|
37468
37518
|
}
|
|
37469
37519
|
render() {
|
|
37470
|
-
return (hAsync(Host, { key: '
|
|
37520
|
+
return (hAsync(Host, { key: '813c9a7f6782d2cf8eb27f30d3ab28e6f3122868', class: getIonMode$1(this) }, hAsync("slot", { key: '356bec4d4d408ea63d6b431b06465d5b7bcbff71' })));
|
|
37471
37521
|
}
|
|
37472
37522
|
static get style() { return rowCss(); }
|
|
37473
37523
|
static get cmpMeta() { return {
|
|
@@ -37716,6 +37766,15 @@ class Searchbar {
|
|
|
37716
37766
|
this.positionElements();
|
|
37717
37767
|
});
|
|
37718
37768
|
}
|
|
37769
|
+
/**
|
|
37770
|
+
* Safari clears the field when it restores the page from the back/forward cache.
|
|
37771
|
+
*/
|
|
37772
|
+
onPageShow(ev) {
|
|
37773
|
+
syncValueOnPageRestore(ev, this.nativeInput, () => this.getValue(), (value) => {
|
|
37774
|
+
this.value = value;
|
|
37775
|
+
this.emitInputChange();
|
|
37776
|
+
});
|
|
37777
|
+
}
|
|
37719
37778
|
connectedCallback() {
|
|
37720
37779
|
this.emitStyle();
|
|
37721
37780
|
}
|
|
@@ -37946,8 +38005,8 @@ class Searchbar {
|
|
|
37946
38005
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
37947
38006
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
37948
38007
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
37949
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
37950
|
-
return (hAsync(Host, { key: '
|
|
38008
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '78299d5cc4c514f5246d67af0a019c730c8d42d4', "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: '41aa994b725380bba32ce9a9fad45c901570c97d', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
38009
|
+
return (hAsync(Host, { key: '31a0d7df3e92608c5369828b373efdff331eb4b0', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
37951
38010
|
[mode]: true,
|
|
37952
38011
|
'searchbar-animated': animated,
|
|
37953
38012
|
'searchbar-disabled': this.disabled,
|
|
@@ -37957,14 +38016,14 @@ class Searchbar {
|
|
|
37957
38016
|
'searchbar-has-focus': this.focused,
|
|
37958
38017
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
37959
38018
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
37960
|
-
}) }, hAsync("div", { key: '
|
|
38019
|
+
}) }, hAsync("div", { key: '69adb8ee092e7ae99a86bdcb6e6bf8665cf6b40d', class: "searchbar-input-container" }, hAsync("input", { key: '980a802a8be601efdbddb8dd033cfd28ca15460e', "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 ? 'on' : 'off', spellcheck: this.spellcheck, ...this.inheritedAttributes }), mode === 'md' && cancelButton, hAsync("ion-icon", { key: '1329f5f3ea08f7518028baa5e077b0cce74efc36', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: 'd12ee05b37b208dbaa075092176859622345b8da', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
37961
38020
|
/**
|
|
37962
38021
|
* This prevents mobile browsers from
|
|
37963
38022
|
* blurring the input when the clear
|
|
37964
38023
|
* button is activated.
|
|
37965
38024
|
*/
|
|
37966
38025
|
ev.preventDefault();
|
|
37967
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
38026
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '856eaa2a5429759a456875f47cb796e51211795d', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
37968
38027
|
}
|
|
37969
38028
|
get el() { return getElement(this); }
|
|
37970
38029
|
static get watchers() { return {
|
|
@@ -38019,7 +38078,7 @@ class Searchbar {
|
|
|
38019
38078
|
"setFocus": [64],
|
|
38020
38079
|
"getInputElement": [64]
|
|
38021
38080
|
},
|
|
38022
|
-
"$listeners$":
|
|
38081
|
+
"$listeners$": [[8, "pageshow", "onPageShow"]],
|
|
38023
38082
|
"$lazyBundleId$": "-",
|
|
38024
38083
|
"$attrsToReflect$": [["color", "color"]]
|
|
38025
38084
|
}; }
|
|
@@ -38572,14 +38631,14 @@ class Segment {
|
|
|
38572
38631
|
}
|
|
38573
38632
|
render() {
|
|
38574
38633
|
const mode = getIonMode$1(this);
|
|
38575
|
-
return (hAsync(Host, { key: '
|
|
38634
|
+
return (hAsync(Host, { key: 'dd0139de09445e0b4ec26a4cde807cbf5dce0d15', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
38576
38635
|
[mode]: true,
|
|
38577
38636
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38578
38637
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
38579
38638
|
'segment-activated': this.activated,
|
|
38580
38639
|
'segment-disabled': this.disabled,
|
|
38581
38640
|
'segment-scrollable': this.scrollable,
|
|
38582
|
-
}) }, hAsync("slot", { key: '
|
|
38641
|
+
}) }, hAsync("slot", { key: '6ffc9dbdba6de3d69be8324b570e61734f2a3f8b', onSlotchange: this.onSlottedItemsChange })));
|
|
38583
38642
|
}
|
|
38584
38643
|
get el() { return getElement(this); }
|
|
38585
38644
|
static get watchers() { return {
|
|
@@ -38738,7 +38797,7 @@ class SegmentButton {
|
|
|
38738
38797
|
const mode = getIonMode$1(this);
|
|
38739
38798
|
const tabindexAttributes = this.tabindexController?.attributes ?? {};
|
|
38740
38799
|
const hasSegmentColor = () => segmentEl?.color !== undefined;
|
|
38741
|
-
return (hAsync(Host, { key: '
|
|
38800
|
+
return (hAsync(Host, { key: '56759e465e2e1881a5f34dbd0f5b6f242638a73d', class: {
|
|
38742
38801
|
[mode]: true,
|
|
38743
38802
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38744
38803
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -38754,7 +38813,7 @@ class SegmentButton {
|
|
|
38754
38813
|
'ion-activatable': true,
|
|
38755
38814
|
'ion-activatable-instant': true,
|
|
38756
38815
|
'ion-focusable': true,
|
|
38757
|
-
} }, hAsync("button", { key: '
|
|
38816
|
+
} }, hAsync("button", { key: '5b1a867b731544a77241d9103b3cc68b60cf7a1a', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled, ...this.inheritedAttributes, ...tabindexAttributes }, hAsync("span", { key: '799a7b61f2c9992fb1aa7f056283810c4a2043ad', class: "button-inner" }, hAsync("slot", { key: '9bc8e13a8e730f01e064cb589ed4b763c7a67cf5' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '6af753b2202a98c8a9daa85b13f5bf94baaf7be1' })), hAsync("div", { key: 'bde801b1ddd6cb64fbb0bb4c5847ae382d85c3a4', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'b32835e2a6866479b8371238e2b063c65df11e6d', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
38758
38817
|
}
|
|
38759
38818
|
get el() { return getElement(this); }
|
|
38760
38819
|
static get watchers() { return {
|
|
@@ -38792,7 +38851,7 @@ class SegmentContent {
|
|
|
38792
38851
|
registerInstance(this, hostRef);
|
|
38793
38852
|
}
|
|
38794
38853
|
render() {
|
|
38795
|
-
return (hAsync(Host, { key: '
|
|
38854
|
+
return (hAsync(Host, { key: '59255f57a34e498daf3adc11585018a9d25607d5' }, hAsync("slot", { key: '96b47a077af8434a6debc37330529db1f8b6add8' })));
|
|
38796
38855
|
}
|
|
38797
38856
|
static get style() { return segmentContentCss(); }
|
|
38798
38857
|
static get cmpMeta() { return {
|
|
@@ -38911,11 +38970,11 @@ class SegmentView {
|
|
|
38911
38970
|
}
|
|
38912
38971
|
render() {
|
|
38913
38972
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
38914
|
-
return (hAsync(Host, { key: '
|
|
38973
|
+
return (hAsync(Host, { key: '6604975fe6353ec1799502c9d19ea390e84ce3b5', class: {
|
|
38915
38974
|
'segment-view-disabled': disabled,
|
|
38916
38975
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
38917
38976
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
38918
|
-
} }, hAsync("slot", { key: '
|
|
38977
|
+
} }, hAsync("slot", { key: '4a6a119273bb4de22f3f08a17784520ea10dac66' })));
|
|
38919
38978
|
}
|
|
38920
38979
|
get el() { return getElement(this); }
|
|
38921
38980
|
static get style() { return {
|
|
@@ -39798,7 +39857,7 @@ class Select {
|
|
|
39798
39857
|
const hasOutlineFill = mode === 'md' && fill === 'outline';
|
|
39799
39858
|
renderHiddenInput(true, el, name, parseValue(value), disabled);
|
|
39800
39859
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || isExpanded));
|
|
39801
|
-
return (hAsync(Host, { key: '
|
|
39860
|
+
return (hAsync(Host, { key: '1069f654b45cf9ee6e48c585a1f7aab317c3039e', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39802
39861
|
[mode]: true,
|
|
39803
39862
|
'in-item': inItem,
|
|
39804
39863
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -39816,7 +39875,7 @@ class Select {
|
|
|
39816
39875
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
39817
39876
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
39818
39877
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
39819
|
-
}) }, hAsync("label", { key: '
|
|
39878
|
+
}) }, hAsync("label", { key: 'a934d6833637ed86c714ba4d499929d32aa0d0b3', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick, part: "wrapper" }, hasOutlineFill && this.renderOutlineContainer(), hAsync("div", { key: '5412ae445dc4b48b5d8f2f94029833139936f347', class: "select-start", part: "start", ref: (el) => (this.startContainerEl = el) }, hAsync("slot", { key: '2c86c99895270978953581f0595b7e783c480f5d', name: "start" })), hAsync("div", { key: '219e6b59685c9f4d9d98f6e90443e6ee07567d11', class: "select-control", part: "control" }, this.renderLabel(), hAsync("div", { key: '226dec9c289cde83927431e6bbd62957232bafe6', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox(), !hasFloatingOrStackedLabel && this.renderSelectIcon())), hAsync("div", { key: '683c9823d4cd1a77aadbfe518e8ac7a74cb96d94', class: "select-end", part: "end", ref: (el) => (this.endContainerEl = el) }, hasFloatingOrStackedLabel && this.renderSelectIcon(), hAsync("slot", { key: 'dab8d5d96031b7729a838c5655651fda303cfb47', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '79efaf73be89fa4cbee9bcdb15c029784ec2fb00', class: "select-highlight" })), this.renderBottomContent()));
|
|
39820
39879
|
}
|
|
39821
39880
|
get el() { return getElement(this); }
|
|
39822
39881
|
static get watchers() { return {
|
|
@@ -40283,7 +40342,7 @@ class SelectModal {
|
|
|
40283
40342
|
});
|
|
40284
40343
|
}
|
|
40285
40344
|
render() {
|
|
40286
|
-
return (hAsync(Host, { key: '
|
|
40345
|
+
return (hAsync(Host, { key: '2637fb69c9388122020b9cf628cf16fdd2e2179b', class: getIonMode$1(this) }, hAsync("ion-header", { key: 'ff9e61a03c09f43c27db940e39db14dd2737e221' }, hAsync("ion-toolbar", { key: '56aa98fa0f06dd65cbc8fe7b383659d1df8d9626' }, this.header !== undefined && hAsync("ion-title", { key: 'c30642e641445d5ed826f2285d7296ea0c71469e' }, this.header), hAsync("ion-buttons", { key: 'e87ec2fc60857219870d2e07d3287695a8d1e668', slot: "end" }, hAsync("ion-button", { key: '33801ad7c3706a89faad34fc557943628444b84a', onClick: () => this.closeModal() }, this.cancelText)))), hAsync("ion-content", { key: '6796d924d0cfd0840c121eb2e703f6fc7b7137cb' }, hAsync("ion-list", { key: '82ebe25cc0854f6edf51a2eae83c880b2772dc3a' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
40287
40346
|
}
|
|
40288
40347
|
get el() { return getElement(this); }
|
|
40289
40348
|
static get style() { return {
|
|
@@ -40326,7 +40385,7 @@ class SelectOption {
|
|
|
40326
40385
|
this.disabled = false;
|
|
40327
40386
|
}
|
|
40328
40387
|
render() {
|
|
40329
|
-
return hAsync(Host, { key: '
|
|
40388
|
+
return hAsync(Host, { key: 'b5c1acc133a280ff33e33d3a49a72633ce63c55c', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
40330
40389
|
}
|
|
40331
40390
|
get el() { return getElement(this); }
|
|
40332
40391
|
static get style() { return selectOptionCss(); }
|
|
@@ -40508,7 +40567,7 @@ class SelectPopover {
|
|
|
40508
40567
|
render() {
|
|
40509
40568
|
const { header, message, options, subHeader } = this;
|
|
40510
40569
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40511
|
-
return (hAsync(Host, { key: '
|
|
40570
|
+
return (hAsync(Host, { key: 'b9c5491322b38601ce83d1ecdee38d144420fe3b', class: getIonMode$1(this) }, hAsync("ion-list", { key: 'f03f06995c3ecef8115655968bd759a1632f0d96' }, header !== undefined && hAsync("ion-list-header", { key: '095b185cb82109300e797cf8513ab7aa38122fae' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: '6b97494064b03727b3ab141e6af42e2a30332d55' }, hAsync("ion-label", { key: 'c44fd7ada4fa081198f197ae57a2f7a2ea831cae', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: '96952ab92e728047e71f5e4374e4a91dcd615aae' }, subHeader), message !== undefined && hAsync("p", { key: '2ccb63962c2b635ff188780725f80635d636a3e2' }, message)))), this.renderOptions(options))));
|
|
40512
40571
|
}
|
|
40513
40572
|
get el() { return getElement(this); }
|
|
40514
40573
|
static get style() { return {
|
|
@@ -40559,11 +40618,11 @@ class SkeletonText {
|
|
|
40559
40618
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
40560
40619
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
40561
40620
|
const mode = getIonMode$1(this);
|
|
40562
|
-
return (hAsync(Host, { key: '
|
|
40621
|
+
return (hAsync(Host, { key: '59a41a7f3ba2de4f44de57b3243c8f803eb88e2c', class: {
|
|
40563
40622
|
[mode]: true,
|
|
40564
40623
|
'skeleton-text-animated': animated,
|
|
40565
40624
|
'in-media': inMedia,
|
|
40566
|
-
} }, hAsync("span", { key: '
|
|
40625
|
+
} }, hAsync("span", { key: 'a59a5cea5504f523c4d9b1f428f66772103290aa' }, "\u00A0")));
|
|
40567
40626
|
}
|
|
40568
40627
|
get el() { return getElement(this); }
|
|
40569
40628
|
static get style() { return skeletonTextCss(); }
|
|
@@ -40615,7 +40674,7 @@ class Spinner {
|
|
|
40615
40674
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
40616
40675
|
}
|
|
40617
40676
|
}
|
|
40618
|
-
return (hAsync(Host, { key: '
|
|
40677
|
+
return (hAsync(Host, { key: '8cb73346083cb8a17e38c90e3405fee806c55bbf', class: createColorClasses$1(self.color, {
|
|
40619
40678
|
[mode]: true,
|
|
40620
40679
|
[`spinner-${spinnerName}`]: true,
|
|
40621
40680
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -40715,12 +40774,12 @@ class SplitPane {
|
|
|
40715
40774
|
}
|
|
40716
40775
|
render() {
|
|
40717
40776
|
const mode = getIonMode$1(this);
|
|
40718
|
-
return (hAsync(Host, { key: '
|
|
40777
|
+
return (hAsync(Host, { key: 'b3147f326f07cb85ae89777fb78aece2bfeaf082', class: {
|
|
40719
40778
|
[mode]: true,
|
|
40720
40779
|
// Used internally for styling
|
|
40721
40780
|
[`split-pane-${mode}`]: true,
|
|
40722
40781
|
'split-pane-visible': this.visible,
|
|
40723
|
-
} }, hAsync("slot", { key: '
|
|
40782
|
+
} }, hAsync("slot", { key: '4c02e636cbba62fe77e3bf6522450fddf3db1b12' })));
|
|
40724
40783
|
}
|
|
40725
40784
|
get el() { return getElement(this); }
|
|
40726
40785
|
static get watchers() { return {
|
|
@@ -40800,10 +40859,10 @@ class Tab {
|
|
|
40800
40859
|
}
|
|
40801
40860
|
render() {
|
|
40802
40861
|
const { tab, active, component } = this;
|
|
40803
|
-
return (hAsync(Host, { key: '
|
|
40862
|
+
return (hAsync(Host, { key: '8c16ed02c7b4e2839866ee1bacb2ba423df7a0ea', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
40804
40863
|
'ion-page': component === undefined,
|
|
40805
40864
|
'tab-hidden': !active,
|
|
40806
|
-
} }, hAsync("slot", { key: '
|
|
40865
|
+
} }, hAsync("slot", { key: '27cef38176016a1d5eb7de578f131978e78b6e1c' })));
|
|
40807
40866
|
}
|
|
40808
40867
|
get el() { return getElement(this); }
|
|
40809
40868
|
static get watchers() { return {
|
|
@@ -40918,11 +40977,11 @@ class TabBar {
|
|
|
40918
40977
|
const { color, translucent, keyboardVisible } = this;
|
|
40919
40978
|
const mode = getIonMode$1(this);
|
|
40920
40979
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
40921
|
-
return (hAsync(Host, { key: '
|
|
40980
|
+
return (hAsync(Host, { key: '97c659a48ded6f6a8278bbaca9bda3225ee389eb', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
40922
40981
|
[mode]: true,
|
|
40923
40982
|
'tab-bar-translucent': translucent,
|
|
40924
40983
|
'tab-bar-hidden': shouldHide,
|
|
40925
|
-
}) }, hAsync("slot", { key: '
|
|
40984
|
+
}) }, hAsync("slot", { key: '1d52dd787a2380c079eaabb792a02e4800325dc7' })));
|
|
40926
40985
|
}
|
|
40927
40986
|
get el() { return getElement(this); }
|
|
40928
40987
|
static get watchers() { return {
|
|
@@ -41031,7 +41090,7 @@ class TabButton {
|
|
|
41031
41090
|
rel,
|
|
41032
41091
|
target,
|
|
41033
41092
|
};
|
|
41034
|
-
return (hAsync(Host, { key: '
|
|
41093
|
+
return (hAsync(Host, { key: 'dc6d13ee86841ffe48b5a2ec798947b6c3a4a8ea', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41035
41094
|
[mode]: true,
|
|
41036
41095
|
'tab-selected': selected,
|
|
41037
41096
|
'tab-disabled': disabled,
|
|
@@ -41043,7 +41102,7 @@ class TabButton {
|
|
|
41043
41102
|
'ion-activatable': true,
|
|
41044
41103
|
'ion-selectable': true,
|
|
41045
41104
|
'ion-focusable': true,
|
|
41046
|
-
} }, hAsync("a", { key: '
|
|
41105
|
+
} }, hAsync("a", { key: 'ae431f1611f08a82fc7621f58dc8167b244662ff', ...attrs, class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : tabindex, ...inheritedAttributes }, hAsync("span", { key: '20547a90d5d1e6ba1afd0272223f23d3bab10536', class: "button-inner" }, hAsync("slot", { key: '581060ca9763ad4a1ac282daf05f7f9114d715ed' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '9410586aff452028a204689da0612345e3e68d07', type: "unbounded" }))));
|
|
41047
41106
|
}
|
|
41048
41107
|
get el() { return getElement(this); }
|
|
41049
41108
|
static get style() { return {
|
|
@@ -41234,7 +41293,7 @@ class Tabs {
|
|
|
41234
41293
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41235
41294
|
}
|
|
41236
41295
|
render() {
|
|
41237
|
-
return (hAsync(Host, { key: '
|
|
41296
|
+
return (hAsync(Host, { key: '5e0973b15b066d7836c62da6da419a65d92d2607', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: 'f83f7df4370be199c3720dc78903e91ee9b40089', name: "top" }), hAsync("div", { key: 'e98e122a179630e5f16d845bd518364297eb4d8d', class: "tabs-inner" }, hAsync("slot", { key: 'f906b9af0a642692712b4b1f20f3a7445b855ac3' })), hAsync("slot", { key: 'b4bac1a743a60a38a60b0c421f462590d2357c2e', name: "bottom" })));
|
|
41238
41297
|
}
|
|
41239
41298
|
get el() { return getElement(this); }
|
|
41240
41299
|
static get style() { return tabsCss(); }
|
|
@@ -41275,9 +41334,9 @@ class Text {
|
|
|
41275
41334
|
}
|
|
41276
41335
|
render() {
|
|
41277
41336
|
const mode = getIonMode$1(this);
|
|
41278
|
-
return (hAsync(Host, { key: '
|
|
41337
|
+
return (hAsync(Host, { key: '54fc089c6b77f7c4a8e0c4441d06507e7a0489c4', class: createColorClasses$1(this.color, {
|
|
41279
41338
|
[mode]: true,
|
|
41280
|
-
}) }, hAsync("slot", { key: '
|
|
41339
|
+
}) }, hAsync("slot", { key: '308480aa067e52eb4bf7dc619fb7e3b89fcdb62b' })));
|
|
41281
41340
|
}
|
|
41282
41341
|
static get style() { return textCss(); }
|
|
41283
41342
|
static get cmpMeta() { return {
|
|
@@ -41725,7 +41784,7 @@ class Textarea {
|
|
|
41725
41784
|
* the textarea has a value or is focused.
|
|
41726
41785
|
*/
|
|
41727
41786
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus));
|
|
41728
|
-
return (hAsync(Host, { key: '
|
|
41787
|
+
return (hAsync(Host, { key: '66406131581ec7ec655d666dad2a77e044456521', class: createColorClasses$1(this.color, {
|
|
41729
41788
|
[mode]: true,
|
|
41730
41789
|
'has-value': hasValue,
|
|
41731
41790
|
'has-focus': hasFocus,
|
|
@@ -41734,7 +41793,7 @@ class Textarea {
|
|
|
41734
41793
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
41735
41794
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
41736
41795
|
'textarea-disabled': disabled,
|
|
41737
|
-
}) }, hAsync("label", { key: '
|
|
41796
|
+
}) }, hAsync("label", { key: '70a757201ec4960d3455ce1ce0b4263fdb605951', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, hasOutlineFill && this.renderOutlineContainer(), hAsync("div", { key: 'e9413c3daac0e3ccbc3191b0edd5453d8e805a92', class: "textarea-start", ref: (el) => (this.startContainerEl = el) }, hAsync("slot", { key: 'af2cab0782366f14426ea3f1f76dc284ff73104b', name: "start" })), hAsync("div", { key: '0be1e2032787f3056dd5dbb8fab4e753522b1739', class: "textarea-control" }, this.renderLabel(), hAsync("div", { key: 'a2d5c96fbec2270cbb374fd1d7b173a2d849160b', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, hAsync("textarea", { key: '819e46a8bebc3fab62025992e7570d936c90c5eb', 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: '3b106e24e573000e228de08575bf95890bbc05ff', class: "textarea-end", ref: (el) => (this.endContainerEl = el) }, hAsync("slot", { key: 'f6e4e2a8341c71da32dbd05a01ce79a4b4f9e7a7', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '1544e5045d62c4c47a662c2861988f63b74cea34', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
41738
41797
|
}
|
|
41739
41798
|
get el() { return getElement(this); }
|
|
41740
41799
|
static get watchers() { return {
|
|
@@ -41804,7 +41863,7 @@ class Thumbnail {
|
|
|
41804
41863
|
registerInstance(this, hostRef);
|
|
41805
41864
|
}
|
|
41806
41865
|
render() {
|
|
41807
|
-
return (hAsync(Host, { key: '
|
|
41866
|
+
return (hAsync(Host, { key: '0396aae5f545bbf7ebe1cbb05bc25f9181d2afe3', class: getIonMode$1(this) }, hAsync("slot", { key: 'bf01dbadd4042a4b45ce24a8ce408f15e7647a03' })));
|
|
41808
41867
|
}
|
|
41809
41868
|
static get style() { return thumbnailCss(); }
|
|
41810
41869
|
static get cmpMeta() { return {
|
|
@@ -42663,14 +42722,14 @@ class Toast {
|
|
|
42663
42722
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
42664
42723
|
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);
|
|
42665
42724
|
}
|
|
42666
|
-
return (hAsync(Host, { key: '
|
|
42725
|
+
return (hAsync(Host, { key: 'e1974e5ea2a134f5447f9b1efcc11a87a6aa744b', tabindex: "-1", ...this.htmlAttributes, style: {
|
|
42667
42726
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
42668
42727
|
}, class: createColorClasses$1(this.color, {
|
|
42669
42728
|
[mode]: true,
|
|
42670
42729
|
...getClassMap(this.cssClass),
|
|
42671
42730
|
'overlay-hidden': true,
|
|
42672
42731
|
'toast-translucent': this.translucent,
|
|
42673
|
-
}), onIonToastWillDismiss: this.dispatchCancelHandler }, hAsync("div", { key: '
|
|
42732
|
+
}), onIonToastWillDismiss: this.dispatchCancelHandler }, hAsync("div", { key: '966d19ec901fa3cbea1bfc1ca3540bcc3263fd96', class: wrapperClass, part: "wrapper" }, hAsync("div", { key: 'd3449bab878af046678897bc4c35d3f779c7d5e9', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: 'cf989fb1908f7a075745c567e504599a091ab5cd', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: '33bb13417030085d9d19629e4df4a4492a7f36c9', class: "toast-content", part: "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')))));
|
|
42674
42733
|
}
|
|
42675
42734
|
get el() { return getElement(this); }
|
|
42676
42735
|
static get watchers() { return {
|
|
@@ -43005,7 +43064,7 @@ class Toggle {
|
|
|
43005
43064
|
// The attributes are matched too because the class needs the item to render.
|
|
43006
43065
|
const inClickableItem = hostContext('ion-item.ion-activatable, ion-item[button], ion-item[href]', el);
|
|
43007
43066
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43008
|
-
return (hAsync(Host, { key: '
|
|
43067
|
+
return (hAsync(Host, { key: '18e0de79217cf36db96278ba885adaca32519271', 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, {
|
|
43009
43068
|
[mode]: true,
|
|
43010
43069
|
'in-item': inItem,
|
|
43011
43070
|
// `ion-focusable` has to stay on because it is what makes the item focusable.
|
|
@@ -43019,10 +43078,10 @@ class Toggle {
|
|
|
43019
43078
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
43020
43079
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
43021
43080
|
[`toggle-${rtl}`]: true,
|
|
43022
|
-
}) }, hAsync("label", { key: '
|
|
43081
|
+
}) }, hAsync("label", { key: 'bb7cdeac60b954aa46e8f4d53d1124fafaa4ce22', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", { key: '6decbe784f01c998a6945d5806486787b14eb169', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required, ...inheritedAttributes }), hAsync("div", { key: 'fb139b9692f1fd8a010805f91b63e6c86f4ca838', class: {
|
|
43023
43082
|
'label-text-wrapper': true,
|
|
43024
43083
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43025
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
43084
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '3ff2b65c18c1f95bd00518fea5d04694e9b830ad' }), this.renderHintText()), hAsync("div", { key: '91a510ff8f9c7ddca0fcfa1b9eeffe9a9de16c78', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
43026
43085
|
}
|
|
43027
43086
|
get el() { return getElement(this); }
|
|
43028
43087
|
static get watchers() { return {
|
|
@@ -43135,13 +43194,13 @@ class Toolbar {
|
|
|
43135
43194
|
this.childrenStyles.forEach((value) => {
|
|
43136
43195
|
Object.assign(childStyles, value);
|
|
43137
43196
|
});
|
|
43138
|
-
return (hAsync(Host, { key: '
|
|
43197
|
+
return (hAsync(Host, { key: 'e4d089de5c5b16f34fda10f3fe00054aa38bbc7f', class: {
|
|
43139
43198
|
...childStyles,
|
|
43140
43199
|
...createColorClasses$1(this.color, {
|
|
43141
43200
|
[mode]: true,
|
|
43142
43201
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
43143
43202
|
}),
|
|
43144
|
-
} }, hAsync("div", { key: '
|
|
43203
|
+
} }, hAsync("div", { key: '6463fdec00f2c50fa8691ceed3213157b275f398', class: "toolbar-background", part: "background" }), hAsync("div", { key: 'ffcd3cf5ba187dfff98cb01101cb1dae93d0e057', class: "toolbar-container", part: "container" }, hAsync("slot", { key: '899f1b18a87a1c873f0e4c3d7b9b3dfe20fdb1e5', name: "start" }), hAsync("slot", { key: 'bf2fc384b24742e5f441f9193d173635d5d45dc7', name: "secondary" }), hAsync("div", { key: '21cebe9074ad0858567edaa106571aab5895ef1d', class: "toolbar-content", part: "content" }, hAsync("slot", { key: 'ac05301746a1e6bfb3f6c533d2fe1c770d066419' })), hAsync("slot", { key: '1dbd07d1c7d31b16a612c05672c2d559d85e83bb', name: "primary" }), hAsync("slot", { key: '617e1daa50d7f168d290f751005d79ce777f0793', name: "end" }))));
|
|
43145
43204
|
}
|
|
43146
43205
|
get el() { return getElement(this); }
|
|
43147
43206
|
static get style() { return {
|
|
@@ -43188,11 +43247,11 @@ class ToolbarTitle {
|
|
|
43188
43247
|
render() {
|
|
43189
43248
|
const mode = getIonMode$1(this);
|
|
43190
43249
|
const size = this.getSize();
|
|
43191
|
-
return (hAsync(Host, { key: '
|
|
43250
|
+
return (hAsync(Host, { key: '6cf9ee05e06ee7d455ea6ac862b3ad1585b972d7', class: createColorClasses$1(this.color, {
|
|
43192
43251
|
[mode]: true,
|
|
43193
43252
|
[`title-${size}`]: true,
|
|
43194
43253
|
'title-rtl': isRTL$1(this.el),
|
|
43195
|
-
}) }, hAsync("div", { key: '
|
|
43254
|
+
}) }, hAsync("div", { key: '82c876274616c3466c18bff2a6bf4303285146a8', class: "toolbar-title" }, hAsync("slot", { key: '1006ef94f2694ff5d16f049ddaacd8e69ba4de12' }))));
|
|
43196
43255
|
}
|
|
43197
43256
|
get el() { return getElement(this); }
|
|
43198
43257
|
static get watchers() { return {
|
|
@@ -44211,7 +44270,7 @@ var NAMESPACE = (
|
|
|
44211
44270
|
);
|
|
44212
44271
|
|
|
44213
44272
|
/*
|
|
44214
|
-
Stencil Hydrate Runner v4.45.
|
|
44273
|
+
Stencil Hydrate Runner v4.45.4 | MIT Licensed | https://stenciljs.com
|
|
44215
44274
|
*/
|
|
44216
44275
|
var __create = Object.create;
|
|
44217
44276
|
var __defProp = Object.defineProperty;
|