@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.js
CHANGED
|
@@ -468,7 +468,7 @@ const appGlobalScript = initialize || (() => {});
|
|
|
468
468
|
const globalScripts = appGlobalScript;
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
|
-
Stencil Hydrate Platform v4.45.
|
|
471
|
+
Stencil Hydrate Platform v4.45.4 | MIT Licensed | https://stenciljs.com
|
|
472
472
|
*/
|
|
473
473
|
var __create = Object.create;
|
|
474
474
|
var __defProp = Object.defineProperty;
|
|
@@ -8057,6 +8057,39 @@ const focusElementInContext = (hostToFocus, fallbackElement) => {
|
|
|
8057
8057
|
}
|
|
8058
8058
|
};
|
|
8059
8059
|
|
|
8060
|
+
/**
|
|
8061
|
+
* Moves focus off a boundary. Focus arriving from inside the overlay
|
|
8062
|
+
* wraps to the opposite end. Focus arriving from outside enters at the
|
|
8063
|
+
* nearest end.
|
|
8064
|
+
*/
|
|
8065
|
+
const onBoundaryFocus = (overlay, ev, edge) => {
|
|
8066
|
+
/**
|
|
8067
|
+
* Shadow overlays search their slotted content. Scoped overlays search
|
|
8068
|
+
* their wrapper, since the boundaries are siblings of it in the same
|
|
8069
|
+
* tree and would otherwise be found first.
|
|
8070
|
+
*/
|
|
8071
|
+
const container = overlay.shadowRoot ? overlay : overlay.querySelector('.ion-overlay-wrapper');
|
|
8072
|
+
if (!container) {
|
|
8073
|
+
return;
|
|
8074
|
+
}
|
|
8075
|
+
const from = ev.relatedTarget;
|
|
8076
|
+
const fromInside = from !== null && from !== overlay && (overlay.contains(from) || overlay.shadowRoot?.contains(from) === true);
|
|
8077
|
+
const focusFirst = edge === 'start' ? !fromInside : fromInside;
|
|
8078
|
+
if (focusFirst) {
|
|
8079
|
+
focusFirstDescendant(container, overlay);
|
|
8080
|
+
}
|
|
8081
|
+
else {
|
|
8082
|
+
focusLastDescendant(container, overlay);
|
|
8083
|
+
}
|
|
8084
|
+
};
|
|
8085
|
+
/**
|
|
8086
|
+
* Renders a focusable element before or after an overlay's content that
|
|
8087
|
+
* keeps Tab inside the overlay. The document focus listener in overlays.ts
|
|
8088
|
+
* cannot do this alone, since browsers can move focus past the end of the
|
|
8089
|
+
* page without firing a focus event.
|
|
8090
|
+
*/
|
|
8091
|
+
const OverlayFocusBoundary = ({ overlay, edge }) => (hAsync("div", { class: "ion-overlay-focus-boundary", tabIndex: 0, "aria-hidden": "true", onFocus: (ev) => onBoundaryFocus(overlay, ev, edge) }));
|
|
8092
|
+
|
|
8060
8093
|
/**
|
|
8061
8094
|
* CloseWatcher is a newer API that lets
|
|
8062
8095
|
* use detect the hardware back button event
|
|
@@ -8389,18 +8422,10 @@ const trapKeyboardFocus = (ev, doc) => {
|
|
|
8389
8422
|
focusElementInOverlay(lastOverlay.lastFocus, lastOverlay);
|
|
8390
8423
|
/**
|
|
8391
8424
|
* Otherwise, we must be focusing an element
|
|
8392
|
-
* inside of the overlay.
|
|
8393
|
-
* here are an input/button/etc or the ion-focus-trap
|
|
8394
|
-
* element. The focus trap element is used to prevent
|
|
8395
|
-
* the keyboard focus from leaving the overlay when
|
|
8396
|
-
* using Tab or screen assistants.
|
|
8425
|
+
* inside of the overlay.
|
|
8397
8426
|
*/
|
|
8398
8427
|
}
|
|
8399
8428
|
else {
|
|
8400
|
-
/**
|
|
8401
|
-
* We do not want to focus the traps, so get the overlay
|
|
8402
|
-
* wrapper element as the traps live outside of the wrapper.
|
|
8403
|
-
*/
|
|
8404
8429
|
const overlayRoot = getElementRoot(lastOverlay);
|
|
8405
8430
|
if (!overlayRoot.contains(target)) {
|
|
8406
8431
|
return;
|
|
@@ -8415,40 +8440,13 @@ const trapKeyboardFocus = (ev, doc) => {
|
|
|
8415
8440
|
* Additionally, if the backdrop was tapped we should not
|
|
8416
8441
|
* move focus back inside the wrapper as that could cause
|
|
8417
8442
|
* an interactive elements focus state to activate.
|
|
8443
|
+
*
|
|
8444
|
+
* The focus boundaries outside of the wrapper move
|
|
8445
|
+
* focus back inside on their own.
|
|
8418
8446
|
*/
|
|
8419
8447
|
if (overlayWrapper.contains(target) || target === overlayRoot.querySelector('ion-backdrop')) {
|
|
8420
8448
|
lastOverlay.lastFocus = target;
|
|
8421
8449
|
}
|
|
8422
|
-
else {
|
|
8423
|
-
/**
|
|
8424
|
-
* Otherwise, we must have focused one of the focus traps.
|
|
8425
|
-
* We need to wrap the focus to either the first element
|
|
8426
|
-
* or the last element.
|
|
8427
|
-
*/
|
|
8428
|
-
/**
|
|
8429
|
-
* Once we call `focusFirstDescendant` and focus the first
|
|
8430
|
-
* descendant, another focus event will fire which will
|
|
8431
|
-
* cause `lastOverlay.lastFocus` to be updated before
|
|
8432
|
-
* we can run the code after that. We will cache the value
|
|
8433
|
-
* here to avoid that.
|
|
8434
|
-
*/
|
|
8435
|
-
const lastFocus = lastOverlay.lastFocus;
|
|
8436
|
-
// Focus the first element in the overlay wrapper
|
|
8437
|
-
focusFirstDescendant(overlayWrapper, lastOverlay);
|
|
8438
|
-
/**
|
|
8439
|
-
* If the cached last focused element is the
|
|
8440
|
-
* same as the active element, then we need
|
|
8441
|
-
* to wrap focus to the last descendant. This happens
|
|
8442
|
-
* when the first descendant is focused, and the user
|
|
8443
|
-
* presses Shift + Tab. The previous line will focus
|
|
8444
|
-
* the same descendant again (the first one), causing
|
|
8445
|
-
* last focus to equal the active element.
|
|
8446
|
-
*/
|
|
8447
|
-
if (lastFocus === doc.activeElement) {
|
|
8448
|
-
focusLastDescendant(overlayWrapper, lastOverlay);
|
|
8449
|
-
}
|
|
8450
|
-
lastOverlay.lastFocus = doc.activeElement;
|
|
8451
|
-
}
|
|
8452
8450
|
}
|
|
8453
8451
|
};
|
|
8454
8452
|
const trapShadowFocus = () => {
|
|
@@ -11026,17 +11024,17 @@ class ActionSheet {
|
|
|
11026
11024
|
const cancelButton = allButtons.find((b) => b.role === 'cancel');
|
|
11027
11025
|
const buttons = allButtons.filter((b) => b.role !== 'cancel');
|
|
11028
11026
|
const headerID = `action-sheet-${overlayIndex}-header`;
|
|
11029
|
-
return (hAsync(Host, { key: '
|
|
11027
|
+
return (hAsync(Host, { key: 'ed65bc1dcf597ea52e1f6e2330a0177348a98357', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1", ...htmlAttributes, style: {
|
|
11030
11028
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
11031
11029
|
}, class: {
|
|
11032
11030
|
[mode]: true,
|
|
11033
11031
|
...getClassMap(this.cssClass),
|
|
11034
11032
|
'overlay-hidden': true,
|
|
11035
11033
|
'action-sheet-translucent': this.translucent,
|
|
11036
|
-
}, onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: '
|
|
11034
|
+
}, 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: {
|
|
11037
11035
|
'action-sheet-title': true,
|
|
11038
11036
|
'action-sheet-has-sub-title': this.subHeader !== undefined,
|
|
11039
|
-
} }, header, this.subHeader && hAsync("div", { key: '
|
|
11037
|
+
} }, 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" })));
|
|
11040
11038
|
}
|
|
11041
11039
|
get el() { return getElement(this); }
|
|
11042
11040
|
static get watchers() { return {
|
|
@@ -11783,14 +11781,14 @@ class Alert {
|
|
|
11783
11781
|
* If neither are defined, do not set aria-labelledby.
|
|
11784
11782
|
*/
|
|
11785
11783
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
11786
|
-
return (hAsync(Host, { key: '
|
|
11784
|
+
return (hAsync(Host, { key: 'b650ede6e9475db0ee22f3b144178cc35bbb37bc', tabindex: "-1", style: {
|
|
11787
11785
|
zIndex: `${20000 + overlayIndex}`,
|
|
11788
11786
|
}, class: {
|
|
11789
11787
|
...getClassMap(this.cssClass),
|
|
11790
11788
|
[mode]: true,
|
|
11791
11789
|
'overlay-hidden': true,
|
|
11792
11790
|
'alert-translucent': this.translucent,
|
|
11793
|
-
}, onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: '
|
|
11791
|
+
}, 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" })));
|
|
11794
11792
|
}
|
|
11795
11793
|
get el() { return getElement(this); }
|
|
11796
11794
|
static get watchers() { return {
|
|
@@ -13782,6 +13780,49 @@ const checkInvalidState = (el) => {
|
|
|
13782
13780
|
return hasIonTouched && hasIonInvalid;
|
|
13783
13781
|
};
|
|
13784
13782
|
|
|
13783
|
+
/**
|
|
13784
|
+
* How long, in milliseconds, the field is checked after a restore. The clear
|
|
13785
|
+
* can land a few frames after `pageshow`, such as when Web Inspector is open.
|
|
13786
|
+
*/
|
|
13787
|
+
const PAGE_RESTORE_CHECK_DURATION = 500;
|
|
13788
|
+
/**
|
|
13789
|
+
* Safari clears password and autocomplete="off" fields after restoring a
|
|
13790
|
+
* page from the back/forward cache, without firing `input`. The clear lands
|
|
13791
|
+
* after `pageshow`, so the field is checked each frame until it differs from
|
|
13792
|
+
* the value or the check duration ends.
|
|
13793
|
+
*
|
|
13794
|
+
* A cleared password field stays cleared, as a native one does, and the
|
|
13795
|
+
* value follows it. Any other field is cleared only because autocomplete
|
|
13796
|
+
* defaults to "off", so its text is put back from the value.
|
|
13797
|
+
*
|
|
13798
|
+
* @param ev The `pageshow` event. Only a restored page (`persisted`) is checked.
|
|
13799
|
+
* @param nativeInput The input whose text is read on each check.
|
|
13800
|
+
* @param getValue Returns the component's value when each check runs.
|
|
13801
|
+
* @param onPasswordCleared Called with the field's text when a password field differs from the value.
|
|
13802
|
+
*/
|
|
13803
|
+
const syncValueOnPageRestore = (ev, nativeInput, getValue, onPasswordCleared) => {
|
|
13804
|
+
if (!ev.persisted || !nativeInput) {
|
|
13805
|
+
return;
|
|
13806
|
+
}
|
|
13807
|
+
const start = Date.now();
|
|
13808
|
+
const check = () => {
|
|
13809
|
+
const value = getValue();
|
|
13810
|
+
if (nativeInput.value !== value) {
|
|
13811
|
+
if (nativeInput.type === 'password') {
|
|
13812
|
+
onPasswordCleared(nativeInput.value);
|
|
13813
|
+
}
|
|
13814
|
+
else {
|
|
13815
|
+
nativeInput.value = value;
|
|
13816
|
+
}
|
|
13817
|
+
return;
|
|
13818
|
+
}
|
|
13819
|
+
if (Date.now() - start < PAGE_RESTORE_CHECK_DURATION) {
|
|
13820
|
+
raf(check);
|
|
13821
|
+
}
|
|
13822
|
+
};
|
|
13823
|
+
raf(check);
|
|
13824
|
+
};
|
|
13825
|
+
|
|
13785
13826
|
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}`;
|
|
13786
13827
|
|
|
13787
13828
|
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}`;
|
|
@@ -21336,6 +21377,15 @@ class Input {
|
|
|
21336
21377
|
onClickCapture(ev) {
|
|
21337
21378
|
this.clickController?.handleClickCapture(ev);
|
|
21338
21379
|
}
|
|
21380
|
+
/**
|
|
21381
|
+
* Safari clears the field when it restores the page from the back/forward cache.
|
|
21382
|
+
*/
|
|
21383
|
+
onPageShow(ev) {
|
|
21384
|
+
syncValueOnPageRestore(ev, this.nativeInput, () => this.getValue(), (value) => {
|
|
21385
|
+
this.value = value;
|
|
21386
|
+
this.emitInputChange();
|
|
21387
|
+
});
|
|
21388
|
+
}
|
|
21339
21389
|
componentWillLoad() {
|
|
21340
21390
|
this.inheritedAttributes = {
|
|
21341
21391
|
...inheritAriaAttributes(this.el),
|
|
@@ -21605,7 +21655,7 @@ class Input {
|
|
|
21605
21655
|
* the input has a value or is focused.
|
|
21606
21656
|
*/
|
|
21607
21657
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus));
|
|
21608
|
-
return (hAsync(Host, { key: '
|
|
21658
|
+
return (hAsync(Host, { key: '58ba66ab5b3ba19aa39e0146c1f8c87899537cd7', class: createColorClasses$1(this.color, {
|
|
21609
21659
|
[mode]: true,
|
|
21610
21660
|
'has-value': hasValue,
|
|
21611
21661
|
'has-focus': hasFocus,
|
|
@@ -21616,14 +21666,14 @@ class Input {
|
|
|
21616
21666
|
'in-item': inItem,
|
|
21617
21667
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
21618
21668
|
'input-disabled': disabled,
|
|
21619
|
-
}) }, hAsync("label", { key: '
|
|
21669
|
+
}) }, 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) => {
|
|
21620
21670
|
/**
|
|
21621
21671
|
* This prevents mobile browsers from
|
|
21622
21672
|
* blurring the input when the clear
|
|
21623
21673
|
* button is activated.
|
|
21624
21674
|
*/
|
|
21625
21675
|
ev.preventDefault();
|
|
21626
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
21676
|
+
}, 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()));
|
|
21627
21677
|
}
|
|
21628
21678
|
get el() { return getElement(this); }
|
|
21629
21679
|
static get watchers() { return {
|
|
@@ -21687,7 +21737,7 @@ class Input {
|
|
|
21687
21737
|
"setFocus": [64],
|
|
21688
21738
|
"getInputElement": [64]
|
|
21689
21739
|
},
|
|
21690
|
-
"$listeners$": [[2, "click", "onClickCapture"]],
|
|
21740
|
+
"$listeners$": [[2, "click", "onClickCapture"], [8, "pageshow", "onPageShow"]],
|
|
21691
21741
|
"$lazyBundleId$": "-",
|
|
21692
21742
|
"$attrsToReflect$": [["color", "color"], ["disabled", "disabled"], ["readonly", "readonly"]]
|
|
21693
21743
|
}; }
|
|
@@ -24048,14 +24098,14 @@ class Loading {
|
|
|
24048
24098
|
* Otherwise, don't set aria-labelledby.
|
|
24049
24099
|
*/
|
|
24050
24100
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
24051
|
-
return (hAsync(Host, { key: '
|
|
24101
|
+
return (hAsync(Host, { key: '78b2e6736edcc5fe4ad987548be2756c5b61ac0e', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
|
|
24052
24102
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
24053
24103
|
}, onIonBackdropTap: this.onBackdropTap, class: {
|
|
24054
24104
|
...getClassMap(this.cssClass),
|
|
24055
24105
|
[mode]: true,
|
|
24056
24106
|
'overlay-hidden': true,
|
|
24057
24107
|
'loading-translucent': this.translucent,
|
|
24058
|
-
} }, hAsync("ion-backdrop", { key: '
|
|
24108
|
+
} }, 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" })));
|
|
24059
24109
|
}
|
|
24060
24110
|
get el() { return getElement(this); }
|
|
24061
24111
|
static get watchers() { return {
|
|
@@ -27550,9 +27600,9 @@ const clearSafeAreaOverrides = (hostEl) => {
|
|
|
27550
27600
|
hostEl.style.removeProperty('--ion-safe-area-right');
|
|
27551
27601
|
};
|
|
27552
27602
|
|
|
27553
|
-
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}`;
|
|
27603
|
+
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}`;
|
|
27554
27604
|
|
|
27555
|
-
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}`;
|
|
27605
|
+
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}`;
|
|
27556
27606
|
|
|
27557
27607
|
// TODO(FW-2832): types
|
|
27558
27608
|
/**
|
|
@@ -28801,7 +28851,7 @@ class Modal {
|
|
|
28801
28851
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
28802
28852
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28803
28853
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28804
|
-
return (hAsync(Host, { key: '
|
|
28854
|
+
return (hAsync(Host, { key: '0f5bf017911db2f82bc69ba85b173b7573a21d6c', "no-router": true,
|
|
28805
28855
|
// Allow the modal to be navigable when the handle is focusable
|
|
28806
28856
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1, ...htmlAttributes, style: {
|
|
28807
28857
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
@@ -28814,7 +28864,7 @@ class Modal {
|
|
|
28814
28864
|
'overlay-hidden': true,
|
|
28815
28865
|
[FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
28816
28866
|
...getClassMap(this.cssClass),
|
|
28817
|
-
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, hAsync("ion-backdrop", { key: '
|
|
28867
|
+
}, 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',
|
|
28818
28868
|
/*
|
|
28819
28869
|
role and aria-modal must be used on the
|
|
28820
28870
|
same element. They must also be set inside the
|
|
@@ -28827,9 +28877,9 @@ class Modal {
|
|
|
28827
28877
|
without the tabindex focus() would be a no-op and screen readers
|
|
28828
28878
|
may not properly announce the dialog and its content when it opens.
|
|
28829
28879
|
*/
|
|
28830
|
-
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: '
|
|
28880
|
+
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",
|
|
28831
28881
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28832
|
-
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: '
|
|
28882
|
+
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" })));
|
|
28833
28883
|
}
|
|
28834
28884
|
get el() { return getElement(this); }
|
|
28835
28885
|
static get watchers() { return {
|
|
@@ -29698,7 +29748,7 @@ class Nav {
|
|
|
29698
29748
|
}
|
|
29699
29749
|
}
|
|
29700
29750
|
render() {
|
|
29701
|
-
return hAsync("slot", { key: '
|
|
29751
|
+
return hAsync("slot", { key: 'c5cac2d78cd795c13ff99c81fe1aa4b1eb56a26e' });
|
|
29702
29752
|
}
|
|
29703
29753
|
get el() { return getElement(this); }
|
|
29704
29754
|
static get watchers() { return {
|
|
@@ -29774,7 +29824,7 @@ class NavLink {
|
|
|
29774
29824
|
};
|
|
29775
29825
|
}
|
|
29776
29826
|
render() {
|
|
29777
|
-
return hAsync(Host, { key: '
|
|
29827
|
+
return hAsync(Host, { key: '02d9f90830b4055a424ce0f8f076361311e5380f', onClick: this.onClick });
|
|
29778
29828
|
}
|
|
29779
29829
|
get el() { return getElement(this); }
|
|
29780
29830
|
static get cmpMeta() { return {
|
|
@@ -29806,9 +29856,9 @@ class Note {
|
|
|
29806
29856
|
}
|
|
29807
29857
|
render() {
|
|
29808
29858
|
const mode = getIonMode$1(this);
|
|
29809
|
-
return (hAsync(Host, { key: '
|
|
29859
|
+
return (hAsync(Host, { key: '5e8f4fc23d1ddfb65db1ccbfd8c44ad81747b673', class: createColorClasses$1(this.color, {
|
|
29810
29860
|
[mode]: true,
|
|
29811
|
-
}) }, hAsync("slot", { key: '
|
|
29861
|
+
}) }, hAsync("slot", { key: '5d8395bf7b40e02e45eebc17afca608a39a0b7fb' })));
|
|
29812
29862
|
}
|
|
29813
29863
|
static get style() { return {
|
|
29814
29864
|
ios: noteIosCss(),
|
|
@@ -31141,10 +31191,10 @@ class PickerColumnOption {
|
|
|
31141
31191
|
render() {
|
|
31142
31192
|
const { color, disabled, ariaLabel } = this;
|
|
31143
31193
|
const mode = getIonMode$1(this);
|
|
31144
|
-
return (hAsync(Host, { key: '
|
|
31194
|
+
return (hAsync(Host, { key: 'd170c932c13716c1b383feb551efda3171de7b37', class: createColorClasses$1(color, {
|
|
31145
31195
|
[mode]: true,
|
|
31146
31196
|
['option-disabled']: disabled,
|
|
31147
|
-
}) }, hAsync("div", { key: '
|
|
31197
|
+
}) }, hAsync("div", { key: 'e598afe231cefe9cf0cd90d9283093ed06080d20', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'f2d18c46d237d08dd066728c339c960f6ada4c29' }))));
|
|
31148
31198
|
}
|
|
31149
31199
|
get el() { return getElement(this); }
|
|
31150
31200
|
static get watchers() { return {
|
|
@@ -32320,9 +32370,9 @@ const mdLeaveAnimation$1 = (baseEl) => {
|
|
|
32320
32370
|
.addAnimation([backdropAnimation, wrapperAnimation]);
|
|
32321
32371
|
};
|
|
32322
32372
|
|
|
32323
|
-
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)}}`;
|
|
32373
|
+
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)}}`;
|
|
32324
32374
|
|
|
32325
|
-
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}`;
|
|
32375
|
+
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}`;
|
|
32326
32376
|
|
|
32327
32377
|
// TODO(FW-2832): types
|
|
32328
32378
|
/**
|
|
@@ -32813,7 +32863,7 @@ class Popover {
|
|
|
32813
32863
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
32814
32864
|
const desktop = isPlatform('desktop');
|
|
32815
32865
|
const enableArrow = arrow && !parentPopover;
|
|
32816
|
-
return (hAsync(Host, { key: '
|
|
32866
|
+
return (hAsync(Host, { key: '1c5f06c725f90f8d907ae69ef9ef0eb0b5721e61', "aria-modal": "true", "no-router": true, tabindex: "-1", ...htmlAttributes, style: {
|
|
32817
32867
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
32818
32868
|
}, class: {
|
|
32819
32869
|
...getClassMap(this.cssClass),
|
|
@@ -32824,7 +32874,7 @@ class Popover {
|
|
|
32824
32874
|
[`popover-side-${side}`]: true,
|
|
32825
32875
|
[FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
32826
32876
|
'popover-nested': !!parentPopover,
|
|
32827
|
-
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && hAsync("ion-backdrop", { key: '
|
|
32877
|
+
}, 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" })));
|
|
32828
32878
|
}
|
|
32829
32879
|
get el() { return getElement(this); }
|
|
32830
32880
|
static get watchers() { return {
|
|
@@ -32936,7 +32986,7 @@ class ProgressBar {
|
|
|
32936
32986
|
const mode = getIonMode$1(this);
|
|
32937
32987
|
// If the progress is displayed as a solid bar.
|
|
32938
32988
|
const progressSolid = buffer === 1;
|
|
32939
|
-
return (hAsync(Host, { key: '
|
|
32989
|
+
return (hAsync(Host, { key: '0dcbab9010dfe1acb14b1cc36fce4dd3679184c7', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
32940
32990
|
[mode]: true,
|
|
32941
32991
|
[`progress-bar-${type}`]: true,
|
|
32942
32992
|
'progress-paused': paused,
|
|
@@ -34244,7 +34294,7 @@ class Range {
|
|
|
34244
34294
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34245
34295
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34246
34296
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34247
|
-
return (hAsync(Host, { key: '
|
|
34297
|
+
return (hAsync(Host, { key: 'f63c0130ab45c80f07f3f3f9c8f1893535b2c2cd', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34248
34298
|
[mode]: true,
|
|
34249
34299
|
'in-item': inItem,
|
|
34250
34300
|
'range-disabled': disabled,
|
|
@@ -34258,10 +34308,10 @@ class Range {
|
|
|
34258
34308
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34259
34309
|
'range-value-min': valueAtMin,
|
|
34260
34310
|
'range-value-max': valueAtMax,
|
|
34261
|
-
}) }, hAsync("label", { key: '
|
|
34311
|
+
}) }, hAsync("label", { key: 'd71435fdcbffd880da8923b8225ae24776ff20de', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: 'd9145352c3565ea7dda02f3bee9aac97a8ce4a21', class: {
|
|
34262
34312
|
'label-text-wrapper': true,
|
|
34263
34313
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34264
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
34314
|
+
}, 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" })))));
|
|
34265
34315
|
}
|
|
34266
34316
|
get el() { return getElement(this); }
|
|
34267
34317
|
static get watchers() { return {
|
|
@@ -35369,7 +35419,7 @@ class Refresher {
|
|
|
35369
35419
|
}
|
|
35370
35420
|
render() {
|
|
35371
35421
|
const mode = getIonMode$1(this);
|
|
35372
|
-
return (hAsync(Host, { key: '
|
|
35422
|
+
return (hAsync(Host, { key: '70e690c0e25c011cdff74560ae8437c01081f63b', slot: "fixed", class: {
|
|
35373
35423
|
[mode]: true,
|
|
35374
35424
|
// Used internally for styling
|
|
35375
35425
|
[`refresher-${mode}`]: true,
|
|
@@ -35596,7 +35646,7 @@ class RefresherContent {
|
|
|
35596
35646
|
const pullingIcon = this.pullingIcon;
|
|
35597
35647
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
35598
35648
|
const mode = getIonMode$1(this);
|
|
35599
|
-
return (hAsync(Host, { key: '
|
|
35649
|
+
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())));
|
|
35600
35650
|
}
|
|
35601
35651
|
get el() { return getElement(this); }
|
|
35602
35652
|
static get cmpMeta() { return {
|
|
@@ -35638,7 +35688,7 @@ class Reorder {
|
|
|
35638
35688
|
render() {
|
|
35639
35689
|
const mode = getIonMode$1(this);
|
|
35640
35690
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
35641
|
-
return (hAsync(Host, { key: '
|
|
35691
|
+
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" }))));
|
|
35642
35692
|
}
|
|
35643
35693
|
get el() { return getElement(this); }
|
|
35644
35694
|
static get style() { return {
|
|
@@ -35910,7 +35960,7 @@ class ReorderGroup {
|
|
|
35910
35960
|
}
|
|
35911
35961
|
render() {
|
|
35912
35962
|
const mode = getIonMode$1(this);
|
|
35913
|
-
return (hAsync(Host, { key: '
|
|
35963
|
+
return (hAsync(Host, { key: '241ce7193a6a7149480f8ca51ee17f9e42b251be', class: {
|
|
35914
35964
|
[mode]: true,
|
|
35915
35965
|
'reorder-enabled': !this.disabled,
|
|
35916
35966
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36029,7 +36079,7 @@ class RippleEffect {
|
|
|
36029
36079
|
}
|
|
36030
36080
|
render() {
|
|
36031
36081
|
const mode = getIonMode$1(this);
|
|
36032
|
-
return (hAsync(Host, { key: '
|
|
36082
|
+
return (hAsync(Host, { key: '2302f087ab1c6755355736e4ca77309c5fdcf185', role: "presentation", class: {
|
|
36033
36083
|
[mode]: true,
|
|
36034
36084
|
unbounded: this.unbounded,
|
|
36035
36085
|
} }));
|
|
@@ -37182,10 +37232,10 @@ class RouterLink {
|
|
|
37182
37232
|
rel: this.rel,
|
|
37183
37233
|
target: this.target,
|
|
37184
37234
|
};
|
|
37185
|
-
return (hAsync(Host, { key: '
|
|
37235
|
+
return (hAsync(Host, { key: 'f9d99a1f2d2518eec86cd27731c765cb129ca032', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37186
37236
|
[mode]: true,
|
|
37187
37237
|
'ion-activatable': true,
|
|
37188
|
-
}) }, hAsync("a", { key: '
|
|
37238
|
+
}) }, hAsync("a", { key: 'ad6c442b755b96957c311b3866738edccaa40e1b', ...attrs, ...tabindexAttributes }, hAsync("slot", { key: 'ab4aefba564839c658f8e6c5ca4ff1f8cf8b6c27' }))));
|
|
37189
37239
|
}
|
|
37190
37240
|
get el() { return getElement(this); }
|
|
37191
37241
|
static get style() { return routerLinkCss(); }
|
|
@@ -37429,7 +37479,7 @@ class RouterOutlet {
|
|
|
37429
37479
|
return true;
|
|
37430
37480
|
}
|
|
37431
37481
|
render() {
|
|
37432
|
-
return hAsync("slot", { key: '
|
|
37482
|
+
return hAsync("slot", { key: '4aba1441f005dc7f91408ccb26ac81875a948e67' });
|
|
37433
37483
|
}
|
|
37434
37484
|
get el() { return getElement(this); }
|
|
37435
37485
|
static get watchers() { return {
|
|
@@ -37469,7 +37519,7 @@ class Row {
|
|
|
37469
37519
|
registerInstance(this, hostRef);
|
|
37470
37520
|
}
|
|
37471
37521
|
render() {
|
|
37472
|
-
return (hAsync(Host, { key: '
|
|
37522
|
+
return (hAsync(Host, { key: '813c9a7f6782d2cf8eb27f30d3ab28e6f3122868', class: getIonMode$1(this) }, hAsync("slot", { key: '356bec4d4d408ea63d6b431b06465d5b7bcbff71' })));
|
|
37473
37523
|
}
|
|
37474
37524
|
static get style() { return rowCss(); }
|
|
37475
37525
|
static get cmpMeta() { return {
|
|
@@ -37718,6 +37768,15 @@ class Searchbar {
|
|
|
37718
37768
|
this.positionElements();
|
|
37719
37769
|
});
|
|
37720
37770
|
}
|
|
37771
|
+
/**
|
|
37772
|
+
* Safari clears the field when it restores the page from the back/forward cache.
|
|
37773
|
+
*/
|
|
37774
|
+
onPageShow(ev) {
|
|
37775
|
+
syncValueOnPageRestore(ev, this.nativeInput, () => this.getValue(), (value) => {
|
|
37776
|
+
this.value = value;
|
|
37777
|
+
this.emitInputChange();
|
|
37778
|
+
});
|
|
37779
|
+
}
|
|
37721
37780
|
connectedCallback() {
|
|
37722
37781
|
this.emitStyle();
|
|
37723
37782
|
}
|
|
@@ -37948,8 +38007,8 @@ class Searchbar {
|
|
|
37948
38007
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
37949
38008
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
37950
38009
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
37951
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
37952
|
-
return (hAsync(Host, { key: '
|
|
38010
|
+
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))));
|
|
38011
|
+
return (hAsync(Host, { key: '31a0d7df3e92608c5369828b373efdff331eb4b0', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
37953
38012
|
[mode]: true,
|
|
37954
38013
|
'searchbar-animated': animated,
|
|
37955
38014
|
'searchbar-disabled': this.disabled,
|
|
@@ -37959,14 +38018,14 @@ class Searchbar {
|
|
|
37959
38018
|
'searchbar-has-focus': this.focused,
|
|
37960
38019
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
37961
38020
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
37962
|
-
}) }, hAsync("div", { key: '
|
|
38021
|
+
}) }, 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) => {
|
|
37963
38022
|
/**
|
|
37964
38023
|
* This prevents mobile browsers from
|
|
37965
38024
|
* blurring the input when the clear
|
|
37966
38025
|
* button is activated.
|
|
37967
38026
|
*/
|
|
37968
38027
|
ev.preventDefault();
|
|
37969
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
38028
|
+
}, 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));
|
|
37970
38029
|
}
|
|
37971
38030
|
get el() { return getElement(this); }
|
|
37972
38031
|
static get watchers() { return {
|
|
@@ -38021,7 +38080,7 @@ class Searchbar {
|
|
|
38021
38080
|
"setFocus": [64],
|
|
38022
38081
|
"getInputElement": [64]
|
|
38023
38082
|
},
|
|
38024
|
-
"$listeners$":
|
|
38083
|
+
"$listeners$": [[8, "pageshow", "onPageShow"]],
|
|
38025
38084
|
"$lazyBundleId$": "-",
|
|
38026
38085
|
"$attrsToReflect$": [["color", "color"]]
|
|
38027
38086
|
}; }
|
|
@@ -38574,14 +38633,14 @@ class Segment {
|
|
|
38574
38633
|
}
|
|
38575
38634
|
render() {
|
|
38576
38635
|
const mode = getIonMode$1(this);
|
|
38577
|
-
return (hAsync(Host, { key: '
|
|
38636
|
+
return (hAsync(Host, { key: 'dd0139de09445e0b4ec26a4cde807cbf5dce0d15', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
38578
38637
|
[mode]: true,
|
|
38579
38638
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38580
38639
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
38581
38640
|
'segment-activated': this.activated,
|
|
38582
38641
|
'segment-disabled': this.disabled,
|
|
38583
38642
|
'segment-scrollable': this.scrollable,
|
|
38584
|
-
}) }, hAsync("slot", { key: '
|
|
38643
|
+
}) }, hAsync("slot", { key: '6ffc9dbdba6de3d69be8324b570e61734f2a3f8b', onSlotchange: this.onSlottedItemsChange })));
|
|
38585
38644
|
}
|
|
38586
38645
|
get el() { return getElement(this); }
|
|
38587
38646
|
static get watchers() { return {
|
|
@@ -38740,7 +38799,7 @@ class SegmentButton {
|
|
|
38740
38799
|
const mode = getIonMode$1(this);
|
|
38741
38800
|
const tabindexAttributes = this.tabindexController?.attributes ?? {};
|
|
38742
38801
|
const hasSegmentColor = () => segmentEl?.color !== undefined;
|
|
38743
|
-
return (hAsync(Host, { key: '
|
|
38802
|
+
return (hAsync(Host, { key: '56759e465e2e1881a5f34dbd0f5b6f242638a73d', class: {
|
|
38744
38803
|
[mode]: true,
|
|
38745
38804
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38746
38805
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -38756,7 +38815,7 @@ class SegmentButton {
|
|
|
38756
38815
|
'ion-activatable': true,
|
|
38757
38816
|
'ion-activatable-instant': true,
|
|
38758
38817
|
'ion-focusable': true,
|
|
38759
|
-
} }, hAsync("button", { key: '
|
|
38818
|
+
} }, 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" }))));
|
|
38760
38819
|
}
|
|
38761
38820
|
get el() { return getElement(this); }
|
|
38762
38821
|
static get watchers() { return {
|
|
@@ -38794,7 +38853,7 @@ class SegmentContent {
|
|
|
38794
38853
|
registerInstance(this, hostRef);
|
|
38795
38854
|
}
|
|
38796
38855
|
render() {
|
|
38797
|
-
return (hAsync(Host, { key: '
|
|
38856
|
+
return (hAsync(Host, { key: '59255f57a34e498daf3adc11585018a9d25607d5' }, hAsync("slot", { key: '96b47a077af8434a6debc37330529db1f8b6add8' })));
|
|
38798
38857
|
}
|
|
38799
38858
|
static get style() { return segmentContentCss(); }
|
|
38800
38859
|
static get cmpMeta() { return {
|
|
@@ -38913,11 +38972,11 @@ class SegmentView {
|
|
|
38913
38972
|
}
|
|
38914
38973
|
render() {
|
|
38915
38974
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
38916
|
-
return (hAsync(Host, { key: '
|
|
38975
|
+
return (hAsync(Host, { key: '6604975fe6353ec1799502c9d19ea390e84ce3b5', class: {
|
|
38917
38976
|
'segment-view-disabled': disabled,
|
|
38918
38977
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
38919
38978
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
38920
|
-
} }, hAsync("slot", { key: '
|
|
38979
|
+
} }, hAsync("slot", { key: '4a6a119273bb4de22f3f08a17784520ea10dac66' })));
|
|
38921
38980
|
}
|
|
38922
38981
|
get el() { return getElement(this); }
|
|
38923
38982
|
static get style() { return {
|
|
@@ -39800,7 +39859,7 @@ class Select {
|
|
|
39800
39859
|
const hasOutlineFill = mode === 'md' && fill === 'outline';
|
|
39801
39860
|
renderHiddenInput(true, el, name, parseValue(value), disabled);
|
|
39802
39861
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || isExpanded));
|
|
39803
|
-
return (hAsync(Host, { key: '
|
|
39862
|
+
return (hAsync(Host, { key: '1069f654b45cf9ee6e48c585a1f7aab317c3039e', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39804
39863
|
[mode]: true,
|
|
39805
39864
|
'in-item': inItem,
|
|
39806
39865
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -39818,7 +39877,7 @@ class Select {
|
|
|
39818
39877
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
39819
39878
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
39820
39879
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
39821
|
-
}) }, hAsync("label", { key: '
|
|
39880
|
+
}) }, 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()));
|
|
39822
39881
|
}
|
|
39823
39882
|
get el() { return getElement(this); }
|
|
39824
39883
|
static get watchers() { return {
|
|
@@ -40285,7 +40344,7 @@ class SelectModal {
|
|
|
40285
40344
|
});
|
|
40286
40345
|
}
|
|
40287
40346
|
render() {
|
|
40288
|
-
return (hAsync(Host, { key: '
|
|
40347
|
+
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()))));
|
|
40289
40348
|
}
|
|
40290
40349
|
get el() { return getElement(this); }
|
|
40291
40350
|
static get style() { return {
|
|
@@ -40328,7 +40387,7 @@ class SelectOption {
|
|
|
40328
40387
|
this.disabled = false;
|
|
40329
40388
|
}
|
|
40330
40389
|
render() {
|
|
40331
|
-
return hAsync(Host, { key: '
|
|
40390
|
+
return hAsync(Host, { key: 'b5c1acc133a280ff33e33d3a49a72633ce63c55c', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
40332
40391
|
}
|
|
40333
40392
|
get el() { return getElement(this); }
|
|
40334
40393
|
static get style() { return selectOptionCss(); }
|
|
@@ -40510,7 +40569,7 @@ class SelectPopover {
|
|
|
40510
40569
|
render() {
|
|
40511
40570
|
const { header, message, options, subHeader } = this;
|
|
40512
40571
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40513
|
-
return (hAsync(Host, { key: '
|
|
40572
|
+
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))));
|
|
40514
40573
|
}
|
|
40515
40574
|
get el() { return getElement(this); }
|
|
40516
40575
|
static get style() { return {
|
|
@@ -40561,11 +40620,11 @@ class SkeletonText {
|
|
|
40561
40620
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
40562
40621
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
40563
40622
|
const mode = getIonMode$1(this);
|
|
40564
|
-
return (hAsync(Host, { key: '
|
|
40623
|
+
return (hAsync(Host, { key: '59a41a7f3ba2de4f44de57b3243c8f803eb88e2c', class: {
|
|
40565
40624
|
[mode]: true,
|
|
40566
40625
|
'skeleton-text-animated': animated,
|
|
40567
40626
|
'in-media': inMedia,
|
|
40568
|
-
} }, hAsync("span", { key: '
|
|
40627
|
+
} }, hAsync("span", { key: 'a59a5cea5504f523c4d9b1f428f66772103290aa' }, "\u00A0")));
|
|
40569
40628
|
}
|
|
40570
40629
|
get el() { return getElement(this); }
|
|
40571
40630
|
static get style() { return skeletonTextCss(); }
|
|
@@ -40617,7 +40676,7 @@ class Spinner {
|
|
|
40617
40676
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
40618
40677
|
}
|
|
40619
40678
|
}
|
|
40620
|
-
return (hAsync(Host, { key: '
|
|
40679
|
+
return (hAsync(Host, { key: '8cb73346083cb8a17e38c90e3405fee806c55bbf', class: createColorClasses$1(self.color, {
|
|
40621
40680
|
[mode]: true,
|
|
40622
40681
|
[`spinner-${spinnerName}`]: true,
|
|
40623
40682
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -40717,12 +40776,12 @@ class SplitPane {
|
|
|
40717
40776
|
}
|
|
40718
40777
|
render() {
|
|
40719
40778
|
const mode = getIonMode$1(this);
|
|
40720
|
-
return (hAsync(Host, { key: '
|
|
40779
|
+
return (hAsync(Host, { key: 'b3147f326f07cb85ae89777fb78aece2bfeaf082', class: {
|
|
40721
40780
|
[mode]: true,
|
|
40722
40781
|
// Used internally for styling
|
|
40723
40782
|
[`split-pane-${mode}`]: true,
|
|
40724
40783
|
'split-pane-visible': this.visible,
|
|
40725
|
-
} }, hAsync("slot", { key: '
|
|
40784
|
+
} }, hAsync("slot", { key: '4c02e636cbba62fe77e3bf6522450fddf3db1b12' })));
|
|
40726
40785
|
}
|
|
40727
40786
|
get el() { return getElement(this); }
|
|
40728
40787
|
static get watchers() { return {
|
|
@@ -40802,10 +40861,10 @@ class Tab {
|
|
|
40802
40861
|
}
|
|
40803
40862
|
render() {
|
|
40804
40863
|
const { tab, active, component } = this;
|
|
40805
|
-
return (hAsync(Host, { key: '
|
|
40864
|
+
return (hAsync(Host, { key: '8c16ed02c7b4e2839866ee1bacb2ba423df7a0ea', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
40806
40865
|
'ion-page': component === undefined,
|
|
40807
40866
|
'tab-hidden': !active,
|
|
40808
|
-
} }, hAsync("slot", { key: '
|
|
40867
|
+
} }, hAsync("slot", { key: '27cef38176016a1d5eb7de578f131978e78b6e1c' })));
|
|
40809
40868
|
}
|
|
40810
40869
|
get el() { return getElement(this); }
|
|
40811
40870
|
static get watchers() { return {
|
|
@@ -40920,11 +40979,11 @@ class TabBar {
|
|
|
40920
40979
|
const { color, translucent, keyboardVisible } = this;
|
|
40921
40980
|
const mode = getIonMode$1(this);
|
|
40922
40981
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
40923
|
-
return (hAsync(Host, { key: '
|
|
40982
|
+
return (hAsync(Host, { key: '97c659a48ded6f6a8278bbaca9bda3225ee389eb', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
40924
40983
|
[mode]: true,
|
|
40925
40984
|
'tab-bar-translucent': translucent,
|
|
40926
40985
|
'tab-bar-hidden': shouldHide,
|
|
40927
|
-
}) }, hAsync("slot", { key: '
|
|
40986
|
+
}) }, hAsync("slot", { key: '1d52dd787a2380c079eaabb792a02e4800325dc7' })));
|
|
40928
40987
|
}
|
|
40929
40988
|
get el() { return getElement(this); }
|
|
40930
40989
|
static get watchers() { return {
|
|
@@ -41033,7 +41092,7 @@ class TabButton {
|
|
|
41033
41092
|
rel,
|
|
41034
41093
|
target,
|
|
41035
41094
|
};
|
|
41036
|
-
return (hAsync(Host, { key: '
|
|
41095
|
+
return (hAsync(Host, { key: 'dc6d13ee86841ffe48b5a2ec798947b6c3a4a8ea', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41037
41096
|
[mode]: true,
|
|
41038
41097
|
'tab-selected': selected,
|
|
41039
41098
|
'tab-disabled': disabled,
|
|
@@ -41045,7 +41104,7 @@ class TabButton {
|
|
|
41045
41104
|
'ion-activatable': true,
|
|
41046
41105
|
'ion-selectable': true,
|
|
41047
41106
|
'ion-focusable': true,
|
|
41048
|
-
} }, hAsync("a", { key: '
|
|
41107
|
+
} }, 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" }))));
|
|
41049
41108
|
}
|
|
41050
41109
|
get el() { return getElement(this); }
|
|
41051
41110
|
static get style() { return {
|
|
@@ -41236,7 +41295,7 @@ class Tabs {
|
|
|
41236
41295
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41237
41296
|
}
|
|
41238
41297
|
render() {
|
|
41239
|
-
return (hAsync(Host, { key: '
|
|
41298
|
+
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" })));
|
|
41240
41299
|
}
|
|
41241
41300
|
get el() { return getElement(this); }
|
|
41242
41301
|
static get style() { return tabsCss(); }
|
|
@@ -41277,9 +41336,9 @@ class Text {
|
|
|
41277
41336
|
}
|
|
41278
41337
|
render() {
|
|
41279
41338
|
const mode = getIonMode$1(this);
|
|
41280
|
-
return (hAsync(Host, { key: '
|
|
41339
|
+
return (hAsync(Host, { key: '54fc089c6b77f7c4a8e0c4441d06507e7a0489c4', class: createColorClasses$1(this.color, {
|
|
41281
41340
|
[mode]: true,
|
|
41282
|
-
}) }, hAsync("slot", { key: '
|
|
41341
|
+
}) }, hAsync("slot", { key: '308480aa067e52eb4bf7dc619fb7e3b89fcdb62b' })));
|
|
41283
41342
|
}
|
|
41284
41343
|
static get style() { return textCss(); }
|
|
41285
41344
|
static get cmpMeta() { return {
|
|
@@ -41727,7 +41786,7 @@ class Textarea {
|
|
|
41727
41786
|
* the textarea has a value or is focused.
|
|
41728
41787
|
*/
|
|
41729
41788
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus));
|
|
41730
|
-
return (hAsync(Host, { key: '
|
|
41789
|
+
return (hAsync(Host, { key: '66406131581ec7ec655d666dad2a77e044456521', class: createColorClasses$1(this.color, {
|
|
41731
41790
|
[mode]: true,
|
|
41732
41791
|
'has-value': hasValue,
|
|
41733
41792
|
'has-focus': hasFocus,
|
|
@@ -41736,7 +41795,7 @@ class Textarea {
|
|
|
41736
41795
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
41737
41796
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
41738
41797
|
'textarea-disabled': disabled,
|
|
41739
|
-
}) }, hAsync("label", { key: '
|
|
41798
|
+
}) }, 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()));
|
|
41740
41799
|
}
|
|
41741
41800
|
get el() { return getElement(this); }
|
|
41742
41801
|
static get watchers() { return {
|
|
@@ -41806,7 +41865,7 @@ class Thumbnail {
|
|
|
41806
41865
|
registerInstance(this, hostRef);
|
|
41807
41866
|
}
|
|
41808
41867
|
render() {
|
|
41809
|
-
return (hAsync(Host, { key: '
|
|
41868
|
+
return (hAsync(Host, { key: '0396aae5f545bbf7ebe1cbb05bc25f9181d2afe3', class: getIonMode$1(this) }, hAsync("slot", { key: 'bf01dbadd4042a4b45ce24a8ce408f15e7647a03' })));
|
|
41810
41869
|
}
|
|
41811
41870
|
static get style() { return thumbnailCss(); }
|
|
41812
41871
|
static get cmpMeta() { return {
|
|
@@ -42665,14 +42724,14 @@ class Toast {
|
|
|
42665
42724
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
42666
42725
|
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);
|
|
42667
42726
|
}
|
|
42668
|
-
return (hAsync(Host, { key: '
|
|
42727
|
+
return (hAsync(Host, { key: 'e1974e5ea2a134f5447f9b1efcc11a87a6aa744b', tabindex: "-1", ...this.htmlAttributes, style: {
|
|
42669
42728
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
42670
42729
|
}, class: createColorClasses$1(this.color, {
|
|
42671
42730
|
[mode]: true,
|
|
42672
42731
|
...getClassMap(this.cssClass),
|
|
42673
42732
|
'overlay-hidden': true,
|
|
42674
42733
|
'toast-translucent': this.translucent,
|
|
42675
|
-
}), onIonToastWillDismiss: this.dispatchCancelHandler }, hAsync("div", { key: '
|
|
42734
|
+
}), 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')))));
|
|
42676
42735
|
}
|
|
42677
42736
|
get el() { return getElement(this); }
|
|
42678
42737
|
static get watchers() { return {
|
|
@@ -43007,7 +43066,7 @@ class Toggle {
|
|
|
43007
43066
|
// The attributes are matched too because the class needs the item to render.
|
|
43008
43067
|
const inClickableItem = hostContext('ion-item.ion-activatable, ion-item[button], ion-item[href]', el);
|
|
43009
43068
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43010
|
-
return (hAsync(Host, { key: '
|
|
43069
|
+
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, {
|
|
43011
43070
|
[mode]: true,
|
|
43012
43071
|
'in-item': inItem,
|
|
43013
43072
|
// `ion-focusable` has to stay on because it is what makes the item focusable.
|
|
@@ -43021,10 +43080,10 @@ class Toggle {
|
|
|
43021
43080
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
43022
43081
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
43023
43082
|
[`toggle-${rtl}`]: true,
|
|
43024
|
-
}) }, hAsync("label", { key: '
|
|
43083
|
+
}) }, 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: {
|
|
43025
43084
|
'label-text-wrapper': true,
|
|
43026
43085
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43027
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
43086
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '3ff2b65c18c1f95bd00518fea5d04694e9b830ad' }), this.renderHintText()), hAsync("div", { key: '91a510ff8f9c7ddca0fcfa1b9eeffe9a9de16c78', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
43028
43087
|
}
|
|
43029
43088
|
get el() { return getElement(this); }
|
|
43030
43089
|
static get watchers() { return {
|
|
@@ -43137,13 +43196,13 @@ class Toolbar {
|
|
|
43137
43196
|
this.childrenStyles.forEach((value) => {
|
|
43138
43197
|
Object.assign(childStyles, value);
|
|
43139
43198
|
});
|
|
43140
|
-
return (hAsync(Host, { key: '
|
|
43199
|
+
return (hAsync(Host, { key: 'e4d089de5c5b16f34fda10f3fe00054aa38bbc7f', class: {
|
|
43141
43200
|
...childStyles,
|
|
43142
43201
|
...createColorClasses$1(this.color, {
|
|
43143
43202
|
[mode]: true,
|
|
43144
43203
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
43145
43204
|
}),
|
|
43146
|
-
} }, hAsync("div", { key: '
|
|
43205
|
+
} }, 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" }))));
|
|
43147
43206
|
}
|
|
43148
43207
|
get el() { return getElement(this); }
|
|
43149
43208
|
static get style() { return {
|
|
@@ -43190,11 +43249,11 @@ class ToolbarTitle {
|
|
|
43190
43249
|
render() {
|
|
43191
43250
|
const mode = getIonMode$1(this);
|
|
43192
43251
|
const size = this.getSize();
|
|
43193
|
-
return (hAsync(Host, { key: '
|
|
43252
|
+
return (hAsync(Host, { key: '6cf9ee05e06ee7d455ea6ac862b3ad1585b972d7', class: createColorClasses$1(this.color, {
|
|
43194
43253
|
[mode]: true,
|
|
43195
43254
|
[`title-${size}`]: true,
|
|
43196
43255
|
'title-rtl': isRTL$1(this.el),
|
|
43197
|
-
}) }, hAsync("div", { key: '
|
|
43256
|
+
}) }, hAsync("div", { key: '82c876274616c3466c18bff2a6bf4303285146a8', class: "toolbar-title" }, hAsync("slot", { key: '1006ef94f2694ff5d16f049ddaacd8e69ba4de12' }))));
|
|
43198
43257
|
}
|
|
43199
43258
|
get el() { return getElement(this); }
|
|
43200
43259
|
static get watchers() { return {
|
|
@@ -44213,7 +44272,7 @@ var NAMESPACE = (
|
|
|
44213
44272
|
);
|
|
44214
44273
|
|
|
44215
44274
|
/*
|
|
44216
|
-
Stencil Hydrate Runner v4.45.
|
|
44275
|
+
Stencil Hydrate Runner v4.45.4 | MIT Licensed | https://stenciljs.com
|
|
44217
44276
|
*/
|
|
44218
44277
|
var __create = Object.create;
|
|
44219
44278
|
var __defProp = Object.defineProperty;
|