@ionic/core 8.3.1-dev.11726258029.1014159b → 8.3.1-dev.11727899155.103c4afc

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 (580) hide show
  1. package/components/animation.js +1 -1
  2. package/components/button.js +1 -2
  3. package/components/capacitor.js +1 -1
  4. package/components/data.js +1 -1
  5. package/components/focus-visible.js +8 -1
  6. package/components/framework-delegate.js +1 -1
  7. package/components/helpers.js +1 -1
  8. package/components/index2.js +1 -2
  9. package/components/index4.js +1 -4
  10. package/components/index5.js +27 -3
  11. package/components/index6.js +114 -20
  12. package/components/index7.js +163 -27
  13. package/components/input-shims.js +2 -2
  14. package/components/input.utils.js +1 -2
  15. package/components/ion-accordion-group.js +1 -2
  16. package/components/ion-accordion.js +1 -1
  17. package/components/ion-app.js +6 -75
  18. package/components/ion-back-button.js +1 -1
  19. package/components/ion-breadcrumb.js +1 -1
  20. package/components/ion-content.js +1 -1
  21. package/components/ion-datetime-button.js +1 -2
  22. package/components/ion-datetime.js +2 -3
  23. package/components/ion-fab-button.js +1 -1
  24. package/components/ion-footer.js +4 -4
  25. package/components/ion-header.js +5 -5
  26. package/components/ion-infinite-scroll.js +1 -1
  27. package/components/ion-input-password-toggle.js +2 -3
  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 +1 -2
  32. package/components/ion-modal.js +2 -4
  33. package/components/ion-nav.js +1 -2
  34. package/components/ion-picker-legacy.js +1 -2
  35. package/components/ion-range.js +2 -3
  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 +1 -3
  43. package/components/ion-toggle.js +1 -1
  44. package/components/ionic-global.js +219 -2
  45. package/components/item.js +1 -1
  46. package/components/keyboard-controller.js +2 -2
  47. package/components/notch-controller.js +1 -1
  48. package/components/overlays.js +2 -5
  49. package/components/picker-column.js +1 -2
  50. package/components/popover.js +1 -2
  51. package/components/status-tap.js +1 -1
  52. package/dist/cjs/{animation-b4fdf128.js → animation-1b5076f1.js} +2 -2
  53. package/dist/cjs/{app-globals-9d795e44.js → app-globals-7adfb8dd.js} +1 -1
  54. package/dist/cjs/{button-active-4115dc12.js → button-active-0f66de25.js} +2 -2
  55. package/dist/cjs/{capacitor-c04564bf.js → capacitor-618d05d6.js} +3 -3
  56. package/dist/cjs/{data-21dc0f81.js → data-5d4f17b4.js} +3 -3
  57. package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-9aa87fa3.js} +8 -0
  58. package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-d1e05576.js} +2 -2
  59. package/dist/cjs/{haptic-f6b37aa3.js → haptic-2bdd48c1.js} +1 -1
  60. package/dist/cjs/{helpers-afaa9001.js → helpers-acd6c477.js} +1 -1
  61. package/dist/cjs/{index-5b6a7459.js → index-3eb98cb9.js} +3 -3
  62. package/dist/cjs/{index-44dacdce.js → index-686a2ab7.js} +8 -9
  63. package/dist/cjs/{index-42dd5e74.js → index-b9e25ecd.js} +2 -8
  64. package/dist/cjs/{index-9509ecad.js → index-c17dd541.js} +8 -7
  65. package/dist/cjs/{index-248835d7.js → index-d683cd69.js} +7 -10
  66. package/dist/cjs/index.cjs.js +10 -13
  67. package/dist/cjs/{input-shims-9e59ef62.js → input-shims-f41730e2.js} +17 -17
  68. package/dist/cjs/{input.utils-611cde0b.js → input.utils-1215e537.js} +4 -5
  69. package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -5
  70. package/dist/cjs/ion-action-sheet.cjs.entry.js +9 -12
  71. package/dist/cjs/ion-alert.cjs.entry.js +9 -12
  72. package/dist/cjs/ion-app_8.cjs.entry.js +32 -102
  73. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  75. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  76. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
  77. package/dist/cjs/ion-button_2.cjs.entry.js +6 -7
  78. package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
  79. package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
  80. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  81. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  82. package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -9
  83. package/dist/cjs/ion-datetime_3.cjs.entry.js +96 -99
  84. package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
  85. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  86. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -5
  87. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +7 -8
  88. package/dist/cjs/ion-input.cjs.entry.js +5 -7
  89. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -5
  90. package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
  91. package/dist/cjs/ion-loading.cjs.entry.js +6 -9
  92. package/dist/cjs/ion-menu_3.cjs.entry.js +8 -11
  93. package/dist/cjs/ion-modal.cjs.entry.js +49 -52
  94. package/dist/cjs/ion-nav_2.cjs.entry.js +6 -7
  95. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  96. package/dist/cjs/ion-picker-column.cjs.entry.js +6 -7
  97. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  98. package/dist/cjs/ion-popover.cjs.entry.js +10 -13
  99. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  100. package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
  101. package/dist/cjs/ion-range.cjs.entry.js +9 -10
  102. package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -9
  103. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -8
  104. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  105. package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
  106. package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
  107. package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
  108. package/dist/cjs/ion-select_3.cjs.entry.js +6 -9
  109. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  110. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  111. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -7
  112. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  113. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  114. package/dist/cjs/ion-textarea.cjs.entry.js +5 -7
  115. package/dist/cjs/ion-toast.cjs.entry.js +31 -34
  116. package/dist/cjs/ion-toggle.cjs.entry.js +5 -6
  117. package/dist/cjs/ionic-global-7b45fd73.js +462 -0
  118. package/dist/cjs/ionic.cjs.js +4 -4
  119. package/dist/cjs/{ios.transition-c28ff3cc.js → ios.transition-1ee349d9.js} +5 -7
  120. package/dist/cjs/{keyboard-af1bb365.js → keyboard-49920cbd.js} +4 -3
  121. package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-5b01bcd9.js} +9 -9
  122. package/dist/cjs/{keyboard-0272231f.js → keyboard-d77ef081.js} +1 -1
  123. package/dist/cjs/loader.cjs.js +3 -3
  124. package/dist/cjs/{md.transition-01295b30.js → md.transition-719e7e1c.js} +5 -7
  125. package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a8eaed3b.js} +4 -4
  126. package/dist/cjs/{overlays-76ac42e7.js → overlays-14f167fc.js} +12 -15
  127. package/dist/cjs/{status-tap-75c3a35d.js → status-tap-e7029c0d.js} +4 -4
  128. package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-13234294.js} +1 -1
  129. package/dist/collection/collection-manifest.json +2 -2
  130. package/dist/collection/components/app/app.js +5 -75
  131. package/dist/collection/components/content/content.js +1 -1
  132. package/dist/collection/components/footer/footer.js +3 -3
  133. package/dist/collection/components/header/header.js +4 -4
  134. package/dist/collection/components/input/input.js +1 -1
  135. package/dist/collection/components/searchbar/searchbar.js +1 -1
  136. package/dist/collection/global/ionic-global.js +70 -1
  137. package/dist/collection/utils/focus-visible.js +7 -0
  138. package/dist/collection/utils/framework-delegate.js +1 -1
  139. package/dist/collection/utils/helpers.js +1 -1
  140. package/dist/collection/utils/keyboard/keyboard-controller.js +1 -1
  141. package/dist/collection/utils/overlays.js +1 -1
  142. package/dist/docs.json +109 -109
  143. package/dist/esm/{animation-eab5a4ca.js → animation-4833cc82.js} +1 -1
  144. package/dist/esm/{app-globals-cef8aa6d.js → app-globals-120fc59a.js} +1 -1
  145. package/dist/esm/{button-active-6700b8ee.js → button-active-99997f21.js} +2 -2
  146. package/dist/esm/{capacitor-59395cbd.js → capacitor-90256979.js} +1 -1
  147. package/dist/esm/{data-ae11fd43.js → data-ef61a6bc.js} +1 -1
  148. package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-501aff19.js} +8 -1
  149. package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-3b8e3146.js} +2 -2
  150. package/dist/esm/{haptic-ac164e4c.js → haptic-2a877838.js} +1 -1
  151. package/dist/esm/{helpers-da915de8.js → helpers-b96cdeb7.js} +1 -1
  152. package/dist/esm/{index-deb1a83e.js → index-462343ab.js} +3 -6
  153. package/{components/index9.js → dist/esm/index-4b965271.js} +3 -2
  154. package/dist/esm/{index-3ed04e6d.js → index-4e02bb5d.js} +2 -8
  155. package/dist/esm/{index-5cc724f3.js → index-57058cbb.js} +2 -2
  156. package/dist/esm/{index-42907296.js → index-ea559016.js} +5 -6
  157. package/dist/esm/index.js +10 -13
  158. package/dist/esm/{input-shims-0314bbe5.js → input-shims-3803b8f3.js} +6 -6
  159. package/dist/esm/{input.utils-09c71bc7.js → input.utils-40cda890.js} +2 -3
  160. package/dist/esm/ion-accordion_2.entry.js +3 -4
  161. package/dist/esm/ion-action-sheet.entry.js +9 -12
  162. package/dist/esm/ion-alert.entry.js +9 -12
  163. package/dist/esm/ion-app_8.entry.js +22 -92
  164. package/dist/esm/ion-avatar_3.entry.js +2 -2
  165. package/dist/esm/ion-back-button.entry.js +3 -3
  166. package/dist/esm/ion-backdrop.entry.js +2 -2
  167. package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
  168. package/dist/esm/ion-button_2.entry.js +3 -4
  169. package/dist/esm/ion-card_5.entry.js +3 -3
  170. package/dist/esm/ion-checkbox.entry.js +3 -3
  171. package/dist/esm/ion-chip.entry.js +2 -2
  172. package/dist/esm/ion-col_3.entry.js +2 -2
  173. package/dist/esm/ion-datetime-button.entry.js +4 -5
  174. package/dist/esm/ion-datetime_3.entry.js +10 -13
  175. package/dist/esm/ion-fab_3.entry.js +3 -3
  176. package/dist/esm/ion-img.entry.js +3 -3
  177. package/dist/esm/ion-infinite-scroll_2.entry.js +4 -5
  178. package/dist/esm/ion-input-password-toggle.entry.js +2 -3
  179. package/dist/esm/ion-input.entry.js +5 -7
  180. package/dist/esm/ion-item-option_3.entry.js +4 -5
  181. package/dist/esm/ion-item_8.entry.js +3 -3
  182. package/dist/esm/ion-loading.entry.js +6 -9
  183. package/dist/esm/ion-menu_3.entry.js +7 -10
  184. package/dist/esm/ion-modal.entry.js +11 -14
  185. package/dist/esm/ion-nav_2.entry.js +6 -7
  186. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  187. package/dist/esm/ion-picker-column.entry.js +5 -6
  188. package/dist/esm/ion-picker.entry.js +2 -2
  189. package/dist/esm/ion-popover.entry.js +7 -10
  190. package/dist/esm/ion-progress-bar.entry.js +3 -3
  191. package/dist/esm/ion-radio_2.entry.js +3 -3
  192. package/dist/esm/ion-range.entry.js +4 -5
  193. package/dist/esm/ion-refresher_2.entry.js +7 -9
  194. package/dist/esm/ion-reorder_2.entry.js +6 -8
  195. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  196. package/dist/esm/ion-route_4.entry.js +3 -3
  197. package/dist/esm/ion-searchbar.entry.js +3 -3
  198. package/dist/esm/ion-segment_2.entry.js +3 -3
  199. package/dist/esm/ion-select_3.entry.js +6 -9
  200. package/dist/esm/ion-spinner.entry.js +2 -2
  201. package/dist/esm/ion-split-pane.entry.js +2 -2
  202. package/dist/esm/ion-tab-bar_2.entry.js +6 -7
  203. package/dist/esm/ion-tab_2.entry.js +3 -3
  204. package/dist/esm/ion-text.entry.js +2 -2
  205. package/dist/esm/ion-textarea.entry.js +5 -7
  206. package/dist/esm/ion-toast.entry.js +6 -9
  207. package/dist/esm/ion-toggle.entry.js +5 -6
  208. package/dist/esm/ionic-global-03ec9636.js +448 -0
  209. package/dist/esm/ionic.js +5 -5
  210. package/dist/esm/{ios.transition-903646a5.js → ios.transition-974d0663.js} +5 -7
  211. package/dist/esm/{keyboard-73175e24.js → keyboard-2f90c451.js} +1 -1
  212. package/dist/esm/{keyboard-52278bd7.js → keyboard-4a5eec96.js} +4 -3
  213. package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-bf0b9670.js} +3 -3
  214. package/dist/esm/loader.js +4 -4
  215. package/dist/esm/{md.transition-92c7f8a6.js → md.transition-a592d042.js} +5 -7
  216. package/dist/esm/{notch-controller-55b09e11.js → notch-controller-8d28ece6.js} +2 -2
  217. package/dist/esm/{overlays-d1a2f8a8.js → overlays-7d2c4725.js} +4 -7
  218. package/dist/esm/{status-tap-97e323a9.js → status-tap-eee70591.js} +4 -4
  219. package/dist/esm/{swipe-back-e5394307.js → swipe-back-1c5e6095.js} +1 -1
  220. package/dist/esm-es5/animation-4833cc82.js +4 -0
  221. package/dist/esm-es5/app-globals-120fc59a.js +4 -0
  222. package/dist/esm-es5/{button-active-6700b8ee.js → button-active-99997f21.js} +1 -1
  223. package/dist/esm-es5/capacitor-90256979.js +4 -0
  224. package/dist/esm-es5/data-ef61a6bc.js +4 -0
  225. package/dist/esm-es5/focus-visible-501aff19.js +4 -0
  226. package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-3b8e3146.js} +1 -1
  227. package/dist/esm-es5/{haptic-ac164e4c.js → haptic-2a877838.js} +1 -1
  228. package/dist/esm-es5/{helpers-da915de8.js → helpers-b96cdeb7.js} +1 -1
  229. package/dist/esm-es5/index-462343ab.js +4 -0
  230. package/dist/esm-es5/index-4b965271.js +4 -0
  231. package/dist/esm-es5/index-4e02bb5d.js +5 -0
  232. package/dist/esm-es5/index-57058cbb.js +4 -0
  233. package/dist/esm-es5/index-ea559016.js +4 -0
  234. package/dist/esm-es5/index.js +1 -1
  235. package/dist/esm-es5/input-shims-3803b8f3.js +4 -0
  236. package/dist/esm-es5/input.utils-40cda890.js +4 -0
  237. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  238. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  239. package/dist/esm-es5/ion-alert.entry.js +1 -1
  240. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  241. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  242. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  243. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  244. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  245. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  246. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  247. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  248. package/dist/esm-es5/ion-chip.entry.js +1 -1
  249. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  250. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  251. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  252. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  253. package/dist/esm-es5/ion-img.entry.js +1 -1
  254. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  255. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  256. package/dist/esm-es5/ion-input.entry.js +1 -1
  257. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  258. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  259. package/dist/esm-es5/ion-loading.entry.js +1 -1
  260. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  261. package/dist/esm-es5/ion-modal.entry.js +1 -1
  262. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  263. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  264. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  265. package/dist/esm-es5/ion-picker.entry.js +1 -1
  266. package/dist/esm-es5/ion-popover.entry.js +1 -1
  267. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  268. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  269. package/dist/esm-es5/ion-range.entry.js +1 -1
  270. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  271. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  272. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  273. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  274. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  275. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  276. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  277. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  278. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  279. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  280. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  281. package/dist/esm-es5/ion-text.entry.js +1 -1
  282. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  283. package/dist/esm-es5/ion-toast.entry.js +1 -1
  284. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  285. package/dist/esm-es5/ionic-global-03ec9636.js +4 -0
  286. package/dist/esm-es5/ionic.js +1 -1
  287. package/dist/esm-es5/ios.transition-974d0663.js +4 -0
  288. package/dist/esm-es5/{keyboard-73175e24.js → keyboard-2f90c451.js} +1 -1
  289. package/dist/esm-es5/keyboard-4a5eec96.js +4 -0
  290. package/dist/esm-es5/keyboard-controller-bf0b9670.js +4 -0
  291. package/dist/esm-es5/loader.js +1 -1
  292. package/dist/esm-es5/md.transition-a592d042.js +4 -0
  293. package/dist/esm-es5/notch-controller-8d28ece6.js +4 -0
  294. package/dist/esm-es5/overlays-7d2c4725.js +4 -0
  295. package/dist/esm-es5/status-tap-eee70591.js +4 -0
  296. package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-1c5e6095.js} +1 -1
  297. package/dist/html.html-data.json +102 -102
  298. package/dist/ionic/index.esm.js +1 -1
  299. package/dist/ionic/ionic.esm.js +1 -1
  300. package/dist/ionic/ionic.js +1 -1
  301. package/dist/ionic/p-0323014f.entry.js +4 -0
  302. package/dist/ionic/{p-f08654ea.system.js → p-0363123b.system.js} +1 -1
  303. package/dist/ionic/{p-5e97855d.system.entry.js → p-092161ab.system.entry.js} +1 -1
  304. package/dist/ionic/{p-99859f95.entry.js → p-09854f4b.entry.js} +1 -1
  305. package/dist/ionic/p-0b886ca7.entry.js +4 -0
  306. package/dist/ionic/p-0e48d764.entry.js +4 -0
  307. package/dist/ionic/p-10bc5191.system.entry.js +4 -0
  308. package/dist/ionic/p-10f5df89.system.entry.js +4 -0
  309. package/dist/ionic/{p-cb9da2a3.entry.js → p-128849bc.entry.js} +1 -1
  310. package/dist/ionic/{p-ce58e8e0.entry.js → p-134b5dad.entry.js} +1 -1
  311. package/dist/ionic/{p-c342dbdf.system.entry.js → p-1883a8fa.system.entry.js} +1 -1
  312. package/dist/ionic/{p-e8cc3bad.js → p-19b78761.js} +1 -1
  313. package/dist/ionic/{p-19ea7bff.system.js → p-1d57f288.system.js} +1 -1
  314. package/dist/ionic/{p-2b2a48ed.entry.js → p-1d5a1bf5.entry.js} +1 -1
  315. package/dist/ionic/p-1d6f8fab.system.js +4 -0
  316. package/dist/ionic/p-1dcb0d05.entry.js +4 -0
  317. package/dist/ionic/p-1e89c2ed.js +4 -0
  318. package/dist/ionic/{p-6bbad9e4.system.entry.js → p-1e98f497.system.entry.js} +1 -1
  319. package/dist/ionic/p-29085dc1.system.js +4 -0
  320. package/dist/ionic/{p-b51e4004.js → p-2f5f9e37.js} +1 -1
  321. package/dist/ionic/{p-4205a4d9.entry.js → p-33e29f21.entry.js} +1 -1
  322. package/dist/ionic/p-34726df4.system.entry.js +4 -0
  323. package/dist/ionic/p-3616a3e7.system.entry.js +4 -0
  324. package/dist/ionic/p-364105d1.system.entry.js +4 -0
  325. package/dist/ionic/{p-5d43e642.entry.js → p-36474df6.entry.js} +1 -1
  326. package/dist/ionic/{p-2b87a770.entry.js → p-368133aa.entry.js} +1 -1
  327. package/dist/ionic/p-3996cc2f.js +4 -0
  328. package/dist/ionic/p-3aa92b96.system.entry.js +4 -0
  329. package/dist/ionic/{p-b7836cec.entry.js → p-3dbf1af2.entry.js} +1 -1
  330. package/dist/ionic/{p-4bd23b81.entry.js → p-3ec5731b.entry.js} +1 -1
  331. package/dist/ionic/{p-e6e98f68.system.entry.js → p-3fb02efa.system.entry.js} +1 -1
  332. package/dist/ionic/p-414b9a61.entry.js +4 -0
  333. package/dist/ionic/p-41dd8be3.entry.js +4 -0
  334. package/dist/ionic/p-421796ce.js +4 -0
  335. package/dist/ionic/{p-a93873de.system.js → p-43f1441e.system.js} +1 -1
  336. package/dist/ionic/{p-51d30486.entry.js → p-4407067a.entry.js} +1 -1
  337. package/dist/ionic/p-46787abb.system.js +4 -0
  338. package/dist/ionic/p-48096596.entry.js +4 -0
  339. package/dist/ionic/p-487a3ae7.system.js +5 -0
  340. package/dist/ionic/p-4b528ed3.js +5 -0
  341. package/dist/ionic/p-4c4de719.entry.js +4 -0
  342. package/dist/ionic/{p-3ad285e3.system.js → p-4e970f1c.system.js} +1 -1
  343. package/dist/ionic/p-4efa1a1d.system.entry.js +4 -0
  344. package/dist/ionic/{p-0b2cb317.system.entry.js → p-511c01d3.system.entry.js} +1 -1
  345. package/dist/ionic/p-51d13493.entry.js +4 -0
  346. package/dist/ionic/p-55dbf33b.entry.js +4 -0
  347. package/dist/ionic/p-5605b84f.js +4 -0
  348. package/dist/ionic/p-566c88f6.system.js +4 -0
  349. package/dist/ionic/{p-1955f63a.entry.js → p-5786ea53.entry.js} +1 -1
  350. package/dist/ionic/p-5821285e.system.entry.js +4 -0
  351. package/dist/ionic/{p-2f244b7c.system.entry.js → p-58d23d7a.system.entry.js} +1 -1
  352. package/dist/ionic/p-5abd61c9.js +4 -0
  353. package/dist/ionic/p-5ada7868.system.js +4 -0
  354. package/dist/ionic/p-5ce35a03.js +4 -0
  355. package/dist/ionic/p-5d672083.system.entry.js +4 -0
  356. package/dist/ionic/p-62bd2e43.system.entry.js +4 -0
  357. package/dist/ionic/p-6455b864.system.entry.js +4 -0
  358. package/dist/ionic/p-651766ac.entry.js +4 -0
  359. package/dist/ionic/{p-b06ac4a5.system.js → p-6596229d.system.js} +1 -1
  360. package/dist/ionic/{p-1d524f20.system.js → p-67c8dcfd.system.js} +1 -1
  361. package/dist/ionic/p-6ae88498.js +4 -0
  362. package/dist/ionic/p-6cf3857f.system.entry.js +4 -0
  363. package/dist/ionic/p-6d8c0944.system.js +4 -0
  364. package/dist/ionic/p-6e2918f3.system.entry.js +4 -0
  365. package/dist/ionic/p-707236b4.system.entry.js +4 -0
  366. package/dist/ionic/{p-59cda258.system.entry.js → p-718726b0.system.entry.js} +1 -1
  367. package/dist/ionic/p-73f6766e.system.entry.js +4 -0
  368. package/dist/ionic/p-7539a724.system.entry.js +4 -0
  369. package/dist/ionic/{p-3e4a7bd8.system.entry.js → p-759b8d9a.system.entry.js} +1 -1
  370. package/dist/ionic/{p-f687573e.system.js → p-7767ca8a.system.js} +1 -1
  371. package/dist/ionic/p-7774e10d.entry.js +4 -0
  372. package/dist/ionic/p-77aab69d.js +4 -0
  373. package/dist/ionic/p-78c10d41.entry.js +4 -0
  374. package/dist/ionic/p-7931413d.entry.js +4 -0
  375. package/dist/ionic/{p-9146695e.system.js → p-7e56e6cc.system.js} +1 -1
  376. package/dist/ionic/p-7ffef389.system.entry.js +4 -0
  377. package/dist/ionic/{p-40277321.system.entry.js → p-80487596.system.entry.js} +1 -1
  378. package/dist/ionic/{p-8985cdb6.system.js → p-80fa15f7.system.js} +1 -1
  379. package/dist/ionic/p-8133332f.entry.js +4 -0
  380. package/dist/ionic/p-83c633c8.js +4 -0
  381. package/dist/ionic/{p-ed3f6648.system.entry.js → p-84b1b6f7.system.entry.js} +1 -1
  382. package/dist/ionic/p-84d72d1d.entry.js +4 -0
  383. package/dist/ionic/p-86391425.js +4 -0
  384. package/dist/ionic/{p-bd9fd891.system.entry.js → p-8655c143.system.entry.js} +1 -1
  385. package/dist/ionic/p-86a12c6d.js +4 -0
  386. package/dist/ionic/{p-89b61afc.js → p-86fabcac.js} +1 -1
  387. package/dist/ionic/p-870c2d06.system.entry.js +4 -0
  388. package/dist/ionic/p-8857f3ce.js +4 -0
  389. package/dist/ionic/{p-27281edd.js → p-89d820c6.js} +1 -1
  390. package/dist/ionic/{p-52c20808.entry.js → p-8bf061c5.entry.js} +1 -1
  391. package/dist/ionic/{p-57f94155.system.entry.js → p-8dd188b5.system.entry.js} +1 -1
  392. package/dist/ionic/{p-dfb78785.system.js → p-8f6462ed.system.js} +1 -1
  393. package/dist/ionic/p-90671ced.system.js +4 -0
  394. package/dist/ionic/p-92341215.system.js +4 -0
  395. package/dist/ionic/{p-3cc276f4.js → p-97e18d86.js} +1 -1
  396. package/dist/ionic/p-9a2dfb2a.system.entry.js +4 -0
  397. package/dist/ionic/p-9eb18e77.system.js +4 -0
  398. package/dist/ionic/{p-30482ed4.system.js → p-a09d82d3.system.js} +1 -1
  399. package/dist/ionic/p-a4cb22d4.entry.js +4 -0
  400. package/dist/ionic/p-a69ae8cf.js +4 -0
  401. package/dist/ionic/p-a798933c.system.js +4 -0
  402. package/dist/ionic/{p-70325536.entry.js → p-a845b317.entry.js} +1 -1
  403. package/dist/ionic/p-a8ab986c.entry.js +4 -0
  404. package/dist/ionic/{p-fdfa74cc.system.entry.js → p-a97c0ad2.system.entry.js} +1 -1
  405. package/dist/ionic/{p-e9119176.entry.js → p-ac3cefed.entry.js} +1 -1
  406. package/dist/ionic/{p-1350a9c2.entry.js → p-ae371c25.entry.js} +1 -1
  407. package/dist/ionic/p-b6839dbe.entry.js +4 -0
  408. package/dist/ionic/p-b7bef03d.system.js +4 -0
  409. package/dist/ionic/{p-5d7ea80a.system.entry.js → p-b7e1017a.system.entry.js} +1 -1
  410. package/dist/ionic/{p-2e2c1a93.system.entry.js → p-b8ed1419.system.entry.js} +1 -1
  411. package/dist/ionic/p-ba3a434f.system.entry.js +4 -0
  412. package/dist/ionic/p-bd9cd14e.system.js +4 -0
  413. package/dist/ionic/p-be5cf9f9.system.entry.js +4 -0
  414. package/dist/ionic/{p-c7e16491.js → p-be81d4c0.js} +1 -1
  415. package/dist/ionic/p-c160c3e1.system.entry.js +4 -0
  416. package/dist/ionic/p-c2c4da88.entry.js +4 -0
  417. package/dist/ionic/{p-b2a2c6cf.system.entry.js → p-c7137d57.system.entry.js} +1 -1
  418. package/dist/ionic/p-c7914648.entry.js +4 -0
  419. package/dist/ionic/{p-5ef51d63.entry.js → p-c7e23c59.entry.js} +1 -1
  420. package/dist/ionic/p-ca48f040.js +4 -0
  421. package/dist/ionic/{p-488bc4e4.system.entry.js → p-cc984799.system.entry.js} +1 -1
  422. package/dist/ionic/{p-2690b1de.js → p-cf0e9e1e.js} +1 -1
  423. package/dist/ionic/{p-34b11c24.js → p-d16139c2.js} +1 -1
  424. package/dist/ionic/{p-d60342e3.js → p-d24f5d16.js} +1 -1
  425. package/dist/ionic/p-d9a384b9.entry.js +4 -0
  426. package/dist/ionic/p-ddda4235.system.js +4 -0
  427. package/dist/ionic/p-e5be3dfb.js +4 -0
  428. package/dist/ionic/p-e9fc0e09.system.entry.js +4 -0
  429. package/dist/ionic/{p-dc672c3a.entry.js → p-eb660bf2.entry.js} +1 -1
  430. package/dist/ionic/{p-c76e43a2.system.entry.js → p-ebcb711f.system.entry.js} +1 -1
  431. package/dist/ionic/{p-91d713b7.system.entry.js → p-ec46d513.system.entry.js} +1 -1
  432. package/dist/ionic/{p-8635f5e6.system.js → p-ec680233.system.js} +1 -1
  433. package/dist/ionic/{p-aee3f804.system.entry.js → p-ec85f7f5.system.entry.js} +1 -1
  434. package/dist/ionic/{p-9ea607bd.system.js → p-ed6d9792.system.js} +2 -2
  435. package/dist/ionic/{p-da5e7dbe.system.entry.js → p-edd8f5f9.system.entry.js} +1 -1
  436. package/dist/ionic/p-ee9841a3.js +4 -0
  437. package/dist/ionic/{p-067db520.system.entry.js → p-ef0b1f01.system.entry.js} +1 -1
  438. package/dist/ionic/{p-33fb4e9d.entry.js → p-f0e78055.entry.js} +1 -1
  439. package/dist/ionic/{p-d75bce6a.system.js → p-f0fe3aa8.system.js} +1 -1
  440. package/dist/ionic/p-f1cc6c18.system.entry.js +4 -0
  441. package/dist/ionic/{p-76bb8eb2.entry.js → p-f32b396b.entry.js} +1 -1
  442. package/dist/ionic/{p-16b7cfc2.entry.js → p-f4519e12.entry.js} +1 -1
  443. package/dist/ionic/{p-4b1364c9.entry.js → p-f48ea493.entry.js} +1 -1
  444. package/dist/ionic/{p-44d98be5.system.entry.js → p-f4e225e1.system.entry.js} +1 -1
  445. package/dist/ionic/{p-89bd4ed2.entry.js → p-f9286a3b.entry.js} +1 -1
  446. package/dist/ionic/p-fa23b5f4.entry.js +4 -0
  447. package/dist/ionic/p-fb229af3.entry.js +4 -0
  448. package/dist/ionic/p-fe4b96e6.entry.js +4 -0
  449. package/dist/ionic/p-fe66d1a5.entry.js +4 -0
  450. package/dist/ionic/p-ffd50854.system.entry.js +4 -0
  451. package/dist/types/components/app/app.d.ts +0 -2
  452. package/dist/types/global/ionic-global.d.ts +2 -0
  453. package/dist/types/stencil-public-runtime.d.ts +0 -4
  454. package/dist/types/utils/focus-visible.d.ts +1 -0
  455. package/hydrate/index.d.ts +0 -6
  456. package/hydrate/index.js +384 -514
  457. package/hydrate/index.mjs +384 -514
  458. package/package.json +2 -2
  459. package/components/hardware-back-button.js +0 -115
  460. package/components/index8.js +0 -128
  461. package/dist/cjs/hardware-back-button-35a9ebdb.js +0 -122
  462. package/dist/cjs/index-5915f9b3.js +0 -38
  463. package/dist/cjs/index-c8d52405.js +0 -10
  464. package/dist/cjs/ionic-global-2fc6b860.js +0 -237
  465. package/dist/esm/hardware-back-button-3dd2cf5a.js +0 -116
  466. package/dist/esm/index-79b30591.js +0 -167
  467. package/dist/esm/index-9b0d46f4.js +0 -34
  468. package/dist/esm/index-a5d50daf.js +0 -7
  469. package/dist/esm/ionic-global-aba82484.js +0 -231
  470. package/dist/esm-es5/animation-eab5a4ca.js +0 -4
  471. package/dist/esm-es5/app-globals-cef8aa6d.js +0 -4
  472. package/dist/esm-es5/capacitor-59395cbd.js +0 -4
  473. package/dist/esm-es5/data-ae11fd43.js +0 -4
  474. package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
  475. package/dist/esm-es5/hardware-back-button-3dd2cf5a.js +0 -4
  476. package/dist/esm-es5/index-3ed04e6d.js +0 -5
  477. package/dist/esm-es5/index-42907296.js +0 -4
  478. package/dist/esm-es5/index-5cc724f3.js +0 -4
  479. package/dist/esm-es5/index-79b30591.js +0 -4
  480. package/dist/esm-es5/index-9b0d46f4.js +0 -4
  481. package/dist/esm-es5/index-a5d50daf.js +0 -4
  482. package/dist/esm-es5/index-deb1a83e.js +0 -4
  483. package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
  484. package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
  485. package/dist/esm-es5/ionic-global-aba82484.js +0 -4
  486. package/dist/esm-es5/ios.transition-903646a5.js +0 -4
  487. package/dist/esm-es5/keyboard-52278bd7.js +0 -4
  488. package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
  489. package/dist/esm-es5/md.transition-92c7f8a6.js +0 -4
  490. package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
  491. package/dist/esm-es5/overlays-d1a2f8a8.js +0 -4
  492. package/dist/esm-es5/status-tap-97e323a9.js +0 -4
  493. package/dist/ionic/p-0047371d.system.entry.js +0 -4
  494. package/dist/ionic/p-019fe44c.system.entry.js +0 -4
  495. package/dist/ionic/p-05399319.entry.js +0 -4
  496. package/dist/ionic/p-06e58c4e.js +0 -4
  497. package/dist/ionic/p-06fee233.js +0 -4
  498. package/dist/ionic/p-0956b807.system.entry.js +0 -4
  499. package/dist/ionic/p-0b61b67e.system.js +0 -4
  500. package/dist/ionic/p-0bfdb16f.system.js +0 -4
  501. package/dist/ionic/p-0c06e09b.system.js +0 -4
  502. package/dist/ionic/p-0dc1d769.entry.js +0 -4
  503. package/dist/ionic/p-0f9c24fe.system.js +0 -4
  504. package/dist/ionic/p-14616c10.system.entry.js +0 -4
  505. package/dist/ionic/p-149da974.system.js +0 -4
  506. package/dist/ionic/p-192e07b1.system.entry.js +0 -4
  507. package/dist/ionic/p-1ca23ae9.system.entry.js +0 -4
  508. package/dist/ionic/p-1dfc11b3.system.js +0 -4
  509. package/dist/ionic/p-1e4371bd.js +0 -4
  510. package/dist/ionic/p-2067d815.system.entry.js +0 -4
  511. package/dist/ionic/p-2583e966.js +0 -4
  512. package/dist/ionic/p-263a3f91.system.js +0 -4
  513. package/dist/ionic/p-2b7827c7.js +0 -4
  514. package/dist/ionic/p-2e5ee828.system.entry.js +0 -4
  515. package/dist/ionic/p-2e6cf7f2.js +0 -4
  516. package/dist/ionic/p-3447e604.system.entry.js +0 -4
  517. package/dist/ionic/p-3b2c0ca4.entry.js +0 -4
  518. package/dist/ionic/p-3c8001c7.system.entry.js +0 -4
  519. package/dist/ionic/p-4029255b.system.entry.js +0 -4
  520. package/dist/ionic/p-428db536.entry.js +0 -4
  521. package/dist/ionic/p-42f9a951.system.entry.js +0 -4
  522. package/dist/ionic/p-46bac798.entry.js +0 -4
  523. package/dist/ionic/p-49c26aa9.entry.js +0 -4
  524. package/dist/ionic/p-4ad055dc.system.entry.js +0 -4
  525. package/dist/ionic/p-4c2d5b80.system.js +0 -4
  526. package/dist/ionic/p-4d81423b.entry.js +0 -4
  527. package/dist/ionic/p-4e7b0cee.entry.js +0 -4
  528. package/dist/ionic/p-4fe468c2.entry.js +0 -4
  529. package/dist/ionic/p-51ae8a06.system.entry.js +0 -4
  530. package/dist/ionic/p-56435093.js +0 -4
  531. package/dist/ionic/p-59a394ad.system.js +0 -5
  532. package/dist/ionic/p-5d5d5073.entry.js +0 -4
  533. package/dist/ionic/p-5d6c0bf8.system.js +0 -4
  534. package/dist/ionic/p-5e94453a.entry.js +0 -4
  535. package/dist/ionic/p-600a4ea0.js +0 -4
  536. package/dist/ionic/p-62b04b4c.entry.js +0 -4
  537. package/dist/ionic/p-663fe7c8.system.entry.js +0 -4
  538. package/dist/ionic/p-68da7fc8.system.js +0 -4
  539. package/dist/ionic/p-6ca2a6af.entry.js +0 -4
  540. package/dist/ionic/p-6f465cce.js +0 -4
  541. package/dist/ionic/p-714841be.system.js +0 -4
  542. package/dist/ionic/p-72812e99.js +0 -4
  543. package/dist/ionic/p-72bc8a1c.js +0 -4
  544. package/dist/ionic/p-7414228b.js +0 -5
  545. package/dist/ionic/p-792919fd.system.js +0 -4
  546. package/dist/ionic/p-7b30edcc.js +0 -4
  547. package/dist/ionic/p-7e07fb64.entry.js +0 -4
  548. package/dist/ionic/p-7e497250.system.entry.js +0 -4
  549. package/dist/ionic/p-933e9e71.entry.js +0 -4
  550. package/dist/ionic/p-96cc4814.js +0 -4
  551. package/dist/ionic/p-9f8740b2.entry.js +0 -4
  552. package/dist/ionic/p-a15ddedb.system.js +0 -4
  553. package/dist/ionic/p-a8775bf9.entry.js +0 -4
  554. package/dist/ionic/p-abc5c0a4.system.entry.js +0 -4
  555. package/dist/ionic/p-abe101da.system.js +0 -4
  556. package/dist/ionic/p-aed9cc5b.entry.js +0 -4
  557. package/dist/ionic/p-b69c1e65.system.entry.js +0 -4
  558. package/dist/ionic/p-b719790b.js +0 -4
  559. package/dist/ionic/p-b8157bb5.system.entry.js +0 -4
  560. package/dist/ionic/p-bae531fb.system.entry.js +0 -4
  561. package/dist/ionic/p-c468af8a.system.js +0 -4
  562. package/dist/ionic/p-c57d792e.entry.js +0 -4
  563. package/dist/ionic/p-c61cc894.js +0 -4
  564. package/dist/ionic/p-c8e78b70.system.entry.js +0 -4
  565. package/dist/ionic/p-cc3e2b52.entry.js +0 -4
  566. package/dist/ionic/p-d073ba84.entry.js +0 -4
  567. package/dist/ionic/p-d0f8d0aa.entry.js +0 -4
  568. package/dist/ionic/p-d47265c8.js +0 -4
  569. package/dist/ionic/p-d65d9c9c.system.entry.js +0 -4
  570. package/dist/ionic/p-d6e463ee.system.entry.js +0 -4
  571. package/dist/ionic/p-d8ace0cb.entry.js +0 -4
  572. package/dist/ionic/p-d8dcfbf3.system.entry.js +0 -4
  573. package/dist/ionic/p-e351e0e3.entry.js +0 -4
  574. package/dist/ionic/p-eec4b4ce.entry.js +0 -4
  575. package/dist/ionic/p-f22b3a75.js +0 -4
  576. package/dist/ionic/p-f367478b.js +0 -4
  577. package/dist/ionic/p-f36c9945.system.entry.js +0 -4
  578. package/dist/ionic/p-fc9b4e5a.entry.js +0 -4
  579. package/dist/ionic/p-fec56d82.js +0 -4
  580. package/dist/ionic/p-ff4b7e40.system.js +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "8.3.1-dev.11726258029.1014159b",
