voyager-ionic-core 9.0.3 → 9.0.7
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--cshUOAU.js +4 -0
- package/components/{p-BF48Oc0v.js → p-7KepMw9O.js} +1 -1
- package/components/p-B-5Z9djt.js +4 -0
- package/components/p-B02CcbPD.js +4 -0
- package/components/p-B4IBdPVJ.js +4 -0
- package/components/{p-BYJRZKHa.js → p-BMHdI-wb.js} +1 -1
- package/components/p-BODcC-C0.js +4 -0
- package/components/{p-D7wDJdFn.js → p-Ba9_OzSY.js} +1 -1
- package/components/{p-DMBiAyOR.js → p-BqyLLYLm.js} +1 -1
- package/components/{p-BQyuFxYc.js → p-C1AxSUnp.js} +1 -1
- package/components/p-C7r5Gja6.js +4 -0
- package/components/{p-D5w_FlVa.js → p-CKiqp4Vl.js} +1 -1
- package/components/{p-C8Ck7_Eo.js → p-C_gnmBt2.js} +1 -1
- package/{dist/ionic/p-DTxBioUO.js → components/p-CdrNHfZl.js} +1 -1
- package/components/{p-DM1gJSMP.js → p-ChkSQqfP.js} +1 -1
- package/components/p-ChsJlFCQ.js +4 -0
- package/components/{p-cEN43Ahr.js → p-CjPRDxby.js} +1 -1
- package/components/p-CohRJRIu.js +4 -0
- package/components/{p-DxhHlJln.js → p-CqvARtmt.js} +1 -1
- package/components/p-Ct2aBEue.js +4 -0
- package/components/p-CtiO6_sC.js +4 -0
- package/components/{p-Hp8t4RMX.js → p-CvyvLbPe.js} +1 -1
- package/{dist/ionic/p-BMiZX1LT.js → components/p-CwEis84J.js} +1 -1
- package/components/p-CxEV3Vwy.js +4 -0
- package/components/p-Cyajikho.js +4 -0
- package/components/p-D64Tyi-z.js +4 -0
- package/components/{p-B4lxwJ8N.js → p-DBtFJlTi.js} +1 -1
- package/components/p-DD92Fw3n.js +4 -0
- package/components/p-DDI6VLW9.js +4 -0
- package/components/{p-Fl7ZFU74.js → p-DHo45oj7.js} +1 -1
- package/components/{p-COO0eJOA.js → p-DMPsc_0r.js} +1 -1
- package/{dist/ionic/p-DZ6Hmc-8.js → components/p-Dbi3KqKm.js} +1 -1
- package/components/p-DhfJAkyd.js +4 -0
- package/components/p-DnGlmM4u.js +4 -0
- package/components/{p-CJgnoKcN.js → p-Drpw2dyl.js} +1 -1
- package/components/{p-5ldEpNdG.js → p-Dvyv9SMk.js} +1 -1
- package/components/p-GpqwNbxf.js +4 -0
- package/components/{p-BJr2B5hZ.js → p-HthJZjZ6.js} +1 -1
- package/components/p-IQN1T5zw.js +4 -0
- package/components/{p-DL13ieTa.js → p-KbMCbGRA.js} +1 -1
- package/components/p-ODGeXc3M.js +4 -0
- package/components/p-R4UxBukQ.js +4 -0
- package/components/p-TLtgwTFF.js +4 -0
- package/components/p-Uk13YgEc.js +4 -0
- package/components/{p-qAXsfUff.js → p-V1THdfzs.js} +1 -1
- package/components/{p-C-NbvXu4.js → p-YNnH1_Hs.js} +1 -1
- package/components/{p-CqbGBmqb.js → p-ZrYBjOcc.js} +1 -1
- package/components/p-_y7kwBO8.js +4 -0
- package/components/{p-GGbIHyEF.js → p-hLu-eIbb.js} +1 -1
- package/components/p-jsVMT15X.js +4 -0
- package/components/{p-TWw4e4sO.js → p-r59A3wQk.js} +1 -1
- package/components/p-yGD6MBgf.js +4 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-Kd1N7WTN.js → animation-DcgLg_PI.js} +3 -3
- package/dist/cjs/{app-globals-b1G4t26O.js → app-globals-BoFCZq0K.js} +1 -1
- package/dist/cjs/attribute-controller-BjTE2TOf.js +131 -0
- package/dist/cjs/{button-active-CQCFubJJ.js → button-active-FdsfRDY_.js} +2 -2
- package/dist/cjs/{capacitor-DmA66EwP.js → capacitor-C6Pp4Z7A.js} +3 -3
- package/dist/cjs/{format-bHU8N1g5.js → format-CVjpvAl1.js} +1 -1
- package/dist/cjs/{framework-delegate-d-fWfeI6.js → framework-delegate-JbKIVMzR.js} +1 -1
- package/dist/cjs/{haptic-Ch-X4gRx.js → haptic--4QteuuM.js} +1 -1
- package/dist/cjs/{helpers-7wzdhdeg.js → helpers-Cqr69qxA.js} +50 -3
- package/dist/cjs/{index-KiSZqhYS.js → index-B4ONUQRp.js} +1 -1
- package/dist/cjs/{index-C74Q3t6a.js → index-BQpSekmz.js} +7 -8
- package/dist/cjs/{index-DFNrCX7M.js → index-BhWiDK25.js} +9 -9
- package/dist/cjs/{index-DXoo08JC.js → index-BiQyIvoc.js} +54 -28
- package/dist/cjs/{index-DtvKGwdh.js → index-CNaZ6SYM.js} +2 -2
- package/dist/cjs/{index-CQfEIyLK.js → index-DUiuw_fH.js} +4 -4
- package/dist/cjs/index.cjs.js +19 -19
- package/dist/cjs/{input-shims-VJIiKBKv.js → input-shims-2AsXPZ5m.js} +16 -17
- package/dist/cjs/{input.utils-EHVE2RK_.js → input.utils-Becpo0ax.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +26 -28
- package/dist/cjs/ion-alert.cjs.entry.js +27 -29
- package/dist/cjs/ion-app_8.cjs.entry.js +72 -24
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +23 -34
- package/dist/cjs/ion-card_5.cjs.entry.js +19 -7
- 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 +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime.cjs.entry.js +34 -29
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- 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 +33 -8
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +12 -16
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +17 -8
- package/dist/cjs/ion-loading.cjs.entry.js +18 -20
- package/dist/cjs/ion-menu_3.cjs.entry.js +18 -19
- package/dist/cjs/ion-modal.cjs.entry.js +177 -172
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +8 -9
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +119 -42
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +8 -9
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -7
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select-modal.cjs.entry.js +8 -10
- package/dist/cjs/ion-select_3.cjs.entry.js +71 -53
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -7
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +11 -15
- package/dist/cjs/ion-toast.cjs.entry.js +49 -51
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -7
- package/dist/cjs/{ionic-global-CYJNT-2P.js → ionic-global-48ceLiJ6.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-DYGiD6gM.js → ios.transition-D85_rHf5.js} +4 -5
- package/dist/cjs/{item-multiple-inputs-Dv6qrMhm.js → item-multiple-inputs-C-hz7xrh.js} +1 -1
- package/dist/cjs/{keyboard-cHxZlTyz.js → keyboard-BlHp4a_c.js} +1 -1
- package/dist/cjs/{keyboard-Cix5TVkD.js → keyboard-c2_I35b-.js} +5 -3
- package/dist/cjs/{keyboard-controller-PtZoN2GS.js → keyboard-controller-DHS0BgXp.js} +9 -9
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-CrSkaoz6.js → md.transition-Ce9X1WXr.js} +4 -5
- package/dist/cjs/{overlays-BR21NUIG.js → overlays-CLld3axA.js} +224 -12
- package/dist/cjs/{select-option-render-D8ZEjYji.js → select-option-render-CzyhrkOu.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-D6IjSEIh.js → slot-mutation-controller-ClDxh3EK.js} +73 -5
- package/dist/cjs/{status-tap-CNP5eD1R.js → status-tap-CDA0Y3Ad.js} +3 -3
- package/dist/cjs/{swipe-back-CSIJQfu5.js → swipe-back-Dy8pxJCF.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/button/button.js +21 -32
- package/dist/collection/components/card/card.js +17 -6
- package/dist/collection/components/content/content.js +62 -8
- package/dist/collection/components/datetime/datetime.js +27 -20
- package/dist/collection/components/input/input.ios.css +6 -0
- package/dist/collection/components/input/input.js +6 -9
- package/dist/collection/components/input/input.md.css +6 -0
- package/dist/collection/components/input-otp/input-otp.js +29 -3
- package/dist/collection/components/item/item.js +15 -6
- package/dist/collection/components/menu/menu.js +4 -3
- package/dist/collection/components/modal/modal.ios.css +12 -1
- package/dist/collection/components/modal/modal.js +31 -8
- package/dist/collection/components/modal/modal.md.css +12 -1
- package/dist/collection/components/modal/safe-area-utils.js +69 -90
- package/dist/collection/components/modal/utils.js +7 -0
- package/dist/collection/components/popover/animations/ios.enter.js +20 -6
- package/dist/collection/components/popover/animations/md.enter.js +19 -5
- package/dist/collection/components/popover/utils.js +64 -13
- package/dist/collection/components/select/select.ios.css +1 -1
- package/dist/collection/components/select/select.js +67 -38
- package/dist/collection/components/select/select.md.css +1 -1
- package/dist/collection/components/textarea/textarea.ios.css +15 -1
- package/dist/collection/components/textarea/textarea.js +5 -8
- package/dist/collection/components/textarea/textarea.md.css +15 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/attribute-controller.js +126 -0
- package/dist/collection/utils/forms/click-controller.js +70 -0
- package/dist/collection/utils/forms/index.js +1 -0
- package/dist/collection/utils/hardware-back-button.js +41 -12
- package/dist/collection/utils/helpers.js +44 -3
- package/dist/collection/utils/logging/index.js +4 -0
- package/dist/collection/utils/menu-controller/index.js +2 -1
- package/dist/collection/utils/overlays.js +64 -4
- package/dist/docs.json +9 -3
- package/dist/esm/{animation-BFNVlYum.js → animation-DmtJpz89.js} +2 -2
- package/dist/esm/{app-globals-BgX0BGL1.js → app-globals-CNfpAPW6.js} +1 -1
- package/dist/esm/attribute-controller-DPMIcbef.js +128 -0
- package/dist/esm/{button-active-BfOvDr3b.js → button-active-DVk40Sjl.js} +2 -2
- package/dist/esm/{capacitor-CFERIeaU.js → capacitor-CHJaJ9aX.js} +1 -1
- package/dist/esm/{format-DDFE9jM5.js → format-Ck1cw5z7.js} +1 -1
- package/dist/esm/{framework-delegate-BwNhx9NR.js → framework-delegate-CDjM1vRH.js} +1 -1
- package/dist/esm/{haptic-Cq4UAeka.js → haptic-WXfMCob9.js} +1 -1
- package/dist/esm/{helpers-BSmc0nst.js → helpers-BJqKF1pr.js} +47 -4
- package/dist/esm/{index-DnA_7Bnx.js → index-BBASprVu.js} +4 -4
- package/dist/esm/{index-C23AVPx9.js → index-BpRUsN_W.js} +55 -29
- package/dist/esm/{index-D76bbuoi.js → index-CK8uF0iB.js} +1 -1
- package/dist/esm/{index-CJln0gS3.js → index-Clv8QC5L.js} +2 -3
- package/dist/esm/{index-BuPaALjU.js → index-DIouXecD.js} +6 -6
- package/dist/esm/{index-C1b9CLFg.js → index-TkLga3ma.js} +2 -2
- package/dist/esm/index.js +11 -13
- package/dist/esm/{input-shims-Dqk-Ou25.js → input-shims-C1iYF5JK.js} +5 -6
- package/dist/esm/{input.utils-rqoH22pW.js → input.utils-DZY_K8Po.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +11 -13
- package/dist/esm/ion-alert.entry.js +11 -13
- package/dist/esm/ion-app_8.entry.js +72 -24
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +23 -34
- package/dist/esm/ion-card_5.entry.js +19 -7
- 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 +2 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime.entry.js +33 -28
- package/dist/esm/ion-fab_3.entry.js +3 -3
- 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 +33 -8
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +12 -16
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +17 -8
- package/dist/esm/ion-loading.entry.js +7 -9
- package/dist/esm/ion-menu_3.entry.js +10 -11
- package/dist/esm/ion-modal.entry.js +115 -110
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +5 -6
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +108 -31
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +8 -9
- package/dist/esm/ion-reorder_2.entry.js +6 -7
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select-modal.entry.js +7 -9
- package/dist/esm/ion-select_3.entry.js +66 -48
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -7
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +11 -15
- package/dist/esm/ion-toast.entry.js +7 -9
- package/dist/esm/ion-toggle.entry.js +6 -7
- package/dist/esm/{ionic-global-ZXjCXKH0.js → ionic-global-Cep6oYzK.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-CWAgfQ1r.js → ios.transition-B8netzsb.js} +4 -5
- package/dist/esm/{item-multiple-inputs-DZnIiOO_.js → item-multiple-inputs-Bd2LO7qK.js} +1 -1
- package/dist/esm/{keyboard-Cj8mLJeq.js → keyboard-B4Y-Gph8.js} +5 -3
- package/dist/esm/{keyboard-DAF8GNJ9.js → keyboard-Cmqp5iZD.js} +1 -1
- package/dist/esm/{keyboard-controller-DEwoa1ev.js → keyboard-controller-B2NoF7bV.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-ZuqDDdDW.js → md.transition-DNCSSiXk.js} +4 -5
- package/dist/esm/{overlays-DKE0DgvE.js → overlays-DmDY-El7.js} +216 -10
- package/dist/esm/{select-option-render-CRP_teb1.js → select-option-render-BSDT9oSA.js} +2 -2
- package/dist/esm/{slot-mutation-controller-B5NpUZ-N.js → slot-mutation-controller-hAS2uJ7c.js} +69 -3
- package/dist/esm/{status-tap-Cv9gb3ja.js → status-tap-VGRBYwiC.js} +3 -3
- package/dist/esm/{swipe-back-De5HlmeM.js → swipe-back-tCNYR9ZM.js} +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-b9b4e85d.entry.js → p-00cd107d.entry.js} +1 -1
- package/dist/ionic/p-01b7e3f2.entry.js +4 -0
- package/dist/ionic/{p-9c5f2691.entry.js → p-0a789930.entry.js} +1 -1
- package/dist/ionic/p-0b09c60e.entry.js +4 -0
- package/dist/ionic/p-0c32c626.entry.js +4 -0
- package/dist/ionic/p-0f97175e.entry.js +4 -0
- package/dist/ionic/p-107a81a6.entry.js +4 -0
- package/dist/ionic/{p-ca1b8865.entry.js → p-230f510c.entry.js} +1 -1
- package/dist/ionic/p-27d96a9b.entry.js +4 -0
- package/dist/ionic/{p-db449915.entry.js → p-28251c5c.entry.js} +1 -1
- package/dist/ionic/{p-099b7f9f.entry.js → p-362dcd86.entry.js} +1 -1
- package/dist/ionic/p-4bd80334.entry.js +4 -0
- package/dist/ionic/p-4d785062.entry.js +4 -0
- package/dist/ionic/{p-efc0cf82.entry.js → p-4e4e5919.entry.js} +1 -1
- package/dist/ionic/{p-837db1b9.entry.js → p-4ed3c460.entry.js} +1 -1
- package/dist/ionic/{p-d8c138d9.entry.js → p-4f25b926.entry.js} +1 -1
- package/dist/ionic/{p-271c3640.entry.js → p-539d6c8e.entry.js} +1 -1
- package/dist/ionic/p-5bb24bce.entry.js +4 -0
- package/dist/ionic/p-60780b88.entry.js +4 -0
- package/dist/ionic/{p-54cbb0a7.entry.js → p-62c87f3d.entry.js} +1 -1
- package/dist/ionic/p-6317d620.entry.js +4 -0
- package/dist/ionic/{p-85599fe3.entry.js → p-64ac3864.entry.js} +1 -1
- package/dist/ionic/{p-191a651e.entry.js → p-6c7b5930.entry.js} +1 -1
- package/dist/ionic/{p-7fbb3319.entry.js → p-77252596.entry.js} +1 -1
- package/dist/ionic/p-7ce9c6f8.entry.js +4 -0
- package/dist/ionic/{p-8b80d9f9.entry.js → p-7db20410.entry.js} +1 -1
- package/dist/ionic/{p-5d9094ac.entry.js → p-7e9c2a97.entry.js} +1 -1
- package/dist/ionic/p-7l6ENjIV.js +4 -0
- package/dist/ionic/p-82abf431.entry.js +4 -0
- package/dist/ionic/p-8b79061e.entry.js +4 -0
- package/dist/ionic/{p-6e386853.entry.js → p-8c85e250.entry.js} +1 -1
- package/dist/ionic/{p-90f50a65.entry.js → p-8d651adb.entry.js} +1 -1
- package/dist/ionic/{p-dd01be0a.entry.js → p-8db08782.entry.js} +1 -1
- package/dist/ionic/p-91f3cd8b.entry.js +4 -0
- package/dist/ionic/{p-f0fb23c1.entry.js → p-930c3538.entry.js} +1 -1
- package/dist/ionic/{p-ee09ac9d.entry.js → p-9ffccbf1.entry.js} +1 -1
- package/dist/ionic/{p-CM5OBjTW.js → p-B0jcOZOE.js} +1 -1
- package/dist/ionic/p-B8IuTu_r.js +4 -0
- package/dist/ionic/p-BNXIurCt.js +4 -0
- package/{components/p-6ZLn6K5e.js → dist/ionic/p-BO10QT9r.js} +1 -1
- package/dist/ionic/p-BOLqP2-V.js +4 -0
- package/dist/ionic/{p-BMPN55of.js → p-BY4FwwBp.js} +1 -1
- package/dist/ionic/p-BdHBcCZF.js +4 -0
- package/{components/p-DiuOa1vw.js → dist/ionic/p-BexAj0yw.js} +1 -1
- package/dist/ionic/p-Bnc1L7Rk.js +4 -0
- package/dist/ionic/p-BpRUsN_W.js +6 -0
- package/dist/ionic/p-Bppj2PE0.js +4 -0
- package/dist/ionic/p-BuLlVedw.js +4 -0
- package/dist/ionic/p-Bx5x5GJV.js +4 -0
- package/dist/ionic/p-C1WYZOZj.js +4 -0
- package/dist/ionic/p-C2LaBx3E.js +4 -0
- package/dist/ionic/{p-Bd72UYI2.js → p-CXs4J83x.js} +1 -1
- package/dist/ionic/p-Co7eql8D.js +4 -0
- package/dist/ionic/p-D13gXhdC.js +4 -0
- package/dist/ionic/p-D926OmIX.js +4 -0
- package/dist/ionic/{p-T71k3C35.js → p-DPNVo1nr.js} +1 -1
- package/{components/p-C4VpVfrJ.js → dist/ionic/p-DQXtveHv.js} +1 -1
- package/dist/ionic/p-DXXGkPA8.js +4 -0
- package/dist/ionic/{p-C8XilMh0.js → p-DfvWlTdB.js} +1 -1
- package/dist/ionic/p-DriE1ZAo.js +4 -0
- package/dist/ionic/{p-D7jHfs0Y.js → p-DxftXYZp.js} +1 -1
- package/dist/ionic/{p-Do3zTvCA.js → p-SEecsUh7.js} +1 -1
- package/dist/ionic/p-a4389f13.entry.js +4 -0
- package/dist/ionic/p-af11d3c6.entry.js +4 -0
- package/dist/ionic/p-af56702e.entry.js +4 -0
- package/dist/ionic/{p-561af487.entry.js → p-b3aadfe8.entry.js} +1 -1
- package/dist/ionic/p-b5bcbbc1.entry.js +4 -0
- package/dist/ionic/p-b9ed3a52.entry.js +4 -0
- package/dist/ionic/{p-3bba83ee.entry.js → p-bfdbe24b.entry.js} +1 -1
- package/dist/ionic/{p-4712a8a9.entry.js → p-c250b6b0.entry.js} +1 -1
- package/dist/ionic/{p-38b9375b.entry.js → p-c293f854.entry.js} +1 -1
- package/dist/ionic/p-c81ec0e8.entry.js +4 -0
- package/dist/ionic/p-c83dbc12.entry.js +4 -0
- package/dist/ionic/p-d0e374f8.entry.js +4 -0
- package/dist/ionic/p-d72accc4.entry.js +4 -0
- package/dist/ionic/p-d9a3dfd1.entry.js +4 -0
- package/dist/ionic/p-e1haAYzm.js +4 -0
- package/dist/ionic/p-e7ab4def.entry.js +4 -0
- package/dist/ionic/{p-d6755739.entry.js → p-eb989dc9.entry.js} +1 -1
- package/dist/ionic/p-ec259ac5.entry.js +4 -0
- package/dist/ionic/{p-DYUjHcuH.js → p-nCAPr1Ah.js} +1 -1
- package/dist/types/components/button/button.d.ts +3 -12
- package/dist/types/components/card/card.d.ts +3 -1
- package/dist/types/components/content/content.d.ts +28 -3
- package/dist/types/components/datetime/datetime.d.ts +5 -10
- package/dist/types/components/input/input.d.ts +1 -0
- package/dist/types/components/input-otp/input-otp.d.ts +7 -0
- package/dist/types/components/item/item.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +9 -1
- package/dist/types/components/modal/safe-area-utils.d.ts +28 -14
- package/dist/types/components/modal/utils.d.ts +4 -0
- package/dist/types/components/popover/utils.d.ts +16 -3
- package/dist/types/components/select/select.d.ts +11 -0
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/dist/types/utils/attribute-controller.d.ts +56 -0
- package/dist/types/utils/config.d.ts +4 -1
- package/dist/types/utils/forms/click-controller.d.ts +36 -0
- package/dist/types/utils/forms/index.d.ts +1 -0
- package/dist/types/utils/hardware-back-button.d.ts +11 -0
- package/dist/types/utils/helpers.d.ts +27 -2
- package/dist/types/utils/logging/index.d.ts +4 -0
- package/dist/types/utils/overlays.d.ts +20 -2
- package/hydrate/index.js +1249 -484
- package/hydrate/index.mjs +1249 -484
- package/package.json +3 -3
- package/components/p-1sJ0ZDPe.js +0 -4
- package/components/p-B1_TL6RQ.js +0 -4
- package/components/p-BT9-hMMz.js +0 -4
- package/components/p-BU8a2IhR.js +0 -4
- package/components/p-BW_SlU2D.js +0 -4
- package/components/p-BWoa-cki.js +0 -4
- package/components/p-BgkOsq-d.js +0 -4
- package/components/p-Bi-it1EH.js +0 -4
- package/components/p-C09TXohi.js +0 -4
- package/components/p-CG_zZq_I.js +0 -4
- package/components/p-CMRYD_yR.js +0 -4
- package/components/p-CNLioZ3B.js +0 -4
- package/components/p-CWAks_S_.js +0 -4
- package/components/p-Cd1WaN-0.js +0 -4
- package/components/p-CrAKlX71.js +0 -4
- package/components/p-Ctop2IWW.js +0 -4
- package/components/p-Cw6WocLJ.js +0 -4
- package/components/p-DFLJvuRK.js +0 -4
- package/components/p-DZRZic9C.js +0 -4
- package/components/p-DhNuxvJH.js +0 -4
- package/components/p-Djmz-ssp.js +0 -4
- package/components/p-DnBNYc7u.js +0 -4
- package/components/p-DwSXbQSz.js +0 -4
- package/components/p-M34T2gyX.js +0 -4
- package/components/p-YjMkHuvH.js +0 -4
- package/dist/cjs/hardware-back-button-Bu4Dzw8l.js +0 -121
- package/dist/cjs/index-DkNv4J_i.js +0 -10
- package/dist/esm/hardware-back-button-DmkiRgOT.js +0 -115
- package/dist/esm/index-ZjP4CjeZ.js +0 -7
- package/dist/ionic/p-0dcb7bb6.entry.js +0 -4
- package/dist/ionic/p-1347880c.entry.js +0 -4
- package/dist/ionic/p-1f24cb24.entry.js +0 -4
- package/dist/ionic/p-2ea4bb36.entry.js +0 -4
- package/dist/ionic/p-338a02e0.entry.js +0 -4
- package/dist/ionic/p-3e01c744.entry.js +0 -4
- package/dist/ionic/p-458715a9.entry.js +0 -4
- package/dist/ionic/p-4c3e50f8.entry.js +0 -4
- package/dist/ionic/p-5906ea6f.entry.js +0 -4
- package/dist/ionic/p-5cc09b40.entry.js +0 -4
- package/dist/ionic/p-612ea3b1.entry.js +0 -4
- package/dist/ionic/p-68cc89a6.entry.js +0 -4
- package/dist/ionic/p-77c96e08.entry.js +0 -4
- package/dist/ionic/p-7bfeccb3.entry.js +0 -4
- package/dist/ionic/p-7e394cc3.entry.js +0 -4
- package/dist/ionic/p-803059b6.entry.js +0 -4
- package/dist/ionic/p-9595e305.entry.js +0 -4
- package/dist/ionic/p-9ee9c5b6.entry.js +0 -4
- package/dist/ionic/p-BY6BzzPF.js +0 -4
- package/dist/ionic/p-BaeKWZ-a.js +0 -4
- package/dist/ionic/p-BgOvhHy_.js +0 -4
- package/dist/ionic/p-BhamHSw3.js +0 -4
- package/dist/ionic/p-BijjLYjT.js +0 -4
- package/dist/ionic/p-C23AVPx9.js +0 -6
- package/dist/ionic/p-CER8qW8Y.js +0 -4
- package/dist/ionic/p-CFuOr1Tu.js +0 -4
- package/dist/ionic/p-CIGNaXM1.js +0 -4
- package/dist/ionic/p-CMZYmFb4.js +0 -4
- package/dist/ionic/p-CkxVYPtX.js +0 -4
- package/dist/ionic/p-CmXuiRT6.js +0 -4
- package/dist/ionic/p-D5t_-oMk.js +0 -4
- package/dist/ionic/p-D6rHcCvc.js +0 -4
- package/dist/ionic/p-DLM95R4x.js +0 -4
- package/dist/ionic/p-D_gb-kdd.js +0 -4
- package/dist/ionic/p-DajLgJ4d.js +0 -4
- package/dist/ionic/p-ZjP4CjeZ.js +0 -4
- package/dist/ionic/p-a8df96c8.entry.js +0 -4
- package/dist/ionic/p-a8ff2489.entry.js +0 -4
- package/dist/ionic/p-aff52029.entry.js +0 -4
- package/dist/ionic/p-b3532b8d.entry.js +0 -4
- package/dist/ionic/p-cc4320d3.entry.js +0 -4
- package/dist/ionic/p-d526798a.entry.js +0 -4
- package/dist/ionic/p-ec00fd0d.entry.js +0 -4
- package/dist/ionic/p-f83b3e0c.entry.js +0 -4
- package/dist/ionic/p-fa50d493.entry.js +0 -4
- package/dist/ionic/p-zWf7R2xV.js +0 -4
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-BiQyIvoc.js');
|
|
7
7
|
var dir = require('./dir-zwDPRE5K.js');
|
|
8
8
|
|
|
9
|
+
const win = typeof window !== 'undefined' ? window : undefined;
|
|
10
|
+
const doc = typeof document !== 'undefined' ? document : undefined;
|
|
11
|
+
|
|
9
12
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
10
13
|
return new Promise((resolve) => {
|
|
11
14
|
transitionEnd(el, expectedDuration, resolve);
|
|
@@ -85,8 +88,8 @@ const hasLazyBuild = (stencilEl) => {
|
|
|
85
88
|
* helper function should be called in componentWillLoad and assigned to a variable
|
|
86
89
|
* that is later used in the render function.
|
|
87
90
|
*
|
|
88
|
-
* This
|
|
89
|
-
* does not trigger a re-render.
|
|
91
|
+
* This copies once. Use `createAttributeController` instead when the attributes can
|
|
92
|
+
* change after load, since a host attribute change does not trigger a re-render.
|
|
90
93
|
*/
|
|
91
94
|
const inheritAttributes = (el, attributes = []) => {
|
|
92
95
|
const attributeObject = {};
|
|
@@ -105,6 +108,8 @@ const inheritAttributes = (el, attributes = []) => {
|
|
|
105
108
|
* List of available ARIA attributes + `role`.
|
|
106
109
|
* Removed deprecated attributes.
|
|
107
110
|
* https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
|
|
111
|
+
*
|
|
112
|
+
* @internal Exported for `attribute-controller.ts`, which needs the same set.
|
|
108
113
|
*/
|
|
109
114
|
const ariaAttributes = [
|
|
110
115
|
'role',
|
|
@@ -176,6 +181,44 @@ const addEventListener = (el, eventName, callback, opts) => {
|
|
|
176
181
|
const removeEventListener = (el, eventName, callback, opts) => {
|
|
177
182
|
return el.removeEventListener(eventName, callback, opts);
|
|
178
183
|
};
|
|
184
|
+
/**
|
|
185
|
+
* Calls back when a CSS custom property that resolves to a length changes,
|
|
186
|
+
* which no event covers. The probe inherits the property from `hostEl` and
|
|
187
|
+
* uses it as its height, turning a property change into a size change that
|
|
188
|
+
* `ResizeObserver` can detect.
|
|
189
|
+
*
|
|
190
|
+
* The callback receives the probe's height. For length values, this matches
|
|
191
|
+
* the resolved property value. For other values, such as `fit-content`, the
|
|
192
|
+
* probe remains at zero, so the value only signals that the property changed.
|
|
193
|
+
* Percentages resolve against the probe's containing block, not the element
|
|
194
|
+
* where the property is ultimately used.
|
|
195
|
+
*
|
|
196
|
+
* Pass `initialValue` when the caller has already read the property so that
|
|
197
|
+
* changes occurring before the observer's first delivery are not missed.
|
|
198
|
+
* Without it, the first delivery establishes the baseline.
|
|
199
|
+
*/
|
|
200
|
+
const onCustomPropertyChange = (hostEl, property, callback, initialValue) => {
|
|
201
|
+
const doc = win?.document;
|
|
202
|
+
if (!doc || !hostEl || typeof ResizeObserver === 'undefined') {
|
|
203
|
+
return () => undefined;
|
|
204
|
+
}
|
|
205
|
+
const probe = doc.createElement('div');
|
|
206
|
+
probe.style.cssText = `position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;width:0;height:var(${property},0px);`;
|
|
207
|
+
hostEl.appendChild(probe);
|
|
208
|
+
let lastHeight = initialValue;
|
|
209
|
+
const observer = new ResizeObserver((entries) => {
|
|
210
|
+
const { height } = entries[0].contentRect;
|
|
211
|
+
if (lastHeight !== undefined && height !== lastHeight) {
|
|
212
|
+
callback(height);
|
|
213
|
+
}
|
|
214
|
+
lastHeight = height;
|
|
215
|
+
});
|
|
216
|
+
observer.observe(probe);
|
|
217
|
+
return () => {
|
|
218
|
+
observer.disconnect();
|
|
219
|
+
probe.remove();
|
|
220
|
+
};
|
|
221
|
+
};
|
|
179
222
|
/**
|
|
180
223
|
* Gets the root context of a shadow dom element
|
|
181
224
|
* On newer browsers this will be the shadowRoot,
|
|
@@ -343,11 +386,13 @@ const isSafeNumber = (input) => {
|
|
|
343
386
|
};
|
|
344
387
|
|
|
345
388
|
exports.addEventListener = addEventListener;
|
|
389
|
+
exports.ariaAttributes = ariaAttributes;
|
|
346
390
|
exports.assert = assert;
|
|
347
391
|
exports.clamp = clamp;
|
|
348
392
|
exports.componentOnReady = componentOnReady;
|
|
349
393
|
exports.debounce = debounce;
|
|
350
394
|
exports.debounceEvent = debounceEvent;
|
|
395
|
+
exports.doc = doc;
|
|
351
396
|
exports.focusVisibleElement = focusVisibleElement;
|
|
352
397
|
exports.getElementRoot = getElementRoot;
|
|
353
398
|
exports.hasLazyBuild = hasLazyBuild;
|
|
@@ -356,9 +401,11 @@ exports.inheritAriaAttributes = inheritAriaAttributes;
|
|
|
356
401
|
exports.inheritAttributes = inheritAttributes;
|
|
357
402
|
exports.isEndSide = isEndSide;
|
|
358
403
|
exports.isSafeNumber = isSafeNumber;
|
|
404
|
+
exports.onCustomPropertyChange = onCustomPropertyChange;
|
|
359
405
|
exports.pointerCoord = pointerCoord;
|
|
360
406
|
exports.raf = raf;
|
|
361
407
|
exports.removeEventListener = removeEventListener;
|
|
362
408
|
exports.renderHiddenInput = renderHiddenInput;
|
|
363
409
|
exports.shallowEqualStringMap = shallowEqualStringMap;
|
|
364
410
|
exports.transitionEndAsync = transitionEndAsync;
|
|
411
|
+
exports.win = win;
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
require('./index-DXoo08JC.js');
|
|
6
|
+
var helpers = require('./helpers-Cqr69qxA.js');
|
|
7
|
+
require('./index-BiQyIvoc.js');
|
|
9
8
|
require('./dir-zwDPRE5K.js');
|
|
10
9
|
|
|
11
10
|
const startTapClick = (config) => {
|
|
12
|
-
if (
|
|
11
|
+
if (helpers.doc === undefined) {
|
|
13
12
|
return;
|
|
14
13
|
}
|
|
15
14
|
let lastActivated = 0;
|
|
@@ -112,9 +111,9 @@ const startTapClick = (config) => {
|
|
|
112
111
|
active.classList.remove(ACTIVATED);
|
|
113
112
|
}
|
|
114
113
|
};
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
helpers.doc.addEventListener('ionGestureCaptured', cancelActive);
|
|
115
|
+
helpers.doc.addEventListener('pointerdown', pointerDown, true);
|
|
116
|
+
helpers.doc.addEventListener('pointerup', pointerUp, true);
|
|
118
117
|
/**
|
|
119
118
|
* Tap click effects such as the ripple effect should
|
|
120
119
|
* not happen when scrolling. For example, if a user scrolls
|
|
@@ -127,7 +126,7 @@ const startTapClick = (config) => {
|
|
|
127
126
|
* starts, so this lets us avoid having to listen for
|
|
128
127
|
* ion-content's scroll events.
|
|
129
128
|
*/
|
|
130
|
-
|
|
129
|
+
helpers.doc.addEventListener('pointercancel', cancelActive, true);
|
|
131
130
|
};
|
|
132
131
|
// TODO(FW-2832): type
|
|
133
132
|
const getActivatableTarget = (ev) => {
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
var hardwareBackButton = require('./
|
|
8
|
-
var index
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var animation = require('./animation-Kd1N7WTN.js');
|
|
6
|
+
var helpers = require('./helpers-Cqr69qxA.js');
|
|
7
|
+
var hardwareBackButton = require('./overlays-CLld3axA.js');
|
|
8
|
+
var index = require('./index-BiQyIvoc.js');
|
|
9
|
+
var ionicGlobal = require('./ionic-global-48ceLiJ6.js');
|
|
10
|
+
var animation = require('./animation-DcgLg_PI.js');
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* baseAnimation
|
|
@@ -169,7 +168,7 @@ const createMenuController = () => {
|
|
|
169
168
|
const menuRefs = menus.filter((m) => m.side === menu && !m.disabled);
|
|
170
169
|
if (menuRefs.length >= 1) {
|
|
171
170
|
if (menuRefs.length > 1 && logOnMultipleSideMenus) {
|
|
172
|
-
index
|
|
171
|
+
index.printIonWarning(`menuController queried for a menu on the "${menu}" side, but ${menuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, menuRefs.map((m) => m.el));
|
|
173
172
|
}
|
|
174
173
|
return menuRefs[0].el;
|
|
175
174
|
}
|
|
@@ -178,7 +177,7 @@ const createMenuController = () => {
|
|
|
178
177
|
const sideMenuRefs = menus.filter((m) => m.side === menu);
|
|
179
178
|
if (sideMenuRefs.length >= 1) {
|
|
180
179
|
if (sideMenuRefs.length > 1 && logOnMultipleSideMenus) {
|
|
181
|
-
index
|
|
180
|
+
index.printIonWarning(`menuController queried for a menu on the "${menu}" side, but ${sideMenuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, sideMenuRefs.map((m) => m.el));
|
|
182
181
|
}
|
|
183
182
|
return sideMenuRefs[0].el;
|
|
184
183
|
}
|
|
@@ -274,7 +273,8 @@ const createMenuController = () => {
|
|
|
274
273
|
registerAnimation('reveal', menuRevealAnimation);
|
|
275
274
|
registerAnimation('push', menuPushAnimation);
|
|
276
275
|
registerAnimation('overlay', menuOverlayAnimation);
|
|
277
|
-
|
|
276
|
+
hardwareBackButton.addCloseWatcherCondition(() => _getOpenSync() !== undefined);
|
|
277
|
+
helpers.doc?.addEventListener('ionBackButton', (ev) => {
|
|
278
278
|
const openMenu = _getOpenSync();
|
|
279
279
|
if (openMenu) {
|
|
280
280
|
ev.detail.register(hardwareBackButton.MENU_BACK_BUTTON_PRIORITY, () => {
|
|
@@ -131,6 +131,8 @@ const isLogLevelEnabled = (minimum) => {
|
|
|
131
131
|
* to indicate the library that is warning the developer.
|
|
132
132
|
*
|
|
133
133
|
* @param message - The string message to be logged to the console.
|
|
134
|
+
*
|
|
135
|
+
* @internal
|
|
134
136
|
*/
|
|
135
137
|
const printIonWarning = (message, ...params) => {
|
|
136
138
|
if (isLogLevelEnabled(exports.LogLevel.WARN)) {
|
|
@@ -143,6 +145,8 @@ const printIonWarning = (message, ...params) => {
|
|
|
143
145
|
*
|
|
144
146
|
* @param message - The string message to be logged to the console.
|
|
145
147
|
* @param params - Additional arguments to supply to the console.error.
|
|
148
|
+
*
|
|
149
|
+
* @internal
|
|
146
150
|
*/
|
|
147
151
|
const printIonError = (message, ...params) => {
|
|
148
152
|
if (isLogLevelEnabled(exports.LogLevel.ERROR)) {
|
|
@@ -161,7 +165,7 @@ const printRequiredElementError = (el, ...targetSelectors) => {
|
|
|
161
165
|
};
|
|
162
166
|
|
|
163
167
|
/*
|
|
164
|
-
Stencil Client Platform v4.
|
|
168
|
+
Stencil Client Platform v4.45.2 | MIT Licensed | https://stenciljs.com
|
|
165
169
|
*/
|
|
166
170
|
|
|
167
171
|
var Build = {
|
|
@@ -537,7 +541,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
537
541
|
|
|
538
542
|
// src/client/client-style.ts
|
|
539
543
|
var styles = /* @__PURE__ */ new Map();
|
|
540
|
-
var
|
|
544
|
+
var modeResolver = [];
|
|
541
545
|
|
|
542
546
|
// src/runtime/runtime-constants.ts
|
|
543
547
|
var CONTENT_REF_ID = "r";
|
|
@@ -601,7 +605,7 @@ var queueDomReads = [];
|
|
|
601
605
|
var queueDomWrites = [];
|
|
602
606
|
var scheduleFlush = () => {
|
|
603
607
|
var _a;
|
|
604
|
-
return ((_a = win.document) == null ? void 0 : _a.hidden) ?
|
|
608
|
+
return ((_a = win.document) == null ? void 0 : _a.hidden) ? setTimeout(flush, 16) : plt.raf(flush);
|
|
605
609
|
};
|
|
606
610
|
var queueTask = (queue, write) => (cb) => {
|
|
607
611
|
queue.push(cb);
|
|
@@ -1904,8 +1908,11 @@ var findCorrespondingNode = (node, type) => {
|
|
|
1904
1908
|
};
|
|
1905
1909
|
|
|
1906
1910
|
// src/runtime/mode.ts
|
|
1907
|
-
var computeMode = (elm) =>
|
|
1908
|
-
var setMode = (handler) =>
|
|
1911
|
+
var computeMode = (elm) => modeResolver.map((h2) => h2(elm)).find((m) => !!m);
|
|
1912
|
+
var setMode = (handler) => {
|
|
1913
|
+
modeResolver.length = 0;
|
|
1914
|
+
modeResolver.push(handler);
|
|
1915
|
+
};
|
|
1909
1916
|
var getMode = (ref) => {
|
|
1910
1917
|
var _a;
|
|
1911
1918
|
return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
|
|
@@ -2112,7 +2119,12 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
2112
2119
|
newClasses = [...new Set(newClasses)].filter((c) => c);
|
|
2113
2120
|
classList.add(...newClasses);
|
|
2114
2121
|
} else {
|
|
2115
|
-
|
|
2122
|
+
let removedClasses = oldClasses.filter((c) => c && !newClasses.includes(c));
|
|
2123
|
+
if (initialRender && !(flags & 4 /* isHost */)) {
|
|
2124
|
+
const ownClasses = getOwnHostClasses(elm);
|
|
2125
|
+
removedClasses = removedClasses.filter((c) => !ownClasses.includes(c));
|
|
2126
|
+
}
|
|
2127
|
+
classList.remove(...removedClasses);
|
|
2116
2128
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
2117
2129
|
}
|
|
2118
2130
|
} else if (memberName === "style") {
|
|
@@ -2237,6 +2249,18 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
2237
2249
|
var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
|
|
2238
2250
|
var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
2239
2251
|
var parseClassListRegex = /\s/;
|
|
2252
|
+
var getOwnHostClasses = (elm) => {
|
|
2253
|
+
var _a, _b, _c;
|
|
2254
|
+
const hostRef = getHostRef(elm);
|
|
2255
|
+
if (!hostRef || !(hostRef.$flags$ & 2 /* hasRendered */)) {
|
|
2256
|
+
return [];
|
|
2257
|
+
}
|
|
2258
|
+
const ownClasses = parseClassList((_b = (_a = hostRef.$vnode$) == null ? void 0 : _a.$attrs$) == null ? void 0 : _b.class);
|
|
2259
|
+
{
|
|
2260
|
+
ownClasses.push((_c = BUILD.hydratedSelectorName) != null ? _c : "hydrated");
|
|
2261
|
+
}
|
|
2262
|
+
return ownClasses;
|
|
2263
|
+
};
|
|
2240
2264
|
var parseClassList = (value) => {
|
|
2241
2265
|
if (typeof value === "object" && value && "baseVal" in value) {
|
|
2242
2266
|
value = value.baseVal;
|
|
@@ -2531,7 +2555,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
2531
2555
|
if (idxInOld >= 0) {
|
|
2532
2556
|
elmToMove = oldCh[idxInOld];
|
|
2533
2557
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
2534
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2,
|
|
2558
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
2535
2559
|
} else {
|
|
2536
2560
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
2537
2561
|
oldCh[idxInOld] = void 0;
|
|
@@ -3130,6 +3154,19 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3130
3154
|
|
|
3131
3155
|
// src/runtime/proxy-component.ts
|
|
3132
3156
|
var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
|
|
3157
|
+
var replayPendingSetterValues = (hostRef, cmpMeta) => {
|
|
3158
|
+
var _a;
|
|
3159
|
+
const instance = hostRef.$lazyInstance$;
|
|
3160
|
+
if (!instance) return;
|
|
3161
|
+
for (const [memberName, [memberFlags]] of Object.entries((_a = cmpMeta.$members$) != null ? _a : {})) {
|
|
3162
|
+
if (memberFlags & 4096 /* Setter */ && hostRef.$instanceValues$.has(memberName)) {
|
|
3163
|
+
const pendingValue = hostRef.$instanceValues$.get(memberName);
|
|
3164
|
+
if (instance[memberName] !== pendingValue) {
|
|
3165
|
+
instance[memberName] = pendingValue;
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
}
|
|
3169
|
+
};
|
|
3133
3170
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
3134
3171
|
var _a, _b;
|
|
3135
3172
|
const prototype = Cstr.prototype;
|
|
@@ -3159,9 +3196,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3159
3196
|
return getValue(this, memberName);
|
|
3160
3197
|
}
|
|
3161
3198
|
const ref = getHostRef(this);
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
return instance[memberName];
|
|
3199
|
+
if (!ref) return prototype[memberName];
|
|
3200
|
+
return ref.$lazyInstance$ ? ref.$lazyInstance$[memberName] : getValue(this, memberName);
|
|
3165
3201
|
}
|
|
3166
3202
|
},
|
|
3167
3203
|
configurable: true,
|
|
@@ -3191,31 +3227,20 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3191
3227
|
{
|
|
3192
3228
|
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
3193
3229
|
setValue(this, memberName, newValue, cmpMeta);
|
|
3194
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
3195
|
-
ref.$fetchedCbList$.push(() => {
|
|
3196
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
3197
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
3198
|
-
}
|
|
3199
|
-
});
|
|
3200
|
-
}
|
|
3201
3230
|
return;
|
|
3202
3231
|
}
|
|
3203
|
-
const
|
|
3232
|
+
const parsedValue = parsePropertyValue(
|
|
3233
|
+
newValue,
|
|
3234
|
+
memberFlags);
|
|
3235
|
+
if (ref.$lazyInstance$) {
|
|
3204
3236
|
const currentValue = ref.$lazyInstance$[memberName];
|
|
3205
3237
|
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
3206
3238
|
ref.$instanceValues$.set(memberName, currentValue);
|
|
3207
3239
|
}
|
|
3208
|
-
ref.$lazyInstance$[memberName] =
|
|
3209
|
-
newValue,
|
|
3210
|
-
memberFlags);
|
|
3240
|
+
ref.$lazyInstance$[memberName] = parsedValue;
|
|
3211
3241
|
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
3212
|
-
};
|
|
3213
|
-
if (ref.$lazyInstance$) {
|
|
3214
|
-
setterSetVal();
|
|
3215
3242
|
} else {
|
|
3216
|
-
ref.$
|
|
3217
|
-
setterSetVal();
|
|
3218
|
-
});
|
|
3243
|
+
ref.$instanceValues$.set(memberName, parsedValue);
|
|
3219
3244
|
}
|
|
3220
3245
|
}
|
|
3221
3246
|
}
|
|
@@ -3271,7 +3296,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3271
3296
|
}
|
|
3272
3297
|
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
3273
3298
|
if (isBooleanTarget) {
|
|
3274
|
-
newValue = newValue === null || newValue === "false" ? false : true;
|
|
3299
|
+
newValue = newValue === null || newValue === "false" && true ? false : true;
|
|
3275
3300
|
}
|
|
3276
3301
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
3277
3302
|
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
@@ -3344,6 +3369,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3344
3369
|
}
|
|
3345
3370
|
{
|
|
3346
3371
|
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
3372
|
+
replayPendingSetterValues(hostRef, cmpMeta);
|
|
3347
3373
|
}
|
|
3348
3374
|
{
|
|
3349
3375
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
@@ -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-Cqr69qxA.js');
|
|
7
|
+
var index = require('./index-BiQyIvoc.js');
|
|
8
8
|
|
|
9
9
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
10
10
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -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-BiQyIvoc.js');
|
|
7
|
+
var helpers = require('./helpers-Cqr69qxA.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-D85_rHf5.js'); });
|
|
124
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-Ce9X1WXr.js'); });
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
/**
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,25 +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-DcgLg_PI.js');
|
|
7
|
+
var index = require('./index-DUiuw_fH.js');
|
|
8
|
+
var ios_transition = require('./ios.transition-D85_rHf5.js');
|
|
9
|
+
var md_transition = require('./md.transition-Ce9X1WXr.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-48ceLiJ6.js');
|
|
13
|
+
var helpers = require('./helpers-Cqr69qxA.js');
|
|
14
|
+
var index$2 = require('./index-BiQyIvoc.js');
|
|
15
|
+
var index$3 = require('./index-B4ONUQRp.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
|
|
20
|
-
require('./index-DkNv4J_i.js');
|
|
18
|
+
var index$4 = require('./index-BhWiDK25.js');
|
|
19
|
+
var hardwareBackButton = require('./overlays-CLld3axA.js');
|
|
21
20
|
require('./gesture-controller-CeJslptU.js');
|
|
22
21
|
require('./dir-zwDPRE5K.js');
|
|
23
|
-
require('./
|
|
24
|
-
require('./framework-delegate-d-fWfeI6.js');
|
|
22
|
+
require('./framework-delegate-JbKIVMzR.js');
|
|
25
23
|
|
|
26
24
|
const IonicSlides = (opts) => {
|
|
27
25
|
const { swiper, extendParams } = opts;
|
|
@@ -141,15 +139,17 @@ Object.defineProperty(exports, "LogLevel", {
|
|
|
141
139
|
enumerable: true,
|
|
142
140
|
get: function () { return index$2.LogLevel; }
|
|
143
141
|
});
|
|
142
|
+
exports.printIonError = index$2.printIonError;
|
|
143
|
+
exports.printIonWarning = index$2.printIonWarning;
|
|
144
144
|
exports.IonicSafeString = index$3.IonicSafeString;
|
|
145
145
|
exports.getMode = config.getMode;
|
|
146
146
|
exports.setupConfig = config.setupConfig;
|
|
147
147
|
exports.openURL = theme.openURL;
|
|
148
148
|
exports.menuController = index$4.menuController;
|
|
149
|
-
exports.actionSheetController =
|
|
150
|
-
exports.alertController =
|
|
151
|
-
exports.loadingController =
|
|
152
|
-
exports.modalController =
|
|
153
|
-
exports.popoverController =
|
|
154
|
-
exports.toastController =
|
|
149
|
+
exports.actionSheetController = hardwareBackButton.actionSheetController;
|
|
150
|
+
exports.alertController = hardwareBackButton.alertController;
|
|
151
|
+
exports.loadingController = hardwareBackButton.loadingController;
|
|
152
|
+
exports.modalController = hardwareBackButton.modalController;
|
|
153
|
+
exports.popoverController = hardwareBackButton.popoverController;
|
|
154
|
+
exports.toastController = hardwareBackButton.toastController;
|
|
155
155
|
exports.IonicSlides = IonicSlides;
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
var index
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
require('./index-DXoo08JC.js');
|
|
6
|
+
var helpers = require('./helpers-Cqr69qxA.js');
|
|
7
|
+
var index = require('./index-CNaZ6SYM.js');
|
|
8
|
+
var keyboard = require('./keyboard-BlHp4a_c.js');
|
|
9
|
+
require('./index-BiQyIvoc.js');
|
|
11
10
|
require('./dir-zwDPRE5K.js');
|
|
12
|
-
require('./capacitor-
|
|
11
|
+
require('./capacitor-C6Pp4Z7A.js');
|
|
13
12
|
|
|
14
13
|
const cloneMap = new WeakMap();
|
|
15
14
|
const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
|
|
@@ -299,7 +298,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
299
298
|
* the keyboard height again. This will result in the input
|
|
300
299
|
* being scrolled more than it needs to.
|
|
301
300
|
*/
|
|
302
|
-
const platformHeight =
|
|
301
|
+
const platformHeight = helpers.win !== undefined ? helpers.win.innerHeight : 0;
|
|
303
302
|
/**
|
|
304
303
|
* Scroll assist is run when a text field
|
|
305
304
|
* is focused. However, it may need to
|
|
@@ -352,7 +351,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
352
351
|
*/
|
|
353
352
|
const focusOut = () => {
|
|
354
353
|
hasKeyboardBeenPresentedForTextField = false;
|
|
355
|
-
|
|
354
|
+
helpers.win?.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
356
355
|
componentEl.removeEventListener('focusout', focusOut);
|
|
357
356
|
};
|
|
358
357
|
/**
|
|
@@ -372,13 +371,13 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
372
371
|
return;
|
|
373
372
|
}
|
|
374
373
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);
|
|
375
|
-
|
|
374
|
+
helpers.win?.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
376
375
|
componentEl.addEventListener('focusout', focusOut);
|
|
377
376
|
};
|
|
378
377
|
componentEl.addEventListener('focusin', focusIn);
|
|
379
378
|
return () => {
|
|
380
379
|
componentEl.removeEventListener('focusin', focusIn);
|
|
381
|
-
|
|
380
|
+
helpers.win?.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
382
381
|
componentEl.removeEventListener('focusout', focusOut);
|
|
383
382
|
};
|
|
384
383
|
};
|
|
@@ -470,7 +469,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
470
469
|
window.removeEventListener('ionKeyboardDidShow', scrollContent);
|
|
471
470
|
// scroll the input into place
|
|
472
471
|
if (contentEl) {
|
|
473
|
-
await index
|
|
472
|
+
await index.scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);
|
|
474
473
|
}
|
|
475
474
|
// the scroll view is in the correct position now
|
|
476
475
|
// give the native text input focus
|
|
@@ -497,7 +496,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
497
496
|
window.addEventListener('ionKeyboardDidShow', scrollContent);
|
|
498
497
|
};
|
|
499
498
|
if (contentEl) {
|
|
500
|
-
const scrollEl = await index
|
|
499
|
+
const scrollEl = await index.getScrollElement(contentEl);
|
|
501
500
|
/**
|
|
502
501
|
* scrollData will only consider the amount we need
|
|
503
502
|
* to scroll in order to properly bring the input
|
|
@@ -545,7 +544,7 @@ const startInputShims = async (config, platform) => {
|
|
|
545
544
|
* If doc is undefined then we are in an SSR environment
|
|
546
545
|
* where input shims do not apply.
|
|
547
546
|
*/
|
|
548
|
-
if (
|
|
547
|
+
if (helpers.doc === undefined) {
|
|
549
548
|
return;
|
|
550
549
|
}
|
|
551
550
|
const isIOS = platform === 'ios';
|
|
@@ -567,7 +566,7 @@ const startInputShims = async (config, platform) => {
|
|
|
567
566
|
*/
|
|
568
567
|
const inputBlurring = config.getBoolean('inputBlurring', false);
|
|
569
568
|
const scrollPadding = config.getBoolean('scrollPadding', true);
|
|
570
|
-
const inputs = Array.from(
|
|
569
|
+
const inputs = Array.from(helpers.doc.querySelectorAll('ion-input, ion-textarea'));
|
|
571
570
|
const hideCaretMap = new WeakMap();
|
|
572
571
|
const scrollAssistMap = new WeakMap();
|
|
573
572
|
/**
|
|
@@ -583,7 +582,7 @@ const startInputShims = async (config, platform) => {
|
|
|
583
582
|
await new Promise((resolve) => helpers.componentOnReady(componentEl, resolve));
|
|
584
583
|
const inputRoot = componentEl.shadowRoot || componentEl;
|
|
585
584
|
const inputEl = inputRoot.querySelector('input') || inputRoot.querySelector('textarea');
|
|
586
|
-
const scrollEl = index
|
|
585
|
+
const scrollEl = index.findClosestIonContent(componentEl);
|
|
587
586
|
const footerEl = !scrollEl ? componentEl.closest('ion-footer') : null;
|
|
588
587
|
if (!inputEl) {
|
|
589
588
|
return;
|
|
@@ -632,10 +631,10 @@ const startInputShims = async (config, platform) => {
|
|
|
632
631
|
for (const input of inputs) {
|
|
633
632
|
registerInput(input);
|
|
634
633
|
}
|
|
635
|
-
|
|
634
|
+
helpers.doc.addEventListener('ionInputDidLoad', (ev) => {
|
|
636
635
|
registerInput(ev.detail);
|
|
637
636
|
});
|
|
638
|
-
|
|
637
|
+
helpers.doc.addEventListener('ionInputDidUnload', (ev) => {
|
|
639
638
|
unregisterInput(ev.detail);
|
|
640
639
|
});
|
|
641
640
|
};
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-BiQyIvoc.js');
|
|
7
|
+
var helpers = require('./helpers-Cqr69qxA.js');
|
|
8
8
|
var index$1 = require('./index-wOmugbdg.js');
|
|
9
|
-
var ionicGlobal = require('./ionic-global-
|
|
9
|
+
var ionicGlobal = require('./ionic-global-48ceLiJ6.js');
|
|
10
10
|
require('./dir-zwDPRE5K.js');
|
|
11
11
|
|
|
12
12
|
const accordionIosCss = () => `:host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}`;
|