@ionic/core 8.2.3-nightly.20240625 → 8.2.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/item.js +3 -3
- package/dist/cjs/{app-globals-64aa7919.js → app-globals-fa7f31d6.js} +1 -1
- package/dist/cjs/{button-active-b75108e6.js → button-active-24593fe7.js} +1 -1
- package/dist/cjs/{hardware-back-button-9931602c.js → hardware-back-button-afaf185c.js} +2 -2
- package/dist/cjs/{index-63e64bb7.js → index-28e4e7aa.js} +2 -2
- package/dist/cjs/{index-7f6ce0b7.js → index-cbd1dbd9.js} +185 -170
- package/dist/cjs/{index-8a653282.js → index-e2659e6c.js} +4 -4
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
- package/dist/cjs/ion-alert.cjs.entry.js +5 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +6 -6
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-loading.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +5 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- 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-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +4 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ionic-global-46459c38.js → ionic-global-965d38d0.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-d94b6863.js → ios.transition-6e9c7e9b.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-297be114.js → md.transition-a9d8f0eb.js} +3 -3
- package/dist/cjs/{overlays-569f7878.js → overlays-cc4ac193.js} +2 -2
- package/dist/cjs/{status-tap-607c6244.js → status-tap-f0912d4a.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/item/item.js +3 -3
- package/dist/docs.json +3 -3
- package/dist/esm/{app-globals-232dc3ed.js → app-globals-a53a506f.js} +1 -1
- package/dist/esm/{button-active-f7898f4b.js → button-active-ff6f2f4b.js} +1 -1
- package/dist/esm/{hardware-back-button-7f93f261.js → hardware-back-button-fb02649b.js} +2 -2
- package/dist/esm/{index-c8c3afda.js → index-1d0629cf.js} +2 -2
- package/dist/esm/{index-92f14156.js → index-2f8c4022.js} +4 -4
- package/dist/esm/{index-c71c5417.js → index-e06ef154.js} +185 -170
- package/dist/esm/index.js +8 -8
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +5 -5
- package/dist/esm/ion-alert.entry.js +5 -5
- package/dist/esm/ion-app_8.entry.js +6 -6
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +4 -4
- package/dist/esm/ion-loading.entry.js +4 -4
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- 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-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +4 -4
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ionic-global-b9c0d1da.js → ionic-global-d92bc7d9.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-2f45f5c1.js → ios.transition-b70d7564.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-6fcc955f.js → md.transition-cd8b30a7.js} +3 -3
- package/dist/esm/{overlays-0d212972.js → overlays-6e1a7f53.js} +2 -2
- package/dist/esm/{status-tap-53150009.js → status-tap-89432b2d.js} +1 -1
- package/dist/esm-es5/app-globals-a53a506f.js +4 -0
- package/dist/esm-es5/{button-active-f7898f4b.js → button-active-ff6f2f4b.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-7f93f261.js → hardware-back-button-fb02649b.js} +1 -1
- package/dist/esm-es5/{index-c8c3afda.js → index-1d0629cf.js} +1 -1
- package/dist/esm-es5/{index-92f14156.js → index-2f8c4022.js} +1 -1
- package/dist/esm-es5/index-e06ef154.js +5 -0
- package/dist/esm-es5/index.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-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.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-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.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-password-toggle.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-ripple-effect.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_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.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-text.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/{ionic-global-b9c0d1da.js → ionic-global-d92bc7d9.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-2f45f5c1.js → ios.transition-b70d7564.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-6fcc955f.js → md.transition-cd8b30a7.js} +1 -1
- package/dist/esm-es5/{overlays-0d212972.js → overlays-6e1a7f53.js} +1 -1
- package/dist/esm-es5/{status-tap-53150009.js → status-tap-89432b2d.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-dbee9e95.system.entry.js → p-032df8ba.system.entry.js} +1 -1
- package/dist/ionic/{p-94c6f6ab.system.entry.js → p-05cc8aee.system.entry.js} +1 -1
- package/dist/ionic/{p-18fd2107.entry.js → p-06ebecaf.entry.js} +1 -1
- package/dist/ionic/{p-266db4b6.entry.js → p-083bbf52.entry.js} +1 -1
- package/dist/ionic/{p-3a0091c2.system.entry.js → p-0be9ba18.system.entry.js} +1 -1
- package/dist/ionic/{p-943bc98f.system.entry.js → p-0ddd9286.system.entry.js} +1 -1
- package/dist/ionic/{p-e12d7323.entry.js → p-12292d37.entry.js} +1 -1
- package/dist/ionic/{p-6c76eff8.system.entry.js → p-127dfa94.system.entry.js} +2 -2
- package/dist/ionic/{p-b1e856df.entry.js → p-1304b2f4.entry.js} +1 -1
- package/dist/ionic/{p-d7b97091.entry.js → p-144b1092.entry.js} +1 -1
- package/dist/ionic/{p-705c21cb.system.entry.js → p-14b28c4d.system.entry.js} +1 -1
- package/dist/ionic/{p-a688052d.system.js → p-187ca590.system.js} +1 -1
- package/dist/ionic/{p-65fd47cb.system.entry.js → p-1bb21eb2.system.entry.js} +2 -2
- package/dist/ionic/{p-bbc5329a.system.entry.js → p-1c9205c6.system.entry.js} +1 -1
- package/dist/ionic/{p-624e1ca6.system.js → p-1df99167.system.js} +1 -1
- package/dist/ionic/{p-ed72bc6c.system.entry.js → p-1e9bc4e0.system.entry.js} +1 -1
- package/dist/ionic/{p-00333e13.js → p-200c7b0a.js} +1 -1
- package/dist/ionic/{p-5f2dc7f9.entry.js → p-21c31c91.entry.js} +1 -1
- package/dist/ionic/{p-796cfde4.entry.js → p-2212b3dd.entry.js} +1 -1
- package/dist/ionic/{p-98f199c6.system.entry.js → p-251e35bf.system.entry.js} +1 -1
- package/dist/ionic/{p-66621486.system.entry.js → p-29e70980.system.entry.js} +1 -1
- package/dist/ionic/{p-733db888.entry.js → p-2b50ae21.entry.js} +1 -1
- package/dist/ionic/{p-df3ebee9.system.entry.js → p-2f51a59e.system.entry.js} +1 -1
- package/dist/ionic/{p-ab27a195.system.entry.js → p-3251f335.system.entry.js} +1 -1
- package/dist/ionic/{p-2b13fb8c.entry.js → p-3289aa03.entry.js} +1 -1
- package/dist/ionic/{p-d820d1f1.entry.js → p-368bd8e0.entry.js} +1 -1
- package/dist/ionic/{p-3c1b674f.entry.js → p-36d47091.entry.js} +1 -1
- package/dist/ionic/{p-eaed7394.entry.js → p-38857824.entry.js} +1 -1
- package/dist/ionic/{p-60eb4c0d.system.entry.js → p-3b3d4722.system.entry.js} +1 -1
- package/dist/ionic/{p-1a0848af.system.entry.js → p-3fc4ade9.system.entry.js} +1 -1
- package/dist/ionic/{p-fa2abaef.entry.js → p-46453157.entry.js} +1 -1
- package/dist/ionic/{p-75cb6744.system.js → p-4a56ed61.system.js} +1 -1
- package/dist/ionic/{p-05bbe79d.entry.js → p-4b9f2be3.entry.js} +1 -1
- package/dist/ionic/{p-d2293261.system.entry.js → p-4e71d73a.system.entry.js} +1 -1
- package/dist/ionic/{p-184fc032.system.js → p-504b58cb.system.js} +1 -1
- package/dist/ionic/{p-cdddc32e.entry.js → p-5172d29f.entry.js} +1 -1
- package/dist/ionic/{p-646d46b1.entry.js → p-541189ff.entry.js} +1 -1
- package/dist/ionic/{p-e4587da1.js → p-571b616a.js} +1 -1
- package/dist/ionic/p-597849ee.entry.js +4 -0
- package/dist/ionic/p-59da9e8c.entry.js +4 -0
- package/dist/ionic/p-5cf05ae4.system.js +4 -0
- package/dist/ionic/{p-e08fb9c2.system.entry.js → p-5d030f7f.system.entry.js} +1 -1
- package/dist/ionic/{p-6ee1e402.system.js → p-619129e1.system.js} +1 -1
- package/dist/ionic/{p-8d3e57a0.system.entry.js → p-635c947e.system.entry.js} +1 -1
- package/dist/ionic/{p-4d6b6aef.system.entry.js → p-63ad45da.system.entry.js} +1 -1
- package/dist/ionic/{p-1731ab58.system.entry.js → p-646ecffd.system.entry.js} +1 -1
- package/dist/ionic/{p-52df00b5.entry.js → p-64c31fa6.entry.js} +1 -1
- package/dist/ionic/{p-64e15640.system.entry.js → p-660aa713.system.entry.js} +1 -1
- package/dist/ionic/{p-1cebad78.system.entry.js → p-6621dd27.system.entry.js} +1 -1
- package/dist/ionic/{p-4f610234.entry.js → p-662a0f75.entry.js} +1 -1
- package/dist/ionic/{p-5b121ea3.system.entry.js → p-6859acef.system.entry.js} +1 -1
- package/dist/ionic/{p-da0001cd.system.entry.js → p-704d249b.system.entry.js} +1 -1
- package/dist/ionic/{p-f3ff1e58.entry.js → p-712f4ef9.entry.js} +1 -1
- package/dist/ionic/{p-1e2b2b60.entry.js → p-71d0f3b5.entry.js} +1 -1
- package/dist/ionic/{p-4d7ab66a.system.entry.js → p-724156b4.system.entry.js} +1 -1
- package/dist/ionic/{p-d2753e35.js → p-72a09ad4.js} +1 -1
- package/dist/ionic/{p-ef1c5743.entry.js → p-751d9583.entry.js} +1 -1
- package/dist/ionic/{p-a3aaeca8.system.entry.js → p-7708f99f.system.entry.js} +1 -1
- package/dist/ionic/{p-ac34105e.entry.js → p-77a18aee.entry.js} +1 -1
- package/dist/ionic/{p-5bbd2b10.entry.js → p-77db4711.entry.js} +1 -1
- package/dist/ionic/{p-ccab4d05.system.entry.js → p-78b156e3.system.entry.js} +1 -1
- package/dist/ionic/{p-418ad596.entry.js → p-7975ca12.entry.js} +1 -1
- package/dist/ionic/{p-c5477854.system.entry.js → p-7e1e459c.system.entry.js} +1 -1
- package/dist/ionic/{p-af9d3f33.entry.js → p-8211deec.entry.js} +1 -1
- package/dist/ionic/{p-8ee5c5bf.js → p-84fabe48.js} +1 -1
- package/dist/ionic/{p-b6fe4a42.entry.js → p-86b152cd.entry.js} +1 -1
- package/dist/ionic/{p-f181073a.entry.js → p-880030e5.entry.js} +1 -1
- package/dist/ionic/{p-c91c13d2.js → p-8bbc2e78.js} +1 -1
- package/dist/ionic/{p-68f01c55.system.entry.js → p-8c4a8b15.system.entry.js} +1 -1
- package/dist/ionic/{p-5d6e77bd.system.entry.js → p-8cb94ab0.system.entry.js} +1 -1
- package/dist/ionic/{p-38c67b66.system.entry.js → p-8d781910.system.entry.js} +1 -1
- package/dist/ionic/{p-0769896d.system.entry.js → p-8fb9a997.system.entry.js} +1 -1
- package/dist/ionic/{p-6ad705f8.system.js → p-98701ffb.system.js} +1 -1
- package/dist/ionic/{p-6167004c.system.entry.js → p-9b0315b8.system.entry.js} +1 -1
- package/dist/ionic/{p-13260c59.entry.js → p-9c328f29.entry.js} +1 -1
- package/dist/ionic/{p-c1859486.system.js → p-9f25dac5.system.js} +1 -1
- package/dist/ionic/{p-3886b5d0.entry.js → p-9f66851e.entry.js} +1 -1
- package/dist/ionic/{p-eb8098d5.system.entry.js → p-a13d5fdc.system.entry.js} +1 -1
- package/dist/ionic/p-a29432a7.system.js +5 -0
- package/dist/ionic/p-a4869688.js +4 -0
- package/dist/ionic/{p-3ea44c31.system.entry.js → p-a5b7a083.system.entry.js} +1 -1
- package/dist/ionic/{p-e6a47e94.entry.js → p-a790dcd8.entry.js} +1 -1
- package/dist/ionic/{p-1de7f9e4.entry.js → p-ab11f574.entry.js} +1 -1
- package/dist/ionic/{p-68e5bec9.system.entry.js → p-af19e2b0.system.entry.js} +1 -1
- package/dist/ionic/{p-617caf82.entry.js → p-af4e7c44.entry.js} +1 -1
- package/dist/ionic/{p-9f5f3485.js → p-b27b19c5.js} +1 -1
- package/dist/ionic/p-b5feddc3.js +5 -0
- package/dist/ionic/{p-72ee2cd6.entry.js → p-bf602e15.entry.js} +1 -1
- package/dist/ionic/p-c0b66c05.entry.js +4 -0
- package/dist/ionic/{p-9690c79d.system.entry.js → p-c22a5a42.system.entry.js} +1 -1
- package/dist/ionic/{p-7a86bd75.js → p-c5904db9.js} +1 -1
- package/dist/ionic/{p-b9fcfe50.system.js → p-ca09cfeb.system.js} +1 -1
- package/dist/ionic/{p-9286b16d.system.entry.js → p-ca370b5c.system.entry.js} +1 -1
- package/dist/ionic/{p-666583e1.system.entry.js → p-cc5d299d.system.entry.js} +1 -1
- package/dist/ionic/{p-5c22c8fa.system.js → p-cf0cb1fe.system.js} +1 -1
- package/dist/ionic/{p-17c10451.system.entry.js → p-d043806a.system.entry.js} +1 -1
- package/dist/ionic/{p-13d3abce.system.entry.js → p-d3a59491.system.entry.js} +1 -1
- package/dist/ionic/{p-d2db72d1.entry.js → p-d82e2857.entry.js} +1 -1
- package/dist/ionic/{p-c350c8f8.system.entry.js → p-dd0f72f1.system.entry.js} +1 -1
- package/dist/ionic/{p-6cf5d476.system.js → p-e0c85680.system.js} +1 -1
- package/dist/ionic/{p-56cb7d41.entry.js → p-e1693e82.entry.js} +1 -1
- package/dist/ionic/{p-d5f62e4e.entry.js → p-e1accd5b.entry.js} +1 -1
- package/dist/ionic/{p-3dba7283.entry.js → p-e3407e40.entry.js} +1 -1
- package/dist/ionic/{p-738cb3bd.entry.js → p-e43c3327.entry.js} +1 -1
- package/dist/ionic/{p-cb5d9dd4.entry.js → p-e549747a.entry.js} +1 -1
- package/dist/ionic/{p-ecf5f3e0.entry.js → p-e6114d2e.entry.js} +1 -1
- package/dist/ionic/{p-591528fc.entry.js → p-e72ce03d.entry.js} +1 -1
- package/dist/ionic/{p-b7fa6074.js → p-e7a7a142.js} +1 -1
- package/dist/ionic/{p-4c3d1c73.entry.js → p-e8a328c9.entry.js} +1 -1
- package/dist/ionic/{p-a07f9cb7.system.entry.js → p-e8fd9c89.system.entry.js} +1 -1
- package/dist/ionic/{p-f52c2d9a.entry.js → p-e97b8dc6.entry.js} +1 -1
- package/dist/ionic/{p-7a43878b.system.js → p-f2103451.system.js} +1 -1
- package/dist/ionic/{p-2e7673a0.system.entry.js → p-f3bbe501.system.entry.js} +1 -1
- package/dist/ionic/{p-395a0dd7.js → p-f5d40d6e.js} +1 -1
- package/dist/ionic/{p-26e469a2.system.entry.js → p-f7508243.system.entry.js} +1 -1
- package/dist/ionic/{p-ea4f2b31.entry.js → p-f7f0eb36.entry.js} +1 -1
- package/dist/ionic/{p-d9e26540.system.entry.js → p-f85fc0e3.system.entry.js} +1 -1
- package/dist/ionic/{p-94953ea1.system.entry.js → p-fa058cd0.system.entry.js} +1 -1
- package/dist/ionic/{p-7f84a4c8.system.entry.js → p-fd108dce.system.entry.js} +1 -1
- package/dist/ionic/{p-d529141b.entry.js → p-feb153ae.entry.js} +1 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/hydrate/index.d.ts +29 -11
- package/hydrate/index.js +306 -298
- package/hydrate/index.mjs +48653 -0
- package/hydrate/package.json +7 -1
- package/loader/index.d.ts +3 -0
- package/package.json +2 -2
- package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +0 -40
- package/dist/collection/components/accordion/test/accordion.spec.js +0 -195
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -52
- package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -94
- package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +0 -26
- package/dist/collection/components/accordion/test/nested/accordion.e2e.js +0 -24
- package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +0 -94
- package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +0 -15
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +0 -99
- package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +0 -32
- package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +0 -60
- package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +0 -142
- package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +0 -40
- package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +0 -33
- package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +0 -18
- package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +0 -29
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +0 -247
- package/dist/collection/components/alert/test/alert-id.spec.js +0 -32
- package/dist/collection/components/alert/test/alert.spec.js +0 -37
- package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +0 -40
- package/dist/collection/components/alert/test/basic/alert.e2e.js +0 -135
- package/dist/collection/components/alert/test/is-open/alert.e2e.js +0 -33
- package/dist/collection/components/alert/test/standalone/alert.e2e.js +0 -17
- package/dist/collection/components/alert/test/trigger/alert.e2e.js +0 -29
- package/dist/collection/components/app/test/safe-area/app.e2e.js +0 -35
- package/dist/collection/components/avatar/test/basic/avatar.e2e.js +0 -24
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +0 -47
- package/dist/collection/components/back-button/test/back-button.spec.js +0 -86
- package/dist/collection/components/back-button/test/basic/back-button.e2e.js +0 -14
- package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +0 -14
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +0 -40
- package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -14
- package/dist/collection/components/breadcrumb/test/aria.spec.js +0 -22
- package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +0 -36
- package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +0 -14
- package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +0 -58
- package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +0 -14
- package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +0 -51
- package/dist/collection/components/button/test/a11y/button.e2e.js +0 -109
- package/dist/collection/components/button/test/basic/button.e2e.js +0 -51
- package/dist/collection/components/button/test/clear/button.e2e.js +0 -14
- package/dist/collection/components/button/test/expand/button.e2e.js +0 -17
- package/dist/collection/components/button/test/form-reference/button.e2e.js +0 -135
- package/dist/collection/components/button/test/form-reference/button.spec.js +0 -26
- package/dist/collection/components/button/test/icon/button.e2e.js +0 -14
- package/dist/collection/components/button/test/outline/button.e2e.js +0 -14
- package/dist/collection/components/button/test/round/button.e2e.js +0 -52
- package/dist/collection/components/button/test/size/button.e2e.js +0 -43
- package/dist/collection/components/button/test/strong/button.e2e.js +0 -48
- package/dist/collection/components/button/test/wrap/button.e2e.js +0 -126
- package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +0 -74
- package/dist/collection/components/card/test/a11y/card.e2e.js +0 -31
- package/dist/collection/components/card/test/aria.spec.js +0 -16
- package/dist/collection/components/card/test/basic/card.e2e.js +0 -151
- package/dist/collection/components/card-header/test/basic/card-header.e2e.js +0 -14
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +0 -42
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +0 -87
- package/dist/collection/components/checkbox/test/checkbox.spec.js +0 -46
- package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +0 -23
- package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +0 -14
- package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +0 -74
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +0 -122
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +0 -37
- package/dist/collection/components/chip/test/a11y/chip.e2e.js +0 -58
- package/dist/collection/components/chip/test/basic/chip.e2e.js +0 -81
- package/dist/collection/components/chip/test/states/chip.e2e.js +0 -35
- package/dist/collection/components/content/test/basic/content.e2e.js +0 -17
- package/dist/collection/components/content/test/content.spec.js +0 -27
- package/dist/collection/components/content/test/fixed/content.e2e.js +0 -17
- package/dist/collection/components/content/test/fullscreen/content.e2e.js +0 -17
- package/dist/collection/components/content/test/standalone/content.e2e.js +0 -16
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -94
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +0 -40
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +0 -493
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +0 -27
- package/dist/collection/components/datetime/test/comparison.spec.js +0 -43
- package/dist/collection/components/datetime/test/custom/datetime.e2e.js +0 -52
- package/dist/collection/components/datetime/test/data.spec.js +0 -456
- package/dist/collection/components/datetime/test/datetime.e2e.js +0 -39
- package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +0 -150
- package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +0 -68
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +0 -33
- package/dist/collection/components/datetime/test/display/datetime.e2e.js +0 -121
- package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +0 -14
- package/dist/collection/components/datetime/test/format.spec.js +0 -174
- package/dist/collection/components/datetime/test/helpers.spec.js +0 -72
- package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +0 -86
- package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +0 -37
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +0 -129
- package/dist/collection/components/datetime/test/manipulation.spec.js +0 -565
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +0 -266
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +0 -29
- package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +0 -242
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +0 -34
- package/dist/collection/components/datetime/test/parse.spec.js +0 -222
- package/dist/collection/components/datetime/test/position/datetime.e2e.js +0 -22
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +0 -502
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +0 -27
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +0 -169
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +0 -113
- package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +0 -50
- package/dist/collection/components/datetime/test/state.spec.js +0 -114
- package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +0 -25
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +0 -143
- package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +0 -38
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +0 -254
- package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +0 -27
- package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +0 -96
- package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +0 -143
- package/dist/collection/components/fab/test/basic/fab.e2e.js +0 -65
- package/dist/collection/components/fab/test/custom-size/fab.e2e.js +0 -17
- package/dist/collection/components/fab/test/safe-area/fab.e2e.js +0 -63
- package/dist/collection/components/fab/test/states/fab.e2e.js +0 -14
- package/dist/collection/components/fab/test/translucent/fab.e2e.js +0 -28
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +0 -66
- package/dist/collection/components/footer/test/basic/footer.e2e.js +0 -61
- package/dist/collection/components/footer/test/fade/footer.e2e.js +0 -21
- package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +0 -26
- package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +0 -17
- package/dist/collection/components/grid/test/basic/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/offsets/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/padding/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/sizes/grid.e2e.js +0 -17
- package/dist/collection/components/header/test/a11y/header.e2e.js +0 -29
- package/dist/collection/components/header/test/basic/header.e2e.js +0 -147
- package/dist/collection/components/header/test/condense/header.e2e.js +0 -33
- package/dist/collection/components/header/test/fade/header.e2e.js +0 -21
- package/dist/collection/components/header/test/scroll-target/header.e2e.js +0 -26
- package/dist/collection/components/icon/test/basic/icon.e2e.js +0 -16
- package/dist/collection/components/icon/test/dir/icon.e2e.js +0 -23
- package/dist/collection/components/img/test/basic/img.e2e.js +0 -73
- package/dist/collection/components/img/test/draggable/img.e2e.js +0 -21
- package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +0 -31
- package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +0 -37
- package/dist/collection/components/input/test/a11y/input.e2e.js +0 -67
- package/dist/collection/components/input/test/basic/input.e2e.js +0 -102
- package/dist/collection/components/input/test/bottom-content/input.e2e.js +0 -145
- package/dist/collection/components/input/test/card/input.e2e.js +0 -22
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +0 -53
- package/dist/collection/components/input/test/color/input.e2e.js +0 -130
- package/dist/collection/components/input/test/fill/input.e2e.js +0 -203
- package/dist/collection/components/input/test/highlight/input.e2e.js +0 -300
- package/dist/collection/components/input/test/input.e2e.js +0 -17
- package/dist/collection/components/input/test/input.spec.js +0 -98
- package/dist/collection/components/input/test/item/input.e2e.js +0 -64
- package/dist/collection/components/input/test/label-placement/input.e2e.js +0 -165
- package/dist/collection/components/input/test/slot/input.e2e.js +0 -63
- package/dist/collection/components/input/test/states/input.e2e.js +0 -23
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +0 -21
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +0 -38
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +0 -76
- package/dist/collection/components/item/test/a11y/item.e2e.js +0 -123
- package/dist/collection/components/item/test/a11y/item.spec.js +0 -48
- package/dist/collection/components/item/test/alignment/item.e2e.js +0 -14
- package/dist/collection/components/item/test/basic/item.e2e.js +0 -35
- package/dist/collection/components/item/test/buttons/item.e2e.js +0 -45
- package/dist/collection/components/item/test/colors/item.e2e.js +0 -17
- package/dist/collection/components/item/test/css-variables/item.e2e.js +0 -17
- package/dist/collection/components/item/test/disabled/item.e2e.js +0 -17
- package/dist/collection/components/item/test/dividers/item.e2e.js +0 -14
- package/dist/collection/components/item/test/groups/item.e2e.js +0 -16
- package/dist/collection/components/item/test/icons/item.e2e.js +0 -14
- package/dist/collection/components/item/test/images/item.e2e.js +0 -14
- package/dist/collection/components/item/test/inputs/item.e2e.js +0 -199
- package/dist/collection/components/item/test/item.spec.js +0 -20
- package/dist/collection/components/item/test/lines/item.e2e.js +0 -14
- package/dist/collection/components/item/test/media/item.e2e.js +0 -14
- package/dist/collection/components/item/test/reorder/item.e2e.js +0 -16
- package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +0 -149
- package/dist/collection/components/item/test/states/item.e2e.js +0 -17
- package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +0 -44
- package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +0 -60
- package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +0 -16
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +0 -62
- package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +0 -33
- package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +0 -162
- package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +0 -35
- package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +0 -29
- package/dist/collection/components/label/test/a11y/label.e2e.js +0 -111
- package/dist/collection/components/label/test/basic/label.e2e.js +0 -45
- package/dist/collection/components/label/test/color/label.e2e.js +0 -39
- package/dist/collection/components/label/test/headings/label.e2e.js +0 -13
- package/dist/collection/components/label/test/item/item.e2e.js +0 -24
- package/dist/collection/components/list/test/a11y/list.e2e.js +0 -15
- package/dist/collection/components/list/test/basic/list.e2e.js +0 -24
- package/dist/collection/components/list/test/inset/list.e2e.js +0 -69
- package/dist/collection/components/list/test/lines/list.e2e.js +0 -167
- package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +0 -24
- package/dist/collection/components/list-header/test/basic/list-header.e2e.js +0 -42
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +0 -61
- package/dist/collection/components/loading/test/basic/loading.e2e.js +0 -80
- package/dist/collection/components/loading/test/basic/loading.spec.js +0 -16
- package/dist/collection/components/loading/test/is-open/loading.e2e.js +0 -28
- package/dist/collection/components/loading/test/loading-id.spec.js +0 -32
- package/dist/collection/components/loading/test/loading.spec.js +0 -37
- package/dist/collection/components/loading/test/standalone/loading.e2e.js +0 -21
- package/dist/collection/components/loading/test/trigger/loading.e2e.js +0 -32
- package/dist/collection/components/menu/test/a11y/menu.e2e.js +0 -22
- package/dist/collection/components/menu/test/basic/menu.e2e.js +0 -124
- package/dist/collection/components/menu/test/custom/menu.e2e.js +0 -61
- package/dist/collection/components/menu/test/disable/menu.e2e.js +0 -55
- package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +0 -72
- package/dist/collection/components/menu/test/multiple/menu.e2e.js +0 -60
- package/dist/collection/components/menu/test/safe-area/menu.e2e.js +0 -87
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +0 -48
- package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +0 -23
- package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +0 -14
- package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +0 -43
- package/dist/collection/components/modal/test/a11y/modal.e2e.js +0 -21
- package/dist/collection/components/modal/test/animations/modal.e2e.js +0 -36
- package/dist/collection/components/modal/test/basic/modal.e2e.js +0 -125
- package/dist/collection/components/modal/test/basic/modal.spec.js +0 -35
- package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +0 -55
- package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +0 -73
- package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +0 -27
- package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +0 -191
- package/dist/collection/components/modal/test/card/modal-card.e2e.js +0 -83
- package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +0 -82
- package/dist/collection/components/modal/test/card-nav/modal.e2e.js +0 -38
- package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +0 -22
- package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +0 -42
- package/dist/collection/components/modal/test/custom/modal.e2e.js +0 -24
- package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +0 -20
- package/dist/collection/components/modal/test/dark-mode/model.e2e.js +0 -20
- package/dist/collection/components/modal/test/inline/modal.e2e.js +0 -48
- package/dist/collection/components/modal/test/is-open/modal.e2e.js +0 -25
- package/dist/collection/components/modal/test/modal-attributes.spec.js +0 -32
- package/dist/collection/components/modal/test/modal-id.spec.js +0 -32
- package/dist/collection/components/modal/test/sheet/modal.e2e.js +0 -212
- package/dist/collection/components/modal/test/standalone/modal.e2e.js +0 -19
- package/dist/collection/components/modal/test/trigger/modal.e2e.js +0 -31
- package/dist/collection/components/modal/utils.spec.js +0 -13
- package/dist/collection/components/nav/test/basic/nav.e2e.js +0 -69
- package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +0 -65
- package/dist/collection/components/nav/test/nav-controller.spec.js +0 -749
- package/dist/collection/components/nav/test/nested/nav.e2e.js +0 -66
- package/dist/collection/components/nav/test/routing/nav.e2e.js +0 -87
- package/dist/collection/components/note/test/a11y/note.e2e.js +0 -95
- package/dist/collection/components/note/test/basic/note.e2e.js +0 -78
- package/dist/collection/components/picker/test/a11y/picker.e2e.js +0 -15
- package/dist/collection/components/picker/test/basic/picker.e2e.js +0 -111
- package/dist/collection/components/picker/test/custom/picker.e2e.js +0 -85
- package/dist/collection/components/picker/test/keyboard-entry/picker.e2e.js +0 -183
- package/dist/collection/components/picker-column/test/basic/picker-column.e2e.js +0 -64
- package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -91
- package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -83
- package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
- package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
- package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
- package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +0 -29
- package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
- package/dist/collection/components/picker-legacy/test/is-open/picker.e2e.js +0 -28
- package/dist/collection/components/picker-legacy/test/picker-id.spec.js +0 -32
- package/dist/collection/components/picker-legacy/test/trigger/picker.e2e.js +0 -32
- package/dist/collection/components/picker-legacy-column/test/picker-column-aria.spec.js +0 -35
- package/dist/collection/components/picker-legacy-column/test/picker-column-dynamic.spec.js +0 -29
- package/dist/collection/components/picker-legacy-column/test/picker-column.spec.js +0 -17
- package/dist/collection/components/picker-legacy-column/test/standalone/picker-column.e2e.js +0 -35
- package/dist/collection/components/popover/test/adjustment/popover.e2e.js +0 -33
- package/dist/collection/components/popover/test/arrow/popover.e2e.js +0 -27
- package/dist/collection/components/popover/test/async/popover.e2e.js +0 -42
- package/dist/collection/components/popover/test/basic/popover.e2e.js +0 -211
- package/dist/collection/components/popover/test/basic/popover.spec.js +0 -35
- package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +0 -38
- package/dist/collection/components/popover/test/inline/popover.e2e.js +0 -32
- package/dist/collection/components/popover/test/is-open/popover.e2e.js +0 -13
- package/dist/collection/components/popover/test/nested/popover.e2e.js +0 -92
- package/dist/collection/components/popover/test/popover-id.spec.js +0 -32
- package/dist/collection/components/popover/test/position/popover.e2e.js +0 -27
- package/dist/collection/components/popover/test/reference/popover.e2e.js +0 -22
- package/dist/collection/components/popover/test/size/popover.e2e.js +0 -41
- package/dist/collection/components/popover/test/standalone/popover.e2e.js +0 -15
- package/dist/collection/components/popover/test/trigger/popover.e2e.js +0 -46
- package/dist/collection/components/popover/test/util.spec.js +0 -53
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +0 -24
- package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +0 -14
- package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +0 -20
- package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +0 -20
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +0 -152
- package/dist/collection/components/radio/test/color/radio.e2e.js +0 -27
- package/dist/collection/components/radio/test/item/radio.e2e.js +0 -92
- package/dist/collection/components/radio/test/label-placement/radio.e2e.js +0 -135
- package/dist/collection/components/radio/test/radio.spec.js +0 -60
- package/dist/collection/components/radio/test/states/radio.e2e.js +0 -45
- package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +0 -85
- package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +0 -56
- package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +0 -80
- package/dist/collection/components/radio-group/test/radio-group.spec.js +0 -69
- package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +0 -35
- package/dist/collection/components/range/test/a11y/range.e2e.js +0 -89
- package/dist/collection/components/range/test/active-bar-start/range.e2e.js +0 -14
- package/dist/collection/components/range/test/basic/range.e2e.js +0 -31
- package/dist/collection/components/range/test/color/range.e2e.js +0 -20
- package/dist/collection/components/range/test/custom/range.e2e.js +0 -14
- package/dist/collection/components/range/test/item/range.e2e.js +0 -70
- package/dist/collection/components/range/test/label/range.e2e.js +0 -179
- package/dist/collection/components/range/test/label/range.spec.js +0 -47
- package/dist/collection/components/range/test/range-events.e2e.js +0 -179
- package/dist/collection/components/range/test/range.spec.js +0 -209
- package/dist/collection/components/range/test/scroll-target/range.e2e.js +0 -35
- package/dist/collection/components/range/test/states/range.e2e.js +0 -53
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +0 -26
- package/dist/collection/components/refresher/test/basic/refresher.e2e.js +0 -38
- package/dist/collection/components/refresher/test/fullscreen/refresher.e2e.js +0 -77
- package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +0 -38
- package/dist/collection/components/refresher-content/test/refresher-content.spec.js +0 -46
- package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +0 -33
- package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +0 -36
- package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +0 -32
- package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +0 -32
- package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +0 -32
- package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +0 -66
- package/dist/collection/components/router/test/basic/router.e2e.js +0 -68
- package/dist/collection/components/router/test/guards/href/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/link/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/push/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/router.e2e.js +0 -13
- package/dist/collection/components/router/test/matching.spec.js +0 -250
- package/dist/collection/components/router/test/parser.spec.js +0 -133
- package/dist/collection/components/router/test/path.spec.js +0 -218
- package/dist/collection/components/router/test/router.spec.js +0 -55
- package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +0 -23
- package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +0 -39
- package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +0 -37
- package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -161
- package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +0 -67
- package/dist/collection/components/searchbar/test/searchbar.spec.js +0 -33
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +0 -69
- package/dist/collection/components/segment/test/basic/segment.e2e.js +0 -84
- package/dist/collection/components/segment/test/custom/segment.e2e.js +0 -14
- package/dist/collection/components/segment/test/icon/segment.e2e.js +0 -29
- package/dist/collection/components/segment/test/modes/segment.e2e.js +0 -38
- package/dist/collection/components/segment/test/scrollable/segment.e2e.js +0 -83
- package/dist/collection/components/segment/test/segment-events.e2e.js +0 -209
- package/dist/collection/components/segment/test/segment.spec.js +0 -37
- package/dist/collection/components/segment/test/toolbar/segment.e2e.js +0 -122
- package/dist/collection/components/segment/test/wrap/segment.e2e.js +0 -85
- package/dist/collection/components/select/test/a11y/select.e2e.js +0 -101
- package/dist/collection/components/select/test/async/select.e2e.js +0 -25
- package/dist/collection/components/select/test/basic/select.e2e.js +0 -195
- package/dist/collection/components/select/test/card/select.e2e.js +0 -22
- package/dist/collection/components/select/test/color/select.e2e.js +0 -42
- package/dist/collection/components/select/test/compare-with/select.e2e.js +0 -67
- package/dist/collection/components/select/test/custom/select.e2e.js +0 -68
- package/dist/collection/components/select/test/disabled/select.e2e.js +0 -30
- package/dist/collection/components/select/test/fill/select.e2e.js +0 -217
- package/dist/collection/components/select/test/highlight/select.e2e.js +0 -209
- package/dist/collection/components/select/test/item/select.e2e.js +0 -56
- package/dist/collection/components/select/test/label/select.e2e.js +0 -245
- package/dist/collection/components/select/test/popover-size/select.e2e.js +0 -80
- package/dist/collection/components/select/test/select.spec.js +0 -96
- package/dist/collection/components/select/test/slot/select.e2e.js +0 -79
- package/dist/collection/components/select/test/states/select.e2e.js +0 -41
- package/dist/collection/components/select/test/toggle-icon/select.e2e.js +0 -30
- package/dist/collection/components/select/test/wrapping/select.e2e.js +0 -36
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +0 -32
- package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +0 -77
- package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +0 -14
- package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +0 -14
- package/dist/collection/components/spinner/test/basic/spinner.e2e.js +0 -18
- package/dist/collection/components/spinner/test/color/spinner.e2e.js +0 -21
- package/dist/collection/components/spinner/test/resize/spinner.e2e.js +0 -35
- package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +0 -29
- package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +0 -31
- package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +0 -41
- package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +0 -43
- package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +0 -14
- package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +0 -70
- package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +0 -15
- package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +0 -81
- package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +0 -123
- package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +0 -65
- package/dist/collection/components/tabs/test/basic/tabs.e2e.js +0 -32
- package/dist/collection/components/tabs/test/placements/tabs.e2e.js +0 -39
- package/dist/collection/components/text/test/basic/text.e2e.js +0 -30
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +0 -67
- package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +0 -48
- package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +0 -120
- package/dist/collection/components/textarea/test/card/textarea.e2e.js +0 -22
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +0 -61
- package/dist/collection/components/textarea/test/color/textarea.e2e.js +0 -131
- package/dist/collection/components/textarea/test/cols/textarea.e2e.js +0 -37
- package/dist/collection/components/textarea/test/fill/textarea.e2e.js +0 -205
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +0 -303
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +0 -64
- package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +0 -224
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +0 -63
- package/dist/collection/components/textarea/test/states/textarea.e2e.js +0 -23
- package/dist/collection/components/textarea/test/textarea-events.e2e.js +0 -70
- package/dist/collection/components/textarea/test/textarea.spec.js +0 -59
- package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +0 -48
- package/dist/collection/components/title/test/a11y/title.e2e.js +0 -61
- package/dist/collection/components/title/test/basic/title.e2e.js +0 -30
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +0 -210
- package/dist/collection/components/toast/test/basic/toast.e2e.js +0 -123
- package/dist/collection/components/toast/test/is-open/toast.e2e.js +0 -28
- package/dist/collection/components/toast/test/layout/toast.e2e.js +0 -17
- package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +0 -45
- package/dist/collection/components/toast/test/standalone/toast.e2e.js +0 -21
- package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +0 -84
- package/dist/collection/components/toast/test/toast-config.spec.js +0 -25
- package/dist/collection/components/toast/test/toast-id.spec.js +0 -32
- package/dist/collection/components/toast/test/toast.spec.js +0 -212
- package/dist/collection/components/toast/test/trigger/toast.e2e.js +0 -32
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +0 -21
- package/dist/collection/components/toggle/test/color/toggle.e2e.js +0 -23
- package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +0 -61
- package/dist/collection/components/toggle/test/item/toggle.e2e.js +0 -104
- package/dist/collection/components/toggle/test/label/toggle.e2e.js +0 -120
- package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +0 -14
- package/dist/collection/components/toggle/test/states/toggle.e2e.js +0 -30
- package/dist/collection/components/toggle/test/toggle.spec.js +0 -67
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +0 -143
- package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +0 -17
- package/dist/collection/css/test/a11y/typography.e2e.js +0 -50
- package/dist/collection/global/test/config-controller.spec.js +0 -85
- package/dist/collection/themes/test/colors/theme.e2e.js +0 -170
- package/dist/collection/utils/animation/test/animation.spec.js +0 -358
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -31
- package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -17
- package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -24
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -45
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -30
- package/dist/collection/utils/content/content.utils.spec.js +0 -137
- package/dist/collection/utils/floating-point/floating-point.spec.js +0 -22
- package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +0 -52
- package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +0 -52
- package/dist/collection/utils/helpers.spec.js +0 -36
- package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +0 -115
- package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +0 -21
- package/dist/collection/utils/keyboard/test/keyboard.spec.js +0 -214
- package/dist/collection/utils/rtl/dir.spec.js +0 -25
- package/dist/collection/utils/sanitization/test/sanitization.spec.js +0 -43
- package/dist/collection/utils/tap-click/test/tap-click.e2e.js +0 -25
- package/dist/collection/utils/test/attributes.spec.js +0 -53
- package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +0 -33
- package/dist/collection/utils/test/hardware-back-button.spec.js +0 -91
- package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +0 -65
- package/dist/collection/utils/test/overlays/overlays.e2e.js +0 -301
- package/dist/collection/utils/test/overlays/overlays.spec.js +0 -206
- package/dist/collection/utils/test/platform.spec.js +0 -132
- package/dist/collection/utils/test/ready.spec.js +0 -39
- package/dist/collection/utils/test/theme.spec.js +0 -56
- package/dist/esm-es5/app-globals-232dc3ed.js +0 -4
- package/dist/esm-es5/index-c71c5417.js +0 -5
- package/dist/ionic/p-3b199ab6.entry.js +0 -4
- package/dist/ionic/p-44c6eb74.js +0 -4
- package/dist/ionic/p-6017cbeb.system.js +0 -4
- package/dist/ionic/p-99a4d7c7.system.js +0 -5
- package/dist/ionic/p-df4bdf05.entry.js +0 -4
- package/dist/ionic/p-e6964b3a.js +0 -5
- package/dist/ionic/p-f654e4df.entry.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,d as e,w as i,h as a,f as o,i as n}from"./p-e6964b3a.js";import{startFocusVisible as r}from"./p-d47265c8.js";import{r as s,d,g as l,j as c}from"./p-b51e4004.js";import{a as h,p}from"./p-06fee233.js";import{i as m}from"./p-fb813dab.js";import{c as b,g}from"./p-47794def.js";import{c as u,o as f,l as y,p as x,q as k}from"./p-da2b833b.js";import{b as v}from"./p-9f5f3485.js";import{g as w,a as j,i as C,b as O,c as P,d as z,e as D,v as $,f as M,h as T,j as A,k as S,l as V,m as I,n as W,o as E,p as F,q as L,r as R,s as B,w as Y,t as H,u as q,x as _,y as G,z as N,A as U,B as K,C as Z,D as J,E as Q,F as X,G as tt,H as et,I as it,J as at,K as ot,L as nt,M as rt,N as st,O as dt,P as lt,Q as ct,R as ht}from"./p-d60342e3.js";import{c as pt}from"./p-ccd02320.js";import{d as mt,e as bt,B as gt,i as ut,j as ft,k as yt,f as xt,g as kt,h as vt,s as wt}from"./p-b7fa6074.js";import{c as jt}from"./p-c7e16491.js";import{b as Ct,h as Ot,a as Pt}from"./p-89b61afc.js";import"./p-7b30edcc.js";import"./p-00333e13.js";import"./p-3cc276f4.js";import"./p-9b97df10.js";import"./p-c61cc894.js";const zt=(t,e,i,a)=>null===t.day||void 0!==a&&!a.includes(t.day)||!(!e||!C(t,e))||!(!i||!O(t,i)),Dt=(t,e,i,a,o,n,r)=>{const s=void 0!==(Array.isArray(i)?i:[i]).find((t=>P(e,t))),d=P(e,a);return{disabled:zt(e,o,n,r),isActive:s,isToday:d,ariaSelected:s?"true":null,ariaLabel:w(t,d,e),text:null!=e.day?j(t,e):null}},$t=(t,{minParts:e,maxParts:i})=>!!((t,e,i)=>!!(e&&e.year>t)||!!(i&&i.year<t))(t.year,e,i)||!!(e&&C(t,e)||i&&O(t,i)),Mt=(t,e)=>{var i,a,o,n;((null===(i=null==e?void 0:e.date)||void 0===i?void 0:i.timeZone)||(null===(a=null==e?void 0:e.date)||void 0===a?void 0:a.timeZoneName)||(null===(o=null==e?void 0:e.time)||void 0===o?void 0:o.timeZone)||(null===(n=null==e?void 0:e.time)||void 0===n?void 0:n.timeZoneName))&&p('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".',t)},Tt=(t,e,i)=>{if(i)switch(e){case"date":case"month-year":case"month":case"year":void 0===i.date&&p(`Datetime: The '${e}' presentation requires a date object in formatOptions.`,t);break;case"time":void 0===i.time&&p("Datetime: The 'time' presentation requires a time object in formatOptions.",t);break;case"date-time":case"time-date":void 0===i.date&&void 0===i.time&&p(`Datetime: The '${e}' presentation requires either a date or time object (or both) in formatOptions.`,t)}},At=class{constructor(a){t(this,a),this.ionCancel=e(this,"ionCancel",7),this.ionChange=e(this,"ionChange",7),this.ionValueChange=e(this,"ionValueChange",7),this.ionFocus=e(this,"ionFocus",7),this.ionBlur=e(this,"ionBlur",7),this.ionStyle=e(this,"ionStyle",7),this.ionRender=e(this,"ionRender",7),this.inputId="ion-dt-"+St++,this.prevPresentation=null,this.warnIfIncorrectValueUsage=()=>{const{multiple:t,value:e}=this;!t&&Array.isArray(e)&&p(`ion-datetime was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${e.map((t=>`'${t}'`)).join(", ")}]\n`,this.el)},this.setValue=t=>{this.value=t,this.ionChange.emit({value:t})},this.getActivePartsWithFallback=()=>{var t;const{defaultParts:e}=this;return null!==(t=this.getActivePart())&&void 0!==t?t:e},this.getActivePart=()=>{const{activeParts:t}=this;return Array.isArray(t)?t[0]:t},this.closeParentOverlay=t=>{const e=this.el.closest("ion-modal, ion-popover");e&&e.dismiss(void 0,t)},this.setWorkingParts=t=>{this.workingParts=Object.assign({},t)},this.setActiveParts=(t,e=!1)=>{if(this.readonly)return;const{multiple:i,minParts:a,maxParts:o,activeParts:n}=this,r=$(t,a,o);if(this.setWorkingParts(r),i){const t=Array.isArray(n)?n:[n];this.activeParts=e?t.filter((t=>!P(t,r))):[...t,r]}else this.activeParts=Object.assign({},r);null!==this.el.querySelector('[slot="buttons"]')||this.showDefaultButtons||this.confirm()},this.initializeKeyboardListeners=()=>{const t=this.calendarBodyRef;if(!t)return;const e=this.el.shadowRoot,i=t.querySelector(".calendar-month:nth-of-type(2)"),a=new MutationObserver((e=>{var a;!(null===(a=e[0].oldValue)||void 0===a?void 0:a.includes("ion-focused"))&&t.classList.contains("ion-focused")&&this.focusWorkingDay(i)}));a.observe(t,{attributeFilter:["class"],attributeOldValue:!0}),this.destroyKeyboardMO=()=>{null==a||a.disconnect()},t.addEventListener("keydown",(t=>{const a=e.activeElement;if(!a||!a.classList.contains("calendar-day"))return;const o=M(a);let n;switch(t.key){case"ArrowDown":t.preventDefault(),n=F(o);break;case"ArrowUp":t.preventDefault(),n=E(o);break;case"ArrowRight":t.preventDefault(),n=W(o);break;case"ArrowLeft":t.preventDefault(),n=I(o);break;case"Home":t.preventDefault(),n=V(o);break;case"End":t.preventDefault(),n=S(o);break;case"PageUp":t.preventDefault(),n=t.shiftKey?A(o):z(o);break;case"PageDown":t.preventDefault(),n=t.shiftKey?T(o):D(o);break;default:return}zt(n,this.minParts,this.maxParts)||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),n)),requestAnimationFrame((()=>this.focusWorkingDay(i))))}))},this.focusWorkingDay=t=>{const e=t.querySelectorAll(".calendar-day-padding"),{day:i}=this.workingParts;if(null===i)return;const a=t.querySelector(`.calendar-day-wrapper:nth-of-type(${e.length+i}) .calendar-day`);a&&a.focus()},this.processMinParts=()=>{const{min:t,defaultParts:e}=this;this.minParts=void 0!==t?L(t,e):void 0},this.processMaxParts=()=>{const{max:t,defaultParts:e}=this;this.maxParts=void 0!==t?R(t,e):void 0},this.initializeCalendarListener=()=>{const t=this.calendarBodyRef;if(!t)return;const e=t.querySelectorAll(".calendar-month"),a=e[0],o=e[1],n=e[2],r="ios"===v(this)&&"undefined"!=typeof navigator&&navigator.maxTouchPoints>1;i((()=>{t.scrollLeft=a.clientWidth*(m(this.el)?-1:1);const e=e=>{const i=t.getBoundingClientRect(),o=(m(this.el)?t.scrollLeft>=-2:t.scrollLeft<=2)?a:n,r=o.getBoundingClientRect();if(Math.abs(r.x-i.x)>2)return;const{forceRenderDate:s}=this;return void 0!==s?{month:s.month,year:s.year,day:s.day}:o===a?z(e):o===n?D(e):void 0},s=()=>{r&&(t.style.removeProperty("pointer-events"),l=!1);const a=e(this.workingParts);if(!a)return;const{month:n,day:s,year:d}=a;$t({month:n,year:d,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})||(t.style.setProperty("overflow","hidden"),i((()=>{this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:n,day:s,year:d})),t.scrollLeft=o.clientWidth*(m(this.el)?-1:1),t.style.removeProperty("overflow"),this.resolveForceDateScrolling&&this.resolveForceDateScrolling()})))};let d,l=!1;const c=()=>{d&&clearTimeout(d),!l&&r&&(t.style.setProperty("pointer-events","none"),l=!0),d=setTimeout(s,50)};t.addEventListener("scroll",c),this.destroyCalendarListener=()=>{t.removeEventListener("scroll",c)}}))},this.destroyInteractionListeners=()=>{const{destroyCalendarListener:t,destroyKeyboardMO:e}=this;void 0!==t&&t(),void 0!==e&&e()},this.processValue=t=>{const e=null!=t&&(!Array.isArray(t)||t.length>0),i=e?B(t):this.defaultParts,{minParts:a,maxParts:o,workingParts:n,el:r}=this;if(this.warnIfIncorrectValueUsage(),!i)return;e&&Y(i,a,o);const s=Array.isArray(i)?i[0]:i,d=lt(s,a,o),{month:l,day:c,year:h,hour:p,minute:m}=d,b=ct(p);this.activeParts=e?Array.isArray(i)?[...i]:{month:l,day:c,year:h,hour:p,minute:m,ampm:b}:[];const g=void 0!==l&&l!==n.month||void 0!==h&&h!==n.year,u=r.classList.contains("datetime-ready"),{isGridStyle:f,showMonthAndYear:y}=this;let x=!0;if(Array.isArray(i)){const t=i[0].month;for(const e of i)if(e.month!==t){x=!1;break}}x&&(f&&g&&u&&!y?this.animateToDate(d):this.setWorkingParts({month:l,day:c,year:h,hour:p,minute:m,ampm:b}))},this.animateToDate=async t=>{const{workingParts:e}=this;this.forceRenderDate=t;const i=new Promise((t=>{this.resolveForceDateScrolling=t}));C(t,e)?this.prevMonth():this.nextMonth(),await i,this.resolveForceDateScrolling=void 0,this.forceRenderDate=void 0},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.hasValue=()=>null!=this.value,this.nextMonth=()=>{const t=this.calendarBodyRef;if(!t)return;const e=t.querySelector(".calendar-month:last-of-type");e&&t.scrollTo({top:0,left:2*e.offsetWidth*(m(this.el)?-1:1),behavior:"smooth"})},this.prevMonth=()=>{const t=this.calendarBodyRef;t&&t.querySelector(".calendar-month:first-of-type")&&t.scrollTo({top:0,left:0,behavior:"smooth"})},this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear},this.showMonthAndYear=!1,this.activeParts=[],this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"},this.isTimePopoverOpen=!1,this.forceRenderDate=void 0,this.color="primary",this.name=this.inputId,this.disabled=!1,this.formatOptions=void 0,this.readonly=!1,this.isDateEnabled=void 0,this.min=void 0,this.max=void 0,this.presentation="date-time",this.cancelText="Cancel",this.doneText="Done",this.clearText="Clear",this.yearValues=void 0,this.monthValues=void 0,this.dayValues=void 0,this.hourValues=void 0,this.minuteValues=void 0,this.locale="default",this.firstDayOfWeek=0,this.titleSelectedDatesFormatter=void 0,this.multiple=!1,this.highlightedDates=void 0,this.value=void 0,this.showDefaultTitle=!1,this.showDefaultButtons=!1,this.showClearButton=!1,this.showDefaultTimeLabel=!0,this.hourCycle=void 0,this.size="fixed",this.preferWheel=!1}formatOptionsChanged(){const{el:t,formatOptions:e,presentation:i}=this;Tt(t,i,e),Mt(t,e)}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}presentationChanged(){const{el:t,formatOptions:e,presentation:i}=this;Tt(t,i,e)}get isGridStyle(){const{presentation:t,preferWheel:e}=this;return("date"===t||"date-time"===t||"time-date"===t)&&!e}yearValuesChanged(){this.parsedYearValues=H(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=H(this.monthValues)}dayValuesChanged(){this.parsedDayValues=H(this.dayValues)}hourValuesChanged(){this.parsedHourValues=H(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=H(this.minuteValues)}async valueChanged(){const{value:t}=this;this.hasValue()&&this.processValue(t),this.emitStyle(),this.ionValueChange.emit({value:t})}async confirm(t=!1){const{isCalendarPicker:e,activeParts:i,preferWheel:a,workingParts:o}=this;if(void 0!==i||!e){const t=Array.isArray(i);this.setValue(t&&0===i.length?a?q(o):void 0:q(i))}t&&this.closeParentOverlay(It)}async reset(t){this.processValue(t)}async cancel(t=!1){this.ionCancel.emit(),t&&this.closeParentOverlay(Vt)}get isCalendarPicker(){const{presentation:t}=this;return"date"===t||"date-time"===t||"time-date"===t}connectedCallback(){this.clearFocusVisible=r(this.el).destroy}disconnectedCallback(){this.clearFocusVisible&&(this.clearFocusVisible(),this.clearFocusVisible=void 0)}initializeListeners(){this.initializeCalendarListener(),this.initializeKeyboardListeners()}componentDidLoad(){const{el:t,intersectionTrackerRef:e}=this,a=new IntersectionObserver((t=>{t[0].isIntersecting&&(this.initializeListeners(),i((()=>{this.el.classList.add("datetime-ready")})))}),{threshold:.01,root:t});s((()=>null==a?void 0:a.observe(e)));const o=new IntersectionObserver((t=>{t[0].isIntersecting||(this.destroyInteractionListeners(),this.showMonthAndYear=!1,i((()=>{this.el.classList.remove("datetime-ready")})))}),{threshold:0,root:t});s((()=>null==o?void 0:o.observe(e)));const n=l(this.el);n.addEventListener("ionFocus",(t=>t.stopPropagation())),n.addEventListener("ionBlur",(t=>t.stopPropagation()))}componentDidRender(){const{presentation:t,prevPresentation:e,calendarBodyRef:i,minParts:a,preferWheel:o,forceRenderDate:n}=this,r=!o&&["date-time","time-date","date"].includes(t);if(void 0!==a&&r&&i){const t=i.querySelector(".calendar-month:nth-of-type(1)");t&&void 0===n&&(i.scrollLeft=t.clientWidth*(m(this.el)?-1:1))}null!==e?t!==e&&(this.prevPresentation=t,this.destroyInteractionListeners(),this.initializeListeners(),this.showMonthAndYear=!1,s((()=>{this.ionRender.emit()}))):this.prevPresentation=t}componentWillLoad(){const{el:t,formatOptions:e,highlightedDates:i,multiple:a,presentation:o,preferWheel:n}=this;a&&("date"!==o&&p('Multiple date selection is only supported for presentation="date".',t),n&&p('Multiple date selection is not supported with preferWheel="true".',t)),void 0!==i&&("date"!==o&&"date-time"!==o&&"time-date"!==o&&p("The highlightedDates property is only supported with the date, date-time, and time-date presentations.",t),n&&p('The highlightedDates property is not supported with preferWheel="true".',t)),e&&(Tt(t,o,e),Mt(t,e));const r=this.parsedHourValues=H(this.hourValues),s=this.parsedMinuteValues=H(this.minuteValues),d=this.parsedMonthValues=H(this.monthValues),l=this.parsedYearValues=H(this.yearValues),c=this.parsedDayValues=H(this.dayValues),h=this.todayParts=B(_());this.processMinParts(),this.processMaxParts(),this.defaultParts=G({refParts:h,monthValues:d,dayValues:c,yearValues:l,hourValues:r,minuteValues:s,minParts:this.minParts,maxParts:this.maxParts}),this.processValue(this.value),this.emitStyle()}emitStyle(){this.ionStyle.emit({interactive:!0,datetime:!0,"interactive-disabled":this.disabled})}renderFooter(){const{disabled:t,readonly:e,showDefaultButtons:i,showClearButton:o}=this,n=t||e;if(null===this.el.querySelector('[slot="buttons"]')&&!i&&!o)return;const r=()=>{this.reset(),this.setValue(void 0)};return a("div",{class:"datetime-footer"},a("div",{class:"datetime-buttons"},a("div",{class:{"datetime-action-buttons":!0,"has-clear-button":this.showClearButton}},a("slot",{name:"buttons"},a("ion-buttons",null,i&&a("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(!0),disabled:n},this.cancelText),a("div",{class:"datetime-action-buttons-container"},o&&a("ion-button",{id:"clear-button",color:this.color,onClick:()=>r(),disabled:n},this.clearText),i&&a("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(!0),disabled:n},this.doneText)))))))}renderWheelPicker(t=this.presentation){const e="time-date"===t?[this.renderTimePickerColumns(t),this.renderDatePickerColumns(t)]:[this.renderDatePickerColumns(t),this.renderTimePickerColumns(t)];return a("ion-picker",null,e)}renderDatePickerColumns(t){return"date-time"===t||"time-date"===t?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(t)}renderCombinedDatePickerColumn(){const{defaultParts:t,disabled:e,workingParts:i,locale:o,minParts:n,maxParts:r,todayParts:s,isDateEnabled:d}=this,l=this.getActivePartsWithFallback(),c=N(i),p=c[c.length-1];c[0].day=1,p.day=U(p.month,p.year);const m=void 0!==n&&O(n,c[0])?n:c[0],b=void 0!==r&&C(r,p)?r:p,g=K(o,s,m,b,this.parsedDayValues,this.parsedMonthValues);let u=g.items;const f=g.parts;d&&(u=u.map(((t,e)=>{const i=f[e];let a;try{a=!d(q(i))}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:a})})));const y=null!==i.day?`${i.year}-${i.month}-${i.day}`:`${t.year}-${t.month}-${t.day}`;return a("ion-picker-column",{"aria-label":"Select a date",class:"date-column",color:this.color,disabled:e,value:y,onIonChange:t=>{const{value:e}=t.detail,a=f.find((({month:t,day:i,year:a})=>e===`${a}-${t}-${i}`));this.setWorkingParts(Object.assign(Object.assign({},i),a)),this.setActiveParts(Object.assign(Object.assign({},l),a)),t.stopPropagation()}},u.map((t=>a("ion-picker-column-option",{part:t.value===y?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderIndividualDatePickerColumns(t){const{workingParts:e,isDateEnabled:i}=this,a="year"!==t&&"time"!==t?Z(this.locale,e,this.minParts,this.maxParts,this.parsedMonthValues):[];let o="date"===t?J(this.locale,e,this.minParts,this.maxParts,this.parsedDayValues):[];i&&(o=o.map((t=>{const{value:a}=t,o="string"==typeof a?parseInt(a):a,n={month:e.month,day:o,year:e.year};let r;try{r=!i(q(n))}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:r})})));const n="month"!==t&&"time"!==t?Q(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];let r=[];return r=X(this.locale,{month:"numeric",day:"numeric"})?[this.renderMonthPickerColumn(a),this.renderDayPickerColumn(o),this.renderYearPickerColumn(n)]:[this.renderDayPickerColumn(o),this.renderMonthPickerColumn(a),this.renderYearPickerColumn(n)],r}renderDayPickerColumn(t){var e;if(0===t.length)return[];const{disabled:i,workingParts:o}=this,n=this.getActivePartsWithFallback(),r=null!==(e=null!==o.day?o.day:this.defaultParts.day)&&void 0!==e?e:void 0;return a("ion-picker-column",{"aria-label":"Select a day",class:"day-column",color:this.color,disabled:i,value:r,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},o),{day:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{day:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===r?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderMonthPickerColumn(t){if(0===t.length)return[];const{disabled:e,workingParts:i}=this,o=this.getActivePartsWithFallback();return a("ion-picker-column",{"aria-label":"Select a month",class:"month-column",color:this.color,disabled:e,value:i.month,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},i),{month:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{month:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===i.month?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderYearPickerColumn(t){if(0===t.length)return[];const{disabled:e,workingParts:i}=this,o=this.getActivePartsWithFallback();return a("ion-picker-column",{"aria-label":"Select a year",class:"year-column",color:this.color,disabled:e,value:i.year,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},i),{year:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{year:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===i.year?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderTimePickerColumns(t){if(["date","month","month-year","year"].includes(t))return[];const e=void 0!==this.getActivePart(),{hoursData:i,minutesData:a,dayPeriodData:o}=tt(this.locale,this.workingParts,this.hourCycle,e?this.minParts:void 0,e?this.maxParts:void 0,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(i),this.renderMinutePickerColumn(a),this.renderDayPeriodPickerColumn(o)]}renderHourPickerColumn(t){const{disabled:e,workingParts:i}=this;if(0===t.length)return[];const o=this.getActivePartsWithFallback();return a("ion-picker-column",{"aria-label":"Select an hour",color:this.color,disabled:e,value:o.hour,numericInput:!0,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},i),{hour:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{hour:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===o.hour?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderMinutePickerColumn(t){const{disabled:e,workingParts:i}=this;if(0===t.length)return[];const o=this.getActivePartsWithFallback();return a("ion-picker-column",{"aria-label":"Select a minute",color:this.color,disabled:e,value:o.minute,numericInput:!0,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},i),{minute:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{minute:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===o.minute?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderDayPeriodPickerColumn(t){const{disabled:e,workingParts:i}=this;if(0===t.length)return[];const o=this.getActivePartsWithFallback(),n=et(this.locale);return a("ion-picker-column",{"aria-label":"Select a day period",style:n?{order:"-1"}:{},color:this.color,disabled:e,value:o.ampm,onIonChange:t=>{const e=ht(i,t.detail.value);this.setWorkingParts(Object.assign(Object.assign({},i),{ampm:t.detail.value,hour:e})),this.setActiveParts(Object.assign(Object.assign({},o),{ampm:t.detail.value,hour:e})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===o.ampm?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderWheelView(t){const{locale:e}=this,i=X(e)?"month-first":"year-first";return a("div",{class:{[`wheel-order-${i}`]:!0}},this.renderWheelPicker(t))}renderCalendarHeader(t){const{disabled:e}=this,i="ios"===t?y:x,o="ios"===t?f:k,n=e||((t,e,i)=>{const a=Object.assign(Object.assign({},z(this.workingParts)),{day:null});return $t(a,{minParts:e,maxParts:i})})(0,this.minParts,this.maxParts),r=e||((t,e)=>{const i=Object.assign(Object.assign({},D(this.workingParts)),{day:null});return $t(i,{maxParts:e})})(0,this.maxParts),s=this.el.getAttribute("dir")||void 0;return a("div",{class:"calendar-header"},a("div",{class:"calendar-action-buttons"},a("div",{class:"calendar-month-year"},a("button",{class:{"calendar-month-year-toggle":!0,"ion-activatable":!0,"ion-focusable":!0},part:"month-year-button",disabled:e,"aria-label":this.showMonthAndYear?"Hide year picker":"Show year picker",onClick:()=>this.toggleMonthAndYearView()},a("span",{id:"toggle-wrapper"},at(this.locale,this.workingParts),a("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?i:o,lazy:!1,flipRtl:!0})),"md"===t&&a("ion-ripple-effect",null))),a("div",{class:"calendar-next-prev"},a("ion-buttons",null,a("ion-button",{"aria-label":"Previous month",disabled:n,onClick:()=>this.prevMonth()},a("ion-icon",{dir:s,"aria-hidden":"true",slot:"icon-only",icon:u,lazy:!1,flipRtl:!0})),a("ion-button",{"aria-label":"Next month",disabled:r,onClick:()=>this.nextMonth()},a("ion-icon",{dir:s,"aria-hidden":"true",slot:"icon-only",icon:f,lazy:!1,flipRtl:!0}))))),a("div",{class:"calendar-days-of-week","aria-hidden":"true"},it(this.locale,t,this.firstDayOfWeek%7).map((t=>a("div",{class:"day-of-week"},t)))))}renderMonth(t,e){const{disabled:i,readonly:o}=this,n=void 0===this.parsedYearValues||this.parsedYearValues.includes(e),r=void 0===this.parsedMonthValues||this.parsedMonthValues.includes(t),s=!n||!r,d=i||o,l=i||$t({month:t,year:e,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})}),c=this.workingParts.month===t&&this.workingParts.year===e,p=this.getActivePartsWithFallback();return a("div",{"aria-hidden":c?null:"true",class:{"calendar-month":!0,"calendar-month-disabled":!c&&l}},a("div",{class:"calendar-month-grid"},ot(t,e,this.firstDayOfWeek%7).map(((i,o)=>{const{day:n,dayOfWeek:r}=i,{el:l,highlightedDates:c,isDateEnabled:m,multiple:b}=this,g={month:t,day:n,year:e},u=null===n,{isActive:f,isToday:y,ariaLabel:x,ariaSelected:k,disabled:v,text:w}=Dt(this.locale,g,this.activeParts,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues),j=q(g);let C=s||v;if(!C&&void 0!==m)try{C=!m(j)}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",l,t)}const O=C&&d,P=C||d;let z,D;return void 0===c||f||null===n||(z=((t,e,i)=>{if(Array.isArray(t)){const i=e.split("T")[0],a=t.find((t=>t.date===i));if(a)return{textColor:a.textColor,backgroundColor:a.backgroundColor}}else try{return t(e)}catch(t){h("Exception thrown from provided `highlightedDates` callback. Please check your function and try again.",i,t)}})(c,j,l)),u||(D=`calendar-day${f?" active":""}${y?" today":""}${C?" disabled":""}`),a("div",{class:"calendar-day-wrapper"},a("button",{ref:t=>{t&&(t.style.setProperty("color",`${z?z.textColor:""}`,"important"),t.style.setProperty("background-color",`${z?z.backgroundColor:""}`,"important"))},tabindex:"-1","data-day":n,"data-month":t,"data-year":e,"data-index":o,"data-day-of-week":r,disabled:P,class:{"calendar-day-padding":u,"calendar-day":!0,"calendar-day-active":f,"calendar-day-constrained":O,"calendar-day-today":y},part:D,"aria-hidden":u?"true":null,"aria-selected":k,"aria-label":x,onClick:()=>{u||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:t,day:n,year:e})),b?this.setActiveParts({month:t,day:n,year:e},f):this.setActiveParts(Object.assign(Object.assign({},p),{month:t,day:n,year:e})))}},w))}))))}renderCalendarBody(){return a("div",{class:"calendar-body ion-focusable",ref:t=>this.calendarBodyRef=t,tabindex:"0"},N(this.workingParts,this.forceRenderDate).map((({month:t,year:e})=>this.renderMonth(t,e))))}renderCalendar(t){return a("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(t),this.renderCalendarBody())}renderTimeLabel(){if(null!==this.el.querySelector('[slot="time-label"]')||this.showDefaultTimeLabel)return a("slot",{name:"time-label"},"Time")}renderTimeOverlay(){const{disabled:t,hourCycle:e,isTimePopoverOpen:i,locale:o,formatOptions:n}=this,r=nt(o,e),s=this.getActivePartsWithFallback();return[a("div",{class:"time-header"},this.renderTimeLabel()),a("button",{class:{"time-body":!0,"time-body-active":i},part:"time-button"+(i?" active":""),"aria-expanded":"false","aria-haspopup":"true",disabled:t,onClick:async t=>{const{popoverRef:e}=this;e&&(this.isTimePopoverOpen=!0,e.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:t.target}})),await e.onWillDismiss(),this.isTimePopoverOpen=!1)}},rt(o,s,r,null==n?void 0:n.time)),a("ion-popover",{alignment:"center",translucent:!0,overlayIndex:1,arrow:!1,onWillPresent:t=>{t.target.querySelectorAll("ion-picker-column").forEach((t=>t.scrollActiveItemIntoView()))},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:!0,ref:t=>this.popoverRef=t},this.renderWheelPicker("time"))]}getHeaderSelectedDateText(){var t;const{activeParts:e,formatOptions:i,multiple:a,titleSelectedDatesFormatter:o}=this,n=Array.isArray(e);let r;if(a&&n&&1!==e.length){if(r=`${e.length} days`,void 0!==o)try{r=o(q(e))}catch(t){h("Exception in provided `titleSelectedDatesFormatter`: ",t)}}else r=st(this.locale,this.getActivePartsWithFallback(),null!==(t=null==i?void 0:i.date)&&void 0!==t?t:{weekday:"short",month:"short",day:"numeric"});return r}renderHeader(t=!0){if(null!==this.el.querySelector('[slot="title"]')||this.showDefaultTitle)return a("div",{class:"datetime-header"},a("div",{class:"datetime-title"},a("slot",{name:"title"},"Select Date")),t&&a("div",{class:"datetime-selected-date"},this.getHeaderSelectedDateText()))}renderTime(){const{presentation:t}=this;return a("div",{class:"datetime-time"},"time"===t?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return a("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(t){const{presentation:e,preferWheel:i}=this;if(i&&("date"===e||"date-time"===e||"time-date"===e))return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];switch(e){case"date-time":return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderHeader(),this.renderTime(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderHeader(!1),this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];default:return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}}render(){const{name:t,value:e,disabled:i,el:n,color:r,readonly:s,showMonthAndYear:l,preferWheel:c,presentation:h,size:p,isGridStyle:m}=this,g=v(this),u="year"===h||"month"===h||"month-year"===h,f=l||u,y=l&&!u,x=("date"===h||"date-time"===h||"time-date"===h)&&c;return d(!0,n,t,dt(e),i),a(o,{key:"48313af4ec8e2a2666cd8c89932c5131dfa7b556","aria-disabled":i?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},b(r,{[g]:!0,"datetime-readonly":s,"datetime-disabled":i,"show-month-and-year":f,"month-year-picker-open":y,[`datetime-presentation-${h}`]:!0,[`datetime-size-${p}`]:!0,"datetime-prefer-wheel":x,"datetime-grid":m}))},a("div",{key:"b72570048236415aed915488305046d987d51dcf",class:"intersection-tracker",ref:t=>this.intersectionTrackerRef=t}),this.renderDatetime(g))}get el(){return n(this)}static get watchers(){return{formatOptions:["formatOptionsChanged"],disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],presentation:["presentationChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],value:["valueChanged"]}}};let St=0;const Vt="datetime-cancel",It="datetime-confirm",Wt="wheel-item",Et="active";At.style={ios:':host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}',md:':host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}'};const Ft=t=>{const e=jt(),i=jt(),a=jt();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},Lt=t=>{const e=jt(),i=jt(),a=jt();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),a.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},Rt=class{constructor(i){t(this,i),this.didPresent=e(this,"ionPickerDidPresent",7),this.willPresent=e(this,"ionPickerWillPresent",7),this.willDismiss=e(this,"ionPickerWillDismiss",7),this.didDismiss=e(this,"ionPickerDidDismiss",7),this.didPresentShorthand=e(this,"didPresent",7),this.willPresentShorthand=e(this,"willPresent",7),this.willDismissShorthand=e(this,"willDismiss",7),this.didDismissShorthand=e(this,"didDismiss",7),this.delegateController=mt(this),this.lockController=pt(),this.triggerController=bt(),this.onBackdropTap=()=>{this.dismiss(void 0,gt)},this.dispatchCancelHandler=t=>{if(ut(t.detail.role)){const t=this.buttons.find((t=>"cancel"===t.role));this.callButtonHandler(t)}},this.presented=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.columns=[],this.cssClass=void 0,this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:i}=this;t&&i.addClickListener(e,t)}connectedCallback(){ft(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){yt(this.el)}componentDidLoad(){p("ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.",this.el),!0===this.isOpen&&s((()=>this.present())),this.triggerChanged()}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await xt(this,"pickerEnter",Ft,Ft,void 0),this.duration>0&&(this.durationTimeout=setTimeout((()=>this.dismiss()),this.duration)),t()}async dismiss(t,e){const i=await this.lockController.lock();this.durationTimeout&&clearTimeout(this.durationTimeout);const a=await kt(this,t,e,"pickerLeave",Lt,Lt);return a&&this.delegateController.removeViewFromDom(),i(),a}onDidDismiss(){return vt(this.el,"ionPickerDidDismiss")}onWillDismiss(){return vt(this.el,"ionPickerWillDismiss")}getColumn(t){return Promise.resolve(this.columns.find((e=>e.name===t)))}async buttonClick(t){const e=t.role;return ut(e)?this.dismiss(void 0,e):await this.callButtonHandler(t)?this.dismiss(this.getSelected(),t.role):Promise.resolve()}async callButtonHandler(t){return!t||!1!==await wt(t.handler,this.getSelected())}getSelected(){const t={};return this.columns.forEach(((e,i)=>{const a=void 0!==e.selectedIndex?e.options[e.selectedIndex]:void 0;t[e.name]={text:a?a.text:void 0,value:a?a.value:void 0,columnIndex:i}})),t}render(){const{htmlAttributes:t}=this,e=v(this);return a(o,Object.assign({key:"26e3144adcdf01605271d01e468bb4a75ce854b1","aria-modal":"true",tabindex:"-1"},t,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[e]:!0,[`picker-${e}`]:!0,"overlay-hidden":!0},g(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),a("ion-backdrop",{key:"fa212d21406606186cd95f8c7a4f119696ac8d4a",visible:this.showBackdrop,tappable:this.backdropDismiss}),a("div",{key:"19ea889f65cb6a68a9db26cf9f83c6587cfcf07e",tabindex:"0"}),a("div",{key:"5fc0f5d26915ba353b9f0335946f94b6fda95e1e",class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},a("div",{key:"3fa5bff4ac0013ef31845482a27a14caebbdcd2f",class:"picker-toolbar"},this.buttons.map((t=>a("div",{class:Bt(t)},a("button",{type:"button",onClick:()=>this.buttonClick(t),class:Yt(t)},t.text))))),a("div",{key:"2ff6376956d01dcd9ec01b8d6972dd4b37ffb1a1",class:"picker-columns"},a("div",{key:"4adcef77429f10a3faa50b41d1eaf3404387997c",class:"picker-above-highlight"}),this.presented&&this.columns.map((t=>a("ion-picker-legacy-column",{col:t}))),a("div",{key:"e0f37d3e9896eb2bc0f0aef4762a897130851963",class:"picker-below-highlight"}))),a("div",{key:"671bb7d0f487b0d7c7fa70388f8fa1de77448b9f",tabindex:"0"}))}get el(){return n(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Bt=t=>({[`picker-toolbar-${t.role}`]:void 0!==t.role,"picker-toolbar-button":!0}),Yt=t=>Object.assign({"picker-button":!0,"ion-activatable":!0},g(t.cssClass));Rt.style={ios:".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}",md:".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}"};const Ht=class{constructor(i){t(this,i),this.ionPickerColChange=e(this,"ionPickerColChange",7),this.optHeight=0,this.rotateFactor=0,this.scaleFactor=1,this.velocity=0,this.y=0,this.noAnimate=!0,this.colDidChange=!1,this.col=void 0}colChanged(){this.colDidChange=!0}async connectedCallback(){let t=0,e=.81;"ios"===v(this)&&(t=-.46,e=1),this.rotateFactor=t,this.scaleFactor=e,this.gesture=(await import("./p-8ededb41.js")).createGesture({el:this.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:!1,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.gesture.enable(),this.tmrId=setTimeout((()=>{this.noAnimate=!1,this.refresh(!0)}),250)}componentDidLoad(){this.onDomChange()}componentDidUpdate(){this.colDidChange&&(this.onDomChange(!0,!1),this.colDidChange=!1)}disconnectedCallback(){void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.tmrId&&clearTimeout(this.tmrId),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}emitColChange(){this.ionPickerColChange.emit(this.col)}setSelected(t,e){const i=t>-1?-t*this.optHeight:0;this.velocity=0,void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.update(i,e,!0),this.emitColChange()}update(t,e,i){if(!this.optsEl)return;let a=0,o=0;const{col:n,rotateFactor:r}=this,s=n.selectedIndex,d=n.selectedIndex=this.indexForY(-t),l=0===e?"":e+"ms",c=`scale(${this.scaleFactor})`,h=this.optsEl.children;for(let i=0;i<h.length;i++){const s=h[i],p=n.options[i],m=i*this.optHeight+t;let b="";if(0!==r){const t=m*r;Math.abs(t)<=90?(a=0,o=90,b=`rotateX(${t}deg) `):a=-9999}else o=0,a=m;const g=d===i;b+=`translate3d(0px,${a}px,${o}px) `,1===this.scaleFactor||g||(b+=c),this.noAnimate?(p.duration=0,s.style.transitionDuration=""):e!==p.duration&&(p.duration=e,s.style.transitionDuration=l),b!==p.transform&&(p.transform=b),s.style.transform=b,p.selected=g,g?s.classList.add(qt):s.classList.remove(qt)}this.col.prevSelected=s,i&&(this.y=t),this.lastIndex!==d&&(Ct(),this.lastIndex=d)}decelerate(){if(0!==this.velocity){this.velocity*=_t,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1);let t=this.y+this.velocity;t>this.minY?(t=this.minY,this.velocity=0):t<this.maxY&&(t=this.maxY,this.velocity=0),this.update(t,0,!0),Math.round(t)%this.optHeight!=0||Math.abs(this.velocity)>1?this.rafId=requestAnimationFrame((()=>this.decelerate())):(this.velocity=0,this.emitColChange(),Ot())}else if(this.y%this.optHeight!=0){const t=Math.abs(this.y%this.optHeight);this.velocity=t>this.optHeight/2?1:-1,this.decelerate()}}indexForY(t){return Math.min(Math.max(Math.abs(Math.round(t/this.optHeight)),0),this.col.options.length-1)}onStart(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation(),Pt(),void 0!==this.rafId&&cancelAnimationFrame(this.rafId);const e=this.col.options;let i=e.length-1,a=0;for(let t=0;t<e.length;t++)e[t].disabled||(i=Math.min(i,t),a=Math.max(a,t));this.minY=-i*this.optHeight,this.maxY=-a*this.optHeight}onMove(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation();let e=this.y+t.deltaY;e>this.minY?(e=Math.pow(e,.8),this.bounceFrom=e):e<this.maxY?(e+=Math.pow(this.maxY-e,.9),this.bounceFrom=e):this.bounceFrom=0,this.update(e,0,!1)}onEnd(t){if(this.bounceFrom>0)return this.update(this.minY,100,!0),void this.emitColChange();if(this.bounceFrom<0)return this.update(this.maxY,100,!0),void this.emitColChange();if(this.velocity=c(-Gt,23*t.velocityY,Gt),0===this.velocity&&0===t.deltaY){const e=t.event.target.closest(".picker-opt");(null==e?void 0:e.hasAttribute("opt-index"))&&this.setSelected(parseInt(e.getAttribute("opt-index"),10),Nt)}else{if(this.y+=t.deltaY,Math.abs(t.velocityY)<.05){const e=t.deltaY>0,i=Math.abs(this.y)%this.optHeight/this.optHeight;e&&i>.5?this.velocity=-1*Math.abs(this.velocity):!e&&i<=.5&&(this.velocity=Math.abs(this.velocity))}this.decelerate()}}refresh(t,e){var i;let a=this.col.options.length-1,o=0;const n=this.col.options;for(let t=0;t<n.length;t++)n[t].disabled||(a=Math.min(a,t),o=Math.max(o,t));if(0!==this.velocity)return;const r=c(a,null!==(i=this.col.selectedIndex)&&void 0!==i?i:0,o);if(this.col.prevSelected!==r||t){const t=r*this.optHeight*-1,i=e?Nt:0;this.velocity=0,this.update(t,i,!0)}}onDomChange(t,e){const i=this.optsEl;i&&(this.optHeight=i.firstElementChild?i.firstElementChild.clientHeight:0),this.refresh(t,e)}render(){const t=this.col,e=v(this);return a(o,{key:"56289a294e5c580f3e7fe5fc12777aa7f80ad19b",class:Object.assign({[e]:!0,"picker-col":!0,"picker-opts-left":"left"===this.col.align,"picker-opts-right":"right"===this.col.align},g(t.cssClass)),style:{"max-width":this.col.columnWidth}},t.prefix&&a("div",{key:"d21f44667b5df567d6879723fe643ea7c2c60bef",class:"picker-prefix",style:{width:t.prefixWidth}},t.prefix),a("div",{key:"bb427e5f24fd832703926e0e847ad05567597262",class:"picker-opts",style:{maxWidth:t.optionsWidth},ref:t=>this.optsEl=t},t.options.map(((t,e)=>a("button",{"aria-label":t.ariaLabel,class:{"picker-opt":!0,"picker-opt-disabled":!!t.disabled},"opt-index":e},t.text)))),t.suffix&&a("div",{key:"0413f7c074b6534b8967387ecb9957a79a267aff",class:"picker-suffix",style:{width:t.suffixWidth}},t.suffix))}get el(){return n(this)}static get watchers(){return{col:["colChanged"]}}},qt="picker-opt-selected",_t=.97,Gt=90,Nt=150;Ht.style={ios:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}",md:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #0054e9)}"};export{At as ion_datetime,Rt as ion_picker_legacy,Ht as ion_picker_legacy_column}
|
|
4
|
+
import{r as t,d as e,w as i,h as a,f as o,i as n}from"./p-b5feddc3.js";import{startFocusVisible as r}from"./p-d47265c8.js";import{r as s,d,g as l,j as c}from"./p-b51e4004.js";import{a as h,p}from"./p-06fee233.js";import{i as m}from"./p-fb813dab.js";import{c as b,g}from"./p-47794def.js";import{c as u,o as f,l as y,p as x,q as k}from"./p-da2b833b.js";import{b as v}from"./p-b27b19c5.js";import{g as w,a as j,i as C,b as O,c as P,d as z,e as D,v as $,f as M,h as T,j as A,k as S,l as V,m as I,n as W,o as E,p as F,q as L,r as R,s as B,w as Y,t as H,u as q,x as _,y as G,z as N,A as U,B as K,C as Z,D as J,E as Q,F as X,G as tt,H as et,I as it,J as at,K as ot,L as nt,M as rt,N as st,O as dt,P as lt,Q as ct,R as ht}from"./p-d60342e3.js";import{c as pt}from"./p-ccd02320.js";import{d as mt,e as bt,B as gt,i as ut,j as ft,k as yt,f as xt,g as kt,h as vt,s as wt}from"./p-e7a7a142.js";import{c as jt}from"./p-c7e16491.js";import{b as Ct,h as Ot,a as Pt}from"./p-89b61afc.js";import"./p-7b30edcc.js";import"./p-200c7b0a.js";import"./p-3cc276f4.js";import"./p-9b97df10.js";import"./p-c61cc894.js";const zt=(t,e,i,a)=>null===t.day||void 0!==a&&!a.includes(t.day)||!(!e||!C(t,e))||!(!i||!O(t,i)),Dt=(t,e,i,a,o,n,r)=>{const s=void 0!==(Array.isArray(i)?i:[i]).find((t=>P(e,t))),d=P(e,a);return{disabled:zt(e,o,n,r),isActive:s,isToday:d,ariaSelected:s?"true":null,ariaLabel:w(t,d,e),text:null!=e.day?j(t,e):null}},$t=(t,{minParts:e,maxParts:i})=>!!((t,e,i)=>!!(e&&e.year>t)||!!(i&&i.year<t))(t.year,e,i)||!!(e&&C(t,e)||i&&O(t,i)),Mt=(t,e)=>{var i,a,o,n;((null===(i=null==e?void 0:e.date)||void 0===i?void 0:i.timeZone)||(null===(a=null==e?void 0:e.date)||void 0===a?void 0:a.timeZoneName)||(null===(o=null==e?void 0:e.time)||void 0===o?void 0:o.timeZone)||(null===(n=null==e?void 0:e.time)||void 0===n?void 0:n.timeZoneName))&&p('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".',t)},Tt=(t,e,i)=>{if(i)switch(e){case"date":case"month-year":case"month":case"year":void 0===i.date&&p(`Datetime: The '${e}' presentation requires a date object in formatOptions.`,t);break;case"time":void 0===i.time&&p("Datetime: The 'time' presentation requires a time object in formatOptions.",t);break;case"date-time":case"time-date":void 0===i.date&&void 0===i.time&&p(`Datetime: The '${e}' presentation requires either a date or time object (or both) in formatOptions.`,t)}},At=class{constructor(a){t(this,a),this.ionCancel=e(this,"ionCancel",7),this.ionChange=e(this,"ionChange",7),this.ionValueChange=e(this,"ionValueChange",7),this.ionFocus=e(this,"ionFocus",7),this.ionBlur=e(this,"ionBlur",7),this.ionStyle=e(this,"ionStyle",7),this.ionRender=e(this,"ionRender",7),this.inputId="ion-dt-"+St++,this.prevPresentation=null,this.warnIfIncorrectValueUsage=()=>{const{multiple:t,value:e}=this;!t&&Array.isArray(e)&&p(`ion-datetime was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${e.map((t=>`'${t}'`)).join(", ")}]\n`,this.el)},this.setValue=t=>{this.value=t,this.ionChange.emit({value:t})},this.getActivePartsWithFallback=()=>{var t;const{defaultParts:e}=this;return null!==(t=this.getActivePart())&&void 0!==t?t:e},this.getActivePart=()=>{const{activeParts:t}=this;return Array.isArray(t)?t[0]:t},this.closeParentOverlay=t=>{const e=this.el.closest("ion-modal, ion-popover");e&&e.dismiss(void 0,t)},this.setWorkingParts=t=>{this.workingParts=Object.assign({},t)},this.setActiveParts=(t,e=!1)=>{if(this.readonly)return;const{multiple:i,minParts:a,maxParts:o,activeParts:n}=this,r=$(t,a,o);if(this.setWorkingParts(r),i){const t=Array.isArray(n)?n:[n];this.activeParts=e?t.filter((t=>!P(t,r))):[...t,r]}else this.activeParts=Object.assign({},r);null!==this.el.querySelector('[slot="buttons"]')||this.showDefaultButtons||this.confirm()},this.initializeKeyboardListeners=()=>{const t=this.calendarBodyRef;if(!t)return;const e=this.el.shadowRoot,i=t.querySelector(".calendar-month:nth-of-type(2)"),a=new MutationObserver((e=>{var a;!(null===(a=e[0].oldValue)||void 0===a?void 0:a.includes("ion-focused"))&&t.classList.contains("ion-focused")&&this.focusWorkingDay(i)}));a.observe(t,{attributeFilter:["class"],attributeOldValue:!0}),this.destroyKeyboardMO=()=>{null==a||a.disconnect()},t.addEventListener("keydown",(t=>{const a=e.activeElement;if(!a||!a.classList.contains("calendar-day"))return;const o=M(a);let n;switch(t.key){case"ArrowDown":t.preventDefault(),n=F(o);break;case"ArrowUp":t.preventDefault(),n=E(o);break;case"ArrowRight":t.preventDefault(),n=W(o);break;case"ArrowLeft":t.preventDefault(),n=I(o);break;case"Home":t.preventDefault(),n=V(o);break;case"End":t.preventDefault(),n=S(o);break;case"PageUp":t.preventDefault(),n=t.shiftKey?A(o):z(o);break;case"PageDown":t.preventDefault(),n=t.shiftKey?T(o):D(o);break;default:return}zt(n,this.minParts,this.maxParts)||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),n)),requestAnimationFrame((()=>this.focusWorkingDay(i))))}))},this.focusWorkingDay=t=>{const e=t.querySelectorAll(".calendar-day-padding"),{day:i}=this.workingParts;if(null===i)return;const a=t.querySelector(`.calendar-day-wrapper:nth-of-type(${e.length+i}) .calendar-day`);a&&a.focus()},this.processMinParts=()=>{const{min:t,defaultParts:e}=this;this.minParts=void 0!==t?L(t,e):void 0},this.processMaxParts=()=>{const{max:t,defaultParts:e}=this;this.maxParts=void 0!==t?R(t,e):void 0},this.initializeCalendarListener=()=>{const t=this.calendarBodyRef;if(!t)return;const e=t.querySelectorAll(".calendar-month"),a=e[0],o=e[1],n=e[2],r="ios"===v(this)&&"undefined"!=typeof navigator&&navigator.maxTouchPoints>1;i((()=>{t.scrollLeft=a.clientWidth*(m(this.el)?-1:1);const e=e=>{const i=t.getBoundingClientRect(),o=(m(this.el)?t.scrollLeft>=-2:t.scrollLeft<=2)?a:n,r=o.getBoundingClientRect();if(Math.abs(r.x-i.x)>2)return;const{forceRenderDate:s}=this;return void 0!==s?{month:s.month,year:s.year,day:s.day}:o===a?z(e):o===n?D(e):void 0},s=()=>{r&&(t.style.removeProperty("pointer-events"),l=!1);const a=e(this.workingParts);if(!a)return;const{month:n,day:s,year:d}=a;$t({month:n,year:d,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})||(t.style.setProperty("overflow","hidden"),i((()=>{this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:n,day:s,year:d})),t.scrollLeft=o.clientWidth*(m(this.el)?-1:1),t.style.removeProperty("overflow"),this.resolveForceDateScrolling&&this.resolveForceDateScrolling()})))};let d,l=!1;const c=()=>{d&&clearTimeout(d),!l&&r&&(t.style.setProperty("pointer-events","none"),l=!0),d=setTimeout(s,50)};t.addEventListener("scroll",c),this.destroyCalendarListener=()=>{t.removeEventListener("scroll",c)}}))},this.destroyInteractionListeners=()=>{const{destroyCalendarListener:t,destroyKeyboardMO:e}=this;void 0!==t&&t(),void 0!==e&&e()},this.processValue=t=>{const e=null!=t&&(!Array.isArray(t)||t.length>0),i=e?B(t):this.defaultParts,{minParts:a,maxParts:o,workingParts:n,el:r}=this;if(this.warnIfIncorrectValueUsage(),!i)return;e&&Y(i,a,o);const s=Array.isArray(i)?i[0]:i,d=lt(s,a,o),{month:l,day:c,year:h,hour:p,minute:m}=d,b=ct(p);this.activeParts=e?Array.isArray(i)?[...i]:{month:l,day:c,year:h,hour:p,minute:m,ampm:b}:[];const g=void 0!==l&&l!==n.month||void 0!==h&&h!==n.year,u=r.classList.contains("datetime-ready"),{isGridStyle:f,showMonthAndYear:y}=this;let x=!0;if(Array.isArray(i)){const t=i[0].month;for(const e of i)if(e.month!==t){x=!1;break}}x&&(f&&g&&u&&!y?this.animateToDate(d):this.setWorkingParts({month:l,day:c,year:h,hour:p,minute:m,ampm:b}))},this.animateToDate=async t=>{const{workingParts:e}=this;this.forceRenderDate=t;const i=new Promise((t=>{this.resolveForceDateScrolling=t}));C(t,e)?this.prevMonth():this.nextMonth(),await i,this.resolveForceDateScrolling=void 0,this.forceRenderDate=void 0},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.hasValue=()=>null!=this.value,this.nextMonth=()=>{const t=this.calendarBodyRef;if(!t)return;const e=t.querySelector(".calendar-month:last-of-type");e&&t.scrollTo({top:0,left:2*e.offsetWidth*(m(this.el)?-1:1),behavior:"smooth"})},this.prevMonth=()=>{const t=this.calendarBodyRef;t&&t.querySelector(".calendar-month:first-of-type")&&t.scrollTo({top:0,left:0,behavior:"smooth"})},this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear},this.showMonthAndYear=!1,this.activeParts=[],this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"},this.isTimePopoverOpen=!1,this.forceRenderDate=void 0,this.color="primary",this.name=this.inputId,this.disabled=!1,this.formatOptions=void 0,this.readonly=!1,this.isDateEnabled=void 0,this.min=void 0,this.max=void 0,this.presentation="date-time",this.cancelText="Cancel",this.doneText="Done",this.clearText="Clear",this.yearValues=void 0,this.monthValues=void 0,this.dayValues=void 0,this.hourValues=void 0,this.minuteValues=void 0,this.locale="default",this.firstDayOfWeek=0,this.titleSelectedDatesFormatter=void 0,this.multiple=!1,this.highlightedDates=void 0,this.value=void 0,this.showDefaultTitle=!1,this.showDefaultButtons=!1,this.showClearButton=!1,this.showDefaultTimeLabel=!0,this.hourCycle=void 0,this.size="fixed",this.preferWheel=!1}formatOptionsChanged(){const{el:t,formatOptions:e,presentation:i}=this;Tt(t,i,e),Mt(t,e)}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}presentationChanged(){const{el:t,formatOptions:e,presentation:i}=this;Tt(t,i,e)}get isGridStyle(){const{presentation:t,preferWheel:e}=this;return("date"===t||"date-time"===t||"time-date"===t)&&!e}yearValuesChanged(){this.parsedYearValues=H(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=H(this.monthValues)}dayValuesChanged(){this.parsedDayValues=H(this.dayValues)}hourValuesChanged(){this.parsedHourValues=H(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=H(this.minuteValues)}async valueChanged(){const{value:t}=this;this.hasValue()&&this.processValue(t),this.emitStyle(),this.ionValueChange.emit({value:t})}async confirm(t=!1){const{isCalendarPicker:e,activeParts:i,preferWheel:a,workingParts:o}=this;if(void 0!==i||!e){const t=Array.isArray(i);this.setValue(t&&0===i.length?a?q(o):void 0:q(i))}t&&this.closeParentOverlay(It)}async reset(t){this.processValue(t)}async cancel(t=!1){this.ionCancel.emit(),t&&this.closeParentOverlay(Vt)}get isCalendarPicker(){const{presentation:t}=this;return"date"===t||"date-time"===t||"time-date"===t}connectedCallback(){this.clearFocusVisible=r(this.el).destroy}disconnectedCallback(){this.clearFocusVisible&&(this.clearFocusVisible(),this.clearFocusVisible=void 0)}initializeListeners(){this.initializeCalendarListener(),this.initializeKeyboardListeners()}componentDidLoad(){const{el:t,intersectionTrackerRef:e}=this,a=new IntersectionObserver((t=>{t[0].isIntersecting&&(this.initializeListeners(),i((()=>{this.el.classList.add("datetime-ready")})))}),{threshold:.01,root:t});s((()=>null==a?void 0:a.observe(e)));const o=new IntersectionObserver((t=>{t[0].isIntersecting||(this.destroyInteractionListeners(),this.showMonthAndYear=!1,i((()=>{this.el.classList.remove("datetime-ready")})))}),{threshold:0,root:t});s((()=>null==o?void 0:o.observe(e)));const n=l(this.el);n.addEventListener("ionFocus",(t=>t.stopPropagation())),n.addEventListener("ionBlur",(t=>t.stopPropagation()))}componentDidRender(){const{presentation:t,prevPresentation:e,calendarBodyRef:i,minParts:a,preferWheel:o,forceRenderDate:n}=this,r=!o&&["date-time","time-date","date"].includes(t);if(void 0!==a&&r&&i){const t=i.querySelector(".calendar-month:nth-of-type(1)");t&&void 0===n&&(i.scrollLeft=t.clientWidth*(m(this.el)?-1:1))}null!==e?t!==e&&(this.prevPresentation=t,this.destroyInteractionListeners(),this.initializeListeners(),this.showMonthAndYear=!1,s((()=>{this.ionRender.emit()}))):this.prevPresentation=t}componentWillLoad(){const{el:t,formatOptions:e,highlightedDates:i,multiple:a,presentation:o,preferWheel:n}=this;a&&("date"!==o&&p('Multiple date selection is only supported for presentation="date".',t),n&&p('Multiple date selection is not supported with preferWheel="true".',t)),void 0!==i&&("date"!==o&&"date-time"!==o&&"time-date"!==o&&p("The highlightedDates property is only supported with the date, date-time, and time-date presentations.",t),n&&p('The highlightedDates property is not supported with preferWheel="true".',t)),e&&(Tt(t,o,e),Mt(t,e));const r=this.parsedHourValues=H(this.hourValues),s=this.parsedMinuteValues=H(this.minuteValues),d=this.parsedMonthValues=H(this.monthValues),l=this.parsedYearValues=H(this.yearValues),c=this.parsedDayValues=H(this.dayValues),h=this.todayParts=B(_());this.processMinParts(),this.processMaxParts(),this.defaultParts=G({refParts:h,monthValues:d,dayValues:c,yearValues:l,hourValues:r,minuteValues:s,minParts:this.minParts,maxParts:this.maxParts}),this.processValue(this.value),this.emitStyle()}emitStyle(){this.ionStyle.emit({interactive:!0,datetime:!0,"interactive-disabled":this.disabled})}renderFooter(){const{disabled:t,readonly:e,showDefaultButtons:i,showClearButton:o}=this,n=t||e;if(null===this.el.querySelector('[slot="buttons"]')&&!i&&!o)return;const r=()=>{this.reset(),this.setValue(void 0)};return a("div",{class:"datetime-footer"},a("div",{class:"datetime-buttons"},a("div",{class:{"datetime-action-buttons":!0,"has-clear-button":this.showClearButton}},a("slot",{name:"buttons"},a("ion-buttons",null,i&&a("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(!0),disabled:n},this.cancelText),a("div",{class:"datetime-action-buttons-container"},o&&a("ion-button",{id:"clear-button",color:this.color,onClick:()=>r(),disabled:n},this.clearText),i&&a("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(!0),disabled:n},this.doneText)))))))}renderWheelPicker(t=this.presentation){const e="time-date"===t?[this.renderTimePickerColumns(t),this.renderDatePickerColumns(t)]:[this.renderDatePickerColumns(t),this.renderTimePickerColumns(t)];return a("ion-picker",null,e)}renderDatePickerColumns(t){return"date-time"===t||"time-date"===t?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(t)}renderCombinedDatePickerColumn(){const{defaultParts:t,disabled:e,workingParts:i,locale:o,minParts:n,maxParts:r,todayParts:s,isDateEnabled:d}=this,l=this.getActivePartsWithFallback(),c=N(i),p=c[c.length-1];c[0].day=1,p.day=U(p.month,p.year);const m=void 0!==n&&O(n,c[0])?n:c[0],b=void 0!==r&&C(r,p)?r:p,g=K(o,s,m,b,this.parsedDayValues,this.parsedMonthValues);let u=g.items;const f=g.parts;d&&(u=u.map(((t,e)=>{const i=f[e];let a;try{a=!d(q(i))}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:a})})));const y=null!==i.day?`${i.year}-${i.month}-${i.day}`:`${t.year}-${t.month}-${t.day}`;return a("ion-picker-column",{"aria-label":"Select a date",class:"date-column",color:this.color,disabled:e,value:y,onIonChange:t=>{const{value:e}=t.detail,a=f.find((({month:t,day:i,year:a})=>e===`${a}-${t}-${i}`));this.setWorkingParts(Object.assign(Object.assign({},i),a)),this.setActiveParts(Object.assign(Object.assign({},l),a)),t.stopPropagation()}},u.map((t=>a("ion-picker-column-option",{part:t.value===y?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderIndividualDatePickerColumns(t){const{workingParts:e,isDateEnabled:i}=this,a="year"!==t&&"time"!==t?Z(this.locale,e,this.minParts,this.maxParts,this.parsedMonthValues):[];let o="date"===t?J(this.locale,e,this.minParts,this.maxParts,this.parsedDayValues):[];i&&(o=o.map((t=>{const{value:a}=t,o="string"==typeof a?parseInt(a):a,n={month:e.month,day:o,year:e.year};let r;try{r=!i(q(n))}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:r})})));const n="month"!==t&&"time"!==t?Q(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];let r=[];return r=X(this.locale,{month:"numeric",day:"numeric"})?[this.renderMonthPickerColumn(a),this.renderDayPickerColumn(o),this.renderYearPickerColumn(n)]:[this.renderDayPickerColumn(o),this.renderMonthPickerColumn(a),this.renderYearPickerColumn(n)],r}renderDayPickerColumn(t){var e;if(0===t.length)return[];const{disabled:i,workingParts:o}=this,n=this.getActivePartsWithFallback(),r=null!==(e=null!==o.day?o.day:this.defaultParts.day)&&void 0!==e?e:void 0;return a("ion-picker-column",{"aria-label":"Select a day",class:"day-column",color:this.color,disabled:i,value:r,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},o),{day:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{day:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===r?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderMonthPickerColumn(t){if(0===t.length)return[];const{disabled:e,workingParts:i}=this,o=this.getActivePartsWithFallback();return a("ion-picker-column",{"aria-label":"Select a month",class:"month-column",color:this.color,disabled:e,value:i.month,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},i),{month:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{month:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===i.month?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderYearPickerColumn(t){if(0===t.length)return[];const{disabled:e,workingParts:i}=this,o=this.getActivePartsWithFallback();return a("ion-picker-column",{"aria-label":"Select a year",class:"year-column",color:this.color,disabled:e,value:i.year,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},i),{year:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{year:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===i.year?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderTimePickerColumns(t){if(["date","month","month-year","year"].includes(t))return[];const e=void 0!==this.getActivePart(),{hoursData:i,minutesData:a,dayPeriodData:o}=tt(this.locale,this.workingParts,this.hourCycle,e?this.minParts:void 0,e?this.maxParts:void 0,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(i),this.renderMinutePickerColumn(a),this.renderDayPeriodPickerColumn(o)]}renderHourPickerColumn(t){const{disabled:e,workingParts:i}=this;if(0===t.length)return[];const o=this.getActivePartsWithFallback();return a("ion-picker-column",{"aria-label":"Select an hour",color:this.color,disabled:e,value:o.hour,numericInput:!0,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},i),{hour:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{hour:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===o.hour?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderMinutePickerColumn(t){const{disabled:e,workingParts:i}=this;if(0===t.length)return[];const o=this.getActivePartsWithFallback();return a("ion-picker-column",{"aria-label":"Select a minute",color:this.color,disabled:e,value:o.minute,numericInput:!0,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},i),{minute:t.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{minute:t.detail.value})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===o.minute?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderDayPeriodPickerColumn(t){const{disabled:e,workingParts:i}=this;if(0===t.length)return[];const o=this.getActivePartsWithFallback(),n=et(this.locale);return a("ion-picker-column",{"aria-label":"Select a day period",style:n?{order:"-1"}:{},color:this.color,disabled:e,value:o.ampm,onIonChange:t=>{const e=ht(i,t.detail.value);this.setWorkingParts(Object.assign(Object.assign({},i),{ampm:t.detail.value,hour:e})),this.setActiveParts(Object.assign(Object.assign({},o),{ampm:t.detail.value,hour:e})),t.stopPropagation()}},t.map((t=>a("ion-picker-column-option",{part:t.value===o.ampm?`${Wt} ${Et}`:Wt,key:t.value,disabled:t.disabled,value:t.value},t.text))))}renderWheelView(t){const{locale:e}=this,i=X(e)?"month-first":"year-first";return a("div",{class:{[`wheel-order-${i}`]:!0}},this.renderWheelPicker(t))}renderCalendarHeader(t){const{disabled:e}=this,i="ios"===t?y:x,o="ios"===t?f:k,n=e||((t,e,i)=>{const a=Object.assign(Object.assign({},z(this.workingParts)),{day:null});return $t(a,{minParts:e,maxParts:i})})(0,this.minParts,this.maxParts),r=e||((t,e)=>{const i=Object.assign(Object.assign({},D(this.workingParts)),{day:null});return $t(i,{maxParts:e})})(0,this.maxParts),s=this.el.getAttribute("dir")||void 0;return a("div",{class:"calendar-header"},a("div",{class:"calendar-action-buttons"},a("div",{class:"calendar-month-year"},a("button",{class:{"calendar-month-year-toggle":!0,"ion-activatable":!0,"ion-focusable":!0},part:"month-year-button",disabled:e,"aria-label":this.showMonthAndYear?"Hide year picker":"Show year picker",onClick:()=>this.toggleMonthAndYearView()},a("span",{id:"toggle-wrapper"},at(this.locale,this.workingParts),a("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?i:o,lazy:!1,flipRtl:!0})),"md"===t&&a("ion-ripple-effect",null))),a("div",{class:"calendar-next-prev"},a("ion-buttons",null,a("ion-button",{"aria-label":"Previous month",disabled:n,onClick:()=>this.prevMonth()},a("ion-icon",{dir:s,"aria-hidden":"true",slot:"icon-only",icon:u,lazy:!1,flipRtl:!0})),a("ion-button",{"aria-label":"Next month",disabled:r,onClick:()=>this.nextMonth()},a("ion-icon",{dir:s,"aria-hidden":"true",slot:"icon-only",icon:f,lazy:!1,flipRtl:!0}))))),a("div",{class:"calendar-days-of-week","aria-hidden":"true"},it(this.locale,t,this.firstDayOfWeek%7).map((t=>a("div",{class:"day-of-week"},t)))))}renderMonth(t,e){const{disabled:i,readonly:o}=this,n=void 0===this.parsedYearValues||this.parsedYearValues.includes(e),r=void 0===this.parsedMonthValues||this.parsedMonthValues.includes(t),s=!n||!r,d=i||o,l=i||$t({month:t,year:e,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})}),c=this.workingParts.month===t&&this.workingParts.year===e,p=this.getActivePartsWithFallback();return a("div",{"aria-hidden":c?null:"true",class:{"calendar-month":!0,"calendar-month-disabled":!c&&l}},a("div",{class:"calendar-month-grid"},ot(t,e,this.firstDayOfWeek%7).map(((i,o)=>{const{day:n,dayOfWeek:r}=i,{el:l,highlightedDates:c,isDateEnabled:m,multiple:b}=this,g={month:t,day:n,year:e},u=null===n,{isActive:f,isToday:y,ariaLabel:x,ariaSelected:k,disabled:v,text:w}=Dt(this.locale,g,this.activeParts,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues),j=q(g);let C=s||v;if(!C&&void 0!==m)try{C=!m(j)}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",l,t)}const O=C&&d,P=C||d;let z,D;return void 0===c||f||null===n||(z=((t,e,i)=>{if(Array.isArray(t)){const i=e.split("T")[0],a=t.find((t=>t.date===i));if(a)return{textColor:a.textColor,backgroundColor:a.backgroundColor}}else try{return t(e)}catch(t){h("Exception thrown from provided `highlightedDates` callback. Please check your function and try again.",i,t)}})(c,j,l)),u||(D=`calendar-day${f?" active":""}${y?" today":""}${C?" disabled":""}`),a("div",{class:"calendar-day-wrapper"},a("button",{ref:t=>{t&&(t.style.setProperty("color",`${z?z.textColor:""}`,"important"),t.style.setProperty("background-color",`${z?z.backgroundColor:""}`,"important"))},tabindex:"-1","data-day":n,"data-month":t,"data-year":e,"data-index":o,"data-day-of-week":r,disabled:P,class:{"calendar-day-padding":u,"calendar-day":!0,"calendar-day-active":f,"calendar-day-constrained":O,"calendar-day-today":y},part:D,"aria-hidden":u?"true":null,"aria-selected":k,"aria-label":x,onClick:()=>{u||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:t,day:n,year:e})),b?this.setActiveParts({month:t,day:n,year:e},f):this.setActiveParts(Object.assign(Object.assign({},p),{month:t,day:n,year:e})))}},w))}))))}renderCalendarBody(){return a("div",{class:"calendar-body ion-focusable",ref:t=>this.calendarBodyRef=t,tabindex:"0"},N(this.workingParts,this.forceRenderDate).map((({month:t,year:e})=>this.renderMonth(t,e))))}renderCalendar(t){return a("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(t),this.renderCalendarBody())}renderTimeLabel(){if(null!==this.el.querySelector('[slot="time-label"]')||this.showDefaultTimeLabel)return a("slot",{name:"time-label"},"Time")}renderTimeOverlay(){const{disabled:t,hourCycle:e,isTimePopoverOpen:i,locale:o,formatOptions:n}=this,r=nt(o,e),s=this.getActivePartsWithFallback();return[a("div",{class:"time-header"},this.renderTimeLabel()),a("button",{class:{"time-body":!0,"time-body-active":i},part:"time-button"+(i?" active":""),"aria-expanded":"false","aria-haspopup":"true",disabled:t,onClick:async t=>{const{popoverRef:e}=this;e&&(this.isTimePopoverOpen=!0,e.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:t.target}})),await e.onWillDismiss(),this.isTimePopoverOpen=!1)}},rt(o,s,r,null==n?void 0:n.time)),a("ion-popover",{alignment:"center",translucent:!0,overlayIndex:1,arrow:!1,onWillPresent:t=>{t.target.querySelectorAll("ion-picker-column").forEach((t=>t.scrollActiveItemIntoView()))},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:!0,ref:t=>this.popoverRef=t},this.renderWheelPicker("time"))]}getHeaderSelectedDateText(){var t;const{activeParts:e,formatOptions:i,multiple:a,titleSelectedDatesFormatter:o}=this,n=Array.isArray(e);let r;if(a&&n&&1!==e.length){if(r=`${e.length} days`,void 0!==o)try{r=o(q(e))}catch(t){h("Exception in provided `titleSelectedDatesFormatter`: ",t)}}else r=st(this.locale,this.getActivePartsWithFallback(),null!==(t=null==i?void 0:i.date)&&void 0!==t?t:{weekday:"short",month:"short",day:"numeric"});return r}renderHeader(t=!0){if(null!==this.el.querySelector('[slot="title"]')||this.showDefaultTitle)return a("div",{class:"datetime-header"},a("div",{class:"datetime-title"},a("slot",{name:"title"},"Select Date")),t&&a("div",{class:"datetime-selected-date"},this.getHeaderSelectedDateText()))}renderTime(){const{presentation:t}=this;return a("div",{class:"datetime-time"},"time"===t?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return a("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(t){const{presentation:e,preferWheel:i}=this;if(i&&("date"===e||"date-time"===e||"time-date"===e))return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];switch(e){case"date-time":return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderHeader(),this.renderTime(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderHeader(!1),this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];default:return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}}render(){const{name:t,value:e,disabled:i,el:n,color:r,readonly:s,showMonthAndYear:l,preferWheel:c,presentation:h,size:p,isGridStyle:m}=this,g=v(this),u="year"===h||"month"===h||"month-year"===h,f=l||u,y=l&&!u,x=("date"===h||"date-time"===h||"time-date"===h)&&c;return d(!0,n,t,dt(e),i),a(o,{key:"48313af4ec8e2a2666cd8c89932c5131dfa7b556","aria-disabled":i?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},b(r,{[g]:!0,"datetime-readonly":s,"datetime-disabled":i,"show-month-and-year":f,"month-year-picker-open":y,[`datetime-presentation-${h}`]:!0,[`datetime-size-${p}`]:!0,"datetime-prefer-wheel":x,"datetime-grid":m}))},a("div",{key:"b72570048236415aed915488305046d987d51dcf",class:"intersection-tracker",ref:t=>this.intersectionTrackerRef=t}),this.renderDatetime(g))}get el(){return n(this)}static get watchers(){return{formatOptions:["formatOptionsChanged"],disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],presentation:["presentationChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],value:["valueChanged"]}}};let St=0;const Vt="datetime-cancel",It="datetime-confirm",Wt="wheel-item",Et="active";At.style={ios:':host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}',md:':host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}'};const Ft=t=>{const e=jt(),i=jt(),a=jt();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},Lt=t=>{const e=jt(),i=jt(),a=jt();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),a.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},Rt=class{constructor(i){t(this,i),this.didPresent=e(this,"ionPickerDidPresent",7),this.willPresent=e(this,"ionPickerWillPresent",7),this.willDismiss=e(this,"ionPickerWillDismiss",7),this.didDismiss=e(this,"ionPickerDidDismiss",7),this.didPresentShorthand=e(this,"didPresent",7),this.willPresentShorthand=e(this,"willPresent",7),this.willDismissShorthand=e(this,"willDismiss",7),this.didDismissShorthand=e(this,"didDismiss",7),this.delegateController=mt(this),this.lockController=pt(),this.triggerController=bt(),this.onBackdropTap=()=>{this.dismiss(void 0,gt)},this.dispatchCancelHandler=t=>{if(ut(t.detail.role)){const t=this.buttons.find((t=>"cancel"===t.role));this.callButtonHandler(t)}},this.presented=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.columns=[],this.cssClass=void 0,this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:i}=this;t&&i.addClickListener(e,t)}connectedCallback(){ft(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){yt(this.el)}componentDidLoad(){p("ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.",this.el),!0===this.isOpen&&s((()=>this.present())),this.triggerChanged()}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await xt(this,"pickerEnter",Ft,Ft,void 0),this.duration>0&&(this.durationTimeout=setTimeout((()=>this.dismiss()),this.duration)),t()}async dismiss(t,e){const i=await this.lockController.lock();this.durationTimeout&&clearTimeout(this.durationTimeout);const a=await kt(this,t,e,"pickerLeave",Lt,Lt);return a&&this.delegateController.removeViewFromDom(),i(),a}onDidDismiss(){return vt(this.el,"ionPickerDidDismiss")}onWillDismiss(){return vt(this.el,"ionPickerWillDismiss")}getColumn(t){return Promise.resolve(this.columns.find((e=>e.name===t)))}async buttonClick(t){const e=t.role;return ut(e)?this.dismiss(void 0,e):await this.callButtonHandler(t)?this.dismiss(this.getSelected(),t.role):Promise.resolve()}async callButtonHandler(t){return!t||!1!==await wt(t.handler,this.getSelected())}getSelected(){const t={};return this.columns.forEach(((e,i)=>{const a=void 0!==e.selectedIndex?e.options[e.selectedIndex]:void 0;t[e.name]={text:a?a.text:void 0,value:a?a.value:void 0,columnIndex:i}})),t}render(){const{htmlAttributes:t}=this,e=v(this);return a(o,Object.assign({key:"26e3144adcdf01605271d01e468bb4a75ce854b1","aria-modal":"true",tabindex:"-1"},t,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[e]:!0,[`picker-${e}`]:!0,"overlay-hidden":!0},g(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),a("ion-backdrop",{key:"fa212d21406606186cd95f8c7a4f119696ac8d4a",visible:this.showBackdrop,tappable:this.backdropDismiss}),a("div",{key:"19ea889f65cb6a68a9db26cf9f83c6587cfcf07e",tabindex:"0"}),a("div",{key:"5fc0f5d26915ba353b9f0335946f94b6fda95e1e",class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},a("div",{key:"3fa5bff4ac0013ef31845482a27a14caebbdcd2f",class:"picker-toolbar"},this.buttons.map((t=>a("div",{class:Bt(t)},a("button",{type:"button",onClick:()=>this.buttonClick(t),class:Yt(t)},t.text))))),a("div",{key:"2ff6376956d01dcd9ec01b8d6972dd4b37ffb1a1",class:"picker-columns"},a("div",{key:"4adcef77429f10a3faa50b41d1eaf3404387997c",class:"picker-above-highlight"}),this.presented&&this.columns.map((t=>a("ion-picker-legacy-column",{col:t}))),a("div",{key:"e0f37d3e9896eb2bc0f0aef4762a897130851963",class:"picker-below-highlight"}))),a("div",{key:"671bb7d0f487b0d7c7fa70388f8fa1de77448b9f",tabindex:"0"}))}get el(){return n(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Bt=t=>({[`picker-toolbar-${t.role}`]:void 0!==t.role,"picker-toolbar-button":!0}),Yt=t=>Object.assign({"picker-button":!0,"ion-activatable":!0},g(t.cssClass));Rt.style={ios:".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}",md:".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}"};const Ht=class{constructor(i){t(this,i),this.ionPickerColChange=e(this,"ionPickerColChange",7),this.optHeight=0,this.rotateFactor=0,this.scaleFactor=1,this.velocity=0,this.y=0,this.noAnimate=!0,this.colDidChange=!1,this.col=void 0}colChanged(){this.colDidChange=!0}async connectedCallback(){let t=0,e=.81;"ios"===v(this)&&(t=-.46,e=1),this.rotateFactor=t,this.scaleFactor=e,this.gesture=(await import("./p-8ededb41.js")).createGesture({el:this.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:!1,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.gesture.enable(),this.tmrId=setTimeout((()=>{this.noAnimate=!1,this.refresh(!0)}),250)}componentDidLoad(){this.onDomChange()}componentDidUpdate(){this.colDidChange&&(this.onDomChange(!0,!1),this.colDidChange=!1)}disconnectedCallback(){void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.tmrId&&clearTimeout(this.tmrId),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}emitColChange(){this.ionPickerColChange.emit(this.col)}setSelected(t,e){const i=t>-1?-t*this.optHeight:0;this.velocity=0,void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.update(i,e,!0),this.emitColChange()}update(t,e,i){if(!this.optsEl)return;let a=0,o=0;const{col:n,rotateFactor:r}=this,s=n.selectedIndex,d=n.selectedIndex=this.indexForY(-t),l=0===e?"":e+"ms",c=`scale(${this.scaleFactor})`,h=this.optsEl.children;for(let i=0;i<h.length;i++){const s=h[i],p=n.options[i],m=i*this.optHeight+t;let b="";if(0!==r){const t=m*r;Math.abs(t)<=90?(a=0,o=90,b=`rotateX(${t}deg) `):a=-9999}else o=0,a=m;const g=d===i;b+=`translate3d(0px,${a}px,${o}px) `,1===this.scaleFactor||g||(b+=c),this.noAnimate?(p.duration=0,s.style.transitionDuration=""):e!==p.duration&&(p.duration=e,s.style.transitionDuration=l),b!==p.transform&&(p.transform=b),s.style.transform=b,p.selected=g,g?s.classList.add(qt):s.classList.remove(qt)}this.col.prevSelected=s,i&&(this.y=t),this.lastIndex!==d&&(Ct(),this.lastIndex=d)}decelerate(){if(0!==this.velocity){this.velocity*=_t,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1);let t=this.y+this.velocity;t>this.minY?(t=this.minY,this.velocity=0):t<this.maxY&&(t=this.maxY,this.velocity=0),this.update(t,0,!0),Math.round(t)%this.optHeight!=0||Math.abs(this.velocity)>1?this.rafId=requestAnimationFrame((()=>this.decelerate())):(this.velocity=0,this.emitColChange(),Ot())}else if(this.y%this.optHeight!=0){const t=Math.abs(this.y%this.optHeight);this.velocity=t>this.optHeight/2?1:-1,this.decelerate()}}indexForY(t){return Math.min(Math.max(Math.abs(Math.round(t/this.optHeight)),0),this.col.options.length-1)}onStart(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation(),Pt(),void 0!==this.rafId&&cancelAnimationFrame(this.rafId);const e=this.col.options;let i=e.length-1,a=0;for(let t=0;t<e.length;t++)e[t].disabled||(i=Math.min(i,t),a=Math.max(a,t));this.minY=-i*this.optHeight,this.maxY=-a*this.optHeight}onMove(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation();let e=this.y+t.deltaY;e>this.minY?(e=Math.pow(e,.8),this.bounceFrom=e):e<this.maxY?(e+=Math.pow(this.maxY-e,.9),this.bounceFrom=e):this.bounceFrom=0,this.update(e,0,!1)}onEnd(t){if(this.bounceFrom>0)return this.update(this.minY,100,!0),void this.emitColChange();if(this.bounceFrom<0)return this.update(this.maxY,100,!0),void this.emitColChange();if(this.velocity=c(-Gt,23*t.velocityY,Gt),0===this.velocity&&0===t.deltaY){const e=t.event.target.closest(".picker-opt");(null==e?void 0:e.hasAttribute("opt-index"))&&this.setSelected(parseInt(e.getAttribute("opt-index"),10),Nt)}else{if(this.y+=t.deltaY,Math.abs(t.velocityY)<.05){const e=t.deltaY>0,i=Math.abs(this.y)%this.optHeight/this.optHeight;e&&i>.5?this.velocity=-1*Math.abs(this.velocity):!e&&i<=.5&&(this.velocity=Math.abs(this.velocity))}this.decelerate()}}refresh(t,e){var i;let a=this.col.options.length-1,o=0;const n=this.col.options;for(let t=0;t<n.length;t++)n[t].disabled||(a=Math.min(a,t),o=Math.max(o,t));if(0!==this.velocity)return;const r=c(a,null!==(i=this.col.selectedIndex)&&void 0!==i?i:0,o);if(this.col.prevSelected!==r||t){const t=r*this.optHeight*-1,i=e?Nt:0;this.velocity=0,this.update(t,i,!0)}}onDomChange(t,e){const i=this.optsEl;i&&(this.optHeight=i.firstElementChild?i.firstElementChild.clientHeight:0),this.refresh(t,e)}render(){const t=this.col,e=v(this);return a(o,{key:"56289a294e5c580f3e7fe5fc12777aa7f80ad19b",class:Object.assign({[e]:!0,"picker-col":!0,"picker-opts-left":"left"===this.col.align,"picker-opts-right":"right"===this.col.align},g(t.cssClass)),style:{"max-width":this.col.columnWidth}},t.prefix&&a("div",{key:"d21f44667b5df567d6879723fe643ea7c2c60bef",class:"picker-prefix",style:{width:t.prefixWidth}},t.prefix),a("div",{key:"bb427e5f24fd832703926e0e847ad05567597262",class:"picker-opts",style:{maxWidth:t.optionsWidth},ref:t=>this.optsEl=t},t.options.map(((t,e)=>a("button",{"aria-label":t.ariaLabel,class:{"picker-opt":!0,"picker-opt-disabled":!!t.disabled},"opt-index":e},t.text)))),t.suffix&&a("div",{key:"0413f7c074b6534b8967387ecb9957a79a267aff",class:"picker-suffix",style:{width:t.suffixWidth}},t.suffix))}get el(){return n(this)}static get watchers(){return{col:["colChanged"]}}},qt="picker-opt-selected",_t=.97,Gt=90,Nt=150;Ht.style={ios:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}",md:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #0054e9)}"};export{At as ion_datetime,Rt as ion_picker_legacy,Ht as ion_picker_legacy_column}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{d as n}from"./p-7b30edcc.js";import{f as e,c as o,a as t,b as i,g as a}from"./p-b51e4004.js";import{OVERLAY_BACK_BUTTON_PRIORITY as r,shouldUseCloseWatcher as d}from"./p-
|
|
4
|
+
import{d as n}from"./p-7b30edcc.js";import{f as e,c as o,a as t,b as i,g as a}from"./p-b51e4004.js";import{OVERLAY_BACK_BUTTON_PRIORITY as r,shouldUseCloseWatcher as d}from"./p-200c7b0a.js";import{b as s,c as l}from"./p-b27b19c5.js";import{C as c}from"./p-3cc276f4.js";import{B as u}from"./p-9b97df10.js";import{p as m}from"./p-06fee233.js";const p='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',v=(n,e)=>{const o=n.querySelector(p);h(o,null!=e?e:n)},f=(n,e)=>{const o=Array.from(n.querySelectorAll(p));h(o.length>0?o[o.length-1]:null,null!=e?e:n)},h=(n,o)=>{let t=n;const i=null==n?void 0:n.shadowRoot;i&&(t=i.querySelector(p)||n),t?e(t):o.focus()};let b=0,y=0;const w=new WeakMap,g=n=>({create:e=>N(n,e),dismiss:(e,o,t)=>P(document,e,o,n,t),getTop:async()=>E(document,n)}),O=g("ion-alert"),k=g("ion-action-sheet"),T=g("ion-loading"),x=g("ion-modal"),j=g("ion-picker-legacy"),A=g("ion-popover"),C=g("ion-toast"),I=n=>{"undefined"!=typeof document&&B(document);const e=b++;n.overlayIndex=e},D=n=>(n.hasAttribute("id")||(n.id="ion-overlay-"+ ++y),n.id),N=(n,e)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(n).then((()=>{const t=document.createElement(n);return t.classList.add("overlay-hidden"),Object.assign(t,Object.assign(Object.assign({},e),{hasController:!0})),q(document).appendChild(t),new Promise((n=>o(t,n)))})):Promise.resolve(),S=(n,o)=>{let t=n;const i=null==n?void 0:n.shadowRoot;i&&(t=i.querySelector(p)||n),t?e(t):o.focus()},B=n=>{0===b&&(b=1,n.addEventListener("focus",(e=>{((n,e)=>{const o=E(e,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),t=n.target;o&&t&&(o.classList.contains(nn)||(o.shadowRoot?(()=>{if(o.contains(t))o.lastFocus=t;else if("ION-TOAST"===t.tagName)S(o.lastFocus,o);else{const n=o.lastFocus;v(o),n===e.activeElement&&f(o),o.lastFocus=e.activeElement}})():(()=>{if(o===t)o.lastFocus=void 0;else if("ION-TOAST"===t.tagName)S(o.lastFocus,o);else{const n=a(o);if(!n.contains(t))return;const i=n.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(t)||t===n.querySelector("ion-backdrop"))o.lastFocus=t;else{const n=o.lastFocus;v(i,o),n===e.activeElement&&f(i,o),o.lastFocus=e.activeElement}}})()))})(e,n)}),!0),n.addEventListener("ionBackButton",(e=>{const o=E(n);(null==o?void 0:o.backdropDismiss)&&e.detail.register(r,(()=>{o.dismiss(void 0,K)}))})),d()||n.addEventListener("keydown",(e=>{if("Escape"===e.key){const e=E(n);(null==e?void 0:e.backdropDismiss)&&e.dismiss(void 0,K)}})))},P=(n,e,o,t,i)=>{const a=E(n,t,i);return a?a.dismiss(e,o):Promise.reject("overlay does not exist")},M=(n,e)=>((n,e)=>(void 0===e&&(e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(n.querySelectorAll(e)).filter((n=>n.overlayIndex>0))))(n,e).filter((n=>!n.classList.contains("overlay-hidden"))),E=(n,e,o)=>{const t=M(n,e);return void 0===o?t[t.length-1]:t.find((n=>n.id===o))},F=(n=!1)=>{const e=q(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");e&&(n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden"))},G=async(n,e,o,t,i)=>{var a,r;if(n.presented)return;F(!0),document.body.classList.add(u),Y(n.el),n.presented=!0,n.willPresent.emit(),null===(a=n.willPresentShorthand)||void 0===a||a.emit();const d=s(n),c=n.enterAnimation?n.enterAnimation:l.get(e,"ios"===d?o:t);await z(n,c,n.el,i)&&(n.didPresent.emit(),null===(r=n.didPresentShorthand)||void 0===r||r.emit()),"ION-TOAST"!==n.el.tagName&&L(n.el),!n.keyboardClose||null!==document.activeElement&&n.el.contains(document.activeElement)||n.el.focus(),n.el.removeAttribute("aria-hidden")},L=async n=>{let e=document.activeElement;if(!e)return;const o=null==e?void 0:e.shadowRoot;o&&(e=o.querySelector(p)||e),await n.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||e.focus()},V=async(e,o,t,i,a,r,d)=>{var c,m;if(!e.presented)return!1;void 0!==n&&1===M(n).length&&(F(!1),document.body.classList.remove(u)),e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:o,role:t}),null===(c=e.willDismissShorthand)||void 0===c||c.emit({data:o,role:t});const n=s(e),u=e.leaveAnimation?e.leaveAnimation:l.get(i,"ios"===n?a:r);t!==Q&&await z(e,u,e.el,d),e.didDismiss.emit({data:o,role:t}),null===(m=e.didDismissShorthand)||void 0===m||m.emit({data:o,role:t}),(w.get(e)||[]).forEach((n=>n.destroy())),w.delete(e),e.el.classList.add("overlay-hidden"),e.el.style.removeProperty("pointer-events"),void 0!==e.el.lastFocus&&(e.el.lastFocus=void 0)}catch(n){console.error(n)}return e.el.remove(),Z(),!0},q=n=>n.querySelector("ion-app")||n.body,z=async(n,e,o,t)=>{o.classList.remove("overlay-hidden");const i=e(n.el,t);n.animated&&l.getBoolean("animated",!0)||i.duration(0),n.keyboardClose&&i.beforeAddWrite((()=>{const n=o.ownerDocument.activeElement;(null==n?void 0:n.matches("input,ion-input, ion-textarea"))&&n.blur()}));const a=w.get(n)||[];return w.set(n,[...a,i]),await i.play(),!0},W=(n,e)=>{let o;const t=new Promise((n=>o=n));return $(n,e,(n=>{o(n.detail)})),t},$=(n,e,o)=>{const a=t=>{i(n,e,a),o(t)};t(n,e,a)},_=n=>"cancel"===n||n===K,H=n=>n(),J=(n,e)=>{if("function"==typeof n)return l.get("_zoneGate",H)((()=>{try{return n(e)}catch(n){throw n}}))},K="backdrop",Q="gesture",R=39,U=n=>{let e,o=!1;const t=c(),i=(i=!1)=>{if(e&&!i)return{delegate:e,inline:o};const{el:a,hasController:r,delegate:d}=n;return o=null!==a.parentNode&&!r,e=o?d||t:d,{inline:o,delegate:e}};return{attachViewToDom:async e=>{const{delegate:o}=i(!0);if(o)return await o.attachViewToDom(n.el,e);const{hasController:t}=n;if(t&&void 0!==e)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:e}=i();e&&void 0!==n.el&&e.removeViewFromDom(n.el.parentElement,n.el)}}},X=()=>{let n;const e=()=>{n&&(n(),n=void 0)};return{addClickListener:(o,t)=>{e();const i=void 0!==t?document.getElementById(t):null;i?n=((n,e)=>{const o=()=>{e.present()};return n.addEventListener("click",o),()=>{n.removeEventListener("click",o)}})(i,o):m(`A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,o)},removeClickListener:e}},Y=e=>{var o;if(void 0===n)return;const t=M(n);for(let n=t.length-1;n>=0;n--){const i=t[n],a=null!==(o=t[n+1])&&void 0!==o?o:e;(a.hasAttribute("aria-hidden")||"ION-TOAST"!==a.tagName)&&i.setAttribute("aria-hidden","true")}},Z=()=>{if(void 0===n)return;const e=M(n);for(let n=e.length-1;n>=0;n--){const o=e[n];if(o.removeAttribute("aria-hidden"),"ION-TOAST"!==o.tagName)break}},nn="ion-disable-focus-trap";export{K as B,nn as F,Q as G,R as O,O as a,k as b,A as c,U as d,X as e,G as f,V as g,W as h,_ as i,I as j,D as k,T as l,x as m,v as n,E as o,j as p,f as q,J as s,C as t}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,d as o,i as n,h as e,f as i}from"./p-e6964b3a.js";import{c as r,o as s}from"./p-b51e4004.js";import{o as c,c as a}from"./p-47794def.js";import{b as h}from"./p-9f5f3485.js";const u=class{constructor(n){t(this,n),this.ionRouteDataChanged=o(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,o){if(t===o)return;const n=t?Object.keys(t):[],e=o?Object.keys(o):[];if(n.length===e.length){for(const e of n)if(t[e]!==o[e])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},l=class{constructor(n){t(this,n),this.ionRouteRedirectChanged=o(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},f="root",d="forward",w=t=>"/"+t.filter((t=>t.length>0)).join("/"),p=t=>{let o,n=[""];if(null!=t){const e=t.indexOf("?");e>-1&&(o=t.substring(e+1),t=t.substring(0,e)),n=t.split("/").map((t=>t.trim())).filter((t=>t.length>0)),0===n.length&&(n=[""])}return{segments:n,queryString:o}},m=async(t,o,n,e,i=!1,s)=>{try{const c=v(t);if(e>=o.length||!c)return i;await new Promise((t=>r(c,t)));const a=o[e],h=await c.setRouteId(a.id,a.params,n,s);return h.changed&&(n=f,i=!0),i=await m(h.element,o,n,e+1,i,s),h.markVisible&&await h.markVisible(),i}catch(t){return console.error(t),!1}},b=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",v=t=>{if(!t)return;if(t.matches(b))return t;const o=t.querySelector(b);return null!=o?o:void 0},g=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:e}=o;if(void 0===e)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const e=n[o];if("*"===e)return!0;if(e!==t[o])return!1}return n.length===t.length})(t,o))),y=(t,o)=>{const n=Math.min(t.length,o.length);let e=0;for(let i=0;i<n;i++){const n=t[i],r=o[i];if(n.id.toLowerCase()!==r.id)break;if(n.params){const t=Object.keys(n.params);if(t.length===r.segments.length){const o=t.map((t=>`:${t}`));for(let t=0;t<o.length&&o[t].toLowerCase()===r.segments[t];t++)e++}}e++}return e},R=(t,o)=>{const n=new O(t);let e,i=!1;for(let t=0;t<o.length;t++){const r=o[t].segments;if(""===r[0])i=!0;else{for(const o of r){const i=n.next();if(":"===o[0]){if(""===i)return null;e=e||[],(e[t]||(e[t]={}))[o.slice(1)]=i}else if(i!==o)return null}i=!1}}return i&&i!==(""===n.next())?null:e?o.map(((t,o)=>({id:t.id,segments:t.segments,params:C(t.params,e[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},C=(t,o)=>t||o?Object.assign(Object.assign({},t),o):void 0,k=(t,o)=>{let n=null,e=0;for(const i of o){const o=R(t,i);if(null!==o){const t=j(o);t>e&&(e=t,n=o)}}return n},j=t=>{let o=1,n=1;for(const e of t)for(const t of e.segments)":"===t[0]?o+=Math.pow(1,n):""!==t&&(o+=Math.pow(2,n)),n++;return o};class O{constructor(t){this.segments=t.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const D=(t,o)=>o in t?t[o]:t.hasAttribute(o)?t.getAttribute(o):null,E=t=>Array.from(t.children).filter((t=>"ION-ROUTE-REDIRECT"===t.tagName)).map((t=>{const o=D(t,"to");return{from:p(D(t,"from")).segments,to:null==o?void 0:p(o)}})),S=t=>L($(t)),$=t=>Array.from(t.children).filter((t=>"ION-ROUTE"===t.tagName&&t.component)).map((t=>{const o=D(t,"component");return{segments:p(D(t,"url")).segments,id:o.toLowerCase(),params:t.componentProps,beforeLeave:t.beforeLeave,beforeEnter:t.beforeEnter,children:$(t)}})),L=t=>{const o=[];for(const n of t)P([],o,n);return o},P=(t,o,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const e of n.children)P(t,o,e);else o.push(t)},U=class{constructor(n){t(this,n),this.ionRouteWillChange=o(this,"ionRouteWillChange",7),this.ionRouteDidChange=o(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}async componentWillLoad(){await(v(document.body)?Promise.resolve():new Promise((t=>{window.addEventListener("ionNavWillLoad",(()=>t()),{once:!0})})));const t=await this.runGuards(this.getSegments());if(!0!==t){if("object"==typeof t){const{redirect:o}=t,n=p(o);this.setSegments(n.segments,f,n.queryString),await this.writeNavStateRoot(n.segments,f)}}else await this.onRoutesChanged()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))}async onPopState(){const t=this.historyDirection();let o=this.getSegments();const n=await this.runGuards(o);if(!0!==n){if("object"!=typeof n)return!1;o=p(n.redirect).segments}return this.writeNavStateRoot(o,t)}onBackButton(t){t.detail.register(0,(t=>{this.back(),t()}))}async canTransition(){const t=await this.runGuards();return!0===t||"object"==typeof t&&t.redirect}async push(t,o="forward",n){var e;if(t.startsWith(".")){const o=null!==(e=this.previousPath)&&void 0!==e?e:"/",n=new URL(t,`https://host/${o}`);t=n.pathname+n.search}let i=p(t);const r=await this.runGuards(i.segments);if(!0!==r){if("object"!=typeof r)return!1;i=p(r.redirect)}return this.setSegments(i.segments,o,i.queryString),this.writeNavStateRoot(i.segments,o,n)}back(){return window.history.back(),Promise.resolve(this.waitPromise)}async printDebug(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const o of t){const t=[];o.forEach((o=>t.push(...o.segments)));const n=o.map((t=>t.id));console.debug(`%c ${w(t)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${n.join(", ")})`)}console.groupEnd()})(S(this.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const o of t)o.to&&console.debug("FROM: ",`$c ${w(o.from)}`,"font-weight: bold"," TO: ",`$c ${w(o.to.segments)}`,"font-weight: bold");console.groupEnd()})(E(this.el))}async navChanged(t){if(this.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:o,outlet:n}=await(async()=>{const t=[];let o,n=window.document.body;for(;o=v(n);){const e=await o.getRouteId();if(!e)break;n=e.element,e.element=void 0,t.push(e)}return{ids:t,outlet:o}})(),e=((t,o)=>{let n=null,e=0;for(const i of o){const o=y(t,i);o>e&&(n=i,e=o)}return n?n.map(((o,n)=>{var e;return{id:o.id,segments:o.segments,params:C(o.params,null===(e=t[n])||void 0===e?void 0:e.params)}})):null})(o,S(this.el));if(!e)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const i=(t=>{const o=[];for(const n of t)for(const t of n.segments)if(":"===t[0]){const e=n.params&&n.params[t.slice(1)];if(!e)return null;o.push(e)}else""!==t&&o.push(t);return o})(e);return i?(this.setSegments(i,t),await this.safeWriteNavState(n,e,f,i,null,o.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)}onRedirectChanged(){const t=this.getSegments();t&&g(t,E(this.el))&&this.writeNavStateRoot(t,f)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),f)}historyDirection(){var t;const o=window;null===o.history.state&&(this.state++,o.history.replaceState(this.state,o.document.title,null===(t=o.document.location)||void 0===t?void 0:t.href));const n=o.history.state,e=this.lastState;return this.lastState=n,n>e||n>=e&&e>0?d:n<e?"back":f}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const e=E(this.el),i=g(t,e);let r=null;if(i){const{segments:n,queryString:e}=i.to;this.setSegments(n,o,e),r=i.from,t=n}const s=S(this.el),c=k(t,s);return c?this.safeWriteNavState(document.body,c,o,t,r,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,e,i,r=0,s){const c=await this.lock();let a=!1;try{a=await this.writeNavState(t,o,n,e,i,r,s)}catch(t){console.error(t)}return c(),a}async lock(){const t=this.waitPromise;let o;return this.waitPromise=new Promise((t=>o=t)),void 0!==t&&await t,o}async runGuards(t=this.getSegments(),o){if(void 0===o&&(o=p(this.previousPath).segments),!t||!o)return!0;const n=S(this.el),e=k(o,n),i=e&&e[e.length-1].beforeLeave,r=!i||await i();if(!1===r||"object"==typeof r)return r;const s=k(t,n),c=s&&s[s.length-1].beforeEnter;return!c||c()}async writeNavState(t,o,n,e,i,r=0,s){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const c=this.routeChangeEvent(e,i);c&&this.ionRouteWillChange.emit(c);const a=await m(t,o,n,r,!1,s);return this.busy=!1,c&&this.ionRouteDidChange.emit(c),a}setSegments(t,o,n){this.state++,((t,o,n,e,i,r,s)=>{const c=((t,o,n)=>{let e=w(t);return o&&(e="#"+e),void 0!==n&&(e+="?"+n),e})([...p(o).segments,...e],n,s);i===d?t.pushState(r,"",c):t.replaceState(r,"",c)})(window.history,this.root,this.useHash,t,o,this.state,n)}getSegments(){return((t,o,n)=>{const e=p(this.root).segments,i=n?t.hash.slice(1):t.pathname;return((t,o)=>{if(t.length>o.length)return null;if(t.length<=1&&""===t[0])return o;for(let n=0;n<t.length;n++)if(t[n]!==o[n])return null;return o.length===t.length?[""]:o.slice(t.length)})(e,p(i).segments)})(window.location,0,this.useHash)}routeChangeEvent(t,o){const n=this.previousPath,e=w(t);return this.previousPath=e,e===n?null:{from:n,redirectedFrom:o?w(o):null,to:e}}get el(){return n(this)}},x=class{constructor(o){t(this,o),this.onClick=t=>{c(this.href,t,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=h(this),o={href:this.href,rel:this.rel,target:this.target};return e(i,{key:"f876442cab5b14b7e83c6d6ad2c2d878a9c57439",onClick:this.onClick,class:a(this.color,{[t]:!0,"ion-activatable":!0})},e("a",Object.assign({key:"c44b78ec1fd10a40c23bfe548860ac2b346646a8"},o),e("slot",{key:"d32180a567613f79f89885135bd0d776ffc1eb8e"})))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #0054e9);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";export{u as ion_route,l as ion_route_redirect,U as ion_router,x as ion_router_link}
|
|
4
|
+
import{r as t,d as o,i as n,h as e,f as i}from"./p-b5feddc3.js";import{c as r,o as s}from"./p-b51e4004.js";import{o as c,c as a}from"./p-47794def.js";import{b as h}from"./p-b27b19c5.js";const u=class{constructor(n){t(this,n),this.ionRouteDataChanged=o(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,o){if(t===o)return;const n=t?Object.keys(t):[],e=o?Object.keys(o):[];if(n.length===e.length){for(const e of n)if(t[e]!==o[e])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},l=class{constructor(n){t(this,n),this.ionRouteRedirectChanged=o(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},f="root",d="forward",w=t=>"/"+t.filter((t=>t.length>0)).join("/"),p=t=>{let o,n=[""];if(null!=t){const e=t.indexOf("?");e>-1&&(o=t.substring(e+1),t=t.substring(0,e)),n=t.split("/").map((t=>t.trim())).filter((t=>t.length>0)),0===n.length&&(n=[""])}return{segments:n,queryString:o}},b=async(t,o,n,e,i=!1,s)=>{try{const c=v(t);if(e>=o.length||!c)return i;await new Promise((t=>r(c,t)));const a=o[e],h=await c.setRouteId(a.id,a.params,n,s);return h.changed&&(n=f,i=!0),i=await b(h.element,o,n,e+1,i,s),h.markVisible&&await h.markVisible(),i}catch(t){return console.error(t),!1}},m=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",v=t=>{if(!t)return;if(t.matches(m))return t;const o=t.querySelector(m);return null!=o?o:void 0},g=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:e}=o;if(void 0===e)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const e=n[o];if("*"===e)return!0;if(e!==t[o])return!1}return n.length===t.length})(t,o))),y=(t,o)=>{const n=Math.min(t.length,o.length);let e=0;for(let i=0;i<n;i++){const n=t[i],r=o[i];if(n.id.toLowerCase()!==r.id)break;if(n.params){const t=Object.keys(n.params);if(t.length===r.segments.length){const o=t.map((t=>`:${t}`));for(let t=0;t<o.length&&o[t].toLowerCase()===r.segments[t];t++)e++}}e++}return e},R=(t,o)=>{const n=new O(t);let e,i=!1;for(let t=0;t<o.length;t++){const r=o[t].segments;if(""===r[0])i=!0;else{for(const o of r){const i=n.next();if(":"===o[0]){if(""===i)return null;e=e||[],(e[t]||(e[t]={}))[o.slice(1)]=i}else if(i!==o)return null}i=!1}}return i&&i!==(""===n.next())?null:e?o.map(((t,o)=>({id:t.id,segments:t.segments,params:C(t.params,e[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},C=(t,o)=>t||o?Object.assign(Object.assign({},t),o):void 0,k=(t,o)=>{let n=null,e=0;for(const i of o){const o=R(t,i);if(null!==o){const t=j(o);t>e&&(e=t,n=o)}}return n},j=t=>{let o=1,n=1;for(const e of t)for(const t of e.segments)":"===t[0]?o+=Math.pow(1,n):""!==t&&(o+=Math.pow(2,n)),n++;return o};class O{constructor(t){this.segments=t.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const D=(t,o)=>o in t?t[o]:t.hasAttribute(o)?t.getAttribute(o):null,E=t=>Array.from(t.children).filter((t=>"ION-ROUTE-REDIRECT"===t.tagName)).map((t=>{const o=D(t,"to");return{from:p(D(t,"from")).segments,to:null==o?void 0:p(o)}})),S=t=>L($(t)),$=t=>Array.from(t.children).filter((t=>"ION-ROUTE"===t.tagName&&t.component)).map((t=>{const o=D(t,"component");return{segments:p(D(t,"url")).segments,id:o.toLowerCase(),params:t.componentProps,beforeLeave:t.beforeLeave,beforeEnter:t.beforeEnter,children:$(t)}})),L=t=>{const o=[];for(const n of t)P([],o,n);return o},P=(t,o,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const e of n.children)P(t,o,e);else o.push(t)},U=class{constructor(n){t(this,n),this.ionRouteWillChange=o(this,"ionRouteWillChange",7),this.ionRouteDidChange=o(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}async componentWillLoad(){await(v(document.body)?Promise.resolve():new Promise((t=>{window.addEventListener("ionNavWillLoad",(()=>t()),{once:!0})})));const t=await this.runGuards(this.getSegments());if(!0!==t){if("object"==typeof t){const{redirect:o}=t,n=p(o);this.setSegments(n.segments,f,n.queryString),await this.writeNavStateRoot(n.segments,f)}}else await this.onRoutesChanged()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))}async onPopState(){const t=this.historyDirection();let o=this.getSegments();const n=await this.runGuards(o);if(!0!==n){if("object"!=typeof n)return!1;o=p(n.redirect).segments}return this.writeNavStateRoot(o,t)}onBackButton(t){t.detail.register(0,(t=>{this.back(),t()}))}async canTransition(){const t=await this.runGuards();return!0===t||"object"==typeof t&&t.redirect}async push(t,o="forward",n){var e;if(t.startsWith(".")){const o=null!==(e=this.previousPath)&&void 0!==e?e:"/",n=new URL(t,`https://host/${o}`);t=n.pathname+n.search}let i=p(t);const r=await this.runGuards(i.segments);if(!0!==r){if("object"!=typeof r)return!1;i=p(r.redirect)}return this.setSegments(i.segments,o,i.queryString),this.writeNavStateRoot(i.segments,o,n)}back(){return window.history.back(),Promise.resolve(this.waitPromise)}async printDebug(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const o of t){const t=[];o.forEach((o=>t.push(...o.segments)));const n=o.map((t=>t.id));console.debug(`%c ${w(t)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${n.join(", ")})`)}console.groupEnd()})(S(this.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const o of t)o.to&&console.debug("FROM: ",`$c ${w(o.from)}`,"font-weight: bold"," TO: ",`$c ${w(o.to.segments)}`,"font-weight: bold");console.groupEnd()})(E(this.el))}async navChanged(t){if(this.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:o,outlet:n}=await(async()=>{const t=[];let o,n=window.document.body;for(;o=v(n);){const e=await o.getRouteId();if(!e)break;n=e.element,e.element=void 0,t.push(e)}return{ids:t,outlet:o}})(),e=((t,o)=>{let n=null,e=0;for(const i of o){const o=y(t,i);o>e&&(n=i,e=o)}return n?n.map(((o,n)=>{var e;return{id:o.id,segments:o.segments,params:C(o.params,null===(e=t[n])||void 0===e?void 0:e.params)}})):null})(o,S(this.el));if(!e)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const i=(t=>{const o=[];for(const n of t)for(const t of n.segments)if(":"===t[0]){const e=n.params&&n.params[t.slice(1)];if(!e)return null;o.push(e)}else""!==t&&o.push(t);return o})(e);return i?(this.setSegments(i,t),await this.safeWriteNavState(n,e,f,i,null,o.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)}onRedirectChanged(){const t=this.getSegments();t&&g(t,E(this.el))&&this.writeNavStateRoot(t,f)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),f)}historyDirection(){var t;const o=window;null===o.history.state&&(this.state++,o.history.replaceState(this.state,o.document.title,null===(t=o.document.location)||void 0===t?void 0:t.href));const n=o.history.state,e=this.lastState;return this.lastState=n,n>e||n>=e&&e>0?d:n<e?"back":f}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const e=E(this.el),i=g(t,e);let r=null;if(i){const{segments:n,queryString:e}=i.to;this.setSegments(n,o,e),r=i.from,t=n}const s=S(this.el),c=k(t,s);return c?this.safeWriteNavState(document.body,c,o,t,r,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,e,i,r=0,s){const c=await this.lock();let a=!1;try{a=await this.writeNavState(t,o,n,e,i,r,s)}catch(t){console.error(t)}return c(),a}async lock(){const t=this.waitPromise;let o;return this.waitPromise=new Promise((t=>o=t)),void 0!==t&&await t,o}async runGuards(t=this.getSegments(),o){if(void 0===o&&(o=p(this.previousPath).segments),!t||!o)return!0;const n=S(this.el),e=k(o,n),i=e&&e[e.length-1].beforeLeave,r=!i||await i();if(!1===r||"object"==typeof r)return r;const s=k(t,n),c=s&&s[s.length-1].beforeEnter;return!c||c()}async writeNavState(t,o,n,e,i,r=0,s){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const c=this.routeChangeEvent(e,i);c&&this.ionRouteWillChange.emit(c);const a=await b(t,o,n,r,!1,s);return this.busy=!1,c&&this.ionRouteDidChange.emit(c),a}setSegments(t,o,n){this.state++,((t,o,n,e,i,r,s)=>{const c=((t,o,n)=>{let e=w(t);return o&&(e="#"+e),void 0!==n&&(e+="?"+n),e})([...p(o).segments,...e],n,s);i===d?t.pushState(r,"",c):t.replaceState(r,"",c)})(window.history,this.root,this.useHash,t,o,this.state,n)}getSegments(){return((t,o,n)=>{const e=p(this.root).segments,i=n?t.hash.slice(1):t.pathname;return((t,o)=>{if(t.length>o.length)return null;if(t.length<=1&&""===t[0])return o;for(let n=0;n<t.length;n++)if(t[n]!==o[n])return null;return o.length===t.length?[""]:o.slice(t.length)})(e,p(i).segments)})(window.location,0,this.useHash)}routeChangeEvent(t,o){const n=this.previousPath,e=w(t);return this.previousPath=e,e===n?null:{from:n,redirectedFrom:o?w(o):null,to:e}}get el(){return n(this)}},x=class{constructor(o){t(this,o),this.onClick=t=>{c(this.href,t,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=h(this),o={href:this.href,rel:this.rel,target:this.target};return e(i,{key:"f876442cab5b14b7e83c6d6ad2c2d878a9c57439",onClick:this.onClick,class:a(this.color,{[t]:!0,"ion-activatable":!0})},e("a",Object.assign({key:"c44b78ec1fd10a40c23bfe548860ac2b346646a8"},o),e("slot",{key:"d32180a567613f79f89885135bd0d776ffc1eb8e"})))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #0054e9);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";export{u as ion_route,l as ion_route_redirect,U as ion_router,x as ion_router_link}
|