@ionic/core 9.0.9-nightly.20261021 → 9.0.10-dev.11792788258.1f71cfee
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.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-back-button.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.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-footer.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.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-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-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.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-router-outlet.js +1 -1
- package/components/ion-router.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.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-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-textarea.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/{p-GpqwNbxf.js → p-07wRJfkt.js} +1 -1
- package/components/{p-BqyLLYLm.js → p-3avHDbEF.js} +1 -1
- package/components/{p-r59A3wQk.js → p-7NbIvzb4.js} +1 -1
- package/components/p-B3dSuofL.js +4 -0
- package/components/{p-DD92Fw3n.js → p-BBsseItU.js} +1 -1
- package/components/{p-DBtFJlTi.js → p-BT2InaHz.js} +1 -1
- package/components/p-BWbz71uB.js +4 -0
- package/{dist/ionic/p-nCAPr1Ah.js → components/p-BZ1k9WL7.js} +1 -1
- package/components/{p-jsVMT15X.js → p-BrrMFd9K.js} +1 -1
- package/components/{p-C_gnmBt2.js → p-C-SO5kIs.js} +1 -1
- package/components/p-C0TdbIVo.js +4 -0
- package/components/p-C6Y0cCH_.js +4 -0
- package/components/{p-ZrYBjOcc.js → p-C8BAigo3.js} +1 -1
- package/components/p-CCFj0kgH.js +4 -0
- package/components/p-CRb2xRCz.js +4 -0
- package/components/{p-B4IBdPVJ.js → p-CUQjkOdi.js} +1 -1
- package/components/{p-V1THdfzs.js → p-D5_mEbGJ.js} +1 -1
- package/components/{p-B02CcbPD.js → p-D8FyR2IB.js} +1 -1
- package/components/p-DLEJ61lJ.js +4 -0
- package/components/p-DRm4t-by.js +4 -0
- package/components/{p-ODGeXc3M.js → p-DTGCMApY.js} +1 -1
- package/components/p-D_U0pDe5.js +4 -0
- package/components/p-DaW9OZ6S.js +4 -0
- package/components/{p-CKiqp4Vl.js → p-Dah8BCNg.js} +1 -1
- package/components/p-DaojW_d_.js +4 -0
- package/components/{p-Dojwmvde.js → p-Dj4J3LkD.js} +1 -1
- package/components/{p-CxEV3Vwy.js → p-DnBabjgY.js} +1 -1
- package/components/p-Ds5vN3iu.js +4 -0
- package/components/{p-CKTjkpAq.js → p-DwTzX8Vi.js} +1 -1
- package/components/{p-yGD6MBgf.js → p-Dy7x-KDF.js} +1 -1
- package/components/{p-DfDIY2oP.js → p-LkEGRiq0.js} +1 -1
- package/components/{p--cshUOAU.js → p-PkD1iLNN.js} +1 -1
- package/components/p-RhI78AKb.js +4 -0
- package/components/{p-DDI6VLW9.js → p-kKGBuIkf.js} +1 -1
- package/components/p-z-EWo6r-.js +4 -0
- package/dist/cjs/{animation-DcgLg_PI.js → animation-UiXhXV49.js} +1 -1
- package/dist/cjs/{attribute-controller-BjTE2TOf.js → attribute-controller-0-lwbVEj.js} +1 -1
- package/dist/cjs/{button-active-FdsfRDY_.js → button-active-DzN1aPt-.js} +1 -1
- package/dist/cjs/{capacitor-C6Pp4Z7A.js → capacitor-BTjfXFlK.js} +1 -1
- package/dist/cjs/{dir-zwDPRE5K.js → dir-Bma_9Lqh.js} +1 -1
- package/dist/cjs/{framework-delegate-JbKIVMzR.js → framework-delegate-hNMKEiQC.js} +1 -1
- package/dist/cjs/{haptic--4QteuuM.js → haptic-BD5qPgy8.js} +1 -1
- package/dist/cjs/{helpers-Cqr69qxA.js → helpers-BrETKUUX.js} +2 -3
- package/dist/cjs/{index-BhWiDK25.js → index-BTc0Jnhx.js} +3 -3
- package/dist/cjs/{index-CNaZ6SYM.js → index-DMz2Eyis.js} +1 -1
- package/dist/cjs/{index-DCfr5hz-.js → index-DNBYnlrc.js} +3 -3
- package/dist/cjs/{index-BQpSekmz.js → index-bwclzjks.js} +2 -2
- package/dist/cjs/index.cjs.js +9 -9
- package/dist/cjs/{input-shims-2AsXPZ5m.js → input-shims-CRmdShL9.js} +8 -9
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +19 -19
- package/dist/cjs/ion-app_8.cjs.entry.js +18 -18
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +14 -12
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime.cjs.entry.js +8 -9
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-item_8.cjs.entry.js +10 -10
- package/dist/cjs/ion-loading.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +31 -13
- package/dist/cjs/ion-modal.cjs.entry.js +10 -10
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +28 -14
- package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -5
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +5 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -4
- package/dist/cjs/{ios.transition-Ca6XODo9.js → ios.transition-CN092Fh6.js} +15 -15
- package/dist/cjs/{keyboard-c2_I35b-.js → keyboard-4OBzkjOG.js} +4 -4
- package/dist/cjs/{keyboard-BlHp4a_c.js → keyboard-BMpscicm.js} +1 -1
- package/dist/cjs/{keyboard-controller-DHS0BgXp.js → keyboard-controller-DZE97OtR.js} +2 -2
- package/dist/cjs/{md.transition-D8SfNYEp.js → md.transition-B6961Ny9.js} +4 -4
- package/dist/cjs/{overlays-CLld3axA.js → overlays-BbVQG3UT.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-B2OfJEBH.js → slot-mutation-controller-CRa_cKOh.js} +2 -2
- package/dist/cjs/{status-tap-CDA0Y3Ad.js → status-tap-hRIvObiJ.js} +3 -3
- package/dist/cjs/{swipe-back-Idb4gqUk.js → swipe-back-C-aigThB.js} +2 -2
- package/dist/collection/components/alert/alert.js +11 -11
- package/dist/collection/components/col/col.js +14 -12
- package/dist/collection/components/datetime/datetime.js +4 -5
- package/dist/collection/components/item/item.js +5 -4
- package/dist/collection/components/item-options/item-options.js +2 -2
- package/dist/collection/components/item-sliding/item-sliding.js +5 -4
- package/dist/collection/components/label/label.js +4 -3
- package/dist/collection/components/menu/menu.js +25 -8
- package/dist/collection/components/popover/animations/ios.enter.js +4 -3
- package/dist/collection/components/popover/animations/md.enter.js +4 -3
- package/dist/collection/components/popover/popover.js +17 -2
- package/dist/collection/components/progress-bar/progress-bar.js +5 -3
- package/dist/collection/components/title/title.js +4 -3
- package/dist/collection/utils/helpers.js +1 -2
- package/dist/collection/utils/input-shims/hacks/common.js +4 -4
- package/dist/collection/utils/rtl/dir.js +1 -1
- package/dist/collection/utils/transition/ios.transition.js +12 -11
- package/dist/docs.json +1 -1
- package/dist/esm/{animation-DmtJpz89.js → animation-C_V9lXzL.js} +1 -1
- package/dist/esm/{attribute-controller-DPMIcbef.js → attribute-controller-ItNOXNp9.js} +1 -1
- package/dist/esm/{button-active-DVk40Sjl.js → button-active-rB-Ct9KZ.js} +1 -1
- package/dist/esm/{capacitor-CHJaJ9aX.js → capacitor-BY7l8HgR.js} +1 -1
- package/dist/esm/{dir-Dojwmvde.js → dir-Dj4J3LkD.js} +1 -1
- package/dist/esm/{framework-delegate-CDjM1vRH.js → framework-delegate-CW5_kWfc.js} +1 -1
- package/dist/esm/{haptic-WXfMCob9.js → haptic-ES_sSPLn.js} +1 -1
- package/dist/esm/{helpers-BJqKF1pr.js → helpers-p94IkmEA.js} +2 -3
- package/dist/esm/{index-TkLga3ma.js → index-CBkVO5D0.js} +1 -1
- package/dist/esm/{index-Clv8QC5L.js → index-DLDbwWW7.js} +2 -2
- package/dist/esm/{index-DIouXecD.js → index-txcXIB3P.js} +3 -3
- package/dist/esm/{index-z9vdZN7I.js → index-vgPixHgF.js} +3 -3
- package/dist/esm/index.js +9 -9
- package/dist/esm/{input-shims-C1iYF5JK.js → input-shims-KNXj3DAv.js} +8 -9
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +19 -19
- package/dist/esm/ion-app_8.entry.js +18 -18
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +15 -13
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime.entry.js +8 -9
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +3 -3
- package/dist/esm/ion-item-option_3.entry.js +9 -9
- package/dist/esm/ion-item_8.entry.js +10 -10
- package/dist/esm/ion-loading.entry.js +5 -5
- package/dist/esm/ion-menu_3.entry.js +32 -14
- package/dist/esm/ion-modal.entry.js +10 -10
- package/dist/esm/ion-nav_2.entry.js +5 -5
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +4 -4
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +28 -14
- package/dist/esm/ion-progress-bar.entry.js +7 -6
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +6 -6
- package/dist/esm/ion-reorder_2.entry.js +5 -5
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select-modal.entry.js +4 -4
- package/dist/esm/ion-select_3.entry.js +5 -5
- package/dist/esm/ion-tab-bar_2.entry.js +5 -5
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +5 -5
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/{ios.transition-BkUGiDUz.js → ios.transition-CW92wRDL.js} +15 -15
- package/dist/esm/{keyboard-B4Y-Gph8.js → keyboard-BumguZrM.js} +4 -4
- package/dist/esm/{keyboard-Cmqp5iZD.js → keyboard-CutS8BPd.js} +1 -1
- package/dist/esm/{keyboard-controller-B2NoF7bV.js → keyboard-controller-DqohyEsZ.js} +2 -2
- package/dist/esm/{md.transition-B6hlrWjR.js → md.transition-yhfkYX1P.js} +4 -4
- package/dist/esm/{overlays-DmDY-El7.js → overlays-BBgMM61s.js} +2 -2
- package/dist/esm/{slot-mutation-controller-Btpr9-9O.js → slot-mutation-controller-uKdPbY9K.js} +2 -2
- package/dist/esm/{status-tap-VGRBYwiC.js → status-tap-BskkGI4e.js} +3 -3
- package/dist/esm/{swipe-back-DV3UpWzz.js → swipe-back-BZdyM2Q-.js} +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-01b7e3f2.entry.js → p-013b9aba.entry.js} +1 -1
- package/dist/ionic/{p-9ffccbf1.entry.js → p-014c3633.entry.js} +1 -1
- package/dist/ionic/{p-4bd80334.entry.js → p-0562139b.entry.js} +1 -1
- package/dist/ionic/{p-52a16f94.entry.js → p-0f1613f2.entry.js} +1 -1
- package/dist/ionic/{p-e7ab4def.entry.js → p-1252621e.entry.js} +1 -1
- package/dist/ionic/p-129f7b95.entry.js +4 -0
- package/dist/ionic/{p-4f25b926.entry.js → p-16de8fd9.entry.js} +1 -1
- package/dist/ionic/{p-d0e374f8.entry.js → p-1bb1be7e.entry.js} +1 -1
- package/dist/ionic/{p-62c87f3d.entry.js → p-1f342c2d.entry.js} +1 -1
- package/dist/ionic/{p-362dcd86.entry.js → p-1ffa5577.entry.js} +1 -1
- package/dist/ionic/p-210f906e.entry.js +4 -0
- package/dist/ionic/{p-293cb1d5.entry.js → p-27960f65.entry.js} +1 -1
- package/dist/ionic/p-3c6fc2e8.entry.js +4 -0
- package/dist/ionic/{p-5bb24bce.entry.js → p-436d4ac8.entry.js} +1 -1
- package/dist/ionic/p-43729675.entry.js +4 -0
- package/dist/ionic/p-4468e439.entry.js +4 -0
- package/dist/ionic/{p-8db08782.entry.js → p-51af4728.entry.js} +1 -1
- package/dist/ionic/{p-ec259ac5.entry.js → p-59e4b521.entry.js} +1 -1
- package/dist/ionic/{p-BY4FwwBp.js → p-5a3UxQAh.js} +1 -1
- package/dist/ionic/{p-0c32c626.entry.js → p-5b47b8d5.entry.js} +1 -1
- package/dist/ionic/{p-e8e69c21.entry.js → p-5dcddfd5.entry.js} +1 -1
- package/dist/ionic/{p-7e9c2a97.entry.js → p-694f3e78.entry.js} +1 -1
- package/dist/ionic/{p-82abf431.entry.js → p-77540bcb.entry.js} +1 -1
- package/dist/ionic/{p-c250b6b0.entry.js → p-77e7b612.entry.js} +1 -1
- package/dist/ionic/{p-64ac3864.entry.js → p-7868eb92.entry.js} +1 -1
- package/dist/ionic/{p-af11d3c6.entry.js → p-800ce1e0.entry.js} +1 -1
- package/dist/ionic/{p-539d6c8e.entry.js → p-84470714.entry.js} +1 -1
- package/dist/ionic/{p-8d651adb.entry.js → p-87fb6d59.entry.js} +1 -1
- package/dist/ionic/{p-BpED_ep_.js → p-8B39TMv-.js} +1 -1
- package/dist/ionic/p-8af85fa8.entry.js +4 -0
- package/dist/ionic/p-8dQB1sG_.js +4 -0
- package/dist/ionic/p-9515f840.entry.js +4 -0
- package/dist/ionic/{p-eb989dc9.entry.js → p-96d040b0.entry.js} +1 -1
- package/dist/ionic/{p-60780b88.entry.js → p-9d7e5a0b.entry.js} +1 -1
- package/dist/ionic/{p-DXXGkPA8.js → p-B0afqOUt.js} +1 -1
- package/{components/p-Ba9_OzSY.js → dist/ionic/p-B2JD8_LP.js} +1 -1
- package/dist/ionic/p-B2y1T0dN.js +4 -0
- package/dist/ionic/{p-DPNVo1nr.js → p-BBZQUbCq.js} +1 -1
- package/dist/ionic/p-BHBb21Hp.js +4 -0
- package/dist/ionic/{p-CXs4J83x.js → p-BWKtcudz.js} +1 -1
- package/dist/ionic/p-BgkRGRO3.js +4 -0
- package/dist/ionic/{p-C1WYZOZj.js → p-C4SpVvhx.js} +1 -1
- package/dist/ionic/{p-Dk4Mdaru.js → p-CJmyfI8x.js} +1 -1
- package/dist/ionic/p-CNdt1FPc.js +4 -0
- package/dist/ionic/p-Cf6KtUnA.js +4 -0
- package/dist/ionic/p-CfccUand.js +4 -0
- package/dist/ionic/{p-D13gXhdC.js → p-DArnNWiu.js} +1 -1
- package/dist/ionic/p-DBFcFCH5.js +4 -0
- package/dist/ionic/p-DCmOKz8e.js +4 -0
- package/dist/ionic/p-DFPZa_No.js +4 -0
- package/dist/ionic/p-DYKDWM2f.js +4 -0
- package/dist/ionic/{p-Dojwmvde.js → p-Dj4J3LkD.js} +1 -1
- package/dist/ionic/p-DzQk7Lu8.js +4 -0
- package/dist/ionic/{p-7db20410.entry.js → p-a45caa30.entry.js} +1 -1
- package/dist/ionic/{p-91f3cd8b.entry.js → p-af15fc5d.entry.js} +1 -1
- package/dist/ionic/{p-d2406889.entry.js → p-af4b4719.entry.js} +1 -1
- package/dist/ionic/{p-107a81a6.entry.js → p-b0faaae2.entry.js} +1 -1
- package/dist/ionic/p-c56c23b6.entry.js +4 -0
- package/dist/ionic/{p-930c3538.entry.js → p-c7ea2647.entry.js} +1 -1
- package/dist/ionic/p-c8c77f7b.entry.js +4 -0
- package/dist/ionic/{p-d72accc4.entry.js → p-cbc73380.entry.js} +1 -1
- package/dist/ionic/p-d58e9da3.entry.js +4 -0
- package/dist/ionic/{p-0b09c60e.entry.js → p-ec08a7e6.entry.js} +1 -1
- package/dist/ionic/{p-67f004eb.entry.js → p-f37e6ed2.entry.js} +1 -1
- package/dist/ionic/{p-b9ed3a52.entry.js → p-f6a1ab48.entry.js} +1 -1
- package/dist/types/components/alert/alert.d.ts +4 -0
- package/dist/types/components/col/col.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +7 -0
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +1 -0
- package/dist/types/utils/helpers.d.ts +2 -3
- package/dist/types/utils/rtl/dir.d.ts +1 -1
- package/hydrate/index.js +108 -76
- package/hydrate/index.mjs +108 -76
- package/package.json +1 -1
- package/components/p-BODcC-C0.js +0 -4
- package/components/p-BVNUhOOf.js +0 -4
- package/components/p-Bd8hg9FK.js +0 -4
- package/components/p-C1AxSUnp.js +0 -4
- package/components/p-CONpe3oX.js +0 -4
- package/components/p-CVrOcN5N.js +0 -4
- package/components/p-CYctYy9B.js +0 -4
- package/components/p-Cyajikho.js +0 -4
- package/components/p-D0nwlsl_.js +0 -4
- package/components/p-Drpw2dyl.js +0 -4
- package/components/p-IQN1T5zw.js +0 -4
- package/components/p-SHHIB5F0.js +0 -4
- package/components/p-YNnH1_Hs.js +0 -4
- package/components/p-_y7kwBO8.js +0 -4
- package/dist/ionic/p-0f97175e.entry.js +0 -4
- package/dist/ionic/p-6c7b5930.entry.js +0 -4
- package/dist/ionic/p-7ce9c6f8.entry.js +0 -4
- package/dist/ionic/p-7l6ENjIV.js +0 -4
- package/dist/ionic/p-8d2ccf0c.entry.js +0 -4
- package/dist/ionic/p-94f1f7df.entry.js +0 -4
- package/dist/ionic/p-BNXIurCt.js +0 -4
- package/dist/ionic/p-BOLqP2-V.js +0 -4
- package/dist/ionic/p-BZTgGzGK.js +0 -4
- package/dist/ionic/p-BdHBcCZF.js +0 -4
- package/dist/ionic/p-BuLlVedw.js +0 -4
- package/dist/ionic/p-Bx5x5GJV.js +0 -4
- package/dist/ionic/p-C2LaBx3E.js +0 -4
- package/dist/ionic/p-CgcGX08t.js +0 -4
- package/dist/ionic/p-CngfKMRU.js +0 -4
- package/dist/ionic/p-Co7eql8D.js +0 -4
- package/dist/ionic/p-D926OmIX.js +0 -4
- package/dist/ionic/p-a4389f13.entry.js +0 -4
- package/dist/ionic/p-af8fb360.entry.js +0 -4
- package/dist/ionic/p-bfdbe24b.entry.js +0 -4
- package/dist/ionic/p-c83dbc12.entry.js +0 -4
- package/dist/ionic/p-f2116a54.entry.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{d as o,H as t,i as n,p as r,h as i,f as e,t as a,j as d}from"./p-Ct2aBEue.js";import{a as s}from"./p-Cyajikho.js";import{h as l}from"./p-B4IBdPVJ.js";import{o as c,c as b,h}from"./p-byZM6qHV.js";import{b as u}from"./p-HthJZjZ6.js";import{d as p}from"./p-7KepMw9O.js";const g=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ionFocus=n(this,"ionFocus",7),this.ionBlur=n(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.isCircle=!1,this.buttonType="button",this.disabled=!1,this.routerDirection="forward",this.strong=!1,this.type="button",this.handleClick=o=>{const{el:t}=this;"button"===this.type?c(this.href,o,this.routerDirection,this.routerAnimation):l(t)&&this.submitForm(o)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.slotChanged=()=>{this.isCircle=this.hasIconOnly}}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return t.disabled=this.disabled,void(t.type=this.type);const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.ariaController=s(this.el,(()=>d(this)),["aria-disabled","role"])}connectedCallback(){this.ariaController?.init()}disconnectedCallback(){this.ariaController?.destroy()}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:(r(`[ion-button] - Form with selector: "#${o}" could not be found. Verify that the id is attached to a <form> element.`,this.el),null):(r(`[ion-button] - Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?(r('[ion-button] - The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=u(this),{buttonType:t,type:n,disabled:r,rel:a,target:d,size:s,href:l,color:c,expand:p,hasIconOnly:g,shape:m,strong:v}=this,f=this.ariaController?.attributes??{},x=void 0===s&&this.inItem?"small":s,k=void 0===l?"button":"a",y="button"===k?{type:n}:{download:this.download,href:l,rel:a,target:d};let w=this.fill;return void 0===w&&(w=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),i(e,{key:"fd42d1a5836c148cddd6c474c130ce4bb36286ea",onClick:this.handleClick,"aria-disabled":r?"true":null,class:b(c,{[o]:!0,[t]:!0,[`${t}-${p}`]:void 0!==p,[`${t}-${x}`]:void 0!==x,[`${t}-${m}`]:void 0!==m,[`${t}-${w}`]:!0,[`${t}-strong`]:v,"in-toolbar":h("ion-toolbar",this.el),"in-toolbar-color":h("ion-toolbar[color]",this.el),"in-buttons":h("ion-buttons",this.el),"button-has-icon-only":g,"button-disabled":r,"ion-activatable":!0,"ion-focusable":!0})},i(k,{key:"97dbf689ea912aed38182dbe0097a2bf5b768816",...y,class:"button-native",part:"native",disabled:r,onFocus:this.onFocus,onBlur:this.onBlur,...f},i("span",{key:"0f1ff4c667e95a8e3dc787fee43fe529b95477b7",class:"button-inner"},i("slot",{key:"fc1e8b8080d02828c392e9edd6a70e0255435f82",name:"icon-only",onSlotchange:this.slotChanged}),i("slot",{key:"c1ece4c0d935f4d023d38fee4cf529dd4123d487",name:"start"}),i("slot",{key:"970db0ee1e3633bc9cbff52eca446e4891ff6851"}),i("slot",{key:"ef8d7d894f01dbe881f381b985620c2a482e55fe",name:"end"})),"md"===o&&i("ion-ripple-effect",{key:"fea5e49a54b0efd07b1bd35d9fd5d2d862a2bac1",type:this.rippleType})))}get el(){return this}static get watchers(){return{disabled:[{disabledChanged:0}]}}static get style(){return{ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #0054e9);--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.125em, 60px);min-height:clamp(30px, 2.125em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 1.125em, 43.02px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(12.1394px, 1.308125em, 40.1856px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 0.9em, 43.056px)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1), background-color 15ms linear, color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-strong){font-weight:bold}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.86em, 60px);min-height:clamp(30px, 2.86em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.104px, 1.6em, 43.008px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(13.002px, 1.23125em, 40.385px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.008px, 1.4em, 43.008px)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-background, var(--color));color:var(--ion-toolbar-color, var(--background), var(--ion-color-primary-contrast, #fff))}'}}},[289,"ion-button",{color:[513],buttonType:[1025,"button-type"],disabled:[516],expand:[513],fill:[1537],routerDirection:[1,"router-direction"],routerAnimation:[16],download:[1],href:[1],rel:[1],shape:[513],size:[513],strong:[4],target:[1],type:[1],form:[1],isCircle:[32]},void 0,{disabled:[{disabledChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["ion-button","ion-ripple-effect"].forEach((o=>{switch(o){case"ion-button":customElements.get(a(o))||customElements.define(a(o),g);break;case"ion-ripple-effect":customElements.get(a(o))||p()}}))}export{g as B,m as d}
|
|
4
|
+
import{d as o,H as t,i as n,p as r,h as i,f as e,t as a,j as d}from"./p-Ct2aBEue.js";import{a as s}from"./p-CCFj0kgH.js";import{h as l}from"./p-CUQjkOdi.js";import{o as c,c as b,h}from"./p-byZM6qHV.js";import{b as u}from"./p-HthJZjZ6.js";import{d as p}from"./p-7KepMw9O.js";const g=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ionFocus=n(this,"ionFocus",7),this.ionBlur=n(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.isCircle=!1,this.buttonType="button",this.disabled=!1,this.routerDirection="forward",this.strong=!1,this.type="button",this.handleClick=o=>{const{el:t}=this;"button"===this.type?c(this.href,o,this.routerDirection,this.routerAnimation):l(t)&&this.submitForm(o)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.slotChanged=()=>{this.isCircle=this.hasIconOnly}}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return t.disabled=this.disabled,void(t.type=this.type);const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.ariaController=s(this.el,(()=>d(this)),["aria-disabled","role"])}connectedCallback(){this.ariaController?.init()}disconnectedCallback(){this.ariaController?.destroy()}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:(r(`[ion-button] - Form with selector: "#${o}" could not be found. Verify that the id is attached to a <form> element.`,this.el),null):(r(`[ion-button] - Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?(r('[ion-button] - The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=u(this),{buttonType:t,type:n,disabled:r,rel:a,target:d,size:s,href:l,color:c,expand:p,hasIconOnly:g,shape:m,strong:v}=this,f=this.ariaController?.attributes??{},x=void 0===s&&this.inItem?"small":s,k=void 0===l?"button":"a",y="button"===k?{type:n}:{download:this.download,href:l,rel:a,target:d};let w=this.fill;return void 0===w&&(w=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),i(e,{key:"fd42d1a5836c148cddd6c474c130ce4bb36286ea",onClick:this.handleClick,"aria-disabled":r?"true":null,class:b(c,{[o]:!0,[t]:!0,[`${t}-${p}`]:void 0!==p,[`${t}-${x}`]:void 0!==x,[`${t}-${m}`]:void 0!==m,[`${t}-${w}`]:!0,[`${t}-strong`]:v,"in-toolbar":h("ion-toolbar",this.el),"in-toolbar-color":h("ion-toolbar[color]",this.el),"in-buttons":h("ion-buttons",this.el),"button-has-icon-only":g,"button-disabled":r,"ion-activatable":!0,"ion-focusable":!0})},i(k,{key:"97dbf689ea912aed38182dbe0097a2bf5b768816",...y,class:"button-native",part:"native",disabled:r,onFocus:this.onFocus,onBlur:this.onBlur,...f},i("span",{key:"0f1ff4c667e95a8e3dc787fee43fe529b95477b7",class:"button-inner"},i("slot",{key:"fc1e8b8080d02828c392e9edd6a70e0255435f82",name:"icon-only",onSlotchange:this.slotChanged}),i("slot",{key:"c1ece4c0d935f4d023d38fee4cf529dd4123d487",name:"start"}),i("slot",{key:"970db0ee1e3633bc9cbff52eca446e4891ff6851"}),i("slot",{key:"ef8d7d894f01dbe881f381b985620c2a482e55fe",name:"end"})),"md"===o&&i("ion-ripple-effect",{key:"fea5e49a54b0efd07b1bd35d9fd5d2d862a2bac1",type:this.rippleType})))}get el(){return this}static get watchers(){return{disabled:[{disabledChanged:0}]}}static get style(){return{ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #0054e9);--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.125em, 60px);min-height:clamp(30px, 2.125em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 1.125em, 43.02px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(12.1394px, 1.308125em, 40.1856px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 0.9em, 43.056px)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1), background-color 15ms linear, color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-strong){font-weight:bold}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.86em, 60px);min-height:clamp(30px, 2.86em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.104px, 1.6em, 43.008px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(13.002px, 1.23125em, 40.385px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.008px, 1.4em, 43.008px)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-background, var(--color));color:var(--ion-toolbar-color, var(--background), var(--ion-color-primary-contrast, #fff))}'}}},[289,"ion-button",{color:[513],buttonType:[1025,"button-type"],disabled:[516],expand:[513],fill:[1537],routerDirection:[1,"router-direction"],routerAnimation:[16],download:[1],href:[1],rel:[1],shape:[513],size:[513],strong:[4],target:[1],type:[1],form:[1],isCircle:[32]},void 0,{disabled:[{disabledChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["ion-button","ion-ripple-effect"].forEach((o=>{switch(o){case"ion-button":customElements.get(a(o))||customElements.define(a(o),g);break;case"ion-ripple-effect":customElements.get(a(o))||p()}}))}export{g as B,m as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as t,H as e,i as o,p as r,h as i,f as s,t as n}from"./p-Ct2aBEue.js";import{B as a,h as p,r as c,j as d,k as h,e as l,o as v,f,g,F as m}from"./p-D8FyR2IB.js";import{C as x,a as b,d as u}from"./p-BZ1k9WL7.js";import{g as w,r as k,a as y,l as P}from"./p-CUQjkOdi.js";import{c as D}from"./p-B-hirT0v.js";import{b as T,a as A}from"./p-HthJZjZ6.js";import{i as $}from"./p-Dj4J3LkD.js";import{g as C}from"./p-byZM6qHV.js";import{e as I,w as L}from"./p-LkEGRiq0.js";import{c as W}from"./p-ChsJlFCQ.js";import{d as O}from"./p-CW84OFQa.js";let E=null,N=!1;const j=t=>{if(null!==E)return E;if(null===t.body)return{top:0,bottom:0,left:0,right:0};const e=t.createElement("div");e.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);padding-bottom:var(--ion-safe-area-bottom,0px);padding-left:var(--ion-safe-area-left,0px);padding-right:var(--ion-safe-area-right,0px);",t.body.appendChild(e);const o=getComputedStyle(e),r={top:parseFloat(o.paddingTop)||0,bottom:parseFloat(o.paddingBottom)||0,left:parseFloat(o.paddingLeft)||0,right:parseFloat(o.paddingRight)||0};return e.remove(),E=r,N||(N=!0,k((()=>{E=null,N=!1}))),r},z=t=>{if(!t)return 1;const e=t.currentCSSZoom;if("number"==typeof e&&e>0)return e;const{width:o}=t.getBoundingClientRect(),{offsetWidth:r}=t;if(r>0&&o>0){const t=o/r;return Math.abs(t-1)<.01?1:t}return 1},S=(t,e,o,r=1)=>{const i=e.getBoundingClientRect(),s=i.height/r;let n=i.width/r;return"cover"===t&&o&&(n=o.getBoundingClientRect().width/r),{contentWidth:n,contentHeight:s}},B=(t,e)=>e&&"ION-ITEM"===e.tagName?t.findIndex((t=>t===e)):-1,X=t=>{const e=w(t).querySelector("button");e&&k((()=>e.focus()))},Y=(t,e,o,r,i,s,n,a,p,c,d,h=1)=>{let l={top:0,left:0,width:0,height:0};if("event"===s){if(!d)return p;l={top:d.clientY/h,left:d.clientX/h,width:1,height:1}}else{const t=d,e=c||t?.detail?.ionShadowTarget||t?.target;if(!e)return p;const o=e.getBoundingClientRect();l={top:o.top/h,left:o.left/h,width:o.width/h,height:o.height/h}}const v=V(n,l,e,o,r,i,t),f=Z(a,n,l,e,o),g=v.top+f.top,m=v.left+f.left,{arrowTop:x,arrowLeft:b}=R(n,r,i,g,m,e,o,t),{originX:u,originY:w}=M(n,a,t);return{top:g,left:m,referenceCoordinates:l,arrowTop:x,arrowLeft:b,originX:u,originY:w}},M=(t,e,o)=>{switch(t){case"top":return{originX:F(e),originY:"bottom"};case"bottom":return{originX:F(e),originY:"top"};case"left":return{originX:"right",originY:H(e)};case"right":return{originX:"left",originY:H(e)};case"start":return{originX:o?"left":"right",originY:H(e)};case"end":return{originX:o?"right":"left",originY:H(e)}}},F=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},H=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},R=(t,e,o,r,i,s,n,a)=>{const p={arrowTop:r+n/2-e/2,arrowLeft:i+s-e/2},c={arrowTop:r+n/2-e/2,arrowLeft:i-1.5*e};switch(t){case"top":return{arrowTop:r+n,arrowLeft:i+s/2-e/2};case"bottom":return{arrowTop:r-o,arrowLeft:i+s/2-e/2};case"left":return p;case"right":return c;case"start":return a?c:p;case"end":return a?p:c;default:return{arrowTop:0,arrowLeft:0}}},V=(t,e,o,r,i,s,n)=>{const a={top:e.top,left:e.left-o-i},p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-r-s,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+s,left:e.left};case"left":return a;case"start":return n?p:a;case"end":return n?a:p}},Z=(t,e,o,r,i)=>{switch(t){case"center":return Q(e,o,r,i);case"end":return J(e,o,r,i);default:return{top:0,left:0}}},J=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-e.height),left:0};default:return{top:0,left:-(o-e.width)}}},Q=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-e.height/2),left:0};default:return{top:0,left:-(o/2-e.width/2)}}},q=(t,e,o,r,i,s,n,a,p,c,d,h,l=0,v=0,f=0)=>{let g,m=l,x=o,b=e,u=c,w=d,k=!1,y=!1,P=!1,D=!1;const T=h?h.top+h.height:s/2-a/2,A=h?h.height:0;let $=!1;if(x<r+p.left?(x=r,k=!0,u="left"):n+r+x+p.right>i&&(y=!0,x=i-n-r,u="right"),T+A+a>s-p.bottom&&("top"===t||"bottom"===t)){const t=T-a-A-(f-1);t>=p.top+r?(b=t,m=b+a,w="bottom",$=!0):(g=r,D=!0,b>=s-p.bottom-r&&(b=p.top+r,P=!0))}return{top:b,left:x,bottom:g,originX:u,originY:w,checkSafeAreaLeft:k,checkSafeAreaRight:y,checkSafeAreaTop:P,checkSafeAreaBottom:D,arrowTop:m,arrowLeft:v,addPopoverBottomClass:$,hideArrow:!1}},K=(t,e)=>{const{event:o,size:r,trigger:i,reference:s,side:n,align:a}=e,p=t.ownerDocument,c=$(t),d=w(t),h=d.querySelector(".popover-content"),l=d.querySelector(".popover-arrow"),v=z(h),f=p.defaultView.innerWidth/v,g=p.defaultView.innerHeight/v,m=i||o?.detail?.ionShadowTarget||o?.target,{contentWidth:x,contentHeight:b}=S(r,h,m,v),{arrowWidth:u,arrowHeight:k}=((t,e=1)=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:o,height:r}=t.getBoundingClientRect();return{arrowWidth:o/e,arrowHeight:r/e}})(l,v),y=Y(c,x,b,u,k,s,n,a,{top:g/2-b/2,left:f/2-x/2,originX:c?"right":"left",originY:"top"},i,o,v),P="cover"===r?0:5,D=j(p),T="cover"===r?{top:0,bottom:0,left:0,right:0}:{top:Math.max(D.top,25),bottom:Math.max(D.bottom,25),left:Math.max(D.left,25),right:Math.max(D.right,25)},{originX:A,originY:C,top:I,left:L,bottom:O,checkSafeAreaLeft:E,checkSafeAreaRight:N,checkSafeAreaTop:B,checkSafeAreaBottom:X,arrowTop:M,arrowLeft:F,addPopoverBottomClass:H}=q(n,y.top,y.left,P,f,g,x,b,T,y.originX,y.originY,y.referenceCoordinates,y.arrowTop,y.arrowLeft,k),R=W(),V=W(),Z=W();return V.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),Z.addElement(d.querySelector(".popover-arrow")).addElement(d.querySelector(".popover-content")).fromTo("opacity",.01,1),R.easing("ease").duration(100).beforeAddWrite((()=>{if("cover"===r&&t.style.setProperty("--width",`${x}px`),H&&t.classList.add("popover-bottom"),void 0!==O){let t=`${O}px`;X&&(t=`${O}px + var(--ion-safe-area-bottom, 0px)`),h.style.setProperty("bottom",`calc(${t})`)}let e=`${L}px`;E&&(e=`${L}px + var(--ion-safe-area-left, 0px)`),N&&(e=`${L}px - var(--ion-safe-area-right, 0px)`);let s=`${I}px`;if(B&&(s=`${I}px + var(--ion-safe-area-top, 0px)`),h.style.setProperty("top",`calc(${s} + var(--offset-y, 0))`),h.style.setProperty("left",`calc(${e} + var(--offset-x, 0))`),h.style.setProperty("transform-origin",`${C} ${A}`),null!==l){const t=((t,e=!1,o,r)=>!(!o&&!r||"top"!==t&&"bottom"!==t&&e))(n,y.top!==I||y.left!==L,o,i);t?(l.style.setProperty("top",`calc(${M}px + var(--offset-y, 0))`),l.style.setProperty("left",`calc(${F}px + var(--offset-x, 0))`)):l.style.setProperty("display","none")}})).addAnimation([V,Z])},U=t=>{const e=w(t),o=e.querySelector(".popover-content"),r=e.querySelector(".popover-arrow"),i=W(),s=W(),n=W();return s.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),r&&(r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("display"))})).duration(300).addAnimation([s,n])},G=(t,e)=>{const{event:o,size:r,trigger:i,reference:s,side:n,align:a}=e,p=t.ownerDocument,c=$(t),d=w(t),h=d.querySelector(".popover-content"),l=z(h),v=p.defaultView.innerWidth/l,f=p.defaultView.innerHeight/l,g=i||o?.detail?.ionShadowTarget||o?.target,{contentWidth:m,contentHeight:x}=S(r,h,g,l),b=Y(c,m,x,0,0,s,n,a,{top:f/2-x/2,left:v/2-m/2,originX:c?"right":"left",originY:"top"},i,o,l),u="cover"===r?0:12,k="cover"===r?{top:0,bottom:0,left:0,right:0}:j(p),{originX:y,originY:P,top:D,left:T,bottom:A,checkSafeAreaLeft:C,checkSafeAreaRight:I,checkSafeAreaTop:L,checkSafeAreaBottom:O,addPopoverBottomClass:E}=q(n,b.top,b.left,u,v,f,m,x,k,b.originX,b.originY,b.referenceCoordinates);let N=`${T}px`;C&&(N=`${T}px + var(--ion-safe-area-left, 0px)`),I&&(N=`${T}px - var(--ion-safe-area-right, 0px)`);let B=`${D}px`;L&&(B=`${D}px + var(--ion-safe-area-top, 0px)`);const X=W(),M=W(),F=W(),H=W(),R=W();return M.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),F.addElement(d.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),H.addElement(h).beforeStyles({top:`calc(${B} + var(--offset-y, 0px))`,left:`calc(${N} + var(--offset-x, 0px))`,"transform-origin":`${P} ${y}`}).beforeAddWrite((()=>{if(void 0!==A){let t=`${A}px`;O&&(t=`${A}px + var(--ion-safe-area-bottom, 0px)`),h.style.setProperty("bottom",`calc(${t})`)}})).fromTo("transform","scale(0.8)","scale(1)"),R.addElement(d.querySelector(".popover-viewport")).fromTo("opacity",.01,1),X.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((()=>{"cover"===r&&t.style.setProperty("--width",`${m}px`),E&&t.classList.add("popover-bottom")})).addAnimation([M,F,H,R])},_=t=>{const e=w(t),o=e.querySelector(".popover-content"),r=W(),i=W(),s=W();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,s])},tt=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.didPresent=o(this,"ionPopoverDidPresent",7),this.willPresent=o(this,"ionPopoverWillPresent",7),this.willDismiss=o(this,"ionPopoverWillDismiss",7),this.didDismiss=o(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.ionMount=o(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=x(),this.lockController=D(),this.inline=!1,this.focusDescendantOnPresent=!1,this.dirSetOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,a)},this.onLifecycle=t=>{const e=this.usersElement,o=et[t.type];if(e&&o){const r=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});e.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{const{trigger:t,triggerAction:e,el:o,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===t)return;const s=this.triggerEl=void 0!==t?document.getElementById(t):null;s?this.destroyTriggerInteraction=((t,e,o)=>{let r=[];switch(e){case"hover":let t;r=[{eventName:"mouseenter",callback:async e=>{e.stopPropagation(),t&&clearTimeout(t),t=setTimeout((()=>{k((()=>{o.presentFromTrigger(e),t=void 0}))}),100)}},{eventName:"mouseleave",callback:e=>{t&&clearTimeout(t);const r=e.relatedTarget;r&&r.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:t=>{t.preventDefault(),o.presentFromTrigger(t)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}];break;default:r=[{eventName:"click",callback:t=>o.presentFromTrigger(t)},{eventName:"ionPopoverActivateTrigger",callback:t=>o.presentFromTrigger(t,!0)}]}return r.forEach((({eventName:e,callback:o})=>t.addEventListener(e,o))),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach((({eventName:e,callback:o})=>t.removeEventListener(e,o))),t.removeAttribute("data-ion-popover-trigger")}})(s,e,o):r(`[ion-popover] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:t,el:e}=this;t&&t(),this.destroyKeyboardInteraction=(t=>{const e=async e=>{const o=document.activeElement;let r=[];const i=e.target?.tagName;if("ION-POPOVER"===i||"ION-ITEM"===i){try{r=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(e.key){case"ArrowLeft":await t.getParentPopover()&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":e.preventDefault();const i=((t,e)=>t[B(t,e)+1])(r,o);void 0!==i&&X(i);break;case"ArrowUp":e.preventDefault();const s=((t,e)=>t[B(t,e)-1])(r,o);void 0!==s&&X(s);break;case"Home":e.preventDefault();const n=r[0];void 0!==n&&X(n);break;case"End":e.preventDefault();const a=r[r.length-1];void 0!==a&&X(a);break;case"ArrowRight":case" ":case"Enter":if(o&&o.hasAttribute("data-ion-popover-trigger")){const t=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(t)}}}};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)})(e)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:t,parentPopover:e,triggerAction:o,triggerEl:r,el:i}=this;e&&r&&(t&&t(),this.destroyDismissInteraction=((t,e,o,r)=>{let i=[];const s=w(r).querySelector(".popover-content");return i="hover"===e?[{eventName:"mouseenter",callback:e=>{document.elementFromPoint(e.clientX,e.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:e=>{e.target.closest("[data-ion-popover-trigger]")!==t?o.dismiss(void 0,void 0,!1):e.stopPropagation()}}],i.forEach((({eventName:t,callback:e})=>s.addEventListener(t,e))),()=>{i.forEach((({eventName:t,callback:e})=>s.removeEventListener(t,e)))}})(r,o,i,e))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:e}=this;p(e),t(),this.presented&&(c(e),this.recalculateContentOnHeaderReady())}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t(),this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0),this.presented&&d()}componentWillLoad(){const{el:t}=this,e=this.htmlAttributes?.id??h(t);this.parentPopover=t.closest(`ion-popover:not(#${e})`),void 0===this.alignment&&(this.alignment="ios"===T(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:e}=this;!0===e&&k((()=>this.present())),t&&y(t,"ionPopoverWillDismiss",(()=>{this.dismiss(void 0,void 0,!1)})),this.configureTriggerInteraction()}async presentFromTrigger(t,e=!1){this.focusDescendantOnPresent=e,await this.present(t),this.focusDescendantOnPresent=!1}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const e=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:e,delegate:this.workingDelegate=e?this.delegate||this.coreDelegate:this.delegate}}async present(t){const e=await this.lockController.lock();if(this.presented)return void e();const{el:o}=this,{inline:r,delegate:i}=this.getDelegate(!0);o.hasAttribute("dir")||(o.setAttribute("dir",$(o)?"rtl":"ltr"),this.dirSetOnPresent=!0),this.ionMount.emit(),this.usersElement=await b(i,o,this.component,["popover-viewport"],this.componentProps,r),this.recalculateContentOnHeaderReady(),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),P(o)?await I(this.usersElement):this.keepContentsMounted||await L(),await l(this,"popoverEnter",K,G,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&v(o),e()}recalculateContentOnHeaderReady(){const t=this.el.shadowRoot?.querySelector(".popover-content");if(!t)return;const e=this.usersElement||t,o=e.querySelector("ion-header"),r=e.querySelectorAll("ion-content");o&&0!==r.length&&(this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0),this.headerResizeObserver=new ResizeObserver((async()=>{if(o.offsetHeight>0){this.headerResizeObserver?.disconnect(),this.headerResizeObserver=void 0;for(const t of r)await t.recalculateDimensions()}})),this.headerResizeObserver.observe(o))}async dismiss(t,e,o=!0){const r=await this.lockController.lock(),{destroyKeyboardInteraction:i,destroyDismissInteraction:s}=this;o&&this.parentPopover&&this.parentPopover.dismiss(t,e,o);const n=await f(this,t,e,"popoverLeave",U,_,this.event);if(n){i&&(i(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);const{delegate:t}=this.getDelegate();await u(t,this.usersElement),this.dirSetOnPresent&&(this.el.removeAttribute("dir"),this.dirSetOnPresent=!1)}return r(),n}async getParentPopover(){return this.parentPopover}onDidDismiss(){return g(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return g(this.el,"ionPopoverWillDismiss")}render(){const t=T(this),{onLifecycle:e,parentPopover:o,dismissOnSelect:r,side:n,arrow:a,htmlAttributes:p,focusTrap:c}=this,d=A("desktop"),h=a&&!o;return i(s,{key:"083f06f04d2c2657e510b471fba81cc459e0e878","aria-modal":"true","no-router":!0,tabindex:"-1",...p,style:{zIndex:`${2e4+this.overlayIndex}`},class:{...C(this.cssClass),[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":d,[`popover-side-${n}`]:!0,[m]:!1===c,"popover-nested":!!o},onIonPopoverDidPresent:e,onIonPopoverWillPresent:e,onIonPopoverWillDismiss:e,onIonPopoverDidDismiss:e,onIonBackdropTap:this.onBackdropTap},!o&&i("ion-backdrop",{key:"afd9bfa3edfde061603acfc251eb8ac54c85ec6f",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),i("div",{key:"04314c9b510342f152027a6d62394b74d2888b88",class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},h&&i("div",{key:"e1bc715a4ca37012d109b512e2288c932485bf45",class:"popover-arrow",part:"arrow"}),i("div",{key:"5ab527ca65b483865954005239618de7daf2c621",class:"popover-content",part:"content"},i("slot",{key:"4d3abb569347f6156d426f98b897e79ffd6b53bc"}))))}get el(){return this}static get watchers(){return{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}}static get style(){return{ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"}}},[289,"ion-popover",{hasController:[4,"has-controller"],delegate:[16],overlayIndex:[2,"overlay-index"],enterAnimation:[16],leaveAnimation:[16],component:[1],componentProps:[16],keyboardClose:[4,"keyboard-close"],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],event:[8],showBackdrop:[4,"show-backdrop"],translucent:[4],animated:[4],htmlAttributes:[16],triggerAction:[1,"trigger-action"],trigger:[1],size:[1],dismissOnSelect:[4,"dismiss-on-select"],reference:[1],side:[1],alignment:[1025],arrow:[4],isOpen:[4,"is-open"],keyboardEvents:[4,"keyboard-events"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}]),et={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function ot(){"undefined"!=typeof customElements&&["ion-popover","ion-backdrop"].forEach((t=>{switch(t){case"ion-popover":customElements.get(n(t))||customElements.define(n(t),tt);break;case"ion-backdrop":customElements.get(n(t))||O()}}))}export{tt as P,ot as d}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
var index = require('./index-BiQyIvoc.js');
|
|
7
|
-
var dir = require('./dir-
|
|
7
|
+
var dir = require('./dir-Bma_9Lqh.js');
|
|
8
8
|
|
|
9
9
|
const win = typeof window !== 'undefined' ? window : undefined;
|
|
10
10
|
const doc = typeof document !== 'undefined' ? document : undefined;
|
|
@@ -323,8 +323,7 @@ const pointerCoord = (ev) => {
|
|
|
323
323
|
*
|
|
324
324
|
* @param side The current side before being redefined based on the direction.
|
|
325
325
|
* @param hostEl The component's host element. The direction is resolved from
|
|
326
|
-
* it or its nearest ancestor that declares one
|
|
327
|
-
* is resolved from the document.
|
|
326
|
+
* it or its nearest ancestor that declares one, falling back to the document.
|
|
328
327
|
*/
|
|
329
328
|
const isEndSide = (side, hostEl) => {
|
|
330
329
|
const rtl = dir.isRTL(hostEl);
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var helpers = require('./helpers-
|
|
7
|
-
var hardwareBackButton = require('./overlays-
|
|
6
|
+
var helpers = require('./helpers-BrETKUUX.js');
|
|
7
|
+
var hardwareBackButton = require('./overlays-BbVQG3UT.js');
|
|
8
8
|
var index = require('./index-BiQyIvoc.js');
|
|
9
9
|
var ionicGlobal = require('./ionic-global-48ceLiJ6.js');
|
|
10
|
-
var animation = require('./animation-
|
|
10
|
+
var animation = require('./animation-UiXhXV49.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* baseAnimation
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
var index = require('./index-BiQyIvoc.js');
|
|
7
|
-
var helpers = require('./helpers-
|
|
7
|
+
var helpers = require('./helpers-BrETKUUX.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-CN092Fh6.js'); });
|
|
124
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-B6961Ny9.js'); });
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
/**
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var helpers = require('./helpers-
|
|
6
|
+
var helpers = require('./helpers-BrETKUUX.js');
|
|
7
7
|
require('./index-BiQyIvoc.js');
|
|
8
|
-
require('./dir-
|
|
8
|
+
require('./dir-Bma_9Lqh.js');
|
|
9
9
|
|
|
10
10
|
const startTapClick = (config) => {
|
|
11
11
|
if (helpers.doc === undefined) {
|
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-UiXhXV49.js');
|
|
7
|
+
var index = require('./index-DNBYnlrc.js');
|
|
8
|
+
var ios_transition = require('./ios.transition-CN092Fh6.js');
|
|
9
|
+
var md_transition = require('./md.transition-B6961Ny9.js');
|
|
10
10
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
11
11
|
var index$1 = require('./index-DRPqwSvU.js');
|
|
12
12
|
var ionicGlobal = require('./ionic-global-48ceLiJ6.js');
|
|
13
|
-
var helpers = require('./helpers-
|
|
13
|
+
var helpers = require('./helpers-BrETKUUX.js');
|
|
14
14
|
var index$2 = require('./index-BiQyIvoc.js');
|
|
15
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 hardwareBackButton = require('./overlays-
|
|
18
|
+
var index$4 = require('./index-BTc0Jnhx.js');
|
|
19
|
+
var hardwareBackButton = require('./overlays-BbVQG3UT.js');
|
|
20
|
+
require('./dir-Bma_9Lqh.js');
|
|
20
21
|
require('./gesture-controller-CeJslptU.js');
|
|
21
|
-
require('./
|
|
22
|
-
require('./framework-delegate-JbKIVMzR.js');
|
|
22
|
+
require('./framework-delegate-hNMKEiQC.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-BrETKUUX.js');
|
|
7
|
+
var index = require('./index-DMz2Eyis.js');
|
|
8
|
+
var keyboard = require('./keyboard-BMpscicm.js');
|
|
9
|
+
var dir = require('./dir-Bma_9Lqh.js');
|
|
9
10
|
require('./index-BiQyIvoc.js');
|
|
10
|
-
require('./
|
|
11
|
-
require('./capacitor-C6Pp4Z7A.js');
|
|
11
|
+
require('./capacitor-BTjfXFlK.js');
|
|
12
12
|
|
|
13
13
|
const cloneMap = new WeakMap();
|
|
14
14
|
const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
|
|
@@ -68,9 +68,8 @@ const addClone = (componentEl, inputEl, inputRelativeY, disabledClonedInput = fa
|
|
|
68
68
|
* Position the clone at the same horizontal offset as the native input
|
|
69
69
|
* to prevent the placeholder from overlapping start slot content (e.g., icons).
|
|
70
70
|
*/
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
if (isRTL) {
|
|
71
|
+
const rtl = dir.isRTL(componentEl);
|
|
72
|
+
if (rtl) {
|
|
74
73
|
const parentWidth = parentEl.offsetWidth;
|
|
75
74
|
const startOffset = parentWidth - inputEl.offsetLeft - inputEl.offsetWidth;
|
|
76
75
|
clonedEl.style.insetInlineStart = `${startOffset}px`;
|
|
@@ -80,7 +79,7 @@ const addClone = (componentEl, inputEl, inputRelativeY, disabledClonedInput = fa
|
|
|
80
79
|
}
|
|
81
80
|
parentEl.appendChild(clonedEl);
|
|
82
81
|
cloneMap.set(componentEl, clonedEl);
|
|
83
|
-
const tx =
|
|
82
|
+
const tx = rtl ? 9999 : -9999;
|
|
84
83
|
componentEl.style.pointerEvents = 'none';
|
|
85
84
|
inputEl.style.transform = `translate3d(${tx}px,${inputRelativeY}px,0) scale(0)`;
|
|
86
85
|
};
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
var index = require('./index-BiQyIvoc.js');
|
|
7
|
-
var helpers = require('./helpers-
|
|
7
|
+
var helpers = require('./helpers-BrETKUUX.js');
|
|
8
8
|
var index$1 = require('./index-wOmugbdg.js');
|
|
9
9
|
var ionicGlobal = require('./ionic-global-48ceLiJ6.js');
|
|
10
|
-
require('./dir-
|
|
10
|
+
require('./dir-Bma_9Lqh.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}`;
|
|
13
13
|
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
var index = require('./index-BiQyIvoc.js');
|
|
7
|
-
var buttonActive = require('./button-active-
|
|
8
|
-
var helpers = require('./helpers-
|
|
7
|
+
var buttonActive = require('./button-active-DzN1aPt-.js');
|
|
8
|
+
var helpers = require('./helpers-BrETKUUX.js');
|
|
9
9
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
10
|
-
var hardwareBackButton = require('./overlays-
|
|
10
|
+
var hardwareBackButton = require('./overlays-BbVQG3UT.js');
|
|
11
11
|
var selectOptionRender = require('./select-option-render-CzyhrkOu.js');
|
|
12
12
|
var theme = require('./theme-Bw0rpaNN.js');
|
|
13
13
|
var ionicGlobal = require('./ionic-global-48ceLiJ6.js');
|
|
14
|
-
var animation = require('./animation-
|
|
15
|
-
require('./haptic
|
|
16
|
-
require('./capacitor-
|
|
14
|
+
var animation = require('./animation-UiXhXV49.js');
|
|
15
|
+
require('./haptic-BD5qPgy8.js');
|
|
16
|
+
require('./capacitor-BTjfXFlK.js');
|
|
17
17
|
require('./index-DRPqwSvU.js');
|
|
18
18
|
require('./gesture-controller-CeJslptU.js');
|
|
19
|
-
require('./dir-
|
|
20
|
-
require('./framework-delegate-
|
|
19
|
+
require('./dir-Bma_9Lqh.js');
|
|
20
|
+
require('./framework-delegate-hNMKEiQC.js');
|
|
21
21
|
require('./index-B4ONUQRp.js');
|
|
22
22
|
|
|
23
23
|
/**
|
|
@@ -5,22 +5,22 @@
|
|
|
5
5
|
|
|
6
6
|
var index = require('./index-BiQyIvoc.js');
|
|
7
7
|
var config = require('./config-CjUbvdPW.js');
|
|
8
|
-
var buttonActive = require('./button-active-
|
|
9
|
-
var helpers = require('./helpers-
|
|
8
|
+
var buttonActive = require('./button-active-DzN1aPt-.js');
|
|
9
|
+
var helpers = require('./helpers-BrETKUUX.js');
|
|
10
10
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
11
11
|
var overlayControlLabel = require('./overlay-control-label-D2sdL2O8.js');
|
|
12
|
-
var hardwareBackButton = require('./overlays-
|
|
12
|
+
var hardwareBackButton = require('./overlays-BbVQG3UT.js');
|
|
13
13
|
var index$1 = require('./index-B4ONUQRp.js');
|
|
14
14
|
var selectOptionRender = require('./select-option-render-CzyhrkOu.js');
|
|
15
15
|
var theme = require('./theme-Bw0rpaNN.js');
|
|
16
16
|
var ionicGlobal = require('./ionic-global-48ceLiJ6.js');
|
|
17
|
-
var animation = require('./animation-
|
|
18
|
-
require('./haptic
|
|
19
|
-
require('./capacitor-
|
|
17
|
+
var animation = require('./animation-UiXhXV49.js');
|
|
18
|
+
require('./haptic-BD5qPgy8.js');
|
|
19
|
+
require('./capacitor-BTjfXFlK.js');
|
|
20
20
|
require('./index-DRPqwSvU.js');
|
|
21
21
|
require('./gesture-controller-CeJslptU.js');
|
|
22
|
-
require('./dir-
|
|
23
|
-
require('./framework-delegate-
|
|
22
|
+
require('./dir-Bma_9Lqh.js');
|
|
23
|
+
require('./framework-delegate-hNMKEiQC.js');
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* iOS Alert Enter Animation
|
|
@@ -166,6 +166,14 @@ const Alert = class {
|
|
|
166
166
|
* the alert dismisses. You will need to do that in your code.
|
|
167
167
|
*/
|
|
168
168
|
this.isOpen = false;
|
|
169
|
+
/**
|
|
170
|
+
* Prevent Enter from toggling the checkbox, which only Space should do.
|
|
171
|
+
*/
|
|
172
|
+
this.onCheckboxKeydown = (ev) => {
|
|
173
|
+
if (ev.key === 'Enter') {
|
|
174
|
+
ev.preventDefault();
|
|
175
|
+
}
|
|
176
|
+
};
|
|
169
177
|
this.onBackdropTap = () => {
|
|
170
178
|
this.dismiss(undefined, hardwareBackButton.BACKDROP);
|
|
171
179
|
};
|
|
@@ -193,14 +201,6 @@ const Alert = class {
|
|
|
193
201
|
}
|
|
194
202
|
onKeydown(ev) {
|
|
195
203
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
196
|
-
/**
|
|
197
|
-
* Based on keyboard navigation requirements, the
|
|
198
|
-
* checkbox should not respond to the enter keydown event.
|
|
199
|
-
*/
|
|
200
|
-
if (inputTypes.has('checkbox') && ev.key === 'Enter') {
|
|
201
|
-
ev.preventDefault();
|
|
202
|
-
return;
|
|
203
|
-
}
|
|
204
204
|
/**
|
|
205
205
|
* Ensure when alert container is being focused, and the user presses the tab + shift keys, the focus will be set to the last alert button.
|
|
206
206
|
*/
|
|
@@ -512,7 +512,7 @@ const Alert = class {
|
|
|
512
512
|
};
|
|
513
513
|
const defaultLabelPlacement = overlayControlLabel.getOverlayLabelPlacement(mode, 'checkbox');
|
|
514
514
|
const defaultJustify = overlayControlLabel.getOverlayLabelJustify(mode, 'checkbox');
|
|
515
|
-
return (index.h("button", { type: "button", onClick: () => this.cbClick(i), "aria-checked": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: "checkbox", class: {
|
|
515
|
+
return (index.h("button", { type: "button", onClick: () => this.cbClick(i), onKeyDown: this.onCheckboxKeydown, "aria-checked": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: "checkbox", class: {
|
|
516
516
|
...theme.getClassMap(i.cssClass),
|
|
517
517
|
'alert-tappable': true,
|
|
518
518
|
'alert-checkbox': true,
|
|
@@ -662,14 +662,14 @@ const Alert = class {
|
|
|
662
662
|
* If neither are defined, do not set aria-labelledby.
|
|
663
663
|
*/
|
|
664
664
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
665
|
-
return (index.h(index.Host, { key: '
|
|
665
|
+
return (index.h(index.Host, { key: '5d0b4ff618d956178aa5a1cd869f9ed28dc629ee', tabindex: "-1", style: {
|
|
666
666
|
zIndex: `${20000 + overlayIndex}`,
|
|
667
667
|
}, class: {
|
|
668
668
|
...theme.getClassMap(this.cssClass),
|
|
669
669
|
[mode]: true,
|
|
670
670
|
'overlay-hidden': true,
|
|
671
671
|
'alert-translucent': this.translucent,
|
|
672
|
-
}, onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, index.h("ion-backdrop", { key: '
|
|
672
|
+
}, onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, index.h("ion-backdrop", { key: '77ed27df27261f6784d7f7858da88c58d3f21ea3', tappable: this.backdropDismiss }), index.h("div", { key: '0f7c74fd5368f215075a3cb8f2dcb0908953e274', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '67b88fc531ce9232e7ec7188722bfd8991689dad', class: "alert-wrapper ion-overlay-wrapper", role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "0", ref: (el) => (this.wrapperEl = el), ...htmlAttributes }, index.h("div", { key: 'e3d63359996f815c33aad28cf1dc0afbfbe6d6b1', class: "alert-head" }, header && (index.h("h2", { key: 'd7675c3948806229429c698b3b4aef47afe8421d', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (index.h("h2", { key: 'd87035599cf1c30a2ddf85cd5ea3618ce64ec749', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (index.h("h3", { key: 'bf1d4fdecf73a9ed838bb4202e2d33bd36bd07b3', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), index.h("div", { key: 'a843f27506320d9136c0fd3346473a52328477c7', tabindex: "0", "aria-hidden": "true" })));
|
|
673
673
|
}
|
|
674
674
|
get el() { return index.getElement(this); }
|
|
675
675
|
static get watchers() { return {
|