@ionic/core 8.3.1-dev.11726172907.15a1af41 → 8.3.1-dev.11726241210.1ab7a0ab

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 (533) hide show
  1. package/components/animation.js +1 -1
  2. package/components/button.js +2 -1
  3. package/components/capacitor.js +1 -1
  4. package/components/data.js +1 -1
  5. package/components/focus-visible.js +1 -8
  6. package/components/hardware-back-button.js +115 -0
  7. package/components/index2.js +2 -1
  8. package/components/index4.js +4 -1
  9. package/components/index5.js +3 -27
  10. package/components/index6.js +20 -114
  11. package/components/index7.js +27 -163
  12. package/components/index8.js +128 -0
  13. package/components/index9.js +167 -0
  14. package/components/input-shims.js +2 -2
  15. package/components/input.utils.js +2 -1
  16. package/components/ion-accordion-group.js +2 -1
  17. package/components/ion-accordion.js +1 -1
  18. package/components/ion-app.js +75 -6
  19. package/components/ion-back-button.js +1 -1
  20. package/components/ion-breadcrumb.js +1 -1
  21. package/components/ion-datetime-button.js +2 -1
  22. package/components/ion-datetime.js +3 -2
  23. package/components/ion-fab-button.js +1 -1
  24. package/components/ion-footer.js +1 -1
  25. package/components/ion-header.js +1 -1
  26. package/components/ion-infinite-scroll.js +1 -1
  27. package/components/ion-input-password-toggle.js +3 -2
  28. package/components/ion-input.js +1 -1
  29. package/components/ion-item-sliding.js +1 -1
  30. package/components/ion-menu-button.js +1 -1
  31. package/components/ion-menu.js +2 -1
  32. package/components/ion-modal.js +4 -2
  33. package/components/ion-nav.js +2 -1
  34. package/components/ion-picker-legacy.js +2 -1
  35. package/components/ion-range.js +3 -2
  36. package/components/ion-refresher-content.js +1 -1
  37. package/components/ion-refresher.js +1 -1
  38. package/components/ion-reorder-group.js +1 -1
  39. package/components/ion-reorder.js +1 -1
  40. package/components/ion-searchbar.js +1 -1
  41. package/components/ion-select.js +1 -1
  42. package/components/ion-toast.js +3 -1
  43. package/components/ion-toggle.js +1 -1
  44. package/components/ionic-global.js +2 -219
  45. package/components/item.js +1 -1
  46. package/components/keyboard-controller.js +1 -1
  47. package/components/notch-controller.js +1 -1
  48. package/components/overlays.js +4 -1
  49. package/components/picker-column.js +2 -1
  50. package/components/popover.js +2 -1
  51. package/components/status-tap.js +1 -1
  52. package/dist/cjs/{animation-f43e6366.js → animation-b4fdf128.js} +2 -2
  53. package/dist/cjs/{app-globals-aa7aec45.js → app-globals-2cfd442b.js} +1 -1
  54. package/dist/cjs/{button-active-1164881e.js → button-active-1a40c735.js} +1 -1
  55. package/dist/cjs/{capacitor-094870c0.js → capacitor-c04564bf.js} +3 -3
  56. package/dist/cjs/{data-c6182804.js → data-21dc0f81.js} +3 -3
  57. package/dist/cjs/{focus-visible-ca81ce81.js → focus-visible-7a0ce04f.js} +0 -8
  58. package/dist/cjs/{haptic-188baa8e.js → haptic-f6b37aa3.js} +1 -1
  59. package/dist/cjs/hardware-back-button-1f867b1e.js +122 -0
  60. package/dist/cjs/index-5915f9b3.js +38 -0
  61. package/dist/cjs/{index-b3550209.js → index-5b6a7459.js} +2 -2
  62. package/dist/cjs/{index-60f4c4b4.js → index-9509ecad.js} +6 -7
  63. package/dist/cjs/{index-23381b18.js → index-9bdd4f2a.js} +8 -7
  64. package/dist/cjs/{index-afc28d19.js → index-c170694d.js} +9 -6
  65. package/dist/cjs/index-c8d52405.js +10 -0
  66. package/dist/cjs/index.cjs.js +10 -7
  67. package/dist/cjs/{input-shims-833981ee.js → input-shims-9e59ef62.js} +16 -16
  68. package/dist/cjs/{input.utils-a4020823.js → input.utils-611cde0b.js} +4 -3
  69. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -2
  70. package/dist/cjs/ion-action-sheet.cjs.entry.js +9 -6
  71. package/dist/cjs/ion-alert.cjs.entry.js +9 -6
  72. package/dist/cjs/ion-app_8.cjs.entry.js +90 -20
  73. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  74. package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
  75. package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
  76. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
  77. package/dist/cjs/ion-button_2.cjs.entry.js +5 -4
  78. package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
  79. package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
  80. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  81. package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
  82. package/dist/cjs/ion-datetime-button.cjs.entry.js +7 -6
  83. package/dist/cjs/ion-datetime_3.cjs.entry.js +97 -94
  84. package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
  85. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  86. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -2
  87. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +7 -6
  88. package/dist/cjs/ion-input.cjs.entry.js +5 -3
  89. package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -2
  90. package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
  91. package/dist/cjs/ion-loading.cjs.entry.js +6 -3
  92. package/dist/cjs/ion-menu_3.cjs.entry.js +8 -5
  93. package/dist/cjs/ion-modal.cjs.entry.js +50 -47
  94. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -2
  95. package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
  96. package/dist/cjs/ion-picker-column.cjs.entry.js +5 -4
  97. package/dist/cjs/ion-popover.cjs.entry.js +10 -7
  98. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  99. package/dist/cjs/ion-radio_2.cjs.entry.js +1 -1
  100. package/dist/cjs/ion-range.cjs.entry.js +8 -7
  101. package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -5
  102. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -4
  103. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  104. package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
  105. package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
  106. package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
  107. package/dist/cjs/ion-select_3.cjs.entry.js +6 -3
  108. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  109. package/dist/cjs/ion-split-pane.cjs.entry.js +1 -1
  110. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -4
  111. package/dist/cjs/ion-text.cjs.entry.js +1 -1
  112. package/dist/cjs/ion-textarea.cjs.entry.js +5 -3
  113. package/dist/cjs/ion-toast.cjs.entry.js +32 -29
  114. package/dist/cjs/ion-toggle.cjs.entry.js +4 -3
  115. package/dist/cjs/ionic-global-86430f67.js +237 -0
  116. package/dist/cjs/ionic.cjs.js +2 -2
  117. package/dist/cjs/{ios.transition-dac99bf0.js → ios.transition-ac67e283.js} +5 -3
  118. package/dist/cjs/{keyboard-6d170faf.js → keyboard-0272231f.js} +1 -1
  119. package/dist/cjs/{keyboard-c79a662b.js → keyboard-af1bb365.js} +3 -4
  120. package/dist/cjs/{keyboard-controller-a6533765.js → keyboard-controller-c05e747a.js} +9 -9
  121. package/dist/cjs/loader.cjs.js +2 -2
  122. package/dist/cjs/{md.transition-65b7c8b6.js → md.transition-8ceb4e1a.js} +5 -3
  123. package/dist/cjs/{notch-controller-b33a54ec.js → notch-controller-d69150f5.js} +3 -3
  124. package/dist/cjs/{overlays-44027b72.js → overlays-4451d3fc.js} +12 -9
  125. package/dist/cjs/{status-tap-643bbfa4.js → status-tap-e52a48f8.js} +2 -2
  126. package/dist/collection/components/app/app.js +75 -5
  127. package/dist/collection/components/input/input.js +1 -1
  128. package/dist/collection/components/searchbar/searchbar.js +1 -1
  129. package/dist/collection/global/ionic-global.js +1 -70
  130. package/dist/collection/utils/focus-visible.js +0 -7
  131. package/dist/docs.json +107 -107
  132. package/dist/esm/{animation-840e1209.js → animation-eab5a4ca.js} +1 -1
  133. package/dist/esm/{app-globals-537d56c1.js → app-globals-b9f6e516.js} +1 -1
  134. package/dist/esm/{button-active-dba2328e.js → button-active-13c37337.js} +1 -1
  135. package/dist/esm/{capacitor-fcd09564.js → capacitor-59395cbd.js} +1 -1
  136. package/dist/esm/{data-8389220e.js → data-ae11fd43.js} +1 -1
  137. package/dist/esm/{focus-visible-b960316e.js → focus-visible-dd40d69f.js} +1 -8
  138. package/dist/esm/{haptic-6d16c679.js → haptic-ac164e4c.js} +1 -1
  139. package/dist/esm/hardware-back-button-8e2c1354.js +116 -0
  140. package/dist/esm/{index-40662748.js → index-5cc724f3.js} +1 -1
  141. package/dist/esm/{index-3f9b7dcc.js → index-79b30591.js} +1 -2
  142. package/dist/esm/{index-a4bd9891.js → index-8579e7fd.js} +4 -3
  143. package/dist/esm/{index-07e10d19.js → index-97b0ab3f.js} +5 -2
  144. package/dist/esm/index-9b0d46f4.js +34 -0
  145. package/dist/esm/index-a5d50daf.js +7 -0
  146. package/dist/esm/index.js +10 -7
  147. package/dist/esm/{input-shims-d4681aea.js → input-shims-0314bbe5.js} +5 -5
  148. package/dist/esm/{input.utils-c7e363b4.js → input.utils-09c71bc7.js} +2 -1
  149. package/dist/esm/ion-accordion_2.entry.js +2 -1
  150. package/dist/esm/ion-action-sheet.entry.js +9 -6
  151. package/dist/esm/ion-alert.entry.js +9 -6
  152. package/dist/esm/ion-app_8.entry.js +80 -10
  153. package/dist/esm/ion-avatar_3.entry.js +1 -1
  154. package/dist/esm/ion-back-button.entry.js +1 -1
  155. package/dist/esm/ion-backdrop.entry.js +1 -1
  156. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  157. package/dist/esm/ion-button_2.entry.js +2 -1
  158. package/dist/esm/ion-card_5.entry.js +1 -1
  159. package/dist/esm/ion-checkbox.entry.js +1 -1
  160. package/dist/esm/ion-chip.entry.js +1 -1
  161. package/dist/esm/ion-col_3.entry.js +1 -1
  162. package/dist/esm/ion-datetime-button.entry.js +3 -2
  163. package/dist/esm/ion-datetime_3.entry.js +10 -7
  164. package/dist/esm/ion-fab_3.entry.js +1 -1
  165. package/dist/esm/ion-img.entry.js +1 -1
  166. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -2
  167. package/dist/esm/ion-input-password-toggle.entry.js +2 -1
  168. package/dist/esm/ion-input.entry.js +5 -3
  169. package/dist/esm/ion-item-option_3.entry.js +3 -2
  170. package/dist/esm/ion-item_8.entry.js +1 -1
  171. package/dist/esm/ion-loading.entry.js +6 -3
  172. package/dist/esm/ion-menu_3.entry.js +7 -4
  173. package/dist/esm/ion-modal.entry.js +11 -8
  174. package/dist/esm/ion-nav_2.entry.js +3 -2
  175. package/dist/esm/ion-picker-column-option.entry.js +1 -1
  176. package/dist/esm/ion-picker-column.entry.js +4 -3
  177. package/dist/esm/ion-popover.entry.js +7 -4
  178. package/dist/esm/ion-progress-bar.entry.js +1 -1
  179. package/dist/esm/ion-radio_2.entry.js +1 -1
  180. package/dist/esm/ion-range.entry.js +3 -2
  181. package/dist/esm/ion-refresher_2.entry.js +7 -5
  182. package/dist/esm/ion-reorder_2.entry.js +6 -4
  183. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  184. package/dist/esm/ion-route_4.entry.js +1 -1
  185. package/dist/esm/ion-searchbar.entry.js +1 -1
  186. package/dist/esm/ion-segment_2.entry.js +1 -1
  187. package/dist/esm/ion-select_3.entry.js +6 -3
  188. package/dist/esm/ion-spinner.entry.js +1 -1
  189. package/dist/esm/ion-split-pane.entry.js +1 -1
  190. package/dist/esm/ion-tab-bar_2.entry.js +5 -4
  191. package/dist/esm/ion-text.entry.js +1 -1
  192. package/dist/esm/ion-textarea.entry.js +5 -3
  193. package/dist/esm/ion-toast.entry.js +6 -3
  194. package/dist/esm/ion-toggle.entry.js +4 -3
  195. package/dist/esm/ionic-global-8f9440ec.js +231 -0
  196. package/dist/esm/ionic.js +2 -2
  197. package/dist/esm/{ios.transition-e50705d1.js → ios.transition-beb96e76.js} +5 -3
  198. package/dist/esm/{keyboard-630cb801.js → keyboard-52278bd7.js} +3 -4
  199. package/dist/esm/{keyboard-f89a5eae.js → keyboard-73175e24.js} +1 -1
  200. package/dist/esm/{keyboard-controller-00b92ab3.js → keyboard-controller-ec5c2bfa.js} +2 -2
  201. package/dist/esm/loader.js +2 -2
  202. package/dist/esm/{md.transition-58674b20.js → md.transition-d5aa5703.js} +5 -3
  203. package/dist/esm/{notch-controller-e45ab374.js → notch-controller-55b09e11.js} +1 -1
  204. package/dist/esm/{overlays-a2dfa4a7.js → overlays-2ea57630.js} +4 -1
  205. package/dist/esm/{status-tap-a9f0d61d.js → status-tap-a264a37f.js} +2 -2
  206. package/dist/esm-es5/animation-eab5a4ca.js +4 -0
  207. package/dist/esm-es5/app-globals-b9f6e516.js +4 -0
  208. package/dist/esm-es5/{button-active-dba2328e.js → button-active-13c37337.js} +1 -1
  209. package/dist/esm-es5/capacitor-59395cbd.js +4 -0
  210. package/dist/esm-es5/data-ae11fd43.js +4 -0
  211. package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
  212. package/dist/esm-es5/{haptic-6d16c679.js → haptic-ac164e4c.js} +1 -1
  213. package/dist/esm-es5/hardware-back-button-8e2c1354.js +4 -0
  214. package/dist/esm-es5/index-5cc724f3.js +4 -0
  215. package/dist/esm-es5/index-79b30591.js +4 -0
  216. package/dist/esm-es5/index-8579e7fd.js +4 -0
  217. package/dist/esm-es5/index-97b0ab3f.js +4 -0
  218. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  219. package/dist/esm-es5/index-a5d50daf.js +4 -0
  220. package/dist/esm-es5/index.js +1 -1
  221. package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
  222. package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
  223. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  224. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  225. package/dist/esm-es5/ion-alert.entry.js +1 -1
  226. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  227. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  228. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  229. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  230. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  231. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  232. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  233. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  234. package/dist/esm-es5/ion-chip.entry.js +1 -1
  235. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  236. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  237. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  238. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  239. package/dist/esm-es5/ion-img.entry.js +1 -1
  240. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  241. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  242. package/dist/esm-es5/ion-input.entry.js +1 -1
  243. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  244. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  245. package/dist/esm-es5/ion-loading.entry.js +1 -1
  246. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  247. package/dist/esm-es5/ion-modal.entry.js +1 -1
  248. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  249. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  250. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  251. package/dist/esm-es5/ion-popover.entry.js +1 -1
  252. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  253. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  254. package/dist/esm-es5/ion-range.entry.js +1 -1
  255. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  256. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  257. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  258. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  259. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  260. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  261. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  262. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  263. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  264. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  265. package/dist/esm-es5/ion-text.entry.js +1 -1
  266. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  267. package/dist/esm-es5/ion-toast.entry.js +1 -1
  268. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  269. package/dist/esm-es5/ionic-global-8f9440ec.js +4 -0
  270. package/dist/esm-es5/ionic.js +1 -1
  271. package/dist/esm-es5/ios.transition-beb96e76.js +4 -0
  272. package/dist/esm-es5/keyboard-52278bd7.js +4 -0
  273. package/dist/esm-es5/{keyboard-f89a5eae.js → keyboard-73175e24.js} +1 -1
  274. package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
  275. package/dist/esm-es5/loader.js +1 -1
  276. package/dist/esm-es5/md.transition-d5aa5703.js +4 -0
  277. package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
  278. package/dist/esm-es5/overlays-2ea57630.js +4 -0
  279. package/dist/esm-es5/status-tap-a264a37f.js +4 -0
  280. package/dist/html.html-data.json +102 -102
  281. package/dist/ionic/index.esm.js +1 -1
  282. package/dist/ionic/ionic.esm.js +1 -1
  283. package/dist/ionic/ionic.js +1 -1
  284. package/dist/ionic/{p-ca2083bc.system.entry.js → p-0065a3d0.system.entry.js} +1 -1
  285. package/dist/ionic/{p-47c92e81.js → p-06e58c4e.js} +1 -1
  286. package/dist/ionic/p-06fbb310.entry.js +4 -0
  287. package/dist/ionic/p-06fee233.js +4 -0
  288. package/dist/ionic/p-08cfccad.js +4 -0
  289. package/dist/ionic/p-0c06e09b.system.js +4 -0
  290. package/dist/ionic/p-11810112.system.entry.js +4 -0
  291. package/dist/ionic/p-1277436d.system.entry.js +4 -0
  292. package/dist/ionic/p-14c81a66.system.js +4 -0
  293. package/dist/ionic/p-15ef22b3.system.entry.js +4 -0
  294. package/dist/ionic/p-16917251.entry.js +4 -0
  295. package/dist/ionic/p-184f2f63.system.entry.js +4 -0
  296. package/dist/ionic/{p-eae596b8.system.js → p-19ea7bff.system.js} +1 -1
  297. package/dist/ionic/{p-ddd6d918.entry.js → p-1b57577b.entry.js} +1 -1
  298. package/dist/ionic/p-1cacb881.system.entry.js +4 -0
  299. package/dist/ionic/p-1d3ea8c1.entry.js +4 -0
  300. package/dist/ionic/{p-6c810800.system.js → p-1dfc11b3.system.js} +1 -1
  301. package/dist/ionic/p-1dfe9aa7.entry.js +4 -0
  302. package/dist/ionic/{p-c1c1b3c1.system.entry.js → p-1e1b3d99.system.entry.js} +1 -1
  303. package/dist/ionic/p-1e4371bd.js +4 -0
  304. package/dist/ionic/{p-1253d402.entry.js → p-1f772e46.entry.js} +1 -1
  305. package/dist/ionic/p-2056f176.js +4 -0
  306. package/dist/ionic/{p-00c9cfa0.entry.js → p-21904499.entry.js} +1 -1
  307. package/dist/ionic/{p-9ea9eef2.entry.js → p-23e0cd37.entry.js} +1 -1
  308. package/dist/ionic/p-2690b1de.js +4 -0
  309. package/dist/ionic/{p-845c8117.js → p-27281edd.js} +1 -1
  310. package/dist/ionic/{p-ad4a3c01.system.js → p-289d16f5.system.js} +1 -1
  311. package/dist/ionic/p-2afb9310.entry.js +4 -0
  312. package/dist/ionic/{p-3ef8ff43.entry.js → p-2b37f5bd.entry.js} +1 -1
  313. package/dist/ionic/p-2b7827c7.js +4 -0
  314. package/dist/ionic/p-2d93a7e5.system.js +4 -0
  315. package/dist/ionic/p-2de64a3f.system.entry.js +4 -0
  316. package/dist/ionic/p-303f64cd.entry.js +4 -0
  317. package/dist/ionic/p-330d7e08.entry.js +4 -0
  318. package/dist/ionic/p-34a6b5a7.entry.js +4 -0
  319. package/dist/ionic/{p-809941d0.js → p-34b11c24.js} +1 -1
  320. package/dist/ionic/p-382345db.system.entry.js +4 -0
  321. package/dist/ionic/{p-e4f401d7.entry.js → p-3ba261ac.entry.js} +1 -1
  322. package/dist/ionic/{p-cd6bd33e.entry.js → p-3d9ecf70.entry.js} +1 -1
  323. package/dist/ionic/{p-3657cf1a.system.entry.js → p-4384e5de.system.entry.js} +1 -1
  324. package/dist/ionic/{p-91459095.entry.js → p-4440f5b4.entry.js} +1 -1
  325. package/dist/ionic/p-46121609.entry.js +4 -0
  326. package/dist/ionic/{p-11cf4ee1.entry.js → p-491deb33.entry.js} +1 -1
  327. package/dist/ionic/p-49ffacc0.system.entry.js +4 -0
  328. package/dist/ionic/{p-f41cce45.system.entry.js → p-4a963829.system.entry.js} +1 -1
  329. package/dist/ionic/p-4ad3a2de.entry.js +4 -0
  330. package/dist/ionic/p-4e6aa78c.entry.js +4 -0
  331. package/dist/ionic/p-4fa22b8c.entry.js +4 -0
  332. package/dist/ionic/{p-6a95a932.system.entry.js → p-4fbf3556.system.entry.js} +1 -1
  333. package/dist/ionic/{p-00cbf542.entry.js → p-505121c4.entry.js} +1 -1
  334. package/dist/ionic/p-50c38a28.system.entry.js +4 -0
  335. package/dist/ionic/p-52fce436.entry.js +4 -0
  336. package/dist/ionic/p-5749f245.system.entry.js +4 -0
  337. package/dist/ionic/p-586fa05c.system.js +4 -0
  338. package/dist/ionic/p-5ae3649f.system.entry.js +4 -0
  339. package/dist/ionic/{p-de6fd4fb.system.entry.js → p-62bb4a33.system.entry.js} +1 -1
  340. package/dist/ionic/p-669c0566.system.js +4 -0
  341. package/dist/ionic/p-66aa91c8.js +4 -0
  342. package/dist/ionic/p-6be871f6.system.entry.js +4 -0
  343. package/dist/ionic/{p-7f85fd7d.system.entry.js → p-6d857105.system.entry.js} +1 -1
  344. package/dist/ionic/p-6e444bfa.entry.js +4 -0
  345. package/dist/ionic/p-6e4ff107.system.entry.js +4 -0
  346. package/dist/ionic/p-7123a4b9.system.js +4 -0
  347. package/dist/ionic/p-72812e99.js +4 -0
  348. package/dist/ionic/{p-f3bc485f.system.entry.js → p-76256933.system.entry.js} +1 -1
  349. package/dist/ionic/p-792919fd.system.js +4 -0
  350. package/dist/ionic/p-7b30edcc.js +4 -0
  351. package/dist/ionic/{p-39ed01f6.system.entry.js → p-7de39857.system.entry.js} +1 -1
  352. package/dist/ionic/{p-21a0f452.entry.js → p-7f375f5a.entry.js} +1 -1
  353. package/dist/ionic/p-82ad7191.entry.js +4 -0
  354. package/dist/ionic/p-8302d21c.system.entry.js +4 -0
  355. package/dist/ionic/{p-2f8773b2.system.entry.js → p-83f7a890.system.entry.js} +1 -1
  356. package/dist/ionic/p-840cdfe8.entry.js +4 -0
  357. package/dist/ionic/p-86895ed7.system.js +4 -0
  358. package/dist/ionic/{p-765a2b13.system.entry.js → p-86deab17.system.entry.js} +1 -1
  359. package/dist/ionic/{p-30c57db4.system.entry.js → p-8884ee37.system.entry.js} +1 -1
  360. package/dist/ionic/{p-aa037934.system.js → p-89611183.system.js} +1 -1
  361. package/dist/ionic/{p-dab508d0.system.js → p-8985cdb6.system.js} +1 -1
  362. package/dist/ionic/{p-4525cc2f.js → p-89b61afc.js} +1 -1
  363. package/dist/ionic/{p-cf7d3a87.system.entry.js → p-89d17c48.system.entry.js} +1 -1
  364. package/dist/ionic/{p-d52f8930.entry.js → p-8b3ff142.entry.js} +1 -1
  365. package/dist/ionic/p-8c1f6a17.entry.js +4 -0
  366. package/dist/ionic/{p-d312edb3.system.entry.js → p-8cab6a5c.system.entry.js} +1 -1
  367. package/dist/ionic/p-8d460677.entry.js +4 -0
  368. package/dist/ionic/p-8ed4381f.js +4 -0
  369. package/dist/ionic/{p-0476b3cc.system.js → p-9146695e.system.js} +1 -1
  370. package/dist/ionic/{p-0a7a7ab9.entry.js → p-96503a77.entry.js} +1 -1
  371. package/dist/ionic/p-96cc4814.js +4 -0
  372. package/dist/ionic/{p-eecf5384.system.entry.js → p-97f6c01c.system.entry.js} +1 -1
  373. package/dist/ionic/{p-b760b2fa.system.entry.js → p-98203dbd.system.entry.js} +1 -1
  374. package/dist/ionic/p-985f06f3.entry.js +4 -0
  375. package/dist/ionic/p-98a7aade.js +4 -0
  376. package/dist/ionic/p-9a64afc9.entry.js +4 -0
  377. package/dist/ionic/p-9a957058.system.entry.js +4 -0
  378. package/dist/ionic/p-9beb3fad.js +4 -0
  379. package/dist/ionic/p-9cd1f569.system.js +4 -0
  380. package/dist/ionic/{p-c9525721.system.js → p-9ea607bd.system.js} +2 -2
  381. package/dist/ionic/p-a15ddedb.system.js +4 -0
  382. package/dist/ionic/{p-abe01542.system.js → p-a93873de.system.js} +1 -1
  383. package/dist/ionic/{p-6418a407.system.entry.js → p-aa5358cb.system.entry.js} +1 -1
  384. package/dist/ionic/p-ab44e74e.entry.js +4 -0
  385. package/dist/ionic/p-abe101da.system.js +4 -0
  386. package/dist/ionic/{p-0bee79fc.system.entry.js → p-acaa514f.system.entry.js} +1 -1
  387. package/dist/ionic/p-b032d7ad.system.entry.js +4 -0
  388. package/dist/ionic/{p-5b6645a1.system.js → p-b06ac4a5.system.js} +1 -1
  389. package/dist/ionic/p-b0d099be.js +4 -0
  390. package/dist/ionic/{p-77cda5c7.entry.js → p-b0fbe12b.entry.js} +1 -1
  391. package/dist/ionic/p-b0fea0ab.system.entry.js +4 -0
  392. package/dist/ionic/p-b6f09d60.system.entry.js +4 -0
  393. package/dist/ionic/p-bb013b6c.system.entry.js +4 -0
  394. package/dist/ionic/p-be11fb42.system.js +4 -0
  395. package/dist/ionic/p-be32a527.entry.js +4 -0
  396. package/dist/ionic/p-c468af8a.system.js +4 -0
  397. package/dist/ionic/{p-bc088eb6.system.js → p-c6181d52.system.js} +1 -1
  398. package/dist/ionic/p-c61cc894.js +4 -0
  399. package/dist/ionic/p-c655f9cc.js +4 -0
  400. package/dist/ionic/p-c7b3353c.entry.js +4 -0
  401. package/dist/ionic/{p-60c38dee.js → p-c7e16491.js} +1 -1
  402. package/dist/ionic/p-ccfe13f3.entry.js +4 -0
  403. package/dist/ionic/p-cdb1dc2f.system.entry.js +4 -0
  404. package/dist/ionic/{p-c0e7cab8.entry.js → p-cf6bad6d.entry.js} +1 -1
  405. package/dist/ionic/p-d232cc6e.system.entry.js +4 -0
  406. package/dist/ionic/p-d47265c8.js +4 -0
  407. package/dist/ionic/{p-84e08e08.system.entry.js → p-d4a694c5.system.entry.js} +1 -1
  408. package/dist/ionic/{p-4ee57cf5.js → p-d60342e3.js} +1 -1
  409. package/dist/ionic/p-d690dc50.system.entry.js +4 -0
  410. package/dist/ionic/p-d6b5bfa3.entry.js +4 -0
  411. package/dist/ionic/{p-8c13b08d.entry.js → p-d7cde2c6.entry.js} +1 -1
  412. package/dist/ionic/p-d81e5138.entry.js +4 -0
  413. package/dist/ionic/p-da5af268.system.entry.js +4 -0
  414. package/dist/ionic/{p-84030740.js → p-dc65c03b.js} +1 -1
  415. package/dist/ionic/{p-9ced646a.system.js → p-dfb78785.system.js} +1 -1
  416. package/dist/ionic/{p-1c6bb45f.entry.js → p-e02807c4.entry.js} +1 -1
  417. package/dist/ionic/p-e8cd5bde.js +4 -0
  418. package/dist/ionic/p-ebe1326c.system.js +4 -0
  419. package/dist/ionic/p-ed76b287.entry.js +4 -0
  420. package/dist/ionic/{p-5a0f3c6f.entry.js → p-eecf3a84.entry.js} +1 -1
  421. package/dist/ionic/{p-39166cd5.entry.js → p-f4d568f8.entry.js} +1 -1
  422. package/dist/ionic/{p-8ff1e95d.system.js → p-f687573e.system.js} +1 -1
  423. package/dist/ionic/p-f8fbf20f.system.entry.js +4 -0
  424. package/dist/ionic/{p-7cbcee2c.system.entry.js → p-fca0933c.system.entry.js} +1 -1
  425. package/dist/ionic/{p-d7bd9057.system.entry.js → p-fd70cb80.system.entry.js} +1 -1
  426. package/dist/ionic/p-ff417d5d.system.entry.js +4 -0
  427. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  428. package/dist/types/components/app/app.d.ts +2 -0
  429. package/dist/types/global/ionic-global.d.ts +0 -2
  430. package/dist/types/utils/focus-visible.d.ts +0 -1
  431. package/hydrate/index.js +126 -130
  432. package/hydrate/index.mjs +126 -130
  433. package/package.json +1 -1
  434. package/dist/cjs/ionic-global-4503ea83.js +0 -462
  435. package/dist/esm/ionic-global-b1979612.js +0 -448
  436. package/dist/esm-es5/animation-840e1209.js +0 -4
  437. package/dist/esm-es5/app-globals-537d56c1.js +0 -4
  438. package/dist/esm-es5/capacitor-fcd09564.js +0 -4
  439. package/dist/esm-es5/data-8389220e.js +0 -4
  440. package/dist/esm-es5/focus-visible-b960316e.js +0 -4
  441. package/dist/esm-es5/index-07e10d19.js +0 -4
  442. package/dist/esm-es5/index-3f9b7dcc.js +0 -4
  443. package/dist/esm-es5/index-40662748.js +0 -4
  444. package/dist/esm-es5/index-a4bd9891.js +0 -4
  445. package/dist/esm-es5/input-shims-d4681aea.js +0 -4
  446. package/dist/esm-es5/input.utils-c7e363b4.js +0 -4
  447. package/dist/esm-es5/ionic-global-b1979612.js +0 -4
  448. package/dist/esm-es5/ios.transition-e50705d1.js +0 -4
  449. package/dist/esm-es5/keyboard-630cb801.js +0 -4
  450. package/dist/esm-es5/keyboard-controller-00b92ab3.js +0 -4
  451. package/dist/esm-es5/md.transition-58674b20.js +0 -4
  452. package/dist/esm-es5/notch-controller-e45ab374.js +0 -4
  453. package/dist/esm-es5/overlays-a2dfa4a7.js +0 -4
  454. package/dist/esm-es5/status-tap-a9f0d61d.js +0 -4
  455. package/dist/ionic/p-01b0e865.system.js +0 -4
  456. package/dist/ionic/p-073dacf3.entry.js +0 -4
  457. package/dist/ionic/p-07e807fb.js +0 -4
  458. package/dist/ionic/p-0a31c7b9.system.entry.js +0 -4
  459. package/dist/ionic/p-0f1ba402.entry.js +0 -4
  460. package/dist/ionic/p-16917861.system.js +0 -4
  461. package/dist/ionic/p-179c573b.system.entry.js +0 -4
  462. package/dist/ionic/p-20ffa318.entry.js +0 -4
  463. package/dist/ionic/p-23889fd8.entry.js +0 -4
  464. package/dist/ionic/p-25a2d298.js +0 -4
  465. package/dist/ionic/p-28b059c3.system.entry.js +0 -4
  466. package/dist/ionic/p-2d8341d0.system.js +0 -4
  467. package/dist/ionic/p-2f2fd67f.entry.js +0 -4
  468. package/dist/ionic/p-31f1eb81.entry.js +0 -4
  469. package/dist/ionic/p-37fbd57a.system.entry.js +0 -4
  470. package/dist/ionic/p-3eca6ffb.entry.js +0 -4
  471. package/dist/ionic/p-4175803c.system.js +0 -4
  472. package/dist/ionic/p-41ec2afd.entry.js +0 -4
  473. package/dist/ionic/p-460070eb.system.js +0 -4
  474. package/dist/ionic/p-466434d4.system.js +0 -4
  475. package/dist/ionic/p-46db4410.system.entry.js +0 -4
  476. package/dist/ionic/p-480cfc61.entry.js +0 -4
  477. package/dist/ionic/p-4a274d8d.entry.js +0 -4
  478. package/dist/ionic/p-4fbde654.js +0 -4
  479. package/dist/ionic/p-51b9d14a.js +0 -4
  480. package/dist/ionic/p-52371477.system.entry.js +0 -4
  481. package/dist/ionic/p-5328e386.system.entry.js +0 -4
  482. package/dist/ionic/p-57eb8bf5.entry.js +0 -4
  483. package/dist/ionic/p-58812aa8.system.entry.js +0 -4
  484. package/dist/ionic/p-5c456cd2.system.entry.js +0 -4
  485. package/dist/ionic/p-5e03c97e.system.entry.js +0 -4
  486. package/dist/ionic/p-5fb843ce.entry.js +0 -4
  487. package/dist/ionic/p-5fd711d1.entry.js +0 -4
  488. package/dist/ionic/p-67bb048a.system.entry.js +0 -4
  489. package/dist/ionic/p-69f80fd3.entry.js +0 -4
  490. package/dist/ionic/p-73216388.entry.js +0 -4
  491. package/dist/ionic/p-736d36fb.system.js +0 -4
  492. package/dist/ionic/p-73b45a64.entry.js +0 -4
  493. package/dist/ionic/p-7a86440f.entry.js +0 -4
  494. package/dist/ionic/p-82b38b14.system.js +0 -4
  495. package/dist/ionic/p-833104fe.system.entry.js +0 -4
  496. package/dist/ionic/p-861785a6.entry.js +0 -4
  497. package/dist/ionic/p-86b6a057.system.entry.js +0 -4
  498. package/dist/ionic/p-877dee4e.system.entry.js +0 -4
  499. package/dist/ionic/p-886a05f9.system.js +0 -4
  500. package/dist/ionic/p-902f1e0d.entry.js +0 -4
  501. package/dist/ionic/p-90b717c3.entry.js +0 -4
  502. package/dist/ionic/p-958d1ddf.entry.js +0 -4
  503. package/dist/ionic/p-9647f627.system.entry.js +0 -4
  504. package/dist/ionic/p-969bb0cd.system.entry.js +0 -4
  505. package/dist/ionic/p-98612ecd.system.entry.js +0 -4
  506. package/dist/ionic/p-99322726.js +0 -4
  507. package/dist/ionic/p-9a41931a.system.js +0 -4
  508. package/dist/ionic/p-9fa489bf.system.js +0 -4
  509. package/dist/ionic/p-9fb5d3f0.js +0 -4
  510. package/dist/ionic/p-a60688ea.system.entry.js +0 -4
  511. package/dist/ionic/p-a7c80b6e.js +0 -4
  512. package/dist/ionic/p-a97cc6e0.entry.js +0 -4
  513. package/dist/ionic/p-aa28a06a.system.entry.js +0 -4
  514. package/dist/ionic/p-ab51df52.js +0 -4
  515. package/dist/ionic/p-b84b226d.entry.js +0 -4
  516. package/dist/ionic/p-b95e719d.js +0 -4
  517. package/dist/ionic/p-b9d74da7.system.js +0 -4
  518. package/dist/ionic/p-bb816352.system.entry.js +0 -4
  519. package/dist/ionic/p-bc0d6e7d.system.entry.js +0 -4
  520. package/dist/ionic/p-bc60a88f.entry.js +0 -4
  521. package/dist/ionic/p-cf05bb26.entry.js +0 -4
  522. package/dist/ionic/p-d247bdc6.js +0 -4
  523. package/dist/ionic/p-d32dc2ca.system.entry.js +0 -4
  524. package/dist/ionic/p-df2f4a29.entry.js +0 -4
  525. package/dist/ionic/p-e079f4f4.system.entry.js +0 -4
  526. package/dist/ionic/p-e35fa668.js +0 -4
  527. package/dist/ionic/p-e44c11d0.entry.js +0 -4
  528. package/dist/ionic/p-e6867fc0.js +0 -4
  529. package/dist/ionic/p-efd6e0d2.system.entry.js +0 -4
  530. package/dist/ionic/p-f0e951e5.system.entry.js +0 -4
  531. package/dist/ionic/p-f4a57fb7.js +0 -4
  532. package/dist/ionic/p-f7f11c42.js +0 -4
  533. package/dist/ionic/p-f8234ebd.js +0 -4