3
+ "version": "8.3.1-dev.11727899155.103c4afc",
4
4
  "description": "Base components for Ionic",
5
5
  "keywords": [
6
6
  "ionic",
@@ -31,7 +31,7 @@
31
31
  "loader/"
32
32
  ],
33
33
  "dependencies": {
34
- "@stencil/core": "^4.21.0-dev.1726257631.b82b008",
34
+ "@stencil/core": "^4.19.2",
35
35
  "ionicons": "^7.2.2",
36
36
  "tslib": "^2.1.0"
37
37
  },
@@ -1,115 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import { w as win } from './index5.js';
5
- import { c as config } from './ionic-global.js';
6
-
7
- /**
8
- * CloseWatcher is a newer API that lets
9
- * use detect the hardware back button event
10
- * in a web browser: https://caniuse.com/?search=closewatcher
11
- * However, not every browser supports it yet.
12
- *
13
- * This needs to be a function so that we can
14
- * check the config once it has been set.
15
- * Otherwise, this code would be evaluated the
16
- * moment this file is evaluated which could be
17
- * before the config is set.
18
- */
19
- const shouldUseCloseWatcher = () => config.get('experimentalCloseWatcher', false) && win !== undefined && 'CloseWatcher' in win;
20
- /**
21
- * When hardwareBackButton: false in config,
22
- * we need to make sure we also block the default
23
- * webview behavior. If we don't then it will be
24
- * possible for users to navigate backward while
25
- * an overlay is still open. Additionally, it will
26
- * give the appearance that the hardwareBackButton
27
- * config is not working as the page transition
28
- * will still happen.
29
- */
30
- const blockHardwareBackButton = () => {
31
- document.addEventListener('backbutton', () => { }); // eslint-disable-line
32
- };
33
- const startHardwareBackButton = () => {
34
- const doc = document;
35
- let busy = false;
36
- const backButtonCallback = () => {
37
- if (busy) {
38
- return;
39
- }
40
- let index = 0;
41
- let handlers = [];
42
- const ev = new CustomEvent('ionBackButton', {
43
- bubbles: false,
44
- detail: {
45
- register(priority, handler) {
46
- handlers.push({ priority, handler, id: index++ });
47
- },
48
- },
49
- });
50
- doc.dispatchEvent(ev);
51
- const executeAction = async (handlerRegister) => {
52
- try {
53
- if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {
54
- const result = handlerRegister.handler(processHandlers);
55
- if (result != null) {
56
- await result;
57
- }
58
- }
59
- }
60
- catch (e) {
61
- console.error(e);
62
- }
63
- };
64
- const processHandlers = () => {
65
- if (handlers.length > 0) {
66
- let selectedHandler = {
67
- priority: Number.MIN_SAFE_INTEGER,
68
- handler: () => undefined,
69
- id: -1,
70
- };
71
- handlers.forEach((handler) => {
72
- if (handler.priority >= selectedHandler.priority) {
73
- selectedHandler = handler;
74
- }
75
- });
76
- busy = true;
77
- handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);
78
- executeAction(selectedHandler).then(() => (busy = false));
79
- }
80
- };
81
- processHandlers();
82
- };
83
- /**
84
- * If the CloseWatcher is defined then
85
- * we don't want to also listen for the native
86
- * backbutton event otherwise we may get duplicate
87
- * events firing.
88
- */
89
- if (shouldUseCloseWatcher()) {
90
- let watcher;
91
- const configureWatcher = () => {
92
- watcher === null || watcher === void 0 ? void 0 : watcher.destroy();
93
- watcher = new win.CloseWatcher();
94
- /**
95
- * Once a close request happens
96
- * the watcher gets destroyed.
97
- * As a result, we need to re-configure
98
- * the watcher so we can respond to other
99
- * close requests.
100
- */
101
- watcher.onclose = () => {
102
- backButtonCallback();
103
- configureWatcher();
104
- };
105
- };
106
- configureWatcher();
107
- }
108
- else {
109
- doc.addEventListener('backbutton', backButtonCallback);
110
- }
111
- };
112
- const OVERLAY_BACK_BUTTON_PRIORITY = 100;
113
- const MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays
114
-
115
- export { MENU_BACK_BUTTON_PRIORITY, OVERLAY_BACK_BUTTON_PRIORITY, blockHardwareBackButton, shouldUseCloseWatcher, startHardwareBackButton };
@@ -1,128 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import { c as componentOnReady } from './helpers.js';
5
- import { b as printRequiredElementError } from './index6.js';
6
-
7
- const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
8
- const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
9
- const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
10
- /**
11
- * Selector used for implementations reliant on `<ion-content>` for scroll event changes.
12
- *
13
- * Developers should use the `.ion-content-scroll-host` selector to target the element emitting
14
- * scroll events. With virtual scroll implementations this will be the host element for
15
- * the scroll viewport.
16
- */
17
- const ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;
18
- const isIonContent = (el) => el.tagName === ION_CONTENT_TAG_NAME;
19
- /**
20
- * Waits for the element host fully initialize before
21
- * returning the inner scroll element.
22
- *
23
- * For `ion-content` the scroll target will be the result
24
- * of the `getScrollElement` function.
25
- *
26
- * For custom implementations it will be the element host
27
- * or a selector within the host, if supplied through `scrollTarget`.
28
- */
29
- const getScrollElement = async (el) => {
30
- if (isIonContent(el)) {
31
- await new Promise((resolve) => componentOnReady(el, resolve));
32
- return el.getScrollElement();
33
- }
34
- return el;
35
- };
36
- /**
37
- * Queries the element matching the selector for IonContent.
38
- * See ION_CONTENT_SELECTOR for the selector used.
39
- */
40
- const findIonContent = (el) => {
41
- /**
42
- * First we try to query the custom scroll host selector in cases where
43
- * the implementation is using an outer `ion-content` with an inner custom
44
- * scroll container.
45
- */
46
- const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);
47
- if (customContentHost) {
48
- return customContentHost;
49
- }
50
- return el.querySelector(ION_CONTENT_SELECTOR);
51
- };
52
- /**
53
- * Queries the closest element matching the selector for IonContent.
54
- */
55
- const findClosestIonContent = (el) => {
56
- return el.closest(ION_CONTENT_SELECTOR);
57
- };
58
- /**
59
- * Scrolls to the top of the element. If an `ion-content` is found, it will scroll
60
- * using the public API `scrollToTop` with a duration.
61
- */
62
- const scrollToTop = (el, durationMs) => {
63
- if (isIonContent(el)) {
64
- const content = el;
65
- return content.scrollToTop(durationMs);
66
- }
67
- return Promise.resolve(el.scrollTo({
68
- top: 0,
69
- left: 0,
70
- behavior: durationMs > 0 ? 'smooth' : 'auto',
71
- }));
72
- };
73
- /**
74
- * Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll
75
- * using the public API `scrollByPoint` with a duration.
76
- */
77
- const scrollByPoint = (el, x, y, durationMs) => {
78
- if (isIonContent(el)) {
79
- const content = el;
80
- return content.scrollByPoint(x, y, durationMs);
81
- }
82
- return Promise.resolve(el.scrollBy({
83
- top: y,
84
- left: x,
85
- behavior: durationMs > 0 ? 'smooth' : 'auto',
86
- }));
87
- };
88
- /**
89
- * Prints an error informing developers that an implementation requires an element to be used
90
- * within either the `ion-content` selector or the `.ion-content-scroll-host` class.
91
- */
92
- const printIonContentErrorMsg = (el) => {
93
- return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
94
- };
95
- /**
96
- * Several components in Ionic need to prevent scrolling
97
- * during a gesture (card modal, range, item sliding, etc).
98
- * Use this utility to account for ion-content and custom content hosts.
99
- */
100
- const disableContentScrollY = (contentEl) => {
101
- if (isIonContent(contentEl)) {
102
- const ionContent = contentEl;
103
- const initialScrollY = ionContent.scrollY;
104
- ionContent.scrollY = false;
105
- /**
106
- * This should be passed into resetContentScrollY
107
- * so that we can revert ion-content's scrollY to the
108
- * correct state. For example, if scrollY = false
109
- * initially, we do not want to enable scrolling
110
- * when we call resetContentScrollY.
111
- */
112
- return initialScrollY;
113
- }
114
- else {
115
- contentEl.style.setProperty('overflow', 'hidden');
116
- return true;
117
- }
118
- };
119
- const resetContentScrollY = (contentEl, initialScrollY) => {
120
- if (isIonContent(contentEl)) {
121
- contentEl.scrollY = initialScrollY;
122
- }
123
- else {
124
- contentEl.style.removeProperty('overflow');
125
- }
126
- };
127
-
128
- export { ION_CONTENT_CLASS_SELECTOR as I, findClosestIonContent as a, ION_CONTENT_ELEMENT_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };
@@ -1,122 +0,0 @@
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-2fc6b860.js');
8
- require('./index-42dd5e74.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;
@@ -1,38 +0,0 @@
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;
@@ -1,10 +0,0 @@
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;
@@ -1,237 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- 'use strict';
5
-
6
- const index = require('./index-42dd5e74.js');
7
-
8
- // TODO(FW-2832): types
9
- class Config {
10
- constructor() {
11
- this.m = new Map();
12
- }
13
- reset(configObj) {
14
- this.m = new Map(Object.entries(configObj));
15
- }
16
- get(key, fallback) {
17
- const value = this.m.get(key);
18
- return value !== undefined ? value : fallback;
19
- }
20
- getBoolean(key, fallback = false) {
21
- const val = this.m.get(key);
22
- if (val === undefined) {
23
- return fallback;
24
- }
25
- if (typeof val === 'string') {
26
- return val === 'true';
27
- }
28
- return !!val;
29
- }
30
- getNumber(key, fallback) {
31
- const val = parseFloat(this.m.get(key));
32
- return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
33
- }
34
- set(key, value) {
35
- this.m.set(key, value);
36
- }
37
- }
38
- const config = /*@__PURE__*/ new Config();
39
- const configFromSession = (win) => {
40
- try {
41
- const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
42
- return configStr !== null ? JSON.parse(configStr) : {};
43
- }
44
- catch (e) {
45
- return {};
46
- }
47
- };
48
- const saveConfig = (win, c) => {
49
- try {
50
- win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
51
- }
52
- catch (e) {
53
- return;
54
- }
55
- };
56
- const configFromURL = (win) => {
57
- const configObj = {};
58
- win.location.search
59
- .slice(1)
60
- .split('&')
61
- .map((entry) => entry.split('='))
62
- .map(([key, value]) => {
63
- try {
64
- return [decodeURIComponent(key), decodeURIComponent(value)];
65
- }
66
- catch (e) {
67
- return ['', ''];
68
- }
69
- })
70
- .filter(([key]) => startsWith(key, IONIC_PREFIX))
71
- .map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
72
- .forEach(([key, value]) => {
73
- configObj[key] = value;
74
- });
75
- return configObj;
76
- };
77
- const startsWith = (input, search) => {
78
- return input.substr(0, search.length) === search;
79
- };
80
- const IONIC_PREFIX = 'ionic:';
81
- const IONIC_SESSION_KEY = 'ionic-persist-config';
82
-
83
- const getPlatforms = (win) => setupPlatforms(win);
84
- const isPlatform = (winOrPlatform, platform) => {
85
- if (typeof winOrPlatform === 'string') {
86
- platform = winOrPlatform;
87
- winOrPlatform = undefined;
88
- }
89
- return getPlatforms(winOrPlatform).includes(platform);
90
- };
91
- const setupPlatforms = (win = window) => {
92
- if (typeof win === 'undefined') {
93
- return [];
94
- }
95
- win.Ionic = win.Ionic || {};
96
- let platforms = win.Ionic.platforms;
97
- if (platforms == null) {
98
- platforms = win.Ionic.platforms = detectPlatforms(win);
99
- platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));
100
- }
101
- return platforms;
102
- };
103
- const detectPlatforms = (win) => {
104
- const customPlatformMethods = config.get('platform');
105
- return Object.keys(PLATFORMS_MAP).filter((p) => {
106
- const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
107
- return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
108
- });
109
- };
110
- const isMobileWeb = (win) => isMobile(win) && !isHybrid(win);
111
- const isIpad = (win) => {
112
- // iOS 12 and below
113
- if (testUserAgent(win, /iPad/i)) {
114
- return true;
115
- }
116
- // iOS 13+
117
- if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
118
- return true;
119
- }
120
- return false;
121
- };
122
- const isIphone = (win) => testUserAgent(win, /iPhone/i);
123
- const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
124
- const isAndroid = (win) => testUserAgent(win, /android|sink/i);
125
- const isAndroidTablet = (win) => {
126
- return isAndroid(win) && !testUserAgent(win, /mobile/i);
127
- };
128
- const isPhablet = (win) => {
129
- const width = win.innerWidth;
130
- const height = win.innerHeight;
131
- const smallest = Math.min(width, height);
132
- const largest = Math.max(width, height);
133
- return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
134
- };
135
- const isTablet = (win) => {
136
- const width = win.innerWidth;
137
- const height = win.innerHeight;
138
- const smallest = Math.min(width, height);
139
- const largest = Math.max(width, height);
140
- return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);
141
- };
142
- const isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');
143
- const isDesktop = (win) => !isMobile(win);
144
- const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
145
- const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
146
- const isCapacitorNative = (win) => {
147
- const capacitor = win['Capacitor'];
148
- return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);
149
- };
150
- const isElectron = (win) => testUserAgent(win, /electron/i);
151
- const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
152
- const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
153
- const matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };
154
- const PLATFORMS_MAP = {
155
- ipad: isIpad,
156
- iphone: isIphone,
157
- ios: isIOS,
158
- android: isAndroid,
159
- phablet: isPhablet,
160
- tablet: isTablet,
161
- cordova: isCordova,
162
- capacitor: isCapacitorNative,
163
- electron: isElectron,
164
- pwa: isPWA,
165
- mobile: isMobile,
166
- mobileweb: isMobileWeb,
167
- desktop: isDesktop,
168
- hybrid: isHybrid,
169
- };
170
-
171
- // TODO(FW-2832): types
172
- let defaultMode;
173
- const getIonMode = (ref) => {
174
- return (ref && index.getMode(ref)) || defaultMode;
175
- };
176
- const initialize = (userConfig = {}) => {
177
- if (typeof window === 'undefined') {
178
- return;
179
- }
180
- const doc = window.document;
181
- const win = window;
182
- const Ionic = (win.Ionic = win.Ionic || {});
183
- const platformHelpers = {};
184
- if (userConfig._ael) {
185
- platformHelpers.ael = userConfig._ael;
186
- }
187
- if (userConfig._rel) {
188
- platformHelpers.rel = userConfig._rel;
189
- }
190
- if (userConfig._ce) {
191
- platformHelpers.ce = userConfig._ce;
192
- }
193
- index.setPlatformHelpers(platformHelpers);
194
- // create the Ionic.config from raw config object (if it exists)
195
- // and convert Ionic.config into a ConfigApi that has a get() fn
196
- const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
197
- config.reset(configObj);
198
- if (config.getBoolean('persistConfig')) {
199
- saveConfig(win, configObj);
200
- }
201
- // Setup platforms
202
- setupPlatforms(win);
203
- // first see if the mode was set as an attribute on <html>
204
- // which could have been set by the user, or by pre-rendering
205
- // otherwise get the mode via config settings, and fallback to md
206
- Ionic.config = config;
207
- Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
208
- config.set('mode', defaultMode);
209
- doc.documentElement.setAttribute('mode', defaultMode);
210
- doc.documentElement.classList.add(defaultMode);
211
- if (config.getBoolean('_testing')) {
212
- config.set('animated', false);
213
- }
214
- const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
215
- const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);
216
- index.setMode((elm) => {
217
- while (elm) {
218
- const elmMode = elm.mode || elm.getAttribute('mode');
219
- if (elmMode) {
220
- if (isAllowedIonicModeValue(elmMode)) {
221
- return elmMode;
222
- }
223
- else if (isIonicElement(elm)) {
224
- console.warn('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
225
- }
226
- }
227
- elm = elm.parentElement;
228
- }
229
- return defaultMode;
230
- });
231
- };
232
-
233
- exports.config = config;
234
- exports.getIonMode = getIonMode;
235
- exports.getPlatforms = getPlatforms;
236
- exports.initialize = initialize;
237
- exports.isPlatform = isPlatform;