@pod-os/elements 0.7.0 → 0.7.1-2196a40.0
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/dist/cjs/{animation-5840e4df.js → animation-9bea118f.js} +115 -84
- package/dist/cjs/{app-globals-1aedd05c.js → app-globals-6352043e.js} +1 -1
- package/dist/cjs/{cubic-bezier-dcb7bfef.js → cubic-bezier-0b702a31.js} +13 -12
- package/dist/cjs/data-0c9489d7.js +1510 -0
- package/dist/cjs/dir-011f46ea.js +20 -0
- package/dist/cjs/elements.cjs.js +4 -4
- package/dist/cjs/focus-visible-2624ec15.js +76 -0
- package/dist/cjs/framework-delegate-437c0645.js +119 -0
- package/dist/cjs/{gesture-controller-fbbe9a65.js → gesture-controller-00a6b02f.js} +6 -2
- package/dist/cjs/{haptic-09e73337.js → haptic-7358cb0b.js} +37 -8
- package/dist/cjs/{hardware-back-button-01027575.js → hardware-back-button-25372ec7.js} +11 -8
- package/dist/cjs/{helpers-398ced09.js → helpers-cb08f5ae.js} +115 -15
- package/dist/cjs/{index-2067b305.js → index-1b07c737.js} +35 -24
- package/dist/cjs/{index-68ae43d2.js → index-2dc3637c.js} +34 -28
- package/dist/cjs/index-57b9fa9e.js +30 -0
- package/dist/cjs/{index-d01d9183.js → index-643851c6.js} +34 -19
- package/dist/cjs/index-731691ca.js +48 -0
- package/dist/cjs/{index-6bbae9b1.js → index-7d56774d.js} +12 -8
- package/dist/cjs/index-9fca5d6f.js +140 -0
- package/dist/cjs/index-b2a479e4.js +38 -0
- package/dist/cjs/{index-b4a9ece2.js → index-eaa0d16e.js} +7 -0
- package/dist/cjs/{tap-click-f24cb477.js → index-ed2ce04f.js} +37 -19
- package/dist/cjs/{input-shims-e959d9e2.js → input-shims-427999f7.js} +89 -38
- package/dist/cjs/ion-accordion-group.cjs.entry.js +205 -0
- package/dist/cjs/ion-accordion.cjs.entry.js +336 -0
- package/dist/cjs/ion-action-sheet_3.cjs.entry.js +865 -0
- package/dist/cjs/{ion-app_45.cjs.entry.js → ion-app_46.cjs.entry.js} +1694 -1406
- package/dist/cjs/ion-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +12 -11
- package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +101 -0
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +133 -0
- package/dist/cjs/ion-buttons_3.cjs.entry.js +793 -0
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
- package/dist/cjs/{ion-list-header_3.cjs.entry.js → ion-checkbox_4.cjs.entry.js} +124 -23
- package/dist/cjs/ion-chip.cjs.entry.js +5 -10
- package/dist/cjs/ion-datetime-button.cjs.entry.js +346 -0
- package/dist/cjs/ion-datetime.cjs.entry.js +1548 -856
- package/dist/cjs/ion-fab-button.cjs.entry.js +26 -9
- package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab.cjs.entry.js +15 -13
- package/dist/cjs/ion-img.cjs.entry.js +28 -4
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -13
- package/dist/cjs/ion-input.cjs.entry.js +57 -23
- package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
- package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-sliding.cjs.entry.js +59 -63
- package/dist/cjs/ion-loading.cjs.entry.js +37 -36
- package/dist/cjs/ion-menu-button.cjs.entry.js +14 -12
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +8 -7
- package/dist/cjs/ion-menu.cjs.entry.js +71 -57
- package/dist/cjs/ion-modal.cjs.entry.js +1384 -154
- package/dist/cjs/ion-nav-link.cjs.entry.js +5 -2
- package/dist/cjs/ion-nav.cjs.entry.js +177 -171
- package/dist/cjs/ion-picker-column.cjs.entry.js +25 -27
- package/dist/cjs/ion-picker.cjs.entry.js +22 -17
- package/dist/cjs/ion-popover.cjs.entry.js +1208 -182
- package/dist/cjs/ion-range.cjs.entry.js +137 -57
- package/dist/cjs/ion-refresher-content.cjs.entry.js +7 -12
- package/dist/cjs/ion-refresher.cjs.entry.js +150 -148
- package/dist/cjs/ion-reorder-group.cjs.entry.js +42 -35
- package/dist/cjs/ion-reorder.cjs.entry.js +5 -4
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
- package/dist/cjs/ion-router-outlet.cjs.entry.js +24 -20
- package/dist/cjs/ion-router.cjs.entry.js +291 -194
- package/dist/cjs/ion-segment-button.cjs.entry.js +10 -17
- package/dist/cjs/ion-segment.cjs.entry.js +119 -26
- package/dist/cjs/ion-select-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-select.cjs.entry.js +113 -78
- package/dist/cjs/ion-slide.cjs.entry.js +3 -3
- package/dist/cjs/ion-slides.cjs.entry.js +26 -27
- package/dist/cjs/ion-spinner.cjs.entry.js +10 -9
- package/dist/cjs/ion-split-pane.cjs.entry.js +16 -12
- package/dist/cjs/ion-tab-bar.cjs.entry.js +16 -23
- package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab.cjs.entry.js +4 -4
- package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
- package/dist/cjs/ion-text.cjs.entry.js +3 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +31 -29
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +49 -59
- package/dist/cjs/ion-toggle.cjs.entry.js +41 -22
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +39 -31
- package/dist/cjs/{ionic-global-56e10eb5.js → ionic-global-f2d95fd3.js} +112 -93
- package/dist/cjs/{ios.transition-32e4623d.js → ios.transition-0f31ec9a.js} +78 -53
- package/dist/cjs/{keyboard-9e8103e4.js → keyboard-79afcba2.js} +6 -3
- package/dist/cjs/keyboard-controller-a934d106.js +42 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-169c54f0.js → md.transition-d2a33a23.js} +15 -17
- package/dist/cjs/{menu-toggle-util-087678e0.js → menu-toggle-util-0a43ff7c.js} +5 -2
- package/dist/cjs/{overlays-49fe9ba7.js → overlays-65c716aa.js} +187 -71
- package/dist/cjs/spinner-configs-cd0abbeb.js +147 -0
- package/dist/cjs/{status-tap-ada894ff.js → status-tap-beaa3a71.js} +10 -5
- package/dist/cjs/{swipe-back-c4a778df.js → swipe-back-666ea8e6.js} +34 -15
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{theme-2259d0f5.js → theme-fc63803b.js} +9 -5
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/custom-elements/index.js +12689 -4785
- package/dist/custom-elements/{tap-click.js → index2.js} +36 -18
- package/dist/custom-elements/input-shims.js +87 -38
- package/dist/custom-elements/ios.transition.js +74 -50
- package/dist/custom-elements/md.transition.js +11 -14
- package/dist/custom-elements/status-tap.js +7 -4
- package/dist/custom-elements/swipe-back.js +31 -13
- package/dist/elements/elements.css +1 -1
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/p-0268cbd3.entry.js +7 -0
- package/dist/elements/p-0587332d.entry.js +1 -0
- package/dist/elements/{p-cfc0e54d.js → p-0991c811.js} +3 -0
- package/dist/elements/p-0a69a563.entry.js +1 -0
- package/dist/elements/p-0b95be17.entry.js +1 -0
- package/dist/elements/p-0d284fe0.entry.js +1 -0
- package/dist/elements/p-0fd77b33.entry.js +1 -0
- package/dist/elements/p-120dec2b.entry.js +1 -0
- package/dist/elements/p-12880671.entry.js +1 -0
- package/dist/elements/p-14ccd586.entry.js +1 -0
- package/dist/elements/{p-83d45051.entry.js → p-14df6ac0.entry.js} +1 -1
- package/dist/elements/{p-e860be6a.entry.js → p-17079f06.entry.js} +1 -1
- package/dist/elements/p-19e4a688.js +4 -0
- package/dist/elements/p-1afc4eb4.js +4 -0
- package/dist/elements/p-1beaf6bf.js +4 -0
- package/dist/elements/p-1d1c6a6f.entry.js +1 -0
- package/dist/elements/{p-31d30e42.entry.js → p-1d98f84b.entry.js} +1 -1
- package/dist/elements/p-278ca4c9.js +4 -0
- package/dist/elements/p-27f5629c.entry.js +1 -0
- package/dist/elements/p-29c0f03f.js +4 -0
- package/dist/elements/p-2da59aca.js +4 -0
- package/dist/elements/p-3152143f.js +4 -0
- package/dist/elements/p-343ff720.entry.js +7 -0
- package/dist/elements/p-36d4c9a8.js +4 -0
- package/dist/elements/p-3a30dfb2.entry.js +1 -0
- package/dist/elements/p-3c013bf1.entry.js +1 -0
- package/dist/elements/{p-74ba1e42.entry.js → p-3c318da5.entry.js} +1 -1
- package/dist/elements/p-3cee3222.entry.js +1 -0
- package/dist/elements/p-480b3c4f.entry.js +1 -0
- package/dist/elements/p-4e9d8f18.entry.js +1 -0
- package/dist/elements/p-53e23176.js +2 -0
- package/dist/elements/p-548524f3.js +4 -0
- package/dist/elements/p-5739fa41.entry.js +1 -0
- package/dist/elements/p-5808c505.js +1 -0
- package/dist/elements/p-58a8cc2a.js +4 -0
- package/dist/elements/p-6035415e.entry.js +1 -0
- package/dist/elements/p-60eeae90.js +4 -0
- package/dist/elements/p-610b03ff.entry.js +4 -0
- package/dist/elements/p-67777478.entry.js +1 -0
- package/dist/elements/p-6ab826e1.entry.js +1 -0
- package/dist/elements/p-6f5a2827.entry.js +1 -0
- package/dist/elements/p-779676c5.entry.js +1 -0
- package/dist/elements/p-7916ecc5.entry.js +1 -0
- package/dist/elements/p-79f06b80.entry.js +1 -0
- package/dist/elements/p-7b5991c1.entry.js +1 -0
- package/dist/elements/p-7d0def79.js +5 -0
- package/dist/elements/p-8112afea.js +4 -0
- package/dist/elements/p-83678d7d.entry.js +4 -0
- package/dist/elements/p-87e45c94.entry.js +1 -0
- package/dist/elements/p-8da6a31e.entry.js +1 -0
- package/dist/elements/p-8f80768f.entry.js +4 -0
- package/dist/elements/p-8fe0433b.js +4 -0
- package/dist/elements/{p-4cb27b48.entry.js → p-9147d82b.entry.js} +1 -1
- package/dist/elements/p-97abb434.entry.js +1 -0
- package/dist/elements/p-98497a4b.entry.js +1 -0
- package/dist/elements/p-9c719139.js +4 -0
- package/dist/elements/p-9ca37332.js +4 -0
- package/dist/elements/{p-37de7110.js → p-9d48def2.js} +3 -0
- package/dist/elements/p-a79a6ad9.entry.js +79 -0
- package/dist/elements/p-a805f2f9.entry.js +1 -0
- package/dist/elements/p-a86a5bfa.entry.js +1 -0
- package/dist/elements/{p-9c1dbe52.entry.js → p-ac34eab7.entry.js} +1 -1
- package/dist/elements/p-ad366eab.entry.js +4 -0
- package/dist/elements/p-aef3a931.js +7 -0
- package/dist/elements/p-b0537eb3.entry.js +1 -0
- package/dist/elements/p-b337f3b8.js +4 -0
- package/dist/elements/p-b34bf73f.entry.js +7 -0
- package/dist/elements/p-b41e66f0.entry.js +1 -0
- package/dist/elements/p-b47e7091.entry.js +1 -0
- package/dist/elements/p-b840320e.js +4 -0
- package/dist/elements/p-b934ac5d.entry.js +1 -0
- package/dist/elements/p-b98314e0.entry.js +4 -0
- package/dist/elements/p-bd12806f.entry.js +1 -0
- package/dist/elements/p-c16d38d5.js +4 -0
- package/dist/elements/p-c84205a3.js +4 -0
- package/dist/elements/{p-06675ac7.entry.js → p-cbe318f8.entry.js} +1 -1
- package/dist/elements/p-cfed7395.js +4 -0
- package/dist/elements/p-d22a1dc7.entry.js +7 -0
- package/dist/elements/p-d3e75c94.entry.js +1 -0
- package/dist/elements/p-d8f6d3ce.entry.js +14 -0
- package/dist/elements/p-d9880221.entry.js +4 -0
- package/dist/elements/p-da5db8fb.entry.js +1 -0
- package/dist/elements/{p-91fe653f.js → p-dcc6b03c.js} +3 -0
- package/dist/elements/{p-305e246c.entry.js → p-dd846020.entry.js} +1 -1
- package/dist/elements/p-df240b2a.entry.js +4 -0
- package/dist/elements/p-dffd8689.js +4 -0
- package/dist/elements/p-e495a095.js +4 -0
- package/dist/elements/p-e5fc7d42.entry.js +1 -0
- package/dist/elements/{p-aaa8393e.entry.js → p-eb137e9d.entry.js} +1 -1
- package/dist/elements/p-f4e54a17.js +7 -0
- package/dist/elements/p-f67d0717.entry.js +1 -0
- package/dist/elements/p-f7f4c640.js +1 -0
- package/dist/elements/p-f851b91a.js +4 -0
- package/dist/elements/p-fb27ee76.entry.js +1 -0
- package/dist/elements/p-fbddca35.entry.js +1 -0
- package/dist/elements/p-fc1df8e0.entry.js +7 -0
- package/dist/elements/p-fdac5f3a.js +4 -0
- package/dist/esm/{animation-fe6ed422.js → animation-801a007a.js} +115 -84
- package/dist/esm/{app-globals-27d92837.js → app-globals-05a3abfb.js} +1 -1
- package/dist/esm/{cubic-bezier-108b8579.js → cubic-bezier-538b6253.js} +13 -12
- package/dist/esm/data-62c81c24.js +1463 -0
- package/dist/esm/dir-defb16c6.js +18 -0
- package/dist/esm/elements.js +4 -4
- package/dist/esm/focus-visible-78d55799.js +74 -0
- package/dist/esm/framework-delegate-7e2b767b.js +115 -0
- package/dist/esm/{gesture-controller-8f35af24.js → gesture-controller-c466ff14.js} +6 -2
- package/dist/esm/{haptic-c424e670.js → haptic-e7d5ef4d.js} +38 -9
- package/dist/esm/{hardware-back-button-bb4c578a.js → hardware-back-button-242191a7.js} +11 -8
- package/dist/esm/{helpers-44e3bd9f.js → helpers-aeff219b.js} +113 -16
- package/dist/esm/index-0dbaca1a.js +28 -0
- package/dist/esm/index-1f3d8582.js +34 -0
- package/dist/esm/{index-97199683.js → index-2be9a18b.js} +34 -28
- package/dist/esm/{index-8d682224.js → index-51e4a829.js} +12 -8
- package/dist/esm/{index-8a463a85.js → index-6048aed6.js} +35 -24
- package/dist/esm/index-65ecd543.js +25 -0
- package/dist/esm/{tap-click-a7e55ef5.js → index-b212db1c.js} +37 -19
- package/dist/esm/{index-e4deec27.js → index-cb938ffb.js} +7 -1
- package/dist/esm/{index-3a1bd803.js → index-d39eb62b.js} +35 -20
- package/dist/esm/index-ebf7f059.js +128 -0
- package/dist/esm/{input-shims-3b48722f.js → input-shims-8a389148.js} +89 -38
- package/dist/esm/ion-accordion-group.entry.js +201 -0
- package/dist/esm/ion-accordion.entry.js +332 -0
- package/dist/esm/ion-action-sheet_3.entry.js +859 -0
- package/dist/esm/{ion-app_45.entry.js → ion-app_46.entry.js} +1694 -1407
- package/dist/esm/ion-avatar.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +12 -11
- package/dist/esm/ion-backdrop.entry.js +4 -4
- package/dist/esm/ion-breadcrumb.entry.js +97 -0
- package/dist/esm/ion-breadcrumbs.entry.js +129 -0
- package/dist/esm/ion-buttons_3.entry.js +787 -0
- package/dist/esm/ion-card-subtitle.entry.js +4 -4
- package/dist/esm/{ion-list-header_3.entry.js → ion-checkbox_4.entry.js} +124 -24
- package/dist/esm/ion-chip.entry.js +5 -10
- package/dist/esm/ion-datetime-button.entry.js +342 -0
- package/dist/esm/ion-datetime.entry.js +1548 -856
- package/dist/esm/ion-fab-button.entry.js +26 -9
- package/dist/esm/ion-fab-list.entry.js +4 -4
- package/dist/esm/ion-fab.entry.js +15 -13
- package/dist/esm/ion-img.entry.js +28 -4
- package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
- package/dist/esm/ion-infinite-scroll.entry.js +13 -13
- package/dist/esm/ion-input.entry.js +57 -23
- package/dist/esm/ion-item-option.entry.js +8 -8
- package/dist/esm/ion-item-options.entry.js +5 -5
- package/dist/esm/ion-item-sliding.entry.js +59 -63
- package/dist/esm/ion-loading.entry.js +37 -36
- package/dist/esm/ion-menu-button.entry.js +14 -12
- package/dist/esm/ion-menu-toggle.entry.js +8 -7
- package/dist/esm/ion-menu.entry.js +71 -57
- package/dist/esm/ion-modal.entry.js +1375 -145
- package/dist/esm/ion-nav-link.entry.js +5 -2
- package/dist/esm/ion-nav.entry.js +177 -171
- package/dist/esm/ion-picker-column.entry.js +25 -27
- package/dist/esm/ion-picker.entry.js +22 -17
- package/dist/esm/ion-popover.entry.js +1208 -182
- package/dist/esm/ion-range.entry.js +137 -57
- package/dist/esm/ion-refresher-content.entry.js +7 -12
- package/dist/esm/ion-refresher.entry.js +149 -147
- package/dist/esm/ion-reorder-group.entry.js +42 -35
- package/dist/esm/ion-reorder.entry.js +5 -4
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +5 -5
- package/dist/esm/ion-router-outlet.entry.js +24 -20
- package/dist/esm/ion-router.entry.js +291 -194
- package/dist/esm/ion-segment-button.entry.js +10 -17
- package/dist/esm/ion-segment.entry.js +119 -26
- package/dist/esm/ion-select-option.entry.js +3 -3
- package/dist/esm/ion-select.entry.js +113 -78
- package/dist/esm/ion-slide.entry.js +3 -3
- package/dist/esm/ion-slides.entry.js +26 -27
- package/dist/esm/ion-spinner.entry.js +10 -9
- package/dist/esm/ion-split-pane.entry.js +16 -12
- package/dist/esm/ion-tab-bar.entry.js +16 -23
- package/dist/esm/ion-tab-button.entry.js +6 -6
- package/dist/esm/ion-tab.entry.js +4 -4
- package/dist/esm/ion-tabs.entry.js +4 -5
- package/dist/esm/ion-text.entry.js +3 -3
- package/dist/esm/ion-textarea.entry.js +31 -29
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +49 -59
- package/dist/esm/ion-toggle.entry.js +41 -22
- package/dist/esm/ion-virtual-scroll.entry.js +39 -31
- package/dist/esm/{ionic-global-2e28f7c7.js → ionic-global-6cd57191.js} +112 -93
- package/dist/esm/{ios.transition-a783e3cd.js → ios.transition-bbd952f2.js} +78 -53
- package/dist/{custom-elements/keyboard.js → esm/keyboard-413afe04.js} +6 -3
- package/dist/esm/keyboard-controller-33693bc2.js +40 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-5a4a8c82.js → md.transition-5170a6d3.js} +15 -17
- package/dist/esm/{menu-toggle-util-562dfc9c.js → menu-toggle-util-82bf888a.js} +5 -2
- package/dist/esm/{overlays-fc9a0625.js → overlays-0c7f05e1.js} +186 -71
- package/dist/esm/spinner-configs-cbcd1f62.js +145 -0
- package/dist/esm/{status-tap-69e62ad6.js → status-tap-ad757b8a.js} +10 -5
- package/dist/esm/swipe-back-7ef22876.js +69 -0
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{theme-d21826a7.js → theme-7cf2cab0.js} +9 -5
- package/package.json +4 -5
- package/LICENSE +0 -21
- package/dist/cjs/button-active-c14dab31.js +0 -66
- package/dist/cjs/focus-visible-16c98640.js +0 -45
- package/dist/cjs/framework-delegate-c45292a3.js +0 -37
- package/dist/cjs/ion-action-sheet.cjs.entry.js +0 -265
- package/dist/cjs/ion-alert.cjs.entry.js +0 -456
- package/dist/cjs/ion-buttons.cjs.entry.js +0 -42
- package/dist/cjs/ion-checkbox.cjs.entry.js +0 -117
- package/dist/cjs/ion-note.cjs.entry.js +0 -29
- package/dist/cjs/ion-select-popover.cjs.entry.js +0 -35
- package/dist/cjs/spinner-configs-fb16b986.js +0 -112
- package/dist/custom-elements/focus-visible.js +0 -43
- package/dist/elements/p-03bda390.js +0 -1
- package/dist/elements/p-0be044f1.entry.js +0 -1
- package/dist/elements/p-119c7c6c.entry.js +0 -1
- package/dist/elements/p-14c7c3ea.entry.js +0 -1
- package/dist/elements/p-1d4a2c61.js +0 -1
- package/dist/elements/p-1d894ac4.entry.js +0 -1
- package/dist/elements/p-1dafa1ce.entry.js +0 -1
- package/dist/elements/p-23b89ccb.entry.js +0 -1
- package/dist/elements/p-2c03b9ab.entry.js +0 -1
- package/dist/elements/p-346985f2.js +0 -1
- package/dist/elements/p-360f1c62.entry.js +0 -1
- package/dist/elements/p-373e1f25.entry.js +0 -1
- package/dist/elements/p-40547acb.entry.js +0 -1
- package/dist/elements/p-40b68014.entry.js +0 -1
- package/dist/elements/p-42e4f702.entry.js +0 -1
- package/dist/elements/p-489807e5.js +0 -1
- package/dist/elements/p-4ad72d54.entry.js +0 -1
- package/dist/elements/p-4cca7b5e.entry.js +0 -1
- package/dist/elements/p-4f24d306.js +0 -1
- package/dist/elements/p-519d6a53.entry.js +0 -1
- package/dist/elements/p-536e8e52.entry.js +0 -1
- package/dist/elements/p-599bb53f.entry.js +0 -1
- package/dist/elements/p-5eb7a546.js +0 -1
- package/dist/elements/p-60df2bed.entry.js +0 -1
- package/dist/elements/p-65133e33.js +0 -1
- package/dist/elements/p-6693fce8.js +0 -1
- package/dist/elements/p-689bdcc1.entry.js +0 -1
- package/dist/elements/p-70713b3d.entry.js +0 -1
- package/dist/elements/p-707d5d76.js +0 -1
- package/dist/elements/p-7212b7f2.js +0 -1
- package/dist/elements/p-73992898.entry.js +0 -1
- package/dist/elements/p-792c1e0f.entry.js +0 -1
- package/dist/elements/p-7e5300af.js +0 -2
- package/dist/elements/p-8068987c.entry.js +0 -1
- package/dist/elements/p-83accf46.entry.js +0 -1
- package/dist/elements/p-86635d06.entry.js +0 -1
- package/dist/elements/p-874c2b44.js +0 -1
- package/dist/elements/p-89c12ce8.entry.js +0 -1
- package/dist/elements/p-8bcba3f7.entry.js +0 -1
- package/dist/elements/p-8c759f51.entry.js +0 -1
- package/dist/elements/p-8f945e6b.entry.js +0 -1
- package/dist/elements/p-9300ab6a.js +0 -1
- package/dist/elements/p-93cacd51.entry.js +0 -1
- package/dist/elements/p-9408d0b4.entry.js +0 -1
- package/dist/elements/p-98c79eda.js +0 -1
- package/dist/elements/p-99f8abed.js +0 -1
- package/dist/elements/p-9ca7e079.js +0 -1
- package/dist/elements/p-a4648b74.entry.js +0 -1
- package/dist/elements/p-aab0f63c.js +0 -1
- package/dist/elements/p-ad4e2295.entry.js +0 -1
- package/dist/elements/p-afb8f7d5.entry.js +0 -1
- package/dist/elements/p-b055ec44.js +0 -1
- package/dist/elements/p-b078d63b.entry.js +0 -1
- package/dist/elements/p-b3460325.entry.js +0 -1
- package/dist/elements/p-b5406b58.entry.js +0 -1
- package/dist/elements/p-b5ef0c91.entry.js +0 -1
- package/dist/elements/p-b6ba623e.entry.js +0 -1
- package/dist/elements/p-b9926d8b.entry.js +0 -1
- package/dist/elements/p-bfd4cfcd.entry.js +0 -1
- package/dist/elements/p-c08dd7d0.entry.js +0 -1
- package/dist/elements/p-c0db9c51.entry.js +0 -1
- package/dist/elements/p-c1e7fbfb.js +0 -1
- package/dist/elements/p-ca69d6c9.js +0 -1
- package/dist/elements/p-cc4cb1ac.entry.js +0 -1
- package/dist/elements/p-cf8a7031.entry.js +0 -1
- package/dist/elements/p-cff82b6f.js +0 -1
- package/dist/elements/p-d01009b8.entry.js +0 -67
- package/dist/elements/p-d6d1e65f.entry.js +0 -1
- package/dist/elements/p-d9462b66.entry.js +0 -1
- package/dist/elements/p-e2e0fee9.entry.js +0 -1
- package/dist/elements/p-e642b266.entry.js +0 -1
- package/dist/elements/p-e953934f.entry.js +0 -1
- package/dist/elements/p-f0474f46.js +0 -1
- package/dist/elements/p-f10a94f6.entry.js +0 -1
- package/dist/elements/p-f2426182.entry.js +0 -1
- package/dist/elements/p-f327fd21.js +0 -1
- package/dist/elements/p-f84987ee.js +0 -1
- package/dist/elements/p-f8a3367d.entry.js +0 -1
- package/dist/esm/button-active-fd9d6d91.js +0 -64
- package/dist/esm/focus-visible-edb28f19.js +0 -43
- package/dist/esm/framework-delegate-9cd8048f.js +0 -34
- package/dist/esm/ion-action-sheet.entry.js +0 -261
- package/dist/esm/ion-alert.entry.js +0 -452
- package/dist/esm/ion-buttons.entry.js +0 -38
- package/dist/esm/ion-checkbox.entry.js +0 -113
- package/dist/esm/ion-note.entry.js +0 -25
- package/dist/esm/ion-select-popover.entry.js +0 -31
- package/dist/esm/keyboard-e6abcb80.js +0 -125
- package/dist/esm/spinner-configs-aaf2a1a9.js +0 -110
- package/dist/esm/swipe-back-d84cfc8a.js +0 -50
- package/readme.md +0 -55
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const gestureController = require('./gesture-controller-
|
|
3
|
+
const gestureController = require('./gesture-controller-00a6b02f.js');
|
|
4
4
|
|
|
5
|
+
/*!
|
|
6
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
7
|
+
*/
|
|
5
8
|
const addEventListener = (el, eventName, callback, opts) => {
|
|
6
9
|
// use event listener options when supported
|
|
7
10
|
// otherwise it's just a boolean for the "capture" arg
|
|
8
|
-
const listenerOpts = supportsPassive(el)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
const listenerOpts = supportsPassive(el)
|
|
12
|
+
? {
|
|
13
|
+
capture: !!opts.capture,
|
|
14
|
+
passive: !!opts.passive,
|
|
15
|
+
}
|
|
16
|
+
: !!opts.capture;
|
|
12
17
|
let add;
|
|
13
18
|
let remove;
|
|
14
19
|
if (el['__zone_symbol__addEventListener']) {
|
|
@@ -30,9 +35,11 @@ const supportsPassive = (node) => {
|
|
|
30
35
|
const opts = Object.defineProperty({}, 'passive', {
|
|
31
36
|
get: () => {
|
|
32
37
|
_sPassive = true;
|
|
33
|
-
}
|
|
38
|
+
},
|
|
34
39
|
});
|
|
35
|
-
node.addEventListener('optsTest', () => {
|
|
40
|
+
node.addEventListener('optsTest', () => {
|
|
41
|
+
return;
|
|
42
|
+
}, opts);
|
|
36
43
|
}
|
|
37
44
|
catch (e) {
|
|
38
45
|
_sPassive = false;
|
|
@@ -42,6 +49,9 @@ const supportsPassive = (node) => {
|
|
|
42
49
|
};
|
|
43
50
|
let _sPassive;
|
|
44
51
|
|
|
52
|
+
/*!
|
|
53
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
54
|
+
*/
|
|
45
55
|
const MOUSE_WAIT = 2000;
|
|
46
56
|
const createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) => {
|
|
47
57
|
let rmTouchStart;
|
|
@@ -154,13 +164,16 @@ const createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) =
|
|
|
154
164
|
return {
|
|
155
165
|
enable,
|
|
156
166
|
stop,
|
|
157
|
-
destroy
|
|
167
|
+
destroy,
|
|
158
168
|
};
|
|
159
169
|
};
|
|
160
170
|
const getDocument = (node) => {
|
|
161
171
|
return node instanceof Document ? node : node.ownerDocument;
|
|
162
172
|
};
|
|
163
173
|
|
|
174
|
+
/*!
|
|
175
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
176
|
+
*/
|
|
164
177
|
const createPanRecognizer = (direction, thresh, maxAngle) => {
|
|
165
178
|
const radians = maxAngle * (Math.PI / 180);
|
|
166
179
|
const isDirX = direction === 'x';
|
|
@@ -181,8 +194,8 @@ const createPanRecognizer = (direction, thresh, maxAngle) => {
|
|
|
181
194
|
if (!dirty) {
|
|
182
195
|
return false;
|
|
183
196
|
}
|
|
184
|
-
const deltaX =
|
|
185
|
-
const deltaY =
|
|
197
|
+
const deltaX = x - startX;
|
|
198
|
+
const deltaY = y - startY;
|
|
186
199
|
const distance = deltaX * deltaX + deltaY * deltaY;
|
|
187
200
|
if (distance < threshold) {
|
|
188
201
|
return false;
|
|
@@ -206,10 +219,13 @@ const createPanRecognizer = (direction, thresh, maxAngle) => {
|
|
|
206
219
|
},
|
|
207
220
|
getDirection() {
|
|
208
221
|
return isPan;
|
|
209
|
-
}
|
|
222
|
+
},
|
|
210
223
|
};
|
|
211
224
|
};
|
|
212
225
|
|
|
226
|
+
/*!
|
|
227
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
228
|
+
*/
|
|
213
229
|
const createGesture = (config) => {
|
|
214
230
|
let hasCapturedPan = false;
|
|
215
231
|
let hasStartedPan = false;
|
|
@@ -238,13 +254,13 @@ const createGesture = (config) => {
|
|
|
238
254
|
deltaY: 0,
|
|
239
255
|
currentTime: 0,
|
|
240
256
|
event: undefined,
|
|
241
|
-
data: undefined
|
|
257
|
+
data: undefined,
|
|
242
258
|
};
|
|
243
259
|
const pan = createPanRecognizer(finalConfig.direction, finalConfig.threshold, finalConfig.maxAngle);
|
|
244
260
|
const gesture = gestureController.GESTURE_CONTROLLER.createGesture({
|
|
245
261
|
name: config.gestureName,
|
|
246
262
|
priority: config.gesturePriority,
|
|
247
|
-
disableScroll: config.disableScroll
|
|
263
|
+
disableScroll: config.disableScroll,
|
|
248
264
|
});
|
|
249
265
|
const pointerDown = (ev) => {
|
|
250
266
|
const timeStamp = now(ev);
|
|
@@ -305,7 +321,7 @@ const createGesture = (config) => {
|
|
|
305
321
|
}
|
|
306
322
|
};
|
|
307
323
|
const tryToCapturePan = () => {
|
|
308
|
-
if (
|
|
324
|
+
if (!gesture.capture()) {
|
|
309
325
|
return false;
|
|
310
326
|
}
|
|
311
327
|
hasCapturedPan = true;
|
|
@@ -328,10 +344,9 @@ const createGesture = (config) => {
|
|
|
328
344
|
return true;
|
|
329
345
|
};
|
|
330
346
|
const blurActiveElement = () => {
|
|
331
|
-
/* tslint:disable-next-line */
|
|
332
347
|
if (typeof document !== 'undefined') {
|
|
333
348
|
const activeElement = document.activeElement;
|
|
334
|
-
if (activeElement
|
|
349
|
+
if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) {
|
|
335
350
|
activeElement.blur();
|
|
336
351
|
}
|
|
337
352
|
}
|
|
@@ -375,7 +390,7 @@ const createGesture = (config) => {
|
|
|
375
390
|
};
|
|
376
391
|
const pointerEvents = createPointerEvents(finalConfig.el, pointerDown, pointerMove, pointerUp, {
|
|
377
392
|
capture: false,
|
|
378
|
-
passive
|
|
393
|
+
passive,
|
|
379
394
|
});
|
|
380
395
|
const abortGesture = () => {
|
|
381
396
|
reset();
|
|
@@ -397,7 +412,7 @@ const createGesture = (config) => {
|
|
|
397
412
|
destroy() {
|
|
398
413
|
gesture.destroy();
|
|
399
414
|
pointerEvents.destroy();
|
|
400
|
-
}
|
|
415
|
+
},
|
|
401
416
|
};
|
|
402
417
|
};
|
|
403
418
|
const calcGestureData = (detail, ev) => {
|
|
@@ -410,7 +425,7 @@ const calcGestureData = (detail, ev) => {
|
|
|
410
425
|
updateDetail(ev, detail);
|
|
411
426
|
const currentX = detail.currentX;
|
|
412
427
|
const currentY = detail.currentY;
|
|
413
|
-
const timestamp = detail.currentTime = now(ev);
|
|
428
|
+
const timestamp = (detail.currentTime = now(ev));
|
|
414
429
|
const timeDelta = timestamp - prevT;
|
|
415
430
|
if (timeDelta > 0 && timeDelta < 100) {
|
|
416
431
|
const velocityX = (currentX - prevX) / timeDelta;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/* Ionicons v6.0.4, ES Modules */
|
|
4
|
+
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Arrow Back</title><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
|
5
|
+
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Arrow Down</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
6
|
+
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Back</title><path d='M368 64L144 256l224 192V64z'/></svg>";
|
|
7
|
+
const caretDownSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Down</title><path d='M64 144l192 224 192-224H64z'/></svg>";
|
|
8
|
+
const caretUpSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Up</title><path d='M448 368L256 144 64 368h384z'/></svg>";
|
|
9
|
+
const checkmarkOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Checkmark</title><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
10
|
+
const chevronBack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Back</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>";
|
|
11
|
+
const chevronDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Down</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>";
|
|
12
|
+
const chevronForward = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Forward</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
|
13
|
+
const chevronForwardOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Forward</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
|
14
|
+
const close = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close</title><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>";
|
|
15
|
+
const closeCircle = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close Circle</title><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>";
|
|
16
|
+
const closeSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close</title><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>";
|
|
17
|
+
const ellipseOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Ellipse</title><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
18
|
+
const ellipsisHorizontal = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Ellipsis Horizontal</title><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>";
|
|
19
|
+
const menuOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Menu</title><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
20
|
+
const menuSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Menu</title><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>";
|
|
21
|
+
const removeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Remove</title><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
22
|
+
const reorderThreeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Reorder Three</title><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
23
|
+
const reorderTwoSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Reorder Two</title><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>";
|
|
24
|
+
const searchOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Search</title><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
25
|
+
const searchSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Search</title><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>";
|
|
26
|
+
|
|
27
|
+
exports.arrowBackSharp = arrowBackSharp;
|
|
28
|
+
exports.arrowDown = arrowDown;
|
|
29
|
+
exports.caretBackSharp = caretBackSharp;
|
|
30
|
+
exports.caretDownSharp = caretDownSharp;
|
|
31
|
+
exports.caretUpSharp = caretUpSharp;
|
|
32
|
+
exports.checkmarkOutline = checkmarkOutline;
|
|
33
|
+
exports.chevronBack = chevronBack;
|
|
34
|
+
exports.chevronDown = chevronDown;
|
|
35
|
+
exports.chevronForward = chevronForward;
|
|
36
|
+
exports.chevronForwardOutline = chevronForwardOutline;
|
|
37
|
+
exports.close = close;
|
|
38
|
+
exports.closeCircle = closeCircle;
|
|
39
|
+
exports.closeSharp = closeSharp;
|
|
40
|
+
exports.ellipseOutline = ellipseOutline;
|
|
41
|
+
exports.ellipsisHorizontal = ellipsisHorizontal;
|
|
42
|
+
exports.menuOutline = menuOutline;
|
|
43
|
+
exports.menuSharp = menuSharp;
|
|
44
|
+
exports.removeOutline = removeOutline;
|
|
45
|
+
exports.reorderThreeOutline = reorderThreeOutline;
|
|
46
|
+
exports.reorderTwoSharp = reorderTwoSharp;
|
|
47
|
+
exports.searchOutline = searchOutline;
|
|
48
|
+
exports.searchSharp = searchSharp;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
/*!
|
|
4
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
5
|
+
*/
|
|
3
6
|
/**
|
|
4
7
|
* Does a simple sanitization of all elements
|
|
5
8
|
* in an untrusted string
|
|
@@ -25,7 +28,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
|
25
28
|
* Remove any elements
|
|
26
29
|
* that are blocked
|
|
27
30
|
*/
|
|
28
|
-
blockedTags.forEach(blockedTag => {
|
|
31
|
+
blockedTags.forEach((blockedTag) => {
|
|
29
32
|
const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);
|
|
30
33
|
for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {
|
|
31
34
|
const element = getElementsToRemove[elementIndex];
|
|
@@ -41,7 +44,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
|
41
44
|
* as they are left behind
|
|
42
45
|
*/
|
|
43
46
|
const childElements = getElementChildren(element);
|
|
44
|
-
/*
|
|
47
|
+
/* eslint-disable-next-line */
|
|
45
48
|
for (let childIndex = 0; childIndex < childElements.length; childIndex++) {
|
|
46
49
|
sanitizeElement(childElements[childIndex]);
|
|
47
50
|
}
|
|
@@ -53,7 +56,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
|
53
56
|
*/
|
|
54
57
|
// IE does not support .children on document fragments, only .childNodes
|
|
55
58
|
const dfChildren = getElementChildren(documentFragment);
|
|
56
|
-
/*
|
|
59
|
+
/* eslint-disable-next-line */
|
|
57
60
|
for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {
|
|
58
61
|
sanitizeElement(dfChildren[childIndex]);
|
|
59
62
|
}
|
|
@@ -62,7 +65,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
|
62
65
|
fragmentDiv.appendChild(documentFragment);
|
|
63
66
|
// First child is always the div we did our work in
|
|
64
67
|
const getInnerDiv = fragmentDiv.querySelector('div');
|
|
65
|
-
return
|
|
68
|
+
return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;
|
|
66
69
|
}
|
|
67
70
|
catch (err) {
|
|
68
71
|
console.error(err);
|
|
@@ -90,7 +93,7 @@ const sanitizeElement = (element) => {
|
|
|
90
93
|
// clean up any allowed attribs
|
|
91
94
|
// that attempt to do any JS funny-business
|
|
92
95
|
const attributeValue = attribute.value;
|
|
93
|
-
/*
|
|
96
|
+
/* eslint-disable-next-line */
|
|
94
97
|
if (attributeValue != null && attributeValue.toLowerCase().includes('javascript:')) {
|
|
95
98
|
element.removeAttribute(attributeName);
|
|
96
99
|
}
|
|
@@ -99,7 +102,7 @@ const sanitizeElement = (element) => {
|
|
|
99
102
|
* Sanitize any nested children
|
|
100
103
|
*/
|
|
101
104
|
const childElements = getElementChildren(element);
|
|
102
|
-
/*
|
|
105
|
+
/* eslint-disable-next-line */
|
|
103
106
|
for (let i = 0; i < childElements.length; i++) {
|
|
104
107
|
sanitizeElement(childElements[i]);
|
|
105
108
|
}
|
|
@@ -109,11 +112,12 @@ const sanitizeElement = (element) => {
|
|
|
109
112
|
* so we revert to .childNodes instead
|
|
110
113
|
*/
|
|
111
114
|
const getElementChildren = (el) => {
|
|
112
|
-
return
|
|
115
|
+
return el.children != null ? el.children : el.childNodes;
|
|
113
116
|
};
|
|
114
117
|
const isSanitizerEnabled = () => {
|
|
118
|
+
var _a;
|
|
115
119
|
const win = window;
|
|
116
|
-
const config = win
|
|
120
|
+
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
117
121
|
if (config) {
|
|
118
122
|
if (config.get) {
|
|
119
123
|
return config.get('sanitizerEnabled', true);
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const helpers = require('./helpers-cb08f5ae.js');
|
|
4
|
+
const index = require('./index-b2a479e4.js');
|
|
5
|
+
|
|
6
|
+
/*!
|
|
7
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
8
|
+
*/
|
|
9
|
+
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
10
|
+
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
11
|
+
const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
|
|
12
|
+
/**
|
|
13
|
+
* Selector used for implementations reliant on `<ion-content>` for scroll event changes.
|
|
14
|
+
*
|
|
15
|
+
* Developers should use the `.ion-content-scroll-host` selector to target the element emitting
|
|
16
|
+
* scroll events. With virtual scroll implementations this will be the host element for
|
|
17
|
+
* the scroll viewport.
|
|
18
|
+
*/
|
|
19
|
+
const ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;
|
|
20
|
+
const isIonContent = (el) => el.tagName === ION_CONTENT_TAG_NAME;
|
|
21
|
+
/**
|
|
22
|
+
* Waits for the element host fully initialize before
|
|
23
|
+
* returning the inner scroll element.
|
|
24
|
+
*
|
|
25
|
+
* For `ion-content` the scroll target will be the result
|
|
26
|
+
* of the `getScrollElement` function.
|
|
27
|
+
*
|
|
28
|
+
* For custom implementations it will be the element host
|
|
29
|
+
* or a selector within the host, if supplied through `scrollTarget`.
|
|
30
|
+
*/
|
|
31
|
+
const getScrollElement = async (el) => {
|
|
32
|
+
if (isIonContent(el)) {
|
|
33
|
+
await new Promise((resolve) => helpers.componentOnReady(el, resolve));
|
|
34
|
+
return el.getScrollElement();
|
|
35
|
+
}
|
|
36
|
+
return el;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Queries the element matching the selector for IonContent.
|
|
40
|
+
* See ION_CONTENT_SELECTOR for the selector used.
|
|
41
|
+
*/
|
|
42
|
+
const findIonContent = (el) => {
|
|
43
|
+
/**
|
|
44
|
+
* First we try to query the custom scroll host selector in cases where
|
|
45
|
+
* the implementation is using an outer `ion-content` with an inner custom
|
|
46
|
+
* scroll container.
|
|
47
|
+
*/
|
|
48
|
+
const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);
|
|
49
|
+
if (customContentHost) {
|
|
50
|
+
return customContentHost;
|
|
51
|
+
}
|
|
52
|
+
return el.querySelector(ION_CONTENT_SELECTOR);
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Queries the closest element matching the selector for IonContent.
|
|
56
|
+
*/
|
|
57
|
+
const findClosestIonContent = (el) => {
|
|
58
|
+
return el.closest(ION_CONTENT_SELECTOR);
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Scrolls to the top of the element. If an `ion-content` is found, it will scroll
|
|
62
|
+
* using the public API `scrollToTop` with a duration.
|
|
63
|
+
*/
|
|
64
|
+
const scrollToTop = (el, durationMs) => {
|
|
65
|
+
if (isIonContent(el)) {
|
|
66
|
+
const content = el;
|
|
67
|
+
return content.scrollToTop(durationMs);
|
|
68
|
+
}
|
|
69
|
+
return Promise.resolve(el.scrollTo({
|
|
70
|
+
top: 0,
|
|
71
|
+
left: 0,
|
|
72
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
73
|
+
}));
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll
|
|
77
|
+
* using the public API `scrollByPoint` with a duration.
|
|
78
|
+
*/
|
|
79
|
+
const scrollByPoint = (el, x, y, durationMs) => {
|
|
80
|
+
if (isIonContent(el)) {
|
|
81
|
+
const content = el;
|
|
82
|
+
return content.scrollByPoint(x, y, durationMs);
|
|
83
|
+
}
|
|
84
|
+
return Promise.resolve(el.scrollBy({
|
|
85
|
+
top: y,
|
|
86
|
+
left: x,
|
|
87
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
88
|
+
}));
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Prints an error informing developers that an implementation requires an element to be used
|
|
92
|
+
* within either the `ion-content` selector or the `.ion-content-scroll-host` class.
|
|
93
|
+
*/
|
|
94
|
+
const printIonContentErrorMsg = (el) => {
|
|
95
|
+
return index.printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Several components in Ionic need to prevent scrolling
|
|
99
|
+
* during a gesture (card modal, range, item sliding, etc).
|
|
100
|
+
* Use this utility to account for ion-content and custom content hosts.
|
|
101
|
+
*/
|
|
102
|
+
const disableContentScrollY = (contentEl) => {
|
|
103
|
+
if (isIonContent(contentEl)) {
|
|
104
|
+
const ionContent = contentEl;
|
|
105
|
+
const initialScrollY = ionContent.scrollY;
|
|
106
|
+
ionContent.scrollY = false;
|
|
107
|
+
/**
|
|
108
|
+
* This should be passed into resetContentScrollY
|
|
109
|
+
* so that we can revert ion-content's scrollY to the
|
|
110
|
+
* correct state. For example, if scrollY = false
|
|
111
|
+
* initially, we do not want to enable scrolling
|
|
112
|
+
* when we call resetContentScrollY.
|
|
113
|
+
*/
|
|
114
|
+
return initialScrollY;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
contentEl.style.setProperty('overflow', 'hidden');
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
const resetContentScrollY = (contentEl, initialScrollY) => {
|
|
122
|
+
if (isIonContent(contentEl)) {
|
|
123
|
+
contentEl.scrollY = initialScrollY;
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
contentEl.style.removeProperty('overflow');
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
exports.ION_CONTENT_CLASS_SELECTOR = ION_CONTENT_CLASS_SELECTOR;
|
|
131
|
+
exports.ION_CONTENT_ELEMENT_SELECTOR = ION_CONTENT_ELEMENT_SELECTOR;
|
|
132
|
+
exports.disableContentScrollY = disableContentScrollY;
|
|
133
|
+
exports.findClosestIonContent = findClosestIonContent;
|
|
134
|
+
exports.findIonContent = findIonContent;
|
|
135
|
+
exports.getScrollElement = getScrollElement;
|
|
136
|
+
exports.isIonContent = isIonContent;
|
|
137
|
+
exports.printIonContentErrorMsg = printIonContentErrorMsg;
|
|
138
|
+
exports.resetContentScrollY = resetContentScrollY;
|
|
139
|
+
exports.scrollByPoint = scrollByPoint;
|
|
140
|
+
exports.scrollToTop = scrollToTop;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/*!
|
|
4
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Logs a warning to the console with an Ionic prefix
|
|
8
|
+
* to indicate the library that is warning the developer.
|
|
9
|
+
*
|
|
10
|
+
* @param message - The string message to be logged to the console.
|
|
11
|
+
*/
|
|
12
|
+
const printIonWarning = (message, ...params) => {
|
|
13
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
14
|
+
};
|
|
15
|
+
/*
|
|
16
|
+
* Logs an error to the console with an Ionic prefix
|
|
17
|
+
* to indicate the library that is warning the developer.
|
|
18
|
+
*
|
|
19
|
+
* @param message - The string message to be logged to the console.
|
|
20
|
+
* @param params - Additional arguments to supply to the console.error.
|
|
21
|
+
*/
|
|
22
|
+
const printIonError = (message, ...params) => {
|
|
23
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Prints an error informing developers that an implementation requires an element to be used
|
|
27
|
+
* within a specific selector.
|
|
28
|
+
*
|
|
29
|
+
* @param el The web component element this is requiring the element.
|
|
30
|
+
* @param targetSelectors The selector or selectors that were not found.
|
|
31
|
+
*/
|
|
32
|
+
const printRequiredElementError = (el, ...targetSelectors) => {
|
|
33
|
+
return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
exports.printIonError = printIonError;
|
|
37
|
+
exports.printIonWarning = printIonWarning;
|
|
38
|
+
exports.printRequiredElementError = printRequiredElementError;
|
|
@@ -1399,6 +1399,9 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1399
1399
|
const endPostUpdate = createTime('postUpdate', tagName);
|
|
1400
1400
|
const instance = hostRef.$lazyInstance$ ;
|
|
1401
1401
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1402
|
+
{
|
|
1403
|
+
safeCall(instance, 'componentDidRender');
|
|
1404
|
+
}
|
|
1402
1405
|
if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
|
|
1403
1406
|
hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
|
|
1404
1407
|
{
|
|
@@ -2003,6 +2006,9 @@ const plt = {
|
|
|
2003
2006
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2004
2007
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2005
2008
|
};
|
|
2009
|
+
const setPlatformHelpers = (helpers) => {
|
|
2010
|
+
Object.assign(plt, helpers);
|
|
2011
|
+
};
|
|
2006
2012
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
2007
2013
|
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2008
2014
|
try {
|
|
@@ -2071,4 +2077,5 @@ exports.promiseResolve = promiseResolve;
|
|
|
2071
2077
|
exports.readTask = readTask;
|
|
2072
2078
|
exports.registerInstance = registerInstance;
|
|
2073
2079
|
exports.setMode = setMode;
|
|
2080
|
+
exports.setPlatformHelpers = setPlatformHelpers;
|
|
2074
2081
|
exports.writeTask = writeTask;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const helpers = require('./helpers-
|
|
3
|
+
const helpers = require('./helpers-cb08f5ae.js');
|
|
4
4
|
|
|
5
|
+
/*!
|
|
6
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
7
|
+
*/
|
|
5
8
|
const startTapClick = (config) => {
|
|
6
9
|
let lastTouch = -MOUSE_WAIT * 10;
|
|
7
10
|
let lastActivated = 0;
|
|
8
|
-
let scrollingEl;
|
|
9
11
|
let activatableEle;
|
|
10
12
|
let activeRipple;
|
|
11
13
|
let activeDefer;
|
|
12
14
|
const useRippleEffect = config.getBoolean('animated', true) && config.getBoolean('rippleEffect', true);
|
|
13
15
|
const clearDefers = new WeakMap();
|
|
14
|
-
const isScrolling = () => {
|
|
15
|
-
return scrollingEl !== undefined && scrollingEl.parentElement !== null;
|
|
16
|
-
};
|
|
17
16
|
// Touch Events
|
|
18
17
|
const onTouchStart = (ev) => {
|
|
19
18
|
lastTouch = helpers.now(ev);
|
|
@@ -24,6 +23,10 @@ const startTapClick = (config) => {
|
|
|
24
23
|
pointerUp(ev);
|
|
25
24
|
};
|
|
26
25
|
const onMouseDown = (ev) => {
|
|
26
|
+
// Ignore right clicks
|
|
27
|
+
if (ev.button === 2) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
27
30
|
const t = helpers.now(ev) - MOUSE_WAIT;
|
|
28
31
|
if (lastTouch < t) {
|
|
29
32
|
pointerDown(ev);
|
|
@@ -44,10 +47,9 @@ const startTapClick = (config) => {
|
|
|
44
47
|
}
|
|
45
48
|
};
|
|
46
49
|
const pointerDown = (ev) => {
|
|
47
|
-
if (activatableEle
|
|
50
|
+
if (activatableEle) {
|
|
48
51
|
return;
|
|
49
52
|
}
|
|
50
|
-
scrollingEl = undefined;
|
|
51
53
|
setActivatedElement(getActivatableTarget(ev), ev);
|
|
52
54
|
};
|
|
53
55
|
const pointerUp = (ev) => {
|
|
@@ -90,15 +92,17 @@ const startTapClick = (config) => {
|
|
|
90
92
|
const addActivated = (el, x, y) => {
|
|
91
93
|
lastActivated = Date.now();
|
|
92
94
|
el.classList.add(ACTIVATED);
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
if (!useRippleEffect)
|
|
96
|
+
return;
|
|
97
|
+
const rippleEffect = getRippleEffect(el);
|
|
98
|
+
if (rippleEffect !== null) {
|
|
95
99
|
removeRipple();
|
|
96
100
|
activeRipple = rippleEffect.addRipple(x, y);
|
|
97
101
|
}
|
|
98
102
|
};
|
|
99
103
|
const removeRipple = () => {
|
|
100
104
|
if (activeRipple !== undefined) {
|
|
101
|
-
activeRipple.then(remove => remove());
|
|
105
|
+
activeRipple.then((remove) => remove());
|
|
102
106
|
activeRipple = undefined;
|
|
103
107
|
}
|
|
104
108
|
};
|
|
@@ -121,26 +125,40 @@ const startTapClick = (config) => {
|
|
|
121
125
|
}
|
|
122
126
|
};
|
|
123
127
|
const doc = document;
|
|
124
|
-
doc.addEventListener('ionScrollStart', ev => {
|
|
125
|
-
scrollingEl = ev.target;
|
|
126
|
-
cancelActive();
|
|
127
|
-
});
|
|
128
|
-
doc.addEventListener('ionScrollEnd', () => {
|
|
129
|
-
scrollingEl = undefined;
|
|
130
|
-
});
|
|
131
128
|
doc.addEventListener('ionGestureCaptured', cancelActive);
|
|
132
129
|
doc.addEventListener('touchstart', onTouchStart, true);
|
|
133
130
|
doc.addEventListener('touchcancel', onTouchEnd, true);
|
|
134
131
|
doc.addEventListener('touchend', onTouchEnd, true);
|
|
132
|
+
/**
|
|
133
|
+
* Tap click effects such as the ripple effect should
|
|
134
|
+
* not happen when scrolling. For example, if a user scrolls
|
|
135
|
+
* the page but also happens to do a touchstart on a button
|
|
136
|
+
* as part of the scroll, the ripple effect should not
|
|
137
|
+
* be dispatched. The ripple effect should only happen
|
|
138
|
+
* if the button is activated and the page is not scrolling.
|
|
139
|
+
*
|
|
140
|
+
* pointercancel is dispatched on a gesture when scrolling
|
|
141
|
+
* starts, so this lets us avoid having to listen for
|
|
142
|
+
* ion-content's scroll events.
|
|
143
|
+
*/
|
|
144
|
+
doc.addEventListener('pointercancel', cancelActive, true);
|
|
135
145
|
doc.addEventListener('mousedown', onMouseDown, true);
|
|
136
146
|
doc.addEventListener('mouseup', onMouseUp, true);
|
|
137
147
|
};
|
|
138
148
|
const getActivatableTarget = (ev) => {
|
|
139
|
-
if (ev.composedPath) {
|
|
149
|
+
if (ev.composedPath !== undefined) {
|
|
150
|
+
/**
|
|
151
|
+
* composedPath returns EventTarget[]. However,
|
|
152
|
+
* objects other than Element can be targets too.
|
|
153
|
+
* For example, AudioContext can be a target. In this
|
|
154
|
+
* case, we know that the event is a UIEvent so we
|
|
155
|
+
* can assume that the path will contain either Element
|
|
156
|
+
* or ShadowRoot.
|
|
157
|
+
*/
|
|
140
158
|
const path = ev.composedPath();
|
|
141
159
|
for (let i = 0; i < path.length - 2; i++) {
|
|
142
160
|
const el = path[i];
|
|
143
|
-
if (el
|
|
161
|
+
if (!(el instanceof ShadowRoot) && el.classList.contains('ion-activatable')) {
|
|
144
162
|
return el;
|
|
145
163
|
}
|
|
146
164
|
}
|