@ionic/core 9.0.11-nightly.20261111 → 9.0.12-dev.11794435138.1d5cadc3
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-D8FyR2IB.js → p-28_KCxSf.js} +1 -1
- package/components/{p-PkD1iLNN.js → p-2r7QpBW2.js} +1 -1
- package/components/{p-CW84OFQa.js → p-5LnxYgt7.js} +1 -1
- package/components/{p-CvyvLbPe.js → p-B89FqNe7.js} +1 -1
- package/components/p-BAAtTHkh.js +4 -0
- package/components/{p-CjPRDxby.js → p-BE1iSZxK.js} +1 -1
- package/components/p-BEN_dW38.js +4 -0
- package/components/{p-Dy7x-KDF.js → p-BFhqMUFJ.js} +1 -1
- package/components/{p-DRm4t-by.js → p-BKzm8GnQ.js} +1 -1
- package/components/{p-DHo45oj7.js → p-BPW1yhC5.js} +1 -1
- package/components/{p-HthJZjZ6.js → p-BRwclc4v.js} +1 -1
- package/components/{p-ChkSQqfP.js → p-BU1um0go.js} +1 -1
- package/components/{p-DaW9OZ6S.js → p-BaD2k7-g.js} +1 -1
- package/components/{p-RhI78AKb.js → p-Bl36leJI.js} +1 -1
- package/components/{p-B3dSuofL.js → p-Bp-vRdq-.js} +1 -1
- package/components/{p-DnBabjgY.js → p-BqRR1T5F.js} +1 -1
- package/components/{p-BT2InaHz.js → p-By_XQw23.js} +1 -1
- package/components/{p-07wRJfkt.js → p-C6Eoe8TE.js} +1 -1
- package/components/p-C6mx0RsH.js +4 -0
- package/components/{p-7KepMw9O.js → p-C7PoQnxN.js} +1 -1
- package/components/{p-C8BAigo3.js → p-CApfTEZu.js} +1 -1
- package/components/{p-D5_mEbGJ.js → p-CHtaS-1H.js} +1 -1
- package/components/{p-D_U0pDe5.js → p-CHw0oDIX.js} +1 -1
- package/components/p-CVWleXIL.js +4 -0
- package/components/p-CeRIYiar.js +4 -0
- package/components/{p-BBsseItU.js → p-CekDicbC.js} +1 -1
- package/components/p-Cjd_foSx.js +4 -0
- package/components/{p-z-EWo6r-.js → p-Cs66-da5.js} +1 -1
- package/components/{p-DTGCMApY.js → p-CsEqD5L_.js} +1 -1
- package/components/p-CxYMGJTr.js +4 -0
- package/components/{p-hLu-eIbb.js → p-CyOxaozL.js} +1 -1
- package/{dist/ionic/p-CJmyfI8x.js → components/p-D2CH_C1y.js} +1 -1
- package/components/{p-BrrMFd9K.js → p-D3Kil3Ox.js} +1 -1
- package/components/{p-BWbz71uB.js → p-D7J-iv5T.js} +1 -1
- package/{dist/ionic/p-e1haAYzm.js → components/p-DBdOjgB_.js} +1 -1
- package/{dist/ionic/p-BO10QT9r.js → components/p-DDML-XXM.js} +1 -1
- package/components/{p-ChsJlFCQ.js → p-DPypH5J1.js} +1 -1
- package/components/{p-CqvARtmt.js → p-DSGxE4YQ.js} +1 -1
- package/components/{p-KbMCbGRA.js → p-DVRS13xd.js} +1 -1
- package/components/p-DVa8nma_.js +4 -0
- package/components/{p-7NbIvzb4.js → p-DX2WL1Da.js} +1 -1
- package/components/p-Dhhot0Wu.js +4 -0
- package/components/{p-Dbi3KqKm.js → p-Di_8hcJD.js} +1 -1
- package/components/{p-C-SO5kIs.js → p-Dkw9q24a.js} +1 -1
- package/components/{p-BMHdI-wb.js → p-DrXp7JFH.js} +1 -1
- package/components/{p-3avHDbEF.js → p-Dt1Xl4fS.js} +1 -1
- package/components/p-DuG_CBXq.js +4 -0
- package/components/p-HIqLOae3.js +4 -0
- package/components/{p-BZ1k9WL7.js → p-Zt5D5E38.js} +1 -1
- package/components/p-dgUknkY4.js +4 -0
- package/components/{p-DwTzX8Vi.js → p-fCziDtBc.js} +1 -1
- package/components/{p-CUQjkOdi.js → p-oTJGwohD.js} +1 -1
- package/dist/cjs/{animation-UiXhXV49.js → animation-B7oGwLLy.js} +2 -2
- package/dist/cjs/{app-globals-BoFCZq0K.js → app-globals-CIBBAkMv.js} +1 -1
- package/dist/cjs/attribute-controller-bNeK5E15.js +219 -0
- package/dist/cjs/{button-active-DzN1aPt-.js → button-active-B9Tkc4mf.js} +2 -2
- package/dist/cjs/{capacitor-BTjfXFlK.js → capacitor-MxFQgshb.js} +1 -1
- package/dist/cjs/{format-CVjpvAl1.js → format-CqApCy46.js} +1 -1
- package/dist/cjs/{framework-delegate-hNMKEiQC.js → framework-delegate-DAKg2Azt.js} +1 -1
- package/dist/cjs/{haptic-BD5qPgy8.js → haptic-CRRCyhfL.js} +1 -1
- package/dist/cjs/{helpers-BrETKUUX.js → helpers-BDvjDsXt.js} +1 -1
- package/dist/cjs/{index-BTc0Jnhx.js → index-BUIZTwKD.js} +5 -5
- package/dist/cjs/{index-DNBYnlrc.js → index-BashZvQB.js} +4 -4
- package/dist/cjs/{index-bwclzjks.js → index-BecWuzkK.js} +2 -2
- package/dist/cjs/{index-BiQyIvoc.js → index-CKee8md4.js} +71 -35
- package/dist/cjs/{index-DMz2Eyis.js → index-D02LHDVd.js} +2 -2
- package/dist/cjs/{index-B4ONUQRp.js → index-DJX-8rkB.js} +1 -1
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-CRmdShL9.js → input-shims-ClPpap7E.js} +5 -5
- package/dist/cjs/{input.utils-Becpo0ax.js → input.utils-DXw7l7p9.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +7 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +13 -12
- package/dist/cjs/ion-alert.cjs.entry.js +13 -12
- package/dist/cjs/ion-app_8.cjs.entry.js +32 -24
- package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -5
- package/dist/cjs/ion-back-button.cjs.entry.js +16 -6
- package/dist/cjs/ion-backdrop.cjs.entry.js +4 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +33 -9
- package/dist/cjs/ion-button_2.cjs.entry.js +17 -9
- package/dist/cjs/ion-card_5.cjs.entry.js +36 -11
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -5
- package/dist/cjs/ion-chip.cjs.entry.js +4 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +8 -5
- package/dist/cjs/ion-datetime-button.cjs.entry.js +6 -5
- package/dist/cjs/ion-datetime.cjs.entry.js +8 -7
- package/dist/cjs/ion-fab_3.cjs.entry.js +18 -8
- package/dist/cjs/ion-img.cjs.entry.js +5 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +9 -7
- package/dist/cjs/ion-input-otp.cjs.entry.js +5 -4
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +4 -3
- package/dist/cjs/ion-input.cjs.entry.js +7 -6
- package/dist/cjs/ion-item-option_3.cjs.entry.js +23 -9
- package/dist/cjs/ion-item_8.cjs.entry.js +38 -14
- package/dist/cjs/ion-loading.cjs.entry.js +9 -8
- package/dist/cjs/ion-menu_3.cjs.entry.js +24 -12
- package/dist/cjs/ion-modal.cjs.entry.js +13 -12
- package/dist/cjs/ion-nav_2.cjs.entry.js +10 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -6
- package/dist/cjs/ion-picker.cjs.entry.js +4 -3
- package/dist/cjs/ion-popover.cjs.entry.js +9 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +8 -6
- package/dist/cjs/ion-range.cjs.entry.js +6 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +12 -10
- package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +4 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +26 -10
- package/dist/cjs/ion-searchbar.cjs.entry.js +5 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +3 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +14 -7
- package/dist/cjs/ion-select-modal.cjs.entry.js +9 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +22 -14
- package/dist/cjs/ion-spinner.cjs.entry.js +4 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -3
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +21 -10
- package/dist/cjs/ion-tab_2.cjs.entry.js +7 -5
- package/dist/cjs/ion-text.cjs.entry.js +4 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +7 -6
- package/dist/cjs/ion-toast.cjs.entry.js +9 -8
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -7
- package/dist/cjs/{ionic-global-48ceLiJ6.js → ionic-global-Bt1gOF3y.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-CN092Fh6.js → ios.transition-CExZyoOI.js} +4 -4
- package/dist/cjs/{item-multiple-inputs-C-hz7xrh.js → item-multiple-inputs-DCadv5DD.js} +1 -1
- package/dist/cjs/{keyboard-4OBzkjOG.js → keyboard-DcLeJI_8.js} +4 -4
- package/dist/cjs/{keyboard-BMpscicm.js → keyboard-OOIuCa13.js} +1 -1
- package/dist/cjs/{keyboard-controller-DZE97OtR.js → keyboard-controller-BMyz0P1a.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-B6961Ny9.js → md.transition-DaAVTRvs.js} +4 -4
- package/dist/cjs/{overlays-BbVQG3UT.js → overlays-D4y6dLkd.js} +4 -4
- package/dist/cjs/{select-option-render-CzyhrkOu.js → select-option-render-XNNDfPjV.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-CRa_cKOh.js → slot-mutation-controller-DPIgf5CF.js} +1 -1
- package/dist/cjs/{status-tap-hRIvObiJ.js → status-tap-DsMxsZJD.js} +3 -3
- package/dist/cjs/{swipe-back-C-aigThB.js → swipe-back-DTBGxsBq.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/back-button/back-button.js +12 -3
- package/dist/collection/components/breadcrumb/breadcrumb.js +28 -5
- package/dist/collection/components/button/button.js +10 -4
- package/dist/collection/components/card/card.js +24 -3
- package/dist/collection/components/fab-button/fab-button.js +10 -3
- package/dist/collection/components/item/item.js +19 -3
- package/dist/collection/components/item-option/item-option.js +14 -3
- package/dist/collection/components/menu-button/menu-button.js +12 -3
- package/dist/collection/components/router-link/router-link.js +15 -3
- package/dist/collection/components/segment-button/segment-button.js +7 -2
- package/dist/collection/components/select/select.js +8 -3
- package/dist/collection/components/tab-button/tab-button.js +12 -3
- package/dist/collection/utils/attribute-controller.js +107 -20
- package/dist/docs.json +2 -2
- package/dist/esm/{animation-C_V9lXzL.js → animation-DC5AcIYI.js} +2 -2
- package/dist/esm/{app-globals-CNfpAPW6.js → app-globals-BFed4dT0.js} +1 -1
- package/dist/esm/attribute-controller-ClTQeZiJ.js +215 -0
- package/dist/esm/{button-active-rB-Ct9KZ.js → button-active-C2jz6R8a.js} +2 -2
- package/dist/esm/{capacitor-BY7l8HgR.js → capacitor-Bt0eJ0hM.js} +1 -1
- package/dist/esm/{format-Ck1cw5z7.js → format-C833IXB1.js} +1 -1
- package/dist/esm/{framework-delegate-CW5_kWfc.js → framework-delegate-DnTzYR1W.js} +1 -1
- package/dist/esm/{haptic-ES_sSPLn.js → haptic-ChR8my2M.js} +1 -1
- package/dist/esm/{helpers-p94IkmEA.js → helpers-BvbUHGGm.js} +1 -1
- package/dist/esm/{index-BpRUsN_W.js → index-BGtO2Fhf.js} +71 -35
- package/dist/esm/{index-CBkVO5D0.js → index-BObCPR8a.js} +2 -2
- package/dist/esm/{index-txcXIB3P.js → index-BXaoLxIE.js} +5 -5
- package/dist/esm/{index-DLDbwWW7.js → index-DFG3GaUN.js} +2 -2
- package/dist/esm/{index-CK8uF0iB.js → index-I3r9qsv0.js} +1 -1
- package/dist/esm/{index-vgPixHgF.js → index-MGm9Sl6h.js} +4 -4
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-KNXj3DAv.js → input-shims-DmHorap3.js} +5 -5
- package/dist/esm/{input.utils-DZY_K8Po.js → input.utils-CBbgDLtb.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +7 -5
- package/dist/esm/ion-action-sheet.entry.js +13 -12
- package/dist/esm/ion-alert.entry.js +13 -12
- package/dist/esm/ion-app_8.entry.js +32 -24
- package/dist/esm/ion-avatar_3.entry.js +8 -5
- package/dist/esm/ion-back-button.entry.js +16 -6
- package/dist/esm/ion-backdrop.entry.js +4 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +33 -9
- package/dist/esm/ion-button_2.entry.js +17 -9
- package/dist/esm/ion-card_5.entry.js +36 -11
- package/dist/esm/ion-checkbox.entry.js +6 -5
- package/dist/esm/ion-chip.entry.js +4 -3
- package/dist/esm/ion-col_3.entry.js +8 -5
- package/dist/esm/ion-datetime-button.entry.js +6 -5
- package/dist/esm/ion-datetime.entry.js +8 -7
- package/dist/esm/ion-fab_3.entry.js +18 -8
- package/dist/esm/ion-img.entry.js +5 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +9 -7
- package/dist/esm/ion-input-otp.entry.js +5 -4
- package/dist/esm/ion-input-password-toggle.entry.js +4 -3
- package/dist/esm/ion-input.entry.js +7 -6
- package/dist/esm/ion-item-option_3.entry.js +23 -9
- package/dist/esm/ion-item_8.entry.js +38 -14
- package/dist/esm/ion-loading.entry.js +9 -8
- package/dist/esm/ion-menu_3.entry.js +24 -12
- package/dist/esm/ion-modal.entry.js +13 -12
- package/dist/esm/ion-nav_2.entry.js +10 -8
- package/dist/esm/ion-picker-column-option.entry.js +5 -4
- package/dist/esm/ion-picker-column.entry.js +7 -6
- package/dist/esm/ion-picker.entry.js +4 -3
- package/dist/esm/ion-popover.entry.js +9 -8
- package/dist/esm/ion-progress-bar.entry.js +5 -4
- package/dist/esm/ion-radio_2.entry.js +8 -6
- package/dist/esm/ion-range.entry.js +6 -5
- package/dist/esm/ion-refresher_2.entry.js +12 -10
- package/dist/esm/ion-reorder_2.entry.js +10 -8
- package/dist/esm/ion-ripple-effect.entry.js +4 -3
- package/dist/esm/ion-route_4.entry.js +26 -10
- package/dist/esm/ion-searchbar.entry.js +5 -4
- package/dist/esm/ion-segment-content.entry.js +3 -2
- package/dist/esm/ion-segment-view.entry.js +3 -2
- package/dist/esm/ion-segment_2.entry.js +14 -7
- package/dist/esm/ion-select-modal.entry.js +9 -8
- package/dist/esm/ion-select_3.entry.js +22 -14
- package/dist/esm/ion-spinner.entry.js +4 -3
- package/dist/esm/ion-split-pane.entry.js +4 -3
- package/dist/esm/ion-tab-bar_2.entry.js +21 -10
- package/dist/esm/ion-tab_2.entry.js +7 -5
- package/dist/esm/ion-text.entry.js +4 -3
- package/dist/esm/ion-textarea.entry.js +7 -6
- package/dist/esm/ion-toast.entry.js +9 -8
- package/dist/esm/ion-toggle.entry.js +8 -7
- package/dist/esm/{ionic-global-Cep6oYzK.js → ionic-global-BDyJ_8I-.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-CW92wRDL.js → ios.transition-BRRzMHfK.js} +4 -4
- package/dist/esm/{item-multiple-inputs-Bd2LO7qK.js → item-multiple-inputs-IPlsPhUJ.js} +1 -1
- package/dist/esm/{keyboard-CutS8BPd.js → keyboard-BFjnkNMv.js} +1 -1
- package/dist/esm/{keyboard-BumguZrM.js → keyboard-DUoJXTRE.js} +4 -4
- package/dist/esm/{keyboard-controller-DqohyEsZ.js → keyboard-controller-BA84p4ML.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-yhfkYX1P.js → md.transition-BlNVIP5o.js} +4 -4
- package/dist/esm/{overlays-BBgMM61s.js → overlays-DR4E-YYD.js} +4 -4
- package/dist/esm/{select-option-render-BSDT9oSA.js → select-option-render-BUBAvw2_.js} +2 -2
- package/dist/esm/{slot-mutation-controller-uKdPbY9K.js → slot-mutation-controller-DBmgz_0k.js} +1 -1
- package/dist/esm/{status-tap-BskkGI4e.js → status-tap-z4LuyVUt.js} +3 -3
- package/dist/esm/{swipe-back-BZdyM2Q-.js → swipe-back-C1eBKfiK.js} +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-03bb02b6.entry.js +4 -0
- package/dist/ionic/p-05a057fb.entry.js +4 -0
- package/dist/ionic/p-1238548e.entry.js +4 -0
- package/dist/ionic/p-1274e8e0.entry.js +4 -0
- package/dist/ionic/p-1419107d.entry.js +4 -0
- package/dist/ionic/p-1616c2e3.entry.js +4 -0
- package/dist/ionic/p-1a4d6cf3.entry.js +4 -0
- package/dist/ionic/p-1ae4b282.entry.js +4 -0
- package/dist/ionic/p-1b7a15d4.entry.js +4 -0
- package/dist/ionic/{p-BWKtcudz.js → p-1feuPAQy.js} +1 -1
- package/dist/ionic/p-2090c9dd.entry.js +4 -0
- package/dist/ionic/p-26aa0bea.entry.js +4 -0
- package/dist/ionic/p-2f68b3c0.entry.js +4 -0
- package/dist/ionic/p-2fab8bf5.entry.js +4 -0
- package/dist/ionic/p-333b8225.entry.js +4 -0
- package/dist/ionic/p-33c41604.entry.js +4 -0
- package/dist/ionic/p-46f2c59f.entry.js +4 -0
- package/dist/ionic/p-4ecf0d94.entry.js +4 -0
- package/dist/ionic/p-4f02f020.entry.js +4 -0
- package/dist/ionic/p-52186d6b.entry.js +4 -0
- package/dist/ionic/p-53b6ab69.entry.js +4 -0
- package/dist/ionic/p-605d5a7e.entry.js +4 -0
- package/dist/ionic/p-66adc5a1.entry.js +4 -0
- package/dist/ionic/p-6a746af4.entry.js +4 -0
- package/dist/ionic/p-6e7d46fa.entry.js +4 -0
- package/dist/ionic/p-736344e9.entry.js +4 -0
- package/dist/ionic/p-74dda4e5.entry.js +4 -0
- package/dist/ionic/p-79e645bd.entry.js +4 -0
- package/dist/ionic/p-7hQRImkK.js +4 -0
- package/dist/ionic/p-88cf20d2.entry.js +4 -0
- package/dist/ionic/p-98d3a2be.entry.js +4 -0
- package/dist/ionic/p-9e3b3263.entry.js +4 -0
- package/dist/ionic/{p-8B39TMv-.js → p-B9cO-kYV.js} +1 -1
- package/dist/ionic/p-BGtO2Fhf.js +6 -0
- package/dist/ionic/{p-C4SpVvhx.js → p-BNupGwtk.js} +1 -1
- package/dist/ionic/{p-DArnNWiu.js → p-BkcYeWXi.js} +1 -1
- package/dist/ionic/p-Bl_jKJLv.js +4 -0
- package/dist/ionic/p-BmeHOspf.js +4 -0
- package/dist/ionic/{p-5a3UxQAh.js → p-C7A9OQcL.js} +1 -1
- package/{components/p-R4UxBukQ.js → dist/ionic/p-CBq1CZwb.js} +1 -1
- package/dist/ionic/{p-DxftXYZp.js → p-CNyAVKal.js} +1 -1
- package/dist/ionic/p-CRgN46qV.js +4 -0
- package/dist/ionic/p-CYKfkI6i.js +4 -0
- package/dist/ionic/{p-BBZQUbCq.js → p-C_0lvVN_.js} +1 -1
- package/{components/p-CdrNHfZl.js → dist/ionic/p-Ci4965j8.js} +1 -1
- package/dist/ionic/{p-SEecsUh7.js → p-CjUT_VTP.js} +1 -1
- package/{components/p-LkEGRiq0.js → dist/ionic/p-Cw2UdaY3.js} +1 -1
- package/dist/ionic/{p-DFPZa_No.js → p-D0_5-Ckh.js} +1 -1
- package/dist/ionic/p-D5TRCRie.js +4 -0
- package/dist/ionic/p-DCzujr0Q.js +4 -0
- package/dist/ionic/{p-B2JD8_LP.js → p-DJqMQDf-.js} +1 -1
- package/dist/ionic/{p-CfccUand.js → p-DRGrDfWv.js} +1 -1
- package/dist/ionic/p-Dqz9qh-H.js +4 -0
- package/dist/ionic/{p-Cf6KtUnA.js → p-RJtRqfIz.js} +1 -1
- package/dist/ionic/p-SfKXFiOB.js +4 -0
- package/dist/ionic/{p-CNdt1FPc.js → p-UUJgswAN.js} +1 -1
- package/dist/ionic/p-a4df0e91.entry.js +4 -0
- package/dist/ionic/p-a992a35b.entry.js +4 -0
- package/dist/ionic/p-b5e6edf6.entry.js +4 -0
- package/dist/ionic/p-b872f43e.entry.js +4 -0
- package/dist/ionic/p-b922806b.entry.js +4 -0
- package/dist/ionic/p-bf720fd6.entry.js +4 -0
- package/dist/ionic/p-c1209b84.entry.js +4 -0
- package/dist/ionic/p-c394744f.entry.js +4 -0
- package/dist/ionic/p-c7315410.entry.js +4 -0
- package/dist/ionic/p-ca4a06e6.entry.js +4 -0
- package/dist/ionic/p-ca608663.entry.js +4 -0
- package/dist/ionic/p-d0d4482d.entry.js +4 -0
- package/dist/ionic/p-d4afa00a.entry.js +4 -0
- package/dist/ionic/p-d7749f70.entry.js +4 -0
- package/dist/ionic/p-db93830d.entry.js +4 -0
- package/dist/ionic/p-dd3d4a4f.entry.js +4 -0
- package/dist/ionic/{p-B2y1T0dN.js → p-de2BC0yO.js} +1 -1
- package/dist/ionic/p-df8a4ddd.entry.js +4 -0
- package/dist/ionic/p-df9ebba7.entry.js +4 -0
- package/dist/ionic/p-eb93c676.entry.js +4 -0
- package/dist/ionic/p-ec4dbb45.entry.js +4 -0
- package/dist/ionic/p-f0206bd7.entry.js +4 -0
- package/dist/ionic/{p-96d040b0.entry.js → p-fcc5b886.entry.js} +1 -1
- package/dist/ionic/p-rXvVaOP9.js +4 -0
- package/dist/ionic/{p-DCmOKz8e.js → p-ynrl9u5l.js} +1 -1
- package/dist/types/components/back-button/back-button.d.ts +3 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +8 -0
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/card/card.d.ts +6 -0
- package/dist/types/components/fab-button/fab-button.d.ts +2 -0
- package/dist/types/components/item/item.d.ts +6 -0
- package/dist/types/components/item-option/item-option.d.ts +4 -0
- package/dist/types/components/menu-button/menu-button.d.ts +3 -0
- package/dist/types/components/router-link/router-link.d.ts +5 -0
- package/dist/types/components/segment-button/segment-button.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/tab-button/tab-button.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/attribute-controller.d.ts +28 -6
- package/hydrate/index.js +574 -262
- package/hydrate/index.mjs +574 -262
- package/package.json +2 -2
- package/components/p-C0TdbIVo.js +0 -4
- package/components/p-C6Y0cCH_.js +0 -4
- package/components/p-CCFj0kgH.js +0 -4
- package/components/p-CRb2xRCz.js +0 -4
- package/components/p-CohRJRIu.js +0 -4
- package/components/p-Ct2aBEue.js +0 -4
- package/components/p-CwEis84J.js +0 -4
- package/components/p-DLEJ61lJ.js +0 -4
- package/components/p-Dah8BCNg.js +0 -4
- package/components/p-DaojW_d_.js +0 -4
- package/components/p-Ds5vN3iu.js +0 -4
- package/components/p-kKGBuIkf.js +0 -4
- package/dist/cjs/attribute-controller-0-lwbVEj.js +0 -131
- package/dist/esm/attribute-controller-ItNOXNp9.js +0 -128
- package/dist/ionic/p-00cd107d.entry.js +0 -4
- package/dist/ionic/p-013b9aba.entry.js +0 -4
- package/dist/ionic/p-014c3633.entry.js +0 -4
- package/dist/ionic/p-0562139b.entry.js +0 -4
- package/dist/ionic/p-0a789930.entry.js +0 -4
- package/dist/ionic/p-0f1613f2.entry.js +0 -4
- package/dist/ionic/p-1252621e.entry.js +0 -4
- package/dist/ionic/p-129f7b95.entry.js +0 -4
- package/dist/ionic/p-16de8fd9.entry.js +0 -4
- package/dist/ionic/p-1bb1be7e.entry.js +0 -4
- package/dist/ionic/p-1f342c2d.entry.js +0 -4
- package/dist/ionic/p-1ffa5577.entry.js +0 -4
- package/dist/ionic/p-210f906e.entry.js +0 -4
- package/dist/ionic/p-27960f65.entry.js +0 -4
- package/dist/ionic/p-3c6fc2e8.entry.js +0 -4
- package/dist/ionic/p-436d4ac8.entry.js +0 -4
- package/dist/ionic/p-43729675.entry.js +0 -4
- package/dist/ionic/p-4468e439.entry.js +0 -4
- package/dist/ionic/p-4e4e5919.entry.js +0 -4
- package/dist/ionic/p-51af4728.entry.js +0 -4
- package/dist/ionic/p-59e4b521.entry.js +0 -4
- package/dist/ionic/p-5b47b8d5.entry.js +0 -4
- package/dist/ionic/p-5dcddfd5.entry.js +0 -4
- package/dist/ionic/p-694f3e78.entry.js +0 -4
- package/dist/ionic/p-76c189e7.entry.js +0 -4
- package/dist/ionic/p-77252596.entry.js +0 -4
- package/dist/ionic/p-77540bcb.entry.js +0 -4
- package/dist/ionic/p-77e7b612.entry.js +0 -4
- package/dist/ionic/p-7868eb92.entry.js +0 -4
- package/dist/ionic/p-800ce1e0.entry.js +0 -4
- package/dist/ionic/p-84470714.entry.js +0 -4
- package/dist/ionic/p-87fb6d59.entry.js +0 -4
- package/dist/ionic/p-8af85fa8.entry.js +0 -4
- package/dist/ionic/p-8c85e250.entry.js +0 -4
- package/dist/ionic/p-8dQB1sG_.js +0 -4
- package/dist/ionic/p-9515f840.entry.js +0 -4
- package/dist/ionic/p-9d7e5a0b.entry.js +0 -4
- package/dist/ionic/p-B0afqOUt.js +0 -4
- package/dist/ionic/p-BHBb21Hp.js +0 -4
- package/dist/ionic/p-BexAj0yw.js +0 -4
- package/dist/ionic/p-BgkRGRO3.js +0 -4
- package/dist/ionic/p-BpRUsN_W.js +0 -6
- package/dist/ionic/p-DBFcFCH5.js +0 -4
- package/dist/ionic/p-DYKDWM2f.js +0 -4
- package/dist/ionic/p-DfvWlTdB.js +0 -4
- package/dist/ionic/p-DriE1ZAo.js +0 -4
- package/dist/ionic/p-DzQk7Lu8.js +0 -4
- package/dist/ionic/p-a45caa30.entry.js +0 -4
- package/dist/ionic/p-af15fc5d.entry.js +0 -4
- package/dist/ionic/p-af4b4719.entry.js +0 -4
- package/dist/ionic/p-b0faaae2.entry.js +0 -4
- package/dist/ionic/p-b3aadfe8.entry.js +0 -4
- package/dist/ionic/p-b5bcbbc1.entry.js +0 -4
- package/dist/ionic/p-c293f854.entry.js +0 -4
- package/dist/ionic/p-c56c23b6.entry.js +0 -4
- package/dist/ionic/p-c7ea2647.entry.js +0 -4
- package/dist/ionic/p-c8c77f7b.entry.js +0 -4
- package/dist/ionic/p-cbc73380.entry.js +0 -4
- package/dist/ionic/p-d58e9da3.entry.js +0 -4
- package/dist/ionic/p-ec08a7e6.entry.js +0 -4
- package/dist/ionic/p-f37e6ed2.entry.js +0 -4
- package/dist/ionic/p-f6a1ab48.entry.js +0 -4
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
var helpers = require('./helpers-BDvjDsXt.js');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Copies a set of attributes off the host element so they can be applied to an element
|
|
10
|
+
* inside the shadow root, then keeps that copy in sync as the host attributes change.
|
|
11
|
+
* Using `inheritAttributes` alone copies once at load, so anything written to the host
|
|
12
|
+
* afterwards never reaches the element the assistive technology reads.
|
|
13
|
+
*
|
|
14
|
+
* Create the controller in `componentWillLoad`. It takes the initial copy and starts
|
|
15
|
+
* watching right away, so `init()` is only needed to resume after a move.
|
|
16
|
+
*
|
|
17
|
+
* Two things to know before adopting it. Unless `moveFromHost` says otherwise, only the
|
|
18
|
+
* initial copy removes the attributes from the host, so a value written after load sits
|
|
19
|
+
* on the host as well as on the element it is applied to, which matters if the host has
|
|
20
|
+
* a role of its own. And an attribute moved off the host can never be removed, only
|
|
21
|
+
* overwritten, since removing it from the host doesn't fire a mutation.
|
|
22
|
+
* An empty string works for `aria-label` and friends, but a token-valued attribute
|
|
23
|
+
* has to be set to its default instead, so `aria-pressed="false"` rather than empty.
|
|
24
|
+
*
|
|
25
|
+
* @internal
|
|
26
|
+
* @param el The host element to copy from and watch.
|
|
27
|
+
* @param attributes The attributes to copy and watch.
|
|
28
|
+
* @param onChange Called after `attributes` changes, so the component can re-render.
|
|
29
|
+
* @param hostOwnedAttributes Attributes copied at load but not watched. Use it for
|
|
30
|
+
* attributes the component renders on its own `<Host>`, since a later change to one of
|
|
31
|
+
* those is the component's own write, and for attributes that would put a second node in
|
|
32
|
+
* the accessibility tree if the host kept a copy alongside the one we apply.
|
|
33
|
+
* @param moveFromHost Called on load, after every write and on `refresh()` to decide whether
|
|
34
|
+
* a value moves off the host. A rejected value stays on the host and is left out of
|
|
35
|
+
* `attributes`. It can read component state, as long as the component calls `refresh()`
|
|
36
|
+
* when that state changes.
|
|
37
|
+
*/
|
|
38
|
+
const createAttributeController = (el, attributes, onChange, hostOwnedAttributes = [], moveFromHost) => {
|
|
39
|
+
let inherited = helpers.inheritAttributes(el, attributes);
|
|
40
|
+
let observer;
|
|
41
|
+
const staysOnHost = (name, value) => moveFromHost !== undefined && value != null && !moveFromHost(name, value);
|
|
42
|
+
const watchedAttributes = attributes.filter((attr) => !hostOwnedAttributes.includes(attr));
|
|
43
|
+
/**
|
|
44
|
+
* The names still on the host, which is everything written after load. The initial
|
|
45
|
+
* copy removes what it captures, so a missing attribute only counts as a removal
|
|
46
|
+
* when its name is in here.
|
|
47
|
+
*/
|
|
48
|
+
const hostWritten = new Set();
|
|
49
|
+
const setPresence = (name, value) => {
|
|
50
|
+
if (value === null) {
|
|
51
|
+
hostWritten.delete(name);
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
hostWritten.add(name);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const moveOffHost = (changed) => {
|
|
58
|
+
if (moveFromHost === undefined) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
for (const [name, value] of Object.entries(changed)) {
|
|
62
|
+
if (value != null && !staysOnHost(name, value)) {
|
|
63
|
+
el.removeAttribute(name);
|
|
64
|
+
// Without this, the missing attribute would read as a developer removal later.
|
|
65
|
+
hostWritten.delete(name);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
// The initial copy took everything off the host, so put back what has to stay there.
|
|
70
|
+
for (const [name, value] of Object.entries(inherited)) {
|
|
71
|
+
if (staysOnHost(name, value)) {
|
|
72
|
+
el.setAttribute(name, value);
|
|
73
|
+
hostWritten.add(name);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Nothing is watching while the host is out of the tree, since `disconnectedCallback`
|
|
78
|
+
* calls `destroy()`, and `forceUpdate` is a no-op on a disconnected host anyway. So
|
|
79
|
+
* the host has to be re-read on the way back in.
|
|
80
|
+
*/
|
|
81
|
+
const readMissedChanges = () => {
|
|
82
|
+
const changed = {};
|
|
83
|
+
for (const name of watchedAttributes) {
|
|
84
|
+
const value = el.getAttribute(name);
|
|
85
|
+
const wasOnHost = hostWritten.has(name);
|
|
86
|
+
setPresence(name, value);
|
|
87
|
+
/**
|
|
88
|
+
* An attribute that was never written to the host is missing because the initial
|
|
89
|
+
* copy took it, not because the developer cleared it.
|
|
90
|
+
*/
|
|
91
|
+
if ((value === null && !wasOnHost) || value === inherited[name]) {
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
changed[name] = value;
|
|
95
|
+
}
|
|
96
|
+
moveOffHost(changed);
|
|
97
|
+
if (Object.keys(changed).length > 0) {
|
|
98
|
+
inherited = { ...inherited, ...changed };
|
|
99
|
+
onChange();
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
const handleRecords = (mutations) => {
|
|
103
|
+
const changed = {};
|
|
104
|
+
for (const mutation of mutations) {
|
|
105
|
+
const name = mutation.attributeName;
|
|
106
|
+
// A removed attribute reads back as null, which clears it from the element the
|
|
107
|
+
// values are spread onto.
|
|
108
|
+
const value = el.getAttribute(name);
|
|
109
|
+
setPresence(name, value);
|
|
110
|
+
changed[name] = value;
|
|
111
|
+
}
|
|
112
|
+
moveOffHost(changed);
|
|
113
|
+
// Drop the removals `moveOffHost` just queued, or they'd read back as the developer
|
|
114
|
+
// clearing the attribute.
|
|
115
|
+
observer?.takeRecords();
|
|
116
|
+
inherited = { ...inherited, ...changed };
|
|
117
|
+
onChange();
|
|
118
|
+
};
|
|
119
|
+
const init = () => {
|
|
120
|
+
// There is no MutationObserver in SSR or the hydrate build.
|
|
121
|
+
if (observer !== undefined || watchedAttributes.length === 0 || helpers.win === undefined || !('MutationObserver' in helpers.win)) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
readMissedChanges();
|
|
125
|
+
observer = new MutationObserver(handleRecords);
|
|
126
|
+
observer.observe(el, { attributeFilter: watchedAttributes });
|
|
127
|
+
};
|
|
128
|
+
const destroy = () => {
|
|
129
|
+
observer?.disconnect();
|
|
130
|
+
observer = undefined;
|
|
131
|
+
};
|
|
132
|
+
const refresh = () => {
|
|
133
|
+
if (moveFromHost === undefined) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
// A write made earlier in the same tick hasn't reached `inherited` yet, so take it in
|
|
137
|
+
// first, or the loop below would act on the old value and drop the new one.
|
|
138
|
+
if (observer !== undefined) {
|
|
139
|
+
const pending = observer.takeRecords();
|
|
140
|
+
if (pending.length > 0) {
|
|
141
|
+
handleRecords(pending);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
readMissedChanges();
|
|
146
|
+
}
|
|
147
|
+
for (const [name, value] of Object.entries(inherited)) {
|
|
148
|
+
if (value == null) {
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
const onHost = el.hasAttribute(name);
|
|
152
|
+
if (staysOnHost(name, value) && !onHost) {
|
|
153
|
+
el.setAttribute(name, value);
|
|
154
|
+
hostWritten.add(name);
|
|
155
|
+
}
|
|
156
|
+
else if (!staysOnHost(name, value) && onHost) {
|
|
157
|
+
el.removeAttribute(name);
|
|
158
|
+
hostWritten.delete(name);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
// Drop our own writes, or they'd read back as the developer's.
|
|
162
|
+
observer?.takeRecords();
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Has to run after the initial copy, because that copy removes the attributes from the
|
|
166
|
+
* host and an observer armed any earlier would read the removal as a developer clearing
|
|
167
|
+
* them.
|
|
168
|
+
*/
|
|
169
|
+
init();
|
|
170
|
+
return {
|
|
171
|
+
get attributes() {
|
|
172
|
+
if (moveFromHost === undefined) {
|
|
173
|
+
return inherited;
|
|
174
|
+
}
|
|
175
|
+
const moved = {};
|
|
176
|
+
for (const [name, value] of Object.entries(inherited)) {
|
|
177
|
+
if (!staysOnHost(name, value)) {
|
|
178
|
+
moved[name] = value;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
return moved;
|
|
182
|
+
},
|
|
183
|
+
init,
|
|
184
|
+
destroy,
|
|
185
|
+
refresh,
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* The `createAttributeController` equivalent of `inheritAriaAttributes`, which copies and
|
|
190
|
+
* watches every ARIA attribute plus `role`.
|
|
191
|
+
*
|
|
192
|
+
* @internal
|
|
193
|
+
* @param el The host element to copy from and watch.
|
|
194
|
+
* @param onChange Called after the attributes change, so the component can re-render.
|
|
195
|
+
* @param hostOwnedAttributes Attributes copied at load but not watched. See
|
|
196
|
+
* `createAttributeController`.
|
|
197
|
+
*/
|
|
198
|
+
const createAriaAttributeController = (el, onChange, hostOwnedAttributes = []) => {
|
|
199
|
+
return createAttributeController(el, helpers.ariaAttributes, onChange, hostOwnedAttributes);
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Moves `tabindex` from the host to the native element in the shadow root, including later
|
|
203
|
+
* writes, since a host with a `tabindex` is an extra tab stop with no name. A negative
|
|
204
|
+
* `tabindex` stays on the host, where it already skips the shadow root and the focus
|
|
205
|
+
* utilities expect to find it.
|
|
206
|
+
*
|
|
207
|
+
* @internal
|
|
208
|
+
* @param el The host element to copy from and watch.
|
|
209
|
+
* @param onChange Called after `tabindex` changes, so the component can re-render.
|
|
210
|
+
* @param hasNativeElement Whether the component renders a native element to move `tabindex`
|
|
211
|
+
* to. Call `refresh()` when the answer changes.
|
|
212
|
+
*/
|
|
213
|
+
const createTabindexController = (el, onChange, hasNativeElement = () => true) => {
|
|
214
|
+
return createAttributeController(el, ['tabindex'], onChange, [], (_, value) => hasNativeElement() && parseInt(value, 10) >= 0);
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
exports.createAriaAttributeController = createAriaAttributeController;
|
|
218
|
+
exports.createAttributeController = createAttributeController;
|
|
219
|
+
exports.createTabindexController = createTabindexController;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index$1 = require('./index-
|
|
7
|
-
var haptic = require('./haptic-
|
|
6
|
+
var index$1 = require('./index-CKee8md4.js');
|
|
7
|
+
var haptic = require('./haptic-CRRCyhfL.js');
|
|
8
8
|
var index = require('./index-DRPqwSvU.js');
|
|
9
9
|
|
|
10
10
|
const createButtonActiveGesture = (el, isButton) => {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var helpers = require('./helpers-
|
|
7
|
-
var hardwareBackButton = require('./overlays-
|
|
8
|
-
var index = require('./index-
|
|
9
|
-
var ionicGlobal = require('./ionic-global-
|
|
10
|
-
var animation = require('./animation-
|
|
6
|
+
var helpers = require('./helpers-BDvjDsXt.js');
|
|
7
|
+
var hardwareBackButton = require('./overlays-D4y6dLkd.js');
|
|
8
|
+
var index = require('./index-CKee8md4.js');
|
|
9
|
+
var ionicGlobal = require('./ionic-global-Bt1gOF3y.js');
|
|
10
|
+
var animation = require('./animation-B7oGwLLy.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* baseAnimation
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-CKee8md4.js');
|
|
7
|
+
var helpers = require('./helpers-BDvjDsXt.js');
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
10
10
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -120,8 +120,8 @@ const createFocusController = () => {
|
|
|
120
120
|
};
|
|
121
121
|
const LAST_FOCUS = 'ion-last-focus';
|
|
122
122
|
|
|
123
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
124
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
123
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-CExZyoOI.js'); });
|
|
124
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-DaAVTRvs.js'); });
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
/**
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var helpers = require('./helpers-
|
|
7
|
-
require('./index-
|
|
6
|
+
var helpers = require('./helpers-BDvjDsXt.js');
|
|
7
|
+
require('./index-CKee8md4.js');
|
|
8
8
|
require('./dir-Bma_9Lqh.js');
|
|
9
9
|
|
|
10
10
|
const startTapClick = (config) => {
|
|
@@ -165,7 +165,7 @@ const printRequiredElementError = (el, ...targetSelectors) => {
|
|
|
165
165
|
};
|
|
166
166
|
|
|
167
167
|
/*
|
|
168
|
-
Stencil Client Platform v4.45.
|
|
168
|
+
Stencil Client Platform v4.45.3 | MIT Licensed | https://stenciljs.com
|
|
169
169
|
*/
|
|
170
170
|
|
|
171
171
|
var Build = {
|
|
@@ -520,6 +520,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
520
520
|
}
|
|
521
521
|
return (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(
|
|
522
522
|
/* @vite-ignore */
|
|
523
|
+
/* turbopackIgnore: true */
|
|
523
524
|
/* webpackInclude: /\.entry\.js$/ */
|
|
524
525
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
525
526
|
/* webpackMode: "lazy" */
|
|
@@ -712,6 +713,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
|
712
713
|
if (typeof slotName !== "undefined") return slottedNodes;
|
|
713
714
|
}
|
|
714
715
|
slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
|
|
716
|
+
if (typeof slotName !== "undefined" && slottedNodes.length) return slottedNodes;
|
|
715
717
|
}
|
|
716
718
|
return slottedNodes;
|
|
717
719
|
}
|
|
@@ -819,6 +821,7 @@ var patchPseudoShadowDom = (hostElementPrototype) => {
|
|
|
819
821
|
patchSlotInsertAdjacentText(hostElementPrototype);
|
|
820
822
|
patchInsertBefore(hostElementPrototype);
|
|
821
823
|
patchTextContent(hostElementPrototype);
|
|
824
|
+
patchInnerContentSetters(hostElementPrototype);
|
|
822
825
|
patchChildSlotNodes(hostElementPrototype);
|
|
823
826
|
patchSlotRemoveChild(hostElementPrototype);
|
|
824
827
|
};
|
|
@@ -877,10 +880,13 @@ var patchSlotAppendChild = (HostElementPrototype) => {
|
|
|
877
880
|
addSlotRelocateNode(newChild, slotNode);
|
|
878
881
|
const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
|
|
879
882
|
const appendAfter = slotChildNodes[slotChildNodes.length - 1];
|
|
883
|
+
const slotWasEmpty = slotChildNodes.every((node) => node["s-sr"]);
|
|
880
884
|
const parent = internalCall(appendAfter, "parentNode");
|
|
881
885
|
const insertedNode = internalCall(parent, "insertBefore")(newChild, appendAfter.nextSibling);
|
|
882
886
|
dispatchSlotChangeEvent(slotNode);
|
|
883
|
-
|
|
887
|
+
if (slotWasEmpty) {
|
|
888
|
+
updateFallbackSlotVisibility(this);
|
|
889
|
+
}
|
|
884
890
|
return insertedNode;
|
|
885
891
|
}
|
|
886
892
|
return this.__appendChild(newChild);
|
|
@@ -892,7 +898,7 @@ var patchSlotRemoveChild = (ElementPrototype) => {
|
|
|
892
898
|
ElementPrototype.removeChild = function(toRemove) {
|
|
893
899
|
if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
|
|
894
900
|
const childNodes = this.__childNodes || this.childNodes;
|
|
895
|
-
const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"]);
|
|
901
|
+
const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"])[0];
|
|
896
902
|
if (slotNode && toRemove.isConnected) {
|
|
897
903
|
toRemove.remove();
|
|
898
904
|
updateFallbackSlotVisibility(this);
|
|
@@ -974,26 +980,23 @@ var patchInsertBefore = (HostElementPrototype) => {
|
|
|
974
980
|
eleProto.__insertBefore = HostElementPrototype.insertBefore;
|
|
975
981
|
HostElementPrototype.insertBefore = function(newChild, currentChild) {
|
|
976
982
|
const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
|
|
977
|
-
const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
978
983
|
if (slotNode) {
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
}
|
|
993
|
-
return;
|
|
984
|
+
if (currentChild === null) {
|
|
985
|
+
this.appendChild(newChild);
|
|
986
|
+
return newChild;
|
|
987
|
+
}
|
|
988
|
+
const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
989
|
+
if (slottedNodes.includes(currentChild)) {
|
|
990
|
+
if (slotName !== currentChild["s-sn"]) {
|
|
991
|
+
this.appendChild(newChild);
|
|
992
|
+
} else {
|
|
993
|
+
addSlotRelocateNode(newChild, slotNode);
|
|
994
|
+
const parent = internalCall(currentChild, "parentNode");
|
|
995
|
+
internalCall(parent, "insertBefore")(newChild, currentChild);
|
|
996
|
+
dispatchSlotChangeEvent(slotNode);
|
|
994
997
|
}
|
|
995
|
-
|
|
996
|
-
|
|
998
|
+
return newChild;
|
|
999
|
+
}
|
|
997
1000
|
}
|
|
998
1001
|
const parentNode = currentChild == null ? void 0 : currentChild.__parentNode;
|
|
999
1002
|
if (parentNode && !this.isSameNode(parentNode)) {
|
|
@@ -1029,15 +1032,38 @@ var patchTextContent = (hostElementPrototype) => {
|
|
|
1029
1032
|
return text;
|
|
1030
1033
|
},
|
|
1031
1034
|
set: function(value) {
|
|
1032
|
-
|
|
1033
|
-
childNodes.forEach((node) => {
|
|
1034
|
-
if (node["s-ol"]) node["s-ol"].remove();
|
|
1035
|
-
node.remove();
|
|
1036
|
-
});
|
|
1035
|
+
removeSlottedNodes(this);
|
|
1037
1036
|
this.insertAdjacentHTML("beforeend", value);
|
|
1038
1037
|
}
|
|
1039
1038
|
});
|
|
1040
1039
|
};
|
|
1040
|
+
var patchInnerContentSetters = (hostElementPrototype) => {
|
|
1041
|
+
if (!globalThis.HTMLElement) return;
|
|
1042
|
+
const patchSetter = (proto, name, insert) => {
|
|
1043
|
+
var _a;
|
|
1044
|
+
const get = (_a = Object.getOwnPropertyDescriptor(proto, name)) == null ? void 0 : _a.get;
|
|
1045
|
+
if (!get) return;
|
|
1046
|
+
Object.defineProperty(hostElementPrototype, name, {
|
|
1047
|
+
get,
|
|
1048
|
+
set: function(value) {
|
|
1049
|
+
removeSlottedNodes(this);
|
|
1050
|
+
Array.from(internalCall(this, "childNodes")).forEach((node) => {
|
|
1051
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== this.tagName) node.remove();
|
|
1052
|
+
});
|
|
1053
|
+
insert(this, value != null ? value : "");
|
|
1054
|
+
}
|
|
1055
|
+
});
|
|
1056
|
+
};
|
|
1057
|
+
patchSetter(Element.prototype, "innerHTML", (host, value) => host.insertAdjacentHTML("beforeend", value));
|
|
1058
|
+
patchSetter(HTMLElement.prototype, "innerText", (host, value) => host.append(value));
|
|
1059
|
+
};
|
|
1060
|
+
var removeSlottedNodes = (host) => {
|
|
1061
|
+
const childNodes = host.__childNodes ? host.childNodes : getSlottedChildNodes(host.childNodes);
|
|
1062
|
+
childNodes.forEach((node) => {
|
|
1063
|
+
if (node["s-ol"]) node["s-ol"].remove();
|
|
1064
|
+
node.remove();
|
|
1065
|
+
});
|
|
1066
|
+
};
|
|
1041
1067
|
var patchChildSlotNodes = (elm) => {
|
|
1042
1068
|
class FakeNodeList extends Array {
|
|
1043
1069
|
item(n) {
|
|
@@ -1249,7 +1275,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
1249
1275
|
}
|
|
1250
1276
|
const existingStyleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
|
|
1251
1277
|
if (existingStyleElm) {
|
|
1252
|
-
|
|
1278
|
+
appliedStyles.add(scopeId2);
|
|
1253
1279
|
} else if (!appliedStyles.has(scopeId2)) {
|
|
1254
1280
|
styleElm = win.document.createElement("style");
|
|
1255
1281
|
styleElm.textContent = style;
|
|
@@ -1348,14 +1374,21 @@ var attachStyles = (hostRef) => {
|
|
|
1348
1374
|
};
|
|
1349
1375
|
var getScopeId = (cmp, mode) => "sc-" + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
|
|
1350
1376
|
var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
1351
|
-
var hydrateScopedToShadow = () => {
|
|
1377
|
+
var hydrateScopedToShadow = (cmpMetas) => {
|
|
1352
1378
|
if (!win.document) {
|
|
1353
1379
|
return;
|
|
1354
1380
|
}
|
|
1355
|
-
const
|
|
1381
|
+
const styleElms = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
1356
1382
|
let i2 = 0;
|
|
1357
|
-
for (; i2 <
|
|
1358
|
-
|
|
1383
|
+
for (; i2 < styleElms.length; i2++) {
|
|
1384
|
+
const scopeId2 = styleElms[i2].getAttribute(HYDRATED_STYLE_ID);
|
|
1385
|
+
const isShadowCmpStyle = cmpMetas.some((cmpMeta) => {
|
|
1386
|
+
const cmpScopeId = "sc-" + cmpMeta.$tagName$;
|
|
1387
|
+
return cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && (scopeId2 === cmpScopeId || cmpMeta.$flags$ & 32 /* hasMode */ && scopeId2.startsWith(cmpScopeId + "-"));
|
|
1388
|
+
});
|
|
1389
|
+
if (isShadowCmpStyle) {
|
|
1390
|
+
registerStyle(scopeId2, convertScopedToShadow(styleElms[i2].innerHTML), true);
|
|
1391
|
+
}
|
|
1359
1392
|
}
|
|
1360
1393
|
};
|
|
1361
1394
|
|
|
@@ -1656,7 +1689,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1656
1689
|
const scopeId2 = hostElm["s-sc"];
|
|
1657
1690
|
if (node.nodeType === 1 /* ElementNode */) {
|
|
1658
1691
|
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
1659
|
-
if (childNodeType) {
|
|
1692
|
+
if (childNodeType && node !== hostElm) {
|
|
1660
1693
|
childIdSplt = childNodeType.split(".");
|
|
1661
1694
|
if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
|
|
1662
1695
|
childVNode = createSimpleVNode({
|
|
@@ -3279,7 +3312,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3279
3312
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
3280
3313
|
entry == null ? void 0 : entry.forEach((watcher) => {
|
|
3281
3314
|
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
3282
|
-
if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
3315
|
+
if ((instance == null ? void 0 : instance[watchMethodName]) != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
3283
3316
|
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
3284
3317
|
}
|
|
3285
3318
|
});
|
|
@@ -3299,7 +3332,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3299
3332
|
newValue = newValue === null || newValue === "false" && true ? false : true;
|
|
3300
3333
|
}
|
|
3301
3334
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
3302
|
-
|
|
3335
|
+
const isUnchanged = newValue === this[propName] || newValue == null && this[propName] == null;
|
|
3336
|
+
if (!isSpuriousBooleanRemoval && !isUnchanged && (!propDesc.get || !!propDesc.set)) {
|
|
3303
3337
|
this[propName] = newValue;
|
|
3304
3338
|
}
|
|
3305
3339
|
});
|
|
@@ -3554,7 +3588,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
3554
3588
|
plt.$flags$ |= 2 /* appLoaded */;
|
|
3555
3589
|
}
|
|
3556
3590
|
{
|
|
3557
|
-
|
|
3591
|
+
const cmpMetas = [];
|
|
3592
|
+
lazyBundles.map((lazyBundle) => lazyBundle[1].map(([$flags$, $tagName$]) => cmpMetas.push({ $flags$, $tagName$ })));
|
|
3593
|
+
hydrateScopedToShadow(cmpMetas);
|
|
3558
3594
|
}
|
|
3559
3595
|
let hasSlotRelocation = false;
|
|
3560
3596
|
lazyBundles.map((lazyBundle) => {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var helpers = require('./helpers-
|
|
7
|
-
var index = require('./index-
|
|
6
|
+
var helpers = require('./helpers-BDvjDsXt.js');
|
|
7
|
+
var index = require('./index-CKee8md4.js');
|
|
8
8
|
|
|
9
9
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
10
10
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var animation = require('./animation-
|
|
7
|
-
var index = require('./index-
|
|
8
|
-
var ios_transition = require('./ios.transition-
|
|
9
|
-
var md_transition = require('./md.transition-
|
|
6
|
+
var animation = require('./animation-B7oGwLLy.js');
|
|
7
|
+
var index = require('./index-BashZvQB.js');
|
|
8
|
+
var ios_transition = require('./ios.transition-CExZyoOI.js');
|
|
9
|
+
var md_transition = require('./md.transition-DaAVTRvs.js');
|
|
10
10
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
11
11
|
var index$1 = require('./index-DRPqwSvU.js');
|
|
12
|
-
var ionicGlobal = require('./ionic-global-
|
|
13
|
-
var helpers = require('./helpers-
|
|
14
|
-
var index$2 = require('./index-
|
|
15
|
-
var index$3 = require('./index-
|
|
12
|
+
var ionicGlobal = require('./ionic-global-Bt1gOF3y.js');
|
|
13
|
+
var helpers = require('./helpers-BDvjDsXt.js');
|
|
14
|
+
var index$2 = require('./index-CKee8md4.js');
|
|
15
|
+
var index$3 = require('./index-DJX-8rkB.js');
|
|
16
16
|
var config = require('./config-CjUbvdPW.js');
|
|
17
17
|
var theme = require('./theme-Bw0rpaNN.js');
|
|
18
|
-
var index$4 = require('./index-
|
|
19
|
-
var hardwareBackButton = require('./overlays-
|
|
18
|
+
var index$4 = require('./index-BUIZTwKD.js');
|
|
19
|
+
var hardwareBackButton = require('./overlays-D4y6dLkd.js');
|
|
20
20
|
require('./dir-Bma_9Lqh.js');
|
|
21
21
|
require('./gesture-controller-CeJslptU.js');
|
|
22
|
-
require('./framework-delegate-
|
|
22
|
+
require('./framework-delegate-DAKg2Azt.js');
|
|
23
23
|
|
|
24
24
|
const IonicSlides = (opts) => {
|
|
25
25
|
const { swiper, extendParams } = opts;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var helpers = require('./helpers-
|
|
7
|
-
var index = require('./index-
|
|
8
|
-
var keyboard = require('./keyboard-
|
|
6
|
+
var helpers = require('./helpers-BDvjDsXt.js');
|
|
7
|
+
var index = require('./index-D02LHDVd.js');
|
|
8
|
+
var keyboard = require('./keyboard-OOIuCa13.js');
|
|
9
9
|
var dir = require('./dir-Bma_9Lqh.js');
|
|
10
|
-
require('./index-
|
|
11
|
-
require('./capacitor-
|
|
10
|
+
require('./index-CKee8md4.js');
|
|
11
|
+
require('./capacitor-MxFQgshb.js');
|
|
12
12
|
|
|
13
13
|
const cloneMap = new WeakMap();
|
|
14
14
|
const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
|