@@ -0,0 +1,122 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ 'use strict';
5
+
6
+ const index = require('./index-c8d52405.js');
7
+ const ionicGlobal = require('./ionic-global-86430f67.js');
8
+ require('./index-b9e25ecd.js');
9
+
10
+ /**
11
+ * CloseWatcher is a newer API that lets
12
+ * use detect the hardware back button event
13
+ * in a web browser: https://caniuse.com/?search=closewatcher
14
+ * However, not every browser supports it yet.
15
+ *
16
+ * This needs to be a function so that we can
17
+ * check the config once it has been set.
18
+ * Otherwise, this code would be evaluated the
19
+ * moment this file is evaluated which could be
20
+ * before the config is set.
21
+ */
22
+ const shouldUseCloseWatcher = () => ionicGlobal.config.get('experimentalCloseWatcher', false) && index.win !== undefined && 'CloseWatcher' in index.win;
23
+ /**
24
+ * When hardwareBackButton: false in config,
25
+ * we need to make sure we also block the default
26
+ * webview behavior. If we don't then it will be
27
+ * possible for users to navigate backward while
28
+ * an overlay is still open. Additionally, it will
29
+ * give the appearance that the hardwareBackButton
30
+ * config is not working as the page transition
31
+ * will still happen.
32
+ */
33
+ const blockHardwareBackButton = () => {
34
+ document.addEventListener('backbutton', () => { }); // eslint-disable-line
35
+ };
36
+ const startHardwareBackButton = () => {
37
+ const doc = document;
38
+ let busy = false;
39
+ const backButtonCallback = () => {
40
+ if (busy) {
41
+ return;
42
+ }
43
+ let index = 0;
44
+ let handlers = [];
45
+ const ev = new CustomEvent('ionBackButton', {
46
+ bubbles: false,
47
+ detail: {
48
+ register(priority, handler) {
49
+ handlers.push({ priority, handler, id: index++ });
50
+ },
51
+ },
52
+ });
53
+ doc.dispatchEvent(ev);
54
+ const executeAction = async (handlerRegister) => {
55
+ try {
56
+ if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {
57
+ const result = handlerRegister.handler(processHandlers);
58
+ if (result != null) {
59
+ await result;
60
+ }
61
+ }
62
+ }
63
+ catch (e) {
64
+ console.error(e);
65
+ }
66
+ };
67
+ const processHandlers = () => {
68
+ if (handlers.length > 0) {
69
+ let selectedHandler = {
70
+ priority: Number.MIN_SAFE_INTEGER,
71
+ handler: () => undefined,
72
+ id: -1,
73
+ };
74
+ handlers.forEach((handler) => {
75
+ if (handler.priority >= selectedHandler.priority) {
76
+ selectedHandler = handler;
77
+ }
78
+ });
79
+ busy = true;
80
+ handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);
81
+ executeAction(selectedHandler).then(() => (busy = false));
82
+ }
83
+ };
84
+ processHandlers();
85
+ };
86
+ /**
87
+ * If the CloseWatcher is defined then
88
+ * we don't want to also listen for the native
89
+ * backbutton event otherwise we may get duplicate
90
+ * events firing.
91
+ */
92
+ if (shouldUseCloseWatcher()) {
93
+ let watcher;
94
+ const configureWatcher = () => {
95
+ watcher === null || watcher === void 0 ? void 0 : watcher.destroy();
96
+ watcher = new index.win.CloseWatcher();
97
+ /**
98
+ * Once a close request happens
99
+ * the watcher gets destroyed.
100
+ * As a result, we need to re-configure
101
+ * the watcher so we can respond to other
102
+ * close requests.
103
+ */
104
+ watcher.onclose = () => {
105
+ backButtonCallback();
106
+ configureWatcher();
107
+ };
108
+ };
109
+ configureWatcher();
110
+ }
111
+ else {
112
+ doc.addEventListener('backbutton', backButtonCallback);
113
+ }
114
+ };
115
+ const OVERLAY_BACK_BUTTON_PRIORITY = 100;
116
+ const MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays
117
+
118
+ exports.MENU_BACK_BUTTON_PRIORITY = MENU_BACK_BUTTON_PRIORITY;
119
+ exports.OVERLAY_BACK_BUTTON_PRIORITY = OVERLAY_BACK_BUTTON_PRIORITY;
120
+ exports.blockHardwareBackButton = blockHardwareBackButton;
121
+ exports.shouldUseCloseWatcher = shouldUseCloseWatcher;
122
+ exports.startHardwareBackButton = startHardwareBackButton;
@@ -0,0 +1,38 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ 'use strict';
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;
@@ -4,7 +4,7 @@
4
4
  'use strict';
