@ionic/core 8.5.2-dev.11742935752.148f25e6 → 8.5.2-dev.11743017713.1e4eb1b9
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/helpers.js +1 -11
- package/components/index9.js +1 -1
- package/components/ion-segment-button.js +20 -51
- package/components/ion-segment-view.js +2 -2
- package/components/picker.js +77 -45
- package/dist/cjs/{framework-delegate-11b0ba2f.js → framework-delegate-50a86d56.js} +1 -1
- package/dist/cjs/{helpers-d0dfbb50.js → helpers-3a248559.js} +0 -11
- package/dist/cjs/{index-fd6383b6.js → index-4b70187a.js} +1 -1
- package/dist/cjs/{index-9b945a2d.js → index-509ca0d3.js} +1 -1
- package/dist/cjs/{index-363fe6b2.js → index-e36bd277.js} +1 -1
- package/dist/cjs/{index-f68a486a.js → index-e630fd95.js} +3 -3
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{input-shims-2d27a5be.js → input-shims-22a9973f.js} +2 -2
- package/dist/cjs/{input.utils-2f642324.js → input.utils-e82b8ed0.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
- package/dist/cjs/ion-alert.cjs.entry.js +3 -3
- package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
- package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.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 +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker.cjs.entry.js +78 -46
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +20 -51
- package/dist/cjs/ion-select-modal.cjs.entry.js +3 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/cjs/{ios.transition-f970164c.js → ios.transition-ae7afca9.js} +2 -2
- package/dist/cjs/{md.transition-aa8820dd.js → md.transition-26003e25.js} +2 -2
- package/dist/cjs/{notch-controller-58d2e557.js → notch-controller-ae03a497.js} +1 -1
- package/dist/cjs/{overlays-737576a2.js → overlays-a0c6b23f.js} +2 -2
- package/dist/cjs/{status-tap-08d1ac81.js → status-tap-03023755.js} +2 -2
- package/dist/cjs/{swipe-back-951be2fd.js → swipe-back-cd0d9f77.js} +1 -1
- package/dist/collection/components/picker/picker.js +77 -45
- package/dist/collection/components/segment-button/segment-button.js +20 -51
- package/dist/collection/components/segment-view/segment-view.ios.css +1 -1
- package/dist/collection/components/segment-view/segment-view.md.css +1 -1
- package/dist/collection/utils/helpers.js +0 -10
- package/dist/docs.json +1 -1
- package/dist/esm/{framework-delegate-c7d92b77.js → framework-delegate-2eea1763.js} +1 -1
- package/dist/esm/{helpers-e48b0397.js → helpers-78efeec3.js} +1 -11
- package/dist/esm/{index-8222b29f.js → index-40894f4b.js} +1 -1
- package/dist/esm/{index-933ca126.js → index-e919e353.js} +1 -1
- package/dist/esm/{index-a313df53.js → index-ecb55b8d.js} +3 -3
- package/dist/esm/{index-c63afbe6.js → index-f9f5d018.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-shims-3070628a.js → input-shims-7dc1f6dc.js} +2 -2
- package/dist/esm/{input.utils-926c04a8.js → input.utils-28bf4ef0.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +3 -3
- package/dist/esm/ion-alert.entry.js +3 -3
- package/dist/esm/ion-app_8.entry.js +8 -8
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-card_5.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +3 -3
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +3 -3
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +1 -1
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +4 -4
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav_2.entry.js +4 -4
- package/dist/esm/ion-picker-column-option.entry.js +1 -1
- package/dist/esm/ion-picker-column.entry.js +1 -1
- package/dist/esm/ion-picker.entry.js +78 -46
- package/dist/esm/ion-popover.entry.js +4 -4
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +1 -1
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +20 -51
- package/dist/esm/ion-select-modal.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm/ion-tab_2.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/{ios.transition-5fe4d6c8.js → ios.transition-7fe5dbea.js} +2 -2
- package/dist/esm/{md.transition-3d0d3730.js → md.transition-8dc58b46.js} +2 -2
- package/dist/esm/{notch-controller-381a5334.js → notch-controller-00d92e89.js} +1 -1
- package/dist/esm/{overlays-7579a420.js → overlays-1bc809ec.js} +2 -2
- package/dist/esm/{status-tap-6367b913.js → status-tap-f6d08e9e.js} +2 -2
- package/dist/esm/{swipe-back-276cda49.js → swipe-back-07df2095.js} +1 -1
- package/dist/esm-es5/{framework-delegate-c7d92b77.js → framework-delegate-2eea1763.js} +1 -1
- package/dist/esm-es5/helpers-78efeec3.js +4 -0
- package/dist/esm-es5/{index-8222b29f.js → index-40894f4b.js} +1 -1
- package/dist/esm-es5/{index-933ca126.js → index-e919e353.js} +1 -1
- package/dist/esm-es5/index-ecb55b8d.js +4 -0
- package/dist/esm-es5/{index-c63afbe6.js → index-f9f5d018.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-3070628a.js → input-shims-7dc1f6dc.js} +1 -1
- package/dist/esm-es5/{input.utils-926c04a8.js → input.utils-28bf4ef0.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ios.transition-5fe4d6c8.js → ios.transition-7fe5dbea.js} +1 -1
- package/dist/esm-es5/md.transition-8dc58b46.js +4 -0
- package/dist/esm-es5/{notch-controller-381a5334.js → notch-controller-00d92e89.js} +1 -1
- package/dist/esm-es5/{overlays-7579a420.js → overlays-1bc809ec.js} +1 -1
- package/dist/esm-es5/{status-tap-6367b913.js → status-tap-f6d08e9e.js} +1 -1
- package/dist/esm-es5/swipe-back-07df2095.js +4 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-027a48f1.entry.js +4 -0
- package/dist/ionic/{p-143ff664.system.entry.js → p-056b4c2a.system.entry.js} +1 -1
- package/dist/ionic/{p-ceaea4ce.js → p-058b7f35.js} +1 -1
- package/dist/ionic/{p-c25c0ba4.entry.js → p-05b65d7a.entry.js} +1 -1
- package/dist/ionic/{p-094c82d7.entry.js → p-0904eb08.entry.js} +1 -1
- package/dist/ionic/{p-bbc6db8c.entry.js → p-0a456b7f.entry.js} +1 -1
- package/dist/ionic/{p-472c7e08.system.entry.js → p-0d1be7c9.system.entry.js} +1 -1
- package/dist/ionic/{p-3e86b4fa.system.js → p-15bb1dde.system.js} +1 -1
- package/dist/ionic/{p-efa0f3f5.entry.js → p-16130556.entry.js} +1 -1
- package/dist/ionic/{p-b055d618.entry.js → p-16491015.entry.js} +1 -1
- package/dist/ionic/{p-a9f2c0a7.entry.js → p-180b4f9a.entry.js} +1 -1
- package/dist/ionic/{p-8fc426e2.entry.js → p-1c8b3ac9.entry.js} +1 -1
- package/dist/ionic/{p-0c9b8240.system.entry.js → p-1de5dfcd.system.entry.js} +1 -1
- package/dist/ionic/{p-8fa4fa3f.entry.js → p-28c81576.entry.js} +1 -1
- package/dist/ionic/{p-4493c1ac.entry.js → p-29da3dcd.entry.js} +1 -1
- package/dist/ionic/p-2a2c6bf4.system.entry.js +4 -0
- package/dist/ionic/{p-0c0ec971.entry.js → p-317c1c08.entry.js} +1 -1
- package/dist/ionic/{p-7f39653f.entry.js → p-33518a04.entry.js} +1 -1
- package/dist/ionic/{p-b9eb1465.system.entry.js → p-35b469f6.system.entry.js} +1 -1
- package/dist/ionic/{p-1f837356.entry.js → p-383a6058.entry.js} +1 -1
- package/dist/ionic/{p-44e168f3.system.js → p-3855fef7.system.js} +2 -2
- package/dist/ionic/{p-b2296998.system.entry.js → p-38eaf9cf.system.entry.js} +1 -1
- package/dist/ionic/{p-d7032956.system.js → p-3dad3534.system.js} +1 -1
- package/dist/ionic/{p-3bd5fedc.system.js → p-40388335.system.js} +1 -1
- package/dist/ionic/{p-7ff4f502.entry.js → p-41e70fa2.entry.js} +1 -1
- package/dist/ionic/{p-d37fdc68.system.entry.js → p-44fde7d5.system.entry.js} +1 -1
- package/dist/ionic/{p-4c44d04c.js → p-44ff75ea.js} +1 -1
- package/dist/ionic/{p-297d6806.system.js → p-455cd7cc.system.js} +1 -1
- package/dist/ionic/{p-ab7337e1.entry.js → p-460ffac7.entry.js} +1 -1
- package/dist/ionic/{p-2fa5a4b1.entry.js → p-48ded460.entry.js} +1 -1
- package/dist/ionic/{p-9df36075.system.entry.js → p-49d53551.system.entry.js} +1 -1
- package/dist/ionic/p-4b07c60a.system.js +4 -0
- package/dist/ionic/{p-2ab4a324.system.entry.js → p-4eeca839.system.entry.js} +1 -1
- package/dist/ionic/{p-5f4ff20a.entry.js → p-50e0ce13.entry.js} +1 -1
- package/dist/ionic/{p-4470f87b.system.entry.js → p-5578033e.system.entry.js} +1 -1
- package/dist/ionic/{p-1a9613bf.system.entry.js → p-579c78d2.system.entry.js} +1 -1
- package/dist/ionic/{p-eec4b772.entry.js → p-5b420123.entry.js} +1 -1
- package/dist/ionic/{p-c8bf9ba7.entry.js → p-5b97abc9.entry.js} +1 -1
- package/dist/ionic/p-5fb1321f.entry.js +4 -0
- package/dist/ionic/{p-a0a40004.system.entry.js → p-5fe5dc2c.system.entry.js} +1 -1
- package/dist/ionic/{p-b8c2dbcd.entry.js → p-607aa181.entry.js} +1 -1
- package/dist/ionic/p-61373098.js +4 -0
- package/dist/ionic/{p-023e8017.system.entry.js → p-6155027f.system.entry.js} +1 -1
- package/dist/ionic/{p-e00b72ce.js → p-624ecf03.js} +1 -1
- package/dist/ionic/{p-def7a8bd.system.entry.js → p-63d1da62.system.entry.js} +1 -1
- package/dist/ionic/{p-060e4551.js → p-64d8ac48.js} +1 -1
- package/dist/ionic/{p-b85d199c.entry.js → p-657ada6a.entry.js} +1 -1
- package/dist/ionic/{p-491de063.system.entry.js → p-65943bec.system.entry.js} +1 -1
- package/dist/ionic/{p-54893ae3.entry.js → p-65e732b9.entry.js} +1 -1
- package/dist/ionic/{p-a587b2ae.system.js → p-6c044a1d.system.js} +1 -1
- package/dist/ionic/{p-e4d4d8ac.system.entry.js → p-7058a5e4.system.entry.js} +1 -1
- package/dist/ionic/p-705fda69.system.js +4 -0
- package/dist/ionic/{p-a63b345e.system.entry.js → p-70abb1f2.system.entry.js} +1 -1
- package/dist/ionic/p-7514f2f5.entry.js +4 -0
- package/dist/ionic/{p-e0a05506.js → p-756e4559.js} +1 -1
- package/dist/ionic/p-772d1657.system.js +4 -0
- package/dist/ionic/{p-21371278.system.entry.js → p-77aa5fef.system.entry.js} +1 -1
- package/dist/ionic/{p-606887b7.system.entry.js → p-7b886108.system.entry.js} +1 -1
- package/dist/ionic/{p-f663de24.entry.js → p-7c9daa6f.entry.js} +1 -1
- package/dist/ionic/{p-e0c43e11.system.entry.js → p-824fe96b.system.entry.js} +1 -1
- package/dist/ionic/{p-13886789.entry.js → p-87b0d2c9.entry.js} +1 -1
- package/dist/ionic/{p-ff4a1ba0.system.entry.js → p-8b22be32.system.entry.js} +1 -1
- package/dist/ionic/{p-1d98a7f1.entry.js → p-8d98e2bb.entry.js} +1 -1
- package/dist/ionic/{p-ace2d2be.entry.js → p-8f94769b.entry.js} +1 -1
- package/dist/ionic/{p-e5c27d9f.system.entry.js → p-912131e9.system.entry.js} +1 -1
- package/dist/ionic/{p-042d5353.system.js → p-978bdf4c.system.js} +1 -1
- package/dist/ionic/p-9870728f.js +4 -0
- package/dist/ionic/{p-9a2ff5ea.system.js → p-9e45532a.system.js} +1 -1
- package/dist/ionic/{p-3be7cdeb.system.entry.js → p-a26d7667.system.entry.js} +1 -1
- package/dist/ionic/{p-24ae7b33.system.js → p-a3c931ad.system.js} +1 -1
- package/dist/ionic/{p-e5cf01f1.entry.js → p-a768ae50.entry.js} +1 -1
- package/dist/ionic/{p-888d383b.system.entry.js → p-a9198501.system.entry.js} +1 -1
- package/dist/ionic/{p-524ad57e.system.entry.js → p-ac09b6e9.system.entry.js} +1 -1
- package/dist/ionic/{p-ada878ce.entry.js → p-b1673667.entry.js} +1 -1
- package/dist/ionic/{p-c6a20407.system.entry.js → p-b1f9fbe8.system.entry.js} +1 -1
- package/dist/ionic/{p-838cc359.entry.js → p-b87a9f1d.entry.js} +1 -1
- package/dist/ionic/{p-e5708e5d.system.entry.js → p-b8a461f5.system.entry.js} +1 -1
- package/dist/ionic/{p-f554845e.js → p-b9fa7882.js} +1 -1
- package/dist/ionic/p-bf64af90.system.js +1 -1
- package/dist/ionic/{p-daf1e8ec.system.entry.js → p-c27c57ea.system.entry.js} +1 -1
- package/dist/ionic/{p-e7309bfa.js → p-c3f9d9fe.js} +1 -1
- package/dist/ionic/{p-49cb79a1.system.entry.js → p-c53c414d.system.entry.js} +1 -1
- package/dist/ionic/{p-8deac7df.system.entry.js → p-c609b315.system.entry.js} +1 -1
- package/dist/ionic/p-c63d8dc1.js +4 -0
- package/dist/ionic/{p-0be8a0b5.entry.js → p-cbebc567.entry.js} +1 -1
- package/dist/ionic/{p-b9f2e353.entry.js → p-ccb740ea.entry.js} +1 -1
- package/dist/ionic/{p-37a438ad.system.entry.js → p-cec54707.system.entry.js} +1 -1
- package/dist/ionic/p-d2664e0c.system.entry.js +4 -0
- package/dist/ionic/p-d40f2b7a.js +4 -0
- package/dist/ionic/{p-3479f51b.system.js → p-d70a9e6d.system.js} +1 -1
- package/dist/ionic/{p-4d0190ad.system.entry.js → p-d882f1e2.system.entry.js} +2 -2
- package/dist/ionic/{p-d8c9d5ac.system.entry.js → p-db3b409e.system.entry.js} +1 -1
- package/dist/ionic/{p-c5b5f44a.entry.js → p-dcfb7283.entry.js} +1 -1
- package/dist/ionic/{p-f94b2f2f.system.entry.js → p-df54ab6b.system.entry.js} +1 -1
- package/dist/ionic/{p-c8331397.system.entry.js → p-e0d0bc88.system.entry.js} +1 -1
- package/dist/ionic/{p-81474833.system.entry.js → p-e29c5aab.system.entry.js} +1 -1
- package/dist/ionic/{p-3af7b907.entry.js → p-e2ce5f8b.entry.js} +1 -1
- package/dist/ionic/{p-6e24cf82.entry.js → p-e3e4eed7.entry.js} +1 -1
- package/dist/ionic/{p-50f38461.entry.js → p-e4d2c281.entry.js} +1 -1
- package/dist/ionic/{p-8fa62efe.system.entry.js → p-e6cdfa96.system.entry.js} +1 -1
- package/dist/ionic/{p-42f6e75c.entry.js → p-e6e0331b.entry.js} +1 -1
- package/dist/ionic/{p-22fb2d77.system.entry.js → p-e89451e8.system.entry.js} +1 -1
- package/dist/ionic/{p-f02e9382.system.entry.js → p-e958e381.system.entry.js} +1 -1
- package/dist/ionic/p-ece78e7b.js +4 -0
- package/dist/ionic/{p-51c363e7.system.js → p-ee86cfff.system.js} +1 -1
- package/dist/ionic/{p-9e51f822.js → p-ef4292b9.js} +1 -1
- package/dist/ionic/{p-6797c66e.system.js → p-f23124c4.system.js} +1 -1
- package/dist/ionic/{p-b6174297.entry.js → p-f834322a.entry.js} +1 -1
- package/dist/ionic/{p-81378456.system.entry.js → p-f896194a.system.entry.js} +1 -1
- package/dist/ionic/{p-0749768d.entry.js → p-fa70eaab.entry.js} +1 -1
- package/dist/ionic/{p-2ee9a2c6.entry.js → p-ff6be116.entry.js} +1 -1
- package/dist/ionic/{p-4c94580e.js → p-ffa3ba3c.js} +1 -1
- package/dist/types/components/picker/picker.d.ts +0 -8
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/utils/helpers.d.ts +0 -1
- package/hydrate/index.js +98 -107
- package/hydrate/index.mjs +98 -107
- package/package.json +1 -1
- package/dist/esm-es5/helpers-e48b0397.js +0 -4
- package/dist/esm-es5/index-a313df53.js +0 -4
- package/dist/esm-es5/md.transition-3d0d3730.js +0 -4
- package/dist/esm-es5/swipe-back-276cda49.js +0 -4
- package/dist/ionic/p-2027221d.js +0 -4
- package/dist/ionic/p-54e9620f.js +0 -4
- package/dist/ionic/p-5eb6f582.system.js +0 -4
- package/dist/ionic/p-72e6a9c6.entry.js +0 -4
- package/dist/ionic/p-77991411.system.js +0 -4
- package/dist/ionic/p-941c06bc.js +0 -4
- package/dist/ionic/p-988a0306.system.js +0 -4
- package/dist/ionic/p-b9ea58ef.js +0 -4
- package/dist/ionic/p-c8402249.js +0 -4
- package/dist/ionic/p-d6753868.entry.js +0 -4
- package/dist/ionic/p-ed768b77.entry.js +0 -4
- package/dist/ionic/p-eeee3990.system.entry.js +0 -4
- package/dist/ionic/p-f6bb9be7.system.entry.js +0 -4
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { w as writeTask, r as registerInstance, c as createEvent, d as readTask, h, f as getElement, e as Host } from './index-527b9e34.js';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
6
|
-
import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index-
|
|
7
|
-
import { t as transitionEndAsync, c as componentOnReady, j as clamp, g as getElementRoot, r as raf } from './helpers-
|
|
6
|
+
import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index-e919e353.js';
|
|
7
|
+
import { t as transitionEndAsync, c as componentOnReady, j as clamp, g as getElementRoot, r as raf } from './helpers-78efeec3.js';
|
|
8
8
|
import { d as hapticImpact, I as ImpactStyle } from './haptic-ac164e4c.js';
|
|
9
9
|
import { b as getIonMode, c as config } from './ionic-global-ca86cf32.js';
|
|
10
10
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import { r as registerInstance, h, e as Host, f as getElement, c as createEvent } from './index-527b9e34.js';
|
|
5
5
|
import { j as reorderThreeOutline, k as reorderTwoSharp } from './index-e2cf2ceb.js';
|
|
6
6
|
import { b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
7
|
-
import { f as findClosestIonContent, g as getScrollElement } from './index-
|
|
8
|
-
import { r as raf } from './helpers-
|
|
7
|
+
import { f as findClosestIonContent, g as getScrollElement } from './index-e919e353.js';
|
|
8
|
+
import { r as raf } from './helpers-78efeec3.js';
|
|
9
9
|
import { a as hapticSelectionStart, b as hapticSelectionChanged, h as hapticSelectionEnd } from './haptic-ac164e4c.js';
|
|
10
10
|
import './index-738d7504.js';
|
|
11
11
|
import './capacitor-59395cbd.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, f as getElement, h, e as Host } from './index-527b9e34.js';
|
|
5
|
-
import { c as componentOnReady,
|
|
5
|
+
import { c as componentOnReady, p as debounce } from './helpers-78efeec3.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses } from './theme-01f3f29c.js';
|
|
7
7
|
import { b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, i as forceUpdate, h, e as Host, f as getElement } from './index-527b9e34.js';
|
|
5
|
-
import { e as debounceEvent, h as inheritAttributes, c as componentOnReady, r as raf } from './helpers-
|
|
5
|
+
import { e as debounceEvent, h as inheritAttributes, c as componentOnReady, r as raf } from './helpers-78efeec3.js';
|
|
6
6
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
7
7
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
8
8
|
import { a as arrowBackSharp, b as closeCircle, d as closeSharp, s as searchOutline, e as searchSharp } from './index-e2cf2ceb.js';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, h, e as Host, f as getElement } from './index-527b9e34.js';
|
|
5
5
|
|
|
6
|
-
const segmentViewIosCss = ":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}";
|
|
6
|
+
const segmentViewIosCss = ":host{display:-ms-flexbox;display:flex;min-height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}";
|
|
7
7
|
const IonSegmentViewIosStyle0 = segmentViewIosCss;
|
|
8
8
|
|
|
9
|
-
const segmentViewMdCss = ":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}";
|
|
9
|
+
const segmentViewMdCss = ":host{display:-ms-flexbox;display:flex;min-height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}";
|
|
10
10
|
const IonSegmentViewMdStyle0 = segmentViewMdCss;
|
|
11
11
|
|
|
12
12
|
const SegmentView = class {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, w as writeTask, h, e as Host, f as getElement, i as forceUpdate } from './index-527b9e34.js';
|
|
5
|
-
import { r as raf, a as addEventListener, b as removeEventListener, h as inheritAttributes
|
|
5
|
+
import { r as raf, a as addEventListener, b as removeEventListener, h as inheritAttributes } from './helpers-78efeec3.js';
|
|
6
6
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
7
7
|
import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
@@ -592,61 +592,15 @@ const SegmentButton = class {
|
|
|
592
592
|
valueChanged() {
|
|
593
593
|
this.updateState();
|
|
594
594
|
}
|
|
595
|
-
|
|
596
|
-
return new Promise((resolve, reject) => {
|
|
597
|
-
let timeoutId = undefined;
|
|
598
|
-
let animationFrameId;
|
|
599
|
-
const check = () => {
|
|
600
|
-
if (!ionSegment) {
|
|
601
|
-
reject(new Error(`Segment not found when looking for Segment Content`));
|
|
602
|
-
return;
|
|
603
|
-
}
|
|
604
|
-
const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
|
|
605
|
-
const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
|
|
606
|
-
if (segmentContent && timeoutId) {
|
|
607
|
-
clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
|
|
608
|
-
cancelAnimationFrame(animationFrameId);
|
|
609
|
-
resolve(segmentContent);
|
|
610
|
-
}
|
|
611
|
-
else {
|
|
612
|
-
animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
|
-
check();
|
|
616
|
-
// Set a timeout to reject the promise
|
|
617
|
-
timeoutId = setTimeout(() => {
|
|
618
|
-
cancelAnimationFrame(animationFrameId);
|
|
619
|
-
reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
|
|
620
|
-
}, 1000);
|
|
621
|
-
});
|
|
622
|
-
}
|
|
623
|
-
async connectedCallback() {
|
|
595
|
+
connectedCallback() {
|
|
624
596
|
const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
|
|
625
597
|
if (segmentEl) {
|
|
626
598
|
this.updateState();
|
|
627
599
|
addEventListener(segmentEl, 'ionSelect', this.updateState);
|
|
628
600
|
addEventListener(segmentEl, 'ionStyle', this.updateStyle);
|
|
629
601
|
}
|
|
630
|
-
// Return if there is no contentId defined
|
|
631
|
-
if (!this.contentId)
|
|
632
|
-
return;
|
|
633
|
-
let segmentContent;
|
|
634
|
-
try {
|
|
635
|
-
// Attempt to find the Segment Content by its contentId
|
|
636
|
-
segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
|
|
637
|
-
}
|
|
638
|
-
catch (error) {
|
|
639
|
-
// If no associated Segment Content exists, log an error and return
|
|
640
|
-
console.error('Segment Button: ', error.message);
|
|
641
|
-
return;
|
|
642
|
-
}
|
|
643
|
-
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
644
|
-
if (segmentContent.tagName !== 'ION-SEGMENT-CONTENT') {
|
|
645
|
-
console.error(`Segment Button: Element with id="${this.contentId}" is not an <ion-segment-content> element.`);
|
|
646
|
-
return;
|
|
647
|
-
}
|
|
648
602
|
// Prevent buttons from being disabled when associated with segment content
|
|
649
|
-
if (this.disabled) {
|
|
603
|
+
if (this.contentId && this.disabled) {
|
|
650
604
|
console.warn(`Segment Button: Segment buttons cannot be disabled when associated with an <ion-segment-content>.`);
|
|
651
605
|
this.disabled = false;
|
|
652
606
|
}
|
|
@@ -661,6 +615,21 @@ const SegmentButton = class {
|
|
|
661
615
|
}
|
|
662
616
|
componentWillLoad() {
|
|
663
617
|
this.inheritedAttributes = Object.assign({}, inheritAttributes(this.el, ['aria-label']));
|
|
618
|
+
// Return if there is no contentId defined
|
|
619
|
+
if (!this.contentId)
|
|
620
|
+
return;
|
|
621
|
+
// Attempt to find the Segment Content by its contentId
|
|
622
|
+
const segmentContent = document.getElementById(this.contentId);
|
|
623
|
+
// If no associated Segment Content exists, log an error and return
|
|
624
|
+
if (!segmentContent) {
|
|
625
|
+
console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);
|
|
626
|
+
return;
|
|
627
|
+
}
|
|
628
|
+
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
629
|
+
if (segmentContent.tagName !== 'ION-SEGMENT-CONTENT') {
|
|
630
|
+
console.error(`Segment Button: Element with id="${this.contentId}" is not an <ion-segment-content> element.`);
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
664
633
|
}
|
|
665
634
|
get hasLabel() {
|
|
666
635
|
return !!this.el.querySelector('ion-label');
|
|
@@ -683,7 +652,7 @@ const SegmentButton = class {
|
|
|
683
652
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
684
653
|
const mode = getIonMode(this);
|
|
685
654
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
686
|
-
return (h(Host, { key: '
|
|
655
|
+
return (h(Host, { key: 'f2f679a08b131cd35d63f649b9d1f1907df30a89', class: {
|
|
687
656
|
[mode]: true,
|
|
688
657
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
689
658
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -699,7 +668,7 @@ const SegmentButton = class {
|
|
|
699
668
|
'ion-activatable': true,
|
|
700
669
|
'ion-activatable-instant': true,
|
|
701
670
|
'ion-focusable': true,
|
|
702
|
-
} }, h("button", Object.assign({ key: '
|
|
671
|
+
} }, h("button", Object.assign({ key: '8e887b5031da705a3695c0870be08696d66188de', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '73b795c39cb09438e50922abf6b3a010e31fa2b6', class: "button-inner" }, h("slot", { key: '9769ddc917d7e459bd80dcd81c10c379e73d1b3e' })), mode === 'md' && h("ion-ripple-effect", { key: '8e4c06d6bae1034af8cc5db86fcca0ae72d042b1' })), h("div", { key: 'ae73ee0e429e54a43269f99b6d3d7e1c6e8f60cc', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'd38eabe8161403799cfbad73dd6bf912d965442c', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
703
672
|
}
|
|
704
673
|
get el() { return getElement(this); }
|
|
705
674
|
static get watchers() { return {
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, i as forceUpdate, e as Host, f as getElement } from './index-527b9e34.js';
|
|
5
5
|
import { b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
6
|
-
import { s as safeCall } from './overlays-
|
|
6
|
+
import { s as safeCall } from './overlays-1bc809ec.js';
|
|
7
7
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
8
8
|
import './index-a5d50daf.js';
|
|
9
|
-
import './helpers-
|
|
9
|
+
import './helpers-78efeec3.js';
|
|
10
10
|
import './hardware-back-button-864101a3.js';
|
|
11
|
-
import './framework-delegate-
|
|
11
|
+
import './framework-delegate-2eea1763.js';
|
|
12
12
|
import './gesture-controller-314a54f6.js';
|
|
13
13
|
import './index-738d7504.js';
|
|
14
14
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, h, e as Host, f as getElement, i as forceUpdate } from './index-527b9e34.js';
|
|
5
|
-
import { c as createNotchController } from './notch-controller-
|
|
5
|
+
import { c as createNotchController } from './notch-controller-00d92e89.js';
|
|
6
6
|
import { i as isOptionSelected, c as compareOptions } from './compare-with-utils-a96ff2ea.js';
|
|
7
|
-
import { h as inheritAttributes, d as renderHiddenInput, f as focusVisibleElement } from './helpers-
|
|
8
|
-
import { c as popoverController, b as actionSheetController, a as alertController, m as modalController, s as safeCall } from './overlays-
|
|
7
|
+
import { h as inheritAttributes, d as renderHiddenInput, f as focusVisibleElement } from './helpers-78efeec3.js';
|
|
8
|
+
import { c as popoverController, b as actionSheetController, a as alertController, m as modalController, s as safeCall } from './overlays-1bc809ec.js';
|
|
9
9
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
10
10
|
import { h as hostContext, c as createColorClasses, g as getClassMap } from './theme-01f3f29c.js';
|
|
11
11
|
import { w as watchForOptions } from './watch-options-c2911ace.js';
|
|
@@ -13,7 +13,7 @@ import { w as chevronExpand, q as caretDownSharp } from './index-e2cf2ceb.js';
|
|
|
13
13
|
import { b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
14
14
|
import './index-a5d50daf.js';
|
|
15
15
|
import './hardware-back-button-864101a3.js';
|
|
16
|
-
import './framework-delegate-
|
|
16
|
+
import './framework-delegate-2eea1763.js';
|
|
17
17
|
import './gesture-controller-314a54f6.js';
|
|
18
18
|
import './index-738d7504.js';
|
|
19
19
|
|
|
@@ -5,7 +5,7 @@ import { r as registerInstance, c as createEvent, h, e as Host, f as getElement
|
|
|
5
5
|
import { c as createKeyboardController } from './keyboard-controller-ec5c2bfa.js';
|
|
6
6
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
7
7
|
import { b as getIonMode, c as config } from './ionic-global-ca86cf32.js';
|
|
8
|
-
import { h as inheritAttributes } from './helpers-
|
|
8
|
+
import { h as inheritAttributes } from './helpers-78efeec3.js';
|
|
9
9
|
import './index-a5d50daf.js';
|
|
10
10
|
import './keyboard-73175e24.js';
|
|
11
11
|
import './capacitor-59395cbd.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, e as Host, f as getElement, c as createEvent } from './index-527b9e34.js';
|
|
5
|
-
import { a as attachComponent } from './framework-delegate-
|
|
6
|
-
import './helpers-
|
|
5
|
+
import { a as attachComponent } from './framework-delegate-2eea1763.js';
|
|
6
|
+
import './helpers-78efeec3.js';
|
|
7
7
|
|
|
8
8
|
const tabCss = ":host(.tab-hidden){display:none !important}";
|
|
9
9
|
const IonTabStyle0 = tabCss;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, i as forceUpdate, w as writeTask, h, e as Host, f as getElement } from './index-527b9e34.js';
|
|
5
|
-
import { c as createNotchController } from './notch-controller-
|
|
6
|
-
import { e as debounceEvent, i as inheritAriaAttributes, h as inheritAttributes, c as componentOnReady } from './helpers-
|
|
7
|
-
import { c as createSlotMutationController, g as getCounterText } from './input.utils-
|
|
5
|
+
import { c as createNotchController } from './notch-controller-00d92e89.js';
|
|
6
|
+
import { e as debounceEvent, i as inheritAriaAttributes, h as inheritAttributes, c as componentOnReady } from './helpers-78efeec3.js';
|
|
7
|
+
import { c as createSlotMutationController, g as getCounterText } from './input.utils-28bf4ef0.js';
|
|
8
8
|
import { h as hostContext, c as createColorClasses } from './theme-01f3f29c.js';
|
|
9
9
|
import { b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
10
10
|
import './index-a5d50daf.js';
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, h, e as Host, f as getElement } from './index-527b9e34.js';
|
|
5
5
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config-49c88215.js';
|
|
6
|
-
import { g as getElementRoot, r as raf } from './helpers-
|
|
6
|
+
import { g as getElementRoot, r as raf } from './helpers-78efeec3.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
8
|
import { p as printIonWarning } from './index-738d7504.js';
|
|
9
|
-
import { O as OVERLAY_GESTURE_PRIORITY, d as createDelegateController, e as createTriggerController, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall, G as GESTURE } from './overlays-
|
|
9
|
+
import { O as OVERLAY_GESTURE_PRIORITY, d as createDelegateController, e as createTriggerController, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall, G as GESTURE } from './overlays-1bc809ec.js';
|
|
10
10
|
import { c as createColorClasses, g as getClassMap } from './theme-01f3f29c.js';
|
|
11
11
|
import { c as config, b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
12
12
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
13
13
|
import { w as win } from './index-a5d50daf.js';
|
|
14
14
|
import { createGesture } from './index-39782642.js';
|
|
15
15
|
import './hardware-back-button-864101a3.js';
|
|
16
|
-
import './framework-delegate-
|
|
16
|
+
import './framework-delegate-2eea1763.js';
|
|
17
17
|
import './gesture-controller-314a54f6.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, c as createEvent, h, e as Host, f as getElement } from './index-527b9e34.js';
|
|
5
|
-
import { i as inheritAriaAttributes, d as renderHiddenInput } from './helpers-
|
|
5
|
+
import { i as inheritAriaAttributes, d as renderHiddenInput } from './helpers-78efeec3.js';
|
|
6
6
|
import { c as hapticSelection } from './haptic-ac164e4c.js';
|
|
7
7
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
8
8
|
import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
5
|
-
import { g as getIonPageElement } from './index-
|
|
5
|
+
import { g as getIonPageElement } from './index-ecb55b8d.js';
|
|
6
6
|
import './index-a5d50daf.js';
|
|
7
7
|
import './ionic-global-ca86cf32.js';
|
|
8
8
|
import './index-527b9e34.js';
|
|
9
9
|
import './index-738d7504.js';
|
|
10
|
-
import './helpers-
|
|
10
|
+
import './helpers-78efeec3.js';
|
|
11
11
|
|
|
12
12
|
const DURATION = 540;
|
|
13
13
|
// TODO(FW-2832): types
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
5
|
-
import { g as getIonPageElement } from './index-
|
|
5
|
+
import { g as getIonPageElement } from './index-ecb55b8d.js';
|
|
6
6
|
import './index-a5d50daf.js';
|
|
7
7
|
import './ionic-global-ca86cf32.js';
|
|
8
8
|
import './index-527b9e34.js';
|
|
9
9
|
import './index-738d7504.js';
|
|
10
|
-
import './helpers-
|
|
10
|
+
import './helpers-78efeec3.js';
|
|
11
11
|
|
|
12
12
|
const mdTransitionAnimation = (_, opts) => {
|
|
13
13
|
var _a, _b, _c;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index-a5d50daf.js';
|
|
5
|
-
import { r as raf } from './helpers-
|
|
5
|
+
import { r as raf } from './helpers-78efeec3.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A utility to calculate the size of an outline notch
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { f as focusVisibleElement, c as componentOnReady, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-
|
|
5
|
+
import { f as focusVisibleElement, c as componentOnReady, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-78efeec3.js';
|
|
6
6
|
import { OVERLAY_BACK_BUTTON_PRIORITY, shouldUseCloseWatcher } from './hardware-back-button-864101a3.js';
|
|
7
7
|
import { b as getIonMode, c as config, a as isPlatform } from './ionic-global-ca86cf32.js';
|
|
8
|
-
import { C as CoreDelegate } from './framework-delegate-
|
|
8
|
+
import { C as CoreDelegate } from './framework-delegate-2eea1763.js';
|
|
9
9
|
import { B as BACKDROP_NO_SCROLL } from './gesture-controller-314a54f6.js';
|
|
10
10
|
import { p as printIonWarning } from './index-738d7504.js';
|
|
11
11
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as readTask, w as writeTask } from './index-527b9e34.js';
|
|
5
|
-
import { f as findClosestIonContent, s as scrollToTop } from './index-
|
|
6
|
-
import { c as componentOnReady } from './helpers-
|
|
5
|
+
import { f as findClosestIonContent, s as scrollToTop } from './index-e919e353.js';
|
|
6
|
+
import { c as componentOnReady } from './helpers-78efeec3.js';
|
|
7
7
|
import './index-738d7504.js';
|
|
8
8
|
import './ionic-global-ca86cf32.js';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { j as clamp } from './helpers-
|
|
4
|
+
import { j as clamp } from './helpers-78efeec3.js';
|
|
5
5
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
6
6
|
import { createGesture } from './index-39782642.js';
|
|
7
7
|
import './gesture-controller-314a54f6.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as componentOnReady}from"./helpers-
|
|
4
|
+
*/import{c as componentOnReady}from"./helpers-78efeec3.js";var attachComponent=function(e,r,n,t,o,i){return __awaiter(void 0,void 0,void 0,(function(){var a,u;return __generator(this,(function(c){switch(c.label){case 0:if(e){return[2,e.attachViewToDom(r,n,o,t)]}if(!i&&typeof n!=="string"&&!(n instanceof HTMLElement)){throw new Error("framework delegate is missing")}u=typeof n==="string"?(a=r.ownerDocument)===null||a===void 0?void 0:a.createElement(n):n;if(t){t.forEach((function(e){return u.classList.add(e)}))}if(o){Object.assign(u,o)}r.appendChild(u);return[4,new Promise((function(e){return componentOnReady(u,e)}))];case 1:c.sent();return[2,u]}}))}))};var detachComponent=function(e,r){if(r){if(e){var n=r.parentElement;return e.removeViewFromDom(n,r)}r.remove()}return Promise.resolve()};var CoreDelegate=function(){var e;var r;var n=function(n,t){var o=[];for(var i=2;i<arguments.length;i++){o[i-2]=arguments[i]}return __awaiter(void 0,__spreadArray([n,t],o,true),void 0,(function(n,t,o,i){var a,u,c,f,s,d,v;if(o===void 0){o={}}if(i===void 0){i=[]}return __generator(this,(function(m){switch(m.label){case 0:e=n;if(!t)return[3,2];f=typeof t==="string"?(a=e.ownerDocument)===null||a===void 0?void 0:a.createElement(t):t;i.forEach((function(e){return f.classList.add(e)}));Object.assign(f,o);e.appendChild(f);c=f;return[4,new Promise((function(e){return componentOnReady(f,e)}))];case 1:m.sent();return[3,3];case 2:if(e.children.length>0&&(e.tagName==="ION-MODAL"||e.tagName==="ION-POPOVER")){s=c=e.children[0];if(!s.classList.contains("ion-delegate-host")){d=(u=e.ownerDocument)===null||u===void 0?void 0:u.createElement("div");d.classList.add("ion-delegate-host");i.forEach((function(e){return d.classList.add(e)}));d.append.apply(d,e.children);e.appendChild(d);c=d}}m.label=3;case 3:v=document.querySelector("ion-app")||document.body;r=document.createComment("ionic teleport");e.parentNode.insertBefore(r,e);v.appendChild(e);return[2,c!==null&&c!==void 0?c:e]}}))}))};var t=function(){if(e&&r){r.parentNode.insertBefore(e,r);r.remove()}return Promise.resolve()};return{attachViewToDom:n,removeViewFromDom:t}};export{CoreDelegate as C,attachComponent as a,detachComponent as d};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__spreadArray}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/var transitionEndAsync=function(a,r){if(r===void 0){r=0}return new Promise((function(i){transitionEnd(a,r,i)}))};var transitionEnd=function(a,r,i){if(r===void 0){r=0}var e;var n;var t={passive:true};var o=500;var u=function(){if(e){e()}};var s=function(r){if(r===undefined||a===r.target){u();i(r)}};if(a){a.addEventListener("webkitTransitionEnd",s,t);a.addEventListener("transitionend",s,t);n=setTimeout(s,r+o);e=function(){if(n!==undefined){clearTimeout(n);n=undefined}a.removeEventListener("webkitTransitionEnd",s,t);a.removeEventListener("transitionend",s,t)}}return u};var componentOnReady=function(a,r){if(a.componentOnReady){a.componentOnReady().then((function(a){return r(a)}))}else{raf((function(){return r(a)}))}};var hasLazyBuild=function(a){return a.componentOnReady!==undefined};var inheritAttributes=function(a,r){if(r===void 0){r=[]}var i={};r.forEach((function(r){if(a.hasAttribute(r)){var e=a.getAttribute(r);if(e!==null){i[r]=a.getAttribute(r)}a.removeAttribute(r)}}));return i};var ariaAttributes=["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"];var inheritAriaAttributes=function(a,r){var i=ariaAttributes;if(r&&r.length>0){i=i.filter((function(a){return!r.includes(a)}))}return inheritAttributes(a,i)};var addEventListener=function(a,r,i,e){return a.addEventListener(r,i,e)};var removeEventListener=function(a,r,i,e){return a.removeEventListener(r,i,e)};var getElementRoot=function(a,r){if(r===void 0){r=a}return a.shadowRoot||r};var raf=function(a){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(a)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(a)}return setTimeout(a)};var hasShadowDom=function(a){return!!a.shadowRoot&&!!a.attachShadow};var focusVisibleElement=function(a){a.focus();if(a.classList.contains("ion-focusable")){var r=a.closest("ion-app");if(r){r.setFocus([a])}}};var renderHiddenInput=function(a,r,i,e,n){if(a||hasShadowDom(r)){var t=r.querySelector("input.aux-input");if(!t){t=r.ownerDocument.createElement("input");t.type="hidden";t.classList.add("aux-input");r.appendChild(t)}t.disabled=n;t.name=i;t.value=e||""}};var clamp=function(a,r,i){return Math.max(a,Math.min(r,i))};var assert=function(a,r){if(!a){var i="ASSERT: "+r;console.error(i);debugger;throw new Error(i)}};var pointerCoord=function(a){if(a){var r=a.changedTouches;if(r&&r.length>0){var i=r[0];return{x:i.clientX,y:i.clientY}}if(a.pageX!==undefined){return{x:a.pageX,y:a.pageY}}}return{x:0,y:0}};var isEndSide=function(a){var r=document.dir==="rtl";switch(a){case"start":return r;case"end":return!r;default:throw new Error('"'.concat(a,'" is not a valid value for [side]. Use "start" or "end" instead.'))}};var debounceEvent=function(a,r){var i=a._original||a;return{_original:a,emit:debounce(i.emit.bind(i),r)}};var debounce=function(a,r){if(r===void 0){r=0}var i;return function(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}clearTimeout(i);i=setTimeout.apply(void 0,__spreadArray([a,r],e,false))}};var shallowEqualStringMap=function(a,r){a!==null&&a!==void 0?a:a={};r!==null&&r!==void 0?r:r={};if(a===r){return true}var i=Object.keys(a);if(i.length!==Object.keys(r).length){return false}for(var e=0,n=i;e<n.length;e++){var t=n[e];if(!(t in r)){return false}if(a[t]!==r[t]){return false}}return true};var isSafeNumber=function(a){return typeof a==="number"&&!isNaN(a)&&isFinite(a)};export{addEventListener as a,removeEventListener as b,componentOnReady as c,renderHiddenInput as d,debounceEvent as e,focusVisibleElement as f,getElementRoot as g,inheritAttributes as h,inheritAriaAttributes as i,clamp as j,hasLazyBuild as k,isSafeNumber as l,hasShadowDom as m,assert as n,isEndSide as o,debounce as p,pointerCoord as q,raf as r,shallowEqualStringMap as s,transitionEndAsync as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{d as doc}from"./index-a5d50daf.js";import{
|
|
4
|
+
import{d as doc}from"./index-a5d50daf.js";import{q as pointerCoord}from"./helpers-78efeec3.js";var startTapClick=function(e){if(doc===undefined){return}var r=0;var t;var n;var i;var a=e.getBoolean("animated",true)&&e.getBoolean("rippleEffect",true);var f=new WeakMap;var o=function(){if(i)clearTimeout(i);i=undefined;if(t){E(false);t=undefined}};var u=function(e){if(t||e.button===2){return}v(getActivatableTarget(e),e)};var c=function(e){v(undefined,e)};var v=function(e,r){if(e&&e===t){return}if(i)clearTimeout(i);i=undefined;var n=pointerCoord(r),a=n.x,o=n.y;if(t){if(f.has(t)){throw new Error("internal error")}if(!t.classList.contains(ACTIVATED)){d(t,a,o)}E(true)}if(e){var u=f.get(e);if(u){clearTimeout(u);f.delete(e)}e.classList.remove(ACTIVATED);var c=function(){d(e,a,o);i=undefined};if(isInstant(e)){c()}else{i=setTimeout(c,ADD_ACTIVATED_DEFERS)}}t=e};var d=function(e,t,i){r=Date.now();e.classList.add(ACTIVATED);if(!a)return;var f=getRippleEffect(e);if(f!==null){T();n=f.addRipple(t,i)}};var T=function(){if(n!==undefined){n.then((function(e){return e()}));n=undefined}};var E=function(e){T();var n=t;if(!n){return}var i=CLEAR_STATE_DEFERS-Date.now()+r;if(e&&i>0&&!isInstant(n)){var a=setTimeout((function(){n.classList.remove(ACTIVATED);f.delete(n)}),CLEAR_STATE_DEFERS);f.set(n,a)}else{n.classList.remove(ACTIVATED)}};doc.addEventListener("ionGestureCaptured",o);doc.addEventListener("pointerdown",u,true);doc.addEventListener("pointerup",c,true);doc.addEventListener("pointercancel",o,true)};var getActivatableTarget=function(e){if(e.composedPath!==undefined){var r=e.composedPath();for(var t=0;t<r.length-2;t++){var n=r[t];if(!(n instanceof ShadowRoot)&&n.classList.contains("ion-activatable")){return n}}}else{return e.target.closest(".ion-activatable")}};var isInstant=function(e){return e.classList.contains("ion-activatable-instant")};var getRippleEffect=function(e){if(e.shadowRoot){var r=e.shadowRoot.querySelector("ion-ripple-effect");if(r){return r}}return e.querySelector("ion-ripple-effect")};var ACTIVATED="ion-activated";var ADD_ACTIVATED_DEFERS=100;var CLEAR_STATE_DEFERS=150;export{startTapClick};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as componentOnReady}from"./helpers-
|
|
4
|
+
*/import{c as componentOnReady}from"./helpers-78efeec3.js";import{b as printRequiredElementError}from"./index-738d7504.js";var ION_CONTENT_TAG_NAME="ION-CONTENT";var ION_CONTENT_ELEMENT_SELECTOR="ion-content";var ION_CONTENT_CLASS_SELECTOR=".ion-content-scroll-host";var ION_CONTENT_SELECTOR="".concat(ION_CONTENT_ELEMENT_SELECTOR,", ").concat(ION_CONTENT_CLASS_SELECTOR);var isIonContent=function(n){return n.tagName===ION_CONTENT_TAG_NAME};var getScrollElement=function(n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!isIonContent(n))return[3,2];return[4,new Promise((function(r){return componentOnReady(n,r)}))];case 1:r.sent();return[2,n.getScrollElement()];case 2:return[2,n]}}))}))};var findIonContent=function(n){var r=n.querySelector(ION_CONTENT_CLASS_SELECTOR);if(r){return r}return n.querySelector(ION_CONTENT_SELECTOR)};var findClosestIonContent=function(n){return n.closest(ION_CONTENT_SELECTOR)};var scrollToTop=function(n,r){if(isIonContent(n)){var t=n;return t.scrollToTop(r)}return Promise.resolve(n.scrollTo({top:0,left:0,behavior:r>0?"smooth":"auto"}))};var scrollByPoint=function(n,r,t,o){if(isIonContent(n)){var e=n;return e.scrollByPoint(r,t,o)}return Promise.resolve(n.scrollBy({top:t,left:r,behavior:o>0?"smooth":"auto"}))};var printIonContentErrorMsg=function(n){return printRequiredElementError(n,ION_CONTENT_ELEMENT_SELECTOR)};var disableContentScrollY=function(n){if(isIonContent(n)){var r=n;var t=r.scrollY;r.scrollY=false;return t}else{n.style.setProperty("overflow","hidden");return true}};var resetContentScrollY=function(n,r){if(isIonContent(n)){n.scrollY=r}else{n.style.removeProperty("overflow")}};export{ION_CONTENT_CLASS_SELECTOR as I,findIonContent as a,ION_CONTENT_ELEMENT_SELECTOR as b,scrollByPoint as c,disableContentScrollY as d,findClosestIonContent as f,getScrollElement as g,isIonContent as i,printIonContentErrorMsg as p,resetContentScrollY as r,scrollToTop as s};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__awaiter,__generator}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/import{c as config}from"./ionic-global-ca86cf32.js";import{w as writeTask,B as Build}from"./index-527b9e34.js";import{p as printIonWarning}from"./index-738d7504.js";import{r as raf}from"./helpers-78efeec3.js";var LIFECYCLE_WILL_ENTER="ionViewWillEnter";var LIFECYCLE_DID_ENTER="ionViewDidEnter";var LIFECYCLE_WILL_LEAVE="ionViewWillLeave";var LIFECYCLE_DID_LEAVE="ionViewDidLeave";var LIFECYCLE_WILL_UNLOAD="ionViewWillUnload";var moveFocus=function(e){e.tabIndex=-1;e.focus()};var isVisible=function(e){return e.offsetParent!==null};var createFocusController=function(){var e=function(e){var n=config.get("focusManagerPriority",false);if(n){var r=document.activeElement;if(r!==null&&(e===null||e===void 0?void 0:e.contains(r))){r.setAttribute(LAST_FOCUS,"true")}}};var n=function(e){var n=config.get("focusManagerPriority",false);if(Array.isArray(n)&&!e.contains(document.activeElement)){var r=e.querySelector("[".concat(LAST_FOCUS,"]"));if(r&&isVisible(r)){moveFocus(r);return}for(var i=0,t=n;i<t.length;i++){var a=t[i];switch(a){case"content":var o=e.querySelector('main, [role="main"]');if(o&&isVisible(o)){moveFocus(o);return}break;case"heading":var s=e.querySelector('h1, [role="heading"][aria-level="1"]');if(s&&isVisible(s)){moveFocus(s);return}break;case"banner":var u=e.querySelector('header, [role="banner"]');if(u&&isVisible(u)){moveFocus(u);return}break;default:printIonWarning("Unrecognized focus manager priority value ".concat(a));break}}moveFocus(e)}};return{saveViewFocus:e,setViewFocus:n}};var LAST_FOCUS="ion-last-focus";var iosTransitionAnimation=function(){return import("./ios.transition-7fe5dbea.js")};var mdTransitionAnimation=function(){return import("./md.transition-8dc58b46.js")};var focusController=createFocusController();var transition=function(e){return new Promise((function(n,r){writeTask((function(){beforeTransition(e);runTransition(e).then((function(r){if(r.animation){r.animation.destroy()}afterTransition(e);n(r)}),(function(n){afterTransition(e);r(n)}))}))}))};var beforeTransition=function(e){var n=e.enteringEl;var r=e.leavingEl;focusController.saveViewFocus(r);setZIndex(n,r,e.direction);if(e.showGoBack){n.classList.add("can-go-back")}else{n.classList.remove("can-go-back")}setPageHidden(n,false);n.style.setProperty("pointer-events","none");if(r){setPageHidden(r,false);r.style.setProperty("pointer-events","none")}};var runTransition=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n,r;return __generator(this,(function(i){switch(i.label){case 0:return[4,getAnimationBuilder(e)];case 1:n=i.sent();r=n&&Build.isBrowser?animation(n,e):noAnimation(e);return[2,r]}}))}))};var afterTransition=function(e){var n=e.enteringEl;var r=e.leavingEl;n.classList.remove("ion-page-invisible");n.style.removeProperty("pointer-events");if(r!==undefined){r.classList.remove("ion-page-invisible");r.style.removeProperty("pointer-events")}focusController.setViewFocus(n)};var getAnimationBuilder=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n,r;return __generator(this,(function(i){switch(i.label){case 0:if(!e.leavingEl||!e.animated||e.duration===0){return[2,undefined]}if(e.animationBuilder){return[2,e.animationBuilder]}if(!(e.mode==="ios"))return[3,2];return[4,iosTransitionAnimation()];case 1:r=i.sent().iosTransitionAnimation;return[3,4];case 2:return[4,mdTransitionAnimation()];case 3:r=i.sent().mdTransitionAnimation;i.label=4;case 4:n=r;return[2,n]}}))}))};var animation=function(e,n){return __awaiter(void 0,void 0,void 0,(function(){var r,i;return __generator(this,(function(t){switch(t.label){case 0:return[4,waitForReady(n,true)];case 1:t.sent();r=e(n.baseEl,n);fireWillEvents(n.enteringEl,n.leavingEl);return[4,playTransition(r,n)];case 2:i=t.sent();if(n.progressCallback){n.progressCallback(undefined)}if(i){fireDidEvents(n.enteringEl,n.leavingEl)}return[2,{hasCompleted:i,animation:r}]}}))}))};var noAnimation=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n,r,i;return __generator(this,(function(t){switch(t.label){case 0:n=e.enteringEl;r=e.leavingEl;i=config.get("focusManagerPriority",false);return[4,waitForReady(e,i)];case 1:t.sent();fireWillEvents(n,r);fireDidEvents(n,r);return[2,{hasCompleted:true}]}}))}))};var waitForReady=function(e,n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=e.deepWait!==undefined?e.deepWait:n;if(!r)return[3,2];return[4,Promise.all([deepReady(e.enteringEl),deepReady(e.leavingEl)])];case 1:i.sent();i.label=2;case 2:return[4,notifyViewReady(e.viewIsReady,e.enteringEl)];case 3:i.sent();return[2]}}))}))};var notifyViewReady=function(e,n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!e)return[3,2];return[4,e(n)];case 1:r.sent();r.label=2;case 2:return[2]}}))}))};var playTransition=function(e,n){var r=n.progressCallback;var i=new Promise((function(n){e.onFinish((function(e){return n(e===1)}))}));if(r){e.progressStart(true);r(e)}else{e.play()}return i};var fireWillEvents=function(e,n){lifecycle(n,LIFECYCLE_WILL_LEAVE);lifecycle(e,LIFECYCLE_WILL_ENTER)};var fireDidEvents=function(e,n){lifecycle(e,LIFECYCLE_DID_ENTER);lifecycle(n,LIFECYCLE_DID_LEAVE)};var lifecycle=function(e,n){if(e){var r=new CustomEvent(n,{bubbles:false,cancelable:false});e.dispatchEvent(r)}};var waitForMount=function(){return new Promise((function(e){return raf((function(){return raf((function(){return e()}))}))}))};var deepReady=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n,r,i;return __generator(this,(function(t){switch(t.label){case 0:n=e;if(!n)return[3,6];if(!(n.componentOnReady!=null))return[3,2];return[4,n.componentOnReady()];case 1:r=t.sent();if(r!=null){return[2]}return[3,4];case 2:if(!(n.__registerHost!=null))return[3,4];i=new Promise((function(e){return raf(e)}));return[4,i];case 3:t.sent();return[2];case 4:return[4,Promise.all(Array.from(n.children).map(deepReady))];case 5:t.sent();t.label=6;case 6:return[2]}}))}))};var setPageHidden=function(e,n){if(n){e.setAttribute("aria-hidden","true");e.classList.add("ion-page-hidden")}else{e.hidden=false;e.removeAttribute("aria-hidden");e.classList.remove("ion-page-hidden")}};var setZIndex=function(e,n,r){if(e!==undefined){e.style.zIndex=r==="back"?"99":"101"}if(n!==undefined){n.style.zIndex="100"}};var getIonPageElement=function(e){if(e.classList.contains("ion-page")){return e}var n=e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");if(n){return n}return e};export{LIFECYCLE_WILL_ENTER as L,LIFECYCLE_DID_ENTER as a,LIFECYCLE_WILL_LEAVE as b,LIFECYCLE_DID_LEAVE as c,LIFECYCLE_WILL_UNLOAD as d,deepReady as e,getIonPageElement as g,lifecycle as l,setPageHidden as s,transition as t,waitForMount as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{d as doc}from"./index-a5d50daf.js";import{MENU_BACK_BUTTON_PRIORITY}from"./hardware-back-button-864101a3.js";import{p as printIonWarning}from"./index-738d7504.js";import{c as componentOnReady}from"./helpers-
|
|
4
|
+
*/import{d as doc}from"./index-a5d50daf.js";import{MENU_BACK_BUTTON_PRIORITY}from"./hardware-back-button-864101a3.js";import{p as printIonWarning}from"./index-738d7504.js";import{c as componentOnReady}from"./helpers-78efeec3.js";import{b as getIonMode}from"./ionic-global-ca86cf32.js";import{c as createAnimation}from"./animation-eab5a4ca.js";var baseAnimation=function(n){return createAnimation().duration(n?400:300)};var menuOverlayAnimation=function(n){var r;var e;var t=n.width+8;var i=createAnimation();var a=createAnimation();if(n.isEndSide){r=t+"px";e="0px"}else{r=-t+"px";e="0px"}i.addElement(n.menuInnerEl).fromTo("transform","translateX(".concat(r,")"),"translateX(".concat(e,")"));var o=getIonMode(n);var u=o==="ios";var s=u?.2:.25;a.addElement(n.backdropEl).fromTo("opacity",.01,s);return baseAnimation(u).addAnimation([i,a])};var menuPushAnimation=function(n){var r;var e;var t=getIonMode(n);var i=n.width;if(n.isEndSide){r=-i+"px";e=i+"px"}else{r=i+"px";e=-i+"px"}var a=createAnimation().addElement(n.menuInnerEl).fromTo("transform","translateX(".concat(e,")"),"translateX(0px)");var o=createAnimation().addElement(n.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(r,")"));var u=createAnimation().addElement(n.backdropEl).fromTo("opacity",.01,.32);return baseAnimation(t==="ios").addAnimation([a,o,u])};var menuRevealAnimation=function(n){var r=getIonMode(n);var e=n.width*(n.isEndSide?-1:1)+"px";var t=createAnimation().addElement(n.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(e,")"));return baseAnimation(r==="ios").addAnimation(t)};var createMenuController=function(){var n=new Map;var r=[];var e=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n,true)];case 1:r=e.sent();if(r){return[2,r.open()]}return[2,false]}}))}))};var t=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,n!==undefined?c(n,true):f()];case 1:r=e.sent();if(r!==undefined){return[2,r.close()]}return[2,false]}}))}))};var i=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n,true)];case 1:r=e.sent();if(r){return[2,r.toggle()]}return[2,false]}}))}))};var a=function(n,r){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,c(r)];case 1:e=t.sent();if(e){e.disabled=!n}return[2,e]}}))}))};var o=function(n,r){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,c(r)];case 1:e=t.sent();if(e){e.swipeGesture=n}return[2,e]}}))}))};var u=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r,r;return __generator(this,(function(e){switch(e.label){case 0:if(!(n!=null))return[3,2];return[4,c(n)];case 1:r=e.sent();return[2,r!==undefined&&r.isOpen()];case 2:return[4,f()];case 3:r=e.sent();return[2,r!==undefined]}}))}))};var s=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n)];case 1:r=e.sent();if(r){return[2,!r.disabled]}return[2,false]}}))}))};var c=function(n){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return __awaiter(void 0,__spreadArray([n],e,true),void 0,(function(n,e){var t,i,a;if(e===void 0){e=false}return __generator(this,(function(o){switch(o.label){case 0:return[4,x()];case 1:o.sent();if(n==="start"||n==="end"){t=r.filter((function(r){return r.side===n&&!r.disabled}));if(t.length>=1){if(t.length>1&&e){printIonWarning('menuController queried for a menu on the "'.concat(n,'" side, but ').concat(t.length," menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side."),t.map((function(n){return n.el})))}return[2,t[0].el]}i=r.filter((function(r){return r.side===n}));if(i.length>=1){if(i.length>1&&e){printIonWarning('menuController queried for a menu on the "'.concat(n,'" side, but ').concat(i.length," menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side."),i.map((function(n){return n.el})))}return[2,i[0].el]}}else if(n!=null){return[2,b((function(r){return r.menuId===n}))]}a=b((function(n){return!n.disabled}));if(a){return[2,a]}return[2,r.length>0?r[0].el:undefined]}}))}))};var f=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,x()];case 1:n.sent();return[2,w()]}}))}))};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,x()];case 1:n.sent();return[2,g()]}}))}))};var d=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,x()];case 1:n.sent();return[2,A()]}}))}))};var _=function(r,e){n.set(r,e)};var m=function(n){if(r.indexOf(n)<0){r.push(n)}};var l=function(n){var e=r.indexOf(n);if(e>-1){r.splice(e,1)}};var h=function(n,r,e,t){return __awaiter(void 0,void 0,void 0,(function(){var i;return __generator(this,(function(a){switch(a.label){case 0:if(A()){return[2,false]}if(!r)return[3,3];return[4,f()];case 1:i=a.sent();if(!(i&&n.el!==i))return[3,3];return[4,i.setOpen(false,false)];case 2:a.sent();a.label=3;case 3:return[2,n._setOpen(r,e,t)]}}))}))};var p=function(r,e){var t=n.get(r);if(!t){throw new Error("animation not registered")}var i=t(e);return i};var w=function(){return b((function(n){return n._isOpen}))};var g=function(){return r.map((function(n){return n.el}))};var A=function(){return r.some((function(n){return n.isAnimating}))};var b=function(n){var e=r.find(n);if(e!==undefined){return e.el}return undefined};var x=function(){return Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((function(n){return new Promise((function(r){return componentOnReady(n,r)}))})))};_("reveal",menuRevealAnimation);_("push",menuPushAnimation);_("overlay",menuOverlayAnimation);doc===null||doc===void 0?void 0:doc.addEventListener("ionBackButton",(function(n){var r=w();if(r){n.detail.register(MENU_BACK_BUTTON_PRIORITY,(function(){return r.close()}))}}));return{registerAnimation:_,get:c,getMenus:v,getOpen:f,isEnabled:s,swipeGesture:o,isAnimating:d,isOpen:u,enable:a,toggle:i,close:t,open:e,_getOpenSync:w,_createAnimation:p,_register:m,_unregister:l,_setOpen:h}};var menuController=createMenuController();export{menuController as m};
|
package/dist/esm-es5/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
export{c as createAnimation}from"./animation-eab5a4ca.js";export{a as LIFECYCLE_DID_ENTER,c as LIFECYCLE_DID_LEAVE,L as LIFECYCLE_WILL_ENTER,b as LIFECYCLE_WILL_LEAVE,d as LIFECYCLE_WILL_UNLOAD,g as getIonPageElement}from"./index-
|
|
4
|
+
export{c as createAnimation}from"./animation-eab5a4ca.js";export{a as LIFECYCLE_DID_ENTER,c as LIFECYCLE_DID_LEAVE,L as LIFECYCLE_WILL_ENTER,b as LIFECYCLE_WILL_LEAVE,d as LIFECYCLE_WILL_UNLOAD,g as getIonPageElement}from"./index-ecb55b8d.js";export{iosTransitionAnimation}from"./ios.transition-7fe5dbea.js";export{mdTransitionAnimation}from"./md.transition-8dc58b46.js";export{g as getTimeGivenProgression}from"./cubic-bezier-fe2083dc.js";export{createGesture}from"./index-39782642.js";export{g as getPlatforms,i as initialize,a as isPlatform}from"./ionic-global-ca86cf32.js";export{c as componentOnReady}from"./helpers-78efeec3.js";export{I as IonicSafeString,g as getMode,s as setupConfig}from"./config-49c88215.js";export{o as openURL}from"./theme-01f3f29c.js";export{m as menuController}from"./index-f9f5d018.js";export{b as actionSheetController,a as alertController,l as loadingController,m as modalController,p as pickerController,c as popoverController,t as toastController}from"./overlays-1bc809ec.js";import"./index-a5d50daf.js";import"./index-527b9e34.js";import"./index-738d7504.js";import"./gesture-controller-314a54f6.js";import"./hardware-back-button-864101a3.js";import"./framework-delegate-2eea1763.js";var IonicSlides=function(e){var o=e.swiper,t=e.extendParams;var s={effect:undefined,direction:"horizontal",initialSlide:0,loop:false,parallax:false,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:false,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:false,freeModeMomentum:true,freeModeMomentumRatio:1,freeModeMomentumBounce:true,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:false,freeModeMinimumVelocity:.02,autoHeight:false,setWrapperSize:false,zoom:{maxRatio:3,minRatio:1,toggle:false},touchRatio:1,touchAngle:45,simulateTouch:true,touchStartPreventDefault:false,shortSwipes:true,longSwipes:true,longSwipesRatio:.5,longSwipesMs:300,followFinger:true,threshold:0,touchMoveStopPropagation:true,touchReleaseOnEdges:false,iOSEdgeSwipeDetection:false,iOSEdgeSwipeThreshold:20,resistance:true,resistanceRatio:.85,watchSlidesProgress:false,watchSlidesVisibility:false,preventClicks:true,preventClicksPropagation:true,slideToClickedSlide:false,loopAdditionalSlides:0,noSwiping:true,runCallbacksOnInit:true,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:true},flipEffect:{slideShadows:true,limitRotation:true},cubeEffect:{slideShadows:true,shadow:true,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:false},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};if(o.pagination){s.pagination={type:"bullets",clickable:false,hideOnClick:false}}if(o.scrollbar){s.scrollbar={hide:true}}t(s)};export{IonicSlides};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{w as win,d as doc}from"./index-a5d50daf.js";import{g as getScrollElement,c as scrollByPoint,f as findClosestIonContent}from"./index-
|
|
4
|
+
*/import{w as win,d as doc}from"./index-a5d50daf.js";import{g as getScrollElement,c as scrollByPoint,f as findClosestIonContent}from"./index-e919e353.js";import{a as addEventListener,b as removeEventListener,r as raf,c as componentOnReady}from"./helpers-78efeec3.js";import{a as KeyboardResize,K as Keyboard}from"./keyboard-73175e24.js";import"./index-738d7504.js";import"./ionic-global-ca86cf32.js";import"./index-527b9e34.js";import"./capacitor-59395cbd.js";var cloneMap=new WeakMap;var relocateInput=function(r,n,e,t,i){if(t===void 0){t=0}if(i===void 0){i=false}if(cloneMap.has(r)===e){return}if(e){addClone(r,n,t,i)}else{removeClone(r,n)}};var isFocused=function(r){return r===r.getRootNode().activeElement};var addClone=function(r,n,e,t){if(t===void 0){t=false}var i=n.parentNode;var o=n.cloneNode(false);o.classList.add("cloned-input");o.tabIndex=-1;if(t){o.disabled=true}i.appendChild(o);cloneMap.set(r,o);var a=r.ownerDocument;var u=a.dir==="rtl"?9999:-9999;r.style.pointerEvents="none";n.style.transform="translate3d(".concat(u,"px,").concat(e,"px,0) scale(0)")};var removeClone=function(r,n){var e=cloneMap.get(r);if(e){cloneMap.delete(r);e.remove()}r.style.pointerEvents="";n.style.transform=""};var SCROLL_AMOUNT_PADDING=50;var enableHideCaretOnScroll=function(r,n,e){if(!e||!n){return function(){return}}var t=function(e){if(isFocused(n)){relocateInput(r,n,e)}};var i=function(){return relocateInput(r,n,false)};var o=function(){return t(true)};var a=function(){return t(false)};addEventListener(e,"ionScrollStart",o);addEventListener(e,"ionScrollEnd",a);n.addEventListener("blur",i);return function(){removeEventListener(e,"ionScrollStart",o);removeEventListener(e,"ionScrollEnd",a);n.removeEventListener("blur",i)}};var SKIP_SELECTOR="input, textarea, [no-blur], [contenteditable]";var enableInputBlurring=function(){var r=true;var n=false;var e=document;var t=function(){n=true};var i=function(){r=true};var o=function(t){if(n){n=false;return}var i=e.activeElement;if(!i){return}if(i.matches(SKIP_SELECTOR)){return}var o=t.target;if(o===i){return}if(o.matches(SKIP_SELECTOR)||o.closest(SKIP_SELECTOR)){return}r=false;setTimeout((function(){if(!r){i.blur()}}),50)};addEventListener(e,"ionScrollStart",t);e.addEventListener("focusin",i,true);e.addEventListener("touchend",o,false);return function(){removeEventListener(e,"ionScrollStart",t,true);e.removeEventListener("focusin",i,true);e.removeEventListener("touchend",o,false)}};var SCROLL_ASSIST_SPEED=.3;var getScrollData=function(r,n,e,t){var i;var o=(i=r.closest("ion-item,[ion-item]"))!==null&&i!==void 0?i:r;return calcScrollData(o.getBoundingClientRect(),n.getBoundingClientRect(),e,t)};var calcScrollData=function(r,n,e,t){var i=r.top;var o=r.bottom;var a=n.top;var u=Math.min(n.bottom,t-e);var c=a+15;var d=u-SCROLL_AMOUNT_PADDING;var f=d-o;var l=c-i;var s=Math.round(f<0?-f:l>0?-l:0);var v=Math.min(s,i-a);var S=Math.abs(v);var _=S/SCROLL_ASSIST_SPEED;var w=Math.min(400,Math.max(150,_));return{scrollAmount:v,scrollDuration:w,scrollPadding:e,inputSafeY:-(i-c)+4}};var PADDING_TIMER_KEY="$ionPaddingTimer";var setScrollPadding=function(r,n,e){var t=r[PADDING_TIMER_KEY];if(t){clearTimeout(t)}if(n>0){r.style.setProperty("--keyboard-offset","".concat(n,"px"))}else{r[PADDING_TIMER_KEY]=setTimeout((function(){r.style.setProperty("--keyboard-offset","0px");if(e){e()}}),120)}};var setClearScrollPaddingListener=function(r,n,e){var t=function(){if(n){setScrollPadding(n,0,e)}};r.addEventListener("focusout",t,{once:true})};var currentPadding=0;var SKIP_SCROLL_ASSIST="data-ionic-skip-scroll-assist";var enableScrollAssist=function(r,n,e,t,i,o,a,u){if(u===void 0){u=false}var c=o&&(a===undefined||a.mode===KeyboardResize.None);var d=false;var f=win!==undefined?win.innerHeight:0;var l=function(i){if(d===false){d=true;return}jsSetFocus(r,n,e,t,i.detail.keyboardHeight,c,u,f,false)};var s=function(){d=false;win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",l);r.removeEventListener("focusout",s)};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){if(n.hasAttribute(SKIP_SCROLL_ASSIST)){n.removeAttribute(SKIP_SCROLL_ASSIST);return[2]}jsSetFocus(r,n,e,t,i,c,u,f);win===null||win===void 0?void 0:win.addEventListener("ionKeyboardDidShow",l);r.addEventListener("focusout",s);return[2]}))}))};r.addEventListener("focusin",v);return function(){r.removeEventListener("focusin",v);win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",l);r.removeEventListener("focusout",s)}};var setManualFocus=function(r){if(document.activeElement===r){return}r.setAttribute(SKIP_SCROLL_ASSIST,"true");r.focus()};var jsSetFocus=function(r,n,e,t,i,o){var a=[];for(var u=6;u<arguments.length;u++){a[u-6]=arguments[u]}return __awaiter(void 0,__spreadArray([r,n,e,t,i,o],a,true),void 0,(function(r,n,e,t,i,o,a,u,c){var d,f,l,s,v,S;if(a===void 0){a=false}if(u===void 0){u=0}if(c===void 0){c=true}return __generator(this,(function(_){switch(_.label){case 0:if(!e&&!t){return[2]}d=getScrollData(r,e||t,i,u);if(e&&Math.abs(d.scrollAmount)<4){setManualFocus(n);if(o&&e!==null){setScrollPadding(e,currentPadding);setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}relocateInput(r,n,true,d.inputSafeY,a);setManualFocus(n);raf((function(){return r.click()}));if(o&&e){currentPadding=d.scrollPadding;setScrollPadding(e,currentPadding)}if(!(typeof window!=="undefined"))return[3,3];l=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(f!==undefined){clearTimeout(f)}window.removeEventListener("ionKeyboardDidShow",s);window.removeEventListener("ionKeyboardDidShow",l);if(!e)return[3,2];return[4,scrollByPoint(e,0,d.scrollAmount,d.scrollDuration)];case 1:t.sent();t.label=2;case 2:relocateInput(r,n,false,d.inputSafeY);setManualFocus(n);if(o){setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}}))}))};s=function(){window.removeEventListener("ionKeyboardDidShow",s);window.addEventListener("ionKeyboardDidShow",l)};if(!e)return[3,2];return[4,getScrollElement(e)];case 1:v=_.sent();S=v.scrollHeight-v.clientHeight;if(c&&d.scrollAmount>S-v.scrollTop){if(n.type==="password"){d.scrollAmount+=SCROLL_AMOUNT_PADDING;window.addEventListener("ionKeyboardDidShow",s)}else{window.addEventListener("ionKeyboardDidShow",l)}f=setTimeout(l,1e3);return[2]}_.label=2;case 2:l();_.label=3;case 3:return[2]}}))}))};var INPUT_BLURRING=true;var startInputShims=function(r,n){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,o,a,u,c,d,f,l,s,v,S,_,w,p;return __generator(this,(function(I){switch(I.label){case 0:if(doc===undefined){return[2]}e=n==="ios";t=n==="android";i=r.getNumber("keyboardHeight",290);o=r.getBoolean("scrollAssist",true);a=r.getBoolean("hideCaretOnScroll",e);u=r.getBoolean("inputBlurring",false);c=r.getBoolean("scrollPadding",true);d=Array.from(doc.querySelectorAll("ion-input, ion-textarea"));f=new WeakMap;l=new WeakMap;return[4,Keyboard.getResizeMode()];case 1:s=I.sent();v=function(r){return __awaiter(void 0,void 0,void 0,(function(){var n,e,u,d,v,S,v;return __generator(this,(function(_){switch(_.label){case 0:return[4,new Promise((function(n){return componentOnReady(r,n)}))];case 1:_.sent();n=r.shadowRoot||r;e=n.querySelector("input")||n.querySelector("textarea");u=findClosestIonContent(r);d=!u?r.closest("ion-footer"):null;if(!e){return[2]}if(!!u&&a&&!f.has(r)){v=enableHideCaretOnScroll(r,e,u);f.set(r,v)}S=e.type==="date"||e.type==="datetime-local";if(!S&&(!!u||!!d)&&o&&!l.has(r)){v=enableScrollAssist(r,e,u,d,i,c,s,t);l.set(r,v)}return[2]}}))}))};S=function(r){if(a){var n=f.get(r);if(n){n()}f.delete(r)}if(o){var n=l.get(r);if(n){n()}l.delete(r)}};if(u&&INPUT_BLURRING){enableInputBlurring()}for(_=0,w=d;_<w.length;_++){p=w[_];v(p)}doc.addEventListener("ionInputDidLoad",(function(r){v(r.detail)}));doc.addEventListener("ionInputDidUnload",(function(r){S(r.detail)}));return[2]}}))}))};export{startInputShims};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{w as win}from"./index-a5d50daf.js";import{r as raf}from"./helpers-
|
|
4
|
+
import{w as win}from"./index-a5d50daf.js";import{r as raf}from"./helpers-78efeec3.js";import{a as printIonError}from"./index-738d7504.js";var createSlotMutationController=function(r,t,e){var n;var o;if(win!==undefined&&"MutationObserver"in win){var i=Array.isArray(t)?t:[t];n=new MutationObserver((function(r){for(var t=0,n=r;t<n.length;t++){var o=n[t];var u=function(r){if(r.nodeType===Node.ELEMENT_NODE&&i.includes(r.slot)){e();raf((function(){return a(r)}));return{value:void 0}}};for(var f=0,v=o.addedNodes;f<v.length;f++){var d=v[f];var c=u(d);if(typeof c==="object")return c.value}}}));n.observe(r,{childList:true,subtree:true})}var a=function(r){var n;if(o){o.disconnect();o=undefined}o=new MutationObserver((function(r){e();for(var n=0,o=r;n<o.length;n++){var i=o[n];for(var a=0,u=i.removedNodes;a<u.length;a++){var v=u[a];if(v.nodeType===Node.ELEMENT_NODE&&v.slot===t){f()}}}}));o.observe((n=r.parentElement)!==null&&n!==void 0?n:r,{subtree:true,childList:true})};var u=function(){if(n){n.disconnect();n=undefined}f()};var f=function(){if(o){o.disconnect();o=undefined}};return{destroy:u}};var getCounterText=function(r,t,e){var n=r==null?0:r.toString().length;var o=defaultCounterFormatter(n,t);if(e===undefined){return o}try{return e(n,t)}catch(r){printIonError("Exception in provided `counterFormatter`.",r);return o}};var defaultCounterFormatter=function(r,t){return"".concat(r," / ").concat(t)};export{createSlotMutationController as c,getCounterText as g};
|