@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.
Files changed (409) hide show
  1. package/dist/cjs/{animation-5840e4df.js → animation-9bea118f.js} +115 -84
  2. package/dist/cjs/{app-globals-1aedd05c.js → app-globals-6352043e.js} +1 -1
  3. package/dist/cjs/{cubic-bezier-dcb7bfef.js → cubic-bezier-0b702a31.js} +13 -12
  4. package/dist/cjs/data-0c9489d7.js +1510 -0
  5. package/dist/cjs/dir-011f46ea.js +20 -0
  6. package/dist/cjs/elements.cjs.js +4 -4
  7. package/dist/cjs/focus-visible-2624ec15.js +76 -0
  8. package/dist/cjs/framework-delegate-437c0645.js +119 -0
  9. package/dist/cjs/{gesture-controller-fbbe9a65.js → gesture-controller-00a6b02f.js} +6 -2
  10. package/dist/cjs/{haptic-09e73337.js → haptic-7358cb0b.js} +37 -8
  11. package/dist/cjs/{hardware-back-button-01027575.js → hardware-back-button-25372ec7.js} +11 -8
  12. package/dist/cjs/{helpers-398ced09.js → helpers-cb08f5ae.js} +115 -15
  13. package/dist/cjs/{index-2067b305.js → index-1b07c737.js} +35 -24
  14. package/dist/cjs/{index-68ae43d2.js → index-2dc3637c.js} +34 -28
  15. package/dist/cjs/index-57b9fa9e.js +30 -0
  16. package/dist/cjs/{index-d01d9183.js → index-643851c6.js} +34 -19
  17. package/dist/cjs/index-731691ca.js +48 -0
  18. package/dist/cjs/{index-6bbae9b1.js → index-7d56774d.js} +12 -8
  19. package/dist/cjs/index-9fca5d6f.js +140 -0
  20. package/dist/cjs/index-b2a479e4.js +38 -0
  21. package/dist/cjs/{index-b4a9ece2.js → index-eaa0d16e.js} +7 -0
  22. package/dist/cjs/{tap-click-f24cb477.js → index-ed2ce04f.js} +37 -19
  23. package/dist/cjs/{input-shims-e959d9e2.js → input-shims-427999f7.js} +89 -38
  24. package/dist/cjs/ion-accordion-group.cjs.entry.js +205 -0
  25. package/dist/cjs/ion-accordion.cjs.entry.js +336 -0
  26. package/dist/cjs/ion-action-sheet_3.cjs.entry.js +865 -0
  27. package/dist/cjs/{ion-app_45.cjs.entry.js → ion-app_46.cjs.entry.js} +1694 -1406
  28. package/dist/cjs/ion-avatar.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-back-button.cjs.entry.js +12 -11
  30. package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
  31. package/dist/cjs/ion-breadcrumb.cjs.entry.js +101 -0
  32. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +133 -0
  33. package/dist/cjs/ion-buttons_3.cjs.entry.js +793 -0
  34. package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
  35. package/dist/cjs/{ion-list-header_3.cjs.entry.js → ion-checkbox_4.cjs.entry.js} +124 -23
  36. package/dist/cjs/ion-chip.cjs.entry.js +5 -10
  37. package/dist/cjs/ion-datetime-button.cjs.entry.js +346 -0
  38. package/dist/cjs/ion-datetime.cjs.entry.js +1548 -856
  39. package/dist/cjs/ion-fab-button.cjs.entry.js +26 -9
  40. package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
  41. package/dist/cjs/ion-fab.cjs.entry.js +15 -13
  42. package/dist/cjs/ion-img.cjs.entry.js +28 -4
  43. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
  44. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -13
  45. package/dist/cjs/ion-input.cjs.entry.js +57 -23
  46. package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
  47. package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
  48. package/dist/cjs/ion-item-sliding.cjs.entry.js +59 -63
  49. package/dist/cjs/ion-loading.cjs.entry.js +37 -36
  50. package/dist/cjs/ion-menu-button.cjs.entry.js +14 -12
  51. package/dist/cjs/ion-menu-toggle.cjs.entry.js +8 -7
  52. package/dist/cjs/ion-menu.cjs.entry.js +71 -57
  53. package/dist/cjs/ion-modal.cjs.entry.js +1384 -154
  54. package/dist/cjs/ion-nav-link.cjs.entry.js +5 -2
  55. package/dist/cjs/ion-nav.cjs.entry.js +177 -171
  56. package/dist/cjs/ion-picker-column.cjs.entry.js +25 -27
  57. package/dist/cjs/ion-picker.cjs.entry.js +22 -17
  58. package/dist/cjs/ion-popover.cjs.entry.js +1208 -182
  59. package/dist/cjs/ion-range.cjs.entry.js +137 -57
  60. package/dist/cjs/ion-refresher-content.cjs.entry.js +7 -12
  61. package/dist/cjs/ion-refresher.cjs.entry.js +150 -148
  62. package/dist/cjs/ion-reorder-group.cjs.entry.js +42 -35
  63. package/dist/cjs/ion-reorder.cjs.entry.js +5 -4
  64. package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
  65. package/dist/cjs/ion-route.cjs.entry.js +1 -1
  66. package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
  67. package/dist/cjs/ion-router-outlet.cjs.entry.js +24 -20
  68. package/dist/cjs/ion-router.cjs.entry.js +291 -194
  69. package/dist/cjs/ion-segment-button.cjs.entry.js +10 -17
  70. package/dist/cjs/ion-segment.cjs.entry.js +119 -26
  71. package/dist/cjs/ion-select-option.cjs.entry.js +3 -3
  72. package/dist/cjs/ion-select.cjs.entry.js +113 -78
  73. package/dist/cjs/ion-slide.cjs.entry.js +3 -3
  74. package/dist/cjs/ion-slides.cjs.entry.js +26 -27
  75. package/dist/cjs/ion-spinner.cjs.entry.js +10 -9
  76. package/dist/cjs/ion-split-pane.cjs.entry.js +16 -12
  77. package/dist/cjs/ion-tab-bar.cjs.entry.js +16 -23
  78. package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
  79. package/dist/cjs/ion-tab.cjs.entry.js +4 -4
  80. package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
  81. package/dist/cjs/ion-text.cjs.entry.js +3 -3
  82. package/dist/cjs/ion-textarea.cjs.entry.js +31 -29
  83. package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
  84. package/dist/cjs/ion-toast.cjs.entry.js +49 -59
  85. package/dist/cjs/ion-toggle.cjs.entry.js +41 -22
  86. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +39 -31
  87. package/dist/cjs/{ionic-global-56e10eb5.js → ionic-global-f2d95fd3.js} +112 -93
  88. package/dist/cjs/{ios.transition-32e4623d.js → ios.transition-0f31ec9a.js} +78 -53
  89. package/dist/cjs/{keyboard-9e8103e4.js → keyboard-79afcba2.js} +6 -3
  90. package/dist/cjs/keyboard-controller-a934d106.js +42 -0
  91. package/dist/cjs/loader.cjs.js +4 -4
  92. package/dist/cjs/{md.transition-169c54f0.js → md.transition-d2a33a23.js} +15 -17
  93. package/dist/cjs/{menu-toggle-util-087678e0.js → menu-toggle-util-0a43ff7c.js} +5 -2
  94. package/dist/cjs/{overlays-49fe9ba7.js → overlays-65c716aa.js} +187 -71
  95. package/dist/cjs/spinner-configs-cd0abbeb.js +147 -0
  96. package/dist/cjs/{status-tap-ada894ff.js → status-tap-beaa3a71.js} +10 -5
  97. package/dist/cjs/{swipe-back-c4a778df.js → swipe-back-666ea8e6.js} +34 -15
  98. package/dist/cjs/test-component.cjs.entry.js +1 -1
  99. package/dist/cjs/{theme-2259d0f5.js → theme-fc63803b.js} +9 -5
  100. package/dist/collection/collection-manifest.json +7 -0
  101. package/dist/custom-elements/index.js +12689 -4785
  102. package/dist/custom-elements/{tap-click.js → index2.js} +36 -18
  103. package/dist/custom-elements/input-shims.js +87 -38
  104. package/dist/custom-elements/ios.transition.js +74 -50
  105. package/dist/custom-elements/md.transition.js +11 -14
  106. package/dist/custom-elements/status-tap.js +7 -4
  107. package/dist/custom-elements/swipe-back.js +31 -13
  108. package/dist/elements/elements.css +1 -1
  109. package/dist/elements/elements.esm.js +1 -1
  110. package/dist/elements/p-0268cbd3.entry.js +7 -0
  111. package/dist/elements/p-0587332d.entry.js +1 -0
  112. package/dist/elements/{p-cfc0e54d.js → p-0991c811.js} +3 -0
  113. package/dist/elements/p-0a69a563.entry.js +1 -0
  114. package/dist/elements/p-0b95be17.entry.js +1 -0
  115. package/dist/elements/p-0d284fe0.entry.js +1 -0
  116. package/dist/elements/p-0fd77b33.entry.js +1 -0
  117. package/dist/elements/p-120dec2b.entry.js +1 -0
  118. package/dist/elements/p-12880671.entry.js +1 -0
  119. package/dist/elements/p-14ccd586.entry.js +1 -0
  120. package/dist/elements/{p-83d45051.entry.js → p-14df6ac0.entry.js} +1 -1
  121. package/dist/elements/{p-e860be6a.entry.js → p-17079f06.entry.js} +1 -1
  122. package/dist/elements/p-19e4a688.js +4 -0
  123. package/dist/elements/p-1afc4eb4.js +4 -0
  124. package/dist/elements/p-1beaf6bf.js +4 -0
  125. package/dist/elements/p-1d1c6a6f.entry.js +1 -0
  126. package/dist/elements/{p-31d30e42.entry.js → p-1d98f84b.entry.js} +1 -1
  127. package/dist/elements/p-278ca4c9.js +4 -0
  128. package/dist/elements/p-27f5629c.entry.js +1 -0
  129. package/dist/elements/p-29c0f03f.js +4 -0
  130. package/dist/elements/p-2da59aca.js +4 -0
  131. package/dist/elements/p-3152143f.js +4 -0
  132. package/dist/elements/p-343ff720.entry.js +7 -0
  133. package/dist/elements/p-36d4c9a8.js +4 -0
  134. package/dist/elements/p-3a30dfb2.entry.js +1 -0
  135. package/dist/elements/p-3c013bf1.entry.js +1 -0
  136. package/dist/elements/{p-74ba1e42.entry.js → p-3c318da5.entry.js} +1 -1
  137. package/dist/elements/p-3cee3222.entry.js +1 -0
  138. package/dist/elements/p-480b3c4f.entry.js +1 -0
  139. package/dist/elements/p-4e9d8f18.entry.js +1 -0
  140. package/dist/elements/p-53e23176.js +2 -0
  141. package/dist/elements/p-548524f3.js +4 -0
  142. package/dist/elements/p-5739fa41.entry.js +1 -0
  143. package/dist/elements/p-5808c505.js +1 -0
  144. package/dist/elements/p-58a8cc2a.js +4 -0
  145. package/dist/elements/p-6035415e.entry.js +1 -0
  146. package/dist/elements/p-60eeae90.js +4 -0
  147. package/dist/elements/p-610b03ff.entry.js +4 -0
  148. package/dist/elements/p-67777478.entry.js +1 -0
  149. package/dist/elements/p-6ab826e1.entry.js +1 -0
  150. package/dist/elements/p-6f5a2827.entry.js +1 -0
  151. package/dist/elements/p-779676c5.entry.js +1 -0
  152. package/dist/elements/p-7916ecc5.entry.js +1 -0
  153. package/dist/elements/p-79f06b80.entry.js +1 -0
  154. package/dist/elements/p-7b5991c1.entry.js +1 -0
  155. package/dist/elements/p-7d0def79.js +5 -0
  156. package/dist/elements/p-8112afea.js +4 -0
  157. package/dist/elements/p-83678d7d.entry.js +4 -0
  158. package/dist/elements/p-87e45c94.entry.js +1 -0
  159. package/dist/elements/p-8da6a31e.entry.js +1 -0
  160. package/dist/elements/p-8f80768f.entry.js +4 -0
  161. package/dist/elements/p-8fe0433b.js +4 -0
  162. package/dist/elements/{p-4cb27b48.entry.js → p-9147d82b.entry.js} +1 -1
  163. package/dist/elements/p-97abb434.entry.js +1 -0
  164. package/dist/elements/p-98497a4b.entry.js +1 -0
  165. package/dist/elements/p-9c719139.js +4 -0
  166. package/dist/elements/p-9ca37332.js +4 -0
  167. package/dist/elements/{p-37de7110.js → p-9d48def2.js} +3 -0
  168. package/dist/elements/p-a79a6ad9.entry.js +79 -0
  169. package/dist/elements/p-a805f2f9.entry.js +1 -0
  170. package/dist/elements/p-a86a5bfa.entry.js +1 -0
  171. package/dist/elements/{p-9c1dbe52.entry.js → p-ac34eab7.entry.js} +1 -1
  172. package/dist/elements/p-ad366eab.entry.js +4 -0
  173. package/dist/elements/p-aef3a931.js +7 -0
  174. package/dist/elements/p-b0537eb3.entry.js +1 -0
  175. package/dist/elements/p-b337f3b8.js +4 -0
  176. package/dist/elements/p-b34bf73f.entry.js +7 -0
  177. package/dist/elements/p-b41e66f0.entry.js +1 -0
  178. package/dist/elements/p-b47e7091.entry.js +1 -0
  179. package/dist/elements/p-b840320e.js +4 -0
  180. package/dist/elements/p-b934ac5d.entry.js +1 -0
  181. package/dist/elements/p-b98314e0.entry.js +4 -0
  182. package/dist/elements/p-bd12806f.entry.js +1 -0
  183. package/dist/elements/p-c16d38d5.js +4 -0
  184. package/dist/elements/p-c84205a3.js +4 -0
  185. package/dist/elements/{p-06675ac7.entry.js → p-cbe318f8.entry.js} +1 -1
  186. package/dist/elements/p-cfed7395.js +4 -0
  187. package/dist/elements/p-d22a1dc7.entry.js +7 -0
  188. package/dist/elements/p-d3e75c94.entry.js +1 -0
  189. package/dist/elements/p-d8f6d3ce.entry.js +14 -0
  190. package/dist/elements/p-d9880221.entry.js +4 -0
  191. package/dist/elements/p-da5db8fb.entry.js +1 -0
  192. package/dist/elements/{p-91fe653f.js → p-dcc6b03c.js} +3 -0
  193. package/dist/elements/{p-305e246c.entry.js → p-dd846020.entry.js} +1 -1
  194. package/dist/elements/p-df240b2a.entry.js +4 -0
  195. package/dist/elements/p-dffd8689.js +4 -0
  196. package/dist/elements/p-e495a095.js +4 -0
  197. package/dist/elements/p-e5fc7d42.entry.js +1 -0
  198. package/dist/elements/{p-aaa8393e.entry.js → p-eb137e9d.entry.js} +1 -1
  199. package/dist/elements/p-f4e54a17.js +7 -0
  200. package/dist/elements/p-f67d0717.entry.js +1 -0
  201. package/dist/elements/p-f7f4c640.js +1 -0
  202. package/dist/elements/p-f851b91a.js +4 -0
  203. package/dist/elements/p-fb27ee76.entry.js +1 -0
  204. package/dist/elements/p-fbddca35.entry.js +1 -0
  205. package/dist/elements/p-fc1df8e0.entry.js +7 -0
  206. package/dist/elements/p-fdac5f3a.js +4 -0
  207. package/dist/esm/{animation-fe6ed422.js → animation-801a007a.js} +115 -84
  208. package/dist/esm/{app-globals-27d92837.js → app-globals-05a3abfb.js} +1 -1
  209. package/dist/esm/{cubic-bezier-108b8579.js → cubic-bezier-538b6253.js} +13 -12
  210. package/dist/esm/data-62c81c24.js +1463 -0
  211. package/dist/esm/dir-defb16c6.js +18 -0
  212. package/dist/esm/elements.js +4 -4
  213. package/dist/esm/focus-visible-78d55799.js +74 -0
  214. package/dist/esm/framework-delegate-7e2b767b.js +115 -0
  215. package/dist/esm/{gesture-controller-8f35af24.js → gesture-controller-c466ff14.js} +6 -2
  216. package/dist/esm/{haptic-c424e670.js → haptic-e7d5ef4d.js} +38 -9
  217. package/dist/esm/{hardware-back-button-bb4c578a.js → hardware-back-button-242191a7.js} +11 -8
  218. package/dist/esm/{helpers-44e3bd9f.js → helpers-aeff219b.js} +113 -16
  219. package/dist/esm/index-0dbaca1a.js +28 -0
  220. package/dist/esm/index-1f3d8582.js +34 -0
  221. package/dist/esm/{index-97199683.js → index-2be9a18b.js} +34 -28
  222. package/dist/esm/{index-8d682224.js → index-51e4a829.js} +12 -8
  223. package/dist/esm/{index-8a463a85.js → index-6048aed6.js} +35 -24
  224. package/dist/esm/index-65ecd543.js +25 -0
  225. package/dist/esm/{tap-click-a7e55ef5.js → index-b212db1c.js} +37 -19
  226. package/dist/esm/{index-e4deec27.js → index-cb938ffb.js} +7 -1
  227. package/dist/esm/{index-3a1bd803.js → index-d39eb62b.js} +35 -20
  228. package/dist/esm/index-ebf7f059.js +128 -0
  229. package/dist/esm/{input-shims-3b48722f.js → input-shims-8a389148.js} +89 -38
  230. package/dist/esm/ion-accordion-group.entry.js +201 -0
  231. package/dist/esm/ion-accordion.entry.js +332 -0
  232. package/dist/esm/ion-action-sheet_3.entry.js +859 -0
  233. package/dist/esm/{ion-app_45.entry.js → ion-app_46.entry.js} +1694 -1407
  234. package/dist/esm/ion-avatar.entry.js +2 -2
  235. package/dist/esm/ion-back-button.entry.js +12 -11
  236. package/dist/esm/ion-backdrop.entry.js +4 -4
  237. package/dist/esm/ion-breadcrumb.entry.js +97 -0
  238. package/dist/esm/ion-breadcrumbs.entry.js +129 -0
  239. package/dist/esm/ion-buttons_3.entry.js +787 -0
  240. package/dist/esm/ion-card-subtitle.entry.js +4 -4
  241. package/dist/esm/{ion-list-header_3.entry.js → ion-checkbox_4.entry.js} +124 -24
  242. package/dist/esm/ion-chip.entry.js +5 -10
  243. package/dist/esm/ion-datetime-button.entry.js +342 -0
  244. package/dist/esm/ion-datetime.entry.js +1548 -856
  245. package/dist/esm/ion-fab-button.entry.js +26 -9
  246. package/dist/esm/ion-fab-list.entry.js +4 -4
  247. package/dist/esm/ion-fab.entry.js +15 -13
  248. package/dist/esm/ion-img.entry.js +28 -4
  249. package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
  250. package/dist/esm/ion-infinite-scroll.entry.js +13 -13
  251. package/dist/esm/ion-input.entry.js +57 -23
  252. package/dist/esm/ion-item-option.entry.js +8 -8
  253. package/dist/esm/ion-item-options.entry.js +5 -5
  254. package/dist/esm/ion-item-sliding.entry.js +59 -63
  255. package/dist/esm/ion-loading.entry.js +37 -36
  256. package/dist/esm/ion-menu-button.entry.js +14 -12
  257. package/dist/esm/ion-menu-toggle.entry.js +8 -7
  258. package/dist/esm/ion-menu.entry.js +71 -57
  259. package/dist/esm/ion-modal.entry.js +1375 -145
  260. package/dist/esm/ion-nav-link.entry.js +5 -2
  261. package/dist/esm/ion-nav.entry.js +177 -171
  262. package/dist/esm/ion-picker-column.entry.js +25 -27
  263. package/dist/esm/ion-picker.entry.js +22 -17
  264. package/dist/esm/ion-popover.entry.js +1208 -182
  265. package/dist/esm/ion-range.entry.js +137 -57
  266. package/dist/esm/ion-refresher-content.entry.js +7 -12
  267. package/dist/esm/ion-refresher.entry.js +149 -147
  268. package/dist/esm/ion-reorder-group.entry.js +42 -35
  269. package/dist/esm/ion-reorder.entry.js +5 -4
  270. package/dist/esm/ion-route-redirect.entry.js +1 -1
  271. package/dist/esm/ion-route.entry.js +1 -1
  272. package/dist/esm/ion-router-link.entry.js +5 -5
  273. package/dist/esm/ion-router-outlet.entry.js +24 -20
  274. package/dist/esm/ion-router.entry.js +291 -194
  275. package/dist/esm/ion-segment-button.entry.js +10 -17
  276. package/dist/esm/ion-segment.entry.js +119 -26
  277. package/dist/esm/ion-select-option.entry.js +3 -3
  278. package/dist/esm/ion-select.entry.js +113 -78
  279. package/dist/esm/ion-slide.entry.js +3 -3
  280. package/dist/esm/ion-slides.entry.js +26 -27
  281. package/dist/esm/ion-spinner.entry.js +10 -9
  282. package/dist/esm/ion-split-pane.entry.js +16 -12
  283. package/dist/esm/ion-tab-bar.entry.js +16 -23
  284. package/dist/esm/ion-tab-button.entry.js +6 -6
  285. package/dist/esm/ion-tab.entry.js +4 -4
  286. package/dist/esm/ion-tabs.entry.js +4 -5
  287. package/dist/esm/ion-text.entry.js +3 -3
  288. package/dist/esm/ion-textarea.entry.js +31 -29
  289. package/dist/esm/ion-thumbnail.entry.js +2 -2
  290. package/dist/esm/ion-toast.entry.js +49 -59
  291. package/dist/esm/ion-toggle.entry.js +41 -22
  292. package/dist/esm/ion-virtual-scroll.entry.js +39 -31
  293. package/dist/esm/{ionic-global-2e28f7c7.js → ionic-global-6cd57191.js} +112 -93
  294. package/dist/esm/{ios.transition-a783e3cd.js → ios.transition-bbd952f2.js} +78 -53
  295. package/dist/{custom-elements/keyboard.js → esm/keyboard-413afe04.js} +6 -3
  296. package/dist/esm/keyboard-controller-33693bc2.js +40 -0
  297. package/dist/esm/loader.js +4 -4
  298. package/dist/esm/{md.transition-5a4a8c82.js → md.transition-5170a6d3.js} +15 -17
  299. package/dist/esm/{menu-toggle-util-562dfc9c.js → menu-toggle-util-82bf888a.js} +5 -2
  300. package/dist/esm/{overlays-fc9a0625.js → overlays-0c7f05e1.js} +186 -71
  301. package/dist/esm/spinner-configs-cbcd1f62.js +145 -0
  302. package/dist/esm/{status-tap-69e62ad6.js → status-tap-ad757b8a.js} +10 -5
  303. package/dist/esm/swipe-back-7ef22876.js +69 -0
  304. package/dist/esm/test-component.entry.js +1 -1
  305. package/dist/esm/{theme-d21826a7.js → theme-7cf2cab0.js} +9 -5
  306. package/package.json +4 -5
  307. package/LICENSE +0 -21
  308. package/dist/cjs/button-active-c14dab31.js +0 -66
  309. package/dist/cjs/focus-visible-16c98640.js +0 -45
  310. package/dist/cjs/framework-delegate-c45292a3.js +0 -37
  311. package/dist/cjs/ion-action-sheet.cjs.entry.js +0 -265
  312. package/dist/cjs/ion-alert.cjs.entry.js +0 -456
  313. package/dist/cjs/ion-buttons.cjs.entry.js +0 -42
  314. package/dist/cjs/ion-checkbox.cjs.entry.js +0 -117
  315. package/dist/cjs/ion-note.cjs.entry.js +0 -29
  316. package/dist/cjs/ion-select-popover.cjs.entry.js +0 -35
  317. package/dist/cjs/spinner-configs-fb16b986.js +0 -112
  318. package/dist/custom-elements/focus-visible.js +0 -43
  319. package/dist/elements/p-03bda390.js +0 -1
  320. package/dist/elements/p-0be044f1.entry.js +0 -1
  321. package/dist/elements/p-119c7c6c.entry.js +0 -1
  322. package/dist/elements/p-14c7c3ea.entry.js +0 -1
  323. package/dist/elements/p-1d4a2c61.js +0 -1
  324. package/dist/elements/p-1d894ac4.entry.js +0 -1
  325. package/dist/elements/p-1dafa1ce.entry.js +0 -1
  326. package/dist/elements/p-23b89ccb.entry.js +0 -1
  327. package/dist/elements/p-2c03b9ab.entry.js +0 -1
  328. package/dist/elements/p-346985f2.js +0 -1
  329. package/dist/elements/p-360f1c62.entry.js +0 -1
  330. package/dist/elements/p-373e1f25.entry.js +0 -1
  331. package/dist/elements/p-40547acb.entry.js +0 -1
  332. package/dist/elements/p-40b68014.entry.js +0 -1
  333. package/dist/elements/p-42e4f702.entry.js +0 -1
  334. package/dist/elements/p-489807e5.js +0 -1
  335. package/dist/elements/p-4ad72d54.entry.js +0 -1
  336. package/dist/elements/p-4cca7b5e.entry.js +0 -1
  337. package/dist/elements/p-4f24d306.js +0 -1
  338. package/dist/elements/p-519d6a53.entry.js +0 -1
  339. package/dist/elements/p-536e8e52.entry.js +0 -1
  340. package/dist/elements/p-599bb53f.entry.js +0 -1
  341. package/dist/elements/p-5eb7a546.js +0 -1
  342. package/dist/elements/p-60df2bed.entry.js +0 -1
  343. package/dist/elements/p-65133e33.js +0 -1
  344. package/dist/elements/p-6693fce8.js +0 -1
  345. package/dist/elements/p-689bdcc1.entry.js +0 -1
  346. package/dist/elements/p-70713b3d.entry.js +0 -1
  347. package/dist/elements/p-707d5d76.js +0 -1
  348. package/dist/elements/p-7212b7f2.js +0 -1
  349. package/dist/elements/p-73992898.entry.js +0 -1
  350. package/dist/elements/p-792c1e0f.entry.js +0 -1
  351. package/dist/elements/p-7e5300af.js +0 -2
  352. package/dist/elements/p-8068987c.entry.js +0 -1
  353. package/dist/elements/p-83accf46.entry.js +0 -1
  354. package/dist/elements/p-86635d06.entry.js +0 -1
  355. package/dist/elements/p-874c2b44.js +0 -1
  356. package/dist/elements/p-89c12ce8.entry.js +0 -1
  357. package/dist/elements/p-8bcba3f7.entry.js +0 -1
  358. package/dist/elements/p-8c759f51.entry.js +0 -1
  359. package/dist/elements/p-8f945e6b.entry.js +0 -1
  360. package/dist/elements/p-9300ab6a.js +0 -1
  361. package/dist/elements/p-93cacd51.entry.js +0 -1
  362. package/dist/elements/p-9408d0b4.entry.js +0 -1
  363. package/dist/elements/p-98c79eda.js +0 -1
  364. package/dist/elements/p-99f8abed.js +0 -1
  365. package/dist/elements/p-9ca7e079.js +0 -1
  366. package/dist/elements/p-a4648b74.entry.js +0 -1
  367. package/dist/elements/p-aab0f63c.js +0 -1
  368. package/dist/elements/p-ad4e2295.entry.js +0 -1
  369. package/dist/elements/p-afb8f7d5.entry.js +0 -1
  370. package/dist/elements/p-b055ec44.js +0 -1
  371. package/dist/elements/p-b078d63b.entry.js +0 -1
  372. package/dist/elements/p-b3460325.entry.js +0 -1
  373. package/dist/elements/p-b5406b58.entry.js +0 -1
  374. package/dist/elements/p-b5ef0c91.entry.js +0 -1
  375. package/dist/elements/p-b6ba623e.entry.js +0 -1
  376. package/dist/elements/p-b9926d8b.entry.js +0 -1
  377. package/dist/elements/p-bfd4cfcd.entry.js +0 -1
  378. package/dist/elements/p-c08dd7d0.entry.js +0 -1
  379. package/dist/elements/p-c0db9c51.entry.js +0 -1
  380. package/dist/elements/p-c1e7fbfb.js +0 -1
  381. package/dist/elements/p-ca69d6c9.js +0 -1
  382. package/dist/elements/p-cc4cb1ac.entry.js +0 -1
  383. package/dist/elements/p-cf8a7031.entry.js +0 -1
  384. package/dist/elements/p-cff82b6f.js +0 -1
  385. package/dist/elements/p-d01009b8.entry.js +0 -67
  386. package/dist/elements/p-d6d1e65f.entry.js +0 -1
  387. package/dist/elements/p-d9462b66.entry.js +0 -1
  388. package/dist/elements/p-e2e0fee9.entry.js +0 -1
  389. package/dist/elements/p-e642b266.entry.js +0 -1
  390. package/dist/elements/p-e953934f.entry.js +0 -1
  391. package/dist/elements/p-f0474f46.js +0 -1
  392. package/dist/elements/p-f10a94f6.entry.js +0 -1
  393. package/dist/elements/p-f2426182.entry.js +0 -1
  394. package/dist/elements/p-f327fd21.js +0 -1
  395. package/dist/elements/p-f84987ee.js +0 -1
  396. package/dist/elements/p-f8a3367d.entry.js +0 -1
  397. package/dist/esm/button-active-fd9d6d91.js +0 -64
  398. package/dist/esm/focus-visible-edb28f19.js +0 -43
  399. package/dist/esm/framework-delegate-9cd8048f.js +0 -34
  400. package/dist/esm/ion-action-sheet.entry.js +0 -261
  401. package/dist/esm/ion-alert.entry.js +0 -452
  402. package/dist/esm/ion-buttons.entry.js +0 -38
  403. package/dist/esm/ion-checkbox.entry.js +0 -113
  404. package/dist/esm/ion-note.entry.js +0 -25
  405. package/dist/esm/ion-select-popover.entry.js +0 -31
  406. package/dist/esm/keyboard-e6abcb80.js +0 -125
  407. package/dist/esm/spinner-configs-aaf2a1a9.js +0 -110
  408. package/dist/esm/swipe-back-d84cfc8a.js +0 -50
  409. package/readme.md +0 -55
