@ionic/core 8.8.19-nightly.20260818 → 8.8.19
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-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-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-legacy-column.js +1 -1
- package/components/ion-picker-legacy.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-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/{p-BMI53wYL.js → p-0LM2oPMC.js} +1 -1
- package/components/{p-D7uN07a3.js → p-6J0vc7Z8.js} +1 -1
- package/components/{p-DGvrK8dD.js → p-9GFIh9p1.js} +1 -1
- package/components/{p-Osve4qkc.js → p-B21528L5.js} +1 -1
- package/components/{p-BlIAuGv2.js → p-B2nSfLHH.js} +1 -1
- package/components/{p-CQGnMY3n.js → p-B3qf4bEn.js} +1 -1
- package/{dist/ionic/p-VAemlbDS.js → components/p-BDd9Zrb9.js} +1 -1
- package/components/{p-DCnGU1fF.js → p-BMYNBJgf.js} +1 -1
- package/components/{p-ABkNVeU9.js → p-BRYd8D-I.js} +1 -1
- package/components/{p-C_xFdyXe.js → p-BTJrYwxN.js} +1 -1
- package/components/p-BV-zKay-.js +4 -0
- package/components/p-BYRVyMu9.js +4 -0
- package/{dist/ionic/p-DC3RagnA.js → components/p-Bmq8qlkW.js} +1 -1
- package/components/{p-aJ6PBUvj.js → p-BuxQcfHK.js} +1 -1
- package/components/p-C7II1iDj.js +4 -0
- package/components/{p-oD4kcBRX.js → p-CTdRooFV.js} +1 -1
- package/components/{p-gAg0kXZp.js → p-CgkrslTX.js} +1 -1
- package/components/{p-gYiraiT_.js → p-CiCzYG2V.js} +1 -1
- package/components/p-Ck0lEczL.js +4 -0
- package/components/p-CniZht3v.js +4 -0
- package/components/{p-SLS1rDZM.js → p-CsaojgEs.js} +1 -1
- package/components/{p-vRBNsYbs.js → p-D4FYu-4R.js} +1 -1
- package/components/{p-D0d8qTwj.js → p-DARjq3GM.js} +1 -1
- package/components/{p-CzCbeKys.js → p-DEZ2myA3.js} +1 -1
- package/components/{p-CkMSOsFF.js → p-DVe41iHI.js} +1 -1
- package/components/{p-DWkAgceV.js → p-DX5m9g56.js} +1 -1
- package/components/{p-DRxvM2Ic.js → p-DboHi2CL.js} +1 -1
- package/components/p-DmzFY5IC.js +4 -0
- package/components/{p-yEQxMl70.js → p-Dv8w0kqz.js} +1 -1
- package/components/{p-BsBCoGa-.js → p-Dw7GNDKq.js} +1 -1
- package/components/{p-Bnsn6KaP.js → p-Dww01PNs.js} +1 -1
- package/components/{p-yzCsOZE2.js → p-Gy276IJk.js} +1 -1
- package/components/{p-DV5mPYQS.js → p-ZzLXTvyt.js} +1 -1
- package/components/{p-D-aHdMxW.js → p-lVAbdiAu.js} +1 -1
- package/components/p-o8OKV5aD.js +4 -0
- package/components/{p-C_hpsif8.js → p-qMmFisyx.js} +1 -1
- package/dist/cjs/{button-active-COnxOe4X.js → button-active-AWp_ygDP.js} +1 -1
- package/dist/cjs/dir-DD0jPVH3.js +31 -0
- package/dist/cjs/{framework-delegate-BgU6U9Ez.js → framework-delegate-CEzl4MEA.js} +1 -1
- package/dist/cjs/{helpers-gntk8bfm.js → helpers-DdZyl6WL.js} +12 -8
- package/dist/cjs/{index-CAvQ7Tka.js → index-BJ2-LydH.js} +4 -27
- package/dist/cjs/{index-BiRrzGDi.js → index-CD92bI7B.js} +1 -1
- package/dist/cjs/{index-BS2uhvhT.js → index-CukZnH1U.js} +3 -3
- package/dist/cjs/{index-ooS8B4p9.js → index-DOiZqxWZ.js} +1 -1
- package/dist/cjs/{index-BhhuJ1Yx.js → index-MWAIyVLl.js} +2 -1
- package/dist/cjs/index.cjs.js +9 -8
- package/dist/cjs/{input-shims-Bn1cXfCM.js → input-shims-CPKgrIe3.js} +3 -2
- package/dist/cjs/{input.utils-BwhxZooW.js → input.utils-DQaUGGed.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -5
- package/dist/cjs/ion-alert.cjs.entry.js +6 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +9 -9
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -1
- package/dist/cjs/ion-img.cjs.entry.js +2 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-input-otp.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +4 -3
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -3
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -1
- package/dist/cjs/ion-loading.cjs.entry.js +4 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +10 -9
- package/dist/cjs/ion-modal.cjs.entry.js +7 -6
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -4
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -1
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -1
- package/dist/cjs/ion-picker.cjs.entry.js +2 -1
- package/dist/cjs/ion-popover.cjs.entry.js +5 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -1
- package/dist/cjs/ion-range.cjs.entry.js +18 -8
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -2
- 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 +3 -3
- package/dist/cjs/ion-select-modal.cjs.entry.js +4 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -1
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -3
- package/dist/cjs/ion-toast.cjs.entry.js +5 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-IMJRwn29.js → ios.transition-CTiTDh3m.js} +3 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-CgQZxcoT.js → md.transition-BpiTAaqF.js} +3 -2
- package/dist/cjs/{notch-controller-_SwR025y.js → notch-controller-aiy8aQb-.js} +1 -1
- package/dist/cjs/{overlays-DuSEMhIW.js → overlays-CQ_c1fko.js} +2 -2
- package/dist/cjs/{status-tap-CSvBT7FV.js → status-tap-7FzRlXNr.js} +3 -2
- package/dist/cjs/{swipe-back-CuIiziaa.js → swipe-back-DwTZiAc9.js} +3 -3
- package/dist/collection/components/menu/menu.js +4 -4
- package/dist/collection/components/range/range.js +15 -5
- package/dist/collection/utils/gesture/listener.js +4 -27
- package/dist/collection/utils/helpers.js +12 -8
- package/dist/collection/utils/rtl/dir.js +18 -7
- package/dist/docs.json +2 -2
- package/dist/esm/{button-active-BSpTQmS9.js → button-active-CXXy0FIE.js} +1 -1
- package/dist/esm/dir-o8OKV5aD.js +29 -0
- package/dist/esm/{framework-delegate-FnPGymXL.js → framework-delegate-B9yvYzqV.js} +1 -1
- package/dist/esm/{helpers-HEqiOzXb.js → helpers-DkCLSLI9.js} +12 -8
- package/dist/esm/{index-Dw-wN0Ja.js → index-B_8X7INq.js} +1 -1
- package/dist/esm/{index-CfgBF1SE.js → index-Bck1OwMs.js} +4 -27
- package/dist/esm/{index-Q6UPU0Ay.js → index-DdeElWma.js} +1 -1
- package/dist/esm/{index-B_dQk_WE.js → index-Dsz7OTeL.js} +3 -3
- package/dist/esm/{index-BRHzoo00.js → index-DwNKJodj.js} +2 -1
- package/dist/esm/index.js +9 -8
- package/dist/esm/{input-shims-LXhI7LEx.js → input-shims-d-hDv86G.js} +3 -2
- package/dist/esm/{input.utils-Y6NgW8bw.js → input.utils-Cd23Gdd1.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +2 -1
- package/dist/esm/ion-action-sheet.entry.js +6 -5
- package/dist/esm/ion-alert.entry.js +6 -5
- package/dist/esm/ion-app_8.entry.js +9 -9
- package/dist/esm/ion-back-button.entry.js +2 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -1
- package/dist/esm/ion-button_2.entry.js +2 -1
- package/dist/esm/ion-card_5.entry.js +2 -1
- package/dist/esm/ion-checkbox.entry.js +2 -1
- package/dist/esm/ion-datetime-button.entry.js +2 -1
- package/dist/esm/ion-datetime_3.entry.js +5 -5
- package/dist/esm/ion-fab_3.entry.js +2 -1
- package/dist/esm/ion-img.entry.js +2 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -2
- package/dist/esm/ion-input-otp.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +4 -3
- package/dist/esm/ion-item-option_3.entry.js +4 -3
- package/dist/esm/ion-item_8.entry.js +2 -1
- package/dist/esm/ion-loading.entry.js +4 -3
- package/dist/esm/ion-menu_3.entry.js +10 -9
- package/dist/esm/ion-modal.entry.js +7 -6
- package/dist/esm/ion-nav_2.entry.js +5 -4
- package/dist/esm/ion-picker-column-option.entry.js +2 -1
- package/dist/esm/ion-picker-column.entry.js +2 -1
- package/dist/esm/ion-picker.entry.js +2 -1
- package/dist/esm/ion-popover.entry.js +5 -4
- package/dist/esm/ion-progress-bar.entry.js +2 -1
- package/dist/esm/ion-radio_2.entry.js +2 -1
- package/dist/esm/ion-range.entry.js +18 -8
- package/dist/esm/ion-refresher_2.entry.js +6 -5
- package/dist/esm/ion-reorder_2.entry.js +4 -3
- package/dist/esm/ion-route_4.entry.js +3 -2
- 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 +3 -3
- package/dist/esm/ion-select-modal.entry.js +4 -3
- package/dist/esm/ion-select_3.entry.js +5 -5
- package/dist/esm/ion-tab-bar_2.entry.js +2 -1
- package/dist/esm/ion-tab_2.entry.js +3 -2
- package/dist/esm/ion-textarea.entry.js +4 -3
- package/dist/esm/ion-toast.entry.js +5 -4
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-ClFrsIrS.js → ios.transition-CxNhMt4a.js} +3 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-D0msQmzI.js → md.transition-IE4mC3kp.js} +3 -2
- package/dist/esm/{notch-controller-DKDjU_O7.js → notch-controller-Doqis1td.js} +1 -1
- package/dist/esm/{overlays-Dg0q2_tJ.js → overlays-COCl_nm9.js} +2 -2
- package/dist/esm/{status-tap-vO-6s4Yp.js → status-tap-HhO5eQI9.js} +3 -2
- package/dist/esm/{swipe-back-DQ1q5MgD.js → swipe-back-DK6afpuO.js} +3 -3
- package/dist/html.html-data.json +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0283ea73.entry.js +4 -0
- package/dist/ionic/p-02ecae65.entry.js +4 -0
- package/dist/ionic/{p-3353c229.entry.js → p-0672f677.entry.js} +1 -1
- package/dist/ionic/p-0c06fe60.entry.js +4 -0
- package/dist/ionic/p-1af4d74c.entry.js +4 -0
- package/dist/ionic/p-1d7ef0d2.entry.js +4 -0
- package/dist/ionic/p-26f05d3a.entry.js +4 -0
- package/dist/ionic/{p-3ae5f277.entry.js → p-31e7bd05.entry.js} +1 -1
- package/dist/ionic/{p-9fa3c405.entry.js → p-32f53010.entry.js} +1 -1
- package/dist/ionic/{p-21eb76d5.entry.js → p-35eb8b5c.entry.js} +1 -1
- package/dist/ionic/p-3efa137b.entry.js +4 -0
- package/dist/ionic/p-432bd72c.entry.js +4 -0
- package/dist/ionic/p-47214c72.entry.js +4 -0
- package/dist/ionic/p-4e172429.entry.js +4 -0
- package/dist/ionic/p-5c3da84e.entry.js +4 -0
- package/dist/ionic/p-5d8082fe.entry.js +4 -0
- package/dist/ionic/{p-4745f534.entry.js → p-613d3c43.entry.js} +1 -1
- package/dist/ionic/{p-4654ae1c.entry.js → p-616e4d4f.entry.js} +1 -1
- package/dist/ionic/p-65d611b2.entry.js +4 -0
- package/dist/ionic/p-67806e3f.entry.js +4 -0
- package/dist/ionic/p-68cbb2fc.entry.js +4 -0
- package/dist/ionic/p-737ae9eb.entry.js +4 -0
- package/dist/ionic/p-7b0d6248.entry.js +4 -0
- package/dist/ionic/p-7e71e470.entry.js +4 -0
- package/dist/ionic/p-85d49987.entry.js +4 -0
- package/dist/ionic/p-8945088b.entry.js +4 -0
- package/dist/ionic/p-8b155568.entry.js +4 -0
- package/dist/ionic/p-90267c4b.entry.js +4 -0
- package/dist/ionic/{p-aaeedb6b.entry.js → p-92ad8a67.entry.js} +1 -1
- package/dist/ionic/p-9a97d4e0.entry.js +4 -0
- package/dist/ionic/p-9e4b0894.entry.js +4 -0
- package/{components/p-A3O24YmY.js → dist/ionic/p-B2kaj8sx.js} +1 -1
- package/dist/ionic/p-B4y7nxsg.js +4 -0
- package/dist/ionic/{p-D-3ycHmd.js → p-B8t9Ro6f.js} +1 -1
- package/{components/p-B-JJgYSG.js → dist/ionic/p-BEOxsxBw.js} +1 -1
- package/dist/ionic/p-BJ2NxSHp.js +4 -0
- package/dist/ionic/p-BLiL8g0v.js +4 -0
- package/dist/ionic/p-BYRVyMu9.js +4 -0
- package/dist/ionic/{p-viFHDgRs.js → p-CPTv7G9B.js} +1 -1
- package/dist/ionic/{p-biz8zWmJ.js → p-Cd4H8ft-.js} +1 -1
- package/dist/ionic/{p-KjNvRoEp.js → p-ClM02LPk.js} +1 -1
- package/dist/ionic/{p-xWb6fgfq.js → p-CxMyXUtt.js} +1 -1
- package/dist/ionic/{p-CFlfIb2g.js → p-DCoy2elM.js} +1 -1
- package/dist/ionic/p-DZaO33Mw.js +4 -0
- package/dist/ionic/p-DipZFfzN.js +4 -0
- package/dist/ionic/p-Dr9fTCb1.js +4 -0
- package/dist/ionic/{p-D4uTWt4-.js → p-EkpneKVM.js} +1 -1
- package/dist/ionic/p-ab00b0d8.entry.js +4 -0
- package/dist/ionic/p-c2175309.entry.js +4 -0
- package/dist/ionic/p-c4b69d9b.entry.js +4 -0
- package/dist/ionic/p-ce637936.entry.js +4 -0
- package/dist/ionic/p-da85e958.entry.js +4 -0
- package/dist/ionic/p-e139357c.entry.js +4 -0
- package/dist/ionic/p-e7b7a7b1.entry.js +4 -0
- package/dist/ionic/p-f37ca594.entry.js +4 -0
- package/dist/ionic/{p-5e2f73ee.entry.js → p-f8dd336e.entry.js} +1 -1
- package/dist/ionic/p-f9de757b.entry.js +4 -0
- package/dist/ionic/p-fe11cf51.entry.js +4 -0
- package/dist/ionic/p-o8OKV5aD.js +4 -0
- package/dist/types/components/range/range.d.ts +4 -1
- package/dist/types/components.d.ts +2 -2
- package/dist/types/utils/helpers.d.ts +8 -5
- package/dist/types/utils/rtl/dir.d.ts +10 -4
- package/hydrate/index.js +58 -57
- package/hydrate/index.mjs +58 -57
- package/package.json +1 -1
- package/components/p-C53feagD.js +0 -4
- package/components/p-ChIZKXUu.js +0 -4
- package/components/p-Cl0B-RWe.js +0 -4
- package/components/p-Cp4GRDqq.js +0 -4
- package/components/p-CsNJ1ULL.js +0 -4
- package/components/p-D3xo7hqU.js +0 -4
- package/components/p-R8zmRi4c.js +0 -4
- package/dist/cjs/dir-Cn0z1rJH.js +0 -20
- package/dist/esm/dir-C53feagD.js +0 -18
- package/dist/ionic/p-06c232a4.entry.js +0 -4
- package/dist/ionic/p-0caa922c.entry.js +0 -4
- package/dist/ionic/p-0dc33652.entry.js +0 -4
- package/dist/ionic/p-10e833ef.entry.js +0 -4
- package/dist/ionic/p-2a05aa64.entry.js +0 -4
- package/dist/ionic/p-2b204c59.entry.js +0 -4
- package/dist/ionic/p-2fa58e80.entry.js +0 -4
- package/dist/ionic/p-34586ead.entry.js +0 -4
- package/dist/ionic/p-390ca786.entry.js +0 -4
- package/dist/ionic/p-4858af1f.entry.js +0 -4
- package/dist/ionic/p-4baa5b82.entry.js +0 -4
- package/dist/ionic/p-4e92a11f.entry.js +0 -4
- package/dist/ionic/p-50e1194a.entry.js +0 -4
- package/dist/ionic/p-5334df12.entry.js +0 -4
- package/dist/ionic/p-5eb8e86d.entry.js +0 -4
- package/dist/ionic/p-65ebdf1b.entry.js +0 -4
- package/dist/ionic/p-746fa988.entry.js +0 -4
- package/dist/ionic/p-75dc25ba.entry.js +0 -4
- package/dist/ionic/p-7c319341.entry.js +0 -4
- package/dist/ionic/p-829367ed.entry.js +0 -4
- package/dist/ionic/p-874b4bd8.entry.js +0 -4
- package/dist/ionic/p-8eb8ee76.entry.js +0 -4
- package/dist/ionic/p-9f9db3a2.entry.js +0 -4
- package/dist/ionic/p-BGqMS-oh.js +0 -4
- package/dist/ionic/p-C53feagD.js +0 -4
- package/dist/ionic/p-Cl0B-RWe.js +0 -4
- package/dist/ionic/p-CmcFnK-B.js +0 -4
- package/dist/ionic/p-Cx3IXROA.js +0 -4
- package/dist/ionic/p-DIuEbVLu.js +0 -4
- package/dist/ionic/p-DoJvtrbw.js +0 -4
- package/dist/ionic/p-a3bdcae6.entry.js +0 -4
- package/dist/ionic/p-af55a72f.entry.js +0 -4
- package/dist/ionic/p-b2020591.entry.js +0 -4
- package/dist/ionic/p-b9fadbfe.entry.js +0 -4
- package/dist/ionic/p-c0fb8edd.entry.js +0 -4
- package/dist/ionic/p-c38b648e.entry.js +0 -4
- package/dist/ionic/p-ca2ab74d.entry.js +0 -4
- package/dist/ionic/p-d889ff6d.entry.js +0 -4
- package/dist/ionic/p-ea56626d.entry.js +0 -4
- package/dist/ionic/p-ef4c3bee.entry.js +0 -4
- package/dist/ionic/p-f386f6ae.entry.js +0 -4
- package/dist/ionic/p-uWtqTrG8.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -5742,6 +5742,31 @@ var setScopedSSR = (opts) => {
|
|
|
5742
5742
|
var needsScopedSSR = () => scopedSSR;
|
|
5743
5743
|
var scopedSSR = false;
|
|
5744
5744
|
|
|
5745
|
+
/**
|
|
5746
|
+
* Returns `true` if the direction resolves to `rtl` for the given element.
|
|
5747
|
+
*
|
|
5748
|
+
* The direction comes from the nearest ancestor that declares one, starting
|
|
5749
|
+
* with `hostEl` itself, and falls back to the root document value. Setting
|
|
5750
|
+
* `dir="auto"` or setting `dir` to an empty string are skipped rather than
|
|
5751
|
+
* treated as `ltr`. When nothing declares a direction, including the document,
|
|
5752
|
+
* the direction is `ltr`.
|
|
5753
|
+
*
|
|
5754
|
+
* @param hostEl the element to resolve the direction for.
|
|
5755
|
+
*/
|
|
5756
|
+
const isRTL$1 = (hostEl) => {
|
|
5757
|
+
var _a, _b;
|
|
5758
|
+
for (let el = hostEl; el; el = el.parentElement) {
|
|
5759
|
+
const dir = (_a = el.getAttribute('dir')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
5760
|
+
if (dir === 'rtl') {
|
|
5761
|
+
return true;
|
|
5762
|
+
}
|
|
5763
|
+
if (dir === 'ltr') {
|
|
5764
|
+
return false;
|
|
5765
|
+
}
|
|
5766
|
+
}
|
|
5767
|
+
return ((_b = document === null || document === void 0 ? void 0 : document.dir) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'rtl';
|
|
5768
|
+
};
|
|
5769
|
+
|
|
5745
5770
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
5746
5771
|
return new Promise((resolve) => {
|
|
5747
5772
|
transitionEnd(el, expectedDuration, resolve);
|
|
@@ -5996,18 +6021,21 @@ const assert = (actual, reason) => {
|
|
|
5996
6021
|
};
|
|
5997
6022
|
/**
|
|
5998
6023
|
* @hidden
|
|
5999
|
-
* Given a side,
|
|
6000
|
-
*
|
|
6001
|
-
*
|
|
6002
|
-
* @param
|
|
6024
|
+
* Given a side, returns whether it resolves to the end side for the current
|
|
6025
|
+
* direction. In RTL `start` is the end side, and in LTR `end` is.
|
|
6026
|
+
*
|
|
6027
|
+
* @param side The current side before being redefined based on the direction.
|
|
6028
|
+
* @param hostEl The component's host element. The direction is resolved from
|
|
6029
|
+
* it or its nearest ancestor that declares one. When omitted, the direction
|
|
6030
|
+
* is resolved from the document.
|
|
6003
6031
|
*/
|
|
6004
|
-
const isEndSide = (side) => {
|
|
6005
|
-
const
|
|
6032
|
+
const isEndSide = (side, hostEl) => {
|
|
6033
|
+
const rtl = isRTL$1(hostEl);
|
|
6006
6034
|
switch (side) {
|
|
6007
6035
|
case 'start':
|
|
6008
|
-
return
|
|
6036
|
+
return rtl;
|
|
6009
6037
|
case 'end':
|
|
6010
|
-
return !
|
|
6038
|
+
return !rtl;
|
|
6011
6039
|
default:
|
|
6012
6040
|
throw new Error(`"${side}" is not a valid value for [side]. Use "start" or "end" instead.`);
|
|
6013
6041
|
}
|
|
@@ -7145,14 +7173,10 @@ const GESTURE_CONTROLLER = new GestureController();
|
|
|
7145
7173
|
|
|
7146
7174
|
const addEventListener = (el, // TODO(FW-2832): type
|
|
7147
7175
|
eventName, callback, opts) => {
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
capture: false,
|
|
7153
|
-
passive: !!opts.passive,
|
|
7154
|
-
}
|
|
7155
|
-
: false;
|
|
7176
|
+
const listenerOpts = {
|
|
7177
|
+
capture: false,
|
|
7178
|
+
passive: !!opts.passive,
|
|
7179
|
+
};
|
|
7156
7180
|
let add;
|
|
7157
7181
|
let remove;
|
|
7158
7182
|
if (el['__zone_symbol__addEventListener']) {
|
|
@@ -7168,25 +7192,6 @@ eventName, callback, opts) => {
|
|
|
7168
7192
|
el[remove](eventName, callback, listenerOpts);
|
|
7169
7193
|
};
|
|
7170
7194
|
};
|
|
7171
|
-
const supportsPassive = (node) => {
|
|
7172
|
-
if (_sPassive === undefined) {
|
|
7173
|
-
try {
|
|
7174
|
-
const opts = Object.defineProperty({}, 'passive', {
|
|
7175
|
-
get: () => {
|
|
7176
|
-
_sPassive = true;
|
|
7177
|
-
},
|
|
7178
|
-
});
|
|
7179
|
-
node.addEventListener('optsTest', () => {
|
|
7180
|
-
return;
|
|
7181
|
-
}, opts);
|
|
7182
|
-
}
|
|
7183
|
-
catch (e) {
|
|
7184
|
-
_sPassive = false;
|
|
7185
|
-
}
|
|
7186
|
-
}
|
|
7187
|
-
return !!_sPassive;
|
|
7188
|
-
};
|
|
7189
|
-
let _sPassive;
|
|
7190
7195
|
|
|
7191
7196
|
const MOUSE_WAIT = 2000;
|
|
7192
7197
|
// TODO(FW-2832): types
|
|
@@ -12720,20 +12725,6 @@ class Col {
|
|
|
12720
12725
|
}; }
|
|
12721
12726
|
}
|
|
12722
12727
|
|
|
12723
|
-
/**
|
|
12724
|
-
* Returns `true` if the document or host element
|
|
12725
|
-
* has a `dir` set to `rtl`. The host value will always
|
|
12726
|
-
* take priority over the root document value.
|
|
12727
|
-
*/
|
|
12728
|
-
const isRTL$1 = (hostEl) => {
|
|
12729
|
-
if (hostEl) {
|
|
12730
|
-
if (hostEl.dir !== '') {
|
|
12731
|
-
return hostEl.dir.toLowerCase() === 'rtl';
|
|
12732
|
-
}
|
|
12733
|
-
}
|
|
12734
|
-
return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
|
|
12735
|
-
};
|
|
12736
|
-
|
|
12737
12728
|
const contentCss = () => `:host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-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:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom) + var(--internal-content-safe-area-padding-bottom, 0px));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}`;
|
|
12738
12729
|
|
|
12739
12730
|
/**
|
|
@@ -22846,7 +22837,7 @@ class Menu {
|
|
|
22846
22837
|
});
|
|
22847
22838
|
}
|
|
22848
22839
|
sideChanged() {
|
|
22849
|
-
this.isEndSide = isEndSide(this.side);
|
|
22840
|
+
this.isEndSide = isEndSide(this.side, this.el);
|
|
22850
22841
|
/**
|
|
22851
22842
|
* Menu direction animation is calculated based on the document direction.
|
|
22852
22843
|
* If the document direction changes, we need to create a new animation.
|
|
@@ -23076,7 +23067,7 @@ class Menu {
|
|
|
23076
23067
|
* Menu direction animation is calculated based on the document direction.
|
|
23077
23068
|
* If the document direction changes, we need to create a new animation.
|
|
23078
23069
|
*/
|
|
23079
|
-
const isEndSide$1 = isEndSide(this.side);
|
|
23070
|
+
const isEndSide$1 = isEndSide(this.side, this.el);
|
|
23080
23071
|
if (width === this.width && this.animation !== undefined && isEndSide$1 === this.isEndSide) {
|
|
23081
23072
|
return;
|
|
23082
23073
|
}
|
|
@@ -23372,14 +23363,14 @@ class Menu {
|
|
|
23372
23363
|
* the ionBackButton listener in the menu controller
|
|
23373
23364
|
* will handle closing the menu when Escape is pressed.
|
|
23374
23365
|
*/
|
|
23375
|
-
return (hAsync(Host, { key: '
|
|
23366
|
+
return (hAsync(Host, { key: 'e97587ece74feec95a3526bf4823538feb3b9ffc', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
23376
23367
|
[mode]: true,
|
|
23377
23368
|
[`menu-type-${type}`]: true,
|
|
23378
23369
|
'menu-enabled': !disabled,
|
|
23379
23370
|
[`menu-side-${side}`]: true,
|
|
23380
23371
|
'menu-pane-visible': isPaneVisible,
|
|
23381
23372
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
23382
|
-
} }, hAsync("div", { key: '
|
|
23373
|
+
} }, hAsync("div", { key: '0a8694d1772558f18b38332b3936d0f21fd35ce7', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '51fe03c098ed8a7f8ecdb12a1649424b4adfa59a' })), hAsync("ion-backdrop", { key: 'cd53a4d9ffef157bd95c652be76c92961f0ff480', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
23383
23374
|
}
|
|
23384
23375
|
get el() { return getElement(this); }
|
|
23385
23376
|
static get watchers() { return {
|
|
@@ -32220,7 +32211,9 @@ class Range {
|
|
|
32220
32211
|
*/
|
|
32221
32212
|
this.name = this.rangeId;
|
|
32222
32213
|
/**
|
|
32223
|
-
*
|
|
32214
|
+
* If `true`, the range shows two knobs and `value` is an object with `lower`
|
|
32215
|
+
* and `upper` properties. If `false`, the range shows one knob and `value` is
|
|
32216
|
+
* a number.
|
|
32224
32217
|
*/
|
|
32225
32218
|
this.dualKnobs = false;
|
|
32226
32219
|
/**
|
|
@@ -32418,6 +32411,11 @@ class Range {
|
|
|
32418
32411
|
*/
|
|
32419
32412
|
this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);
|
|
32420
32413
|
}
|
|
32414
|
+
dualKnobsChanged() {
|
|
32415
|
+
if (!this.noUpdate) {
|
|
32416
|
+
this.updateRatio();
|
|
32417
|
+
}
|
|
32418
|
+
}
|
|
32421
32419
|
minChanged(newValue) {
|
|
32422
32420
|
if (!isSafeNumber(newValue)) {
|
|
32423
32421
|
this.min = 0;
|
|
@@ -32917,7 +32915,7 @@ class Range {
|
|
|
32917
32915
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
32918
32916
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
32919
32917
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
32920
|
-
return (hAsync(Host, { key: '
|
|
32918
|
+
return (hAsync(Host, { key: '81119ccd58016522bdac455a4e832d28b8d22d13', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
32921
32919
|
[mode]: true,
|
|
32922
32920
|
'in-item': inItem,
|
|
32923
32921
|
'range-disabled': disabled,
|
|
@@ -32931,16 +32929,19 @@ class Range {
|
|
|
32931
32929
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
32932
32930
|
'range-value-min': valueAtMin,
|
|
32933
32931
|
'range-value-max': valueAtMax,
|
|
32934
|
-
}) }, hAsync("label", { key: '
|
|
32932
|
+
}) }, hAsync("label", { key: 'fac472b1d252560e83ca85bcc3eec6fec90d2cdf', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2d920cde50fdac003caa902c945e2ac71160e701', class: {
|
|
32935
32933
|
'label-text-wrapper': true,
|
|
32936
32934
|
'label-text-wrapper-hidden': !hasLabel,
|
|
32937
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
32935
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: 'f81e7c7c9f6620b7c5f848689adb67402aa508d1', class: "native-wrapper" }, hAsync("slot", { key: '29bcf499b855fa4f3d3069b8a9efbdc1a5b32f0e', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '5c1b25c5ca6a8a05e102648db85b9c8d1c86de25', name: "end" })))));
|
|
32938
32936
|
}
|
|
32939
32937
|
get el() { return getElement(this); }
|
|
32940
32938
|
static get watchers() { return {
|
|
32941
32939
|
"debounce": [{
|
|
32942
32940
|
"debounceChanged": 0
|
|
32943
32941
|
}],
|
|
32942
|
+
"dualKnobs": [{
|
|
32943
|
+
"dualKnobsChanged": 0
|
|
32944
|
+
}],
|
|
32944
32945
|
"min": [{
|
|
32945
32946
|
"minChanged": 0
|
|
32946
32947
|
}],
|
package/hydrate/index.mjs
CHANGED
|
@@ -5740,6 +5740,31 @@ var setScopedSSR = (opts) => {
|
|
|
5740
5740
|
var needsScopedSSR = () => scopedSSR;
|
|
5741
5741
|
var scopedSSR = false;
|
|
5742
5742
|
|
|
5743
|
+
/**
|
|
5744
|
+
* Returns `true` if the direction resolves to `rtl` for the given element.
|
|
5745
|
+
*
|
|
5746
|
+
* The direction comes from the nearest ancestor that declares one, starting
|
|
5747
|
+
* with `hostEl` itself, and falls back to the root document value. Setting
|
|
5748
|
+
* `dir="auto"` or setting `dir` to an empty string are skipped rather than
|
|
5749
|
+
* treated as `ltr`. When nothing declares a direction, including the document,
|
|
5750
|
+
* the direction is `ltr`.
|
|
5751
|
+
*
|
|
5752
|
+
* @param hostEl the element to resolve the direction for.
|
|
5753
|
+
*/
|
|
5754
|
+
const isRTL$1 = (hostEl) => {
|
|
5755
|
+
var _a, _b;
|
|
5756
|
+
for (let el = hostEl; el; el = el.parentElement) {
|
|
5757
|
+
const dir = (_a = el.getAttribute('dir')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
5758
|
+
if (dir === 'rtl') {
|
|
5759
|
+
return true;
|
|
5760
|
+
}
|
|
5761
|
+
if (dir === 'ltr') {
|
|
5762
|
+
return false;
|
|
5763
|
+
}
|
|
5764
|
+
}
|
|
5765
|
+
return ((_b = document === null || document === void 0 ? void 0 : document.dir) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'rtl';
|
|
5766
|
+
};
|
|
5767
|
+
|
|
5743
5768
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
5744
5769
|
return new Promise((resolve) => {
|
|
5745
5770
|
transitionEnd(el, expectedDuration, resolve);
|
|
@@ -5994,18 +6019,21 @@ const assert = (actual, reason) => {
|
|
|
5994
6019
|
};
|
|
5995
6020
|
/**
|
|
5996
6021
|
* @hidden
|
|
5997
|
-
* Given a side,
|
|
5998
|
-
*
|
|
5999
|
-
*
|
|
6000
|
-
* @param
|
|
6022
|
+
* Given a side, returns whether it resolves to the end side for the current
|
|
6023
|
+
* direction. In RTL `start` is the end side, and in LTR `end` is.
|
|
6024
|
+
*
|
|
6025
|
+
* @param side The current side before being redefined based on the direction.
|
|
6026
|
+
* @param hostEl The component's host element. The direction is resolved from
|
|
6027
|
+
* it or its nearest ancestor that declares one. When omitted, the direction
|
|
6028
|
+
* is resolved from the document.
|
|
6001
6029
|
*/
|
|
6002
|
-
const isEndSide = (side) => {
|
|
6003
|
-
const
|
|
6030
|
+
const isEndSide = (side, hostEl) => {
|
|
6031
|
+
const rtl = isRTL$1(hostEl);
|
|
6004
6032
|
switch (side) {
|
|
6005
6033
|
case 'start':
|
|
6006
|
-
return
|
|
6034
|
+
return rtl;
|
|
6007
6035
|
case 'end':
|
|
6008
|
-
return !
|
|
6036
|
+
return !rtl;
|
|
6009
6037
|
default:
|
|
6010
6038
|
throw new Error(`"${side}" is not a valid value for [side]. Use "start" or "end" instead.`);
|
|
6011
6039
|
}
|
|
@@ -7143,14 +7171,10 @@ const GESTURE_CONTROLLER = new GestureController();
|
|
|
7143
7171
|
|
|
7144
7172
|
const addEventListener = (el, // TODO(FW-2832): type
|
|
7145
7173
|
eventName, callback, opts) => {
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
capture: false,
|
|
7151
|
-
passive: !!opts.passive,
|
|
7152
|
-
}
|
|
7153
|
-
: false;
|
|
7174
|
+
const listenerOpts = {
|
|
7175
|
+
capture: false,
|
|
7176
|
+
passive: !!opts.passive,
|
|
7177
|
+
};
|
|
7154
7178
|
let add;
|
|
7155
7179
|
let remove;
|
|
7156
7180
|
if (el['__zone_symbol__addEventListener']) {
|
|
@@ -7166,25 +7190,6 @@ eventName, callback, opts) => {
|
|
|
7166
7190
|
el[remove](eventName, callback, listenerOpts);
|
|
7167
7191
|
};
|
|
7168
7192
|
};
|
|
7169
|
-
const supportsPassive = (node) => {
|
|
7170
|
-
if (_sPassive === undefined) {
|
|
7171
|
-
try {
|
|
7172
|
-
const opts = Object.defineProperty({}, 'passive', {
|
|
7173
|
-
get: () => {
|
|
7174
|
-
_sPassive = true;
|
|
7175
|
-
},
|
|
7176
|
-
});
|
|
7177
|
-
node.addEventListener('optsTest', () => {
|
|
7178
|
-
return;
|
|
7179
|
-
}, opts);
|
|
7180
|
-
}
|
|
7181
|
-
catch (e) {
|
|
7182
|
-
_sPassive = false;
|
|
7183
|
-
}
|
|
7184
|
-
}
|
|
7185
|
-
return !!_sPassive;
|
|
7186
|
-
};
|
|
7187
|
-
let _sPassive;
|
|
7188
7193
|
|
|
7189
7194
|
const MOUSE_WAIT = 2000;
|
|
7190
7195
|
// TODO(FW-2832): types
|
|
@@ -12718,20 +12723,6 @@ class Col {
|
|
|
12718
12723
|
}; }
|
|
12719
12724
|
}
|
|
12720
12725
|
|
|
12721
|
-
/**
|
|
12722
|
-
* Returns `true` if the document or host element
|
|
12723
|
-
* has a `dir` set to `rtl`. The host value will always
|
|
12724
|
-
* take priority over the root document value.
|
|
12725
|
-
*/
|
|
12726
|
-
const isRTL$1 = (hostEl) => {
|
|
12727
|
-
if (hostEl) {
|
|
12728
|
-
if (hostEl.dir !== '') {
|
|
12729
|
-
return hostEl.dir.toLowerCase() === 'rtl';
|
|
12730
|
-
}
|
|
12731
|
-
}
|
|
12732
|
-
return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
|
|
12733
|
-
};
|
|
12734
|
-
|
|
12735
12726
|
const contentCss = () => `:host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-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:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom) + var(--internal-content-safe-area-padding-bottom, 0px));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}`;
|
|
12736
12727
|
|
|
12737
12728
|
/**
|
|
@@ -22844,7 +22835,7 @@ class Menu {
|
|
|
22844
22835
|
});
|
|
22845
22836
|
}
|
|
22846
22837
|
sideChanged() {
|
|
22847
|
-
this.isEndSide = isEndSide(this.side);
|
|
22838
|
+
this.isEndSide = isEndSide(this.side, this.el);
|
|
22848
22839
|
/**
|
|
22849
22840
|
* Menu direction animation is calculated based on the document direction.
|
|
22850
22841
|
* If the document direction changes, we need to create a new animation.
|
|
@@ -23074,7 +23065,7 @@ class Menu {
|
|
|
23074
23065
|
* Menu direction animation is calculated based on the document direction.
|
|
23075
23066
|
* If the document direction changes, we need to create a new animation.
|
|
23076
23067
|
*/
|
|
23077
|
-
const isEndSide$1 = isEndSide(this.side);
|
|
23068
|
+
const isEndSide$1 = isEndSide(this.side, this.el);
|
|
23078
23069
|
if (width === this.width && this.animation !== undefined && isEndSide$1 === this.isEndSide) {
|
|
23079
23070
|
return;
|
|
23080
23071
|
}
|
|
@@ -23370,14 +23361,14 @@ class Menu {
|
|
|
23370
23361
|
* the ionBackButton listener in the menu controller
|
|
23371
23362
|
* will handle closing the menu when Escape is pressed.
|
|
23372
23363
|
*/
|
|
23373
|
-
return (hAsync(Host, { key: '
|
|
23364
|
+
return (hAsync(Host, { key: 'e97587ece74feec95a3526bf4823538feb3b9ffc', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
23374
23365
|
[mode]: true,
|
|
23375
23366
|
[`menu-type-${type}`]: true,
|
|
23376
23367
|
'menu-enabled': !disabled,
|
|
23377
23368
|
[`menu-side-${side}`]: true,
|
|
23378
23369
|
'menu-pane-visible': isPaneVisible,
|
|
23379
23370
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
23380
|
-
} }, hAsync("div", { key: '
|
|
23371
|
+
} }, hAsync("div", { key: '0a8694d1772558f18b38332b3936d0f21fd35ce7', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '51fe03c098ed8a7f8ecdb12a1649424b4adfa59a' })), hAsync("ion-backdrop", { key: 'cd53a4d9ffef157bd95c652be76c92961f0ff480', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
23381
23372
|
}
|
|
23382
23373
|
get el() { return getElement(this); }
|
|
23383
23374
|
static get watchers() { return {
|
|
@@ -32218,7 +32209,9 @@ class Range {
|
|
|
32218
32209
|
*/
|
|
32219
32210
|
this.name = this.rangeId;
|
|
32220
32211
|
/**
|
|
32221
|
-
*
|
|
32212
|
+
* If `true`, the range shows two knobs and `value` is an object with `lower`
|
|
32213
|
+
* and `upper` properties. If `false`, the range shows one knob and `value` is
|
|
32214
|
+
* a number.
|
|
32222
32215
|
*/
|
|
32223
32216
|
this.dualKnobs = false;
|
|
32224
32217
|
/**
|
|
@@ -32416,6 +32409,11 @@ class Range {
|
|
|
32416
32409
|
*/
|
|
32417
32410
|
this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);
|
|
32418
32411
|
}
|
|
32412
|
+
dualKnobsChanged() {
|
|
32413
|
+
if (!this.noUpdate) {
|
|
32414
|
+
this.updateRatio();
|
|
32415
|
+
}
|
|
32416
|
+
}
|
|
32419
32417
|
minChanged(newValue) {
|
|
32420
32418
|
if (!isSafeNumber(newValue)) {
|
|
32421
32419
|
this.min = 0;
|
|
@@ -32915,7 +32913,7 @@ class Range {
|
|
|
32915
32913
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
32916
32914
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
32917
32915
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
32918
|
-
return (hAsync(Host, { key: '
|
|
32916
|
+
return (hAsync(Host, { key: '81119ccd58016522bdac455a4e832d28b8d22d13', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
32919
32917
|
[mode]: true,
|
|
32920
32918
|
'in-item': inItem,
|
|
32921
32919
|
'range-disabled': disabled,
|
|
@@ -32929,16 +32927,19 @@ class Range {
|
|
|
32929
32927
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
32930
32928
|
'range-value-min': valueAtMin,
|
|
32931
32929
|
'range-value-max': valueAtMax,
|
|
32932
|
-
}) }, hAsync("label", { key: '
|
|
32930
|
+
}) }, hAsync("label", { key: 'fac472b1d252560e83ca85bcc3eec6fec90d2cdf', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2d920cde50fdac003caa902c945e2ac71160e701', class: {
|
|
32933
32931
|
'label-text-wrapper': true,
|
|
32934
32932
|
'label-text-wrapper-hidden': !hasLabel,
|
|
32935
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
32933
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: 'f81e7c7c9f6620b7c5f848689adb67402aa508d1', class: "native-wrapper" }, hAsync("slot", { key: '29bcf499b855fa4f3d3069b8a9efbdc1a5b32f0e', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '5c1b25c5ca6a8a05e102648db85b9c8d1c86de25', name: "end" })))));
|
|
32936
32934
|
}
|
|
32937
32935
|
get el() { return getElement(this); }
|
|
32938
32936
|
static get watchers() { return {
|
|
32939
32937
|
"debounce": [{
|
|
32940
32938
|
"debounceChanged": 0
|
|
32941
32939
|
}],
|
|
32940
|
+
"dualKnobs": [{
|
|
32941
|
+
"dualKnobsChanged": 0
|
|
32942
|
+
}],
|
|
32942
32943
|
"min": [{
|
|
32943
32944
|
"minChanged": 0
|
|
32944
32945
|
}],
|
package/package.json
CHANGED
package/components/p-C53feagD.js
DELETED
package/components/p-ChIZKXUu.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{d as t}from"./p-ZjP4CjeZ.js";import{q as e}from"./p-D3xo7hqU.js";const o=o=>{if(void 0===t)return;let s,p,u,l=0;const d=o.getBoolean("animated",!0)&&o.getBoolean("rippleEffect",!0),v=new WeakMap,m=()=>{u&&clearTimeout(u),u=void 0,s&&(b(!1),s=void 0)},w=(t,o)=>{if(t&&t===s)return;u&&clearTimeout(u),u=void 0;const{x:i,y:r}=e(o);if(s){if(v.has(s))throw new Error("internal error");s.classList.contains(a)||T(s,i,r),b(!0)}if(t){const e=v.get(t);e&&(clearTimeout(e),v.delete(t)),t.classList.remove(a);const o=()=>{T(t,i,r),u=void 0};n(t)?o():u=setTimeout(o,c)}s=t},T=(t,e,o)=>{if(l=Date.now(),t.classList.add(a),!d)return;const i=r(t);null!==i&&(j(),p=i.addRipple(e,o))},j=()=>{void 0!==p&&(p.then((t=>t())),p=void 0)},b=t=>{j();const e=s;if(!e)return;const o=f-Date.now()+l;if(t&&o>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(a),v.delete(e)}),f);v.set(e,t)}else e.classList.remove(a)};t.addEventListener("ionGestureCaptured",m),t.addEventListener("pointerdown",(t=>{s||2===t.button||w(i(t),t)}),!0),t.addEventListener("pointerup",(t=>{w(void 0,t)}),!0),t.addEventListener("pointercancel",m,!0)},i=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const o=e[t];if(!(o instanceof ShadowRoot)&&o.classList.contains("ion-activatable"))return o}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},a="ion-activated",c=100,f=150;export{o as startTapClick}
|
package/components/p-Cl0B-RWe.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{G as t}from"./p-BTEOs1at.js";const e=(t,e,n,r)=>{const s=!!o(t)&&{capture:!1,passive:!!r.passive};let i,c;return t.__zone_symbol__addEventListener?(i="__zone_symbol__addEventListener",c="__zone_symbol__removeEventListener"):(i="addEventListener",c="removeEventListener"),t[i](e,n,s),()=>{t[c](e,n,s)}},o=t=>{if(void 0===n)try{const e=Object.defineProperty({},"passive",{get:()=>{n=!0}});t.addEventListener("optsTest",(()=>{}),e)}catch(t){n=!1}return!!n};let n;const r=t=>t instanceof Document?t:t.ownerDocument,s=o=>{let n=!1,s=!1,d=!0,u=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},o),v=l.canStart,m=l.onWillStart,p=l.onStart,f=l.onEnd,y=l.notCaptured,h=l.onMove,_=l.threshold,b=l.passive,D=l.blurOnStart,E={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},g=((t,e,o)=>{const n=o*(Math.PI/180),r="x"===t,s=Math.cos(n),i=e*e;let c=0,a=0,d=!1,u=0;return{start(t,e){c=t,a=e,u=0,d=!0},detect(t,e){if(!d)return!1;const o=t-c,n=e-a,l=o*o+n*n;if(l<i)return!1;const v=Math.sqrt(l),m=(r?o:n)/v;return u=m>s?1:m<-s?-1:0,d=!1,!0},isGesture:()=>0!==u,getDirection:()=>u}})(l.direction,l.threshold,l.maxAngle),x=t.createGesture({name:o.gestureName,priority:o.gesturePriority,disableScroll:o.disableScroll}),L=()=>{n&&(u=!1,h&&h(E))},T=()=>!!x.capture()&&(n=!0,d=!1,E.startX=E.currentX,E.startY=E.currentY,E.startTime=E.currentTime,m?m(E).then(X):X(),!0),X=()=>{D&&(()=>{if("undefined"!=typeof document){const t=document.activeElement;(null==t?void 0:t.blur)&&t.blur()}})(),p&&p(E),d=!0},Y=()=>{n=!1,s=!1,u=!1,d=!0,x.release()},j=t=>{const e=n,o=d;Y(),o&&(i(E,t),e?f&&f(E):y&&y(E))},M=((t,o,n,s,i)=>{let c,a,d,u,l,v,m,p=0;const f=r=>{p=Date.now()+2e3,o(r)&&(!a&&n&&(a=e(t,"touchmove",n,i)),d||(d=e(r.target,"touchend",h,i)),u||(u=e(r.target,"touchcancel",h,i)))},y=s=>{p>Date.now()||o(s)&&(!v&&n&&(v=e(r(t),"mousemove",n,i)),m||(m=e(r(t),"mouseup",_,i)))},h=t=>{b(),s&&s(t)},_=t=>{D(),s&&s(t)},b=()=>{a&&a(),d&&d(),u&&u(),a=d=u=void 0},D=()=>{v&&v(),m&&m(),v=m=void 0},E=()=>{b(),D()},g=(o=!0)=>{o?(c||(c=e(t,"touchstart",f,i)),l||(l=e(t,"mousedown",y,i))):(c&&c(),l&&l(),c=l=void 0,E())};return{enable:g,stop:E,destroy:()=>{g(!1),s=n=o=void 0}}})(l.el,(t=>{const e=a(t);return!(s||!d)&&(c(t,E),E.startX=E.currentX,E.startY=E.currentY,E.startTime=E.currentTime=e,E.velocityX=E.velocityY=E.deltaX=E.deltaY=0,E.event=t,(!v||!1!==v(E))&&(x.release(),!!x.start()&&(s=!0,0===_?T():(g.start(E.startX,E.startY),!0))))}),(t=>{n?!u&&d&&(u=!0,i(E,t),requestAnimationFrame(L)):(i(E,t),g.detect(E.currentX,E.currentY)&&(g.isGesture()&&T()||O()))}),j,{passive:b}),O=()=>{Y(),M.stop(),y&&y(E)};return{enable(t=!0){t||(n&&j(void 0),Y()),M.enable(t)},destroy(){x.destroy(),M.destroy()}}},i=(t,e)=>{if(!e)return;const o=t.currentX,n=t.currentY,r=t.currentTime;c(e,t);const s=t.currentX,i=t.currentY,d=(t.currentTime=a(e))-r;if(d>0&&d<100){const e=(i-n)/d;t.velocityX=(s-o)/d*.7+.3*t.velocityX,t.velocityY=.7*e+.3*t.velocityY}t.deltaX=s-t.startX,t.deltaY=i-t.startY,t.event=e},c=(t,e)=>{let o=0,n=0;if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];o=t.clientX,n=t.clientY}else void 0!==t.pageX&&(o=t.pageX,n=t.pageY)}e.currentX=o,e.currentY=n},a=t=>t.timeStamp||Date.now();export{t as GESTURE_CONTROLLER,s as createGesture}
|
package/components/p-Cp4GRDqq.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{w as o,d as n}from"./p-ZjP4CjeZ.js";import{g as t,h as i,a}from"./p-D7uN07a3.js";import{a as r,b as e,c as s}from"./p-D3xo7hqU.js";import{a as d,K as c}from"./p-D13Eaw-8.js";const l=new WeakMap,u=(o,n,t,i=0,a=!1)=>{l.has(o)!==t&&(t?f(o,n,i,a):w(o,n))},f=(o,n,t,i=!1)=>{const a=n.parentNode,r=n.cloneNode(!1);r.classList.add("cloned-input"),r.tabIndex=-1,i&&(r.disabled=!0);const e="rtl"===o.ownerDocument.dir;r.style.insetInlineStart=e?a.offsetWidth-n.offsetLeft-n.offsetWidth+"px":`${n.offsetLeft}px`,a.appendChild(r),l.set(o,r);const s=e?9999:-9999;o.style.pointerEvents="none",n.style.transform=`translate3d(${s}px,${t}px,0) scale(0)`},w=(o,n)=>{const t=l.get(o);t&&(l.delete(o),t.remove()),o.style.pointerEvents="",n.style.transform=""},p="input, textarea, [no-blur], [contenteditable]",m="$ionPaddingTimer",h=(o,n,t)=>{const i=o[m];i&&clearTimeout(i),n>0?o.style.setProperty("--keyboard-offset",`${n}px`):o[m]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),t&&t()}),120)},b=(o,n,t)=>{o.addEventListener("focusout",(()=>{n&&h(n,0,t)}),{once:!0})};let y=0;const S="data-ionic-skip-scroll-assist",D=o=>{var n;if(document.activeElement===o)return;const t=o.getAttribute("id"),i=o.closest(`label[for="${t}"]`),a=null===(n=document.activeElement)||void 0===n?void 0:n.closest(`label[for="${t}"]`);null!==i&&i===a||(o.setAttribute(S,"true"),o.focus())},v=async(o,n,a,r,e,s,d=!1,c=0,l=!0)=>{if(!a&&!r)return;const f=((o,n,t,i)=>{var a;return((o,n,t,i)=>{const a=o.top,r=o.bottom,e=n.top,s=e+15,d=Math.min(n.bottom,i-t)-50-r,c=s-a,l=Math.round(d<0?-d:c>0?-c:0),u=Math.min(l,a-e),f=Math.abs(u);return{scrollAmount:u,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:t,inputSafeY:4-(a-s)}})((null!==(a=o.closest("ion-item,[ion-item]"))&&void 0!==a?a:o).getBoundingClientRect(),n.getBoundingClientRect(),t,i)})(o,a||r,e,c);if(a&&Math.abs(f.scrollAmount)<4)return D(n),void(s&&null!==a&&(h(a,y),b(n,a,(()=>y=0))));if(u(o,n,!0,f.inputSafeY,d),D(n),s&&a&&(y=f.scrollPadding,h(a,y)),"undefined"!=typeof window){let r;const e=async()=>{void 0!==r&&clearTimeout(r),window.removeEventListener("ionKeyboardDidShow",d),window.removeEventListener("ionKeyboardDidShow",e),a&&await i(a,0,f.scrollAmount,f.scrollDuration),u(o,n,!1,f.inputSafeY),document.activeElement===n&&D(n),s&&b(n,a,(()=>y=0))},d=()=>{window.removeEventListener("ionKeyboardDidShow",d),window.addEventListener("ionKeyboardDidShow",e)};if(a){const o=await t(a);if(l&&f.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===n.type?(f.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",d)):window.addEventListener("ionKeyboardDidShow",e),void(r=setTimeout(e,1e3))}e()}},x=async(t,i)=>{if(void 0===n)return;const l="ios"===i,f="android"===i,w=t.getNumber("keyboardHeight",290),m=t.getBoolean("scrollAssist",!0),h=t.getBoolean("hideCaretOnScroll",l),b=t.getBoolean("inputBlurring",!1),y=t.getBoolean("scrollPadding",!0),D=Array.from(n.querySelectorAll("ion-input, ion-textarea")),x=new WeakMap,K=new WeakMap,M=await c.getResizeMode(),k=async n=>{await new Promise((o=>s(n,o)));const t=n.shadowRoot||n,i=t.querySelector("input")||t.querySelector("textarea"),c=a(n),l=c?null:n.closest("ion-footer");if(i){if(c&&h&&!x.has(n)){const o=((o,n,t)=>{if(!t||!n)return()=>{};const i=t=>{var i;(i=n)===i.getRootNode().activeElement&&u(o,n,t)},a=()=>u(o,n,!1),s=()=>i(!0),d=()=>i(!1);return r(t,"ionScrollStart",s),r(t,"ionScrollEnd",d),n.addEventListener("blur",a),()=>{e(t,"ionScrollStart",s),e(t,"ionScrollEnd",d),n.removeEventListener("blur",a)}})(n,i,c);x.set(n,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(c||l)&&m&&!K.has(n)){const t=((n,t,i,a,r,e,s,c=!1)=>{const l=e&&(void 0===s||s.mode===d.None);let u=!1;const f=void 0!==o?o.innerHeight:0,w=o=>{!1!==u?v(n,t,i,a,o.detail.keyboardHeight,l,c,f,!1):u=!0},p=()=>{u=!1,null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)},m=async()=>{t.hasAttribute(S)?t.removeAttribute(S):(v(n,t,i,a,r,l,c,f),null==o||o.addEventListener("ionKeyboardDidShow",w),n.addEventListener("focusout",p))};return n.addEventListener("focusin",m),()=>{n.removeEventListener("focusin",m),null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)}})(n,i,c,l,w,y,M,f);K.set(n,t)}}};b&&(()=>{let o=!0,n=!1;const t=document;r(t,"ionScrollStart",(()=>{n=!0})),t.addEventListener("focusin",(()=>{o=!0}),!0),t.addEventListener("touchend",(i=>{if(n)return void(n=!1);const a=t.activeElement;if(!a)return;if(a.matches(p))return;const r=i.target;r!==a&&(r.matches(p)||r.closest(p)||(o=!1,setTimeout((()=>{o||a.blur()}),50)))}),!1)})();for(const o of D)k(o);n.addEventListener("ionInputDidLoad",(o=>{k(o.detail)})),n.addEventListener("ionInputDidUnload",(o=>{(o=>{if(h){const n=x.get(o);n&&n(),x.delete(o)}if(m){const n=K.get(o);n&&n(),K.delete(o)}})(o.detail)}))};export{x as startInputShims}
|
package/components/p-CsNJ1ULL.js
DELETED
package/components/p-D3xo7hqU.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{j as a}from"./p-CHqRYvYm.js";const i=(a,i=0)=>new Promise((e=>{r(a,i,e)})),r=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},e=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):d((()=>i(a)))},t=a=>void 0!==a.componentOnReady,n=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},o=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],s=a=>n(a,o),l=(a,i,r,e)=>a.addEventListener(i,r,e),u=(a,i,r,e)=>a.removeEventListener(i,r,e),c=(a,i=a)=>a.shadowRoot||i,d=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),m=a=>!!a.shadowRoot&&!!a.attachShadow,p=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},f=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},b=(a,i,r)=>Math.max(a,Math.min(i,r)),v=(i,r)=>{if(!i){const i="ASSERT: "+r;throw a(i),new Error(i)}},w=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},x=a=>{const i="rtl"===document.dir;switch(a){case"start":return i;case"end":return!i;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},y=(a,i)=>{const r=a._original||a;return{_original:a,emit:h(r.emit.bind(r),i)}},h=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},_=(a,i)=>{if(null!=a||(a={}),null!=i||(i={}),a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},T=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{l as a,u as b,e as c,n as d,f as e,b as f,c as g,m as h,s as i,p as j,t as k,y as l,x as m,v as n,T as o,h as p,w as q,d as r,_ as s,i as t}
|
package/components/p-R8zmRi4c.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{k as o,w as s}from"./p-CHqRYvYm.js";import{a as t,s as a}from"./p-D7uN07a3.js";import{c as r}from"./p-D3xo7hqU.js";const n=()=>{const n=window;n.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!o)return;const m=t(o);m&&new Promise((o=>r(m,o))).then((()=>{s((async()=>{m.style.setProperty("--overflow","hidden"),await a(m,300),m.style.removeProperty("--overflow")}))}))}))}))};export{n as startStatusTap}
|
package/dist/cjs/dir-Cn0z1rJH.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Returns `true` if the document or host element
|
|
8
|
-
* has a `dir` set to `rtl`. The host value will always
|
|
9
|
-
* take priority over the root document value.
|
|
10
|
-
*/
|
|
11
|
-
const isRTL = (hostEl) => {
|
|
12
|
-
if (hostEl) {
|
|
13
|
-
if (hostEl.dir !== '') {
|
|
14
|
-
return hostEl.dir.toLowerCase() === 'rtl';
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
exports.isRTL = isRTL;
|
package/dist/esm/dir-C53feagD.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Returns `true` if the document or host element
|
|
6
|
-
* has a `dir` set to `rtl`. The host value will always
|
|
7
|
-
* take priority over the root document value.
|
|
8
|
-
*/
|
|
9
|
-
const isRTL = (hostEl) => {
|
|
10
|
-
if (hostEl) {
|
|
11
|
-
if (hostEl.dir !== '') {
|
|
12
|
-
return hostEl.dir.toLowerCase() === 'rtl';
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { isRTL as i };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as i,c as t,h as e,d as s,g as n}from"./p-tcQvqkiX.js";import{d as o}from"./p-ZjP4CjeZ.js";import{r as a}from"./p-DIuEbVLu.js";import{b as r,a as l,h as c}from"./p-CKvCXMs9.js";import{a as d,b as h}from"./p-Nqf6uvGh.js";import{c as p}from"./p-DiVJyqlX.js";import"./p-CIGNaXM1.js";const u=class{constructor(e){i(this,e),this.ionChange=t(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.updateValueTextOnScroll=!1,this.ariaLabel=null,this.isActive=!1,this.disabled=!1,this.color="primary",this.numericInput=!1,this.centerPickerItemInView=(i,t=!0,e=!0)=>{const{isColumnVisible:s,scrollEl:n}=this;if(s&&n){const s=i.offsetTop-3*i.clientHeight+i.clientHeight/2;n.scrollTop!==s&&(this.canExitInputMode=e,this.updateValueTextOnScroll=!1,n.scroll({top:s,left:0,behavior:t?"smooth":void 0}))}},this.setPickerItemActiveState=(i,t)=>{t?i.classList.add(m):i.classList.remove(m)},this.inputModeChange=i=>{if(!this.numericInput)return;const{useInputMode:t,inputModeColumn:e}=i.detail;this.setInputModeActive(!(!t||void 0!==e&&e!==this.el))},this.setInputModeActive=i=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=i}:this.isActive=i},this.initializeScrollListener=()=>{const i=d("ios"),{el:t,scrollEl:e}=this;let s,n=this.activeItem;const h=()=>{a((()=>{var a;if(!e)return;s&&(clearTimeout(s),s=void 0),this.isScrolling||(i&&r(),this.isScrolling=!0);const d=e.getBoundingClientRect(),h=d.x+d.width/2,p=d.y+d.height/2,u=t.getRootNode(),m=u instanceof ShadowRoot?u:o;if(void 0===m)return;let f=m.elementsFromPoint(h,p).find((i=>"ION-PICKER-COLUMN-OPTION"===i.tagName));if(void 0===f){const i=m.elementFromPoint(h,p);"ION-PICKER-COLUMN-OPTION"===(null==i?void 0:i.tagName)&&(f=i)}void 0!==n&&this.setPickerItemActiveState(n,!1),void 0===f||f.disabled||(f!==n&&(i&&l(),this.canExitInputMode&&this.exitInputMode()),n=f,this.setPickerItemActiveState(f,!0),this.updateValueTextOnScroll&&(null===(a=this.assistiveFocusable)||void 0===a||a.setAttribute("aria-valuetext",this.getOptionValueText(f))),s=setTimeout((()=>{this.isScrolling=!1,this.updateValueTextOnScroll=!0,i&&c();const{scrollEndCallback:t}=this;t&&(t(),this.scrollEndCallback=void 0),this.canExitInputMode=!0,this.setValue(f.value)}),250))}))};a((()=>{e&&(e.addEventListener("scroll",h),this.destroyScrollListener=()=>{e.removeEventListener("scroll",h)})}))},this.exitInputMode=()=>{const{parentEl:i}=this;null!=i&&(i.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.findNextOption=(i=1)=>{const{activeItem:t}=this;if(!t)return null;let e=t,s=t.nextElementSibling;for(;null!=s;){if(i>0&&i--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===i)return s;e=s,s=s.nextElementSibling}return e},this.findPreviousOption=(i=1)=>{const{activeItem:t}=this;if(!t)return null;let e=t,s=t.previousElementSibling;for(;null!=s;){if(i>0&&i--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===i)return s;e=s,s=s.previousElementSibling}return e},this.onKeyDown=i=>{const t=d("mobile");let e=null;switch(i.key){case"ArrowDown":e=t?this.findPreviousOption():this.findNextOption();break;case"ArrowUp":e=t?this.findNextOption():this.findPreviousOption();break;case"PageUp":e=t?this.findNextOption(5):this.findPreviousOption(5);break;case"PageDown":e=t?this.findPreviousOption(5):this.findNextOption(5);break;case"Home":e=this.el.querySelector("ion-picker-column-option:first-of-type");break;case"End":e=this.el.querySelector("ion-picker-column-option:last-of-type")}null!==e&&(this.setValue(e.value),i.preventDefault())},this.getOptionValueText=i=>{var t;return i?null!==(t=i.getAttribute("aria-label"))&&void 0!==t?t:i.innerText:""}}ariaLabelChanged(i){this.ariaLabel=i}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView(!0)}componentWillLoad(){const i=this.parentEl=this.el.closest("ion-picker");new IntersectionObserver((i=>{if(i[i.length-1].isIntersecting){const{activeItem:i,el:t}=this;this.isColumnVisible=!0;const e=t.querySelector(`.${m}`);e&&this.setPickerItemActiveState(e,!1),this.scrollActiveItemIntoView(),i&&this.setPickerItemActiveState(i,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)}),{threshold:.001,root:this.parentEl}).observe(this.el),null!==i&&i.addEventListener("ionInputModeChange",(i=>this.inputModeChange(i)))}componentDidRender(){const{el:i,activeItem:t,isColumnVisible:e,value:s}=this;if(e&&!t){const t=i.querySelector("ion-picker-column-option");null!==t&&t.value!==s&&this.setValue(t.value)}}async scrollActiveItemIntoView(i=!1){const t=this.activeItem;t&&this.centerPickerItemInView(t,i,!1)}async setValue(i){!0!==this.disabled&&this.value!==i&&(this.value=i,this.ionChange.emit({value:i}))}async setFocus(){this.assistiveFocusable&&this.assistiveFocusable.focus()}connectedCallback(){var i;this.ariaLabel=null!==(i=this.el.getAttribute("aria-label"))&&void 0!==i?i:"Select a value"}get activeItem(){const{value:i}=this;return Array.from(this.el.querySelectorAll("ion-picker-column-option")).find((t=>!(!this.disabled&&t.disabled)&&t.value===i))}render(){const{color:i,disabled:t,isActive:n,numericInput:o}=this,a=h(this);return e(s,{key:"234c96a501d7ac413b9b0ea56b33017681e25b40",class:p(i,{[a]:!0,"picker-column-active":n,"picker-column-numeric-input":o,"picker-column-disabled":t})},e("slot",{key:"9dc15ea0601ddd2cb2e0a745e91e036a8bd96f8b",name:"prefix"}),e("div",{key:"de4fe28ee4bc46b7c0420d6ab0df0e7809443da9",class:"picker-opts",ref:i=>{this.scrollEl=i},role:"slider",tabindex:this.disabled?void 0:0,"aria-label":this.ariaLabel,"aria-valuemin":0,"aria-valuemax":0,"aria-valuenow":0,"aria-valuetext":this.getOptionValueText(this.activeItem),"aria-orientation":"vertical",onKeyDown:i=>this.onKeyDown(i)},e("div",{key:"5297617462cc30e9444039ae032d8bdf718349af",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"55ea39ef867bcb1a11a912d52ecd20cb886c5fb3",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"3496730ce6182ebfd33e0ee4bafc130feb575a31",class:"picker-item-empty","aria-hidden":"true"}," "),e("slot",{key:"44c3628aa957d60f799dc7019f72fe8b676c7843"}),e("div",{key:"5a1809f6c949678a67e0d4b5bfe93ea335c0161d",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"98fd57f1c66dbaebc2db2dd5da142671b3159fd1",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"85590708abddfa885994e549deac64866fec938f",class:"picker-item-empty","aria-hidden":"true"}," ")),e("slot",{key:"bb7e674f543696a80fcbfb1f68f2e975826898a6",name:"suffix"}))}get el(){return n(this)}static get watchers(){return{"aria-label":[{ariaLabelChanged:0}],value:[{valueChange:0}]}}},m="option-active";u.style=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";export{u as ion_picker_column}
|