5
5
 
6
6
  const helpers = require('./helpers-afaa9001.js');
7
- const ionicGlobal = require('./ionic-global-4503ea83.js');
7
+ const index = require('./index-5915f9b3.js');
8
8
 
9
9
  const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
10
10
  const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
@@ -92,7 +92,7 @@ const scrollByPoint = (el, x, y, durationMs) => {
92
92
  * within either the `ion-content` selector or the `.ion-content-scroll-host` class.
93
93
  */
94
94
  const printIonContentErrorMsg = (el) => {
95
- return ionicGlobal.printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
95
+ return index.printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
96
96
  };
97
97
  /**
98
98
  * Several components in Ionic need to prevent scrolling
@@ -3,12 +3,11 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-4503ea83.js');
6
+ const index = require('./index-c8d52405.js');
7
7
  const helpers = require('./helpers-afaa9001.js');
8
- require('./index-b9e25ecd.js');
9
8
 
10
9
  const startTapClick = (config) => {
11
- if (ionicGlobal.doc === undefined) {
10
+ if (index.doc === undefined) {
12
11
  return;
13
12
  }
14
13
  let lastActivated = 0;
@@ -111,9 +110,9 @@ const startTapClick = (config) => {
111
110
  active.classList.remove(ACTIVATED);
112
111
  }
113
112
  };
114
- ionicGlobal.doc.addEventListener('ionGestureCaptured', cancelActive);
115
- ionicGlobal.doc.addEventListener('pointerdown', pointerDown, true);
116
- ionicGlobal.doc.addEventListener('pointerup', pointerUp, true);
113
+ index.doc.addEventListener('ionGestureCaptured', cancelActive);
114
+ index.doc.addEventListener('pointerdown', pointerDown, true);
115
+ index.doc.addEventListener('pointerup', pointerUp, true);
117
116
  /**
118
117
  * Tap click effects such as the ripple effect should
119
118
  * not happen when scrolling. For example, if a user scrolls
@@ -126,7 +125,7 @@ const startTapClick = (config) => {
126
125
  * starts, so this lets us avoid having to listen for
127
126
  * ion-content's scroll events.
128
127
  */
129
- ionicGlobal.doc.addEventListener('pointercancel', cancelActive, true);
128
+ index.doc.addEventListener('pointercancel', cancelActive, true);
130
129
  };
