voyager-ionic-core 8.5.0 → 8.5.3
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/checkbox.js +18 -6
- package/components/helpers.js +1 -11
- package/components/index9.js +1 -1
- package/components/ion-datetime.js +5 -5
- package/components/ion-range.js +21 -5
- package/components/ion-segment-button.js +20 -51
- package/components/ion-segment-content.js +1 -1
- package/components/modal.js +22 -3
- package/components/overlays.js +3 -2
- package/components/picker.js +54 -77
- 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 +19 -7
- 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 +27 -8
- 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 +55 -78
- 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 +23 -7
- 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-content.cjs.entry.js +1 -1
- 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-32e1b66b.js} +5 -4
- package/dist/cjs/{status-tap-08d1ac81.js → status-tap-03023755.js} +2 -2
- package/dist/cjs/{swipe-back-5c0003bd.js → swipe-back-652bdd0b.js} +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +5 -16
- package/dist/collection/components/checkbox/checkbox.js +16 -4
- package/dist/collection/components/checkbox/checkbox.md.css +5 -16
- package/dist/collection/components/datetime/datetime.js +5 -5
- package/dist/collection/components/modal/gestures/sheet.js +24 -5
- package/dist/collection/components/picker/picker.js +54 -77
- package/dist/collection/components/range/range.js +21 -5
- package/dist/collection/components/segment-button/segment-button.js +20 -51
- package/dist/collection/components/segment-content/segment-content.css +9 -0
- package/dist/collection/utils/helpers.js +0 -10
- package/dist/collection/utils/overlays.js +3 -2
- 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 +19 -7
- 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 +27 -8
- 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 +55 -78
- 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 +23 -7
- 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-content.entry.js +1 -1
- 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-41a5d51b.js} +5 -4
- package/dist/esm/{status-tap-6367b913.js → status-tap-f6d08e9e.js} +2 -2
- package/dist/esm/{swipe-back-326faa1c.js → swipe-back-5c7708b8.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-content.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-41a5d51b.js} +1 -1
- package/dist/esm-es5/{status-tap-6367b913.js → status-tap-f6d08e9e.js} +1 -1
- package/dist/esm-es5/swipe-back-5c7708b8.js +4 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-bf77d6fa.entry.js → p-0186a592.entry.js} +1 -1
- package/dist/ionic/p-027a48f1.entry.js +4 -0
- 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-d7032956.system.js → p-09d185ff.system.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-e0c43e11.system.entry.js → p-14114a59.system.entry.js} +1 -1
- package/dist/ionic/{p-3e86b4fa.system.js → p-15bb1dde.system.js} +1 -1
- package/dist/ionic/{p-a9f2c0a7.entry.js → p-180b4f9a.entry.js} +1 -1
- package/dist/ionic/{p-42f6e75c.entry.js → p-1b0b2210.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-2567237c.entry.js +4 -0
- 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-c5b5f44a.entry.js → p-3281aab3.entry.js} +1 -1
- package/dist/ionic/{p-7f39653f.entry.js → p-33518a04.entry.js} +1 -1
- package/dist/ionic/p-33cf8185.system.js +4 -0
- 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-3bd5fedc.system.js → p-3ba2a2cd.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-c8331397.system.entry.js → p-4662a25c.system.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-1a9613bf.system.entry.js → p-4c7e6fec.system.entry.js} +1 -1
- package/dist/ionic/{p-1164ff6b.system.entry.js → p-4ea4c73a.system.entry.js} +1 -1
- 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-def7a8bd.system.entry.js → p-51479be0.system.entry.js} +1 -1
- package/dist/ionic/{p-67163d4a.entry.js → p-552d9d62.entry.js} +1 -1
- package/dist/ionic/{p-4470f87b.system.entry.js → p-5578033e.system.entry.js} +1 -1
- package/dist/ionic/p-5fb1321f.entry.js +4 -0
- 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-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-e0c0218f.system.entry.js → p-7058a5e4.system.entry.js} +1 -1
- package/dist/ionic/p-707408c5.system.entry.js +4 -0
- package/dist/ionic/{p-a63b345e.system.entry.js → p-70abb1f2.system.entry.js} +1 -1
- package/dist/ionic/{p-e0a05506.js → p-756e4559.js} +1 -1
- package/dist/ionic/p-772d1657.system.js +4 -0
- package/dist/ionic/{p-606887b7.system.entry.js → p-7b886108.system.entry.js} +1 -1
- package/dist/ionic/p-7c9daa6f.entry.js +4 -0
- package/dist/ionic/{p-0be8a0b5.entry.js → p-7f49a9c4.entry.js} +1 -1
- package/dist/ionic/p-8048804d.system.entry.js +4 -0
- package/dist/ionic/{p-b9eb1465.system.entry.js → p-843ac05d.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-f02e9382.system.entry.js → p-8cf6f383.system.entry.js} +1 -1
- package/dist/ionic/{p-1d98a7f1.entry.js → p-8d98e2bb.entry.js} +1 -1
- package/dist/ionic/{p-2b59470f.system.entry.js → p-9263275e.system.entry.js} +1 -1
- package/dist/ionic/p-96eec056.entry.js +4 -0
- 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-b055d618.entry.js → p-99803283.entry.js} +1 -1
- 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-e5c27d9f.system.entry.js → p-a75a9e5a.system.entry.js} +1 -1
- package/dist/ionic/{p-ace2d2be.entry.js → p-a7830ff8.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-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-5f8cd560.entry.js → p-cf14f70d.entry.js} +1 -1
- package/dist/ionic/{p-efa0f3f5.entry.js → p-cfc08422.entry.js} +1 -1
- package/dist/ionic/{p-eec4b772.entry.js → p-cff4f96c.entry.js} +1 -1
- package/dist/ionic/{p-a6df5168.system.entry.js → p-d046659b.system.entry.js} +1 -1
- package/dist/ionic/p-d40f2b7a.js +4 -0
- package/dist/ionic/{p-6bb846d3.entry.js → p-d455de62.entry.js} +1 -1
- 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-c8bf9ba7.entry.js → p-e11ff516.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-e3012c2d.js +4 -0
- package/dist/ionic/p-e3284879.system.entry.js +4 -0
- 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-e8245753.entry.js +4 -0
- 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-6797c66e.system.js → p-f23124c4.system.js} +1 -1
- package/dist/ionic/{p-8deac7df.system.entry.js → p-f387b3c6.system.entry.js} +1 -1
- package/dist/ionic/p-f53ee2e7.js +4 -0
- package/dist/ionic/{p-f94b2f2f.system.entry.js → p-f5a04e5e.system.entry.js} +1 -1
- package/dist/ionic/p-f70fc14a.entry.js +4 -0
- package/dist/ionic/{p-b6174297.entry.js → p-f834322a.entry.js} +1 -1
- package/dist/ionic/{p-96450929.system.entry.js → p-f84f4d8e.system.entry.js} +1 -1
- package/dist/ionic/{p-0749768d.entry.js → p-fa70eaab.entry.js} +1 -1
- package/dist/ionic/{p-4c94580e.js → p-ffa3ba3c.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +2 -0
- package/dist/types/components/picker/picker.d.ts +8 -0
- package/dist/types/components/range/range.d.ts +9 -1
- 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 +143 -159
- package/hydrate/index.mjs +143 -159
- package/package.json +6 -6
- 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-326faa1c.js +0 -4
- package/dist/ionic/p-094c82d7.entry.js +0 -4
- package/dist/ionic/p-143ff664.system.entry.js +0 -4
- package/dist/ionic/p-18f9b6d5.entry.js +0 -4
- package/dist/ionic/p-1d2844a5.system.entry.js +0 -4
- package/dist/ionic/p-2027221d.js +0 -4
- package/dist/ionic/p-294271c7.system.js +0 -4
- package/dist/ionic/p-2ee9a2c6.entry.js +0 -4
- package/dist/ionic/p-54e9620f.js +0 -4
- package/dist/ionic/p-58c482af.entry.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-85f6070f.entry.js +0 -4
- package/dist/ionic/p-9a5420dd.js +0 -4
- package/dist/ionic/p-9e51f822.js +0 -4
- package/dist/ionic/p-b9ea58ef.js +0 -4
- package/dist/ionic/p-bdd6102f.system.entry.js +0 -4
- package/dist/ionic/p-c8402249.js +0 -4
- package/dist/ionic/p-ed768b77.entry.js +0 -4
- package/dist/ionic/p-eeee3990.system.entry.js +0 -4
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index$1 = require('./index-2e236a04.js');
|
|
9
9
|
const focusVisible = require('./focus-visible-7a0ce04f.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
11
|
const index = require('./index-48b2a28e.js');
|
|
12
12
|
const dir = require('./dir-94c21456.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
@@ -15,12 +15,12 @@ const index$2 = require('./index-073c7cdc.js');
|
|
|
15
15
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
16
16
|
const data = require('./data-27cc2c9c.js');
|
|
17
17
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
18
|
+
const overlays = require('./overlays-32e1b66b.js');
|
|
19
19
|
const animation = require('./animation-b4fdf128.js');
|
|
20
20
|
const haptic = require('./haptic-f6b37aa3.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
22
22
|
require('./hardware-back-button-5a99001f.js');
|
|
23
|
-
require('./framework-delegate-
|
|
23
|
+
require('./framework-delegate-50a86d56.js');
|
|
24
24
|
require('./gesture-controller-9436f482.js');
|
|
25
25
|
require('./capacitor-c04564bf.js');
|
|
26
26
|
|
|
@@ -1431,7 +1431,7 @@ const Datetime = class {
|
|
|
1431
1431
|
const activePart = this.getActivePartsWithFallback();
|
|
1432
1432
|
return (index$1.h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1433
1433
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
|
|
1434
|
-
this.setActiveParts(Object.assign(Object.assign({},
|
|
1434
|
+
this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { hour: ev.detail.value }));
|
|
1435
1435
|
ev.stopPropagation();
|
|
1436
1436
|
} }, hoursData.map((hour) => (index$1.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)))));
|
|
1437
1437
|
}
|
|
@@ -1442,7 +1442,7 @@ const Datetime = class {
|
|
|
1442
1442
|
const activePart = this.getActivePartsWithFallback();
|
|
1443
1443
|
return (index$1.h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1444
1444
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
|
|
1445
|
-
this.setActiveParts(Object.assign(Object.assign({},
|
|
1445
|
+
this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { minute: ev.detail.value }));
|
|
1446
1446
|
ev.stopPropagation();
|
|
1447
1447
|
} }, minutesData.map((minute) => (index$1.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)))));
|
|
1448
1448
|
}
|
|
@@ -1456,7 +1456,7 @@ const Datetime = class {
|
|
|
1456
1456
|
return (index$1.h("ion-picker-column", { "aria-label": "Select a day period", style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1457
1457
|
const hour = data.calculateHourFromAMPM(workingParts, ev.detail.value);
|
|
1458
1458
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
|
|
1459
|
-
this.setActiveParts(Object.assign(Object.assign({},
|
|
1459
|
+
this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { ampm: ev.detail.value, hour }));
|
|
1460
1460
|
ev.stopPropagation();
|
|
1461
1461
|
} }, dayPeriodData.map((dayPeriod) => (index$1.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)))));
|
|
1462
1462
|
}
|
|
@@ -1763,7 +1763,7 @@ const Datetime = class {
|
|
|
1763
1763
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1764
1764
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1765
1765
|
helpers.renderHiddenInput(true, el, name, data.formatValue(value), disabled);
|
|
1766
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1766
|
+
return (index$1.h(index$1.Host, { key: '08d429533a09c600b936ad1e022658051c765595', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, theme.createColorClasses(color, {
|
|
1767
1767
|
[mode]: true,
|
|
1768
1768
|
['datetime-readonly']: readonly,
|
|
1769
1769
|
['datetime-disabled']: disabled,
|
|
@@ -1773,7 +1773,7 @@ const Datetime = class {
|
|
|
1773
1773
|
[`datetime-size-${size}`]: true,
|
|
1774
1774
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1775
1775
|
[`datetime-grid`]: isGridStyle,
|
|
1776
|
-
})) }, index$1.h("div", { key: '
|
|
1776
|
+
})) }, index$1.h("div", { key: 'f4ff0fcd1e059767a7ef14fcc76ebfd55d23a97b', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1777
1777
|
}
|
|
1778
1778
|
get el() { return index$1.getElement(this); }
|
|
1779
1779
|
static get watchers() { return {
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const index$1 = require('./index-073c7cdc.js');
|
|
13
13
|
|
|
@@ -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 ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
11
11
|
|
|
12
12
|
const imgCss = ":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}";
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
|
-
const index$1 = require('./index-
|
|
9
|
+
const index$1 = require('./index-509ca0d3.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
11
11
|
const config = require('./config-4f60b98a.js');
|
|
12
|
-
require('./helpers-
|
|
12
|
+
require('./helpers-3a248559.js');
|
|
13
13
|
require('./index-48b2a28e.js');
|
|
14
14
|
|
|
15
15
|
const infiniteScrollCss = "ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
|
-
const notchController = require('./notch-controller-
|
|
10
|
-
const helpers = require('./helpers-
|
|
11
|
-
const input_utils = require('./input.utils-
|
|
9
|
+
const notchController = require('./notch-controller-ae03a497.js');
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
|
+
const input_utils = require('./input.utils-e82b8ed0.js');
|
|
12
12
|
const theme = require('./theme-d1c573d2.js');
|
|
13
13
|
const index$1 = require('./index-073c7cdc.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
@@ -8,8 +8,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const theme = require('./theme-d1c573d2.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
11
|
-
const helpers = require('./helpers-
|
|
12
|
-
const index$1 = require('./index-
|
|
11
|
+
const helpers = require('./helpers-3a248559.js');
|
|
12
|
+
const index$1 = require('./index-509ca0d3.js');
|
|
13
13
|
const watchOptions = require('./watch-options-f5f3e158.js');
|
|
14
14
|
require('./index-48b2a28e.js');
|
|
15
15
|
|
|
@@ -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');
|
|
@@ -7,15 +7,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const config = require('./config-4f60b98a.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-32e1b66b.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');
|
|
16
16
|
require('./index-c8d52405.js');
|
|
17
17
|
require('./hardware-back-button-5a99001f.js');
|
|
18
|
-
require('./framework-delegate-
|
|
18
|
+
require('./framework-delegate-50a86d56.js');
|
|
19
19
|
require('./gesture-controller-9436f482.js');
|
|
20
20
|
require('./index-48b2a28e.js');
|
|
21
21
|
|
|
@@ -7,16 +7,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
10
|
-
const overlays = require('./overlays-
|
|
10
|
+
const overlays = require('./overlays-32e1b66b.js');
|
|
11
11
|
const gestureController = require('./gesture-controller-9436f482.js');
|
|
12
12
|
const hardwareBackButton = require('./hardware-back-button-5a99001f.js');
|
|
13
|
-
const helpers = require('./helpers-
|
|
14
|
-
const index$1 = require('./index-
|
|
13
|
+
const helpers = require('./helpers-3a248559.js');
|
|
14
|
+
const index$1 = require('./index-4b70187a.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
16
16
|
const theme = require('./theme-d1c573d2.js');
|
|
17
17
|
const index$2 = require('./index-073c7cdc.js');
|
|
18
18
|
require('./index-c8d52405.js');
|
|
19
|
-
require('./framework-delegate-
|
|
19
|
+
require('./framework-delegate-50a86d56.js');
|
|
20
20
|
require('./index-48b2a28e.js');
|
|
21
21
|
require('./animation-b4fdf128.js');
|
|
22
22
|
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index$3 = require('./index-2e236a04.js');
|
|
9
|
-
const index$2 = require('./index-
|
|
10
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
11
|
-
const helpers = require('./helpers-
|
|
9
|
+
const index$2 = require('./index-509ca0d3.js');
|
|
10
|
+
const frameworkDelegate = require('./framework-delegate-50a86d56.js');
|
|
11
|
+
const helpers = require('./helpers-3a248559.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
13
|
const index$4 = require('./index-48b2a28e.js');
|
|
14
14
|
const capacitor = require('./capacitor-c04564bf.js');
|
|
15
|
-
const overlays = require('./overlays-
|
|
15
|
+
const overlays = require('./overlays-32e1b66b.js');
|
|
16
16
|
const theme = require('./theme-d1c573d2.js');
|
|
17
|
-
const index$5 = require('./index-
|
|
17
|
+
const index$5 = require('./index-e630fd95.js');
|
|
18
18
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
19
19
|
const keyboard = require('./keyboard-af1bb365.js');
|
|
20
20
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -956,6 +956,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
956
956
|
let currentBreakpoint = initialBreakpoint;
|
|
957
957
|
let offset = 0;
|
|
958
958
|
let canDismissBlocksGesture = false;
|
|
959
|
+
let cachedScrollEl = null;
|
|
959
960
|
const canDismissMaxStep = 0.95;
|
|
960
961
|
const maxBreakpoint = breakpoints[breakpoints.length - 1];
|
|
961
962
|
const minBreakpoint = breakpoints[0];
|
|
@@ -1089,6 +1090,16 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1089
1090
|
* Remove undefined check
|
|
1090
1091
|
*/
|
|
1091
1092
|
canDismissBlocksGesture = baseEl.canDismiss !== undefined && baseEl.canDismiss !== true && minBreakpoint === 0;
|
|
1093
|
+
/**
|
|
1094
|
+
* Cache the scroll element reference when the gesture starts,
|
|
1095
|
+
* this allows us to avoid querying the DOM for the target in onMove,
|
|
1096
|
+
* which would impact performance significantly.
|
|
1097
|
+
*/
|
|
1098
|
+
if (!expandToScroll) {
|
|
1099
|
+
const targetEl = index$2.findClosestIonContent(detail.event.target);
|
|
1100
|
+
cachedScrollEl =
|
|
1101
|
+
targetEl && index$2.isIonContent(targetEl) ? helpers.getElementRoot(targetEl).querySelector('.inner-scroll') : targetEl;
|
|
1102
|
+
}
|
|
1092
1103
|
/**
|
|
1093
1104
|
* If expandToScroll is disabled, we need to swap
|
|
1094
1105
|
* the footer visibility to the original, so if the modal
|
|
@@ -1116,10 +1127,10 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1116
1127
|
};
|
|
1117
1128
|
const onMove = (detail) => {
|
|
1118
1129
|
/**
|
|
1119
|
-
* If `expandToScroll` is disabled,
|
|
1120
|
-
*
|
|
1130
|
+
* If `expandToScroll` is disabled, and an upwards swipe gesture is done within
|
|
1131
|
+
* the scrollable content, we should not allow the swipe gesture to continue.
|
|
1121
1132
|
*/
|
|
1122
|
-
if (!expandToScroll && detail.deltaY <= 0) {
|
|
1133
|
+
if (!expandToScroll && detail.deltaY <= 0 && cachedScrollEl) {
|
|
1123
1134
|
return;
|
|
1124
1135
|
}
|
|
1125
1136
|
/**
|
|
@@ -1168,6 +1179,14 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1168
1179
|
animation.progressStep(offset);
|
|
1169
1180
|
};
|
|
1170
1181
|
const onEnd = (detail) => {
|
|
1182
|
+
/**
|
|
1183
|
+
* If expandToScroll is disabled, we should not allow the moveSheetToBreakpoint
|
|
1184
|
+
* function to be called if the user is trying to swipe content upwards and the content
|
|
1185
|
+
* is not scrolled to the top.
|
|
1186
|
+
*/
|
|
1187
|
+
if (!expandToScroll && detail.deltaY <= 0 && cachedScrollEl && cachedScrollEl.scrollTop > 0) {
|
|
1188
|
+
return;
|
|
1189
|
+
}
|
|
1171
1190
|
/**
|
|
1172
1191
|
* When the gesture releases, we need to determine
|
|
1173
1192
|
* the closest breakpoint to snap to.
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
12
|
-
const index$1 = require('./index-
|
|
13
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
12
|
+
const index$1 = require('./index-e630fd95.js');
|
|
13
|
+
const frameworkDelegate = require('./framework-delegate-50a86d56.js');
|
|
14
14
|
require('./index-48b2a28e.js');
|
|
15
15
|
|
|
16
16
|
const VIEW_STATE_NEW = 1;
|
|
@@ -137,7 +137,7 @@ const Nav = class {
|
|
|
137
137
|
// We want to set this flag before any watch callbacks are manually called
|
|
138
138
|
this.didLoad = true;
|
|
139
139
|
this.rootChanged();
|
|
140
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
140
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-652bdd0b.js'); })).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this));
|
|
141
141
|
this.swipeGestureChanged();
|
|
142
142
|
}
|
|
143
143
|
connectedCallback() {
|
|
@@ -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 ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const index$1 = require('./index-c8d52405.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
11
|
const haptic = require('./haptic-f6b37aa3.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.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
|
|
|
11
11
|
const pickerIosCss = ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--highlight-background, var(--ion-color-step-150, var(--ion-background-color-step-150, #eeeeef)))}";
|
|
12
12
|
const IonPickerIosStyle0 = pickerIosCss;
|
|
@@ -323,13 +323,59 @@ const Picker = class {
|
|
|
323
323
|
* or trailing zeros when looking at the item text.
|
|
324
324
|
*/
|
|
325
325
|
this.searchColumn = (colEl, value, zeroBehavior = 'start') => {
|
|
326
|
+
if (!value) {
|
|
327
|
+
return false;
|
|
328
|
+
}
|
|
326
329
|
const behavior = zeroBehavior === 'start' ? /^0+/ : /0$/;
|
|
330
|
+
value = value.replace(behavior, '');
|
|
327
331
|
const option = Array.from(colEl.querySelectorAll('ion-picker-column-option')).find((el) => {
|
|
328
332
|
return el.disabled !== true && el.textContent.replace(behavior, '') === value;
|
|
329
333
|
});
|
|
330
334
|
if (option) {
|
|
331
335
|
colEl.setValue(option.value);
|
|
332
336
|
}
|
|
337
|
+
return !!option;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* Attempts to intelligently search the first and second
|
|
341
|
+
* column as if they're number columns for the provided numbers
|
|
342
|
+
* where the first two numbers are the first column
|
|
343
|
+
* and the last 2 are the last column. Tries to allow for the first
|
|
344
|
+
* number to be ignored for situations where typos occurred.
|
|
345
|
+
*/
|
|
346
|
+
this.multiColumnSearch = (firstColumn, secondColumn, input) => {
|
|
347
|
+
if (input.length === 0) {
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
const inputArray = input.split('');
|
|
351
|
+
const hourValue = inputArray.slice(0, 2).join('');
|
|
352
|
+
// Try to find a match for the first two digits in the first column
|
|
353
|
+
const foundHour = this.searchColumn(firstColumn, hourValue);
|
|
354
|
+
// If we have more than 2 digits and found a match for hours,
|
|
355
|
+
// use the remaining digits for the second column (minutes)
|
|
356
|
+
if (inputArray.length > 2 && foundHour) {
|
|
357
|
+
const minuteValue = inputArray.slice(2, 4).join('');
|
|
358
|
+
this.searchColumn(secondColumn, minuteValue);
|
|
359
|
+
}
|
|
360
|
+
// If we couldn't find a match for the two-digit hour, try single digit approaches
|
|
361
|
+
else if (!foundHour && inputArray.length >= 1) {
|
|
362
|
+
// First try the first digit as a single-digit hour
|
|
363
|
+
let singleDigitHour = inputArray[0];
|
|
364
|
+
let singleDigitFound = this.searchColumn(firstColumn, singleDigitHour);
|
|
365
|
+
// If that didn't work, try the second digit as a single-digit hour
|
|
366
|
+
// (handles case where user made a typo in the first digit, or they typed over themselves)
|
|
367
|
+
if (!singleDigitFound) {
|
|
368
|
+
inputArray.shift();
|
|
369
|
+
singleDigitHour = inputArray[0];
|
|
370
|
+
singleDigitFound = this.searchColumn(firstColumn, singleDigitHour);
|
|
371
|
+
}
|
|
372
|
+
// If we found a single-digit hour and have remaining digits,
|
|
373
|
+
// use up to 2 of the remaining digits for the second column
|
|
374
|
+
if (singleDigitFound && inputArray.length > 1) {
|
|
375
|
+
const remainingDigits = inputArray.slice(1, 3).join('');
|
|
376
|
+
this.searchColumn(secondColumn, remainingDigits);
|
|
377
|
+
}
|
|
378
|
+
}
|
|
333
379
|
};
|
|
334
380
|
this.selectMultiColumn = () => {
|
|
335
381
|
const { inputEl, el } = this;
|
|
@@ -340,82 +386,13 @@ const Picker = class {
|
|
|
340
386
|
const firstColumn = numericPickers[0];
|
|
341
387
|
const lastColumn = numericPickers[1];
|
|
342
388
|
let value = inputEl.value;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
case 2:
|
|
349
|
-
/**
|
|
350
|
-
* If the first character is `0` or `1` it is
|
|
351
|
-
* possible that users are trying to type `09`
|
|
352
|
-
* or `11` into the hour field, so we should look
|
|
353
|
-
* at that first.
|
|
354
|
-
*/
|
|
355
|
-
const firstCharacter = inputEl.value.substring(0, 1);
|
|
356
|
-
value = firstCharacter === '0' || firstCharacter === '1' ? inputEl.value : firstCharacter;
|
|
357
|
-
this.searchColumn(firstColumn, value);
|
|
358
|
-
/**
|
|
359
|
-
* If only checked the first value,
|
|
360
|
-
* we can check the second value
|
|
361
|
-
* for a match in the minutes column
|
|
362
|
-
*/
|
|
363
|
-
if (value.length === 1) {
|
|
364
|
-
minuteValue = inputEl.value.substring(inputEl.value.length - 1);
|
|
365
|
-
this.searchColumn(lastColumn, minuteValue, 'end');
|
|
366
|
-
}
|
|
367
|
-
break;
|
|
368
|
-
case 3:
|
|
369
|
-
/**
|
|
370
|
-
* If the first character is `0` or `1` it is
|
|
371
|
-
* possible that users are trying to type `09`
|
|
372
|
-
* or `11` into the hour field, so we should look
|
|
373
|
-
* at that first.
|
|
374
|
-
*/
|
|
375
|
-
const firstCharacterAgain = inputEl.value.substring(0, 1);
|
|
376
|
-
value =
|
|
377
|
-
firstCharacterAgain === '0' || firstCharacterAgain === '1'
|
|
378
|
-
? inputEl.value.substring(0, 2)
|
|
379
|
-
: firstCharacterAgain;
|
|
380
|
-
this.searchColumn(firstColumn, value);
|
|
381
|
-
/**
|
|
382
|
-
* If only checked the first value,
|
|
383
|
-
* we can check the second value
|
|
384
|
-
* for a match in the minutes column
|
|
385
|
-
*/
|
|
386
|
-
minuteValue = value.length === 1 ? inputEl.value.substring(1) : inputEl.value.substring(2);
|
|
387
|
-
this.searchColumn(lastColumn, minuteValue, 'end');
|
|
388
|
-
break;
|
|
389
|
-
case 4:
|
|
390
|
-
/**
|
|
391
|
-
* If the first character is `0` or `1` it is
|
|
392
|
-
* possible that users are trying to type `09`
|
|
393
|
-
* or `11` into the hour field, so we should look
|
|
394
|
-
* at that first.
|
|
395
|
-
*/
|
|
396
|
-
const firstCharacterAgainAgain = inputEl.value.substring(0, 1);
|
|
397
|
-
value =
|
|
398
|
-
firstCharacterAgainAgain === '0' || firstCharacterAgainAgain === '1'
|
|
399
|
-
? inputEl.value.substring(0, 2)
|
|
400
|
-
: firstCharacterAgainAgain;
|
|
401
|
-
this.searchColumn(firstColumn, value);
|
|
402
|
-
/**
|
|
403
|
-
* If only checked the first value,
|
|
404
|
-
* we can check the second value
|
|
405
|
-
* for a match in the minutes column
|
|
406
|
-
*/
|
|
407
|
-
const minuteValueAgain = value.length === 1
|
|
408
|
-
? inputEl.value.substring(1, inputEl.value.length)
|
|
409
|
-
: inputEl.value.substring(2, inputEl.value.length);
|
|
410
|
-
this.searchColumn(lastColumn, minuteValueAgain, 'end');
|
|
411
|
-
break;
|
|
412
|
-
default:
|
|
413
|
-
const startIndex = inputEl.value.length - 4;
|
|
414
|
-
const newString = inputEl.value.substring(startIndex);
|
|
415
|
-
inputEl.value = newString;
|
|
416
|
-
this.selectMultiColumn();
|
|
417
|
-
break;
|
|
389
|
+
if (value.length > 4) {
|
|
390
|
+
const startIndex = inputEl.value.length - 4;
|
|
391
|
+
const newString = inputEl.value.substring(startIndex);
|
|
392
|
+
inputEl.value = newString;
|
|
393
|
+
value = newString;
|
|
418
394
|
}
|
|
395
|
+
this.multiColumnSearch(firstColumn, lastColumn, value);
|
|
419
396
|
};
|
|
420
397
|
/**
|
|
421
398
|
* Searches the value of the active column
|
|
@@ -484,7 +461,7 @@ const Picker = class {
|
|
|
484
461
|
this.emitInputModeChange();
|
|
485
462
|
}
|
|
486
463
|
render() {
|
|
487
|
-
return (index.h(index.Host, { key: '
|
|
464
|
+
return (index.h(index.Host, { key: '28f81e4ed44a633178561757c5199c2c98f94b74', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, index.h("input", { key: 'abb3d1ad25ef63856af7804111175a4d50008bc0', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
488
465
|
var _a;
|
|
489
466
|
/**
|
|
490
467
|
* The "Enter" key represents
|
|
@@ -499,7 +476,7 @@ const Picker = class {
|
|
|
499
476
|
if (ev.key === 'Enter') {
|
|
500
477
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
501
478
|
}
|
|
502
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), index.h("div", { key: '
|
|
479
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), index.h("div", { key: '334a5abdc02e6b127c57177f626d7e4ff5526183', class: "picker-before" }), index.h("div", { key: 'ffd6271931129e88fc7c820e919d684899e420c5', class: "picker-after" }), index.h("div", { key: '78d1d95fd09e04f154ea59f24a1cece72c47ed7b', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), index.h("slot", { key: '0bd5b9f875d3c71f6cbbde2054baeb1b0a2e8cd5' })));
|
|
503
480
|
}
|
|
504
481
|
get el() { return index.getElement(this); }
|
|
505
482
|
};
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
|
-
const overlays = require('./overlays-
|
|
10
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
11
|
-
const helpers = require('./helpers-
|
|
9
|
+
const overlays = require('./overlays-32e1b66b.js');
|
|
10
|
+
const frameworkDelegate = require('./framework-delegate-50a86d56.js');
|
|
11
|
+
const helpers = require('./helpers-3a248559.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
13
|
const index$1 = require('./index-48b2a28e.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
15
15
|
const theme = require('./theme-d1c573d2.js');
|
|
16
|
-
const index$2 = require('./index-
|
|
16
|
+
const index$2 = require('./index-e630fd95.js');
|
|
17
17
|
const animation = require('./animation-b4fdf128.js');
|
|
18
18
|
require('./index-c8d52405.js');
|
|
19
19
|
require('./hardware-back-button-5a99001f.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 theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
12
12
|
|
|
@@ -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 compareWithUtils = require('./compare-with-utils-df1001d7.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
|
-
const index$2 = require('./index-
|
|
10
|
-
const helpers = require('./helpers-
|
|
9
|
+
const index$2 = require('./index-509ca0d3.js');
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
11
|
const index$1 = require('./index-48b2a28e.js');
|
|
12
12
|
const dir = require('./dir-94c21456.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
@@ -81,6 +81,19 @@ const Range = class {
|
|
|
81
81
|
this.inheritedAttributes = {};
|
|
82
82
|
this.contentEl = null;
|
|
83
83
|
this.initialContentScrollY = true;
|
|
84
|
+
/**
|
|
85
|
+
* Compares two RangeValue inputs to determine if they are different.
|
|
86
|
+
*
|
|
87
|
+
* @param newVal - The new value.
|
|
88
|
+
* @param oldVal - The old value.
|
|
89
|
+
* @returns `true` if the values are different, `false` otherwise.
|
|
90
|
+
*/
|
|
91
|
+
this.compareValues = (newVal, oldVal) => {
|
|
92
|
+
if (typeof newVal === 'object' && typeof oldVal === 'object') {
|
|
93
|
+
return newVal.lower !== oldVal.lower || newVal.upper !== oldVal.upper;
|
|
94
|
+
}
|
|
95
|
+
return newVal !== oldVal;
|
|
96
|
+
};
|
|
84
97
|
this.clampBounds = (value) => {
|
|
85
98
|
return helpers.clamp(this.min, value, this.max);
|
|
86
99
|
};
|
|
@@ -214,7 +227,11 @@ const Range = class {
|
|
|
214
227
|
this.gesture.enable(!this.disabled);
|
|
215
228
|
}
|
|
216
229
|
}
|
|
217
|
-
valueChanged() {
|
|
230
|
+
valueChanged(newValue, oldValue) {
|
|
231
|
+
const valuesChanged = this.compareValues(newValue, oldValue);
|
|
232
|
+
if (valuesChanged) {
|
|
233
|
+
this.ionInput.emit({ value: this.value });
|
|
234
|
+
}
|
|
218
235
|
if (!this.noUpdate) {
|
|
219
236
|
this.updateRatio();
|
|
220
237
|
}
|
|
@@ -459,7 +476,6 @@ const Range = class {
|
|
|
459
476
|
lower: Math.min(valA, valB),
|
|
460
477
|
upper: Math.max(valA, valB),
|
|
461
478
|
};
|
|
462
|
-
this.ionInput.emit({ value: this.value });
|
|
463
479
|
this.noUpdate = false;
|
|
464
480
|
}
|
|
465
481
|
setFocus(knob) {
|
|
@@ -627,7 +643,7 @@ const Range = class {
|
|
|
627
643
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
628
644
|
const mode = ionicGlobal.getIonMode(this);
|
|
629
645
|
helpers.renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
630
|
-
return (index.h(index.Host, { key: '
|
|
646
|
+
return (index.h(index.Host, { key: 'e97cb7eab877eb1624429b4a79107130c6809cf5', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: theme.createColorClasses(this.color, {
|
|
631
647
|
[mode]: true,
|
|
632
648
|
'in-item': inItem,
|
|
633
649
|
'range-disabled': disabled,
|
|
@@ -636,10 +652,10 @@ const Range = class {
|
|
|
636
652
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
637
653
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
638
654
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
639
|
-
}) }, index.h("label", { key: '
|
|
655
|
+
}) }, index.h("label", { key: 'a43e9859f74f83460439efefccb5fbb9f387c9ee', class: "range-wrapper", id: "range-label" }, index.h("div", { key: '75352a30f30dbd0228c6138eb4324a5c021dbb48', class: {
|
|
640
656
|
'label-text-wrapper': true,
|
|
641
657
|
'label-text-wrapper-hidden': !hasLabel,
|
|
642
|
-
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '
|
|
658
|
+
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '6a3e147c3e5d938bb2b50522a290f6fdfcf40f05', class: "native-wrapper" }, index.h("slot", { key: '6627236eac9f711fa9c27879a017dd994e65811e', name: "start" }), this.renderRangeSlider(), index.h("slot", { key: '6af3bbadacd036bc7cd30732227f76d7c64117fb', name: "end" })))));
|
|
643
659
|
}
|
|
644
660
|
get el() { return index.getElement(this); }
|
|
645
661
|
static get watchers() { return {
|
|
@@ -7,8 +7,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
11
|
-
const helpers = require('./helpers-
|
|
10
|
+
const index$1 = require('./index-509ca0d3.js');
|
|
11
|
+
const helpers = require('./helpers-3a248559.js');
|
|
12
12
|
const haptic = require('./haptic-f6b37aa3.js');
|
|
13
13
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
14
14
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -8,8 +8,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-2e236a04.js');
|
|
9
9
|
const index$1 = require('./index-073c7cdc.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
11
|
-
const index$2 = require('./index-
|
|
12
|
-
const helpers = require('./helpers-
|
|
11
|
+
const index$2 = require('./index-509ca0d3.js');
|
|
12
|
+
const helpers = require('./helpers-3a248559.js');
|
|
13
13
|
const haptic = require('./haptic-f6b37aa3.js');
|
|
14
14
|
require('./index-48b2a28e.js');
|
|
15
15
|
require('./capacitor-c04564bf.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 theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
12
12
|
|