@ionic/core 8.5.2-dev.11742937752.14b430a3 → 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-datetime.js +5 -5
- 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 +8 -8
- 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/datetime/datetime.js +5 -5
- 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 +8 -8
- 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-2580d6ef.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-ff6be116.entry.js +4 -0
- 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 +103 -112
- package/hydrate/index.mjs +103 -112
- 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-423f7c83.entry.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
package/components/helpers.js
CHANGED
|
@@ -330,16 +330,6 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
330
330
|
}
|
|
331
331
|
return true;
|
|
332
332
|
};
|
|
333
|
-
const getNextSiblingOfType = (element) => {
|
|
334
|
-
let sibling = element.nextSibling;
|
|
335
|
-
while (sibling) {
|
|
336
|
-
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
337
|
-
return sibling;
|
|
338
|
-
}
|
|
339
|
-
sibling = sibling.nextSibling;
|
|
340
|
-
}
|
|
341
|
-
return null;
|
|
342
|
-
};
|
|
343
333
|
/**
|
|
344
334
|
* Checks input for usable number. Not NaN and not Infinite.
|
|
345
335
|
*/
|
|
@@ -347,4 +337,4 @@ const isSafeNumber = (input) => {
|
|
|
347
337
|
return typeof input === 'number' && !isNaN(input) && isFinite(input);
|
|
348
338
|
};
|
|
349
339
|
|
|
350
|
-
export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, hasLazyBuild as j, clamp as k, debounceEvent as l, isEndSide as m, assert as n, isSafeNumber as o, debounce as p,
|
|
340
|
+
export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, hasLazyBuild as j, clamp as k, debounceEvent as l, isEndSide as m, assert as n, isSafeNumber as o, debounce as p, pointerCoord as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t };
|
package/components/index9.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index5.js';
|
|
5
|
-
import {
|
|
5
|
+
import { q as pointerCoord } from './helpers.js';
|
|
6
6
|
|
|
7
7
|
const startTapClick = (config) => {
|
|
8
8
|
if (doc === undefined) {
|
|
@@ -1429,7 +1429,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1429
1429
|
const activePart = this.getActivePartsWithFallback();
|
|
1430
1430
|
return (h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1431
1431
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
|
|
1432
|
-
this.setActiveParts(Object.assign(Object.assign({},
|
|
1432
|
+
this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
|
|
1433
1433
|
ev.stopPropagation();
|
|
1434
1434
|
} }, hoursData.map((hour) => (h("ion-picker-column-option", { part: hour.value === activePart.hour ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: hour.value, disabled: hour.disabled, value: hour.value }, hour.text)))));
|
|
1435
1435
|
}
|
|
@@ -1440,7 +1440,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1440
1440
|
const activePart = this.getActivePartsWithFallback();
|
|
1441
1441
|
return (h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1442
1442
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
|
|
1443
|
-
this.setActiveParts(Object.assign(Object.assign({},
|
|
1443
|
+
this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
|
|
1444
1444
|
ev.stopPropagation();
|
|
1445
1445
|
} }, minutesData.map((minute) => (h("ion-picker-column-option", { part: minute.value === activePart.minute ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: minute.value, disabled: minute.disabled, value: minute.value }, minute.text)))));
|
|
1446
1446
|
}
|
|
@@ -1454,7 +1454,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1454
1454
|
return (h("ion-picker-column", { "aria-label": "Select a day period", style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1455
1455
|
const hour = calculateHourFromAMPM(workingParts, ev.detail.value);
|
|
1456
1456
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
|
|
1457
|
-
this.setActiveParts(Object.assign(Object.assign({},
|
|
1457
|
+
this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
|
|
1458
1458
|
ev.stopPropagation();
|
|
1459
1459
|
} }, dayPeriodData.map((dayPeriod) => (h("ion-picker-column-option", { part: dayPeriod.value === activePart.ampm ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: dayPeriod.value, disabled: dayPeriod.disabled, value: dayPeriod.value }, dayPeriod.text)))));
|
|
1460
1460
|
}
|
|
@@ -1761,7 +1761,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1761
1761
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1762
1762
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1763
1763
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1764
|
-
return (h(Host, { key: '
|
|
1764
|
+
return (h(Host, { key: '7afbb1a7e6c78389b4588999779e5c90e010e85d', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1765
1765
|
[mode]: true,
|
|
1766
1766
|
['datetime-readonly']: readonly,
|
|
1767
1767
|
['datetime-disabled']: disabled,
|
|
@@ -1771,7 +1771,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1771
1771
|
[`datetime-size-${size}`]: true,
|
|
1772
1772
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1773
1773
|
[`datetime-grid`]: isGridStyle,
|
|
1774
|
-
})) }, h("div", { key: '
|
|
1774
|
+
})) }, h("div", { key: '297c458d4d17154cb297e2ef5926505bcb2d1fce', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1775
1775
|
}
|
|
1776
1776
|
get el() { return this; }
|
|
1777
1777
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { a as addEventListener, b as removeEventListener, d as inheritAttributes
|
|
5
|
+
import { a as addEventListener, b as removeEventListener, d as inheritAttributes } from './helpers.js';
|
|
6
6
|
import { h as hostContext } from './theme.js';
|
|
7
7
|
import { b as getIonMode } from './ionic-global.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
@@ -43,61 +43,15 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
43
43
|
valueChanged() {
|
|
44
44
|
this.updateState();
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
return new Promise((resolve, reject) => {
|
|
48
|
-
let timeoutId = undefined;
|
|
49
|
-
let animationFrameId;
|
|
50
|
-
const check = () => {
|
|
51
|
-
if (!ionSegment) {
|
|
52
|
-
reject(new Error(`Segment not found when looking for Segment Content`));
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
|
|
56
|
-
const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
|
|
57
|
-
if (segmentContent && timeoutId) {
|
|
58
|
-
clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
|
|
59
|
-
cancelAnimationFrame(animationFrameId);
|
|
60
|
-
resolve(segmentContent);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
check();
|
|
67
|
-
// Set a timeout to reject the promise
|
|
68
|
-
timeoutId = setTimeout(() => {
|
|
69
|
-
cancelAnimationFrame(animationFrameId);
|
|
70
|
-
reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
|
|
71
|
-
}, 1000);
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
async connectedCallback() {
|
|
46
|
+
connectedCallback() {
|
|
75
47
|
const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
|
|
76
48
|
if (segmentEl) {
|
|
77
49
|
this.updateState();
|
|
78
50
|
addEventListener(segmentEl, 'ionSelect', this.updateState);
|
|
79
51
|
addEventListener(segmentEl, 'ionStyle', this.updateStyle);
|
|
80
52
|
}
|
|
81
|
-
// Return if there is no contentId defined
|
|
82
|
-
if (!this.contentId)
|
|
83
|
-
return;
|
|
84
|
-
let segmentContent;
|
|
85
|
-
try {
|
|
86
|
-
// Attempt to find the Segment Content by its contentId
|
|
87
|
-
segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
|
|
88
|
-
}
|
|
89
|
-
catch (error) {
|
|
90
|
-
// If no associated Segment Content exists, log an error and return
|
|
91
|
-
console.error('Segment Button: ', error.message);
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
95
|
-
if (segmentContent.tagName !== 'ION-SEGMENT-CONTENT') {
|
|
96
|
-
console.error(`Segment Button: Element with id="${this.contentId}" is not an <ion-segment-content> element.`);
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
53
|
// Prevent buttons from being disabled when associated with segment content
|
|
100
|
-
if (this.disabled) {
|
|
54
|
+
if (this.contentId && this.disabled) {
|
|
101
55
|
console.warn(`Segment Button: Segment buttons cannot be disabled when associated with an <ion-segment-content>.`);
|
|
102
56
|
this.disabled = false;
|
|
103
57
|
}
|
|
@@ -112,6 +66,21 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
112
66
|
}
|
|
113
67
|
componentWillLoad() {
|
|
114
68
|
this.inheritedAttributes = Object.assign({}, inheritAttributes(this.el, ['aria-label']));
|
|
69
|
+
// Return if there is no contentId defined
|
|
70
|
+
if (!this.contentId)
|
|
71
|
+
return;
|
|
72
|
+
// Attempt to find the Segment Content by its contentId
|
|
73
|
+
const segmentContent = document.getElementById(this.contentId);
|
|
74
|
+
// If no associated Segment Content exists, log an error and return
|
|
75
|
+
if (!segmentContent) {
|
|
76
|
+
console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
80
|
+
if (segmentContent.tagName !== 'ION-SEGMENT-CONTENT') {
|
|
81
|
+
console.error(`Segment Button: Element with id="${this.contentId}" is not an <ion-segment-content> element.`);
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
115
84
|
}
|
|
116
85
|
get hasLabel() {
|
|
117
86
|
return !!this.el.querySelector('ion-label');
|
|
@@ -134,7 +103,7 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
134
103
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
135
104
|
const mode = getIonMode(this);
|
|
136
105
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
137
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: 'f2f679a08b131cd35d63f649b9d1f1907df30a89', class: {
|
|
138
107
|
[mode]: true,
|
|
139
108
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
140
109
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -150,7 +119,7 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
150
119
|
'ion-activatable': true,
|
|
151
120
|
'ion-activatable-instant': true,
|
|
152
121
|
'ion-focusable': true,
|
|
153
|
-
} }, h("button", Object.assign({ key: '
|
|
122
|
+
} }, 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" }))));
|
|
154
123
|
}
|
|
155
124
|
get el() { return this; }
|
|
156
125
|
static get watchers() { return {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
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 = /*@__PURE__*/ proxyCustomElement(class SegmentView extends HTMLElement {
|
package/components/picker.js
CHANGED
|
@@ -321,50 +321,13 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class Picker extends HTMLElement
|
|
|
321
321
|
* or trailing zeros when looking at the item text.
|
|
322
322
|
*/
|
|
323
323
|
this.searchColumn = (colEl, value, zeroBehavior = 'start') => {
|
|
324
|
-
if (!value) {
|
|
325
|
-
return false;
|
|
326
|
-
}
|
|
327
324
|
const behavior = zeroBehavior === 'start' ? /^0+/ : /0$/;
|
|
328
|
-
value = value.replace(behavior, '');
|
|
329
325
|
const option = Array.from(colEl.querySelectorAll('ion-picker-column-option')).find((el) => {
|
|
330
326
|
return el.disabled !== true && el.textContent.replace(behavior, '') === value;
|
|
331
327
|
});
|
|
332
328
|
if (option) {
|
|
333
329
|
colEl.setValue(option.value);
|
|
334
330
|
}
|
|
335
|
-
return !!option;
|
|
336
|
-
};
|
|
337
|
-
/**
|
|
338
|
-
* Attempts to intelligently search the first and second
|
|
339
|
-
* column as if they're number columns for the provided numbers
|
|
340
|
-
* where the first two numbers inpu are the first column
|
|
341
|
-
* and the last 2 are the last column. Tries to allow for the first
|
|
342
|
-
* number to be ignored for situations where typos occurred.
|
|
343
|
-
*/
|
|
344
|
-
this.multiColumnSearch = (firstColumn, secondColumn, input) => {
|
|
345
|
-
if (input.length === 0) {
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
const inputArray = input.split('');
|
|
349
|
-
const hourValue = inputArray.slice(0, 2).join('');
|
|
350
|
-
const foundHour = this.searchColumn(firstColumn, hourValue);
|
|
351
|
-
if (inputArray.length > 2 && foundHour) {
|
|
352
|
-
const minuteValue = inputArray.slice(2, 4).join('');
|
|
353
|
-
this.searchColumn(secondColumn, minuteValue);
|
|
354
|
-
}
|
|
355
|
-
else if (!foundHour && inputArray.length >= 1) {
|
|
356
|
-
let singleDigitHour = inputArray[0];
|
|
357
|
-
let singleDigitFound = this.searchColumn(firstColumn, singleDigitHour);
|
|
358
|
-
if (!singleDigitFound) {
|
|
359
|
-
inputArray.shift();
|
|
360
|
-
singleDigitHour = inputArray[0];
|
|
361
|
-
singleDigitFound = this.searchColumn(firstColumn, singleDigitHour);
|
|
362
|
-
}
|
|
363
|
-
if (singleDigitFound && inputArray.length > 1) {
|
|
364
|
-
const remainingDigits = inputArray.slice(1, 3).join('');
|
|
365
|
-
this.searchColumn(secondColumn, remainingDigits);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
331
|
};
|
|
369
332
|
this.selectMultiColumn = () => {
|
|
370
333
|
const { inputEl, el } = this;
|
|
@@ -375,13 +338,82 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class Picker extends HTMLElement
|
|
|
375
338
|
const firstColumn = numericPickers[0];
|
|
376
339
|
const lastColumn = numericPickers[1];
|
|
377
340
|
let value = inputEl.value;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
341
|
+
let minuteValue;
|
|
342
|
+
switch (value.length) {
|
|
343
|
+
case 1:
|
|
344
|
+
this.searchColumn(firstColumn, value);
|
|
345
|
+
break;
|
|
346
|
+
case 2:
|
|
347
|
+
/**
|
|
348
|
+
* If the first character is `0` or `1` it is
|
|
349
|
+
* possible that users are trying to type `09`
|
|
350
|
+
* or `11` into the hour field, so we should look
|
|
351
|
+
* at that first.
|
|
352
|
+
*/
|
|
353
|
+
const firstCharacter = inputEl.value.substring(0, 1);
|
|
354
|
+
value = firstCharacter === '0' || firstCharacter === '1' ? inputEl.value : firstCharacter;
|
|
355
|
+
this.searchColumn(firstColumn, value);
|
|
356
|
+
/**
|
|
357
|
+
* If only checked the first value,
|
|
358
|
+
* we can check the second value
|
|
359
|
+
* for a match in the minutes column
|
|
360
|
+
*/
|
|
361
|
+
if (value.length === 1) {
|
|
362
|
+
minuteValue = inputEl.value.substring(inputEl.value.length - 1);
|
|
363
|
+
this.searchColumn(lastColumn, minuteValue, 'end');
|
|
364
|
+
}
|
|
365
|
+
break;
|
|
366
|
+
case 3:
|
|
367
|
+
/**
|
|
368
|
+
* If the first character is `0` or `1` it is
|
|
369
|
+
* possible that users are trying to type `09`
|
|
370
|
+
* or `11` into the hour field, so we should look
|
|
371
|
+
* at that first.
|
|
372
|
+
*/
|
|
373
|
+
const firstCharacterAgain = inputEl.value.substring(0, 1);
|
|
374
|
+
value =
|
|
375
|
+
firstCharacterAgain === '0' || firstCharacterAgain === '1'
|
|
376
|
+
? inputEl.value.substring(0, 2)
|
|
377
|
+
: firstCharacterAgain;
|
|
378
|
+
this.searchColumn(firstColumn, value);
|
|
379
|
+
/**
|
|
380
|
+
* If only checked the first value,
|
|
381
|
+
* we can check the second value
|
|
382
|
+
* for a match in the minutes column
|
|
383
|
+
*/
|
|
384
|
+
minuteValue = value.length === 1 ? inputEl.value.substring(1) : inputEl.value.substring(2);
|
|
385
|
+
this.searchColumn(lastColumn, minuteValue, 'end');
|
|
386
|
+
break;
|
|
387
|
+
case 4:
|
|
388
|
+
/**
|
|
389
|
+
* If the first character is `0` or `1` it is
|
|
390
|
+
* possible that users are trying to type `09`
|
|
391
|
+
* or `11` into the hour field, so we should look
|
|
392
|
+
* at that first.
|
|
393
|
+
*/
|
|
394
|
+
const firstCharacterAgainAgain = inputEl.value.substring(0, 1);
|
|
395
|
+
value =
|
|
396
|
+
firstCharacterAgainAgain === '0' || firstCharacterAgainAgain === '1'
|
|
397
|
+
? inputEl.value.substring(0, 2)
|
|
398
|
+
: firstCharacterAgainAgain;
|
|
399
|
+
this.searchColumn(firstColumn, value);
|
|
400
|
+
/**
|
|
401
|
+
* If only checked the first value,
|
|
402
|
+
* we can check the second value
|
|
403
|
+
* for a match in the minutes column
|
|
404
|
+
*/
|
|
405
|
+
const minuteValueAgain = value.length === 1
|
|
406
|
+
? inputEl.value.substring(1, inputEl.value.length)
|
|
407
|
+
: inputEl.value.substring(2, inputEl.value.length);
|
|
408
|
+
this.searchColumn(lastColumn, minuteValueAgain, 'end');
|
|
409
|
+
break;
|
|
410
|
+
default:
|
|
411
|
+
const startIndex = inputEl.value.length - 4;
|
|
412
|
+
const newString = inputEl.value.substring(startIndex);
|
|
413
|
+
inputEl.value = newString;
|
|
414
|
+
this.selectMultiColumn();
|
|
415
|
+
break;
|
|
383
416
|
}
|
|
384
|
-
this.multiColumnSearch(firstColumn, lastColumn, value);
|
|
385
417
|
};
|
|
386
418
|
/**
|
|
387
419
|
* Searches the value of the active column
|
|
@@ -450,7 +482,7 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class Picker extends HTMLElement
|
|
|
450
482
|
this.emitInputModeChange();
|
|
451
483
|
}
|
|
452
484
|
render() {
|
|
453
|
-
return (h(Host, { key: '
|
|
485
|
+
return (h(Host, { key: 'f92214a09dc85b65873676f40fde2b802960e704', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { key: '6da37f75aca4ea1c9cb3bc733ebda2116279f313', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
454
486
|
var _a;
|
|
455
487
|
/**
|
|
456
488
|
* The "Enter" key represents
|
|
@@ -465,7 +497,7 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class Picker extends HTMLElement
|
|
|
465
497
|
if (ev.key === 'Enter') {
|
|
466
498
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
467
499
|
}
|
|
468
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '
|
|
500
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '298e99d83dd3f5bf2798150bab0bb4024af472fa', class: "picker-before" }), h("div", { key: 'ea578f04eb562a4dc6d6cc92de133dcb9fb7f42a', class: "picker-after" }), h("div", { key: '84567824956dfe967992a629904836ba8b75b3ec', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", { key: 'df81f8fb90e1f649b608328034528f5c31c70c3b' })));
|
|
469
501
|
}
|
|
470
502
|
get el() { return this; }
|
|
471
503
|
static get style() { return {
|
|
@@ -332,16 +332,6 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
332
332
|
}
|
|
333
333
|
return true;
|
|
334
334
|
};
|
|
335
|
-
const getNextSiblingOfType = (element) => {
|
|
336
|
-
let sibling = element.nextSibling;
|
|
337
|
-
while (sibling) {
|
|
338
|
-
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
339
|
-
return sibling;
|
|
340
|
-
}
|
|
341
|
-
sibling = sibling.nextSibling;
|
|
342
|
-
}
|
|
343
|
-
return null;
|
|
344
|
-
};
|
|
345
335
|
/**
|
|
346
336
|
* Checks input for usable number. Not NaN and not Infinite.
|
|
347
337
|
*/
|
|
@@ -357,7 +347,6 @@ exports.debounce = debounce;
|
|
|
357
347
|
exports.debounceEvent = debounceEvent;
|
|
358
348
|
exports.focusVisibleElement = focusVisibleElement;
|
|
359
349
|
exports.getElementRoot = getElementRoot;
|
|
360
|
-
exports.getNextSiblingOfType = getNextSiblingOfType;
|
|
361
350
|
exports.hasLazyBuild = hasLazyBuild;
|
|
362
351
|
exports.hasShadowDom = hasShadowDom;
|
|
363
352
|
exports.inheritAriaAttributes = inheritAriaAttributes;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const index$1 = require('./index-c8d52405.js');
|
|
7
7
|
const hardwareBackButton = require('./hardware-back-button-5a99001f.js');
|
|
8
8
|
const index = require('./index-48b2a28e.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-3a248559.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
11
11
|
const animation = require('./animation-b4fdf128.js');
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
7
7
|
const index$1 = require('./index-2e236a04.js');
|
|
8
8
|
const index = require('./index-48b2a28e.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-3a248559.js');
|
|
10
10
|
|
|
11
11
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
12
12
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -122,8 +122,8 @@ const createFocusController = () => {
|
|
|
122
122
|
};
|
|
123
123
|
const LAST_FOCUS = 'ion-last-focus';
|
|
124
124
|
|
|
125
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
126
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
125
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-ae7afca9.js'); });
|
|
126
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-26003e25.js'); });
|
|
127
127
|
const focusController = createFocusController();
|
|
128
128
|
// TODO(FW-2832): types
|
|
129
129
|
const transition = (opts) => {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6,23 +6,23 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const animation = require('./animation-b4fdf128.js');
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
9
|
+
const index = require('./index-e630fd95.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-ae7afca9.js');
|
|
11
|
+
const md_transition = require('./md.transition-26003e25.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-ee07ed59.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
15
|
-
const helpers = require('./helpers-
|
|
15
|
+
const helpers = require('./helpers-3a248559.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
18
|
+
const index$2 = require('./index-4b70187a.js');
|
|
19
|
+
const overlays = require('./overlays-a0c6b23f.js');
|
|
20
20
|
require('./index-c8d52405.js');
|
|
21
21
|
require('./index-2e236a04.js');
|
|
22
22
|
require('./index-48b2a28e.js');
|
|
23
23
|
require('./gesture-controller-9436f482.js');
|
|
24
24
|
require('./hardware-back-button-5a99001f.js');
|
|
25
|
-
require('./framework-delegate-
|
|
25
|
+
require('./framework-delegate-50a86d56.js');
|
|
26
26
|
|
|
27
27
|
const IonicSlides = (opts) => {
|
|
28
28
|
const { swiper, extendParams } = opts;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const helpers = require('./helpers-
|
|
7
|
+
const index$1 = require('./index-509ca0d3.js');
|
|
8
|
+
const helpers = require('./helpers-3a248559.js');
|
|
9
9
|
const keyboard = require('./keyboard-0272231f.js');
|
|
10
10
|
require('./index-48b2a28e.js');
|
|
11
11
|
require('./ionic-global-acb665ad.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-3a248559.js');
|
|
10
10
|
const index$1 = require('./index-073c7cdc.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
12
12
|
const index$2 = require('./index-48b2a28e.js');
|
|
@@ -7,9 +7,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const buttonActive = require('./button-active-43e2b419.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-a0c6b23f.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
15
15
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -19,7 +19,7 @@ require('./index-c8d52405.js');
|
|
|
19
19
|
require('./index-ee07ed59.js');
|
|
20
20
|
require('./gesture-controller-9436f482.js');
|
|
21
21
|
require('./hardware-back-button-5a99001f.js');
|
|
22
|
-
require('./framework-delegate-
|
|
22
|
+
require('./framework-delegate-50a86d56.js');
|
|
23
23
|
require('./index-48b2a28e.js');
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const config = require('./config-4f60b98a.js');
|
|
10
10
|
const buttonActive = require('./button-active-43e2b419.js');
|
|
11
|
-
const helpers = require('./helpers-
|
|
11
|
+
const helpers = require('./helpers-3a248559.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-a0c6b23f.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
16
16
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -20,7 +20,7 @@ require('./index-c8d52405.js');
|
|
|
20
20
|
require('./index-ee07ed59.js');
|
|
21
21
|
require('./gesture-controller-9436f482.js');
|
|
22
22
|
require('./hardware-back-button-5a99001f.js');
|
|
23
|
-
require('./framework-delegate-
|
|
23
|
+
require('./framework-delegate-50a86d56.js');
|
|
24
24
|
require('./index-48b2a28e.js');
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -9,15 +9,15 @@ const index = require('./index-2e236a04.js');
|
|
|
9
9
|
const hardwareBackButton = require('./hardware-back-button-5a99001f.js');
|
|
10
10
|
const index$1 = require('./index-48b2a28e.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
12
|
-
const helpers = require('./helpers-
|
|
12
|
+
const helpers = require('./helpers-3a248559.js');
|
|
13
13
|
const dir = require('./dir-94c21456.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
|
-
const index$2 = require('./index-
|
|
15
|
+
const index$2 = require('./index-509ca0d3.js');
|
|
16
16
|
const keyboardController = require('./keyboard-controller-c05e747a.js');
|
|
17
17
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
18
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
18
|
+
const frameworkDelegate = require('./framework-delegate-50a86d56.js');
|
|
19
19
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
20
|
-
const index$3 = require('./index-
|
|
20
|
+
const index$3 = require('./index-e630fd95.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
22
22
|
require('./keyboard-0272231f.js');
|
|
23
23
|
require('./capacitor-c04564bf.js');
|
|
@@ -34,10 +34,10 @@ const App = class {
|
|
|
34
34
|
rIC(async () => {
|
|
35
35
|
const isHybrid = ionicGlobal.isPlatform(window, 'hybrid');
|
|
36
36
|
if (!ionicGlobal.config.getBoolean('_testing')) {
|
|
37
|
-
Promise.resolve().then(function () { return require('./index-
|
|
37
|
+
Promise.resolve().then(function () { return require('./index-e36bd277.js'); }).then((module) => module.startTapClick(ionicGlobal.config));
|
|
38
38
|
}
|
|
39
39
|
if (ionicGlobal.config.getBoolean('statusTap', isHybrid)) {
|
|
40
|
-
Promise.resolve().then(function () { return require('./status-tap-
|
|
40
|
+
Promise.resolve().then(function () { return require('./status-tap-03023755.js'); }).then((module) => module.startStatusTap());
|
|
41
41
|
}
|
|
42
42
|
if (ionicGlobal.config.getBoolean('inputShims', needInputShims())) {
|
|
43
43
|
/**
|
|
@@ -45,7 +45,7 @@ const App = class {
|
|
|
45
45
|
* platforms proceed into this block.
|
|
46
46
|
*/
|
|
47
47
|
const platform = ionicGlobal.isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
48
|
-
Promise.resolve().then(function () { return require('./input-shims-
|
|
48
|
+
Promise.resolve().then(function () { return require('./input-shims-22a9973f.js'); }).then((module) => module.startInputShims(ionicGlobal.config, platform));
|
|
49
49
|
}
|
|
50
50
|
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./hardware-back-button-5a99001f.js'); });
|
|
51
51
|
const supportsHardwareBackButtonEvents = isHybrid || hardwareBackButton.shouldUseCloseWatcher();
|
|
@@ -1054,7 +1054,7 @@ const RouterOutlet = class {
|
|
|
1054
1054
|
this.swipeHandler.onStart();
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
1057
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-cd0d9f77.js'); })).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => { var _a; return (_a = this.ani) === null || _a === void 0 ? void 0 : _a.progressStep(step); }, (shouldComplete, step, dur) => {
|
|
1058
1058
|
if (this.ani) {
|
|
1059
1059
|
this.ani.onFinish(() => {
|
|
1060
1060
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-3a248559.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$1 = require('./index-073c7cdc.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|