voyager-ionic-core 7.6.0 → 7.6.1
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/data.js +64 -14
- package/components/ion-datetime.js +22 -3
- package/components/ion-input.js +21 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-textarea.js +25 -2
- package/css/core.css +0 -8
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-0af482c7.js → app-globals-7def22c8.js} +1 -1
- package/dist/cjs/{button-active-a5185907.js → button-active-962fe442.js} +1 -1
- package/dist/cjs/{data-36b9094e.js → data-a5109f09.js} +64 -14
- package/dist/cjs/{index-f8f13389.js → index-17ab7794.js} +3 -3
- package/dist/cjs/{index-ce101dc9.js → index-3b012034.js} +1 -1
- package/dist/cjs/{index-bbb4336c.js → index-50dcfe2f.js} +21 -8
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
- 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 +3 -3
- package/dist/cjs/ion-datetime_3.cjs.entry.js +26 -7
- 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.cjs.entry.js +23 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- 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 +3 -3
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- 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 +27 -4
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ionic-global-f4a2093b.js → ionic-global-a4edbf03.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-6787b799.js → ios.transition-b5353f3e.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-e033d20a.js → md.transition-67157dd9.js} +2 -2
- package/dist/cjs/{overlays-27a6fb16.js → overlays-e77cc023.js} +1 -1
- package/dist/cjs/{status-tap-415acac6.js → status-tap-b5d77c08.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/datetime/datetime.js +22 -3
- package/dist/collection/components/datetime/test/manipulation.spec.js +133 -1
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +27 -0
- package/dist/collection/components/datetime/utils/manipulation.js +65 -15
- package/dist/collection/components/input/input.js +21 -2
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +28 -8
- package/dist/collection/components/menu/menu.ios.css +3 -4
- package/dist/collection/components/menu/menu.md.css +3 -4
- package/dist/collection/components/menu/test/custom/menu.e2e.js +61 -0
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +2 -1
- package/dist/collection/components/split-pane/split-pane.ios.css +1 -2
- package/dist/collection/components/split-pane/split-pane.md.css +1 -2
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +36 -0
- package/dist/collection/components/textarea/textarea.js +25 -2
- package/dist/docs.json +2 -2
- package/dist/esm/{app-globals-722340c4.js → app-globals-8c62bec2.js} +1 -1
- package/dist/esm/{button-active-c6ee4f50.js → button-active-308d3edd.js} +1 -1
- package/dist/esm/{data-f5c75b4e.js → data-775093f5.js} +64 -14
- package/dist/esm/{index-0c12c22b.js → index-1193f005.js} +1 -1
- package/dist/esm/{index-1932b201.js → index-4743453d.js} +3 -3
- package/dist/esm/{index-08d686eb.js → index-b7d870cf.js} +21 -8
- package/dist/esm/index.js +7 -7
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +4 -4
- 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 +3 -3
- package/dist/esm/ion-datetime_3.entry.js +26 -7
- 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.entry.js +23 -4
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-internal.entry.js +2 -2
- package/dist/esm/ion-picker-internal.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +4 -4
- 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 +3 -3
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +4 -4
- 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 +27 -4
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ionic-global-c0cda98e.js → ionic-global-1f99b929.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-802a84a6.js → ios.transition-3376ccb2.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-43c2874d.js → md.transition-f992779f.js} +2 -2
- package/dist/esm/{overlays-32ef481d.js → overlays-b33f6bca.js} +1 -1
- package/dist/esm/{status-tap-2b93b1b5.js → status-tap-16fd8f3d.js} +1 -1
- package/dist/esm-es5/app-globals-8c62bec2.js +4 -0
- package/dist/esm-es5/{button-active-c6ee4f50.js → button-active-308d3edd.js} +1 -1
- package/dist/esm-es5/data-775093f5.js +4 -0
- package/dist/esm-es5/{index-0c12c22b.js → index-1193f005.js} +1 -1
- package/dist/esm-es5/{index-1932b201.js → index-4743453d.js} +1 -1
- package/dist/esm-es5/index-b7d870cf.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.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-internal.entry.js +1 -1
- package/dist/esm-es5/ion-picker-internal.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-c0cda98e.js → ionic-global-1f99b929.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-802a84a6.js → ios.transition-3376ccb2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-f992779f.js +4 -0
- package/dist/esm-es5/{overlays-32ef481d.js → overlays-b33f6bca.js} +1 -1
- package/dist/esm-es5/{status-tap-2b93b1b5.js → status-tap-16fd8f3d.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-f70970cf.js → p-0235067a.js} +1 -1
- package/dist/ionic/{p-cdbeaadc.js → p-04377cfa.js} +1 -1
- package/dist/ionic/{p-f656e032.system.entry.js → p-043aa6cc.system.entry.js} +1 -1
- package/dist/ionic/{p-c3c3333a.js → p-0509fd34.js} +1 -1
- package/dist/ionic/{p-765f4dde.entry.js → p-0550f802.entry.js} +1 -1
- package/dist/ionic/{p-8acae6b0.system.entry.js → p-06abe918.system.entry.js} +1 -1
- package/dist/ionic/{p-5e745192.system.js → p-0aa78a8d.system.js} +1 -1
- package/dist/ionic/{p-9f6ee2c0.system.entry.js → p-0dfa4ab4.system.entry.js} +2 -2
- package/dist/ionic/{p-b56d0866.system.entry.js → p-0ebc87b7.system.entry.js} +1 -1
- package/dist/ionic/{p-a0bb7b92.system.entry.js → p-10ec9af7.system.entry.js} +1 -1
- package/dist/ionic/{p-0add7211.entry.js → p-11786dc7.entry.js} +1 -1
- package/dist/ionic/{p-3dd98a73.entry.js → p-11a3973f.entry.js} +1 -1
- package/dist/ionic/{p-b4a51c42.system.js → p-1501b945.system.js} +1 -1
- package/dist/ionic/{p-6f8dbe92.system.entry.js → p-158efe8d.system.entry.js} +1 -1
- package/dist/ionic/{p-dc6af8e9.entry.js → p-164aa69c.entry.js} +1 -1
- package/dist/ionic/{p-8804a472.system.entry.js → p-17d283b9.system.entry.js} +1 -1
- package/dist/ionic/p-18cae04f.js +4 -0
- package/dist/ionic/{p-e7ea9815.system.entry.js → p-19c379da.system.entry.js} +1 -1
- package/dist/ionic/{p-e3584231.system.js → p-19d9ceb8.system.js} +1 -1
- package/dist/ionic/{p-2d539df1.entry.js → p-1b27ac67.entry.js} +1 -1
- package/dist/ionic/{p-a3277a67.entry.js → p-1c249831.entry.js} +1 -1
- package/dist/ionic/{p-0e53f8ea.system.entry.js → p-20e0e75d.system.entry.js} +1 -1
- package/dist/ionic/{p-6de62649.system.entry.js → p-22827063.system.entry.js} +1 -1
- package/dist/ionic/{p-78aadecb.entry.js → p-26c4bf85.entry.js} +1 -1
- package/dist/ionic/{p-a1987850.entry.js → p-2894d5f6.entry.js} +1 -1
- package/dist/ionic/{p-9738fd82.js → p-290d3fe9.js} +1 -1
- package/dist/ionic/{p-3f5179b5.entry.js → p-2a583966.entry.js} +1 -1
- package/dist/ionic/{p-958d6ebe.system.entry.js → p-2ba9a9bd.system.entry.js} +2 -2
- package/dist/ionic/{p-28249b10.system.entry.js → p-2cf21a15.system.entry.js} +1 -1
- package/dist/ionic/p-2df97906.system.entry.js +4 -0
- package/dist/ionic/{p-1161a793.entry.js → p-3313c481.entry.js} +1 -1
- package/dist/ionic/{p-2938823a.system.entry.js → p-332ea4d3.system.entry.js} +1 -1
- package/dist/ionic/{p-a0d7bb5e.system.js → p-3671f1b9.system.js} +1 -1
- package/dist/ionic/p-38531958.system.entry.js +4 -0
- package/dist/ionic/{p-98f3d827.entry.js → p-3dfc522b.entry.js} +1 -1
- package/dist/ionic/{p-88fde0e0.entry.js → p-3e8d5e53.entry.js} +1 -1
- package/dist/ionic/{p-ef126ae8.system.entry.js → p-41208f54.system.entry.js} +1 -1
- package/dist/ionic/{p-caf21b46.system.entry.js → p-4489dd20.system.entry.js} +1 -1
- package/dist/ionic/{p-72f6ff89.js → p-44a56556.js} +1 -1
- package/dist/ionic/{p-353b349d.entry.js → p-44dc52e5.entry.js} +1 -1
- package/dist/ionic/{p-c9a21dfd.system.entry.js → p-4685218a.system.entry.js} +1 -1
- package/dist/ionic/{p-01d14eba.system.entry.js → p-469dd571.system.entry.js} +1 -1
- package/dist/ionic/{p-80fa068e.entry.js → p-47bb15a1.entry.js} +1 -1
- package/dist/ionic/{p-b7010c69.system.entry.js → p-4981ea0a.system.entry.js} +1 -1
- package/dist/ionic/{p-16756e94.system.entry.js → p-507ddbfe.system.entry.js} +1 -1
- package/dist/ionic/{p-8f5d30f5.entry.js → p-529b24fb.entry.js} +1 -1
- package/dist/ionic/p-52cfafe9.system.js +5 -0
- package/dist/ionic/{p-4155f352.system.js → p-5ad1fe3b.system.js} +1 -1
- package/dist/ionic/{p-d37b441e.entry.js → p-60959b71.entry.js} +1 -1
- package/dist/ionic/{p-28a2c2a2.entry.js → p-61e4d3ec.entry.js} +1 -1
- package/dist/ionic/{p-ada96dd0.system.entry.js → p-648ad047.system.entry.js} +1 -1
- package/dist/ionic/{p-51a087d6.entry.js → p-6855f26a.entry.js} +1 -1
- package/dist/ionic/{p-4fb51e61.system.entry.js → p-69641343.system.entry.js} +1 -1
- package/dist/ionic/{p-47b6ba5b.js → p-6ab03751.js} +1 -1
- package/dist/ionic/{p-517a9885.system.entry.js → p-6c277fa2.system.entry.js} +1 -1
- package/dist/ionic/{p-46d400b4.system.entry.js → p-6e0539ea.system.entry.js} +1 -1
- package/dist/ionic/{p-dee7c1d0.system.entry.js → p-6fba0ce1.system.entry.js} +1 -1
- package/dist/ionic/{p-9eec42cc.system.entry.js → p-745e3339.system.entry.js} +1 -1
- package/dist/ionic/{p-1b19c04b.entry.js → p-767f1a92.entry.js} +1 -1
- package/dist/ionic/p-7dc892f8.entry.js +4 -0
- package/dist/ionic/{p-5ecae037.js → p-7fae5c36.js} +1 -1
- package/dist/ionic/{p-b5f9f14c.entry.js → p-803efb5d.entry.js} +1 -1
- package/dist/ionic/{p-18ba8221.entry.js → p-806a9810.entry.js} +1 -1
- package/dist/ionic/{p-ea69616e.entry.js → p-84b567a6.entry.js} +1 -1
- package/dist/ionic/{p-b6f9d32a.entry.js → p-85f48531.entry.js} +1 -1
- package/dist/ionic/p-87bb3735.system.js +4 -0
- package/dist/ionic/{p-908475e7.system.entry.js → p-8f301ac5.system.entry.js} +1 -1
- package/dist/ionic/{p-cfe57b1b.entry.js → p-928ee57a.entry.js} +1 -1
- package/dist/ionic/p-932f2259.system.entry.js +4 -0
- package/dist/ionic/{p-953009b1.entry.js → p-93390f78.entry.js} +1 -1
- package/dist/ionic/p-950c05ad.entry.js +4 -0
- package/dist/ionic/{p-6ad34705.system.entry.js → p-96d4814f.system.entry.js} +1 -1
- package/dist/ionic/p-97174c1e.js +4 -0
- package/dist/ionic/{p-6de472cb.js → p-98f35d98.js} +1 -1
- package/dist/ionic/p-9a68d8ef.system.js +4 -0
- package/dist/ionic/{p-4233cc1e.system.entry.js → p-9ba72fdb.system.entry.js} +1 -1
- package/dist/ionic/{p-5b365ca7.system.js → p-9f94c72e.system.js} +1 -1
- package/dist/ionic/{p-1208f939.entry.js → p-9fb45814.entry.js} +1 -1
- package/dist/ionic/{p-3e6b47e8.system.entry.js → p-9fda6824.system.entry.js} +1 -1
- package/dist/ionic/{p-588fdf40.entry.js → p-a06501e3.entry.js} +1 -1
- package/dist/ionic/{p-31fcb233.system.js → p-a074be82.system.js} +1 -1
- package/dist/ionic/{p-17da5ed1.entry.js → p-a3013394.entry.js} +1 -1
- package/dist/ionic/{p-d032f825.system.entry.js → p-a42ef163.system.entry.js} +1 -1
- package/dist/ionic/{p-8314281e.system.js → p-a49931aa.system.js} +1 -1
- package/dist/ionic/{p-e6d68e02.system.entry.js → p-a821750c.system.entry.js} +1 -1
- package/dist/ionic/{p-5bebc7b3.system.entry.js → p-abd5d0d5.system.entry.js} +1 -1
- package/dist/ionic/{p-270e1a1d.entry.js → p-ade3cf46.entry.js} +1 -1
- package/dist/ionic/{p-6fbecbda.entry.js → p-ae4b7df8.entry.js} +1 -1
- package/dist/ionic/{p-a9978d08.entry.js → p-aee39e06.entry.js} +1 -1
- package/dist/ionic/{p-e24ce1e5.system.js → p-afa9f205.system.js} +1 -1
- package/dist/ionic/{p-c91ccbfa.system.entry.js → p-b7058a0e.system.entry.js} +1 -1
- package/dist/ionic/{p-feae5133.entry.js → p-b78e6a44.entry.js} +1 -1
- package/dist/ionic/{p-cce9f61a.system.entry.js → p-b7a2ffc9.system.entry.js} +1 -1
- package/dist/ionic/{p-b3b3efba.system.entry.js → p-b8a9e195.system.entry.js} +1 -1
- package/dist/ionic/{p-ddb30596.entry.js → p-b964aba3.entry.js} +1 -1
- package/dist/ionic/{p-6e70dd1a.system.entry.js → p-beeed22c.system.entry.js} +1 -1
- package/dist/ionic/{p-f8a5bb89.entry.js → p-c08fe2c0.entry.js} +1 -1
- package/dist/ionic/{p-4d67d27a.entry.js → p-c1701827.entry.js} +1 -1
- package/dist/ionic/{p-5eda1d7d.entry.js → p-c5acfeb1.entry.js} +1 -1
- package/dist/ionic/{p-9709ebd8.system.entry.js → p-cb8dff22.system.entry.js} +1 -1
- package/dist/ionic/{p-042e6f4b.entry.js → p-cd1b920b.entry.js} +1 -1
- package/dist/ionic/p-cd574dfa.js +4 -0
- package/dist/ionic/{p-3a45a82b.entry.js → p-cf235986.entry.js} +1 -1
- package/dist/ionic/{p-9b7f0b0f.entry.js → p-cf53213c.entry.js} +1 -1
- package/dist/ionic/{p-b6f5e4f2.system.entry.js → p-d93eed83.system.entry.js} +1 -1
- package/dist/ionic/{p-e94c392d.entry.js → p-da5e2652.entry.js} +1 -1
- package/dist/ionic/p-dc6d8647.entry.js +4 -0
- package/dist/ionic/{p-7d92bf15.system.entry.js → p-dc71e4ef.system.entry.js} +1 -1
- package/dist/ionic/{p-6577aea9.system.entry.js → p-ddd48faf.system.entry.js} +1 -1
- package/dist/ionic/p-e2903cdc.system.entry.js +4 -0
- package/dist/ionic/{p-2092f39f.entry.js → p-e33d1ebc.entry.js} +1 -1
- package/dist/ionic/{p-8d69a624.entry.js → p-ebe8bd8a.entry.js} +1 -1
- package/dist/ionic/{p-c847fb35.system.entry.js → p-f0504446.system.entry.js} +1 -1
- package/dist/ionic/{p-2d3b9fa3.system.entry.js → p-f434bcf3.system.entry.js} +1 -1
- package/dist/ionic/{p-33a37fad.system.js → p-f6e9c227.system.js} +1 -1
- package/dist/ionic/{p-251666e2.entry.js → p-f894e0ad.entry.js} +1 -1
- package/dist/types/components/datetime/utils/manipulation.d.ts +34 -7
- package/hydrate/index.js +172 -60
- package/package.json +3 -3
- package/dist/esm-es5/app-globals-722340c4.js +0 -4
- package/dist/esm-es5/data-f5c75b4e.js +0 -4
- package/dist/esm-es5/index-08d686eb.js +0 -5
- package/dist/esm-es5/md.transition-43c2874d.js +0 -4
- package/dist/ionic/p-1786bc72.js +0 -4
- package/dist/ionic/p-2aea8b1e.js +0 -4
- package/dist/ionic/p-350f7292.system.entry.js +0 -4
- package/dist/ionic/p-564af202.system.entry.js +0 -4
- package/dist/ionic/p-5e4eec2e.entry.js +0 -4
- package/dist/ionic/p-82e3d633.system.js +0 -4
- package/dist/ionic/p-91d33c4a.js +0 -4
- package/dist/ionic/p-9e447eb1.system.js +0 -4
- package/dist/ionic/p-a4afcc88.entry.js +0 -4
- package/dist/ionic/p-afd6ca9d.entry.js +0 -4
- package/dist/ionic/p-d3b030b8.system.js +0 -5
- package/dist/ionic/p-f0445d82.system.entry.js +0 -4
- package/dist/ionic/p-fba0a6e7.system.entry.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
/*!
|
|
9
|
-
Stencil Mock Doc v4.8.
|
|
9
|
+
Stencil Mock Doc v4.8.2 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const CONTENT_REF_ID = 'r';
|
|
12
12
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -5226,16 +5226,16 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
5226
5226
|
const r = new Set, i = new Set, d = new Set, c = e.document.createElement, $ = e.document.createElementNS, m = Promise.resolve();
|
|
5227
5227
|
let p, h = !1;
|
|
5228
5228
|
try {
|
|
5229
|
-
function
|
|
5229
|
+
function f() {
|
|
5230
5230
|
return L(this);
|
|
5231
5231
|
}
|
|
5232
|
-
function
|
|
5232
|
+
function u(e) {
|
|
5233
5233
|
if (isValidComponent(e, t) && !getHostRef(e)) {
|
|
5234
5234
|
const t = loadModule({
|
|
5235
5235
|
$tagName$: e.nodeName.toLowerCase(),
|
|
5236
5236
|
$flags$: null
|
|
5237
5237
|
});
|
|
5238
|
-
null != t && null != t.cmpMeta && (i.add(e), e.connectedCallback =
|
|
5238
|
+
null != t && null != t.cmpMeta && (i.add(e), e.connectedCallback = f, registerHost(e, t.cmpMeta),
|
|
5239
5239
|
function o(e, t) {
|
|
5240
5240
|
if ("function" != typeof e.componentOnReady && (e.componentOnReady = componentOnReady$1),
|
|
5241
5241
|
"function" != typeof e.forceUpdate && (e.forceUpdate = forceUpdate), 1 & t.$flags$ && (e.shadowRoot = e),
|
|
@@ -5273,7 +5273,7 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
5273
5273
|
}
|
|
5274
5274
|
function g(e) {
|
|
5275
5275
|
if (null != e && 1 === e.nodeType) {
|
|
5276
|
-
|
|
5276
|
+
u(e);
|
|
5277
5277
|
const t = e.children;
|
|
5278
5278
|
for (let e = 0, o = t.length; e < o; e++) g(t[e]);
|
|
5279
5279
|
}
|
|
@@ -5310,10 +5310,10 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
5310
5310
|
}
|
|
5311
5311
|
e.document.createElement = function t(o) {
|
|
5312
5312
|
const n = c.call(e.document, o);
|
|
5313
|
-
return
|
|
5313
|
+
return u(n), n;
|
|
5314
5314
|
}, e.document.createElementNS = function t(o, n) {
|
|
5315
5315
|
const s = $.call(e.document, o, n);
|
|
5316
|
-
return
|
|
5316
|
+
return u(s), s;
|
|
5317
5317
|
}, p = global.setTimeout((function I() {
|
|
5318
5318
|
a(`Hydrate exceeded timeout${function e(t) {
|
|
5319
5319
|
return Array.from(t).map(waitingOnElementMsg);
|
|
@@ -5569,9 +5569,9 @@ const createElm = (e, t, o, n) => {
|
|
|
5569
5569
|
r && a.appendChild(r);
|
|
5570
5570
|
("svg" === l.$tag$ ? isSvgMode = !1 : "foreignObject" === a.tagName && (isSvgMode = !0));
|
|
5571
5571
|
}
|
|
5572
|
-
return
|
|
5572
|
+
return a["s-hn"] = hostTagName, 3 & l.$flags$ && (a["s-sr"] = !0,
|
|
5573
5573
|
a["s-fs"] = null === (s = l.$attrs$) || void 0 === s ? void 0 : s.slot, a["s-cr"] = contentRef,
|
|
5574
|
-
a["s-sn"] = l.$name$ || "", i = e && e.$children$ && e.$children$[o], i && i.$tag$ === l.$tag$ && e.$elm$ && putBackInOriginalLocation(e.$elm$, !1))),
|
|
5574
|
+
a["s-sn"] = l.$name$ || "", i = e && e.$children$ && e.$children$[o], i && i.$tag$ === l.$tag$ && e.$elm$ && (putBackInOriginalLocation(e.$elm$, !1))),
|
|
5575
5575
|
a;
|
|
5576
5576
|
}, putBackInOriginalLocation = (e, t) => {
|
|
5577
5577
|
var o;
|
|
@@ -5603,10 +5603,10 @@ const createElm = (e, t, o, n) => {
|
|
|
5603
5603
|
null !== a ? (r = o["s-cr"]) ? r.parentNode.textContent = a : e.$text$ !== a && (o.data = a) : ((isSvgMode = "svg" === l || "foreignObject" !== l && isSvgMode),
|
|
5604
5604
|
("slot" === l || updateElement(e, t, isSvgMode)),
|
|
5605
5605
|
null !== n && null !== s ? ((e, t, o, n) => {
|
|
5606
|
-
let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1, h = n[0],
|
|
5607
|
-
for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null == h) h = n[++r]; else if (null ==
|
|
5608
|
-
$ = t[++a], h = n[++r]; else if (isSameVnode(m,
|
|
5609
|
-
patch($,
|
|
5606
|
+
let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1, h = n[0], f = n[p];
|
|
5607
|
+
for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null == h) h = n[++r]; else if (null == f) f = n[--p]; else if (isSameVnode($, h)) patch($, h),
|
|
5608
|
+
$ = t[++a], h = n[++r]; else if (isSameVnode(m, f)) patch(m, f), m = t[--c], f = n[--p]; else if (isSameVnode($, f)) "slot" !== $.$tag$ && "slot" !== f.$tag$ || putBackInOriginalLocation($.$elm$.parentNode, !1),
|
|
5609
|
+
patch($, f), e.insertBefore($.$elm$, m.$elm$.nextSibling), $ = t[++a], f = n[--p]; else if (isSameVnode(m, h)) "slot" !== $.$tag$ && "slot" !== f.$tag$ || putBackInOriginalLocation(m.$elm$.parentNode, !1),
|
|
5610
5610
|
patch(m, h), e.insertBefore(m.$elm$, $.$elm$), m = t[--c], h = n[++r]; else {
|
|
5611
5611
|
if (i = -1, BUILD.vdomKey) for (d = a; d <= c; ++d) if (t[d] && null !== t[d].$key$ && t[d].$key$ === h.$key$) {
|
|
5612
5612
|
i = d;
|
|
@@ -5663,17 +5663,17 @@ const createElm = (e, t, o, n) => {
|
|
|
5663
5663
|
}, isNodeLocatedInSlot = (e, t) => 1 === e.nodeType ? null === e.getAttribute("slot") && "" === t || e.getAttribute("slot") === t : e["s-sn"] === t || "" === t, nullifyVNodeRefs = e => {
|
|
5664
5664
|
(e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(nullifyVNodeRefs));
|
|
5665
5665
|
}, renderVdom = (e, t, o = !1) => {
|
|
5666
|
-
var n, s;
|
|
5667
|
-
const
|
|
5668
|
-
if (hostTagName =
|
|
5669
|
-
if (
|
|
5670
|
-
o &&
|
|
5671
|
-
if (
|
|
5672
|
-
(scopeId =
|
|
5673
|
-
useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(
|
|
5666
|
+
var n, s, l, a;
|
|
5667
|
+
const i = e.$hostElement$, d = e.$cmpMeta$, c = e.$vnode$ || newVNode(null, null), $ = isHost(t) ? t : h(null, null, t);
|
|
5668
|
+
if (hostTagName = i.tagName, BUILD.isDev ) ;
|
|
5669
|
+
if (d.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, d.$attrsToReflect$.map((([e, t]) => $.$attrs$[t] = i[e]))),
|
|
5670
|
+
o && $.$attrs$) for (const e of Object.keys($.$attrs$)) i.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e) && ($.$attrs$[e] = i[e]);
|
|
5671
|
+
if ($.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = c.$elm$ = i.shadowRoot || i,
|
|
5672
|
+
(scopeId = i["s-sc"]), (contentRef = i["s-cr"],
|
|
5673
|
+
useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(c, $),
|
|
5674
5674
|
BUILD.slotRelocation) {
|
|
5675
5675
|
if (plt.$flags$ |= 1, checkSlotRelocate) {
|
|
5676
|
-
markSlotContentForRelocation(
|
|
5676
|
+
markSlotContentForRelocation($.$elm$);
|
|
5677
5677
|
for (const e of relocateNodes) {
|
|
5678
5678
|
const t = e.$nodeToRelocate$;
|
|
5679
5679
|
if (!t["s-ol"]) {
|
|
@@ -5682,27 +5682,28 @@ const createElm = (e, t, o, n) => {
|
|
|
5682
5682
|
}
|
|
5683
5683
|
}
|
|
5684
5684
|
for (const e of relocateNodes) {
|
|
5685
|
-
const t = e.$nodeToRelocate$,
|
|
5686
|
-
if (
|
|
5687
|
-
const e =
|
|
5688
|
-
let
|
|
5685
|
+
const t = e.$nodeToRelocate$, r = e.$slotRefNode$;
|
|
5686
|
+
if (r) {
|
|
5687
|
+
const e = r.parentNode;
|
|
5688
|
+
let o = r.nextSibling;
|
|
5689
5689
|
{
|
|
5690
|
-
let
|
|
5691
|
-
for (;
|
|
5692
|
-
let n = null !== (s =
|
|
5690
|
+
let l = null === (n = t["s-ol"]) || void 0 === n ? void 0 : n.previousSibling;
|
|
5691
|
+
for (;l; ) {
|
|
5692
|
+
let n = null !== (s = l["s-nr"]) && void 0 !== s ? s : null;
|
|
5693
5693
|
if (n && n["s-sn"] === t["s-sn"] && e === n.parentNode && (n = n.nextSibling, !n || !n["s-nr"])) {
|
|
5694
|
-
|
|
5694
|
+
o = n;
|
|
5695
5695
|
break;
|
|
5696
5696
|
}
|
|
5697
|
-
|
|
5697
|
+
l = l.previousSibling;
|
|
5698
5698
|
}
|
|
5699
5699
|
}
|
|
5700
|
-
(!
|
|
5701
|
-
e.insertBefore(t, l));
|
|
5702
|
-
} else 1 === t.nodeType && (t.hidden
|
|
5700
|
+
(!o && e !== t.parentNode || t.nextSibling !== o) && t !== o && (t["s-hn"] || !t["s-ol"] || (t["s-hn"] = t["s-ol"].parentNode.nodeName),
|
|
5701
|
+
e.insertBefore(t, o), 1 === t.nodeType && (t.hidden = null !== (l = t["s-ih"]) && void 0 !== l && l));
|
|
5702
|
+
} else 1 === t.nodeType && (o && (t["s-ih"] = null !== (a = t.hidden) && void 0 !== a && a),
|
|
5703
|
+
t.hidden = !0);
|
|
5703
5704
|
}
|
|
5704
5705
|
}
|
|
5705
|
-
checkSlotFallbackVisibility && updateFallbackSlotVisibility(
|
|
5706
|
+
checkSlotFallbackVisibility && updateFallbackSlotVisibility($.$elm$), plt.$flags$ &= -2,
|
|
5706
5707
|
relocateNodes.length = 0;
|
|
5707
5708
|
}
|
|
5708
5709
|
}, slotReferenceDebugNode = e => doc$1.createComment(`<slot${e.$name$ ? ' name="' + e.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`), originalLocationDebugNode = e => doc$1.createComment("org-location for " + (e.localName ? `<${e.localName}> (host=${e["s-hn"]})` : `[${e.textContent}]`)), attachToAncestor = (e, t) => {
|
|
@@ -13870,32 +13871,82 @@ const validateParts = (parts, minParts, maxParts) => {
|
|
|
13870
13871
|
* Returns the closest date to refParts
|
|
13871
13872
|
* that also meets the constraints of
|
|
13872
13873
|
* the *Values params.
|
|
13873
|
-
* @param refParts The reference date
|
|
13874
|
-
* @param monthValues The allowed month values
|
|
13875
|
-
* @param dayValues The allowed day (of the month) values
|
|
13876
|
-
* @param yearValues The allowed year values
|
|
13877
|
-
* @param hourValues The allowed hour values
|
|
13878
|
-
* @param minuteValues The allowed minute values
|
|
13879
13874
|
*/
|
|
13880
|
-
const getClosestValidDate = (refParts, monthValues, dayValues, yearValues, hourValues, minuteValues) => {
|
|
13875
|
+
const getClosestValidDate = ({ refParts, monthValues, dayValues, yearValues, hourValues, minuteValues, minParts, maxParts, }) => {
|
|
13881
13876
|
const { hour, minute, day, month, year } = refParts;
|
|
13882
13877
|
const copyParts = Object.assign(Object.assign({}, refParts), { dayOfWeek: undefined });
|
|
13878
|
+
if (yearValues !== undefined) {
|
|
13879
|
+
// Filters out years that are out of the min/max bounds
|
|
13880
|
+
const filteredYears = yearValues.filter((year) => {
|
|
13881
|
+
if (minParts !== undefined && year < minParts.year) {
|
|
13882
|
+
return false;
|
|
13883
|
+
}
|
|
13884
|
+
if (maxParts !== undefined && year > maxParts.year) {
|
|
13885
|
+
return false;
|
|
13886
|
+
}
|
|
13887
|
+
return true;
|
|
13888
|
+
});
|
|
13889
|
+
copyParts.year = findClosestValue(year, filteredYears);
|
|
13890
|
+
}
|
|
13883
13891
|
if (monthValues !== undefined) {
|
|
13884
|
-
|
|
13892
|
+
// Filters out months that are out of the min/max bounds
|
|
13893
|
+
const filteredMonths = monthValues.filter((month) => {
|
|
13894
|
+
if (minParts !== undefined && copyParts.year === minParts.year && month < minParts.month) {
|
|
13895
|
+
return false;
|
|
13896
|
+
}
|
|
13897
|
+
if (maxParts !== undefined && copyParts.year === maxParts.year && month > maxParts.month) {
|
|
13898
|
+
return false;
|
|
13899
|
+
}
|
|
13900
|
+
return true;
|
|
13901
|
+
});
|
|
13902
|
+
copyParts.month = findClosestValue(month, filteredMonths);
|
|
13885
13903
|
}
|
|
13886
13904
|
// Day is nullable but cannot be undefined
|
|
13887
13905
|
if (day !== null && dayValues !== undefined) {
|
|
13888
|
-
|
|
13889
|
-
|
|
13890
|
-
|
|
13891
|
-
|
|
13906
|
+
// Filters out days that are out of the min/max bounds
|
|
13907
|
+
const filteredDays = dayValues.filter((day) => {
|
|
13908
|
+
if (minParts !== undefined && isBefore(Object.assign(Object.assign({}, copyParts), { day }), minParts)) {
|
|
13909
|
+
return false;
|
|
13910
|
+
}
|
|
13911
|
+
if (maxParts !== undefined && isAfter(Object.assign(Object.assign({}, copyParts), { day }), maxParts)) {
|
|
13912
|
+
return false;
|
|
13913
|
+
}
|
|
13914
|
+
return true;
|
|
13915
|
+
});
|
|
13916
|
+
copyParts.day = findClosestValue(day, filteredDays);
|
|
13892
13917
|
}
|
|
13893
13918
|
if (hour !== undefined && hourValues !== undefined) {
|
|
13894
|
-
|
|
13919
|
+
// Filters out hours that are out of the min/max bounds
|
|
13920
|
+
const filteredHours = hourValues.filter((hour) => {
|
|
13921
|
+
if ((minParts === null || minParts === void 0 ? void 0 : minParts.hour) !== undefined && isSameDay(copyParts, minParts) && hour < minParts.hour) {
|
|
13922
|
+
return false;
|
|
13923
|
+
}
|
|
13924
|
+
if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.hour) !== undefined && isSameDay(copyParts, maxParts) && hour > maxParts.hour) {
|
|
13925
|
+
return false;
|
|
13926
|
+
}
|
|
13927
|
+
return true;
|
|
13928
|
+
});
|
|
13929
|
+
copyParts.hour = findClosestValue(hour, filteredHours);
|
|
13895
13930
|
copyParts.ampm = parseAmPm(copyParts.hour);
|
|
13896
13931
|
}
|
|
13897
13932
|
if (minute !== undefined && minuteValues !== undefined) {
|
|
13898
|
-
|
|
13933
|
+
// Filters out minutes that are out of the min/max bounds
|
|
13934
|
+
const filteredMinutes = minuteValues.filter((minute) => {
|
|
13935
|
+
if ((minParts === null || minParts === void 0 ? void 0 : minParts.minute) !== undefined &&
|
|
13936
|
+
isSameDay(copyParts, minParts) &&
|
|
13937
|
+
copyParts.hour === minParts.hour &&
|
|
13938
|
+
minute < minParts.minute) {
|
|
13939
|
+
return false;
|
|
13940
|
+
}
|
|
13941
|
+
if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.minute) !== undefined &&
|
|
13942
|
+
isSameDay(copyParts, maxParts) &&
|
|
13943
|
+
copyParts.hour === maxParts.hour &&
|
|
13944
|
+
minute > maxParts.minute) {
|
|
13945
|
+
return false;
|
|
13946
|
+
}
|
|
13947
|
+
return true;
|
|
13948
|
+
});
|
|
13949
|
+
copyParts.minute = findClosestValue(minute, filteredMinutes);
|
|
13899
13950
|
}
|
|
13900
13951
|
return copyParts;
|
|
13901
13952
|
};
|
|
@@ -15593,14 +15644,24 @@ class Datetime {
|
|
|
15593
15644
|
* or modal that the datetime was presented in.
|
|
15594
15645
|
*/
|
|
15595
15646
|
async confirm(closeOverlay = false) {
|
|
15596
|
-
const { isCalendarPicker, activeParts } = this;
|
|
15647
|
+
const { isCalendarPicker, activeParts, preferWheel, workingParts } = this;
|
|
15597
15648
|
/**
|
|
15598
15649
|
* We only update the value if the presentation is not a calendar picker.
|
|
15599
15650
|
*/
|
|
15600
15651
|
if (activeParts !== undefined || !isCalendarPicker) {
|
|
15601
15652
|
const activePartsIsArray = Array.isArray(activeParts);
|
|
15602
15653
|
if (activePartsIsArray && activeParts.length === 0) {
|
|
15603
|
-
|
|
15654
|
+
if (preferWheel) {
|
|
15655
|
+
/**
|
|
15656
|
+
* If the datetime is using a wheel picker, but the
|
|
15657
|
+
* active parts are empty, then the user has confirmed the
|
|
15658
|
+
* initial value (working parts) presented to them.
|
|
15659
|
+
*/
|
|
15660
|
+
this.setValue(convertDataToISO(workingParts));
|
|
15661
|
+
}
|
|
15662
|
+
else {
|
|
15663
|
+
this.setValue(undefined);
|
|
15664
|
+
}
|
|
15604
15665
|
}
|
|
15605
15666
|
else {
|
|
15606
15667
|
this.setValue(convertDataToISO(activeParts));
|
|
@@ -15804,9 +15865,18 @@ class Datetime {
|
|
|
15804
15865
|
const yearValues = (this.parsedYearValues = convertToArrayOfNumbers(this.yearValues));
|
|
15805
15866
|
const dayValues = (this.parsedDayValues = convertToArrayOfNumbers(this.dayValues));
|
|
15806
15867
|
const todayParts = (this.todayParts = parseDate(getToday()));
|
|
15807
|
-
this.defaultParts = getClosestValidDate(todayParts, monthValues, dayValues, yearValues, hourValues, minuteValues);
|
|
15808
15868
|
this.processMinParts();
|
|
15809
15869
|
this.processMaxParts();
|
|
15870
|
+
this.defaultParts = getClosestValidDate({
|
|
15871
|
+
refParts: todayParts,
|
|
15872
|
+
monthValues,
|
|
15873
|
+
dayValues,
|
|
15874
|
+
yearValues,
|
|
15875
|
+
hourValues,
|
|
15876
|
+
minuteValues,
|
|
15877
|
+
minParts: this.minParts,
|
|
15878
|
+
maxParts: this.maxParts,
|
|
15879
|
+
});
|
|
15810
15880
|
this.processValue(this.value);
|
|
15811
15881
|
this.emitStyle();
|
|
15812
15882
|
}
|
|
@@ -18860,15 +18930,34 @@ class Input {
|
|
|
18860
18930
|
if (!this.shouldClearOnEdit()) {
|
|
18861
18931
|
return;
|
|
18862
18932
|
}
|
|
18933
|
+
/**
|
|
18934
|
+
* The following keys do not modify the
|
|
18935
|
+
* contents of the input. As a result, pressing
|
|
18936
|
+
* them should not edit the input.
|
|
18937
|
+
*
|
|
18938
|
+
* We can't check to see if the value of the input
|
|
18939
|
+
* was changed because we call checkClearOnEdit
|
|
18940
|
+
* in a keydown listener, and the key has not yet
|
|
18941
|
+
* been added to the input.
|
|
18942
|
+
*/
|
|
18943
|
+
const IGNORED_KEYS = ['Enter', 'Tab', 'Shift', 'Meta', 'Alt', 'Control'];
|
|
18944
|
+
const pressedIgnoredKey = IGNORED_KEYS.includes(ev.key);
|
|
18863
18945
|
/**
|
|
18864
18946
|
* Clear the input if the control has not been previously cleared during focus.
|
|
18865
18947
|
* Do not clear if the user hitting enter to submit a form.
|
|
18866
18948
|
*/
|
|
18867
|
-
if (!this.didInputClearOnEdit && this.hasValue() &&
|
|
18949
|
+
if (!this.didInputClearOnEdit && this.hasValue() && !pressedIgnoredKey) {
|
|
18868
18950
|
this.value = '';
|
|
18869
18951
|
this.emitInputChange(ev);
|
|
18870
18952
|
}
|
|
18871
|
-
|
|
18953
|
+
/**
|
|
18954
|
+
* Pressing an IGNORED_KEYS first and
|
|
18955
|
+
* then an allowed key will cause the input to not
|
|
18956
|
+
* be cleared.
|
|
18957
|
+
*/
|
|
18958
|
+
if (!pressedIgnoredKey) {
|
|
18959
|
+
this.didInputClearOnEdit = true;
|
|
18960
|
+
}
|
|
18872
18961
|
}
|
|
18873
18962
|
hasValue() {
|
|
18874
18963
|
return this.getValue().length > 0;
|
|
@@ -20942,9 +21031,9 @@ const createMenuController = () => {
|
|
|
20942
21031
|
};
|
|
20943
21032
|
const menuController = /*@__PURE__*/ createMenuController();
|
|
20944
21033
|
|
|
20945
|
-
const menuIosCss = "/*!@:host*/.sc-ion-menu-ios-h{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}/*!@:host(.show-menu)*/.show-menu.sc-ion-menu-ios-h{display:block}/*!@.menu-inner*/.menu-inner.sc-ion-menu-ios{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);background:var(--background);contain:strict}/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:0;right:auto}/*!@:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner*/[dir=rtl].sc-ion-menu-ios-h -no-combinator.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .sc-ion-menu-ios-h -no-combinator.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl].menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:unset;right:unset;left:auto;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-menu-ios selector(.sc-ion-menu-ios:dir(rtl)){.sc-ion-menu-ios-h.menu-side-start:dir(rtl) .menu-inner{left:unset;right:unset;left:auto;right:0}}}/*!@:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner*/[dir=rtl].sc-ion-menu-ios-h -no-combinator.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .sc-ion-menu-ios-h -no-combinator.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl].menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){/*!@:host(.menu-side-start:dir(rtl)) .menu-inner*/.menu-side-start.sc-ion-menu-ios-h:dir(rtl) .menu-inner.sc-ion-menu-ios{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:auto;right:0}/*!@:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner*/[dir=rtl].sc-ion-menu-ios-h -no-combinator.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .sc-ion-menu-ios-h -no-combinator.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl].menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:unset;right:unset;left:0;right:auto}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-menu-ios selector(.sc-ion-menu-ios:dir(rtl)){.sc-ion-menu-ios-h.menu-side-end:dir(rtl) .menu-inner{left:unset;right:unset;left:0;right:auto}}}/*!@:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner*/[dir=rtl].sc-ion-menu-ios-h -no-combinator.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .sc-ion-menu-ios-h -no-combinator.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl].menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){/*!@:host(.menu-side-end:dir(rtl)) .menu-inner*/.menu-side-end.sc-ion-menu-ios-h:dir(rtl) .menu-inner.sc-ion-menu-ios{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}/*!@ion-backdrop*/ion-backdrop.sc-ion-menu-ios{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){/*!@.menu-inner*/.menu-inner.sc-ion-menu-ios{--width:264px}}/*!@:host(.menu-type-reveal)*/.menu-type-reveal.sc-ion-menu-ios-h{z-index:0}/*!@:host(.menu-type-reveal.show-menu) .menu-inner*/.menu-type-reveal.show-menu.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@:host(.menu-type-overlay)*/.menu-type-overlay.sc-ion-menu-ios-h{z-index:1000}/*!@:host(.menu-type-overlay) .show-backdrop*/.menu-type-overlay.sc-ion-menu-ios-h .show-backdrop.sc-ion-menu-ios{display:block;cursor:pointer}/*!@:host(.menu-pane-visible)*/.menu-pane-visible.sc-ion-menu-ios-h{width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}/*!@:host(.menu-pane-visible) .menu-inner*/.menu-pane-visible.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:0;right:0;width:auto;-webkit-transform:none
|
|
21034
|
+
const menuIosCss = "/*!@:host*/.sc-ion-menu-ios-h{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}/*!@:host(.show-menu)*/.show-menu.sc-ion-menu-ios-h{display:block}/*!@.menu-inner*/.menu-inner.sc-ion-menu-ios{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);background:var(--background);contain:strict}/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:0;right:auto}/*!@:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner*/[dir=rtl].sc-ion-menu-ios-h -no-combinator.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .sc-ion-menu-ios-h -no-combinator.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl].menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:unset;right:unset;left:auto;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-menu-ios selector(.sc-ion-menu-ios:dir(rtl)){.sc-ion-menu-ios-h.menu-side-start:dir(rtl) .menu-inner{left:unset;right:unset;left:auto;right:0}}}/*!@:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner*/[dir=rtl].sc-ion-menu-ios-h -no-combinator.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .sc-ion-menu-ios-h -no-combinator.menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl].menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .menu-side-start.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){/*!@:host(.menu-side-start:dir(rtl)) .menu-inner*/.menu-side-start.sc-ion-menu-ios-h:dir(rtl) .menu-inner.sc-ion-menu-ios{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:auto;right:0}/*!@:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner*/[dir=rtl].sc-ion-menu-ios-h -no-combinator.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .sc-ion-menu-ios-h -no-combinator.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl].menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:unset;right:unset;left:0;right:auto}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-menu-ios selector(.sc-ion-menu-ios:dir(rtl)){.sc-ion-menu-ios-h.menu-side-end:dir(rtl) .menu-inner{left:unset;right:unset;left:0;right:auto}}}/*!@:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner*/[dir=rtl].sc-ion-menu-ios-h -no-combinator.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .sc-ion-menu-ios-h -no-combinator.menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl].menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios,[dir=rtl] .menu-side-end.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){/*!@:host(.menu-side-end:dir(rtl)) .menu-inner*/.menu-side-end.sc-ion-menu-ios-h:dir(rtl) .menu-inner.sc-ion-menu-ios{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}/*!@ion-backdrop*/ion-backdrop.sc-ion-menu-ios{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){/*!@.menu-inner*/.menu-inner.sc-ion-menu-ios{--width:264px}}/*!@:host(.menu-type-reveal)*/.menu-type-reveal.sc-ion-menu-ios-h{z-index:0}/*!@:host(.menu-type-reveal.show-menu) .menu-inner*/.menu-type-reveal.show-menu.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@:host(.menu-type-overlay)*/.menu-type-overlay.sc-ion-menu-ios-h{z-index:1000}/*!@:host(.menu-type-overlay) .show-backdrop*/.menu-type-overlay.sc-ion-menu-ios-h .show-backdrop.sc-ion-menu-ios{display:block;cursor:pointer}/*!@:host(.menu-pane-visible)*/.menu-pane-visible.sc-ion-menu-ios-h{width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}/*!@:host(.menu-pane-visible) .menu-inner*/.menu-pane-visible.sc-ion-menu-ios-h .menu-inner.sc-ion-menu-ios{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}/*!@:host(.menu-pane-visible) ion-backdrop*/.menu-pane-visible.sc-ion-menu-ios-h ion-backdrop.sc-ion-menu-ios{display:hidden !important}/*!@:host(.menu-type-push)*/.menu-type-push.sc-ion-menu-ios-h{z-index:1000}/*!@:host(.menu-type-push) .show-backdrop*/.menu-type-push.sc-ion-menu-ios-h .show-backdrop.sc-ion-menu-ios{display:block}";
|
|
20946
21035
|
|
|
20947
|
-
const menuMdCss = "/*!@:host*/.sc-ion-menu-md-h{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}/*!@:host(.show-menu)*/.show-menu.sc-ion-menu-md-h{display:block}/*!@.menu-inner*/.menu-inner.sc-ion-menu-md{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);background:var(--background);contain:strict}/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:0;right:auto}/*!@:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner*/[dir=rtl].sc-ion-menu-md-h -no-combinator.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .sc-ion-menu-md-h -no-combinator.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl].menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:unset;right:unset;left:auto;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-menu-md selector(.sc-ion-menu-md:dir(rtl)){.sc-ion-menu-md-h.menu-side-start:dir(rtl) .menu-inner{left:unset;right:unset;left:auto;right:0}}}/*!@:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner*/[dir=rtl].sc-ion-menu-md-h -no-combinator.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .sc-ion-menu-md-h -no-combinator.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl].menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){/*!@:host(.menu-side-start:dir(rtl)) .menu-inner*/.menu-side-start.sc-ion-menu-md-h:dir(rtl) .menu-inner.sc-ion-menu-md{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:auto;right:0}/*!@:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner*/[dir=rtl].sc-ion-menu-md-h -no-combinator.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .sc-ion-menu-md-h -no-combinator.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl].menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:unset;right:unset;left:0;right:auto}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-menu-md selector(.sc-ion-menu-md:dir(rtl)){.sc-ion-menu-md-h.menu-side-end:dir(rtl) .menu-inner{left:unset;right:unset;left:0;right:auto}}}/*!@:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner*/[dir=rtl].sc-ion-menu-md-h -no-combinator.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .sc-ion-menu-md-h -no-combinator.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl].menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){/*!@:host(.menu-side-end:dir(rtl)) .menu-inner*/.menu-side-end.sc-ion-menu-md-h:dir(rtl) .menu-inner.sc-ion-menu-md{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}/*!@ion-backdrop*/ion-backdrop.sc-ion-menu-md{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){/*!@.menu-inner*/.menu-inner.sc-ion-menu-md{--width:264px}}/*!@:host(.menu-type-reveal)*/.menu-type-reveal.sc-ion-menu-md-h{z-index:0}/*!@:host(.menu-type-reveal.show-menu) .menu-inner*/.menu-type-reveal.show-menu.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@:host(.menu-type-overlay)*/.menu-type-overlay.sc-ion-menu-md-h{z-index:1000}/*!@:host(.menu-type-overlay) .show-backdrop*/.menu-type-overlay.sc-ion-menu-md-h .show-backdrop.sc-ion-menu-md{display:block;cursor:pointer}/*!@:host(.menu-pane-visible)*/.menu-pane-visible.sc-ion-menu-md-h{width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}/*!@:host(.menu-pane-visible) .menu-inner*/.menu-pane-visible.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:0;right:0;width:auto;-webkit-transform:none
|
|
21036
|
+
const menuMdCss = "/*!@:host*/.sc-ion-menu-md-h{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}/*!@:host(.show-menu)*/.show-menu.sc-ion-menu-md-h{display:block}/*!@.menu-inner*/.menu-inner.sc-ion-menu-md{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);background:var(--background);contain:strict}/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){/*!@:host(.menu-side-start) .menu-inner*/.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:0;right:auto}/*!@:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner*/[dir=rtl].sc-ion-menu-md-h -no-combinator.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .sc-ion-menu-md-h -no-combinator.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl].menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:unset;right:unset;left:auto;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-menu-md selector(.sc-ion-menu-md:dir(rtl)){.sc-ion-menu-md-h.menu-side-start:dir(rtl) .menu-inner{left:unset;right:unset;left:auto;right:0}}}/*!@:host-context([dir=rtl]):host(.menu-side-start) .menu-inner, :host-context([dir=rtl]).menu-side-start .menu-inner*/[dir=rtl].sc-ion-menu-md-h -no-combinator.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .sc-ion-menu-md-h -no-combinator.menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl].menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .menu-side-start.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){/*!@:host(.menu-side-start:dir(rtl)) .menu-inner*/.menu-side-start.sc-ion-menu-md-h:dir(rtl) .menu-inner.sc-ion-menu-md{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){/*!@:host(.menu-side-end) .menu-inner*/.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:auto;right:0}/*!@:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner*/[dir=rtl].sc-ion-menu-md-h -no-combinator.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .sc-ion-menu-md-h -no-combinator.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl].menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:unset;right:unset;left:0;right:auto}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-menu-md selector(.sc-ion-menu-md:dir(rtl)){.sc-ion-menu-md-h.menu-side-end:dir(rtl) .menu-inner{left:unset;right:unset;left:0;right:auto}}}/*!@:host-context([dir=rtl]):host(.menu-side-end) .menu-inner, :host-context([dir=rtl]).menu-side-end .menu-inner*/[dir=rtl].sc-ion-menu-md-h -no-combinator.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .sc-ion-menu-md-h -no-combinator.menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl].menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md,[dir=rtl] .menu-side-end.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){/*!@:host(.menu-side-end:dir(rtl)) .menu-inner*/.menu-side-end.sc-ion-menu-md-h:dir(rtl) .menu-inner.sc-ion-menu-md{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}/*!@ion-backdrop*/ion-backdrop.sc-ion-menu-md{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){/*!@.menu-inner*/.menu-inner.sc-ion-menu-md{--width:264px}}/*!@:host(.menu-type-reveal)*/.menu-type-reveal.sc-ion-menu-md-h{z-index:0}/*!@:host(.menu-type-reveal.show-menu) .menu-inner*/.menu-type-reveal.show-menu.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@:host(.menu-type-overlay)*/.menu-type-overlay.sc-ion-menu-md-h{z-index:1000}/*!@:host(.menu-type-overlay) .show-backdrop*/.menu-type-overlay.sc-ion-menu-md-h .show-backdrop.sc-ion-menu-md{display:block;cursor:pointer}/*!@:host(.menu-pane-visible)*/.menu-pane-visible.sc-ion-menu-md-h{width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}/*!@:host(.menu-pane-visible) .menu-inner*/.menu-pane-visible.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}/*!@:host(.menu-pane-visible) ion-backdrop*/.menu-pane-visible.sc-ion-menu-md-h ion-backdrop.sc-ion-menu-md{display:hidden !important}/*!@:host(.menu-type-overlay) .menu-inner*/.menu-type-overlay.sc-ion-menu-md-h .menu-inner.sc-ion-menu-md{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";
|
|
20948
21037
|
|
|
20949
21038
|
const iosEasing = 'cubic-bezier(0.32,0.72,0,1)';
|
|
20950
21039
|
const mdEasing = 'cubic-bezier(0.0,0.0,0.2,1)';
|
|
@@ -33161,9 +33250,9 @@ const buildLine = (spinner, duration, index, total) => {
|
|
|
33161
33250
|
return (hAsync("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, hAsync("line", { transform: "translate(32,32)", y1: data.y1, y2: data.y2 })));
|
|
33162
33251
|
};
|
|
33163
33252
|
|
|
33164
|
-
const splitPaneIosCss = "/*!@:host*/.sc-ion-split-pane-ios-h{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}/*!@::slotted(ion-menu.menu-pane-visible)*/.sc-ion-split-pane-ios-s>ion-menu.menu-pane-visible{-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side),\n:host(.split-pane-visible) ::slotted(.split-pane-main)*/.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-side,.sc-ion-split-pane-ios-h.split-pane-visible.sc-ion-split-pane-ios-s>.split-pane-main,.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-main{left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none
|
|
33253
|
+
const splitPaneIosCss = "/*!@:host*/.sc-ion-split-pane-ios-h{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}/*!@::slotted(ion-menu.menu-pane-visible)*/.sc-ion-split-pane-ios-s>ion-menu.menu-pane-visible{-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side),\n:host(.split-pane-visible) ::slotted(.split-pane-main)*/.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-side,.sc-ion-split-pane-ios-h.split-pane-visible.sc-ion-split-pane-ios-s>.split-pane-main,.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-main{left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}/*!@:host(.split-pane-visible) ::slotted(.split-pane-main)*/.sc-ion-split-pane-ios-h.split-pane-visible.sc-ion-split-pane-ios-s>.split-pane-main,.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-main{-ms-flex:1;flex:1}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),\n:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled)*/.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-side:not(ion-menu),.sc-ion-split-pane-ios-h.split-pane-visible.sc-ion-split-pane-ios-s>ion-menu.split-pane-side.menu-enabled,.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>ion-menu.split-pane-side.menu-enabled{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}/*!@::slotted(.split-pane-side:not(ion-menu))*/.sc-ion-split-pane-ios-s>.split-pane-side:not(ion-menu){display:none}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side)*/.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-side{-ms-flex-order:-1;order:-1}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side[side=end])*/.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-side[side=end]{-ms-flex-order:1;order:1}/*!@:host*/.sc-ion-split-pane-ios-h{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side)*/.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-side{-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side[side=end])*/.sc-ion-split-pane-ios-h.split-pane-visible .sc-ion-split-pane-ios-s>.split-pane-side[side=end]{-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";
|
|
33165
33254
|
|
|
33166
|
-
const splitPaneMdCss = "/*!@:host*/.sc-ion-split-pane-md-h{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}/*!@::slotted(ion-menu.menu-pane-visible)*/.sc-ion-split-pane-md-s>ion-menu.menu-pane-visible{-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side),\n:host(.split-pane-visible) ::slotted(.split-pane-main)*/.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-side,.sc-ion-split-pane-md-h.split-pane-visible.sc-ion-split-pane-md-s>.split-pane-main,.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-main{left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none
|
|
33255
|
+
const splitPaneMdCss = "/*!@:host*/.sc-ion-split-pane-md-h{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}/*!@::slotted(ion-menu.menu-pane-visible)*/.sc-ion-split-pane-md-s>ion-menu.menu-pane-visible{-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side),\n:host(.split-pane-visible) ::slotted(.split-pane-main)*/.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-side,.sc-ion-split-pane-md-h.split-pane-visible.sc-ion-split-pane-md-s>.split-pane-main,.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-main{left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}/*!@:host(.split-pane-visible) ::slotted(.split-pane-main)*/.sc-ion-split-pane-md-h.split-pane-visible.sc-ion-split-pane-md-s>.split-pane-main,.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-main{-ms-flex:1;flex:1}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),\n:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled)*/.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-side:not(ion-menu),.sc-ion-split-pane-md-h.split-pane-visible.sc-ion-split-pane-md-s>ion-menu.split-pane-side.menu-enabled,.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>ion-menu.split-pane-side.menu-enabled{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}/*!@::slotted(.split-pane-side:not(ion-menu))*/.sc-ion-split-pane-md-s>.split-pane-side:not(ion-menu){display:none}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side)*/.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-side{-ms-flex-order:-1;order:-1}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side[side=end])*/.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-side[side=end]{-ms-flex-order:1;order:1}/*!@:host*/.sc-ion-split-pane-md-h{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side)*/.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-side{-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}/*!@:host(.split-pane-visible) ::slotted(.split-pane-side[side=end])*/.sc-ion-split-pane-md-h.split-pane-visible .sc-ion-split-pane-md-s>.split-pane-side[side=end]{-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";
|
|
33167
33256
|
|
|
33168
33257
|
const SPLIT_PANE_SIDE = 'split-pane-side';
|
|
33169
33258
|
const QUERY = {
|
|
@@ -33935,15 +34024,38 @@ class Textarea {
|
|
|
33935
34024
|
if (!this.clearOnEdit) {
|
|
33936
34025
|
return;
|
|
33937
34026
|
}
|
|
34027
|
+
/**
|
|
34028
|
+
* The following keys do not modify the
|
|
34029
|
+
* contents of the input. As a result, pressing
|
|
34030
|
+
* them should not edit the textarea.
|
|
34031
|
+
*
|
|
34032
|
+
* We can't check to see if the value of the textarea
|
|
34033
|
+
* was changed because we call checkClearOnEdit
|
|
34034
|
+
* in a keydown listener, and the key has not yet
|
|
34035
|
+
* been added to the textarea.
|
|
34036
|
+
*
|
|
34037
|
+
* Unlike ion-input, the "Enter" key does modify the
|
|
34038
|
+
* textarea by adding a new line, so "Enter" is not
|
|
34039
|
+
* included in the IGNORED_KEYS array.
|
|
34040
|
+
*/
|
|
34041
|
+
const IGNORED_KEYS = ['Tab', 'Shift', 'Meta', 'Alt', 'Control'];
|
|
34042
|
+
const pressedIgnoredKey = IGNORED_KEYS.includes(ev.key);
|
|
33938
34043
|
/**
|
|
33939
34044
|
* Clear the textarea if the control has not been previously cleared
|
|
33940
34045
|
* during focus.
|
|
33941
34046
|
*/
|
|
33942
|
-
if (!this.didTextareaClearOnEdit && this.hasValue() &&
|
|
34047
|
+
if (!this.didTextareaClearOnEdit && this.hasValue() && !pressedIgnoredKey) {
|
|
33943
34048
|
this.value = '';
|
|
33944
34049
|
this.emitInputChange(ev);
|
|
33945
34050
|
}
|
|
33946
|
-
|
|
34051
|
+
/**
|
|
34052
|
+
* Pressing an IGNORED_KEYS first and
|
|
34053
|
+
* then an allowed key will cause the input to not
|
|
34054
|
+
* be cleared.
|
|
34055
|
+
*/
|
|
34056
|
+
if (!pressedIgnoredKey) {
|
|
34057
|
+
this.didTextareaClearOnEdit = true;
|
|
34058
|
+
}
|
|
33947
34059
|
}
|
|
33948
34060
|
focusChange() {
|
|
33949
34061
|
this.emitStyle();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "voyager-ionic-core",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.1",
|
|
4
4
|
"description": "Base components for Ionic",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"loader/"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@stencil/core": "^4.8.
|
|
34
|
+
"@stencil/core": "^4.8.2",
|
|
35
35
|
"ionicons": "^7.2.1",
|
|
36
36
|
"tslib": "^2.1.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@axe-core/playwright": "^4.8.
|
|
39
|
+
"@axe-core/playwright": "^4.8.2",
|
|
40
40
|
"@capacitor/core": "^5.5.1",
|
|
41
41
|
"@capacitor/haptics": "^5.0.6",
|
|
42
42
|
"@capacitor/keyboard": "^5.0.6",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{p as printIonWarning}from"./index-9b0d46f4.js";var isSameDay=function(e,r){return e.month===r.month&&e.day===r.day&&e.year===r.year};var isBefore=function(e,r){return!!(e.year<r.year||e.year===r.year&&e.month<r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day<r.day)};var isAfter=function(e,r){return!!(e.year>r.year||e.year===r.year&&e.month>r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day>r.day)};var warnIfValueOutOfBounds=function(e,r,n){var a=Array.isArray(e)?e:[e];for(var t=0,i=a;t<i.length;t++){var u=i[t];if(r!==undefined&&isBefore(u,r)||n!==undefined&&isAfter(u,n)){printIonWarning("The value provided to ion-datetime is out of bounds.\n\n"+"Min: ".concat(JSON.stringify(r),"\n")+"Max: ".concat(JSON.stringify(n),"\n")+"Value: ".concat(JSON.stringify(e)));break}}};var isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0};var getHourCycle=function(e,r){if(r!==undefined){return r}var n=new Intl.DateTimeFormat(e,{hour:"numeric"});var a=n.resolvedOptions();if(a.hourCycle!==undefined){return a.hourCycle}var t=new Date("5/18/2021 00:00");var i=n.formatToParts(t);var u=i.find((function(e){return e.type==="hour"}));if(!u){throw new Error("Hour value not found from DateTimeFormat")}switch(u.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}};var is24Hour=function(e){return e==="h23"||e==="h24"};var getNumDaysInMonth=function(e,r){return e===4||e===6||e===9||e===11?30:e===2?isLeapYear(r)?29:28:31};var isMonthFirstLocale=function(e,r){if(r===void 0){r={month:"numeric",year:"numeric"}}var n=new Intl.DateTimeFormat(e,r).formatToParts(new Date);return n[0].type==="month"};var isLocaleDayPeriodRTL=function(e){var r=new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date);return r[0].type==="dayPeriod"};var ISO_8601_REGEXP=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var TIME_REGEXP=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var convertToArrayOfNumbers=function(e){if(e===undefined){return}var r=e;if(typeof e==="string"){r=e.replace(/\[|\]|\s/g,"").split(",")}var n;if(Array.isArray(r)){n=r.map((function(e){return parseInt(e,10)})).filter(isFinite)}else{n=[r]}return n};var getPartsFromCalendarDay=function(e){return{month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)}};function parseDate(e){if(Array.isArray(e)){var r=[];for(var n=0,a=e;n<a.length;n++){var t=a[n];var i=parseDate(t);if(!i){return undefined}r.push(i)}return r}var u=null;if(e!=null&&e!==""){u=TIME_REGEXP.exec(e);if(u){u.unshift(undefined,undefined);u[2]=u[3]=undefined}else{u=ISO_8601_REGEXP.exec(e)}}if(u===null){printIonWarning("Unable to parse date string: ".concat(e,". Please provide a valid ISO 8601 datetime string."));return undefined}for(var o=1;o<8;o++){u[o]=u[o]!==undefined?parseInt(u[o],10):undefined}return{year:u[1],month:u[2],day:u[3],hour:u[4],minute:u[5],ampm:u[4]<12?"am":"pm"}}var clampDate=function(e,r,n){if(r&&isBefore(e,r)){return r}else if(n&&isAfter(e,n)){return n}return e};var parseAmPm=function(e){return e>=12?"pm":"am"};var parseMaxParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;var d=i!==null&&i!==void 0?i:r.year;var f=a!==null&&a!==void 0?a:12;return{month:f,day:t!==null&&t!==void 0?t:getNumDaysInMonth(f,d),year:d,hour:u!==null&&u!==void 0?u:23,minute:o!==null&&o!==void 0?o:59}};var parseMinParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;return{month:a!==null&&a!==void 0?a:1,day:t!==null&&t!==void 0?t:1,year:i!==null&&i!==void 0?i:r.year,hour:u!==null&&u!==void 0?u:0,minute:o!==null&&o!==void 0?o:0}};var twoDigit=function(e){return("0"+(e!==undefined?Math.abs(e):"0")).slice(-2)};var fourDigit=function(e){return("000"+(e!==undefined?Math.abs(e):"0")).slice(-4)};function convertDataToISO(e){if(Array.isArray(e)){return e.map((function(e){return convertDataToISO(e)}))}var r="";if(e.year!==undefined){r=fourDigit(e.year);if(e.month!==undefined){r+="-"+twoDigit(e.month);if(e.day!==undefined){r+="-"+twoDigit(e.day);if(e.hour!==undefined){r+="T".concat(twoDigit(e.hour),":").concat(twoDigit(e.minute),":00")}}}}else if(e.hour!==undefined){r=twoDigit(e.hour)+":"+twoDigit(e.minute)}return r}var convert12HourTo24Hour=function(e,r){if(r===undefined){return e}if(r==="am"){if(e===12){return 0}return e}if(e===12){return 12}return e+12};var getStartOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return subtractDays(e,r)};var getEndOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return addDays(e,6-r)};var getNextDay=function(e){return addDays(e,1)};var getPreviousDay=function(e){return subtractDays(e,1)};var getPreviousWeek=function(e){return subtractDays(e,7)};var getNextWeek=function(e){return addDays(e,7)};var subtractDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};i.day=a-r;if(i.day<1){i.month-=1}if(i.month<1){i.month=12;i.year-=1}if(i.day<1){var u=getNumDaysInMonth(i.month,i.year);i.day=u+i.day}return i};var addDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};var u=getNumDaysInMonth(n,t);i.day=a+r;if(i.day>u){i.day-=u;i.month+=1}if(i.month>12){i.month=1;i.year+=1}return i};var getPreviousMonth=function(e){var r=e.month===1?12:e.month-1;var n=e.month===1?e.year-1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var getNextMonth=function(e){var r=e.month===12?1:e.month+1;var n=e.month===12?e.year+1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var changeYear=function(e,r){var n=e.month;var a=e.year+r;var t=getNumDaysInMonth(n,a);var i=t<e.day?t:e.day;return{month:n,year:a,day:i}};var getPreviousYear=function(e){return changeYear(e,-1)};var getNextYear=function(e){return changeYear(e,1)};var getInternalHourValue=function(e,r,n){if(r){return e}return convert12HourTo24Hour(e,n)};var calculateHourFromAMPM=function(e,r){var n=e.ampm,a=e.hour;var t=a;if(n==="am"&&r==="pm"){t=convert12HourTo24Hour(t,"pm")}else if(n==="pm"&&r==="am"){t=Math.abs(t-12)}return t};var validateParts=function(e,r,n){var a=e.month,t=e.day,i=e.year;var u=clampDate(Object.assign({},e),r,n);var o=getNumDaysInMonth(a,i);if(t!==null&&o<t){u.day=o}if(r!==undefined&&isSameDay(u,r)){if(u.hour!==undefined&&r.hour!==undefined){if(u.hour<r.hour){u.hour=r.hour;u.minute=r.minute}else if(u.hour===r.hour&&u.minute!==undefined&&r.minute!==undefined&&u.minute<r.minute){u.minute=r.minute}}}if(n!==undefined&&isSameDay(e,n)){if(u.hour!==undefined&&n.hour!==undefined){if(u.hour>n.hour){u.hour=n.hour;u.minute=n.minute}else if(u.hour===n.hour&&u.minute!==undefined&&n.minute!==undefined&&u.minute>n.minute){u.minute=n.minute}}}return u};var getClosestValidDate=function(e,r,n,a,t,i){var u=e.hour,o=e.minute,d=e.day,f=e.month,v=e.year;var s=Object.assign(Object.assign({},e),{dayOfWeek:undefined});if(r!==undefined){s.month=findClosestValue(f,r)}if(d!==null&&n!==undefined){s.day=findClosestValue(d,n)}if(a!==undefined){s.year=findClosestValue(v,a)}if(u!==undefined&&t!==undefined){s.hour=findClosestValue(u,t);s.ampm=parseAmPm(s.hour)}if(o!==undefined&&i!==undefined){s.minute=findClosestValue(o,i)}return s};var findClosestValue=function(e,r){var n=r[0];var a=Math.abs(n-e);for(var t=1;t<r.length;t++){var i=r[t];var u=Math.abs(i-e);if(u<a){n=i;a=u}}return n};var getFormattedDayPeriod=function(e){if(e===undefined){return""}return e.toUpperCase()};var getLocalizedTime=function(e,r,n){var a={hour:r.hour,minute:r.minute};if(a.hour===undefined||a.minute===undefined){return"Invalid Time"}return new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric",timeZone:"UTC",hourCycle:n}).format(new Date(convertDataToISO(Object.assign({year:2023,day:1,month:1},a))+"Z"))};var addTimePadding=function(e){var r=e.toString();if(r.length>1){return r}return"0".concat(r)};var getFormattedHour=function(e,r){if(e===0){switch(r){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}}var n=is24Hour(r);if(n){return addTimePadding(e)}return e.toString()};var generateDayAriaLabel=function(e,r,n){if(n.day===null){return null}var a=getNormalizedDate(n);var t=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(a);return r?"Today, ".concat(t):t};var getMonthAndDay=function(e,r){var n=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}).format(n)};var getMonthAndYear=function(e,r){var n=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)};var getMonthDayAndYear=function(e,r){return getLocalizedDateTime(e,r,{month:"short",day:"numeric",year:"numeric"})};var getDay=function(e,r){return getLocalizedDateTimeParts(e,r,{day:"numeric"}).find((function(e){return e.type==="day"})).value};var getYear=function(e,r){return getLocalizedDateTime(e,r,{year:"numeric"})};var getNormalizedDate=function(e){var r,n,a;var t=e.hour!==undefined&&e.minute!==undefined?" ".concat(e.hour,":").concat(e.minute):"";return new Date("".concat((r=e.month)!==null&&r!==void 0?r:1,"/").concat((n=e.day)!==null&&n!==void 0?n:1,"/").concat((a=e.year)!==null&&a!==void 0?a:2023).concat(t," GMT+0000"))};var getLocalizedDateTime=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,n).format(a)};var getLocalizedDateTimeParts=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,n).formatToParts(a)};var getDateTimeFormat=function(e,r){return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"}))};var getTodayLabel=function(e){if("RelativeTimeFormat"in Intl){var r=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return r.charAt(0).toUpperCase()+r.slice(1)}else{return"Today"}};var removeDateTzOffset=function(e){var r=e.getTimezoneOffset();e.setMinutes(e.getMinutes()-r);return e};var DATE_AM=removeDateTzOffset(new Date("2022T01:00"));var DATE_PM=removeDateTzOffset(new Date("2022T13:00"));var getLocalizedDayPeriod=function(e,r){var n=r==="am"?DATE_AM:DATE_PM;var a=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((function(e){return e.type==="dayPeriod"}));if(a){return a.value}return getFormattedDayPeriod(r)};var formatValue=function(e){return Array.isArray(e)?e.join(","):e};var getToday=function(){return removeDateTzOffset(new Date).toISOString()};var minutes=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59];var hour11=[0,1,2,3,4,5,6,7,8,9,10,11];var hour12=[0,1,2,3,4,5,6,7,8,9,10,11];var hour23=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23];var hour24=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0];var getDaysOfWeek=function(e,r,n){if(n===void 0){n=0}var a=r==="ios"?"short":"narrow";var t=new Intl.DateTimeFormat(e,{weekday:a});var i=new Date("11/01/2020");var u=[];for(var o=n;o<n+7;o++){var d=new Date(i);d.setDate(d.getDate()+o);u.push(t.format(d))}return u};var getDaysOfMonth=function(e,r,n){var a=getNumDaysInMonth(e,r);var t=new Date("".concat(e,"/1/").concat(r)).getDay();var i=t>=n?t-(n+1):6-(n-t);var u=[];for(var o=1;o<=a;o++){u.push({day:o,dayOfWeek:(i+o)%7})}for(var o=0;o<=i;o++){u=__spreadArray([{day:null,dayOfWeek:null}],u,true)}return u};var getHourData=function(e){switch(e){case"h11":return hour11;case"h12":return hour12;case"h23":return hour23;case"h24":return hour24;default:throw new Error('Invalid hour cycle "'.concat(e,'"'))}};var generateTime=function(e,r,n,a,t,i,u){if(n===void 0){n="h12"}var o=getHourCycle(e,n);var d=is24Hour(o);var f=getHourData(o);var v=minutes;var s=true;var l=true;if(i){f=f.filter((function(e){return i.includes(e)}))}if(u){v=v.filter((function(e){return u.includes(e)}))}if(a){if(isSameDay(r,a)){if(a.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)>=a.hour}));s=a.hour<13}if(a.minute!==undefined){var c=false;if(a.hour!==undefined&&r.hour!==undefined){if(r.hour>a.hour){c=true}}v=v.filter((function(e){if(c){return true}return e>=a.minute}))}}else if(isBefore(r,a)){f=[];v=[];s=l=false}}if(t){if(isSameDay(r,t)){if(t.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)<=t.hour}));l=t.hour>=12}if(t.minute!==undefined&&r.hour===t.hour){v=v.filter((function(e){return e<=t.minute}))}}else if(isAfter(r,t)){f=[];v=[];s=l=false}}return{hours:f,minutes:v,am:s,pm:l}};var generateMonths=function(e,r){var n={month:e.month,year:e.year,day:e.day};if(r!==undefined&&(e.month!==r.month||e.year!==r.year)){var a={month:r.month,year:r.year,day:r.day};var t=isBefore(a,n);return t?[a,n,getNextMonth(e)]:[getPreviousMonth(e),n,a]}return[getPreviousMonth(e),n,getNextMonth(e)]};var getMonthColumnData=function(e,r,n,a,t,i){if(i===void 0){i={month:"long"}}var u=r.year;var o=[];if(t!==undefined){var d=t;if((a===null||a===void 0?void 0:a.month)!==undefined){d=d.filter((function(e){return e<=a.month}))}if((n===null||n===void 0?void 0:n.month)!==undefined){d=d.filter((function(e){return e>=n.month}))}d.forEach((function(r){var n=new Date("".concat(r,"/1/").concat(u," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);o.push({text:a,value:r})}))}else{var f=a&&a.year===u?a.month:12;var v=n&&n.year===u?n.month:1;for(var s=v;s<=f;s++){var l=new Date("".concat(s,"/1/").concat(u," GMT+0000"));var c=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(l);o.push({text:c,value:s})}}return o};var getDayColumnData=function(e,r,n,a,t,i){if(i===void 0){i={day:"numeric"}}var u=r.month,o=r.year;var d=[];var f=getNumDaysInMonth(u,o);var v=(a===null||a===void 0?void 0:a.day)!==null&&(a===null||a===void 0?void 0:a.day)!==undefined&&a.year===o&&a.month===u?a.day:f;var s=(n===null||n===void 0?void 0:n.day)!==null&&(n===null||n===void 0?void 0:n.day)!==undefined&&n.year===o&&n.month===u?n.day:1;if(t!==undefined){var l=t;l=l.filter((function(e){return e>=s&&e<=v}));l.forEach((function(r){var n=new Date("".concat(u,"/").concat(r,"/").concat(o," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);d.push({text:a,value:r})}))}else{for(var c=s;c<=v;c++){var m=new Date("".concat(u,"/").concat(c,"/").concat(o," GMT+0000"));var y=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(m);d.push({text:y,value:c})}}return d};var getYearColumnData=function(e,r,n,a,t){var i,u;var o=[];if(t!==undefined){o=t;if((a===null||a===void 0?void 0:a.year)!==undefined){o=o.filter((function(e){return e<=a.year}))}if((n===null||n===void 0?void 0:n.year)!==undefined){o=o.filter((function(e){return e>=n.year}))}}else{var d=r.year;var f=(i=a===null||a===void 0?void 0:a.year)!==null&&i!==void 0?i:d;var v=(u=n===null||n===void 0?void 0:n.year)!==null&&u!==void 0?u:d-100;for(var s=v;s<=f;s++){o.push(s)}}return o.map((function(n){return{text:getYear(e,{year:n,month:r.month,day:r.day}),value:n}}))};var getAllMonthsInRange=function(e,r){if(e.month===r.month&&e.year===r.year){return[e]}return __spreadArray([e],getAllMonthsInRange(getNextMonth(e),r),true)};var getCombinedDateColumnData=function(e,r,n,a,t,i){var u=[];var o=[];var d=getAllMonthsInRange(n,a);if(i){d=d.filter((function(e){var r=e.month;return i.includes(r)}))}d.forEach((function(i){var d={month:i.month,day:null,year:i.year};var f=getDayColumnData(e,d,n,a,t,{month:"short",day:"numeric",weekday:"short"});var v=[];var s=[];f.forEach((function(n){var a=isSameDay(Object.assign(Object.assign({},d),{day:n.value}),r);s.push({text:a?getTodayLabel(e):n.text,value:"".concat(d.year,"-").concat(d.month,"-").concat(n.value)});v.push({month:d.month,year:d.year,day:n.value})}));o=__spreadArray(__spreadArray([],o,true),v,true);u=__spreadArray(__spreadArray([],u,true),s,true)}));return{parts:o,items:u}};var getTimeColumnsData=function(e,r,n,a,t,i,u){var o=getHourCycle(e,n);var d=is24Hour(o);var f=generateTime(e,r,o,a,t,i,u),v=f.hours,s=f.minutes,l=f.am,c=f.pm;var m=v.map((function(e){return{text:getFormattedHour(e,o),value:getInternalHourValue(e,d,r.ampm)}}));var y=s.map((function(e){return{text:addTimePadding(e),value:e}}));var g=[];if(l&&!d){g.push({text:getLocalizedDayPeriod(e,"am"),value:"am"})}if(c&&!d){g.push({text:getLocalizedDayPeriod(e,"pm"),value:"pm"})}return{minutesData:y,hoursData:m,dayPeriodData:g}};export{getDayColumnData as A,getYearColumnData as B,isMonthFirstLocale as C,getTimeColumnsData as D,isLocaleDayPeriodRTL as E,getDaysOfWeek as F,getMonthAndYear as G,getDaysOfMonth as H,generateMonths as I,getHourCycle as J,getLocalizedTime as K,getMonthAndDay as L,formatValue as M,getNextYear as N,getPreviousYear as O,clampDate as P,parseAmPm as Q,calculateHourFromAMPM as R,getLocalizedDateTime as S,getMonthDayAndYear as T,getDay as a,isAfter as b,isSameDay as c,getPreviousMonth as d,getNextMonth as e,getPartsFromCalendarDay as f,generateDayAriaLabel as g,getEndOfWeek as h,isBefore as i,getStartOfWeek as j,getPreviousDay as k,getNextDay as l,getPreviousWeek as m,getNextWeek as n,parseMaxParts as o,parseMinParts as p,parseDate as q,convertToArrayOfNumbers as r,convertDataToISO as s,getToday as t,getClosestValidDate as u,validateParts as v,warnIfValueOutOfBounds as w,getNumDaysInMonth as x,getCombinedDateColumnData as y,getMonthColumnData as z};
|