131
130
  // TODO(FW-2832): type
132
131
  const getActivatableTarget = (ev) => {
@@ -3,8 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-4503ea83.js');
7
- const index = require('./index-b9e25ecd.js');
6
+ const ionicGlobal = require('./ionic-global-86430f67.js');
7
+ const index$1 = require('./index-b9e25ecd.js');
8
+ const index = require('./index-5915f9b3.js');
8
9
  const helpers = require('./helpers-afaa9001.js');
9
10
 
10
11
  const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
@@ -102,7 +103,7 @@ const createFocusController = () => {
102
103
  }
103
104
  break;
104
105
  default:
105
- ionicGlobal.printIonWarning(`Unrecognized focus manager priority value ${priority}`);
106
+ index.printIonWarning(`Unrecognized focus manager priority value ${priority}`);
106
107
  break;
107
108
  }
108
109
  }
@@ -121,13 +122,13 @@ const createFocusController = () => {
121
122
  };
122
123
  const LAST_FOCUS = 'ion-last-focus';
123
124
 
124
- const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-dac99bf0.js'); });
125
- const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-65b7c8b6.js'); });
125
+ const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-ac67e283.js'); });
126
+ const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-8ceb4e1a.js'); });
126
127
  const focusController = createFocusController();
127
128
  // TODO(FW-2832): types