@@ -1,15 +1,20 @@
1
1
  'use strict';
2
2
 
3
- const helpers = require('./helpers-398ced09.js');
3
+ const helpers = require('./helpers-cb08f5ae.js');
4
+ const index = require('./index-57b9fa9e.js');
4
5
 
6
+ /*!
7
+ * (C) Ionic http://ionicframework.com - MIT License
8
+ */
5
9
  let animationPrefix;
6
10
  /**
7
11
  * Web Animations requires hyphenated CSS properties
8
12
  * to be written in camelCase when animating
9
13
  */
10
14
  const processKeyframes = (keyframes) => {
11
- keyframes.forEach(keyframe => {
15
+ keyframes.forEach((keyframe) => {
12
16
  for (const key in keyframe) {
17
+ // eslint-disable-next-line no-prototype-builtins
13
18
  if (keyframe.hasOwnProperty(key)) {
14
19
  const value = keyframe[key];
15
20
  if (key === 'easing') {
@@ -36,7 +41,7 @@ const getAnimationPrefix = (el) => {
36
41
  if (animationPrefix === undefined) {
37
42
  const supportsUnprefixed = el.style.animationName !== undefined;
38
43
  const supportsWebkitPrefix = el.style.webkitAnimationName !== undefined;
39
- animationPrefix = (!supportsUnprefixed && supportsWebkitPrefix) ? '-webkit-' : '';
44
+ animationPrefix = !supportsUnprefixed && supportsWebkitPrefix ? '-webkit-' : '';
40
45
  }
41
46
  return animationPrefix;
42
47
  };
@@ -73,37 +78,42 @@ const animationEnd = (el, callback) => {
73
78
  return unregister;
74
79
  };
75
80
  const generateKeyframeRules = (keyframes = []) => {
76
- return keyframes.map(keyframe => {
81
+ return keyframes
82
+ .map((keyframe) => {
77
83
  const offset = keyframe.offset;
78
84
  const frameString = [];
79
85
  for (const property in keyframe) {
86
+ // eslint-disable-next-line no-prototype-builtins
80
87
  if (keyframe.hasOwnProperty(property) && property !== 'offset') {
81
88
  frameString.push(`${property}: ${keyframe[property]};`);
82
89
  }
83
90
  }
84
91
  return `${offset * 100}% { ${frameString.join(' ')} }`;
85
- }).join(' ');
92
+ })
93
+ .join(' ');
86
94
  };
87
95
  const keyframeIds = [];
88
96
  const generateKeyframeName = (keyframeRules) => {
89
97
  let index = keyframeIds.indexOf(keyframeRules);
90
98
  if (index < 0) {
91
- index = (keyframeIds.push(keyframeRules) - 1);
99
+ index = keyframeIds.push(keyframeRules) - 1;
92
100
  }
93
101
  return `ion-animation-${index}`;
94
102
  };
95
103
  const getStyleContainer = (element) => {
96
- const rootNode = element.getRootNode();
97
- return (rootNode.head || rootNode);
104
+ // getRootNode is not always available in SSR environments.
105
+ const rootNode = element.getRootNode !== undefined ? element.getRootNode() : element;
106
+ return rootNode.head || rootNode;
98
107
  };
99
108
  const createKeyframeStylesheet = (keyframeName, keyframeRules, element) => {
109
+ var _a;
100
110
  const styleContainer = getStyleContainer(element);
101
111
  const keyframePrefix = getAnimationPrefix(element);
102
112
  const existingStylesheet = styleContainer.querySelector('#' + keyframeName);
103
113
  if (existingStylesheet) {
104
114
  return existingStylesheet;
105
115
  }
106
- const stylesheet = (element.ownerDocument || document).createElement('style');
116
+ const stylesheet = ((_a = element.ownerDocument) !== null && _a !== void 0 ? _a : document).createElement('style');
107
117
  stylesheet.id = keyframeName;
108
118
  stylesheet.textContent = `@${keyframePrefix}keyframes ${keyframeName} { ${keyframeRules} } @${keyframePrefix}keyframes ${keyframeName}-alt { ${keyframeRules} }`;
109
119
  styleContainer.appendChild(stylesheet);
@@ -111,12 +121,15 @@ const createKeyframeStylesheet = (keyframeName, keyframeRules, element) => {
111
121
  };
112
122
  const addClassToArray = (classes = [], className) => {
113
123
  if (className !== undefined) {
114
- const classNameToAppend = (Array.isArray(className)) ? className : [className];
124
+ const classNameToAppend = Array.isArray(className) ? className : [className];
115
125
  return [...classes, ...classNameToAppend];
116
126
  }
117
127
  return classes;
118
128
  };
119
129
 
130
+ /*!
131
+ * (C) Ionic http://ionicframework.com - MIT License
132
+ */
120
133
  const createAnimation = (animationId) => {
121
134
  let _delay;
122
135
  let _duration;
@@ -145,6 +158,7 @@ const createAnimation = (animationId) => {
145
158
  let shouldCalculateNumAnimations = true;
146
159
  let keyframeName;
147
160
  let ani;
161
+ let paused = false;
148
162
  const id = animationId;
149
163
  const onFinishCallbacks = [];
150
164
  const onFinishOneTimeCallbacks = [];
@@ -156,14 +170,17 @@ const createAnimation = (animationId) => {
156
170
  const _afterAddReadFunctions = [];
157
171
  const _afterAddWriteFunctions = [];
158
172
  const webAnimations = [];
159
- const supportsAnimationEffect = (typeof AnimationEffect === 'function' || typeof window.AnimationEffect === 'function');
160
- const supportsWebAnimations = (typeof Element === 'function') && (typeof Element.prototype.animate === 'function') && supportsAnimationEffect;
173
+ const supportsAnimationEffect = typeof AnimationEffect === 'function' ||
174
+ (index.win !== undefined && typeof index.win.AnimationEffect === 'function');
175
+ const supportsWebAnimations = typeof Element === 'function' &&
176
+ typeof Element.prototype.animate === 'function' &&
177
+ supportsAnimationEffect;
161
178
  const ANIMATION_END_FALLBACK_PADDING_MS = 100;
162
179
  const getWebAnimations = () => {
163
180
  return webAnimations;
164
181
  };
165
182
  const destroy = (clearStyleSheets) => {
166
- childAnimations.forEach(childAnimation => {
183
+ childAnimations.forEach((childAnimation) => {
167
184
  childAnimation.destroy(clearStyleSheets);
168
185
  });
169
186
  cleanUp(clearStyleSheets);
@@ -197,9 +214,13 @@ const createAnimation = (animationId) => {
197
214
  numAnimationsRunning = 0;
198
215
  finished = false;
199
216
  willComplete = true;
217
+ paused = false;
218
+ };
219
+ const isRunning = () => {
220
+ return numAnimationsRunning !== 0 && !paused;
200
221
  };
201
222
  const onFinish = (callback, opts) => {
202
- const callbacks = (opts && opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;
223
+ const callbacks = (opts === null || opts === void 0 ? void 0 : opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;
203
224
  callbacks.push({ c: callback, o: opts });
204
225
  return ani;
205
226
  };
@@ -215,7 +236,7 @@ const createAnimation = (animationId) => {
215
236
  */
216
237
  const cleanUpElements = () => {
217
238
  if (supportsWebAnimations) {
218
- webAnimations.forEach(animation => {
239
+ webAnimations.forEach((animation) => {
219
240
  animation.cancel();
220
241
  });
221
242
  webAnimations.length = 0;
@@ -223,7 +244,7 @@ const createAnimation = (animationId) => {
223
244
  else {
224
245
  const elementsArray = elements.slice();
225
246
  helpers.raf(() => {
226
- elementsArray.forEach(element => {
247
+ elementsArray.forEach((element) => {
227
248
  removeStyleProperty(element, 'animation-name');
228
249
  removeStyleProperty(element, 'animation-duration');
229
250
  removeStyleProperty(element, 'animation-timing-function');
@@ -241,13 +262,13 @@ const createAnimation = (animationId) => {
241
262
  * from the DOM.
242
263
  */
243
264
  const cleanUpStyleSheets = () => {
244
- stylesheets.forEach(stylesheet => {
265
+ stylesheets.forEach((stylesheet) => {
245
266
  /**
246
267
  * When sharing stylesheets, it's possible
247
268
  * for another animation to have already
248
269
  * cleaned up a particular stylesheet
249
270
  */
250
- if (stylesheet && stylesheet.parentNode) {
271
+ if (stylesheet === null || stylesheet === void 0 ? void 0 : stylesheet.parentNode) {
251
272
  stylesheet.parentNode.removeChild(stylesheet);
252
273
  }
253
274
  });
@@ -459,26 +480,47 @@ const createAnimation = (animationId) => {
459
480
  return ani;
460
481
  };
461
482
  const keyframes = (keyframeValues) => {
483
+ const different = _keyframes !== keyframeValues;
462
484
  _keyframes = keyframeValues;
485
+ if (different) {
486
+ updateKeyframes(_keyframes);
487
+ }
463
488
  return ani;
464
489
  };
490
+ const updateKeyframes = (keyframeValues) => {
491
+ if (supportsWebAnimations) {
492
+ getWebAnimations().forEach((animation) => {
493
+ if (animation.effect.setKeyframes) {
494
+ animation.effect.setKeyframes(keyframeValues);
495
+ }
496
+ else {
497
+ const newEffect = new KeyframeEffect(animation.effect.target, keyframeValues, animation.effect.getTiming());
498
+ animation.effect = newEffect;
499
+ }
500
+ });
501
+ }
502
+ else {
503
+ initializeCSSAnimation();
504
+ }
505
+ };
465
506
  /**
466
507
  * Run all "before" animation hooks.
467
508
  */
468
509
  const beforeAnimation = () => {
469
510
  // Runs all before read callbacks
470
- _beforeAddReadFunctions.forEach(callback => callback());
511
+ _beforeAddReadFunctions.forEach((callback) => callback());
471
512
  // Runs all before write callbacks
472
- _beforeAddWriteFunctions.forEach(callback => callback());
513
+ _beforeAddWriteFunctions.forEach((callback) => callback());
473
514
  // Updates styles and classes before animation runs
474
515
  const addClasses = beforeAddClasses;
475
516
  const removeClasses = beforeRemoveClasses;
476
517
  const styles = beforeStylesValue;
477
- elements.forEach(el => {
518
+ elements.forEach((el) => {
478
519
  const elementClassList = el.classList;
479
- addClasses.forEach(c => elementClassList.add(c));
480
- removeClasses.forEach(c => elementClassList.remove(c));
520
+ addClasses.forEach((c) => elementClassList.add(c));
521
+ removeClasses.forEach((c) => elementClassList.remove(c));
481
522
  for (const property in styles) {
523
+ // eslint-disable-next-line no-prototype-builtins
482
524
  if (styles.hasOwnProperty(property)) {
483
525
  setStyleProperty(el, property, styles[property]);
484
526
  }
@@ -491,28 +533,29 @@ const createAnimation = (animationId) => {
491
533
  const afterAnimation = () => {
492
534
  clearCSSAnimationsTimeout();
493
535
  // Runs all after read callbacks
494
- _afterAddReadFunctions.forEach(callback => callback());
536
+ _afterAddReadFunctions.forEach((callback) => callback());
495
537
  // Runs all after write callbacks
496
- _afterAddWriteFunctions.forEach(callback => callback());
538
+ _afterAddWriteFunctions.forEach((callback) => callback());
497
539
  // Updates styles and classes before animation ends
498
540
  const currentStep = willComplete ? 1 : 0;
499
541
  const addClasses = afterAddClasses;
500
542
  const removeClasses = afterRemoveClasses;
501
543
  const styles = afterStylesValue;
502
- elements.forEach(el => {
544
+ elements.forEach((el) => {
503
545
  const elementClassList = el.classList;
504
- addClasses.forEach(c => elementClassList.add(c));
505
- removeClasses.forEach(c => elementClassList.remove(c));
546
+ addClasses.forEach((c) => elementClassList.add(c));
547
+ removeClasses.forEach((c) => elementClassList.remove(c));
506
548
  for (const property in styles) {
549
+ // eslint-disable-next-line no-prototype-builtins
507
550
  if (styles.hasOwnProperty(property)) {
508
551
  setStyleProperty(el, property, styles[property]);
509
552
  }
510
553
  }
511
554
  });
512
- onFinishCallbacks.forEach(onFinishCallback => {
555
+ onFinishCallbacks.forEach((onFinishCallback) => {
513
556
  return onFinishCallback.c(currentStep, ani);
514
557
  });
515
- onFinishOneTimeCallbacks.forEach(onFinishCallback => {
558
+ onFinishOneTimeCallbacks.forEach((onFinishCallback) => {
516
559
  return onFinishCallback.c(currentStep, ani);
517
560
  });
518
561
  onFinishOneTimeCallbacks.length = 0;
@@ -537,10 +580,10 @@ const createAnimation = (animationId) => {
537
580
  const initializeCSSAnimation = (toggleAnimationName = true) => {
538
581
  cleanUpStyleSheets();
539
582
  const processedKeyframes = processKeyframes(_keyframes);
540
- elements.forEach(element => {
583
+ elements.forEach((element) => {
541
584
  if (processedKeyframes.length > 0) {
542
585
  const keyframeRules = generateKeyframeRules(processedKeyframes);
543
- keyframeName = (animationId !== undefined) ? animationId : generateKeyframeName(keyframeRules);
586
+ keyframeName = animationId !== undefined ? animationId : generateKeyframeName(keyframeRules);
544
587
  const stylesheet = createKeyframeStylesheet(keyframeName, keyframeRules, element);
545
588
  stylesheets.push(stylesheet);
546
589
  setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);
@@ -548,9 +591,7 @@ const createAnimation = (animationId) => {
548
591
  setStyleProperty(element, 'animation-delay', `${getDelay()}ms`);
549
592
  setStyleProperty(element, 'animation-fill-mode', getFill());
550
593
  setStyleProperty(element, 'animation-direction', getDirection());
551
- const iterationsCount = (getIterations() === Infinity)
552
- ? 'infinite'
553
- : getIterations().toString();
594
+ const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();
554
595
  setStyleProperty(element, 'animation-iteration-count', iterationsCount);
555
596
  setStyleProperty(element, 'animation-play-state', 'paused');
556
597
  if (toggleAnimationName) {
@@ -563,7 +604,7 @@ const createAnimation = (animationId) => {
563
604
  });
564
605
  };
565
606
  const initializeWebAnimation = () => {
566
- elements.forEach(element => {
607
+ elements.forEach((element) => {
567
608
  const animation = element.animate(_keyframes, {
568
609
  id,
569
610
  delay: getDelay(),
@@ -571,7 +612,7 @@ const createAnimation = (animationId) => {
571
612
  easing: getEasing(),
572
613
  iterations: getIterations(),
573
614
  fill: getFill(),
574
- direction: getDirection()
615
+ direction: getDirection(),
575
616
  });
576
617
  animation.pause();
577
618
  webAnimations.push(animation);
@@ -597,14 +638,14 @@ const createAnimation = (animationId) => {
597
638
  const setAnimationStep = (step) => {
598
639
  step = Math.min(Math.max(step, 0), 0.9999);
599
640
  if (supportsWebAnimations) {
600
- webAnimations.forEach(animation => {
601
- animation.currentTime = animation.effect.getComputedTiming().delay + (getDuration() * step);
641
+ webAnimations.forEach((animation) => {
642
+ animation.currentTime = animation.effect.getComputedTiming().delay + getDuration() * step;
602
643
  animation.pause();
603
644
  });
604
645
  }
605
646
  else {
606
647
  const animationDuration = `-${getDuration() * step}ms`;
607
- elements.forEach(element => {
648
+ elements.forEach((element) => {
608
649
  if (_keyframes.length > 0) {
609
650
  setStyleProperty(element, 'animation-delay', animationDuration);
610
651
  setStyleProperty(element, 'animation-play-state', 'paused');
@@ -613,14 +654,14 @@ const createAnimation = (animationId) => {
613
654
  }
614
655
  };
615
656
  const updateWebAnimation = (step) => {
616
- webAnimations.forEach(animation => {
657
+ webAnimations.forEach((animation) => {
617
658
  animation.effect.updateTiming({
618
659
  delay: getDelay(),
619
660
  duration: getDuration(),
620
661
  easing: getEasing(),
621
662
  iterations: getIterations(),
622
663
  fill: getFill(),
623
- direction: getDirection()
664
+ direction: getDirection(),
624
665
  });
625
666
  });
626
667
  if (step !== undefined) {
@@ -629,16 +670,14 @@ const createAnimation = (animationId) => {
629
670
  };
630
671
  const updateCSSAnimation = (toggleAnimationName = true, step) => {
631
672
  helpers.raf(() => {
632
- elements.forEach(element => {
673
+ elements.forEach((element) => {
633
674
  setStyleProperty(element, 'animation-name', keyframeName || null);
634
675
  setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);
635
676
  setStyleProperty(element, 'animation-timing-function', getEasing());
636
- setStyleProperty(element, 'animation-delay', (step !== undefined) ? `-${step * getDuration()}ms` : `${getDelay()}ms`);
677
+ setStyleProperty(element, 'animation-delay', step !== undefined ? `-${step * getDuration()}ms` : `${getDelay()}ms`);
637
678
  setStyleProperty(element, 'animation-fill-mode', getFill() || null);
638
679
  setStyleProperty(element, 'animation-direction', getDirection() || null);
639
- const iterationsCount = (getIterations() === Infinity)
640
- ? 'infinite'
641
- : getIterations().toString();
680
+ const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();
642
681
  setStyleProperty(element, 'animation-iteration-count', iterationsCount);
643
682
  if (toggleAnimationName) {
644
683
  setStyleProperty(element, 'animation-name', `${keyframeName}-alt`);
@@ -651,7 +690,7 @@ const createAnimation = (animationId) => {
651
690
  };
652
691
  const update = (deep = false, toggleAnimationName = true, step) => {
653
692
  if (deep) {
654
- childAnimations.forEach(animation => {
693
+ childAnimations.forEach((animation) => {
655
694
  animation.update(deep, toggleAnimationName, step);
656
695
  });
657
696
  }
@@ -664,7 +703,7 @@ const createAnimation = (animationId) => {
664
703
  return ani;
665
704
  };
666
705
  const progressStart = (forceLinearEasing = false, step) => {
667
- childAnimations.forEach(animation => {
706
+ childAnimations.forEach((animation) => {
668
707
  animation.progressStart(forceLinearEasing, step);
669
708
  });
670
709
  pauseAnimation();
@@ -672,13 +711,11 @@ const createAnimation = (animationId) => {
672
711
  if (!initialized) {
673
712
  initializeAnimation();
674
713
  }
675
- else {
676
- update(false, true, step);
677
- }
714
+ update(false, true, step);
678
715
  return ani;
679
716
  };
680
717
  const progressStep = (step) => {
681
- childAnimations.forEach(animation => {
718
+ childAnimations.forEach((animation) => {
682
719
  animation.progressStep(step);
683
720
  });
684
721
  setAnimationStep(step);
@@ -686,17 +723,16 @@ const createAnimation = (animationId) => {
686
723
  };
687
724
  const progressEnd = (playTo, step, dur) => {
688
725
  shouldForceLinearEasing = false;
689
- childAnimations.forEach(animation => {
726
+ childAnimations.forEach((animation) => {
690
727
  animation.progressEnd(playTo, step, dur);
691
728
  });
692
729
  if (dur !== undefined) {
693
730
  forceDurationValue = dur;
694
731
  }
695
732
  finished = false;
696
- // tslint:disable-next-line: strict-boolean-conditions
697
733
  willComplete = true;
698
734
  if (playTo === 0) {
699
- forceDirectionValue = (getDirection() === 'reverse') ? 'normal' : 'reverse';
735
+ forceDirectionValue = getDirection() === 'reverse' ? 'normal' : 'reverse';
700
736
  if (forceDirectionValue === 'reverse') {
701
737
  willComplete = false;
702
738
  }
@@ -705,7 +741,7 @@ const createAnimation = (animationId) => {
705
741
  setAnimationStep(1 - step);
706
742
  }
707
743
  else {
708
- forceDelayValue = ((1 - step) * getDuration()) * -1;
744
+ forceDelayValue = (1 - step) * getDuration() * -1;
709
745
  update(false, false);
710
746
  }
711
747
  }
@@ -715,7 +751,7 @@ const createAnimation = (animationId) => {
715
751
  setAnimationStep(step);
716
752
  }
717
753
  else {
718
- forceDelayValue = (step * getDuration()) * -1;
754
+ forceDelayValue = step * getDuration() * -1;
719
755
  update(false, false);
720
756
  }
721
757
  }
@@ -725,7 +761,7 @@ const createAnimation = (animationId) => {
725
761
  forceDirectionValue = undefined;
726
762
  forceDelayValue = undefined;
727
763
  }, {
728
- oneTimeCallback: true
764
+ oneTimeCallback: true,
729
765
  });
730
766
  if (!parentAnimation) {
731
767
  play();
@@ -736,19 +772,20 @@ const createAnimation = (animationId) => {
736
772
  const pauseAnimation = () => {
737
773
  if (initialized) {
738
774
  if (supportsWebAnimations) {
739
- webAnimations.forEach(animation => {
775
+ webAnimations.forEach((animation) => {
740
776
  animation.pause();
741
777
  });
742
778
  }
743
779
  else {
744
- elements.forEach(element => {
780
+ elements.forEach((element) => {
745
781
  setStyleProperty(element, 'animation-play-state', 'paused');
746
782
  });
747
783
  }
784
+ paused = true;
748
785
  }
749
786
  };
750
787
  const pause = () => {
751
- childAnimations.forEach(animation => {
788
+ childAnimations.forEach((animation) => {
752
789
  animation.pause();
753
790
  });
754
791
  pauseAnimation();
@@ -766,7 +803,7 @@ const createAnimation = (animationId) => {
766
803
  const playCSSAnimations = () => {
767
804
  clearCSSAnimationsTimeout();
768
805
  helpers.raf(() => {
769
- elements.forEach(element => {
806
+ elements.forEach((element) => {
770
807
  if (_keyframes.length > 0) {
771
808
  setStyleProperty(element, 'animation-play-state', 'running');
772
809
  }
@@ -789,7 +826,7 @@ const createAnimation = (animationId) => {
789
826
  const animationIterations = getIterations() || 1;
790
827
  // No need to set a timeout when animation has infinite iterations
791
828
  if (isFinite(animationIterations)) {
792
- cssAnimationsTimerFallback = setTimeout(onAnimationEndFallback, animationDelay + (animationDuration * animationIterations) + ANIMATION_END_FALLBACK_PADDING_MS);
829
+ cssAnimationsTimerFallback = setTimeout(onAnimationEndFallback, animationDelay + animationDuration * animationIterations + ANIMATION_END_FALLBACK_PADDING_MS);
793
830
  }
794
831
  animationEnd(elements[0], () => {
795
832
  clearCSSAnimationsTimeout();
@@ -801,8 +838,6 @@ const createAnimation = (animationId) => {
801
838
  * may be flickering if a new
802
839
  * animation is started on the same
803
840
  * element too quickly
804
- *
805
- * TODO: Is there a cleaner way to do this?
806
841
  */
807
842
  helpers.raf(() => {
808
843
  clearCSSAnimationPlayState();
@@ -812,14 +847,14 @@ const createAnimation = (animationId) => {
812
847
  }
813
848
  };
814
849
  const clearCSSAnimationPlayState = () => {
815
- elements.forEach(element => {
850
+ elements.forEach((element) => {
816
851
  removeStyleProperty(element, 'animation-duration');
817
852
  removeStyleProperty(element, 'animation-delay');
818
853
  removeStyleProperty(element, 'animation-play-state');
819
854
  });
820
855
  };
821
856
  const playWebAnimations = () => {
822
- webAnimations.forEach(animation => {
857
+ webAnimations.forEach((animation) => {
823
858
  animation.play();
824
859
  });
825
860
  if (_keyframes.length === 0 || elements.length === 0) {
@@ -836,10 +871,10 @@ const createAnimation = (animationId) => {
836
871
  }
837
872
  };
838
873
  const play = (opts) => {
839
- return new Promise(resolve => {
840
- if (opts && opts.sync) {
874
+ return new Promise((resolve) => {
875
+ if (opts === null || opts === void 0 ? void 0 : opts.sync) {
841
876
  shouldForceSyncPlayback = true;
842
- onFinish(() => shouldForceSyncPlayback = false, { oneTimeCallback: true });
877
+ onFinish(() => (shouldForceSyncPlayback = false), { oneTimeCallback: true });
843
878
  }
844
879
  if (!initialized) {
845
880
  initializeAnimation();
@@ -853,7 +888,7 @@ const createAnimation = (animationId) => {
853
888
  shouldCalculateNumAnimations = false;
854
889
  }
855
890
  onFinish(() => resolve(), { oneTimeCallback: true });
856
- childAnimations.forEach(animation => {
891
+ childAnimations.forEach((animation) => {
857
892
  animation.play();
858
893
  });
859
894
  if (supportsWebAnimations) {
@@ -862,10 +897,11 @@ const createAnimation = (animationId) => {
862
897
  else {
863
898
  playCSSAnimations();
864
899
  }
900
+ paused = false;
865
901
  });
866
902
  };
867
903
  const stop = () => {
868
- childAnimations.forEach(animation => {
904
+ childAnimations.forEach((animation) => {
869
905
  animation.stop();
870
906
  });
871
907
  if (initialized) {
@@ -880,10 +916,7 @@ const createAnimation = (animationId) => {
880
916
  firstFrame[property] = value;
881
917
  }
882
918
  else {
883
- _keyframes = [
884
- { offset: 0, [property]: value },
885
- ..._keyframes
886
- ];
919
+ _keyframes = [{ offset: 0, [property]: value }, ..._keyframes];
887
920
  }
888
921
  return ani;
889
922
  };
@@ -893,17 +926,14 @@ const createAnimation = (animationId) => {
893
926
  lastFrame[property] = value;
894
927
  }
895
928
  else {
896
- _keyframes = [
897
- ..._keyframes,
898
- { offset: 1, [property]: value }
899
- ];
929
+ _keyframes = [..._keyframes, { offset: 1, [property]: value }];
900
930
  }
901
931
  return ani;
902
932
  };
903
933
  const fromTo = (property, fromValue, toValue) => {
904
934
  return from(property, fromValue).to(property, toValue);
905
935
  };
906
- return ani = {
936
+ return (ani = {
907
937
  parentAnimation,
908
938
  elements,
909
939
  childAnimations,
@@ -948,10 +978,11 @@ const createAnimation = (animationId) => {
948
978
  beforeRemoveClass,
949
979
  beforeAddClass,
950
980
  onFinish,
981
+ isRunning,
951
982
  progressStart,
952
983
  progressStep,
953
- progressEnd
954
- };
984
+ progressEnd,
985
+ });
955
986
  };
956
987
 
957
988
  exports.createAnimation = createAnimation;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const ionicGlobal = require('./ionic-global-56e10eb5.js');
3
+ const ionicGlobal = require('./ionic-global-f2d95fd3.js');
4
4
 
5
5
  const globalScripts = () => {
6
6
  ionicGlobal.initialize();
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ /*!
4
+ * (C) Ionic http://ionicframework.com - MIT License
5
+ */
3
6
  /**
4
7
  * Based on:
5
8
  * https://stackoverflow.com/questions/7348009/y-coordinate-for-a-given-x-cubic-bezier
6
9
  * https://math.stackexchange.com/questions/26846/is-there-an-explicit-form-for-cubic-b%C3%A9zier-curves
7
- * TODO: Reduce rounding error
8
10
  */
9
11
  /**
10
12
  * EXPERIMENTAL
@@ -20,7 +22,7 @@
20
22
  * provided progression, this function will return an empty array.
21
23
  */
22
24
  const getTimeGivenProgression = (p0, p1, p2, p3, progression) => {
23
- return solveCubicBezier(p0[1], p1[1], p2[1], p3[1], progression).map(tValue => {
25
+ return solveCubicBezier(p0[1], p1[1], p2[1], p3[1], progression).map((tValue) => {
24
26
  return solveCubicParametricEquation(p0[0], p1[0], p2[0], p3[0], tValue);
25
27
  });
26
28
  };
@@ -28,10 +30,10 @@ const getTimeGivenProgression = (p0, p1, p2, p3, progression) => {
28
30
  * Solve a cubic equation in one dimension (time)
29
31
  */
30
32
  const solveCubicParametricEquation = (p0, p1, p2, p3, t) => {
31
- const partA = (3 * p1) * Math.pow(t - 1, 2);
32
- const partB = (-3 * p2 * t) + (3 * p2) + (p3 * t);
33
+ const partA = 3 * p1 * Math.pow(t - 1, 2);
34
+ const partB = -3 * p2 * t + 3 * p2 + p3 * t;
33
35
  const partC = p0 * Math.pow(t - 1, 3);
34
- return t * (partA + (t * partB)) - partC;
36
+ return t * (partA + t * partB) - partC;
35
37
  };
36
38
  /**
37
39
  * Find the `t` value for a cubic bezier using Cardano's formula
@@ -42,7 +44,7 @@ const solveCubicBezier = (p0, p1, p2, p3, refPoint) => {
42
44
  p2 -= refPoint;
43
45
  p3 -= refPoint;
44
46
  const roots = solveCubicEquation(p3 - 3 * p2 + 3 * p1 - p0, 3 * p2 - 6 * p1 + 3 * p0, 3 * p1 - 3 * p0, p0);
45
- return roots.filter(root => root >= 0 && root <= 1);
47
+ return roots.filter((root) => root >= 0 && root <= 1);
46
48
  };
47
49
  const solveQuadraticEquation = (a, b, c) => {
48
50
  const discriminant = b * b - 4 * a * c;
@@ -50,10 +52,7 @@ const solveQuadraticEquation = (a, b, c) => {
50
52
  return [];
51
53
  }
52
54
  else {
53
- return [
54
- (-b + Math.sqrt(discriminant)) / (2 * a),
55
- (-b - Math.sqrt(discriminant)) / (2 * a)
56
- ];
55
+ return [(-b + Math.sqrt(discriminant)) / (2 * a), (-b - Math.sqrt(discriminant)) / (2 * a)];
57
56
  }
58
57
  };
59
58
  const solveCubicEquation = (a, b, c, d) => {
@@ -76,7 +75,9 @@ const solveCubicEquation = (a, b, c, d) => {
76
75
  return [Math.pow(q / 2, 1 / 2) - b / 3];
77
76
  }
78
77
  else if (discriminant > 0) {
79
- return [Math.pow(-(q / 2) + Math.sqrt(discriminant), 1 / 3) - Math.pow((q / 2) + Math.sqrt(discriminant), 1 / 3) - b / 3];
78
+ return [
79
+ Math.pow(-(q / 2) + Math.sqrt(discriminant), 1 / 3) - Math.pow(q / 2 + Math.sqrt(discriminant), 1 / 3) - b / 3,
80
+ ];
80
81
  }
81
82
  const r = Math.sqrt(Math.pow(-(p / 3), 3));
82
83
  const phi = Math.acos(-(q / (2 * Math.sqrt(Math.pow(-(p / 3), 3)))));
@@ -84,7 +85,7 @@ const solveCubicEquation = (a, b, c, d) => {
84
85
  return [
85
86
  s * Math.cos(phi / 3) - b / 3,
86
87
  s * Math.cos((phi + 2 * Math.PI) / 3) - b / 3,
87
- s * Math.cos((phi + 4 * Math.PI) / 3) - b / 3
88
+ s * Math.cos((phi + 4 * Math.PI) / 3) - b / 3,
88
89
  ];
89
90
  };
90
91