128
129
  const transition = (opts) => {
129
130
  return new Promise((resolve, reject) => {
130
- index.writeTask(() => {
131
+ index$1.writeTask(() => {
131
132
  beforeTransition(opts);
132
133
  runTransition(opts).then((result) => {
133
134
  if (result.animation) {
@@ -168,7 +169,7 @@ const beforeTransition = (opts) => {
168
169
  };
169
170
  const runTransition = async (opts) => {
170
171
  const animationBuilder = await getAnimationBuilder(opts);
171
- const ani = animationBuilder && index.Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
172
+ const ani = animationBuilder && index$1.Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
172
173
  return ani;
173
174
  };
174
175
  const afterTransition = (opts) => {
@@ -3,9 +3,12 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-4503ea83.js');
6
+ const index$1 = require('./index-c8d52405.js');
7
+ const hardwareBackButton = require('./hardware-back-button-1f867b1e.js');
8
+ const index = require('./index-5915f9b3.js');
7
9
  const helpers = require('./helpers-afaa9001.js');
8
- const animation = require('./animation-f43e6366.js');
10
+ const ionicGlobal = require('./ionic-global-86430f67.js');
11
+ const animation = require('./animation-b4fdf128.js');
9
12
 
10
13
  /**
11
14
  * baseAnimation
@@ -167,7 +170,7 @@ const createMenuController = () => {
167
170
  const menuRefs = menus.filter((m) => m.side === menu && !m.disabled);
168
171
  if (menuRefs.length >= 1) {
169
172
  if (menuRefs.length > 1 && logOnMultipleSideMenus) {
170
- ionicGlobal.printIonWarning(`menuController queried for a menu on the "${menu}" side, but ${menuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, menuRefs.map((m) => m.el));
173
+ index.printIonWarning(`menuController queried for a menu on the "${menu}" side, but ${menuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, menuRefs.map((m) => m.el));
171
174
  }
172
175
  return menuRefs[0].el;
173
176
  }
@@ -176,7 +179,7 @@ const createMenuController = () => {
176
179
  const sideMenuRefs = menus.filter((m) => m.side === menu);
177
180
  if (sideMenuRefs.length >= 1) {
178
181
  if (sideMenuRefs.length > 1 && logOnMultipleSideMenus) {
179
- ionicGlobal.printIonWarning(`menuController queried for a menu on the "${menu}" side, but ${sideMenuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, sideMenuRefs.map((m) => m.el));
182
+ index.printIonWarning(`menuController queried for a menu on the "${menu}" side, but ${sideMenuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, sideMenuRefs.map((m) => m.el));
180
183
  }
181
184
  return sideMenuRefs[0].el;
182
185
  }
@@ -272,10 +275,10 @@ const createMenuController = () => {
272
275
  registerAnimation('reveal', menuRevealAnimation);
273
276
  registerAnimation('push', menuPushAnimation);
274
277
  registerAnimation('overlay', menuOverlayAnimation);
275
- ionicGlobal.doc === null || ionicGlobal.doc === void 0 ? void 0 : ionicGlobal.doc.addEventListener('ionBackButton', (ev) => {
278
+ index$1.doc === null || index$1.doc === void 0 ? void 0 : index$1.doc.addEventListener('ionBackButton', (ev) => {
276
279
  const openMenu = _getOpenSync();
277
280
  if (openMenu) {
278
- ev.detail.register(ionicGlobal.MENU_BACK_BUTTON_PRIORITY, () => {
281
+ ev.detail.register(hardwareBackButton.MENU_BACK_BUTTON_PRIORITY, () => {
279
282
  return openMenu.close();
280
283
  });
281
284
  }
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ 'use strict';
5
+
6
+ const win = typeof window !== 'undefined' ? window : undefined;
7
+ const doc = typeof document !== 'undefined' ? document : undefined;
8
+
9
+ exports.doc = doc;
10
+ exports.win = win;
@@ -5,20 +5,23 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const animation = require('./animation-f43e6366.js');
9
- const index = require('./index-23381b18.js');
10
- const ios_transition = require('./ios.transition-dac99bf0.js');
11
- const md_transition = require('./md.transition-65b7c8b6.js');
8
+ const animation = require('./animation-b4fdf128.js');
9
+ const index = require('./index-9bdd4f2a.js');
10
+ const ios_transition = require('./ios.transition-ac67e283.js');
11
+ const md_transition = require('./md.transition-8ceb4e1a.js');
12
12
  const cubicBezier = require('./cubic-bezier-f2dccc53.js');
13
13
  const index$1 = require('./index-ee07ed59.js');
14
- const ionicGlobal = require('./ionic-global-4503ea83.js');
14
+ const ionicGlobal = require('./ionic-global-86430f67.js');
15
15
  const helpers = require('./helpers-afaa9001.js');
16
16
  const config = require('./config-4f60b98a.js');
17
17
  const theme = require('./theme-d1c573d2.js');
18
- const index$2 = require('./index-afc28d19.js');
19
- const overlays = require('./overlays-44027b72.js');
18
+ const index$2 = require('./index-c170694d.js');
19
+ const overlays = require('./overlays-4451d3fc.js');
20
+ require('./index-c8d52405.js');
20
21
  require('./index-b9e25ecd.js');
22
+ require('./index-5915f9b3.js');
21
23
  require('./gesture-controller-9436f482.js');
24
+ require('./hardware-back-button-1f867b1e.js');
22
25
  require('./framework-delegate-55f5683a.js');
23
26
 
24
27
  const IonicSlides = (opts) => {
@@ -3,12 +3,12 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-4503ea83.js');
7
- const index = require('./index-b3550209.js');
6
+ const index = require('./index-c8d52405.js');
7
+ const index$1 = require('./index-5b6a7459.js');
8
8
  const helpers = require('./helpers-afaa9001.js');
9
- const keyboard = require('./keyboard-6d170faf.js');
10
- require('./index-b9e25ecd.js');
11
- require('./capacitor-094870c0.js');
9
+ const keyboard = require('./keyboard-0272231f.js');
10
+ require('./index-5915f9b3.js');
11
+ require('./capacitor-c04564bf.js');
12
12
 
13
13
  const cloneMap = new WeakMap();
14
14
  const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
@@ -286,7 +286,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
286
286
  * the keyboard height again. This will result in the input
287
287
  * being scrolled more than it needs to.
288
288
  */
289
- const platformHeight = ionicGlobal.win !== undefined ? ionicGlobal.win.innerHeight : 0;
289
+ const platformHeight = index.win !== undefined ? index.win.innerHeight : 0;
290
290
  /**
291
291
  * Scroll assist is run when a text field
292
292
  * is focused. However, it may need to
@@ -339,7 +339,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
339
339
  */
340
340
  const focusOut = () => {
341
341
  hasKeyboardBeenPresentedForTextField = false;
342
- ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
342
+ index.win === null || index.win === void 0 ? void 0 : index.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
343
343
  componentEl.removeEventListener('focusout', focusOut);
344
344
  };
345
345
  /**
@@ -359,13 +359,13 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
359
359
  return;
360
360
  }
361
361
  jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);
362
- ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.addEventListener('ionKeyboardDidShow', keyboardShow);
362
+ index.win === null || index.win === void 0 ? void 0 : index.win.addEventListener('ionKeyboardDidShow', keyboardShow);
363
363
  componentEl.addEventListener('focusout', focusOut);
364
364
  };
365
365
  componentEl.addEventListener('focusin', focusIn);
366
366
  return () => {
367
367
  componentEl.removeEventListener('focusin', focusIn);
368
- ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
368
+ index.win === null || index.win === void 0 ? void 0 : index.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
369
369
  componentEl.removeEventListener('focusout', focusOut);
370
370
  };
371
371
  };
@@ -441,7 +441,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
441
441
  window.removeEventListener('ionKeyboardDidShow', scrollContent);
442
442
  // scroll the input into place
443
443
  if (contentEl) {
444
- await index.scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);
444
+ await index$1.scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);
445
445
  }
446
446
  // the scroll view is in the correct position now
447
447
  // give the native text input focus
@@ -462,7 +462,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
462
462
  window.addEventListener('ionKeyboardDidShow', scrollContent);
463
463
  };
464
464
  if (contentEl) {
465
- const scrollEl = await index.getScrollElement(contentEl);
465
+ const scrollEl = await index$1.getScrollElement(contentEl);
466
466
  /**
467
467
  * scrollData will only consider the amount we need
468
468
  * to scroll in order to properly bring the input
@@ -510,7 +510,7 @@ const startInputShims = async (config, platform) => {
510
510
  * If doc is undefined then we are in an SSR environment
511
511
  * where input shims do not apply.
512
512
  */
513
- if (ionicGlobal.doc === undefined) {
513
+ if (index.doc === undefined) {
514
514
  return;
515
515
  }
516
516
  const isIOS = platform === 'ios';
@@ -532,7 +532,7 @@ const startInputShims = async (config, platform) => {
532
532
  */
533
533
  const inputBlurring = config.getBoolean('inputBlurring', false);
534
534
  const scrollPadding = config.getBoolean('scrollPadding', true);
535
- const inputs = Array.from(ionicGlobal.doc.querySelectorAll('ion-input, ion-textarea'));
535
+ const inputs = Array.from(index.doc.querySelectorAll('ion-input, ion-textarea'));
536
536
  const hideCaretMap = new WeakMap();
537
537
  const scrollAssistMap = new WeakMap();
538
538
  /**
@@ -548,7 +548,7 @@ const startInputShims = async (config, platform) => {
548
548
  await new Promise((resolve) => helpers.componentOnReady(componentEl, resolve));
549
549
  const inputRoot = componentEl.shadowRoot || componentEl;
550
550
  const inputEl = inputRoot.querySelector('input') || inputRoot.querySelector('textarea');
551
- const scrollEl = index.findClosestIonContent(componentEl);
551
+ const scrollEl = index$1.findClosestIonContent(componentEl);
552
552
  const footerEl = !scrollEl ? componentEl.closest('ion-footer') : null;
553
553
  if (!inputEl) {
554
554
  return;
@@ -597,10 +597,10 @@ const startInputShims = async (config, platform) => {
597
597
  for (const input of inputs) {
598
598
  registerInput(input);
599
599
  }
600
- ionicGlobal.doc.addEventListener('ionInputDidLoad', (ev) => {
600
+ index.doc.addEventListener('ionInputDidLoad', (ev) => {
601
601
  registerInput(ev.detail);
602
602
  });
603
- ionicGlobal.doc.addEventListener('ionInputDidUnload', (ev) => {
603
+ index.doc.addEventListener('ionInputDidUnload', (ev) => {
604
604
  unregisterInput(ev.detail);
605
605
  });
606
606
  };
@@ -3,8 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-4503ea83.js');
6
+ const index = require('./index-c8d52405.js');
7
7
  const helpers = require('./helpers-afaa9001.js');
8
+ const index$1 = require('./index-5915f9b3.js');
8
9
 
9
10
  /**
10
11
  * Used to update a scoped component that uses emulated slots. This fires when
@@ -18,7 +19,7 @@ const helpers = require('./helpers-afaa9001.js');
18
19
  const createSlotMutationController = (el, slotName, mutationCallback) => {
19
20
  let hostMutationObserver;
20
21
  let slottedContentMutationObserver;
21
- if (ionicGlobal.win !== undefined && 'MutationObserver' in ionicGlobal.win) {
22
+ if (index.win !== undefined && 'MutationObserver' in index.win) {
22
23
  const slots = Array.isArray(slotName) ? slotName : [slotName];
23
24
  hostMutationObserver = new MutationObserver((entries) => {
24
25
  for (const entry of entries) {
@@ -137,7 +138,7 @@ const getCounterText = (value, maxLength, counterFormatter) => {
137
138
  return counterFormatter(valueLength, maxLength);
138
139
  }
139
140
  catch (e) {
140
- ionicGlobal.printIonError('Exception in provided `counterFormatter`.', e);
141
+ index$1.printIonError('Exception in provided `counterFormatter`.', e);
141
142
  return defaultCounterText;
142
143
  }
143
144
  };
@@ -8,7 +8,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
  const index = require('./index-b9e25ecd.js');
9
9
  const helpers = require('./helpers-afaa9001.js');
10
10
  const index$1 = require('./index-073c7cdc.js');
11
- const ionicGlobal = require('./ionic-global-4503ea83.js');
11
+ const ionicGlobal = require('./ionic-global-86430f67.js');
12
+ const index$2 = require('./index-5915f9b3.js');
12
13
 
13
14
  const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
14
15
  const IonAccordionIosStyle0 = accordionIosCss;
@@ -355,7 +356,7 @@ const AccordionGroup = class {
355
356
  * Default toString() behavior: a,b
356
357
  * Custom behavior: ['a', 'b']
357
358
  */
358
- ionicGlobal.printIonWarning(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".
359
+ index$2.printIonWarning(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".
359
360
 
360
361
  Value Passed: [${value.map((v) => `'${v}'`).join(', ')}]
361
362
  `, this.el);
@@ -6,18 +6,21 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index = require('./index-b9e25ecd.js');
9
- const buttonActive = require('./button-active-1164881e.js');
9
+ const buttonActive = require('./button-active-1a40c735.js');
10
10
  const helpers = require('./helpers-afaa9001.js');
11
11
  const lockController = require('./lock-controller-6585a42a.js');
12
- const overlays = require('./overlays-44027b72.js');
12
+ const overlays = require('./overlays-4451d3fc.js');
13
13
  const theme = require('./theme-d1c573d2.js');
14
- const ionicGlobal = require('./ionic-global-4503ea83.js');
15
- const animation = require('./animation-f43e6366.js');
16
- require('./haptic-188baa8e.js');
17
- require('./capacitor-094870c0.js');
14
+ const ionicGlobal = require('./ionic-global-86430f67.js');
15
+ const animation = require('./animation-b4fdf128.js');
16
+ require('./haptic-f6b37aa3.js');
17
+ require('./capacitor-c04564bf.js');
18
+ require('./index-c8d52405.js');
18
19
  require('./index-ee07ed59.js');
19
20
  require('./gesture-controller-9436f482.js');
21
+ require('./hardware-back-button-1f867b1e.js');
20
22
  require('./framework-delegate-55f5683a.js');
23
+ require('./index-5915f9b3.js');
21
24
 
22
25
  /**
23
26
  * iOS Action Sheet Enter Animation
@@ -7,18 +7,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index = require('./index-b9e25ecd.js');
9
9
  const config = require('./config-4f60b98a.js');
10
- const buttonActive = require('./button-active-1164881e.js');
10
+ const buttonActive = require('./button-active-1a40c735.js');
11
11
  const helpers = require('./helpers-afaa9001.js');
12
12
  const lockController = require('./lock-controller-6585a42a.js');
13
- const overlays = require('./overlays-44027b72.js');
13
+ const overlays = require('./overlays-4451d3fc.js');
14
14
  const theme = require('./theme-d1c573d2.js');
15
- const ionicGlobal = require('./ionic-global-4503ea83.js');
16
- const animation = require('./animation-f43e6366.js');
17
- require('./haptic-188baa8e.js');
18
- require('./capacitor-094870c0.js');
15
+ const ionicGlobal = require('./ionic-global-86430f67.js');
16
+ const animation = require('./animation-b4fdf128.js');
17
+ require('./haptic-f6b37aa3.js');
18
+ require('./capacitor-c04564bf.js');
19
+ require('./index-c8d52405.js');
19
20
  require('./index-ee07ed59.js');
20
21
  require('./gesture-controller-9436f482.js');
22
+ require('./hardware-back-button-1f867b1e.js');
21
23
  require('./framework-delegate-55f5683a.js');
24
+ require('./index-5915f9b3.js');
22
25
 
23
26
  /**
24
27
  * iOS Alert Enter Animation